/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* =============== NAVBAR =============== */
.navbar {
    background: #128c57;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}


  .formacao-container {
      display: flex;
      align-items: center;
      gap: 20px;
      /* Espaçamento entre a imagem e o texto */
  }

  .foto-formacao {
      width: 150px;
      /* Ajuste conforme necessário */
      height: auto;
      border-radius: 10px;
      /* Borda arredondada opcional */
  }
  
.logo {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #cdece2;
}

.nav-menu a:focus, .btn:focus {
    outline: 3px solid #0f6c45;
    outline-offset: 2px;
}

/* Ícone hambúrguer para mobile */
.navbar-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* Ajuste do menu mobile */

@media screen and (max-width: 768px) {
    .nav-menu {
            display: none;
            flex-direction: column;
            background: #128c57;
            width: 100%;
            position: absolute;
            top: 60px;
            left: 0;
            padding: 20px 0;
            transition: all 0.3s ease-in-out;
        }
    
        /* Quando ativo, exibe o menu */
        .nav-menu.active {
            display: flex !important;
        }

    .nav-menu li {
        text-align: center;
        padding: 10px 0;
    }

    /* Ícone do menu hambúrguer */
    .navbar-toggle {
        display: block;
        cursor: pointer;
    }
}
section {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilização da galeria */
.galeria-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}



/* Ajuste do bloco de citação */
blockquote {
    font-style: italic;
    color: #555;
    padding: 10px;
    border-left: 4px solid #128c57;
}
.cartao-visita {
    width: 200px;
    display: block;
    margin: 10px auto;
}
.galeria-container img {
    width: 30%;
    border-radius: 8px;
}
/* =============== HERO SECTION =============== */
.hero {
    background: url("../assets/img/consultorio2.jpg") center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    /* Fundo escuro semi-transparente */
    border-radius: 8px;
    color: #fff;
    /* Mantém o texto branco */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero p {
    margin-bottom: 20px;
    line-height: 1.5;
}

p {
    hyphens: auto;
    text-align: justify;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #128c57;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #f0f0f0;
}

/* Animação do hero */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============== CONTAINER GERAL =============== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Imagem responsiva */
.img-responsive {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* Listas, textos, etc. */
.container ul {
    list-style: disc;
    margin-left: 20px;
    text-align: left;
}

.container p,
.container li {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* =============== FAQ Accordion =============== */
.accordion {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-toggle {
    width: 100%;
    background: #128c57;
    color: #fff;
    border: none;
    text-align: left;
    padding: 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.accordion-toggle:hover {
    background: #0f6c45;
}




/* Garante que o conteúdo do accordion fique oculto inicialmente */
.accordion-content {
    display: none;
    /* Garante que não aparece ao carregar */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding: 0 15px;
}

/* Quando ativo, o accordion expande corretamente */
.accordion-item.active .accordion-content {
    display: block;
    max-height: 1000px;
    padding: 15px;
}
/* Estilo para os Quadros de Mensagem */
.message-box {
    background-color: #f0f8ff;
    border-left: 4px solid #128c57;
    padding: 10px;
    margin: 10px 20px 10px 0;
    font-size: 0.9em;
    font-style: italic;
    float: left;
    width: 40%;
    min-width: 180px;
    max-width: 250px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.clearfix {
    clear: both;
}
.accordion-content::after {
    content: "";
    display: block;
    clear: both;
    /* Garante que o layout não quebre */
}

/* Responsividade para telas menores */
@media screen and (max-width: 600px) {
    .accordion {
        max-width: 100%;
    }

    .accordion-content {
        display: block;
        padding: 10px;
        /* Garante espaço ao redor do texto */
    }

    .message-box {
        float: none;
        width: 100%;
        max-width: none;
        margin: 10px auto;
        text-align: left;
    }
}

/* =============== FORMULÁRIO =============== */
.form-contato {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.form-contato label {
    font-weight: 600;
    margin: 10px 0 5px;
}

.form-contato input,
.form-contato textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    width: 100%;
}

.form-contato button {
    margin-top: 15px;
}

/* =============== RODAPÉ =============== */
.footer {
    background: #128c57;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover { background: #1ebe5d; }

.btn-whatsapp .whatsapp-icon { width: 20px; height: 20px; }

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.whatsapp-float img { width: 28px; height: 28px; }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    width: 250px;
    margin: 20px auto;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.whatsapp-icon {
    width: 25px;
    margin-right: 10px;
}

.btn-voltar {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
}

.btn-voltar:hover {
    background-color: #e0e0e0;
}


  .form-group {
      margin-bottom: 15px;
      /* Espaçamento entre os campos */
  }

  label {
      display: block;
      /* Faz o label aparecer em uma linha separada */
      margin-bottom: 5px;
      /* Espaçamento entre o label e o input */
  }

  input[type="text"] {
      width: 100%;
      /* Largura total */
      padding: 8px;
      /* Espaçamento interno */
      box-sizing: border-box;
      /* Inclui padding na largura total */

  }

  textarea {
      width: 100%;
      /* Largura total */
      padding: 8px;
      /* Espaçamento interno */
      box-sizing: border-box;
      /* Inclui padding na largura total */
      max-width: 500px;
      /* Largura máxima do campo */
      height: 150px;
      /* Altura do campo de conteúdo */
  }

  button {
      padding: 10px 20px;
      /* Espaçamento interno do botão */
      background-color: #007bff;
      /* Cor de fundo */
      color: white;
      /* Cor do texto */
      border: none;
      /* Remove borda */
      cursor: pointer;
      /* Cursor de ponteiro */
  }

  button:hover {
      background-color: #0056b3;
      /* Cor de fundo ao passar o mouse */
  }


  /* Estilo para o zoom nas imagens */
  .galeria-container img {
      cursor: pointer;
      transition: transform 0.3s ease;
  }

  .galeria-container img.zoom {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(1.5);
      /* Aumenta o zoom */
      z-index: 1000;
      max-width: 90%;
      max-height: 90%;
      border: 5px solid #fff;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Desabilita o scroll da página quando uma imagem está com zoom */
  body.no-scroll {
      overflow: hidden;
  }

  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 999;
      display: none;
  }

  .overlay.active {
      display: block;
  }
