/* ==========================================================================
   Luana Galvan — estilos principais (mobile-first)
   Paleta e tipografia: Manual de Identidade Visual.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --marrom: #732c13;
    --terracota: #be5f33;
    --terracota-botao: #b85a2f; /* terracota da marca, escurecido para contraste AA com texto branco */
    --mostarda-claro: #dcae75; /* mostarda para texto sobre marrom (contraste AA) */
    --terracota-escuro: #a24d27; /* hover; contraste AA com texto creme */
    --rosa: #ce9c98;
    --creme: #f9f7e8;
    --creme-2: #f1ecd6;
    --mostarda: #d09e5f;
    --texto: #3d1c0e;
    --texto-suave: #6b4535;

    --font-titulo: "Montnapha", "Fraunces", Georgia, serif; /* Montnapha só entra com licença web */
    --font-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --raio: 22px;
    --gutter: 20px;
    --max: 1160px;
    --sombra: 0 14px 40px -18px rgb(115 44 19 / 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--creme);
    color: var(--texto);
    font-family: var(--font-texto);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--terracota-escuro); text-underline-offset: 3px; }
a:hover { color: var(--marrom); }
h1, h2, h3 { font-family: var(--font-titulo); color: var(--marrom); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 6.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--marrom); color: var(--creme); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1.2 var(--font-texto); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-primary { background: var(--terracota-botao); color: #fff; }
.btn-primary:hover { background: var(--marrom); color: #fff; }
.btn-ghost { background: transparent; color: var(--marrom); border-color: var(--marrom); }
.btn-ghost:hover { background: var(--marrom); color: var(--creme); }
.btn-light { background: var(--creme); color: var(--marrom); }
.btn-light:hover { background: #fff; color: var(--marrom); }
.icon { flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(249 247 232 / .92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgb(115 44 19 / .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 168px; height: auto; }

.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--marrom); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle-bars::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); padding: 12px var(--gutter) 24px; border-bottom: 1px solid rgb(115 44 19 / .12); box-shadow: var(--sombra); }
.main-nav.is-open { display: block; }
.nav-list a { display: block; padding: 14px 4px; color: var(--marrom); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgb(115 44 19 / .08); }
.nav-list a:hover { color: var(--terracota); }
.nav-cta { margin-top: 18px; width: 100%; }

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .brand img { width: 196px; }
    .main-nav { display: flex; align-items: center; gap: 28px; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
    .nav-list { display: flex; gap: 22px; }
    .nav-list a { padding: 8px 0; border: 0; font-size: .98rem; }
    .nav-cta { margin: 0; width: auto; padding: .65em 1.2em; font-size: .95rem; }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-tight { padding-block: clamp(32px, 6vw, 56px); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--terracota-escuro); margin-bottom: 14px; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--texto-suave); }
.small { font-size: .92rem; color: var(--texto-suave); }
.section-more { margin-top: 32px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-title { margin-bottom: .4em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--texto-suave); }

.hero-art { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-blob {
    aspect-ratio: 1 / 1.05; overflow: hidden;
    border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
    background: var(--terracota); box-shadow: var(--sombra);
}
.hero-blob img { width: 100%; height: 100%; object-fit: cover; }
.hero-bird { position: absolute; width: 46%; right: -6%; bottom: -8%; filter: drop-shadow(0 10px 18px rgb(115 44 19 / .25)); animation: voo 7s ease-in-out infinite; }
@keyframes voo { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-6px, -12px) rotate(-2.5deg); } }

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* ---------- Proposta ---------- */
.proposta { background: var(--marrom); color: var(--creme); }
.proposta h3 { color: var(--mostarda-claro); }
.proposta-grid { display: grid; gap: 28px; }
.proposta-num { display: block; font-family: var(--font-titulo); font-size: 2rem; color: var(--rosa); margin-bottom: 6px; }
.proposta p { margin: 0; color: rgb(249 247 232 / .86); }
@media (min-width: 800px) { .proposta-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ---------- Vídeo ---------- */
.video-frame { border-radius: var(--raio); overflow: hidden; background: var(--marrom); box-shadow: var(--sombra); aspect-ratio: 16 / 9; position: relative; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.video-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-placeholder::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgb(115 44 19 / .75)); }
.video-placeholder p { z-index: 1; position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; margin: 0; color: var(--creme); font-weight: 600; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.video-play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--creme); box-shadow: var(--sombra); }
.video-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid var(--terracota); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }

/* ---------- Cards ---------- */
.areas { background: var(--creme-2); }
.cards { display: grid; gap: 18px; }
.card { background: var(--creme); border-radius: var(--raio); padding: 26px 24px 24px; border: 1px solid rgb(115 44 19 / .1); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.card p { color: var(--texto-suave); flex: 1; }
.card-link { font-weight: 600; text-decoration: none; color: var(--terracota-escuro); }
.card-link:hover { color: var(--marrom); }
.card-post { padding: 0 0 22px; overflow: hidden; }
.card-post h3, .card-post p { padding-inline: 22px; }
.card-post h3 a { color: inherit; text-decoration: none; }
.card-thumb { margin-bottom: 18px; }
.card-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Atendimento ---------- */
.atendimento-grid { display: grid; gap: 40px; align-items: start; }
.atendimento-info { background: var(--creme-2); border-radius: var(--raio); padding: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 16px; }
.chips li { padding: .45em 1em; border-radius: 999px; background: var(--creme); border: 1px solid rgb(115 44 19 / .18); font-weight: 600; color: var(--marrom); font-size: .95rem; }
.tz { margin-top: 26px; border-radius: var(--raio); background: var(--marrom); color: var(--creme); padding: 20px 24px; display: grid; gap: 14px; }
.tz-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tz-label { font-size: .95rem; color: rgb(249 247 232 / .8); }
.tz-time { font-family: var(--font-titulo); font-size: 1.9rem; color: var(--mostarda-claro); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .atendimento-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* ---------- Sobre ---------- */
.sobre { background: var(--creme-2); }
.sobre-grid { display: grid; gap: 36px; align-items: center; }
.sobre-media { border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--sombra); max-width: 460px; width: 100%; margin-inline: auto; }
.sobre-media img { width: 100%; height: 100%; object-fit: cover; }
.cred-title { margin-top: 28px; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-texto); color: var(--terracota-escuro); }
.cred-list { margin: 0 0 26px; }
.cred-list li { position: relative; padding: 6px 0 6px 26px; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--terracota); transform: rotate(-45deg); }
@media (min-width: 900px) { .sobre-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }

/* ---------- CTA final ---------- */
.cta-final { background: var(--terracota-botao); color: #fff; text-align: center; padding-block: clamp(56px, 9vw, 96px); position: relative; overflow: hidden; }
.cta-final h2 { color: #fff; max-width: 18em; margin-inline: auto; text-wrap: balance; }
.cta-final p { max-width: 36em; margin: 0 auto 28px; color: #fff; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--marrom); color: rgb(249 247 232 / .88); font-size: .98rem; }
.site-footer a { color: var(--creme); }
.site-footer a:hover { color: var(--mostarda); }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 40px; }
.footer-brand img { width: 220px; margin-bottom: 16px; }
.footer-brand p { max-width: 28em; }
.footer-title { font-family: var(--font-texto); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mostarda-claro); }
.footer-nav li, .footer-contact li { padding: 4px 0; }
.footer-emergency { background: var(--creme); color: var(--marrom); border-block: 4px solid var(--mostarda); padding-block: 18px; }
.footer-emergency a { color: var(--marrom); font-weight: 600; }
.footer-emergency p { margin: 0; font-size: .95rem; }
.footer-legal { padding-block: 22px 96px; font-size: .88rem; color: rgb(249 247 232 / .7); display: grid; gap: 4px; }
.footer-legal p { margin: 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } .footer-legal { display: flex; justify-content: space-between; padding-bottom: 84px; } }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 60;
    display: inline-flex; align-items: center; gap: 10px;
    background: #17793f; color: #fff; text-decoration: none; font-weight: 600;
    padding: 14px; border-radius: 999px; box-shadow: 0 10px 28px -8px rgb(0 0 0 / .45);
    transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { background: #105c2e; color: #fff; transform: translateY(-3px); }
.wa-float-label { display: none; padding-right: 8px; }
@media (min-width: 700px) { .wa-float { padding: 14px 20px 14px 16px; right: 24px; bottom: 24px; } .wa-float-label { display: inline; padding-right: 0; } }

/* ---------- Texto corrido (páginas internas) ---------- */
.prose { max-width: 740px; }
.prose h1 { margin-bottom: .6em; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero { padding-block: clamp(44px, 8vw, 88px) clamp(20px, 4vw, 40px); }
.page-hero h1 { text-wrap: balance; }
.card-title { font-size: 1.25rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-meta { margin: 0; padding-inline: 22px; font-size: .85rem; color: var(--texto-suave); }
.center { text-align: center; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination a, .pagination span { padding: .5em 1em; border-radius: 999px; border: 1px solid rgb(115 44 19 / .2); text-decoration: none; }
.pagination .current { background: var(--marrom); color: var(--creme); }

/* Artigo */
.article-cover { margin-bottom: 8px; }
.article-cover img { border-radius: var(--raio); width: 100%; }
.article-body { font-size: 1.12rem; }
.article-body h2 { margin-top: 1.6em; }
.article-note { padding-bottom: 48px; }

/* Atendimento online */
.steps { margin: 44px 0 36px; }
.steps-list { counter-reset: passo; display: grid; gap: 14px; }
.steps-list li { counter-increment: passo; position: relative; padding: 18px 20px 18px 66px; background: var(--creme-2); border-radius: var(--raio); }
.steps-list li::before { content: counter(passo); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--terracota); color: #fff; display: grid; place-items: center; font-weight: 700; }
.info-grid { display: grid; gap: 16px; margin-bottom: 36px; }
.info-box { background: var(--creme-2); border-radius: var(--raio); padding: 24px; }
@media (min-width: 720px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.faq { border-bottom: 1px solid rgb(115 44 19 / .15); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--marrom); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--terracota); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--texto-suave); }

/* Contato */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-side .btn { width: 100%; }
.contact-links { margin: 24px 0; display: grid; gap: 8px; font-weight: 500; }
.form { background: var(--creme-2); border-radius: var(--raio); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--marrom); }
.field input, .field textarea { font: inherit; font-weight: 400; color: var(--texto); padding: .75em 1em; border-radius: 14px; border: 1.5px solid rgb(115 44 19 / .25); background: var(--creme); width: 100%; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--mostarda); outline-offset: 1px; border-color: var(--terracota); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--texto-suave); }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--terracota); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.form-msg-ok { background: #e3efdc; color: #254a18; }
.form-msg-erro { background: #f6dcd5; color: #7a1f0c; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }

/* Central de links (/links) */
.links-page { background: var(--marrom); }
.links { max-width: 520px; margin-inline: auto; padding: 40px var(--gutter) 48px; text-align: center; color: var(--creme); }
.links-bird { width: 110px; margin: 0 auto 8px; }
.links-name { margin: 0 0 6px; }
.links-name img { width: 260px; margin-inline: auto; }
.links-bio { color: rgb(249 247 232 / .85); margin-bottom: 28px; }
.links-list { display: grid; gap: 12px; }
.links-btn { display: block; padding: 16px 20px; border-radius: 999px; background: var(--creme); color: var(--marrom); font-weight: 600; text-decoration: none; transition: transform .15s ease, background-color .2s ease; }
.links-btn:hover { transform: translateY(-2px); background: #fff; color: var(--marrom); }
.links-btn.is-primary { background: var(--terracota-botao); color: #fff; }
.links-btn.is-primary:hover { background: var(--mostarda); color: var(--marrom); }
.links-foot { margin-top: 28px; font-size: .88rem; color: rgb(249 247 232 / .7); }
.page-hero + .section, .page-hero + .section-tight { padding-top: clamp(16px, 3vw, 32px); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }

/* Banner de cookies */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-body { max-width: 640px; width: 100%; background: var(--creme); border: 1px solid rgb(115 44 19 / .2); border-radius: var(--raio); padding: 20px 22px; box-shadow: 0 18px 50px -12px rgb(60 20 8 / .5); }
.consent-title { font-size: 1.15rem; margin-bottom: .3em; }
.consent-body p { font-size: .93rem; color: var(--texto-suave); margin-bottom: 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { padding: .65em 1.2em; font-size: .95rem; flex: 1 1 160px; }
.site-footer .footer-legal a { color: var(--creme); }

/* Material gratuito (leads) */
.lead-section { background: #f3e1dc; }
.lead-grid { display: grid; gap: 32px; align-items: center; }
.lead-section .form { background: var(--creme); box-shadow: var(--sombra); }
.lead-ok { text-align: center; justify-items: center; }
.lead-ok h3 { margin: 0; }
.field small { font-weight: 400; color: var(--texto-suave); }
@media (min-width: 900px) { .lead-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-grid a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--creme-2); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ig-grid a:hover img { transform: scale(1.05); }
@media (min-width: 800px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; } }

/* 404 */
.notfound { padding-block: clamp(48px, 9vw, 110px); }
.notfound-bird { width: 120px; margin: 0 auto 12px; }
.notfound-actions { justify-content: center; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 32px; font-weight: 500; }
