/* Rede Vigilante — site institucional
   Tokens alinhados ao app (app.redevigilante.com.br): azul #00589B, âmbar #E29A00, Manrope. */

:root {
    --blue: #00589B;
    --blue-hover: #004c85;
    --blue-bright: #3d93d6;
    --amber: #E29A00;
    --amber-hover: #f2ab14;
    --rec-red: #e5484d;
    --amber-glow: rgba(242, 171, 20, 0.55);

    --night: #0b1320;
    --night-2: #101b2d;
    --night-3: #16243a;
    --night-line: rgba(160, 190, 230, 0.14);
    --on-night: #e8eaf0;
    --on-night-muted: #a3adc2;

    --paper: #ffffff;
    --paper-2: #f3f6fa;
    --ink-900: #0e1726;
    --ink-700: #2b3648;
    --ink-500: #566275;
    --line: #dde4ee;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-night: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink-900); line-height: 1.15; text-wrap: balance; font-weight: 800; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--amber); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

html { scrollbar-color: var(--night-3) var(--night); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--night-3); border-radius: 10px; border: 2px solid var(--night); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ic {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--amber); color: var(--ink-900); padding: 10px 16px; border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .7em 1.15em; font-size: .9rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }

.btn-amber { background: var(--amber); color: var(--ink-900); box-shadow: 0 8px 24px -10px var(--amber-glow); }
.btn-amber:hover { background: var(--amber-hover); box-shadow: 0 12px 30px -10px var(--amber-glow); }
.btn-amber:hover .ic { transform: translateX(2px); }
.btn .ic { transition: transform .25s var(--ease-out); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 88, 155, .7); }
.btn-blue:hover { background: var(--blue-hover); }

.btn-ghost { background: transparent; color: var(--on-night); border-color: rgba(232, 234, 240, .28); }
.btn-ghost:hover { border-color: var(--on-night); background: rgba(232, 234, 240, .06); }

.btn:disabled { cursor: not-allowed; color: var(--on-night-muted); border-color: rgba(232, 234, 240, .16); background: transparent; }
.btn:disabled:active { transform: none; }
.btn .soon-tag { margin: 0 0 0 .25em; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45em; font-weight: 700;
    color: var(--blue); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .ic { transition: transform .25s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    color: var(--on-night);
    transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(11, 19, 32, .96); box-shadow: 0 1px 0 var(--night-line); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; }
.nav ul a {
    text-decoration: none; font-size: .94rem; font-weight: 600; color: var(--on-night-muted);
    padding: 6px 0; transition: color .2s;
}
.nav ul a:hover { color: #fff; }
.nav-actions { display: flex; gap: 10px; }

.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    background: transparent; border: 1px solid rgba(232, 234, 240, .22); color: var(--on-night);
    align-items: center; justify-content: center;
}
.menu-toggle .ic { width: 22px; height: 22px; }
.menu-toggle .ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1080px) {
    .nav ul { gap: 18px; }
    .nav ul a { font-size: .88rem; }
}

@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 24px;
        padding: 16px var(--gutter) 28px; background: var(--night); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
        border-top: 1px solid var(--night-line);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
    }
    .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; color: var(--on-night); border-bottom: 1px solid var(--night-line); }
    .nav-actions { flex-direction: column; }
    .nav-actions .btn { padding: 1em; font-size: 1rem; }
    .site-header.menu-open { background: var(--night); }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(60% 50% at 78% 18%, rgba(0, 88, 155, .38), transparent 70%),
        linear-gradient(180deg, #08101c 0%, var(--night) 55%, #0d1828 100%);
    color: var(--on-night);
    padding: calc(var(--header-h) + clamp(28px, 4.5vw, 64px)) 0 0;
}
/* No desktop o hero ocupa a tela e a rua fica presa à base: a assinatura sempre aparece na primeira dobra. */
@media (min-width: 961px) {
    .hero { min-height: 100svh; display: flex; flex-direction: column; }
    .hero-grid { margin-block: auto; }
    .hero .street { margin-top: 0; padding-top: clamp(24px, 3vw, 40px); }
}
@media (min-width: 961px) and (max-height: 860px) {
    .hero { padding-top: calc(var(--header-h) + 24px); }
    .hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
    .hero-actions { margin-top: 24px; }
    .hero .street { height: 120px; padding-top: 20px; }
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 {
    color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em;
}
.hero h1 .lit { color: var(--amber); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--on-night-muted); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }


.hero-frame {
    margin: 0; border-radius: var(--radius); overflow: hidden;
    background: var(--night-2); box-shadow: var(--shadow-night), 0 0 0 1px var(--night-line);
}
.frame-media { position: relative; background: var(--night); }
.frame-media img { width: 100%; height: auto; aspect-ratio: 1030 / 450; object-fit: cover; }

.frame-bar {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    font-size: .82rem; font-weight: 600; color: var(--on-night-muted); border-top: 1px solid var(--night-line);
}
.frame-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
    font-size: .75rem; font-weight: 700; color: #fff; background: rgba(0, 88, 155, .55);
    font-variant-numeric: tabular-nums;
}
.frame-chip .ic { width: 1em; height: 1em; color: var(--amber); }
.frame-time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--on-night); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--rec-red); box-shadow: 0 0 0 3px rgba(229, 72, 77, .2); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }

/* Rua noturna (assinatura) */
.street { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 48px); height: clamp(110px, 11vw, 170px); box-sizing: content-box; }
.street-svg { width: 100%; height: 100%; }
.street-svg .house { fill: #111d31; }
.street-svg .roof { fill: #0e192b; }
.street-svg .win { fill: #1a2842; transition: fill .6s ease, filter .6s ease; }
.street-svg .win.on { fill: #f2ab14; filter: drop-shadow(0 0 6px rgba(242, 171, 20, .8)); }
.street-svg .cam { fill: #1a2842; transition: fill .5s; }
.street-svg .cam.on { fill: var(--blue-bright); }
.street-svg .net {
    fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .75;
}
.street-svg .net-mask { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 3.2s var(--ease-out); }
.street-svg.is-lit .net-mask { stroke-dashoffset: 0; }
.street-svg .ground { fill: #0d1726; }
.street-svg .pole { stroke: #22324d; stroke-width: 3; }
.street-svg .lamp-glow { opacity: .9; }
.street-reprise { margin: 0; padding-top: clamp(32px, 4vw, 56px); height: clamp(90px, 9vw, 140px); box-sizing: content-box; background: var(--night-2); }
.street-reprise .house { fill: #15233a; }
.street-reprise .roof { fill: #13203a; }
.street-reprise .ground { fill: var(--night-2); }
.contact { padding-top: clamp(40px, 6vw, 72px); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-frame { max-width: 640px; }
}
@media (max-width: 560px) {
    .hero-actions .btn { width: 100%; }
}

/* ---------- Faixa de detecção ---------- */
.detect { background: #0d1828; color: var(--on-night); border-top: 1px solid var(--night-line); }
.detect-row { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-block: 26px; }
.detect-title { color: var(--on-night-muted); font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.detect-list { display: flex; flex-wrap: wrap; gap: 10px; }
.detect-list li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    font-size: .9rem; font-weight: 600; color: #fff; background: var(--night-3);
}
.detect-list .ic { color: var(--amber); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-title { max-width: 18em; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

/* Recursos */
.features-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.features-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.features-intro p { margin-top: 20px; color: var(--ink-500); max-width: 30em; }
.features-intro .link-arrow { margin-top: 28px; }

.feature-list { border-top: 1px solid var(--line); }
.feature {
    display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 32px 0;
    border-bottom: 1px solid var(--line);
}
.feature-ic {
    width: 48px; height: 48px; padding: 11px; border-radius: 12px;
    background: #e8f1f9; color: var(--blue);
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    transition: background-color .3s, color .3s;
}
.feature:hover .feature-ic { background: var(--blue); color: #fff; }
.feature h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.feature p { margin-top: 8px; color: var(--ink-500); max-width: 38em; }

@media (max-width: 860px) {
    .features-grid { grid-template-columns: 1fr; }
    .features-intro { position: static; }
}
@media (max-width: 480px) {
    .feature { grid-template-columns: 1fr; gap: 16px; }
}

/* Como funciona */
.steps { background: var(--paper-2); }
.step-list {
    position: relative; margin-top: 56px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
    counter-reset: step;
}
.step-list::before {
    content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--amber));
    opacity: .35;
}
.step { position: relative; counter-increment: step; }
.step-dot {
    position: relative; display: block; width: 18px; height: 18px; border-radius: 50%;
    background: var(--paper-2); border: 3px solid var(--blue);
}
.step:last-child .step-dot { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(226, 154, 0, .18); }
.step h3 { margin-top: 28px; font-size: 1.15rem; }
.step h3::before {
    content: counter(step); display: block; margin-bottom: 8px;
    font-size: .85rem; font-weight: 700; color: var(--blue); letter-spacing: 0;
}
.step p { margin-top: 8px; color: var(--ink-500); font-size: 1rem; }

@media (max-width: 860px) {
    .step-list { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
    .step-list::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--amber)); }
    .step { display: grid; grid-template-columns: 18px 1fr; column-gap: 24px; padding-bottom: 32px; }
    .step-dot { grid-row: 1 / span 2; }
    .step h3 { margin-top: -3px; }
    .step p { grid-column: 2; }
}

/* Para quem */
.audience-grid {
    margin-top: 56px; display: grid; gap: 40px clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.audience-lead {
    grid-row: span 2; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
    background: var(--night); color: var(--on-night);
}
.audience-lead h3 { color: #fff; margin-top: 24px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.audience-lead p { margin-top: 14px; color: var(--on-night-muted); max-width: 30em; }
.audience-lead .audience-ic { color: var(--amber); width: 36px; height: 36px; }
.lead-row { margin-top: 36px; display: flex; gap: 10px; align-items: flex-end; }
.lead-row span { flex: 1; height: 44px; border-radius: 4px 4px 0 0; background: var(--night-3); position: relative; }
.lead-row span:nth-child(odd) { height: 58px; }
.lead-row span::after { content: ""; position: absolute; left: 50%; top: 14px; width: 10px; height: 13px; translate: -50% 0; border-radius: 1.5px; background: #1f3050; }
.lead-row span.on::after { background: #f2ab14; box-shadow: 0 0 8px rgba(242, 171, 20, .7); }
.audience-item { padding-top: 28px; border-top: 2px solid var(--ink-900); }
.audience-ic { width: 32px; height: 32px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.audience-item h3 { margin-top: 20px; font-size: 1.3rem; }
.audience-item p { margin-top: 10px; color: var(--ink-500); }

@media (max-width: 860px) {
    .audience-grid { grid-template-columns: 1fr; gap: 40px; }
    .audience-lead { grid-row: auto; }
}

/* Acesso */
.access {
    background:
        radial-gradient(50% 60% at 80% 50%, rgba(0, 88, 155, .35), transparent 70%),
        var(--night);
    color: var(--on-night);
    overflow: hidden;
}
.access-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.access h2 { color: #fff; }
.access-copy > p { margin-top: 20px; color: var(--on-night-muted); max-width: 32em; }
.check-list { margin-top: 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-night); }
.check-list .ic { margin-top: .25em; color: var(--amber); }
.access-actions { margin-top: 40px; display: grid; gap: 20px; justify-items: start; }
.soon { font-size: .94rem; color: var(--on-night-muted); max-width: 30em; }
.soon-tag {
    display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px;
    font-size: .75rem; font-weight: 800; color: var(--ink-900); background: var(--amber); vertical-align: 1px;
}

.phone { justify-self: center; width: min(320px, 100%); }
.phone-screen {
    border-radius: 36px; padding: 14px; background: var(--night);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 0 9px #1a2335, 0 40px 80px -30px rgba(0,0,0,.8);
}
.phone-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 12px 12px; font-size: .82rem; font-weight: 700; color: #fff;
}
.phone-live { display: inline-flex; align-items: center; gap: 6px; color: var(--rec-red); font-size: .75rem; }
.phone-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec-red); animation: rec 1.6s ease-in-out infinite; }
.phone-feed { display: grid; gap: 10px; }
.evt {
    display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px; border-radius: var(--radius);
    background: var(--night-2);
}
.evt-thumb { border-radius: 10px; aspect-ratio: 4 / 3; background-image: url("../img/banner.webp"); background-size: 360% auto; }
.evt-thumb-1 { background-position: 52% 40%; }
.evt-thumb-icon {
    display: grid; place-items: center; background: linear-gradient(160deg, #1b2a42, #0c1524);
    box-shadow: inset 0 0 0 1px rgba(242, 171, 20, .35);
}
.evt-thumb-icon .ic { width: 26px; height: 26px; color: var(--amber); stroke-width: 1.6; }
.evt-body { display: grid; align-content: center; gap: 4px; min-width: 0; }
.evt-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: #fff; }
.evt-tag .ic { color: var(--amber); width: 1em; height: 1em; }
.evt-time { font-size: .75rem; color: var(--on-night-muted); }
.evt-conf { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.evt-conf span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.evt-conf span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--blue-bright); border-radius: inherit; }
.phone-note { margin-top: 18px; text-align: center; font-size: .75rem; color: var(--on-night-muted); }

@media (max-width: 860px) {
    .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .access-actions .btn { width: 100%; }
}

/* Dúvidas */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; list-style: none;
    padding: 24px 0; font-size: 1.1rem; font-weight: 700; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); width: 22px; height: 22px; transition: transform .3s var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-500); max-width: 42em; }

@media (max-width: 860px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq details p { padding-right: 0; }
}

/* Contato */
.contact { background: var(--night-2); color: var(--on-night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact h2 { color: #fff; }
.contact-copy > p { margin-top: 20px; color: var(--on-night-muted); max-width: 30em; }
.contact-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-channels { display: grid; gap: 4px; align-self: center; }
.contact-channels a, .channel-static {
    display: flex; align-items: center; gap: 16px; padding: 14px 0;
    text-decoration: none; color: #fff; font-weight: 700; border-bottom: 1px solid var(--night-line);
    overflow-wrap: anywhere;
}
.contact-channels a:hover { color: var(--amber); }
.contact-channels .ic { width: 22px; height: 22px; color: var(--amber); }
.contact-channels small { display: block; font-size: .78rem; font-weight: 600; color: var(--on-night-muted); }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .contact-actions .btn { width: 100%; }
}

/* Rodapé */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-top: 56px; font-size: .94rem; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--night-line); padding-block: 24px; font-size: .85rem; }

/* Voltar ao topo */
.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; text-decoration: none;
    background: var(--amber); color: var(--ink-900); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Vídeo */
.video-dialog {
    width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius);
    background: var(--night); overflow: visible;
}
.video-dialog::backdrop { background: rgba(5, 9, 16, .85); }
.video-box { aspect-ratio: 16 / 9; border-radius: inherit; overflow: hidden; }
.video-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close {
    position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
}
.video-close:hover { background: rgba(255,255,255,.1); }

/* Revelação ao rolar: visível por padrão, animado só quando o JS confirma suporte */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
