/* ================================================================
   Dra. Aline Lima — Site institucional
   Paleta inspirada na logo: azul-marinho profundo + dourado.
   Layout moderno: microinterações, revelação ao rolar, timeline,
   FAQ em acordeão, botão flutuante de WhatsApp.
   ================================================================ */
:root {
    --cor-azul: #0d1d3a;
    --cor-azul-2: #142a4f;
    --cor-azul-claro: #1f3a68;
    --cor-dourado: #c9a24b;
    --cor-dourado-claro: #e4c883;
    --cor-dourado-suave: #f4e8cc;
    --cor-texto: #171d2c;
    --cor-texto-suave: #5c6478;
    --cor-fundo: #ffffff;
    --cor-fundo-alt: #f7f4ed;
    --cor-borda: rgba(16, 33, 63, 0.09);
    --sombra: 0 14px 34px rgba(16, 33, 63, 0.10);
    --sombra-forte: 0 24px 50px rgba(16, 33, 63, 0.18);
    --raio: 16px;
    --raio-peq: 10px;
    --fonte: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fonte-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--fonte); color: var(--cor-texto);
    background: var(--cor-fundo); line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding-left: 20px; }
.faixa { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--cor-dourado); color: var(--cor-azul); }

/* ---------------------------------------------------------------- Revelação ao rolar
   Visível por padrão (progressive enhancement): só fica oculto para animar
   quando a classe "js" é aplicada ao <html> por um script síncrono no
   <head> — assim, sem JavaScript (ou se algo falhar), o conteúdo nunca
   fica invisível. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.visivel { opacity: 1; transform: translateY(0); }
.reveal-atraso-1 { transition-delay: .1s; }
.reveal-atraso-2 { transition-delay: .2s; }
.reveal-atraso-3 { transition-delay: .3s; }
.reveal-atraso-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Cabeçalho */
.cabecalho {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cor-borda);
    transition: box-shadow .25s ease, background .25s ease;
}
.cabecalho.com-sombra { box-shadow: 0 8px 24px rgba(16,33,63,0.08); }
.cabecalho .faixa { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 20px; }
.marca-site { display: flex; align-items: center; gap: 10px; }
.marca-site img { height: 50px; width: auto; }
.nav-site { display: flex; gap: 30px; }
.nav-site a {
    font-weight: 600; font-size: 14px; color: var(--cor-azul); position: relative; padding: 6px 0;
}
.nav-site a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--cor-dourado);
    transition: width .25s ease;
}
.nav-site a:hover::after, .nav-site a.ativo::after { width: 100%; }
.nav-site a.ativo { color: var(--cor-dourado); }
.acoes-topo { display: flex; align-items: center; gap: 14px; }
.btn-login {
    background: var(--cor-azul); color: #fff; padding: 11px 22px; border-radius: 999px;
    font-weight: 700; font-size: 13.5px; letter-spacing: .2px; white-space: nowrap;
    border: 1px solid var(--cor-azul); transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn-login:hover { background: var(--cor-dourado); border-color: var(--cor-dourado); color: var(--cor-azul); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201,162,75,0.3); }
.btn-menu { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--cor-azul); }

/* ---------------------------------------------------------------- Hero */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1100px 520px at 85% -10%, rgba(201,162,75,0.16), transparent 60%),
                linear-gradient(160deg, var(--cor-azul) 0%, var(--cor-azul-2) 55%, var(--cor-azul-claro) 100%);
    color: #fff; padding: 96px 0 100px;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none;
    animation: flutuar 14s ease-in-out infinite;
}
.hero::before { width: 340px; height: 340px; background: var(--cor-dourado); top: -120px; right: 8%; }
.hero::after { width: 260px; height: 260px; background: #3a5590; bottom: -100px; left: -60px; animation-delay: -6s; }
@keyframes flutuar { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, 30px); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

.hero-conteudo { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
.etiqueta {
    display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px;
    font-weight: 700; color: var(--cor-dourado-claro); margin-bottom: 18px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 7px 14px; border-radius: 999px;
}
.etiqueta .ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--cor-dourado-claro); animation: pulsar 1.8s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(0.7); } }
.hero h1 { font-family: var(--fonte-titulo); font-size: 44px; line-height: 1.18; margin: 0 0 20px; font-weight: 600; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--cor-dourado-claro); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 0 32px; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primario, .btn-secundario {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px;
    font-weight: 700; font-size: 14.5px; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primario { background: var(--cor-dourado); color: var(--cor-azul); }
.btn-primario:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(201,162,75,0.38); }
.btn-secundario { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-secundario:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.hero-logo { position: relative; display: flex; justify-content: center; }
.hero-logo-anel {
    position: absolute; width: 340px; height: 340px; border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.25); animation: girar 40s linear infinite;
}
@keyframes girar { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.hero-logo img { position: relative; max-width: 300px; filter: drop-shadow(0 24px 44px rgba(0,0,0,0.4)); }
.hero-foto {
    width: 300px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
    border: 5px solid rgba(255,255,255,0.9);
    box-shadow: 0 24px 44px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,162,75,0.35);
}

/* ---------------------------------------------------------------- Seções genéricas */
.secao { padding: 96px 0; }
.secao-clara { background: var(--cor-fundo-alt); }
.secao-escura { background: var(--cor-azul); color: #fff; }
.secao-cabecalho { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.secao-cabecalho .etiqueta { background: rgba(16,33,63,0.06); border-color: rgba(16,33,63,0.1); color: var(--cor-azul-claro); }
.secao-cabecalho .etiqueta .ponto { background: var(--cor-dourado); }
.secao-cabecalho h2 { font-family: var(--fonte-titulo); font-size: 32px; margin: 0 0 12px; color: var(--cor-azul); font-weight: 600; letter-spacing: -.3px; }
.secao-cabecalho-clara .etiqueta { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--cor-dourado-claro); }
.secao-cabecalho-clara h2 { color: #fff; }
.secao-intro { color: var(--cor-texto-suave); font-size: 16px; margin: 0; }
.secao-escura .secao-intro { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------------------------- Áreas de atuação */
.grade-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cartao-area {
    background: #fff; border: 1px solid var(--cor-borda); border-radius: var(--raio);
    padding: 34px 28px; box-shadow: var(--sombra); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cartao-area:hover { transform: translateY(-8px); box-shadow: var(--sombra-forte); border-color: rgba(201,162,75,0.35); }
.icone-area {
    width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 18px; background: linear-gradient(135deg, var(--cor-dourado-suave), #fff);
    border: 1px solid rgba(201,162,75,0.35);
}
.cartao-area h3 { margin: 0 0 8px; font-size: 20px; color: var(--cor-azul); font-family: var(--fonte-titulo); font-weight: 600; }
.cartao-area > p { color: var(--cor-texto-suave); margin: 0 0 18px; font-size: 14.5px; }
.cartao-area ul { color: var(--cor-texto); font-size: 14px; }
.cartao-area li { margin-bottom: 7px; }
.cartao-area li::marker { color: var(--cor-dourado); }

/* ---------------------------------------------------------------- Como funciona (timeline) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: passo; }
.timeline::before {
    content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--cor-dourado) 0 10px, transparent 10px 20px);
}
.passo-timeline { position: relative; text-align: center; padding-top: 0; }
.passo-numero {
    position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--cor-azul); color: var(--cor-dourado-claro); display: flex; align-items: center; justify-content: center;
    font-family: var(--fonte-titulo); font-size: 20px; font-weight: 600; box-shadow: 0 0 0 6px var(--cor-fundo-alt);
}
.passo-timeline h3 { font-size: 16.5px; color: var(--cor-azul); margin: 0 0 8px; }
.passo-timeline p { font-size: 13.5px; color: var(--cor-texto-suave); margin: 0; }

/* ---------------------------------------------------------------- Diferenciais */
.grade-diferenciais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.item-diferencial {
    background: #fff; border-radius: var(--raio); padding: 28px 24px; box-shadow: var(--sombra);
    transition: transform .25s, box-shadow .25s; border: 1px solid var(--cor-borda);
}
.item-diferencial:hover { transform: translateY(-6px); box-shadow: var(--sombra-forte); }
.numero { font-family: var(--fonte-titulo); font-size: 26px; font-weight: 600; color: var(--cor-dourado); margin-bottom: 10px; }
.item-diferencial h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--cor-azul); }
.item-diferencial p { margin: 0; font-size: 13.5px; color: var(--cor-texto-suave); }

/* ---------------------------------------------------------------- Sobre */
.sobre-conteudo { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.sobre-texto p { color: var(--cor-texto-suave); font-size: 15.5px; }
.sobre-texto h2 { font-family: var(--fonte-titulo); font-size: 32px; color: var(--cor-azul); margin: 0 0 16px; font-weight: 600; letter-spacing: -.3px; }
.texto-editavel { background: var(--cor-fundo-alt); border-left: 3px solid var(--cor-dourado); padding: 14px 18px; border-radius: 6px; font-size: 14px; }
.sobre-logo { position: relative; display: flex; justify-content: center; }
.sobre-logo::before {
    content: ''; position: absolute; inset: -14px; border-radius: calc(var(--raio) + 14px);
    background: linear-gradient(135deg, var(--cor-dourado-suave), transparent 60%); z-index: 0;
}
.sobre-logo img { position: relative; z-index: 1; max-width: 260px; border-radius: var(--raio); box-shadow: var(--sombra-forte); }
.sobre-foto { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; }

/* ---------------------------------------------------------------- FAQ */
.lista-faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.item-faq { background: #fff; border: 1px solid var(--cor-borda); border-radius: var(--raio-peq); overflow: hidden; box-shadow: var(--sombra); }
.pergunta-faq {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-family: var(--fonte); font-size: 15.5px; font-weight: 700; color: var(--cor-azul);
}
.pergunta-faq .icone-faq { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cor-fundo-alt); color: var(--cor-dourado); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .25s ease; }
.item-faq.aberto .icone-faq { transform: rotate(45deg); background: var(--cor-dourado); color: #fff; }
.resposta-faq { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.resposta-faq p { margin: 0; padding: 0 24px 22px; color: var(--cor-texto-suave); font-size: 14.5px; }

/* ---------------------------------------------------------------- Contato */
.grade-contato { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cartao-contato {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--raio);
    padding: 28px; display: flex; flex-direction: column; gap: 6px; transition: background .2s, transform .2s;
}
a.cartao-contato:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.icone-contato {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; background: rgba(201,162,75,0.15); margin-bottom: 6px;
}
.cartao-contato strong { color: var(--cor-dourado-claro); font-size: 15px; }
.cartao-contato span:last-child { color: rgba(255,255,255,0.85); font-size: 14px; }

/* ---------------------------------------------------------------- Rodapé */
.rodape { background: #0a1730; color: rgba(255,255,255,0.65); padding: 26px 0; font-size: 13px; }
.rodape-conteudo { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.rodape-login { color: var(--cor-dourado-claro); font-weight: 600; }
.rodape-login:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Botão flutuante WhatsApp + voltar ao topo */
.flutuantes { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.botao-flutuante {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; box-shadow: 0 12px 26px rgba(16,33,63,0.28); transition: transform .2s, box-shadow .2s;
    opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none;
}
.botao-flutuante.visivel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.botao-flutuante:hover { transform: translateY(-4px) scale(1.05); }
.botao-whatsapp { background: #25d366; color: #fff; }
.botao-topo { background: #fff; color: var(--cor-azul); border: 1px solid var(--cor-borda); font-size: 18px; }

/* ---------------------------------------------------------------- Responsivo */
@media (max-width: 900px) {
    .hero-conteudo { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-botoes { justify-content: center; }
    .hero-logo { order: -1; }
    .hero-logo img { max-width: 220px; }
    .hero-logo-anel { width: 260px; height: 260px; }
    .grade-areas { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .timeline::before { display: none; }
    .grade-diferenciais { grid-template-columns: repeat(2, 1fr); }
    .sobre-conteudo { grid-template-columns: 1fr; text-align: center; }
    .sobre-logo { order: -1; }
    .grade-contato { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-site {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; padding: 18px 24px; gap: 18px; box-shadow: var(--sombra);
        display: none;
    }
    .nav-site.aberto { display: flex; }
    .btn-menu { display: block; }
    .btn-login { padding: 9px 16px; font-size: 12.5px; }
    .hero h1 { font-size: 30px; }
    .timeline { grid-template-columns: 1fr; }
    .secao { padding: 70px 0; }
}
