@import url('fonts.css');

/* ============================================================
   SOLSTÍCIO ENERGIA — "Ciclo do Dia"
   Tradições: Cinematográfico (dia/noite) + Construtivismo Russo
   Dispositivos: Carimbo de Horário Solar · Arco do Sol · Grade de Células
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* --- paleta: noite → meio-dia (papel) → âmbar solar --- */
    --bg: #15110A;              /* noite (fundo principal) */
    --bg-deep: #0E0B06;         /* noite profunda (rodapé) */
    --bg-dawn: #221C10;         /* amanhecer (segundo tom da noite) */
    --bg-paper: #F5F0E3;        /* meio-dia (fundo alternativo) */
    --bg-card: #1E1912;         /* superfície sobre noite */
    --bg-card-2: #251E12;       /* superfície elevada */
    --bg-paper-card: #FBF7EC;   /* superfície sobre papel */
    --text: #F4EFE3;            /* texto principal (noite) */
    --text-paper: #211C11;      /* texto principal (papel) */
    --muted: #C8C1B0;           /* texto secundário (noite) */
    --muted-paper: #6B6457;     /* texto secundário (papel) */
    --line: rgba(244, 239, 227, 0.14);
    --line-strong: rgba(244, 239, 227, 0.34);
    --line-paper: rgba(33, 28, 17, 0.16);
    --line-paper-strong: rgba(33, 28, 17, 0.4);
    --accent: #FFB300;          /* acento ÚNICO (ouro solar) */
    --accent-ink: #FFB300;      /* texto de acento (noite) */
    --accent-deep: #8A5E00;     /* texto de acento legível em papel */
    --accent-contrast: #211C11; /* texto sobre preenchimento âmbar */
    --accent-glow: rgba(255, 179, 0, 0.18);

    /* --- sistema --- */
    --radius: 3px;
    --radius-lg: 6px;
    --line-w: 1px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    --container: 1320px;
    --section-gap: clamp(84px, 11vw, 150px);

    /* --- tipografia --- */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { scroll-behavior: auto; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Anti-flash: esconde personalizações até o servidor popular */
html.lp-loading .js-personalize { visibility: hidden; }

::selection { background: var(--accent); color: var(--accent-contrast); }

/* ============================================================
   TEMA PAPEL (meio-dia) — usado nas páginas de solução (zênite)
   ============================================================ */
body.theme-paper {
    --bg: var(--bg-paper);
    --text: var(--text-paper);
    --muted: var(--muted-paper);
    --line: var(--line-paper);
    --line-strong: var(--line-paper-strong);
    --bg-card: var(--bg-paper-card);
    --accent-ink: var(--accent-deep);
    --shadow: 0 24px 60px rgba(33, 28, 17, 0.12);
}

/* ============================================================
   DISPOSITIVO 1 — CARIMBO DE HORÁRIO SOLAR
   ============================================================ */
.solar-time {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-ink);
}
.solar-time::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 14px var(--accent-glow);
    animation: pulse-dot 2.4s ease-in-out infinite;
}
.solar-time .st-sep { color: var(--muted); letter-spacing: 0.4em; opacity: 0.8; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 3px var(--accent-glow), 0 0 6px var(--accent-glow); } 50% { box-shadow: 0 0 0 7px rgba(255,179,0,0), 0 0 18px var(--accent-glow); } }

/* ============================================================
   DISPOSITIVO 2 — ARCO DO SOL (divisor de capítulo)
   ============================================================ */
.sun-arc { display: block; width: min(320px, 60vw); height: 60px; position: relative; color: var(--muted); }
.sun-arc svg { width: 100%; height: 100%; overflow: visible; }
.sun-arc .arc-dot {
    fill: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}
.arc-wrap {
    display: flex;
    justify-content: center;
    padding: clamp(28px, 4vw, 60px) 24px;
    position: relative;
}
.arc-wrap::before, .arc-wrap::after {
    content: ''; position: absolute; top: 50%;
    width: 22vw; height: 1px; background: var(--line-strong);
}
.arc-wrap::before { left: 0; }
.arc-wrap::after { right: 0; }
.arc-wrap .arc-label {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--muted); background: var(--bg); padding: 0 14px; z-index: 2;
}
body.theme-paper .arc-wrap .arc-label { background: var(--bg-paper); }

/* ============================================================
   DISPOSITIVO 3 — GRADE DE CÉLULAS FOTOVOLTAICAS (fundo vivo)
   ============================================================ */
.pv-grid {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.pv-grid::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    background: var(--accent);
    box-shadow: 0 0 22px var(--accent-glow);
    opacity: 0;
    animation: cell-scan 9s ease-in-out infinite;
}
@keyframes cell-scan {
    0% { opacity: 0; transform: translate(0,0); }
    8% { opacity: 0.55; }
    26% { opacity: 0.55; transform: translate(calc(6 * 56px), 0); }
    44% { opacity: 0; transform: translate(calc(6 * 56px), calc(6 * 56px)); }
    58% { opacity: 0.55; }
    76% { opacity: 0.55; transform: translate(0, calc(6 * 56px)); }
    100% { opacity: 0; transform: translate(0,0); }
}

/* textura de grão (detalhe artesanal) */
.noise {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ============================================================
   CONTAINER / ESTRUTURA
   ============================================================ */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { position: relative; padding: var(--section-gap) 0; }
.section-tight { position: relative; padding: clamp(48px, 6vw, 84px) 0; }

/* kicker (rótulo de capítulo) */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--muted);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
.kicker.k-accent { color: var(--accent-ink); }

/* headings */
.h-display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-size: clamp(44px, 7.6vw, 116px);
    font-variation-settings: 'opsz' 144;
}
.h-display strong { font-weight: 700; color: var(--accent-ink); }
.h-xl {
    font-family: var(--font-display);
    font-weight: 500; line-height: 1.02; letter-spacing: -0.01em;
    font-size: clamp(34px, 5vw, 72px);
    font-variation-settings: 'opsz' 100;
}
.h-xl strong { font-weight: 700; color: var(--accent-ink); }
.h-lg {
    font-family: var(--font-display);
    font-weight: 500; line-height: 1.08;
    font-size: clamp(26px, 3.4vw, 44px);
}
.h-lg strong { font-weight: 700; color: var(--accent-ink); }
.lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 54ch; }
.lede strong { color: var(--text); font-weight: 600; }

/* numerais mono grandes */
.num {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent-ink);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.num-xl { font-size: clamp(44px, 6vw, 92px); line-height: 1; }
.num-lg { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px;
    font-family: var(--font-mono);
    font-size: 12.5px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: var(--radius);
    transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn .btn-arr { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arr { transform: translateX(5px); }
.btn-amber { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 10px 30px var(--accent-glow); }
.btn-amber:hover { background: #FFC24D; }
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: var(--accent-contrast); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
body.theme-paper .btn-ghost { color: var(--text); }
body.theme-paper .btn-ghost:hover { color: var(--accent-ink); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 14px;
    transition: color 0.3s, border-color 0.3s;
}
.chip:hover { color: var(--accent-ink); border-color: var(--accent); }

/* ============================================================
   NAVBAR — barra full-width de fio fino (desktop) / pill (mobile)
   ============================================================ */
.navbar-wrapper {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(21, 17, 10, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: transform 0.35s var(--ease), background 0.4s, border-color 0.4s;
}
.navbar-wrapper.hidden { transform: translateY(-100%); }
body.theme-paper .navbar-wrapper { background: rgba(245, 240, 227, 0.78); border-bottom-color: var(--line-paper); }
.navbar {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 14px clamp(20px, 4vw, 48px);
    max-width: 1600px; margin: 0 auto;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 150px; height: 40px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.02em; }
.navbar-links { display: flex; align-items: center; gap: 6px; }
.navbar-links > a {
    position: relative;
    padding: 9px 14px;
    font-family: var(--font-mono);
    font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s;
}
.navbar-links > a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px;
    height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.navbar-links > a:hover, .navbar-links > a.active { color: var(--text); }
.navbar-links > a:hover::after, .navbar-links > a.active::after { transform: scaleX(1); }

/* dropdown / mega menu "Soluções" */
.has-drop { position: relative; }
/* ponte invisível que cobre o vão entre trigger e painel — impede o menu de fechar ao mover o mouse */
.has-drop::before {
    content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px;
}
.drop-panel {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 560px;
    background: var(--bg-card); border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    z-index: 1200;
}
.has-drop:hover .drop-panel, .has-drop:focus-within .drop-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.drop-item {
    display: flex; flex-direction: column; gap: 6px;
    padding: 16px 14px; border-radius: var(--radius);
    border: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.drop-item:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.02); }
.drop-item .di-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--accent); }
.drop-item .di-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); }
.drop-item .di-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
body.theme-paper .drop-panel { background: var(--bg-paper-card); }
body.theme-paper .drop-item:hover { background: rgba(33,28,17,0.03); }

.navbar-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    background: var(--accent); color: var(--accent-contrast);
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: var(--radius);
    transition: background 0.3s, transform 0.3s var(--ease);
}
.navbar-cta:hover { background: #FFC24D; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ============================================================
   DRAWER MOBILE (abre pela esquerda)
   ============================================================ */
.mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); opacity: 0; visibility: hidden; transition: opacity 0.35s; z-index: 1100; }
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 90vw);
    background: var(--bg-card); border-right: 1px solid var(--line-strong);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
    z-index: 1101;
    display: flex; flex-direction: column; padding: 22px;
    overflow-y: auto; overscroll-behavior: contain;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand-logo { width: 120px; height: 32px; object-fit: contain; }
.drawer-brand-name { font-family: var(--font-display); font-weight: 600; }
.drawer-slogan { font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.drawer-close { color: var(--muted); font-size: 24px; line-height: 1; padding: 4px 8px; transition: color 0.3s; }
.drawer-close:hover { color: var(--accent); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin: 18px 0; }
.drawer-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 10px; border-radius: var(--radius);
    font-size: 14.5px; font-weight: 500;
    border-left: 2px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255,255,255,0.04); border-left-color: var(--accent); }
.drawer-icon { width: 18px; text-align: center; color: var(--accent); font-size: 14px; }
.drawer-nav .dn-sub {
    margin-left: 20px; font-size: 13px; color: var(--muted); padding: 9px 10px;
    display: flex; align-items: center; gap: 10px;
}
.drawer-contact { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.drawer-contact-item { display: flex; align-items: center; gap: 10px; }
.contact-icon { width: 18px; text-align: center; color: var(--accent); }
.drawer-footer { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.drawer-footer .btn { width: 100%; }

/* ============================================================
   HERO ÚNICO — anatomia: coluna tipografia + coluna figura
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: clamp(120px, 14vh, 160px) 0 clamp(60px, 8vh, 90px);
    overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-layout {
    display: grid;
    grid-template-columns: 1.618fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    width: 100%;
}
.hero-layout > * { min-width: 0; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-copy .h-display { max-width: 13ch; }
.hero-copy .lede { max-width: 46ch; }
.hero-figure { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-figure::before {
    content: '';
    position: absolute; inset: -12%;
    background: radial-gradient(ellipse at 50% 40%, var(--accent-glow), transparent 65%);
    pointer-events: none;
}

/* coluna-figura: instrumento "painel solar" (home) */
.hero-instrument { width: 100%; max-width: 470px; position: relative; }

/* --- CAIXA DE CHAT DA HERO = PAINEL DE MONITORAMENTO SOLAR (estante A2 — moldura de placa) --- */
.hero-chat-box {
    position: relative;
    background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
    max-width: 460px; margin-left: auto; width: 100%;
    transition: transform 0.45s var(--ease);
}
.hero-chat-box:hover { transform: translateY(-4px); }
/* moldura de placa: tarja superior */
.hero-chat-box::before {
    content: '';
    position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
    background: var(--accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 0 18px var(--accent-glow);
}
.chat-box-tag {
    position: absolute; top: -11px; left: 18px; z-index: 4;
    background: var(--accent); color: var(--accent-contrast);
    padding: 4px 12px;
    font-family: var(--font-mono); font-size: 9px; font-weight: 600;
    letter-spacing: 0.26em; text-transform: uppercase;
    border-radius: var(--radius);
}
.chat-box-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-box-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; animation: avatar-ring 2.6s ease-out infinite; }
@keyframes avatar-ring {
    0% { box-shadow: 0 0 0 0 rgba(255,179,0,0.35); }
    70% { box-shadow: 0 0 0 10px rgba(255,179,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,179,0,0); }
}
.chat-box-info { flex: 1; min-width: 0; }
.chat-box-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.chat-box-role { font-size: 11px; color: var(--muted); }
.chat-box-status { font-size: 11px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; animation: pulse-dot 1.8s ease-in-out infinite; }
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.wave b { width: 2px; height: 40%; background: var(--accent); border-radius: 1px; animation: wave 1.3s ease-in-out infinite; }
.wave b:nth-child(2) { animation-delay: 0.18s; }
.wave b:nth-child(3) { animation-delay: 0.36s; }
@keyframes wave { 0%,100% { height: 35%; } 50% { height: 100%; } }
.chat-box-messages { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 200px; }
.chat-bubble { padding: 10px 14px; border-radius: var(--radius-lg); font-size: 13.5px; line-height: 1.5; max-width: 85%; }
.chat-bubble.bot { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 3px; align-self: flex-start; }
.chat-teaser { position: absolute; left: 18px; right: 18px; bottom: 96px; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; pointer-events: none; }
.chat-teaser.on { opacity: 1; visibility: visible; }
.chat-teaser .chat-bubble { opacity: 0; transform: translateY(8px); }
.chat-teaser.on .chat-teaser-typing { animation: teaser-cycle 9s infinite 0.5s; }
.chat-teaser.on .chat-teaser-msg { animation: teaser-cycle 9s infinite 4.8s; }
@keyframes teaser-cycle {
    0%,6% { opacity: 0; transform: translateY(8px); }
    14%,48% { opacity: 1; transform: none; }
    56%,100% { opacity: 0; transform: translateY(-4px); }
}
.chat-box-cta { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); background: rgba(0,0,0,0.2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.chat-box-cta .btn { width: 100%; }
/* barra de status = leitura ao vivo do painel solar */
.chat-box-statusbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--muted);
}
.chat-box-statusbar .sb-live { display: flex; align-items: center; gap: 8px; }
.chat-box-statusbar .sb-read {
    color: var(--accent); font-weight: 500;
    display: inline-flex; align-items: center; gap: 6px;
}
.chat-box-statusbar .sb-read .live-tick { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.4s infinite; }

/* ============================================================
   HERO INTERNO (todas as demais páginas — mesma anatomia)
   ============================================================ */
.hero-inner { padding: clamp(130px, 16vh, 170px) 0 clamp(60px, 8vh, 90px); }
.hero-inner .hero-layout { grid-template-columns: 1.4fr 1fr; }
.hero-inner .h-display { max-width: 12ch; }
.hero-inner .hero-figure .fig-frame { max-width: 440px; width: 100%; }

/* ============================================================
   SEÇÕES HOME
   ============================================================ */
/* --- H1: a conta que só cresce (receita de luz como dispositivo) --- */
.sec-dor { overflow: hidden; }
.dor-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.dor-layout > * { min-width: 0; }
.bill {
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.bill::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.bill-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.bill-total { display: flex; align-items: baseline; gap: 10px; padding: 20px 0 8px; }
.bill-total .num { font-size: clamp(40px, 5vw, 64px); color: var(--accent); }
.bill-total .bill-cur { font-family: var(--font-mono); font-size: 16px; color: var(--muted); }
.bill-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 14px; }
.bill-bars span {
    flex: 1; background: linear-gradient(180deg, var(--accent), rgba(255,179,0,0.25));
    border-radius: 2px 2px 0 0;
    animation: bill-rise 1.4s var(--ease) backwards;
}
.bill-bars span:nth-child(1) { height: 38%; animation-delay: 0.05s; }
.bill-bars span:nth-child(2) { height: 52%; animation-delay: 0.15s; }
.bill-bars span:nth-child(3) { height: 46%; animation-delay: 0.25s; }
.bill-bars span:nth-child(4) { height: 68%; animation-delay: 0.35s; }
.bill-bars span:nth-child(5) { height: 60%; animation-delay: 0.45s; }
.bill-bars span:nth-child(6) { height: 84%; animation-delay: 0.55s; }
.bill-bars span:nth-child(7) { height: 76%; animation-delay: 0.65s; }
.bill-bars span:nth-child(8) { height: 100%; animation-delay: 0.75s; }
@keyframes bill-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } transform-origin: bottom; }
.bill-meta { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

/* --- H2: curso do sol (seção PINADA — quebra do scroll vertical) --- */
.sec-sunjourney { padding: 0; background: var(--bg-deep); position: relative; overflow: hidden; }
.sun-journey { height: 100vh; position: relative; display: flex; flex-direction: column; justify-content: center; }
.sj-sky { position: absolute; inset: 0; pointer-events: none; }
.sj-horizon { position: absolute; left: 0; right: 0; bottom: 26%; height: 1px; background: var(--line-strong); }
.sj-arc { position: absolute; left: 6%; right: 6%; bottom: 22%; height: 56%; }
.sj-arc svg { width: 100%; height: 100%; overflow: visible; }
.sj-sun {
    position: absolute; width: 74px; height: 74px; border-radius: 50%;
    background: radial-gradient(circle, #FFE08A 0%, var(--accent) 55%, rgba(255,179,0,0) 72%);
    box-shadow: 0 0 60px 18px var(--accent-glow), 0 0 140px 40px rgba(255,179,0,0.18);
}
.sj-sunwrap { position: absolute; left: 6%; right: 6%; bottom: 22%; height: 56%; pointer-events: none; }
.sj-sun::after {
    content: ''; position: absolute; inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(255,179,0,0.4);
    animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sj-content { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(24px, 5vw, 64px); }
.sj-hour { font-family: var(--font-mono); font-size: clamp(40px, 7vw, 92px); font-weight: 500; color: var(--text); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.sj-hour span { color: var(--accent); }
.sj-read { text-align: right; }
.sj-read .sj-kw { font-family: var(--font-mono); font-size: clamp(24px, 3.4vw, 44px); color: var(--accent); }
.sj-read .sj-kw span { font-style: normal; font-size: 0.5em; color: var(--muted); }
.sj-read .sj-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.sj-track { position: absolute; left: 0; right: 0; bottom: 4%; display: flex; justify-content: center; gap: 8px; }
.sj-track .tick { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.3s, border-color 0.3s; }
.sj-track .tick.on { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

/* --- H3: como a luz vira economia (diagrama) --- */
.sec-mecanismo { position: relative; overflow: hidden; }
.mec-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mec-layout > * { min-width: 0; }
.mec-diagram { position: relative; }
.mec-diagram svg { width: 100%; height: auto; }
.mec-diagram .flow-dot {
    fill: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent-glow));
}
.mec-steps { display: flex; flex-direction: column; gap: 0; }
.mec-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.mec-step:last-child { border-bottom: 1px solid var(--line); }
.mec-step .ms-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.2em; padding-top: 4px; }
.mec-step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.mec-step p { color: var(--muted); font-size: 14px; max-width: 44ch; }

/* --- H4: soluções (mosaico assimétrico) --- */
.sec-solucoes { position: relative; overflow: hidden; }
.solucoes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.solucoes-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.sol-item { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: border-color 0.35s, transform 0.35s var(--ease); background: var(--bg-card); }
.sol-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.sol-item.is-featured { background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card)); min-height: 380px; }
.sol-item .si-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sol-item .si-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; color: var(--accent); text-transform: uppercase; }
.sol-item .si-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.sol-item h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.05; margin: 16px 0 10px; }
.sol-item p { color: var(--muted); font-size: 14px; }
.sol-item .si-go { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.sol-item .si-go .btn-arr { transition: transform 0.35s var(--ease); }
.sol-item:hover .si-go .btn-arr { transform: translateX(5px); }
.sol-item .si-glow { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 70%); pointer-events: none; }
.sol-item:nth-child(2) { margin-top: 40px; }
.sol-item:nth-child(3) { margin-top: 12px; }

/* --- H5: números que sustentam --- */
.sec-numeros { position: relative; overflow: hidden; background: var(--bg-deep); }
.num-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.num-cell { padding: clamp(36px, 5vw, 60px) clamp(20px, 3vw, 44px); border-right: 1px solid var(--line); position: relative; }
.num-cell:first-child { border-left: 1px solid var(--line); }
.num-cell .nc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.num-cell .nc-tag { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; }
.num-cell::after { content: ''; position: absolute; top: 0; left: 0; width: 26px; height: 2px; background: var(--accent); }

/* --- H6: 3 passos --- */
.sec-passos { position: relative; }
.passos-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: clamp(36px, 5vw, 60px); position: relative; }
.passos-grid::before { content: ''; position: absolute; top: 26px; left: 4%; right: 4%; height: 1px; background: var(--line-strong); }
.passo { position: relative; padding: 0 clamp(20px, 3vw, 40px); }
.passo .ps-dot {
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--accent);
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 13px; color: var(--accent);
    background: var(--bg);
    position: relative; z-index: 2;
    box-shadow: 0 0 0 6px var(--bg), 0 0 22px var(--accent-glow);
    margin-bottom: 20px;
}
body.theme-paper .passo .ps-dot { background: var(--bg-paper); box-shadow: 0 0 0 6px var(--bg-paper), 0 0 22px var(--accent-glow); }
.passo h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.passo p { color: var(--muted); font-size: 14px; }

/* --- H7: case / depoimento --- */
.sec-case { position: relative; overflow: hidden; }
.case-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.case-layout > * { min-width: 0; }
.case-photo { position: relative; }
.case-photo img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-lg); filter: sepia(0.35) saturate(1.5) hue-rotate(-14deg) contrast(1.05); box-shadow: var(--shadow); }
.case-photo::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); }
.case-photo .case-tag {
    position: absolute; top: -13px; left: 24px;
    background: var(--accent); color: var(--accent-contrast);
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
    padding: 5px 12px; border-radius: var(--radius);
}
.case-quote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; font-weight: 400; }
.case-quote strong { color: var(--accent-ink); font-weight: 600; }
.case-who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.case-who .cw-avatar { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; background: var(--bg-card); }
.case-who .cw-name { font-weight: 600; font-size: 14.5px; }
.case-who .cw-role { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.06em; }
.case-metrics { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 30px; flex-wrap: wrap; }
.case-metrics .cm { display: flex; flex-direction: column; }
.case-metrics .num { font-size: clamp(26px, 3vw, 40px); }

/* --- FAQ --- */
.sec-faq { position: relative; }
.faq-inner { max-width: 840px; margin: 0 auto; }
.faq { margin-top: clamp(30px, 4vw, 48px); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden; background: var(--bg-card); transition: border-color 0.3s; }
body.theme-paper .faq-item { background: var(--bg-paper-card); }
.faq-item.active { border-color: var(--accent); }
.faq-question {
    width: 100%; padding: 18px 22px; text-align: left;
    font-size: 15px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-question::after { content: '+'; font-family: var(--font-mono); font-size: 18px; color: var(--accent); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer p { padding: 0 22px 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* --- CTA final --- */
.sec-cta { position: relative; overflow: hidden; text-align: center; }
.sec-cta::before {
    content: ''; position: absolute; left: 50%; bottom: -30%; transform: translateX(-50%);
    width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 62%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 820px; margin: 0 auto; }
.cta-inner .h-xl { max-width: 14ch; }
.cta-inner .lede { max-width: 52ch; }

/* ============================================================
   SEÇÕES SOBRE
   ============================================================ */
/* manifesto + vazio intencional */
.sec-manifesto { position: relative; padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; }
.manifesto { width: 100%; max-width: min(40vw, 820px); margin-left: auto; text-align: right; }
.manifesto .h-xl { font-size: clamp(36px, 5.6vw, 84px); }
.manifesto p { color: var(--muted); margin-top: 24px; max-width: 46ch; margin-left: auto; font-size: clamp(16px, 1.5vw, 20px); }
@media (max-width: 900px) { .manifesto { max-width: 100%; } }

/* jornada (timeline vertical) */
.jornada { position: relative; margin-top: clamp(30px, 4vw, 50px); padding-left: 40px; }
.jornada::before { content: ''; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.jn-item { position: relative; padding: 22px 0 22px 28px; }
.jn-item::before {
    content: ''; position: absolute; left: -37px; top: 30px;
    width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid var(--accent); background: var(--bg);
    box-shadow: 0 0 0 5px var(--bg), 0 0 16px var(--accent-glow);
}
.jn-item .jn-year { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.2em; }
.jn-item h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 6px 0 6px; }
.jn-item p { color: var(--muted); font-size: 14.5px; max-width: 62ch; }

/* princípios assimétricos */
.principios { margin-top: clamp(30px, 4vw, 50px); }
.pr-item { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 24px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); }
.pr-item:last-child { border-bottom: 1px solid var(--line); }
.pr-item .pr-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.16em; padding-top: 6px; }
.pr-item h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.pr-item p { color: var(--muted); font-size: 14.5px; }

/* equipe */
.equipe-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.equipe-layout > * { min-width: 0; }
.equipe-photo img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-lg); filter: sepia(0.3) saturate(1.4) hue-rotate(-14deg) contrast(1.05); }
.equipe-list { display: flex; flex-direction: column; margin-top: 24px; }
.equipe-list .eq { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.equipe-list .eq:last-child { border-bottom: 1px solid var(--line); }
.equipe-list .eq .eq-role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; width: 150px; flex-shrink: 0; }
.equipe-list .eq .eq-name { font-weight: 600; }

/* ============================================================
   SEÇÕES PAPER (soluções — meio-dia)
   ============================================================ */
.paper-strip {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-paper-card);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow);
}
.paper-strip .ps-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.paper-strip .ps-top b { color: var(--accent-ink); font-weight: 500; }
.paper-strip .ps-body { margin-top: 20px; }

/* dor residencial: "vazamento" */
.sec-vazamento { position: relative; overflow: hidden; }
.vaz-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.vaz-layout > * { min-width: 0; }
.vaz-meter { position: relative; padding: 20px 0; }
.vaz-meter .vm-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.vaz-track { height: 46px; border: 1px solid var(--line-paper-strong); border-radius: var(--radius); overflow: hidden; background: rgba(33,28,17,0.04); position: relative; }
.vaz-fill { height: 100%; width: 78%; background: linear-gradient(90deg, #FFC24D, var(--accent)); }
.vaz-drain { position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: #211C11; animation: drain 2.2s ease-in-out infinite; }
@keyframes drain { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.vaz-nums { display: flex; gap: 30px; margin-top: 18px; }
.vaz-nums .vn { display: flex; flex-direction: column; }
.vaz-nums .vn .num { font-size: 26px; }
.vaz-nums .vn span { font-size: 12px; color: var(--muted); }

/* passos da instalação — timeline horizontal (quebra de scroll) */
.sec-instalacao { position: relative; overflow: hidden; background: var(--bg); }
.inst-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: clamp(30px, 5vw, 60px) 0 20px;
    scrollbar-width: thin;
}
.inst-track::-webkit-scrollbar { height: 6px; }
.inst-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.inst-step { scroll-snap-align: start; position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.inst-step .is-num { font-family: var(--font-mono); font-size: 64px; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--line-strong); line-height: 1; position: absolute; top: 22px; left: 22px; }
.inst-step .is-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; color: var(--accent); text-transform: uppercase; }
.inst-step h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 10px 0 8px; }
.inst-step p { color: var(--muted); font-size: 14px; }
.inst-hint { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; color: var(--muted); text-transform: uppercase; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.inst-hint .h-arr { animation: h-shift 1.6s ease-in-out infinite; color: var(--accent); }
@keyframes h-shift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* variante "amanhecer" da linha do tempo de instalação (interlúdio de noite na página de papel) */
.sec-instalacao.is-dark { background: #15110A; }
.sec-instalacao.is-dark .h-xl, .sec-instalacao.is-dark .kicker, .sec-instalacao.is-dark .solar-time { color: #F4EFE3; }
.sec-instalacao.is-dark .h-xl strong { color: #FFB300; }
.sec-instalacao.is-dark .solar-time { color: #FFB300; }
.sec-instalacao.is-dark .inst-step { background: #1E1912; border-color: rgba(244,239,227,0.14); }
.sec-instalacao.is-dark .inst-step p, .sec-instalacao.is-dark .inst-hint { color: #C8C1B0; }
.sec-instalacao.is-dark .inst-step .is-num { -webkit-text-stroke-color: rgba(244,239,227,0.2); }
.sec-instalacao.is-dark .inst-hint { color: #C8C1B0; }

/* retorno — gráfico de payback */
.sec-retorno { position: relative; }
.payback { margin-top: clamp(28px, 4vw, 46px); }
.payback svg { width: 100%; height: auto; }
.payback-legend { display: flex; gap: 26px; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.payback-legend .lg { display: flex; align-items: center; gap: 8px; }
.payback-legend .lg span { width: 14px; height: 3px; display: inline-block; }
.lg-sem { background: var(--accent); }
.lg-com { background: var(--text); }
.payback-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 60ch; }

/* diferenciais com selo */
.dif-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dif-layout > * { min-width: 0; }
.stamp {
    width: 240px; height: 240px; margin: 0 auto;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center;
    position: relative;
    transform: rotate(-8deg);
    box-shadow: inset 0 0 0 7px var(--bg), inset 0 0 0 8px rgba(255,179,0,0.35), 0 0 40px var(--accent-glow);
}
.stamp .st-inner { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; color: var(--accent-ink); text-transform: uppercase; line-height: 1.7; }
.stamp .st-big { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--accent-ink); line-height: 1; }
.stamp .st-curve { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.dif-list { display: flex; flex-direction: column; }
.dif-list .df { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.dif-list .df:last-child { border-bottom: 1px solid var(--line); }
.dif-list .df .df-ic { font-family: var(--font-mono); font-size: 15px; color: var(--accent); padding-top: 2px; }
.dif-list .df h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.dif-list .df p { color: var(--muted); font-size: 14px; }

/* benefícios assimétricos (empresarial) */
.benf-rows { display: flex; flex-direction: column; margin-top: clamp(28px, 4vw, 46px); }
.benf-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); position: relative; }
.benf-row:last-child { border-bottom: 1px solid var(--line); }
.benf-row .br-num { font-family: var(--font-mono); font-size: 44px; color: var(--accent-ink); line-height: 1; grid-column: 1 / -1; }
.benf-row:nth-child(even) { grid-template-columns: 1fr 1.4fr; }
.benf-row:nth-child(even) .br-num { order: 3; }
.benf-row .br-body h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.benf-row .br-body p { color: var(--muted); font-size: 15px; }
.benf-row .br-side { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent-ink); text-transform: uppercase; }

/* seção curva (empresarial) — pinada, interlúdio de noite */
.sec-curva { position: relative; overflow: hidden; background: #15110A; }
.curva-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 6vw, 90px) 0; }
.curva-pin .h-xl { color: #F4EFE3; }
.curva-pin .h-xl strong { color: #FFB300; }
.curva-pin .solar-time { color: #FFB300; }
.curva-pin .kicker, .curva-pin .lede { color: #C8C1B0; }
.curva-pin .lede strong { color: #F4EFE3; }
.curva-chart { margin-top: clamp(30px, 4vw, 50px); }
.curva-chart svg { width: 100%; height: auto; }
.curva-legend { display: flex; gap: 26px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: #C8C1B0; text-transform: uppercase; flex-wrap: wrap; }
.curva-legend .lg { display: flex; align-items: center; gap: 8px; }
.curva-legend .lg span { width: 16px; height: 3px; display: inline-block; }
.cv-antes { background: #6B6457; }
.cv-depois { background: #FFB300; }
.curva-metrics { display: flex; gap: clamp(24px, 5vw, 60px); margin-top: 26px; flex-wrap: wrap; }
.curva-metrics .num { font-size: clamp(28px, 3.6vw, 48px); color: #FFB300; }
.curva-metrics .cm-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: #C8C1B0; text-transform: uppercase; margin-top: 6px; }

/* KPIs empresariais */
.emp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(30px, 4vw, 48px); }
.kpi { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); background: var(--bg-paper-card); position: relative; overflow: hidden; }
.kpi .kpi-num { font-family: var(--font-mono); font-size: clamp(30px, 3.6vw, 52px); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.kpi .kpi-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; margin-top: 10px; }
.kpi::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

/* casos numerados (empresarial) */.casos { display: flex; flex-direction: column; margin-top: clamp(28px, 4vw, 46px); }
.caso { display: grid; grid-template-columns: 120px 1fr 220px; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.caso:last-child { border-bottom: 1px solid var(--line); }
.caso .ca-num { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--line-paper-strong); }
.caso .ca-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.caso .ca-body p { color: var(--muted); font-size: 14px; }
.caso .ca-metric { font-family: var(--font-mono); font-size: 22px; color: var(--accent-ink); text-align: right; }
.caso .ca-metric span { display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* ============================================================
   SEÇÕES MONITORAMENTO (noite)
   ============================================================ */
/* feed de eventos — faixa contínua (quebra de scroll) */
.sec-feed { position: relative; overflow: hidden; background: var(--bg-deep); padding: clamp(70px, 9vw, 120px) 0; }
.feed-strip {
    display: flex; gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px;
    scrollbar-width: thin;
}
.feed-strip::-webkit-scrollbar { height: 6px; }
.feed-strip::-webkit-scrollbar-thumb { background: var(--accent); }
.feed-item { scroll-snap-align: start; flex: 0 0 300px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--bg-card); position: relative; overflow: hidden; }
.feed-item .fi-time { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.16em; }
.feed-item .fi-msg { font-size: 14px; color: var(--text); margin: 10px 0; line-height: 1.55; }
.feed-item .fi-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.feed-item .fi-status { color: var(--accent); }
.feed-item .fi-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }

/* garantia de desempenho — "99%" */
.garantia { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.garantia > * { min-width: 0; }
.gar-big { position: relative; }
.gar-big .num-xl { font-size: clamp(90px, 16vw, 200px); color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.gar-big .gar-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.gar-bars { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.gar-bar .gb-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.gar-bar .gb-track { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.gar-bar .gb-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #FFC24D); border-radius: 4px; }

/* planos */
.planos-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; align-items: stretch; margin-top: clamp(30px, 4vw, 46px); }
.plano { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; background: var(--bg-card); }
.plano.is-main { background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card)); border-color: var(--accent); box-shadow: 0 0 50px var(--accent-glow); transform: scale(1.03); }
.plano .pl-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; color: var(--accent); text-transform: uppercase; }
.plano h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.plano .pl-price { display: flex; align-items: baseline; gap: 6px; }
.plano .pl-price .num { font-size: 30px; }
.plano .pl-price span { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.plano ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.plano ul li { font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.plano ul li::before { content: '◆'; color: var(--accent); font-size: 9px; margin-top: 5px; }
.plano .btn { margin-top: 8px; }

/* ============================================================
   SEÇÕES CONTATO
   ============================================================ */
/* canais como mostrador de horas */
.sec-canais { position: relative; overflow: hidden; }
.canais-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(30px, 4vw, 48px); }
.canal { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--bg-card); position: relative; transition: border-color 0.3s, transform 0.3s var(--ease); overflow: hidden; }
.canal:hover { border-color: var(--accent); transform: translateY(-3px); }
.canal .cn-hour { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.18em; }
.canal .cn-ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-size: 20px; color: var(--accent); flex-shrink: 0; box-shadow: 0 0 20px var(--accent-glow); }
.canal .cn-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.canal .cn-body p, .canal .cn-body a { color: var(--muted); font-size: 14.5px; }
.canal .cn-body a:hover { color: var(--accent-ink); }
.canal .cn-cta { position: absolute; right: 20px; color: var(--accent); font-size: 18px; }

/* relógio de atendimento — faixa full-bleed (quebra) */
.sec-relogio { position: relative; overflow: hidden; background: var(--bg-deep); padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.relogio-arc { position: relative; max-width: 760px; margin: 0 auto; }
.relogio-arc svg { width: 100%; height: auto; }
.relogio-hours { display: flex; justify-content: space-between; max-width: 760px; margin: 26px auto 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* mapa SVG */
.sec-mapa { position: relative; }
.mapa-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.mapa-wrap > * { min-width: 0; }
.mapa-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); }
.mapa-card svg { width: 100%; display: block; }
.mapa-info { display: flex; flex-direction: column; gap: 16px; }
.mapa-info .mi { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.mapa-info .mi:last-child { border-bottom: 1px solid var(--line); }
.mapa-info .mi span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; padding-top: 4px; }
.mapa-info .mi p { font-size: 15px; color: var(--text); }

/* ============================================================
   RODAPÉ-COLOPHON (fecha o ciclo — sempre noite 22:00)
   ============================================================ */
.footer {
    position: relative;
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: clamp(70px, 9vw, 110px) 0 0;
    overflow: hidden;
}
.footer .pv-grid { opacity: 0.3; }
.footer-top { display: grid; grid-template-columns: 1.35fr 1.4fr; gap: clamp(36px, 6vw, 84px); padding-bottom: clamp(50px, 6vw, 80px); position: relative; z-index: 2; align-items: start; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); min-width: 0; }
.footer-col { min-width: 0; }
.footer-col a { overflow-wrap: break-word; }
.footer-mono { overflow-wrap: anywhere; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .fb-logo { width: 200px; height: 52px; object-fit: contain; }
.footer-brand .fb-slogan { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); line-height: 1.05; font-weight: 500; max-width: 14ch; }
.footer-brand .fb-slogan strong { color: var(--accent); font-weight: 700; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: color 0.3s, transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--text); transform: translateX(4px); }
.footer-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); line-height: 2; }
.footer-mono b { color: var(--accent); font-weight: 500; }
/* marca d'água tipográfica gigante */
.footer-watermark {
    position: relative; z-index: 1;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(80px, 18vw, 280px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 239, 227, 0.08);
    user-select: none;
    pointer-events: none;
    transform: translateY(18%);
}
.footer-watermark span { color: rgba(255, 179, 0, 0.06); -webkit-text-stroke: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 28px; position: relative; z-index: 3; background: var(--bg-deep); }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 12.5px; color: var(--muted); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted);
    transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-top-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent);
}
.footer-top-link .btn-arr { transition: transform 0.35s var(--ease); }
.footer-top-link:hover .btn-arr { transform: translateY(-4px); }

/* ============================================================
   BOT FLUTUANTE (abre modal DIRETO)
   ============================================================ */
.floating-bot-container { position: fixed; bottom: 24px; right: 24px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floating-bot {
    position: relative; width: 62px; height: 62px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    border: 2px solid var(--accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 0 var(--accent-glow), 0 14px 34px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transform: scale(0.5);
    transition: opacity 0.35s, transform 0.35s var(--ease), box-shadow 0.3s;
}
.floating-bot.visible { opacity: 1; visibility: visible; transform: scale(1); animation: fb-glow 2.6s ease-in-out infinite; }
@keyframes fb-glow {
    0%,100% { box-shadow: 0 0 0 0 var(--accent-glow), 0 14px 34px rgba(0,0,0,0.45); }
    50% { box-shadow: 0 0 0 12px rgba(255,179,0,0), 0 14px 34px rgba(0,0,0,0.45); }
}
.floating-bot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.floating-pulse { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: floating-ping 2s infinite; }
@keyframes floating-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.35); opacity: 0; } }
.floating-dot { position: absolute; bottom: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

/* ============================================================
   MODAL DE CHAT (entra pela DIREITA, full-height)
   ============================================================ */
.chat-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.72); opacity: 0; visibility: hidden; transition: opacity 0.35s; z-index: 1200; }
.chat-modal-overlay.active { opacity: 1; visibility: visible; }
.chat-modal {
    position: fixed; right: 0; top: 0; bottom: 0; width: min(430px, 100vw);
    background: var(--bg-card); border-left: 1px solid var(--line-strong);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 1201; display: flex; flex-direction: column;
    box-shadow: -30px 0 80px rgba(0,0,0,0.5);
}
.chat-modal.active { transform: translateX(0); }
.chat-modal-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--bg-card-2); }
.modal-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.modal-info { flex: 1; min-width: 0; }
.modal-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.modal-role { font-size: 11px; color: var(--muted); }
.modal-status { font-size: 11px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chat-modal-close { color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; transition: color 0.3s; }
.chat-modal-close:hover { color: var(--accent); }
.chat-modal-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.chat-modal-footer { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--bg-card-2); }
.chat-modal-footer input { flex: 1; padding: 12px 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); outline: none; font-family: inherit; font-size: 14px; }
.chat-modal-footer input:focus { border-color: var(--accent); }
.send-btn { width: 46px; border-radius: var(--radius); border: none; background: var(--accent); color: var(--accent-contrast); font-size: 16px; transition: background 0.3s; }
.send-btn:hover { background: #FFC24D; }
.typing-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing-bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============================================================
   PÁGINAS LEGAIS
   ============================================================ */
.legal { max-width: 780px; margin: 0 auto; padding: 0 0 80px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 34px 0 12px; }
.legal p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; line-height: 1.75; }
.legal ul { color: var(--muted); font-size: 14.5px; margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; }
.legal .legal-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; margin-bottom: 24px; }
.legal-band { padding: clamp(50px, 7vw, 90px) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.legal-band .h-lg { max-width: 18ch; margin: 0 auto 18px; }
.sec-faixa-amber {
    padding: clamp(44px, 6vw, 80px) 0; text-align: center;
    background: var(--accent); color: var(--accent-contrast);
}
.sec-faixa-amber .h-lg { color: var(--accent-contrast); }
.sec-faixa-amber .h-lg strong { color: var(--accent-contrast); }

/* ============================================================
   FAIXA DE FOTO FULL-BLEED (imagens reais tratadas — dispositivo)
   ============================================================ */
.band { position: relative; height: clamp(380px, 58vh, 560px); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; filter: sepia(0.35) saturate(1.5) hue-rotate(-14deg) contrast(1.05); }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,17,10,0.62), rgba(21,17,10,0.12) 45%, rgba(21,17,10,0.72)); }
.band .band-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; }
.band .band-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #F4EFE3; border-left: 2px solid var(--accent); padding-left: 16px; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-line > * { display: block; transform: translateY(118%); clip-path: inset(0 0 0 0); transition: transform 0.9s var(--ease); }
.reveal-line.visible > * { transform: none; }
.reveal-line.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-line.visible > *:nth-child(2) { transition-delay: 0.16s; }
.reveal-line.visible > *:nth-child(3) { transition-delay: 0.27s; }
.reveal-line.visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.27s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.49s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-line > *, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVO
   ⚠️ INVARIANTE: uma coluna no mobile abaixo de 900px (todas as páginas)
   ============================================================ */
@media (max-width: 1200px) {
    .solucoes-grid { grid-template-columns: 1fr 1fr; }
    .sol-item:nth-child(3) { grid-column: 1 / -1; margin-top: 0; }
    .planos-grid { grid-template-columns: 1fr; }
    .plano.is-main { transform: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .navbar-links { display: none; }
    .navbar-cta { display: none; }
    .hamburger { display: flex; }
    /* navbar mobile = pill flutuante (padrão travado) */
    .navbar-wrapper {
        top: 10px; left: 10px; right: 10px;
        border-radius: 999px;
        border: 1px solid var(--line-strong);
        background: rgba(21, 17, 10, 0.82);
        box-shadow: 0 10px 34px rgba(0,0,0,0.35);
    }
    .navbar-wrapper.hidden { transform: translateY(-160%); }
    body.theme-paper .navbar-wrapper { background: rgba(245, 240, 227, 0.88); }
    .navbar { padding: 8px 16px; border-radius: 999px; }
    .brand-logo { width: 120px; height: 32px; }
    .hero-layout, .hero-inner .hero-layout { grid-template-columns: 1fr; gap: 44px; }
    .hero-inner .hero-layout { grid-template-columns: 1fr; }
    .hero-chat-box { margin-left: 0; }
    .dor-layout, .mec-layout, .case-layout, .equipe-layout, .vaz-layout, .dif-layout, .garantia, .mapa-wrap { grid-template-columns: 1fr; }
    .solucoes-grid { grid-template-columns: 1fr; }
    .sol-item:nth-child(2), .sol-item:nth-child(3) { margin-top: 0; }
    .num-strip { grid-template-columns: 1fr 1fr; }
    .num-cell:nth-child(3) { border-left: 1px solid var(--line); }
    .num-cell:nth-child(2n) { border-right: 1px solid var(--line); }
    .passos-grid { grid-template-columns: 1fr; gap: 36px; }
    .passos-grid::before { display: none; }
    .pr-item { grid-template-columns: 1fr; gap: 10px; }
    .benf-row, .benf-row:nth-child(even) { grid-template-columns: 1fr; }
    .benf-row .br-num { grid-column: auto; }
    .caso { grid-template-columns: 1fr; gap: 10px; }
    .caso .ca-metric { text-align: left; }
    .canais-grid { grid-template-columns: 1fr; }
    .emp-kpis { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .sj-content { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sj-read { text-align: left; }
    .case-photo img { height: 420px; }
    .equipe-photo img { height: 420px; }
    .stamp { width: 200px; height: 200px; }
    .footer-bottom .wrap { justify-content: center; text-align: center; }
    .hero-figure::before { inset: -6%; }
}

@media (max-width: 560px) {
    .num-strip { grid-template-columns: 1fr; }
    .num-cell, .num-cell:nth-child(2n), .num-cell:nth-child(3) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
    .bill-bars { height: 90px; }
    .mec-step { grid-template-columns: 1fr; gap: 8px; }
    .hero { padding-top: 110px; }
    .footer-cols { grid-template-columns: 1fr; gap: 26px; }
    .footer-top { gap: 40px; }
    .footer-col a { overflow-wrap: break-word; }
}

/* ============ TELA DE LOADING ============ */
.loader {
    position: fixed; inset: 0; z-index: 2000;
    background: radial-gradient(ellipse at 50% 38%, var(--bg-card) 0%, var(--bg) 72%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.loader-seal { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-strong); padding: 16px; animation: loader-breathe 2.4s var(--ease) infinite; }
.loader-seal img { width: 100%; height: 100%; object-fit: contain; }
.loader-mark { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0.16em; color: var(--text); line-height: 1.15; }
.loader-mark small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.loader-track { width: 190px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.loader-pct { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--accent); }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.85; } }

/* ============ BARRA DE COOKIES / LGPD ============ */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 1400;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 20px 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(130%); opacity: 0; visibility: hidden;
    transition: transform 0.55s var(--ease), opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-bar.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-texto { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cookie-acoes { display: flex; gap: 10px; }
.cookie-btn {
    padding: 10px 16px; font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    transition: var(--transition); border-radius: var(--radius);
}
.cookie-btn--accept { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.cookie-btn--accept:hover { background: #FFC24A; }
.cookie-btn--essential:hover { border-color: var(--accent); color: var(--text); }
@media (max-width: 640px) {
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============ PAINEL COMPLEMENTAR (desktop — abre junto com a modal de chat) ============ */
.chat-panel {
    position: fixed; top: 0; bottom: 0; left: 0; right: 430px; z-index: 1300;
    background:
        radial-gradient(ellipse at 82% 40%, rgba(255, 179, 0, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 18% 92%, rgba(244, 239, 227, 0.04) 0%, transparent 50%),
        var(--bg-card);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease);
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
}
.chat-panel.active { transform: translateX(0); }
.chat-panel-close {
    position: absolute; top: 18px; right: 18px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted); font-size: 14px;
    transition: var(--transition); z-index: 3;
}
.chat-panel-close:hover { color: var(--accent); border-color: var(--accent); }
.chat-panel-inner {
    padding: clamp(32px, 5.5vh, 56px) clamp(36px, 4.5vw, 64px);
    display: flex; flex-direction: column; flex: 1;
}
.chat-panel-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center; flex: 1;
}
.chat-panel-copy { min-width: 0; }
.chat-panel-figure { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chat-panel-figure::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: min(30vw, 420px); aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.09) 0%, transparent 62%);
    pointer-events: none;
}
.panel-selo { width: 100%; max-width: 260px; position: relative; z-index: 1; filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.45)); }
.panel-selo img { width: 100%; height: auto; }
.panel-selo-caption { position: relative; z-index: 1; margin-top: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.chat-panel-kicker {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.chat-panel-kicker::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.chat-panel-title {
    font-family: var(--font-display); font-size: clamp(30px, 3vw, 46px);
    font-weight: 600; line-height: 1.14; color: var(--text);
    margin-bottom: 16px; max-width: 17ch;
}
.chat-panel-lead { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 30px; max-width: 40ch; }
.chat-panel-steps { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.chat-panel-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.cps-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); padding-top: 4px; }
.cps-body { min-width: 0; }
.cps-body h4 { font-size: 15.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cps-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.chat-panel-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.chat-panel-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.chat-panel-foot-info { min-width: 0; }
.chat-panel-who { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); }
.chat-panel-role { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.chat-panel-lgpd { margin-top: 18px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); opacity: 0.75; }
@media (max-width: 1024px) { .chat-panel { display: none; } }
