/* Deepzo · landing cinematográfica */
:root {
    --bg: #010100;
    --bg-2: #1A1A1A;
    --bg-3: #2A2A2A;
    --orange: #FF5722;
    --orange-dark: #E64A19;
    --orange-light: #FF7043;
    --text: #FFFFFF;
    --text-2: #B0B0B0;
    --text-3: #808080;
    --whats: rgb(37, 211, 102);
    --line: rgba(255, 255, 255, 0.12);
    --radius: 14px;
    --gutter: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.accent { color: var(--orange); }

/* ===== Palco ===== */
.cine { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.cine canvas { width: 100%; height: 100%; }
.cine-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to left, rgba(1, 1, 0, 0.88) 0%, rgba(1, 1, 0, 0.55) 40%, rgba(1, 1, 0, 0) 66%),
        linear-gradient(to top, rgba(1, 1, 0, 0.6) 0%, rgba(1, 1, 0, 0) 30%);
}
.cine-dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; }

main, .footer { position: relative; z-index: 1; }

/* ===== Navegação ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px var(--gutter);
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.is-solid {
    background: rgba(1, 1, 0, 0.72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding-top: 12px; padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.nav-brand img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav-menu a {
    font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
    transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--text); }
.nav-menu .nav-cta {
    color: var(--text); background: var(--orange); padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-menu .nav-cta:hover { background: var(--orange-light); }
.nav-toggle { display: none; }

/* ===== Botões ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
    font: 600 16px/1 'Inter', sans-serif; text-decoration: none; cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .nav a:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--orange-light); outline-offset: 3px;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; box-shadow: 0 10px 30px rgba(255, 87, 34, 0.28); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(255, 87, 34, 0.4); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-whats { background: var(--whats); color: #062b14; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25); }
.btn-block { width: 100%; }

/* ===== Cenas com canvas ===== */
.scene { position: relative; height: 230vh; }
.scene-final { height: 260vh; }
.scene-copy {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 96px var(--gutter) 64px;
}
.copy { width: min(560px, 46vw); }
.copy-hero { width: min(640px, 50vw); }
/* Nas cenas dos 3 E's a raposa às vezes ocupa a direita: painel garante leitura. */
.scene .copy:not(.copy-hero) {
    padding: clamp(24px, 3vw, 40px);
    border-radius: 20px;
    background: rgba(1, 1, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.display {
    margin: 0 0 20px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
    font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02;
}
.lead { margin: 0 0 32px; font-size: clamp(15px, 1.3vw, 19px); font-weight: 600; letter-spacing: 0.08em; color: var(--text-2); }
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.step { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: var(--text-3); margin-bottom: 10px; }
.title { margin: 0 0 18px; font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.body { margin: 0 0 24px; color: var(--text-2); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; }
.quote { margin: 0 0 32px; color: var(--text-2); font-size: clamp(16px, 1.3vw, 20px); font-style: italic; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-hint {
    position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px;
}
.scroll-hint span {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px; background: #fff; animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Blocos de conteúdo ===== */
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding: clamp(96px, 14vh, 160px) 0; }
.kicker { margin: 0 0 12px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.sub { margin: 0 0 56px; color: var(--text-2); font-size: 18px; }

.manifesto { margin: 28px 0 0; font-weight: 800; font-size: clamp(24px, 3.4vw, 50px); line-height: 1.18; letter-spacing: -0.01em; }
.manifesto .line { display: block; }

.partners { margin-top: clamp(64px, 10vh, 110px); padding-top: 36px; border-top: 1px solid var(--line); }
.partners-title { margin: 0 0 26px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 56px); }
.partners-row img { height: 64px; width: auto; object-fit: contain; }

.block-ia { padding-left: var(--gutter); padding-right: var(--gutter); }
.ia-card {
    position: relative; overflow: hidden; width: min(1180px, 100%); margin: 0 auto;
    border-radius: 24px; border: 1px solid var(--line); min-height: 520px;
    display: flex; align-items: flex-end; background: var(--bg-2);
}
.ia-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ia-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1, 1, 0, 0.92) 10%, rgba(1, 1, 0, 0.2) 70%); }
.ia-copy { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 720px; }

.diag {
    display: grid; gap: 8px; justify-items: start;
    padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.block-diag { padding-top: 0; }
.diag .body { max-width: 56ch; }

.case {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
    padding: clamp(36px, 6vh, 64px) 0; border-top: 1px solid var(--line);
}
.case-flip .case-media { order: 2; }
.case-media { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; }
.case-media video { width: 100%; height: 100%; object-fit: cover; }
.case-name { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; }
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.stats li { display: grid; gap: 2px; }
.stats strong { font-size: clamp(34px, 3.6vw, 52px); font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.stats span { color: var(--text-2); font-size: 15px; }

/* Conteúdo sobre o canvas escurecido */
.content { position: relative; }

/* ===== Formulário ===== */
.form-block { position: relative; padding: clamp(80px, 12vh, 140px) 0; background: linear-gradient(to bottom, rgba(1, 1, 0, 0), var(--bg) 22%); }
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-form { display: grid; gap: 12px; }
.form-control {
    width: 100%; padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04); color: #fff; font: 400 16px/1.4 'Inter', sans-serif;
    transition: border-color 0.2s, background 0.2s;
}
.form-control::placeholder { color: var(--text-3); }
.form-control:hover { border-color: rgba(255, 255, 255, 0.24); }
.form-control:focus { border-color: var(--orange); background: rgba(255, 255, 255, 0.07); outline: none; }
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 8px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.alert-success { background: rgba(76, 175, 80, 0.15); color: #a5d6a7; }
.alert-danger { background: rgba(244, 67, 54, 0.15); color: #ef9a9a; }

/* ===== Rodapé ===== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand p { margin: 12px 0 0; color: var(--text-3); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); text-decoration: none; font-size: 14px;
    transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover, .footer-social a:focus-visible { color: #fff; border-color: var(--orange); }
.partners-row-sm { margin-top: 40px; justify-content: center; }
.partners-row-sm img { height: 48px; opacity: 0.8; }
.footer-bottom { margin: 32px 0 0; text-align: center; color: var(--text-3); font-size: 13px; }

/* ===== Notificação do formulário ===== */
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.notification-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-close { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }

/* ===== Página Deestrava ===== */
.nav-menu a.is-current { color: var(--text); }
.wrap-narrow { width: min(860px, 100%); }

.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat-grid li { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.4vw, 32px); background: rgba(1, 1, 0, 0.72); }
.stat-grid strong { font-size: clamp(32px, 3.4vw, 50px); font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.stat-grid span { color: var(--text-2); font-size: 14px; line-height: 1.45; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px);
    border-radius: 22px; border: 1px solid var(--line); background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.plan-featured { border-color: rgba(255, 87, 34, 0.55); box-shadow: 0 20px 60px rgba(255, 87, 34, 0.12); }
.plan-logo { background: #fff; border-radius: 12px; padding: 14px 18px; }
.plan-logo img { height: 40px; width: auto; }
.plan-for { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--orange); }
.plan-tagline { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.plan-desc { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.plan-list-t { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.plan-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan-list li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.plan-note { margin: 0; font-size: 14px; color: var(--text); font-weight: 600; }
.plan-quote { margin: auto 0 0; padding-top: 10px; color: var(--text-3); font-style: italic; font-size: 15px; }

.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.phases li { padding-top: 22px; border-top: 2px solid var(--orange); }
.phase-n { display: block; font-size: 44px; font-weight: 900; line-height: 1; color: var(--orange); margin-bottom: 14px; }
.phases h3, .benefit h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.phases p, .benefit p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: rgba(26, 26, 26, 0.6); }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(26, 26, 26, 0.6); transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(255, 87, 34, 0.45); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
    font-weight: 700; font-size: 17px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 400; color: var(--orange); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 2px; border-radius: 16px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--text-2); font-size: 15px; line-height: 1.65; }

.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.4; }
.form-title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 6px; }
select.form-control {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #B0B0B0 50%), linear-gradient(135deg, #B0B0B0 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
select.form-control option { background: var(--bg-2); color: #fff; }

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 640px; }
    .phases { grid-template-columns: repeat(2, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Tablet / celular ===== */
@media (max-width: 960px) {
    .nav-toggle {
        display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
        background: none; border: 0; cursor: pointer; padding: 0;
    }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease); }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .nav-menu {
        position: fixed; top: 0; left: 0; right: 0; z-index: -1;
        flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 84px var(--gutter) 28px; background: rgba(1, 1, 0, 0.96);
        border-bottom: 1px solid var(--line);
        transform: translateY(-100%); visibility: hidden;
        transition: transform 0.4s var(--ease), visibility 0.4s;
    }
    .nav-menu.is-open { transform: none; visibility: visible; }
    .nav-menu a { font-size: 18px; padding: 10px 0; color: #fff; }
    .nav-menu .nav-cta { margin-top: 10px; padding: 12px 22px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .cine-shade { background: linear-gradient(to top, rgba(1, 1, 0, 0.92) 0%, rgba(1, 1, 0, 0.6) 42%, rgba(1, 1, 0, 0) 68%); }
    .scene { height: 170vh; }
    .scene-final { height: 190vh; }
    .scene-copy { align-items: flex-end; justify-content: flex-start; padding: 88px 16px 20px; }
    .copy, .copy-hero { width: 100%; }
    .scene .copy:not(.copy-hero) { padding: 20px 20px 22px; }
    .scene .copy .body { font-size: 15px; line-height: 1.55; margin-bottom: 0; }
    .copy-cta .display { font-size: clamp(28px, 8vw, 36px); margin-bottom: 12px; }
    .copy-cta .eyebrow { margin-bottom: 10px; }
    .copy-cta .quote { font-size: 15px; margin-bottom: 18px; }
    .cta-row .btn { min-height: 44px; }
    .display { font-size: clamp(30px, 9vw, 44px); }
    .title { font-size: clamp(30px, 8.4vw, 40px); }
    .scroll-hint { display: none; }
    .wrap { padding: 0 20px; }
    .block-ia { padding-left: 20px; padding-right: 20px; }
    .ia-card { min-height: 460px; }
    .case, .form-wrap { grid-template-columns: 1fr; }
    .case-flip .case-media { order: 0; }
    .partners-row img { height: 48px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .phases, .benefits { grid-template-columns: 1fr; }
    .scene .copy-hero .body { margin-bottom: 14px; }
    .scene .copy-hero .lead { margin-bottom: 20px; }
    .copy-hero .btn { max-width: calc(100% - 64px); }
    .cta-row .btn { flex: 1 1 auto; }
}

/* ===== Menos movimento ===== */
@media (prefers-reduced-motion: reduce) {
    .scene { height: auto; min-height: 100vh; }
    .scene-copy { position: relative; min-height: 100vh; height: auto; }
    .scroll-hint { display: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ===== Página de case (case-drogavet.html) e vídeos do YouTube ===== */
.block-tight { padding: clamp(56px, 9vh, 104px) 0; }
.case-intro { max-width: 860px; }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 14px; font-weight: 600; }
.block .kicker + .stat-grid, .block .kicker + .phases { margin-top: 36px; }
.stat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.source { margin: 14px 0 0; color: var(--text-3); font-size: 13px; }

.case-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; opacity: 0.88; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play {
    position: absolute; left: 18px; bottom: 18px; width: 64px; height: 64px;
    border-radius: 50%; background: var(--orange); box-shadow: 0 10px 40px rgba(255, 87, 34, 0.45);
    transition: transform 0.3s var(--ease);
}
.yt-play::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vh, 64px); }
.video-card { margin: 0; }
.video-card figcaption { margin-top: 12px; color: var(--text-2); font-size: 15px; font-weight: 600; }

.phases-5 { grid-template-columns: repeat(5, 1fr); }
.phases-5 h3 { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 240px); grid-auto-flow: dense; gap: 12px; margin-top: clamp(40px, 6vh, 64px); }
.gal-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); grid-row: span 2; }
.gal-wide { grid-column: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }

.result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result { padding: clamp(28px, 4vw, 48px); border-radius: 20px; border: 1px solid var(--line); background: rgba(26, 26, 26, 0.6); }
.big-num { margin: 0 0 8px; font-size: clamp(56px, 7vw, 104px); font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.result-t { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.3; }
.result-note { margin: 18px 0 0; color: var(--text-2); font-size: 17px; }
.result-note strong { color: var(--text); }
.back-link { margin: 32px 0 0; }
.back-link a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.back-link a:hover { color: var(--orange); }
.case-actions { margin-top: 28px; }

@media (max-width: 960px) {
    .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .phases-5 { grid-template-columns: repeat(3, 1fr); }
    .result-pair { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .stat-grid-3, .stat-grid-4 { grid-template-columns: 1fr; }
    .phases-5 { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* ===== Atendimento com IA (js/chat.js) ===== */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 40; font-family: 'Inter', system-ui, sans-serif; }
.chat-launcher {
    display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px;
    border: 0; border-radius: 999px; background: var(--orange); color: #fff; cursor: pointer;
    font: 700 15px/1 'Inter', sans-serif; box-shadow: 0 12px 36px rgba(255, 87, 34, 0.38);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.2s;
}
.chat-launcher:hover { transform: translateY(-2px); background: var(--orange-light); box-shadow: 0 16px 44px rgba(255, 87, 34, 0.5); }
.chat-launcher:focus-visible, .chat-acao:focus-visible, .chat-enviar:focus-visible, .chat-sugestoes button:focus-visible, .chat-sugestoes a:focus-visible, .chat-card-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.chat.is-open .chat-launcher { transform: scale(0.9); opacity: 0; pointer-events: none; }

.chat-painel {
    position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 48px));
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 14, 13, 0.94); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    opacity: 0; transform: translateY(16px) scale(0.98); transform-origin: bottom right;
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.chat-painel[hidden] { display: none; }
.chat:not(.is-open) .chat-painel { pointer-events: none; }
.chat.is-open .chat-painel { opacity: 1; transform: none; }

.chat-topo { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; }
.chat-avatar svg { width: 22px; height: 22px; }
.chat-id { flex: 1; min-width: 0; }
.chat-id h2 { margin: 0; font-size: 15px; font-weight: 700; }
.chat-id p { margin: 2px 0 0; font-size: 12px; color: var(--text-3); }
.chat-acao { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.chat-acao:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.chat-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; word-wrap: break-word; animation: chatIn 0.3s var(--ease); }
.chat-msg p { margin: 0; }
.chat-msg p + p, .chat-msg ul + p, .chat-msg p + ul { margin-top: 6px; }
.chat-msg ul { margin: 4px 0 0; padding-left: 18px; }
.chat-msg a { color: var(--orange-light); text-underline-offset: 2px; }
.chat-msg-ia { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 6px; }
.chat-msg-voce { align-self: flex-end; background: var(--orange); color: #fff; border-bottom-right-radius: 6px; }
@keyframes chatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chat-digitando { display: flex; gap: 5px; padding: 15px 16px; }
.chat-digitando span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: chatDot 1.2s infinite ease-in-out; }
.chat-digitando span:nth-child(2) { animation-delay: 0.15s; }
.chat-digitando span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-card { align-self: stretch; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 14px; animation: chatIn 0.3s var(--ease); }
.chat-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-2); }
.chat-card p { margin: 0; color: var(--text-2); }
.chat-card-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px 16px;
    border-radius: 12px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; text-align: center;
    transition: background 0.2s;
}
.chat-card-btn:hover { background: var(--orange-light); }
.chat-card-whats { padding: 0; border: 0; background: none; }
.chat-card-whats .chat-card-btn { margin-top: 0; }
.chat-btn-whats { background: var(--whats); }
.chat-btn-whats:hover { background: #2fe174; }

.chat-sugestoes { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.chat-sugestoes:not(:empty) { padding-bottom: 10px; }
.chat-sugestoes button, .chat-sugestoes a {
    padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 87, 34, 0.5); background: rgba(255, 87, 34, 0.08);
    color: #fff; font: 500 13px/1.3 'Inter', sans-serif; cursor: pointer; text-align: left; text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.chat-sugestoes button:hover, .chat-sugestoes a:hover { background: rgba(255, 87, 34, 0.2); border-color: var(--orange); }

.chat-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.05); transition: border-color 0.2s; }
.chat-form:focus-within { border-color: var(--orange); }
.chat-form textarea { flex: 1; resize: none; border: 0; background: transparent; color: #fff; font: 400 16px/1.4 'Inter', sans-serif; padding: 6px 0; max-height: 120px; outline: none; }
.chat-form textarea::placeholder { color: var(--text-3); }
.chat-enviar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 11px; background: var(--orange); color: #fff; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.chat-enviar:hover { background: var(--orange-light); }
.chat-enviar:disabled { opacity: 0.5; cursor: default; }
.chat-rodape { margin: 0; padding: 8px 16px 12px; font-size: 11px; line-height: 1.4; color: var(--text-3); text-align: center; }
.chat-rodape a { color: var(--text-2); }

@media (max-width: 600px) {
    .chat { right: 16px; bottom: 16px; }
    .chat-launcher { height: 52px; padding: 0 14px; }
    .chat-launcher-label { display: none; }
    .chat-painel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .chat-painel, .chat-launcher, .chat-msg, .chat-card { transition: none; animation: none; }
    .chat-digitando span { animation: none; opacity: 0.6; }
}

/* ===== Deestrava: narrativa de venda ===== */
.block .eyebrow + .kicker { margin-top: 0; }
#sintomas .kicker, #produtos .kicker, #virada .kicker { max-width: 24ch; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pains li {
    display: grid; gap: 8px; padding: 24px 26px 24px 58px; position: relative;
    border-radius: 18px; border: 1px solid var(--line); background: rgba(26, 26, 26, 0.6);
}
.pains li::before {
    content: "!"; position: absolute; left: 20px; top: 22px; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 900; font-size: 14px; color: var(--orange);
    background: rgba(255, 87, 34, 0.12); border: 1px solid rgba(255, 87, 34, 0.4);
}
.pains b { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; }
.pains span { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.pains-fecho { margin: 32px 0 0; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.35; max-width: 34ch; }

.compare { border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row span { padding: 18px 24px; font-size: 16px; line-height: 1.5; }
.compare-row span:first-child { color: var(--text-3); background: rgba(26, 26, 26, 0.5); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.18); }
.compare-row span:last-child { color: #fff; background: rgba(255, 87, 34, 0.07); border-left: 1px solid rgba(255, 87, 34, 0.25); }
.compare-row span:last-child::before { content: "✓"; margin-right: 10px; color: var(--orange); font-weight: 900; }
.compare-head span { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none !important; }
.compare-head span:first-child { color: var(--text-3); }
.compare-head span:last-child { color: var(--orange); }
.compare-head span:last-child::before { content: none; }

.block-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.block-cta span { color: var(--text-2); font-size: 15px; }

.proof {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 24px;
    padding: clamp(24px, 3.5vw, 44px); border-radius: 22px; border: 1px solid rgba(255, 87, 34, 0.35);
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.12), rgba(26, 26, 26, 0.6) 55%);
}
.proof h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.2; }
.proof-copy p:not(.eyebrow) { margin: 0 0 22px; color: var(--text-2); }
.proof-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.proof-stats li { display: grid; gap: 2px; }
.proof-stats strong { font-size: clamp(32px, 3.4vw, 48px); font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.proof-stats span { color: var(--text-2); font-size: 15px; }

.plan-guide { display: flex; flex-wrap: wrap; gap: 10px; margin: -24px 0 28px; }
.plan-guide button {
    padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04);
    color: #fff; font: 600 15px/1.2 'Inter', sans-serif; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.plan-guide button:hover { border-color: var(--orange); }
.plan-guide button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }
.plan-guide button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.plan-badge { align-self: flex-start; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
/* A animação de entrada (GSAP) controla opacity e transform: o destaque usa filter, borda e sombra. */
.plans.has-match .plan { transition: filter 0.3s, border-color 0.3s, box-shadow 0.3s; }
.plans.has-match .plan:not(.is-match) { filter: brightness(0.5) saturate(0.6); }
.plans .plan.is-match { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 24px 60px rgba(255, 87, 34, 0.22); }

.mid-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: clamp(28px, 4vw, 52px); border-radius: 24px; border: 1px solid var(--line);
    background: radial-gradient(600px 300px at 90% 0%, rgba(255, 87, 34, 0.18), transparent 70%), rgba(26, 26, 26, 0.7);
}
.mid-cta .kicker { margin-bottom: 10px; max-width: 22ch; }
.mid-cta .body { margin: 0; max-width: 60ch; }
.mid-cta .btn { flex: none; }

.form-intro-t { font-size: clamp(28px, 3vw, 44px); margin-bottom: 28px; }

@media (max-width: 960px) {
    .pains, .proof { grid-template-columns: 1fr; }
    .mid-cta { flex-direction: column; align-items: flex-start; }
    .plan-guide { margin-top: -16px; }
}
@media (max-width: 600px) {
    .compare-row { grid-template-columns: 1fr; }
    .compare-row span:last-child { border-left: 0; border-top: 1px dashed rgba(255, 87, 34, 0.25); }
    .compare-head { display: none; }
    .compare-row span:first-child::before { content: "Antes:"; margin-right: 6px; font-weight: 700; display: inline-block; }
    .pains li { padding: 20px 20px 20px 54px; }
}
