* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* VARIÁVEIS */
:root {
    --branca: #FBFCFF;
    --azul-petroleo: #1A2F55;
    --verde-limao: #10bf13;
    --azul-claro: #f1f2f5;
}

:root {
    --font-titulos: 'Merriweather', serif; /* Para Títulos (H1, H2, etc.) */
    --font-h2: 'Merriweather', serif;      /* Para Subtítulos (H2) */
    --font-textos: 'Roboto', sans-serif;    /* Para Corpo de Texto e Páragrafos */
}

/* Aplicando a fonte principal em todo o corpo do site */
.color {
    color: black;
    font-weight: 700;
}

h1 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--azul-petroleo);
    text-transform: uppercase;
}



.titulo {
    font-family: var(--font-titulos); 
    font-size: 1.6rem;
    /* font-weight: 100; */
    color: var(--azul-petroleo);
    line-height: 1.2;
}

h2 {
    font-family: var(--font-h2);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--azul-petroleo);
}

h3 {
    /* color: var(--azul-petroleo); */
    font-size: 1.2rem;
    /* text-align: left; */
    font-weight: 600;
    font-family: var(--font-titulos);
}


p {
    font-family: var(--font-textos); /* Usará 'Roboto', sans-serif */
    font-weight: 400; 
    font-size: 1.3rem;
    color: var(--azul-petroleo);
    line-height: 1.5;
}

a img {
    width: 24px;
    height: 24px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px; 
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease; 
    background: linear-gradient(to right, #10bf13, #077008); 
    color: var(--branca);
    border: 2px solid var(--branca); 
    font-size: 0.8rem;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn:hover {
    background: linear-gradient(to left, #10bf13, #077008); 
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

h3 {
    font-family: var(--font-body); /* Usará 'Roboto', sans-serif */
    font-weight: 400; /* Usará 400 (Regular) */
    color: var(--azul-petroleo);
    font-size: 2rem;
    margin-top: 15px; /* Adiciona um pequeno espaço acima */
    margin-bottom: 5px; /* Adiciona um pequeno espaço abaixo */
}

/* FIM VARIÁVEIS */


/* CONTAINER */
.principal {
    background: url(../img/principal/fundo-principal.webp) no-repeat center center;
    background-size: cover;
}


.principal-box {
    max-width: 1000px;
    margin: 0 auto;
    /* height: 100vh; */
    padding: 80px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.esquerdo {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.esquerdo-logo {
    width: 120px;   
}

.esquerdo .titulo strong {
    color: var(--verde-limao);  
    font-weight: 500;  
}

.esquerdo p {
    font-size: 1rem;
}

.direito {
    flex: 1 1 300px;
}

.dr-responsivo {
    display: none;
}

.assinatura {
    font-family: 'Dancing Script', cursive;     
    font-size: 2rem;
    font-weight: bold;   
    color: var(--primary-color, #27496d);   
    display: block; 
    margin-top: 10px;
    line-height: 1;
}

/* FIM CONTAINER */

/* DIVISA */
.custom-shape-divider-bottom-1764379737 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1764379737 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-bottom-1764379737 .shape-fill {
    fill: var(--azul-claro);
}
/* FIM DIVISA */

/* TRATAMENTO */
.tratamento {
    background-color: var(--azul-claro);
    padding: 40px 20px;
    text-align: center;
}

.tratamento-box {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    gap: 10px;
}

.tratamento p {
    padding: 15px 0;
}

.tratamento-box .img {
    /* background-color: #CCC; */
    width: 90%;
    margin: 0 auto;
    height: 380px;

    display: flex;
    justify-content: center;
}

.tratamento-box .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* FIM TRATAMENTO */


/* FAIXA */
.faixa-1 {
    width: 100%;
    height: 50px;
    right: 5px;
    background: linear-gradient(90deg, #1d3f88, #3a61b4, #becae5);
    color: var(--cor-branca);
    overflow: hidden; /* ESSENCIAL */
    display: flex;
    align-items: center;
}

.texto {
    display: flex;
    gap: 0; /* OK: Garante que não há espaço extra entre os spans */
    white-space: nowrap;
    animation: mover 30s linear infinite; 
}

.texto span {
    font-size: 1rem;
    color: var(--azul-claro);
    font-weight: 600;
    /* REDUÇÃO: Diminuir o espaçamento entre cada "UM TÍTULO AQUI" */
    padding-right: 5px; 
}

/* Animação contínua do texto */
@keyframes mover {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exatamente 50% para que a cópia comece */
        transform: translateX(-50%); 
    }
}
/* FIM FAIXA */


/* PRA QUEM O TRATAMENTO */
.pra-quem {
    background-color: var(--branca);    
    /* padding: 40px 20px; */
    /* text-align: center; */
}

.pra-quem-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

     /* background: url(../img/tratamentos_especializa/quem_tratamento-1-fundo.png) no-repeat center center; */
    background-size: cover;
}

.box-texto {
    flex: 1 1 300px;
}

p {
    font-size: 1rem;
    margin-top: 15px;
}

.box-texto ul {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.box-texto ul li {
    font-size: 1.1rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.box-texto ul li i {
    color: rgb(13, 13, 118);
    margin-right: 10px;
    text-align: justify;
}

.box-img {
    flex: 1 1 300px;
}

.box-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* FIM PRA QUEM O TRATAMENTO */

/* TRATAMENTO1 */
.tratamento1 {
    background-color: var(--azul-claro);
    padding: 40px 20px;
    /* text-align: center; */
    position: relative;
}

.tratamento-box1 {
    max-width: 1000px;
    margin: 0 auto;
    gap: 10px;
}

.tratamento-box1-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tratamento1-esquerdo{
    flex: 1 1 300px;   
}

.tratamento1-img {
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
}

.tratamento1-direito {
    display: flex;
    flex: 1 1 300px;
    gap: 30px;
    padding: 20px 0;
}

.tratamento1-direito .numeros {
    border-right: 2px solid #b2a7a7; 
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-between; 
    padding-right: 30px; 
    min-width: 50px; 
    color: #cccccc;
}

.tratamento1-direito .tratametnto1-textos {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    color: var(--azul-petroleo);
    font-weight: 500;
    font-size: 0.9rem;
    /* flex-grow: 1; */
}

.tratamento1-direito .numeros span {
    font-size: 1.5rem; 
    font-weight: bold;
    text-align: right; 
    color: var(--azul-petroleo);
}

.tratamento1-direito .tratametnto1-textos span {
    font-size: 1.1rem;
    line-height: 1.4; 
}

.tratametnto1-infor {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.shape-fill-tratamento1 {
    fill: var(--azul-petroleo);
}
/* FIM TRATAMENTO1 */


/* TRATAMENTO-2 */
.tratamento-2 {
    background-color: var(--azul-petroleo);
    padding: 40px 20px;
    text-align: center;
    /* height: 120vh; */
}

.tratamento-2 h2, .tratamento-2 p {
    color: var(--branca);
}

.tratamento-2-container {
    max-width: 1000px;
    margin: 0 auto;
    gap: 10px;
}

.tratamento-2-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.boxs {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;    
    gap: 80px;
    flex-wrap: wrap;
}

.box {
    background-color: #e7dcdc;
    padding: 0 60px;
    border-radius: 10px;
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 250px;
    position: relative;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: -1;
    background: linear-gradient(to bottom right, #10bf13, #0a940d);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.box:hover {
    background-color: transparent;
    cursor: pointer;
}

.box:hover::after {
    opacity: 1; 
}


.box:hover .icon i,
.box:hover p,
.box:hover h3 {
    color: white; 
    transition: color 0.3s ease;
}


h3 {
    color: var(--azul-petroleo);
    font-size: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-titulos);
}

.box .icon p {
    color: var(--azul-petroleo);
    font-size: 0.8rem;
    text-align: left;
}

.box .icon i {
    position: absolute;
    top: 30px;
    left: -40px;
    font-size: 2rem;
    color: var(--azul-claro);
    background-color: rgb(118, 37, 124);
    padding: 20px;
    border-radius: 20%;
    border: 1px solid var(--azul-claro);
}
/* FIM TRATAMENTO-2 */


/* AGENDE SUA AVALIAÇÃO */
.agendar {
    background-color: var(--azul-claro);
    text-align: center;
    position: relative;
}

.agenda-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 90px 20px;
    gap: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.agenda-box {
    display: flex;
    flex-direction: column;
    text-align: left;
    /* background-color: red; */
    width: 400px;
}

.botao {
    display: flex;
    /* justify-content: left; */
    /* align-items: center; */
}

.shape-fill-agendar-1 {
    fill: var(--branca);
}
/* FIM AGENDE SUA AVALIAÇÃO */

/* TRATAMENTO-3 */
.tratamento-3 {
    background-color: var(--branca);
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.tratamento-3-container {
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tratamento-3-img {
    flex: 1 1 300px;
}

.tratamento-3-img img {
    width: 100%;
    height: 100%;
}

.tratamento-3-texto {
    flex: 1 1 300px;    
}

.tratamento-3-texto h3 {
    font-size: 0.8rem;
}

.tratamento-3-texto p {
    font-size: 0.9rem;
    text-align: justify;
}
/* FIM TRATAMENTO-3 */

/* CIRURGIA */
.cirurgia {
    background-color: var(--branca);
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.cirurgia-container {
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cirurgia-box {
    background-color: var(--azul-petroleo);
    color: var(--azul-claro);
    /* padding: 15px; */
    margin-top: 15px;
    flex: 1 1 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cirur-box i {
    color: var(--azul-claro);
    font-size: 2rem;
}

.cirur-box p {
    color: var(--azul-claro);
}
/* FIM CIRURGIA */

/* FAQ */
.faq-container {
    max-width: 700px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.faq-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
}

.faq-pergunta {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 0;
    font-weight: bold;
    color: var(--azul-petroleo);
}

/* Aqui entra a animação suave */
.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    font-size: 16px;
    color: #555;
}

/* Quando abrir */
.faq-item.ativo .faq-resposta {
    max-height: 500px; /* valor alto para qualquer texto */
}
/* FIM FAQ */

/* QUEM SOU */
.quem-sou {
    background: url(../img/tratamentos_especializa/fundo-quem-somos.webp);
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 90px 20px; */
}

.quem-sou-texto  {
    flex: 1 1 300px;
}

.quem-sou-texto h2, .quem-sou-texto p {
    color: var(--azul-claro);
}

.quem-sou-texto p {
    /* font-weight: 300; */
    line-height: 20px;
    padding-bottom: 15px;
}

.quem-sou-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* padding: 30px; */
}

.quem-sou-texto span {
    background-color: #5787e05f;
    color: var(--azul-claro);
    padding: 3px 8px;
    text-transform: uppercase;
    font-size: 0.7rem;
    border-radius: 5px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.quem-sou-crm {
    display: flex;
    gap: 10px;
}

.quem-sou-crm p {
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.quem-sou-img {
    flex: 1 1 300px;
}

.quem-sou-img img {
    width: 90%;
    position: relative;
    top: 4px;
}
/* FIM QUEM SOU */



/* FORMULÁRIO */
.formulario {
    background-color: var(--azul-petroleo);    
}

.formulario-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.formulario-texto, .formulario-formulario {
    flex: 1 1 300px;
}

.formulario-texto {
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    gap: 45px;
    align-items: baseline;
    justify-content: center;
}

.formulario-texto span {
    color: var(--azul-claro);
}

.formulario-texto h2,
.formulario-texto h3 {
    color: var(--branca);
}

.formulario-texto h3 {
    background-color: rgba(216, 174, 174, 0.25);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

#formulario-duvidas {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

#formulario-duvidas h3 {
    text-align: center;
    color: #075e54; /* Cor verde do WhatsApp */
    margin-bottom: 20px;
}

.form-contato {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente os itens */
    gap: 15px;
}

.form-contato img {
    width: 24px;
    height: 24px;
}

.form-contato p {
    color: var(--azul-claro);
    margin: 0;
    font-weight: bold;
}

.form-contato p {
    color: var(--azul-claro);
}

.campo {
    margin-bottom: 15px;
}

.campo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.campo input[type="text"],
.campo input[type="tel"],
.campo textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que o padding não aumente a largura total */
}

.campo textarea {
    resize: vertical; /* Permite redimensionar apenas verticalmente */
}

#formulario-duvidas button {
    width: 100%;
    padding: 12px;
    background-color: #25d366; /* Cor do botão do WhatsApp */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#formulario-duvidas button:hover {
    background-color: #128c7e;
}
/* FIM FORMULÁRIO */



/* RODAPÉ */
.rodape {
    background: var(--azul-petroleo);       /* fundo elegante */
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.rodape-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;    
    flex-wrap: wrap;
}

.rodape-box, .rodape-maps {
    flex: 1 1 300px;
}

.rodape h2 {
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--azul-claro);
}

.rodape-maps iframe {
    height: 300px;
    border-radius: 10px;
    width: 100%;
}

.rodape h3 {
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--azul-claro);
    text-align: center;
}

.rodape h4 {
    font-size: 0.9rem;
    margin: 4px 0;
    font-weight: 400;
}

/* Os estilos abaixo podem permanecer como estão */
.direito-reservado {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 100px;
}

.direito-reservado p {
    font-size: 0.8rem;
    color: var(--azul-claro);
}

.direito-reservado p a {
    text-decoration: none;
    color: var(--azul-claro);
}

.whatsapp {
    position: fixed;
    right: -40px;
    bottom: 10px;
    width: 170px;
    z-index: 999;
}

.whatsapp a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* Caixa de texto oculta inicialmente */
.whats-msg {
    background-color: var(--verde-limao);
    color: var(--branca);
    padding: 3px;
    border-radius: 8px;
    font-size: 0.80rem;
    line-height: 1.2rem;
    text-align: center;
    font-weight: 600;
    width: 150px;
    margin-right: 70px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}

/* Aparece suavemente no hover */
.whatsapp a:hover .whats-msg {
    opacity: 1;
    transform: translateY(0);
}

/* Ícone */
.whatsapp a img {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
    transition: transform .2s ease;
}

/* Zoom leve no ícone ao passar o mouse */
.whatsapp a:hover img {
    transform: scale(1.05);
}
/* FIM RODAPE */
