* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    text-align: center;
}

header {
    background-color: #00BFFF;
    color: white;
    padding: 20px;
}

section {
    display: none;
}

#inicio {
    display: block;
}

/* =========================
   CABEÇALHO CENTRALIZADO
========================= */
.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 20px;
    gap: 15px;
}

/* LOGO CENTRAL */
.logo {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .25);

    margin: 0 auto;
    /* centraliza */
}

.logo:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Menu principal */
.menu-principal {
    background-color: #333;
    padding: 10px 0;
}

.menu-principal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-principal li {
    margin: 0 15px;
    transition: transform 0.3s, background-color 0.3s;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

.menu-principal li:hover {
    transform: scale(1.1);
    background-color: #00BFFF;
}

.menu-principal a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.3s;
}

.menu-principal a:hover {
    color: #fff;
}

/* Imagens com hover */
.item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ccc;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}



.titulo h1 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.titulo p {
    margin: 5px 0;
    font-size: 20px;
    font-weight: bold;
}


h1 {
    margin: 0;
    font-size: 28px;
}

/* Imagens */
.linha {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px;
}

.item {
    margin: 10px;
}

.item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ccc;
}

/* Botão flutuante WhatsApp */
.whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 28px;
    background-color: #25D366;
    /* verde oficial do WhatsApp */
    border-radius: 50%;
    padding: 12px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-flutuante img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* força o GIF a ficar redondo */
    display: block;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* Botão flutuante Contato (esquerda) */
.contato-flutuante {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #007BFF;
    color: white;
    font-size: 8px;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    text-decoration: none;
}

.contato-flutuante .img {
    width: 24px;
    height: 24px;
}

.contato-flutuante:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

.lista-sobre {
    list-style: none;
    /* remove as bolinhas */
    padding: 0;
    margin: 10px 0;
    text-align: left;
    /* deixa alinhado à esquerda */
}

.lista-sobre li {
    margin: 5px 0;
    font-size: 16px;
}

.sobre-nos h2 {
    text-align: center;
    margin-bottom: 15px;
}



/* Rodapé */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 30px;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.sobre-nos {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
    /* texto justificado para melhor leitura */
    line-height: 1.6;
    /* espaçamento entre linhas */
    font-size: 16px;
    /* tamanho de fonte confortável */
}

.sobre-nos-img {
    display: block;
    /* força a imagem a ser um bloco */
    margin: 20px auto 0;
    /* centraliza horizontalmente e dá espaçamento acima */
    max-width: 100%;
    /* garante que não ultrapasse a largura do container */
    height: auto;
    /* mantém proporção */
    border-radius: 8px;
    /* cantos arredondados */
    /* background: none; <-- já não precisa */
    /* box-shadow: 2px 2px 10px rgba(0,0,0,0.2); <-- removido */
}




.tratamento {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sobre-nos h2,
.tratamento h2,
.equipe h2,
.agendar-visita h2 {
    color: #00BFFF !important;
}

.sobre-nos p {
    margin: 10px 0;
    line-height: 1.6;
}

.item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ccc;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-conteudo {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.fechar {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}

.fechar:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
}

/* Botão hamburguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
}


/* =========================
   TÍTULO ANIMADO NO MENU MOBILE
========================= */
.menu-title {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: none;
}

.visita {
    max-width: 850px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.visita h2 {
    color: #00BFFF;
    margin-bottom: 10px;
    font-size: 28px;
}

.visita p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

/* FORMULÁRIO */
.form-visita {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;

    width: 100%;
    max-width: 100%;
}

.form-visita input,
.form-visita select,
.form-visita textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    transition: 0.3s;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.form-visita input:focus,
.form-visita select:focus,
.form-visita textarea:focus {
    border-color: #00BFFF;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.3);
}

.form-visita textarea {
    min-height: 100px;
    resize: none;
}

.form-visita input[type="date"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* BOTÃO ENVIAR */
.form-visita button {
    background: linear-gradient(135deg, #00BFFF, #007BFF);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.form-visita button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.menu-title.oculto {
    display: none;
}

/* INFO ABAIXO */
.info-visita {
    margin-top: 25px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: left;
}

.info-visita p {
    margin: 8px 0;
    font-size: 15px;
    color: #333;
}

.mapa-localizacao {
    width: 50px;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.mapa-localizacao:hover {
    transform: scale(1.03);
}

.menu-toggle {
    display: none;
}

.menu-topo {
    display: none;
}

.modal-sucesso-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-sucesso-box h2 {
    color: #25D366;
    margin-bottom: 10px;
}

.modal-sucesso-box button {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

.modal-sucesso-box button:hover {
    background: #1ebe5d;
}

.equipe {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.equipe-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.equipe-card {
    background: #fff;
    width: 250px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}


.equipe-card:hover {
    transform: scale(1.05);
}

.equipe-card {
    color: #333 !important;
}


.equipe-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #00BFFF;
    margin-bottom: 10px;
}

.equipe-card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.equipe-card p {
    margin: 4px 0;
    font-size: 14px;
}

/* animação bonita */
@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
        opacity: 0.7;
    }

    50% {
        text-shadow:
            0 0 10px #00BFFF,
            0 0 20px #00BFFF,
            0 0 30px #00BFFF;
        opacity: 1;
    }

    100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
        opacity: 0.8;
    }
}

/* leve movimento */
@keyframes floatText {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

/* efeito de digitação visual */
@keyframes typing {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}



/* =========================
   RESPONSIVIDADE
========================= */


/* DESKTOP */
@media (min-width: 769px) {

    .menu-topo {
        display: none;
    }
}



/* =========================
       CABEÇALHO
    ========================= */
@media (max-width: 768px) {

    /* =========================
           CABEÇALHO
        ========================= */
    header {
        padding: 15px 10px;
    }

    .logo-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .titulo {
        flex: 1;
        text-align: center;
    }

    .mapa-localizacao {
        width: 38px;
        height: auto;
    }

    .logo {
        width: 120px;
        height: 120px;
        margin: 0;
    }

    .titulo h1 {
        font-size: 16px;
        line-height: 1.2;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .titulo p {
        font-size: 12px;
        margin: 2px 0;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    /* =========================
           MENU HAMBURGUER
        ========================= */

    .menu-topo {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 70px;
        background: #333;
        padding: 0 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    }

    .menu-toggle {
        position: absolute;
        left: 15px;
        display: block !important;
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        padding: 8px;
        z-index: 10000;
    }

    .menu-title {
        width: 100%;
        text-align: center;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        margin: 0;
        padding: 0 60px;
    }

    .menu-principal {
        padding: 0;
    }

    .menu-principal ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
        margin: 0;
        padding: 0;
    }

    .menu-principal ul.ativo {
        display: flex;
    }

    .menu-principal li {
        width: 100%;
        margin: 0;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #555;
    }

    /* =========================
           EQUIPE
        ========================= */

    .equipe-container {
        flex-direction: column;
        align-items: center;
    }

    .equipe-card {
        width: 90%;
        max-width: 320px;
    }

    /* =========================
           GALERIA
        ========================= */

    .linha {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }

    .item {
        width: 100%;
        text-align: center;
    }

    .item img {
        width: 90%;
        max-width: 350px;
        height: auto;
    }

    /* =========================
           SEÇÕES
        ========================= */

    .sobre-nos,
    .tratamento,
    .visita {
        width: 90%;
        padding: 15px;
        margin: 20px auto;
    }

    .lista-sobre {
        text-align: left;
    }

    .sobre-nos h2,
    .tratamento h2,
    .equipe h2,
    .agendar-visita h2,
    .visita h2 {
        font-size: 24px;
    }

    /* =========================
           FORMULÁRIO
        ========================= */

    .form-visita input,
    .form-visita select,
    .form-visita textarea {
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
    }

    .form-visita button {
        width: 100%;
    }

    .form-visita input[type="date"] {
    width: 100%;
    font-size: 16px;
    padding: 14px;
}

    /* =========================
           BOTÕES FLUTUANTES
        ========================= */

    .whatsapp-flutuante,
    .contato-flutuante {
        width: 55px;
        height: 55px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-flutuante {
        right: 15px;
        bottom: 15px;
    }

    .contato-flutuante {
        left: 15px;
        bottom: 15px;
    }

    .whatsapp-flutuante img,
    .contato-flutuante img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    /* =========================
           FOOTER
        ========================= */

    footer {
        padding: 15px;
        font-size: 14px;
    }
}