/* =========================================================
   NANPA Tecnologia — Design System v3
   Engenharia · Climatização · Automação
   Mobile first. Sem animações pesadas. Tokens em :root.
   ========================================================= */

:root {
    --bg: #0a1628;
    --bg-alt: #0d1c31;
    --bg-raised: #12233b;
    --bg-raised-2: #172b47;
    --line: rgba(148, 178, 222, 0.14);
    --line-strong: rgba(148, 178, 222, 0.26);

    --blue: #2b7de9;
    --blue-600: #1f6ad0;
    --blue-300: #7fb2f5;
    --teal: #4ecdc4;
    --green-wa: #1faa59;
    --green-wa-600: #178a48;
    --warn: #f5b454;
    --danger: #f87171;

    --text: #e6edf6;
    --text-2: #b7c4d6;
    --text-3: #8497b0;

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 10px 30px rgba(2, 8, 20, 0.35);

    --container: 1200px;
    --gutter: 16px;
    --header-h: 64px;
    --section-y: clamp(3rem, 7vw, 5.5rem);
}

@media (min-width: 768px) {
    :root { --gutter: 28px; --header-h: 76px; }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-300); text-decoration: none; }
a:hover { color: var(--text); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sr-only {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: calc(var(--section-y) * .6) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--teal); margin-bottom: .75rem;
}
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); margin-bottom: .9rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; margin-bottom: .5rem; }
h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); }
p + p { margin-top: .9rem; }
strong { color: var(--text); font-weight: 600; }
.muted { color: var(--text-3); }
.small { font-size: .88rem; }
.accent { color: var(--blue-300); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
    font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
    border: 1.5px solid transparent; transition: background-color .2s, border-color .2s, transform .2s, color .2s;
    text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(43, 125, 233, .35); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--blue-300); color: #fff; background: rgba(43, 125, 233, .08); }
.btn-wa { background: var(--green-wa); color: #fff; }
.btn-wa:hover { background: var(--green-wa-600); color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 479px) { .btn-row > .btn { width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-300); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- Header / Nav ---- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    background: rgba(10, 22, 40, .97); border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 34px; width: auto; }
@media (min-width: 768px) { .brand img { height: 40px; } }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link, .nav-drop-btn {
    display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: var(--radius-sm);
    color: var(--text-2); font-weight: 600; font-size: .92rem;
}
.nav-link:hover, .nav-drop-btn:hover, .nav-link[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-drop { position: relative; }
.nav-drop-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop-menu {
    position: absolute; top: calc(100% + 8px); left: -8px; min-width: 320px; padding: .5rem;
    background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: var(--shadow); display: none;
}
.nav-drop-menu.open { display: block; }
.nav-drop-menu a { display: block; padding: .6rem .75rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: .92rem; }
.nav-drop-menu a span { display: block; font-weight: 400; font-size: .8rem; color: var(--text-3); }
.nav-drop-menu a:hover, .nav-drop-menu a[aria-current="page"] { background: rgba(43, 125, 233, .12); }
.nav-drop-menu hr { border: 0; border-top: 1px solid var(--line); margin: .4rem .5rem; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
@media (min-width: 370px) { .header-cta { display: inline-flex; } }
@media (max-width: 420px) { .header-cta { padding: .45rem .8rem; font-size: .82rem; } .brand img { height: 30px; } }

.nav-toggle { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: var(--radius-sm); }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 1079px) {
    .nav.open {
        display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--bg); overflow-y: auto; padding: 1rem var(--gutter) 6rem; border-top: 1px solid var(--line);
    }
    .nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav.open .nav-link, .nav.open .nav-drop-btn { width: 100%; justify-content: space-between; padding: .95rem .5rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav.open .nav-drop-menu { position: static; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: .25rem 0 .5rem .5rem; }
    body.nav-open { overflow: hidden; }
}
@media (min-width: 1080px) {
    .nav { display: block; }
    .nav-toggle { display: none; }
}

main { padding-top: var(--header-h); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: .82rem; color: var(--text-3); margin-bottom: 1.1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .35rem; color: var(--line-strong); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---- Hero (home + landing pages) ---- */
.hero {
    position: relative; padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(43, 125, 233, .18), transparent 60%),
        radial-gradient(700px 420px at -10% 110%, rgba(78, 205, 196, .08), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-kicker {
    display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; margin-bottom: 1rem;
    border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--text-2);
}
.hero-kicker svg { width: 14px; height: 14px; color: var(--teal); }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { max-width: 640px; margin-bottom: 1.5rem; }
.hero .btn-row { margin-bottom: 1.25rem; }
.hero-slogan { font-size: .92rem; color: var(--text-3); font-style: italic; }
.hero-points { display: grid; gap: .45rem; margin: 0 0 1.5rem; }
.hero-points li { display: flex; gap: .55rem; align-items: flex-start; font-size: .96rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: .2rem; }

.hero-media { position: relative; }
.hero-media img, .hero-media video { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-raised); }
.media-tag {
    position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(10, 22, 40, .88); border: 1px solid var(--line-strong); color: var(--text);
    font-size: .78rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px;
}
.media-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ---- Proof strip ---- */
.proof-strip { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-item { display: flex; gap: .75rem; align-items: flex-start; padding: 1.1rem .25rem; }
@media (min-width: 1024px) { .proof-item { padding: 1.4rem 1rem; border-left: 1px solid var(--line); } .proof-item:first-child { border-left: 0; padding-left: 0; } }
.proof-item svg { width: 26px; height: 26px; color: var(--blue-300); flex-shrink: 0; }
.proof-item strong { display: block; font-size: .95rem; }
.proof-item span { font-size: .85rem; color: var(--text-3); }

/* ---- Cards ---- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
}
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-raised-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body p { font-size: .95rem; }
.card-body .link-arrow { margin-top: auto; padding-top: .5rem; }
.card-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
a.card { color: inherit; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: rgba(127, 178, 245, .45); transform: translateY(-2px); color: inherit; }
a.card:hover .card-media img { transform: scale(1.03); }
.card--featured { border-color: rgba(78, 205, 196, .45); }
.card-flag {
    position: absolute; top: 10px; left: 10px; background: var(--teal); color: #06222a;
    font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 6px;
}
.card-flag--muted { background: var(--bg); color: var(--text-2); border: 1px solid var(--line-strong); }

.icon-card { padding: 1.3rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.icon-card svg { width: 26px; height: 26px; color: var(--blue-300); margin-bottom: .7rem; }
.icon-card p { font-size: .93rem; }

/* ---- Split (texto + mídia) ---- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 960px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--reverse > :first-child { order: 2; }
}
.split-media img, .split-media video { border-radius: var(--radius-lg); border: 1px solid var(--line-strong); width: 100%; }

.check-list { display: grid; gap: .6rem; margin: 1.1rem 0; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list li::before {
    content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: .22rem; border-radius: 50%;
    background: rgba(78, 205, 196, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ecdc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; color: var(--text-2); background: rgba(255, 255, 255, .02); }

/* ---- Quote / Diferencial ---- */
.statement {
    border-left: 3px solid var(--teal); padding: .4rem 0 .4rem 1.2rem; margin: 1.4rem 0;
    font-size: clamp(1.15rem, 2.3vw, 1.45rem); font-weight: 700; color: var(--text); line-height: 1.35;
}

/* ---- Steps ---- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.25rem 1.25rem 1.25rem 1.25rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--teal); margin-bottom: .5rem;
}
.step p { font-size: .93rem; }

/* ---- Gallery ---- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-raised); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.gallery figcaption { padding: .55rem .7rem; font-size: .8rem; color: var(--text-2); }

/* ---- Video ---- */
.video-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card figcaption { background: var(--bg-raised); padding: .75rem 1rem; font-size: .88rem; color: var(--text-2); }

/* ---- Cases ---- */
.case { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.case + .case { margin-top: 1.5rem; }
@media (min-width: 960px) { .case { grid-template-columns: .95fr 1.05fr; align-items: start; } }
.case-media { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.case-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: zoom-in; border: 1px solid var(--line); }
.case-media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.case-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.case-meta span { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; background: rgba(43, 125, 233, .14); color: var(--blue-300); }
.case-facts { display: grid; gap: .9rem; margin: 1rem 0 1.25rem; }
.case-facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.case-facts dd { font-size: .95rem; }
.note-pending { font-size: .82rem; color: var(--text-3); font-style: italic; }

/* ---- FAQ ---- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq details { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
    cursor: pointer; list-style: none; padding: 1rem 1.15rem; font-weight: 700; color: var(--text);
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--blue-300); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 1.15rem 1.1rem; font-size: .95rem; }

/* ---- CTA band ---- */
.cta-band {
    display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg); border: 1px solid rgba(78, 205, 196, .35);
    background: linear-gradient(135deg, rgba(43, 125, 233, .16), rgba(78, 205, 196, .08)), var(--bg-raised);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin-bottom: .4rem; font-size: clamp(1.35rem, 2.8vw, 1.9rem); }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.contact-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue-300); flex-shrink: 0; margin-top: .15rem; }
.contact-list strong { display: block; font-size: .9rem; }
.contact-list a, .contact-list span { font-size: .95rem; }

.form { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2f5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(43, 125, 233, .25); }
.field input::placeholder, .field textarea::placeholder { color: #5f7390; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { font-size: .8rem; color: var(--danger); min-height: 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .8rem; color: var(--text-3); margin-top: .85rem; }
.form-legal a { color: var(--text-2); text-decoration: underline; }
.form-status { margin-top: 1rem; font-size: .92rem; border-radius: var(--radius-sm); }
.form-status:empty { display: none; }
.form-status.is-error { padding: .75rem 1rem; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success svg { width: 48px; height: 48px; color: var(--teal); margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: .5rem; }
.form-success .btn-row { justify-content: center; margin-top: 1.25rem; }

/* ---- Footer ---- */
.site-footer { background: #07111f; border-top: 1px solid var(--line); padding: 3rem 0 6rem; font-size: .92rem; }
@media (min-width: 768px) { .site-footer { padding-bottom: 2rem; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 38px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-3); max-width: 340px; }
.site-footer h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: .9rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a, .footer-links button { color: var(--text-2); text-align: left; padding: 0; font-size: .92rem; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--text-3); font-size: .84rem; }

/* ---- WhatsApp flutuante ---- */
.wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 900;
    display: inline-flex; align-items: center; gap: .5rem; height: 56px; padding: 0 16px;
    border-radius: 999px; background: var(--green-wa); color: #fff; font-weight: 700; font-size: .92rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.wa-float:hover { background: var(--green-wa-600); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { display: none; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } .wa-float span { display: inline; } }
body.nav-open .wa-float { display: none; }

/* ---- Modal (verificação WhatsApp) ---- */
.modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: var(--gutter); }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(3, 8, 16, .75); }
.modal-card {
    position: relative; width: 100%; max-width: 400px; background: var(--bg-raised); border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg); padding: 1.75rem 1.5rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; font-size: 1.6rem; color: var(--text-3); border-radius: 50%; }
.modal-close:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.modal-icon { width: 52px; height: 52px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center; background: rgba(31, 170, 89, .15); color: var(--green-wa); }
.modal-icon svg { width: 26px; height: 26px; }
.modal-card h3 { margin-bottom: .35rem; }
.modal-card p { font-size: .92rem; }
.modal-feedback { min-height: 1.5rem; margin: 1rem 0 .5rem; font-size: .9rem; color: var(--text-2); }
.modal-feedback.error-msg { color: #fecaca; }
.modal-feedback.success-msg { color: #a7f3d0; }
.modal-actions { display: grid; gap: .6rem; }
.modal-alt { margin-top: .9rem; font-size: .84rem; }

/* ---- Cookie banner ---- */
.cookie-banner {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2500; max-width: 560px;
    background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1rem 1.1rem;
    box-shadow: var(--shadow); font-size: .88rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .btn-row { margin-top: .8rem; }
@media (min-width: 768px) { .cookie-banner { left: 24px; bottom: 24px; right: auto; } }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 3500; background: rgba(3, 8, 16, .92); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; font-size: 2rem; color: #fff; }

/* ---- Prose (política de privacidade) ---- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: .75rem 0; }
.prose li { margin: .3rem 0; }

/* ---- 404 ---- */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 1rem; }
.notfound .btn-row { justify-content: center; margin-top: 1.5rem; }

.icon-card--link { display: block; color: inherit; transition: border-color .2s; }
.icon-card--link:hover { color: inherit; border-color: rgba(127, 178, 245, .45); }
.icon-card--link .link-arrow { margin-top: .75rem; }

.split-media img { max-height: 620px; object-fit: cover; }
@media (min-width: 960px) { h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); } }

/* Selo do reCAPTCHA oculto: o aviso com links do Google fica visível nos formulários e no modal */
.grecaptcha-badge { visibility: hidden !important; }
.case-media img:first-child:nth-last-child(2),
.case-media img:first-child:nth-last-child(2) ~ img { grid-column: auto; aspect-ratio: 4 / 3; }
