/* =========================
   BASE / RESET
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f3f6f4;
  color: #1f2933;
  line-height: 1.55;
}

/* =========================
   CABECALHO
========================= */
#cabecalho {
  background-color: #0e3b2e;
  border-bottom: 4px solid #f0c94d;
}

#logo {
  display: block;
  max-width: 700px;   /* aumenta no desktop */
  width: 95%;
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
}

/* =========================
   NAVEGACAO
========================= */
ul.topnav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  background-color: #0b2f25;
}

ul.topnav li a {
  display: block;
  padding: 0.9rem 1.4rem;
  color: #e6f2ee;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  text-decoration: 0;
}

ul.topnav li a:hover {
  background-color: rgba(255,255,255,0.08);
}

ul.topnav li a.ativo {
  background-color: #f0c94d;
  color: #0b2f25;
  font-weight: 600;
}

ul.topnav li.direita {
  margin-left: auto;
}

/* =========================
   CONTEUDO PRINCIPAL
========================= */
#conteudo {
  max-width: 1200px;
  margin: 2.5rem auto;
  background-color: #ffffff;
  padding: 1.6rem;
  border-radius: 10px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

#calendar {
  border-radius: 8px;
  overflow: hidden;
}

/* =========================
   FULLCALENDAR
========================= */
.fc {
  font-size: 0.95rem;
}

.fc-toolbar-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0e3b2e;
  text-transform: capitalize;
}

.fc-button {
  background-color: #0e3b2e !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.35rem 0.7rem !important;
}

.fc-button:hover {
  background-color: #145c48 !important;
}

.fc-daygrid-day-number {
  color: #374151;
}

.fc-event {
  border-radius: 6px;
  padding: 2px 4px;
  border: none !important;
  font-size: 0.8rem;
  cursor: pointer;
}

/* =========================
   LOADING
========================= */
#carregandoGIF {
  display: block;
  margin: 3rem auto;
  width: 120px;
}

/* =========================
   FORMULÁRIO / EVENTO
========================= */
#formularioDiv {
  max-width: 900px;
  margin: 0 auto 3rem;
  background-color: #ffffff;
  padding: 1.8rem 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

#eventoTexto {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

#enviarOutroTermo{
  display: none;
}

#vagas {
  font-weight: 600;
  color: #b45309;
  margin-bottom: 1rem;
}

#formularioTexto {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0e3b2e;
  margin-bottom: 1.2rem;
  text-align: center;
}

/* =========================
   CAMPOS
========================= */
input[type="text"],
input[type="number"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

textarea {
  resize: none;
}

label {
  font-size: 0.78rem;
  color: #374151;
  display: inline-block;
  margin-bottom: 0.8rem;
}

/* =========================
   BOTAO
========================= */
button {
  background-color: #0e3b2e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

button:hover {
  background-color: #145c48;
  transform: translateY(-1px);
}

/* =========================
   AVISOS
========================= */
#avisoTexto {
  margin-top: 0.8rem;
  font-weight: 500;
}

/* =========================
   RODAPÉ
========================= */
#rodape {
  background-color: #0b2f25;
  color: #e6f2ee;
  text-align: center;
  padding: 2rem 1rem;
}

#contato {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

#contatoEmail {
  display: block;
  color: #7dd3fc;
  margin-bottom: 1rem;
}

#logoSimbiose {
  width: 150px;
  display: block;
  margin: 1rem auto;
}

#admTexto {
  font-size: 0.75rem;
  color: #9fbfb4;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 700px) {
  ul.topnav {
    flex-direction: column;
  }

  ul.topnav li.direita {
    margin-left: 0;
  }

  #conteudo {
    margin: 1rem;
    padding: 1rem;
  }

  #formularioDiv {
    margin: 0 1rem 2rem;
    padding: 1.2rem;
  }
  .fc-toolbar-title{
      font-size:1rem;
  }

  .fc-event{
      font-size:.72rem;
      padding:1px 3px;
  }
}

@media (min-width: 1100px) {
  #logo {
    max-width: 820px;
  }
}

/* Esconde o formulário enquanto não houver conteúdo */
#formularioDiv {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mostra quando o texto do evento for preenchido */
#formularioDiv:has(#eventoTexto:not(:empty)) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Permite que o nome dos eventos quebre em várias linhas */
.fc-daygrid-event {
    white-space: normal !important;
    height: auto !important;
    min-height: 22px;
}

.dia-selecionado {
    box-shadow: inset 0 0 0 3px #d2dbd9;
}

#contatoWhatsapp{
  background-color: #a88f3d;
  display: inline;
  padding: 5px;
  border-radius: 15px; 
}
