/* ============================================================
   RECRUTA — home v2 "dark editorial" (PT/EN/ES compartilhado)
   Canvas escuro com atmosfera violeta, tipografia display,
   texturas (grain + dot grid + glows) e interlúdio claro.
   Comportamento dinâmico em /home.js (shader, GSAP, mock vivo).
   Sem lucide: ícones inline nos HTMLs.
   ============================================================ */

:root {
    /* paleta nova */
    --ink: #0C0A12;
    --ink-2: #131019;
    --ink-3: #1A1624;
    --line: rgba(236, 234, 242, 0.10);
    --line-strong: rgba(236, 234, 242, 0.18);
    --text: #EDEBF3;
    --text-2: #A9A4B6;
    --text-3: #6F6981;
    --violet: #8B5CF6;
    --violet-deep: #7C3AED;
    --violet-soft: rgba(139, 92, 246, 0.13);
    --paper: #F4F2ED;
    --paper-2: #FFFFFF;
    --ink-on-paper: #17131F;
    --muted-on-paper: #5D5768;
    --paper-line: rgba(23, 19, 31, 0.12);

    /* compat: tokens antigos referenciados por inline styles nos HTMLs */
    --color-primary-300: #c4b5fd;
    --color-primary-500: #7c3aed;
    --color-success: #34D399;
    --color-warning: #FBBF24;
    --color-error: #F87171;

    --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --nav-h: 76px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
body {
    font-family: var(--font-sans);
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: var(--violet-deep); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* grain global */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.045;
    background-image: var(--noise);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 em { font-style: italic; color: var(--violet); }
h4 { font-weight: 700; line-height: 1.35; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 1.3rem;
}
.section-tag::before { content: ""; width: 8px; height: 8px; background: var(--violet); flex: none; }

/* ===== reveals (IO inline + CSS; GSAP só enriquece) ===== */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.7rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.3s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.3s ease;
    will-change: transform;
}
.btn-primary { background: var(--violet-deep); color: #fff; }
.btn-primary:hover { background: var(--violet); box-shadow: 0 10px 38px rgba(124, 58, 237, 0.36); color: #fff; }
.btn-outline-white { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline-white:hover { border-color: var(--violet); color: #fff; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.87rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.03rem; }

/* ===== cursor custom (home.js liga via html.cursor-on) ===== */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 3000;
    display: none;
    transform: translate(-100px, -100px);
}
.cursor-dot { width: 6px; height: 6px; background: var(--violet); }
.cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
html.cursor-on .cursor-dot, html.cursor-on .cursor-ring { display: block; }
html.cursor-on .cursor-ring.is-hover { width: 56px; height: 56px; border-color: rgba(139, 92, 246, 0.9); }

/* ===== top bar antiga: fora do design novo ===== */
.navbar-top-bar { display: none; }

/* ===== navbar ===== */
nav.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 10, 18, 0.6);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    height: var(--nav-h);
    display: flex;
    align-items: center;
}
.nav-container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-weight: 500;
    font-size: 0.91rem;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #fff; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--line-strong);
    border-radius: 9999px;
    padding: 3px;
}
.lang-switch a {
    font-family: var(--font-mono);
    font-size: 0.68rem !important;
    letter-spacing: 0.08em;
    padding: 0.28rem 0.62rem;
    border-radius: 9999px;
    color: var(--text-3) !important;
    text-decoration: none;
}
.lang-switch a.active { background: var(--violet-deep); color: #fff !important; }
.lang-switch a:not(.active):hover { color: var(--text) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px; height: 44px;
    cursor: pointer;
    background: none;
    border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease-out); }

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}
/* canvas do shader é injetado pelo home.js como .gl-canvas */
.gl-canvas, .hero-fallback-glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-fallback-glow {
    background:
        radial-gradient(56% 60% at 78% 16%, rgba(124, 58, 237, 0.22) 0%, transparent 70%),
        radial-gradient(46% 50% at 8% 86%, rgba(91, 33, 182, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(196, 181, 253, 0.16) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(70% 75% at 60% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(70% 75% at 60% 40%, #000 0%, transparent 78%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(to top, var(--ink) 6%, transparent);
    z-index: 1;
    pointer-events: none;
}
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-2);
    border: 1px solid var(--line-strong);
    border-radius: 9999px;
    padding: 0.5rem 1.05rem;
    margin-bottom: 2rem;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 12px var(--color-success);
}
.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 4.3rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text);
}
.hero h1 .gradient-text {
    display: block;
    font-style: italic;
    background: linear-gradient(100deg, #A78BFA 0%, #8B5CF6 55%, #C4B5FD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.08em;
}
.hero .lead {
    margin-top: 1.8rem;
    max-width: 46ch;
    color: var(--text-2);
    font-size: clamp(1rem, 1.35vw, 1.13rem);
}
.hero-buttons { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-proof {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.06em;
    color: var(--text-3);
}

/* entrada do hero (CSS puro) */
@media (prefers-reduced-motion: no-preference) {
    .hero-eyebrow, .hero h1, .hero .lead, .hero-buttons, .hero-proof {
        opacity: 0;
        transform: translateY(20px);
        animation: heroUp 0.95s var(--ease-out) forwards;
    }
    .hero h1 { animation-delay: 0.08s; }
    .hero .lead { animation-delay: 0.2s; }
    .hero-buttons { animation-delay: 0.32s; }
    .hero-proof { animation-delay: 0.44s; }
    .hero-visual { opacity: 0; transform: translateY(26px) scale(0.97); animation: heroUp 1.1s var(--ease-out) 0.3s forwards; }
}
html.force-motion .hero-eyebrow, html.force-motion .hero h1, html.force-motion .hero .lead,
html.force-motion .hero-buttons, html.force-motion .hero-proof {
    opacity: 0; transform: translateY(20px); animation: heroUp 0.95s var(--ease-out) forwards;
}
html.force-motion .hero h1 { animation-delay: 0.08s; }
html.force-motion .hero .lead { animation-delay: 0.2s; }
html.force-motion .hero-buttons { animation-delay: 0.32s; }
html.force-motion .hero-proof { animation-delay: 0.44s; }
html.force-motion .hero-visual { opacity: 0; transform: translateY(26px) scale(0.97); animation: heroUp 1.1s var(--ease-out) 0.3s forwards; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ===== mock vivo (hero-visual) ===== */
.hero-visual { position: relative; }
.mock-stage { position: relative; padding: 2.4rem 0 3rem; }
/* card branco sobre o hero escuro — a interação salta da dobra */
.mock-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink-on-paper);
    box-shadow: 0 36px 100px rgba(124, 58, 237, 0.28), 0 18px 48px rgba(0, 0, 0, 0.55);
    padding: 1.3rem 1.3rem 0.9rem;
}
.mock-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--paper-line);
    margin-bottom: 0.4rem;
}
.mock-head .job { font-weight: 700; font-size: 0.95rem; }
.mock-head .job small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: var(--muted-on-paper);
    font-weight: 500;
    margin-top: 0.2rem;
}
.mock-chip {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    padding: 0.32rem 0.7rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.mock-chip::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-success);
}
@media (prefers-reduced-motion: no-preference) {
    .mock-chip::before { animation: chipPulse 1.6s ease-in-out infinite; }
}
html.force-motion .mock-chip::before { animation: chipPulse 1.6s ease-in-out infinite; }
@keyframes chipPulse { 50% { opacity: 0.3; box-shadow: 0 0 8px var(--violet); } }

.cand-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid var(--line);
    border-radius: 8px;
    transition: background 0.25s ease;
}
.cand-row { border-bottom: 1px solid var(--paper-line); }
.cand-row:last-child { border-bottom: none; }
.cand-row:hover { background: #f5f3ff; }
.cand-row.dim { opacity: 0.5; }
.cand-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
}
.cand-row.dim .cand-avatar { background: #E5E5E5; color: var(--muted-on-paper); }
.cand-name { font-weight: 700; font-size: 0.88rem; }
.cand-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    color: var(--muted-on-paper);
    margin-top: 0.15rem;
}
.cand-status svg { width: 13px; height: 13px; flex: none; }
.cand-status.ok { color: #059669; }
.cand-status.warn { color: #B45309; }
.cand-score {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--violet-deep);
    letter-spacing: -0.02em;
    text-align: right;
    line-height: 1;
}
.cand-score small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-on-paper);
    font-weight: 500;
    margin-top: 0.25rem;
}
.cand-row.dim .cand-score { color: var(--muted-on-paper); }

/* bolhas flutuantes — brancas como o card */
.float-bubble {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink-on-paper);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.float-voice {
    top: 0;
    left: -1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
}
.float-voice .ic {
    width: 34px; height: 34px;
    flex: none;
    border-radius: 10px;
    background: var(--violet-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}
.float-voice .ic svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
    .float-voice .ic::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 10px;
        border: 1px solid var(--violet);
        animation: voicePing 2.2s ease-out infinite;
    }
}
html.force-motion .float-voice .ic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid var(--violet);
    animation: voicePing 2.2s ease-out infinite;
}
@keyframes voicePing { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.float-voice strong { display: block; font-size: 0.76rem; }
.float-voice span span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted-on-paper); letter-spacing: 0.04em; }

.float-whats {
    bottom: 0;
    right: -1.2rem;
    max-width: 290px;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--ink-on-paper);
    border-color: rgba(16, 185, 129, 0.35);
}
.float-whats .from {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 0.4rem;
}
.float-whats .from svg { width: 13px; height: 13px; }
.float-whats .typing-caret {
    display: inline-block;
    width: 7px; height: 13px;
    background: var(--color-success);
    margin-left: 2px;
    vertical-align: -2px;
}
@media (prefers-reduced-motion: no-preference) {
    .float-bubble { animation: bob 6s ease-in-out infinite; }
    .float-whats { animation-delay: 1.4s; }
    .float-whats .typing-caret { animation: caret 0.9s steps(1) infinite; }
}
html.force-motion .float-bubble { animation: bob 6s ease-in-out infinite; }
html.force-motion .float-whats { animation-delay: 1.4s; }
html.force-motion .float-whats .typing-caret { animation: caret 0.9s steps(1) infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@keyframes caret { 50% { opacity: 0; } }

/* ===== marquee ===== */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 1rem 0;
    background: var(--ink);
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    width: max-content;
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; }
.marquee-track span::after { content: "\2726"; color: var(--violet); margin: 0 1.6rem; font-size: 0.6rem; }
@media (prefers-reduced-motion: no-preference) {
    .marquee-track { animation: marquee 32s linear infinite; }
}
html.force-motion .marquee-track { animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== problema ===== */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}
.problem-grid h2 { margin-bottom: 1.2rem; max-width: 14ch; }
.problem-grid > div:first-child > p { color: var(--text-2); font-size: clamp(1rem, 1.35vw, 1.13rem); max-width: 46ch; }
.problem-grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.problem-grid .word { display: inline-block; }
.pain-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.6rem;
    align-items: baseline;
    padding: 1.5rem 0.25rem;
    border-bottom: 1px solid var(--line);
}
.pain-row .num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--violet);
    line-height: 1;
    white-space: nowrap;
}
.pain-row .num small { font-size: 0.45em; font-weight: 700; color: var(--text-2); margin-left: 0.1em; }
.pain-row p { color: var(--text-2); font-size: 0.95rem; }
.pain-row p.problem-closer { color: var(--text); font-weight: 600; }

/* ===== como funciona ===== */
.how-section {
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 70%),
        var(--ink);
}
.how-header { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how-header p { color: var(--text-2); margin-top: 0.9rem; font-size: 1.02rem; }
.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
/* trilho de progresso (injetado pelo home.js) */
.steps-rail {
    position: absolute;
    top: -1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}
.steps-rail i {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--violet-deep), var(--violet));
    transform-origin: left center;
    transform: scaleX(0);
}
.step-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink-2) 100%);
    padding: 1.8rem 1.5rem;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}
.step-card:hover { border-color: rgba(139, 92, 246, 0.45); transform: translateY(-6px); }
.step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.step-card:hover::before { opacity: 1; }
.step-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    margin-bottom: 2.4rem;
}
.step-icon svg { width: 20px; height: 20px; }
.step-num {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(139, 92, 246, 0.4);
    pointer-events: none;
}
.step-card h3 { font-size: 1.22rem; }
.step-card p { margin-top: 0.7rem; color: var(--text-2); font-size: 0.9rem; }
.how-result {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.how-result span:first-child {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--text-3);
    white-space: nowrap;
}
.how-result .line { flex: 1; height: 1px; background: var(--line-strong); }
.how-result strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--violet);
    white-space: nowrap;
}

/* ===== produtos (interlúdio claro) ===== */
#produtos {
    background: var(--paper);
    color: var(--ink-on-paper);
    border-radius: 32px;
    margin: 0 clamp(0.5rem, 1.2vw, 1rem);
}
#produtos .section-tag { color: var(--muted-on-paper); }
#produtos h2 { color: var(--ink-on-paper); }
#produtos h2 em { color: var(--violet-deep); }
.products-header { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.products-header p { color: var(--muted-on-paper); margin-top: 0.9rem; font-size: 1.02rem; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--paper-line);
    border-radius: 20px;
    background: var(--paper-2);
    padding: 2rem 1.7rem;
    text-decoration: none;
    color: var(--ink-on-paper);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
    will-change: transform;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(23, 19, 31, 0.14);
    border-color: rgba(124, 58, 237, 0.35);
}
.p-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--violet-deep);
    margin-bottom: 1.3rem;
}
.product-card h3 { font-size: 1.45rem; }
.product-card p { margin: 0.8rem 0 1.6rem; color: var(--muted-on-paper); font-size: 0.92rem; flex: 1; }
.p-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--violet-deep);
}
.p-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.product-card:hover .p-link svg { transform: translateX(5px); }

/* card PCD invertido (escuro) — o herói da fileira */
.product-card.pcd {
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(124, 58, 237, 0.28) 0%, transparent 70%),
        var(--ink);
    color: var(--text);
    border-color: rgba(124, 58, 237, 0.4);
}
.product-card.pcd .p-tag { color: #C4B5FD; }
.product-card.pcd p { color: var(--text-2); }
.product-card.pcd .p-link { color: #C4B5FD; }
.product-card.pcd:hover { box-shadow: 0 28px 70px rgba(124, 58, 237, 0.3); }

/* ===== números ===== */
.numbers-band {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(70% 100% at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
        var(--ink-2);
    overflow: hidden;
}
.numbers-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 181, 253, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(60% 90% at 50% 50%, #000 0%, transparent 80%);
    mask-image: radial-gradient(60% 90% at 50% 50%, #000 0%, transparent 80%);
    pointer-events: none;
}
.numbers-band .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.stat-item {
    padding: clamp(2.2rem, 4vw, 3.4rem) 1.8rem;
    border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text);
}
.stat-label {
    margin-top: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    line-height: 1.6;
}

/* ===== confiança (stack sticky) ===== */
.trust-header { max-width: 760px; margin: 0 auto; text-align: center; }
.trust-header .section-tag { justify-content: center; }
.trust-header p { color: var(--text-2); margin-top: 0.9rem; font-size: 1.02rem; }
.trust-layers {
    max-width: 840px;
    margin: 3.2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.trust-layer {
    position: sticky;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: clamp(1.8rem, 4vw, 2.6rem);
    background-color: var(--ink-2);
    background-image: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}
/* no stack, o card que cobre precisa estar 100% opaco mesmo em transição */
.trust-layers .fade-in { transition-property: transform; }
.trust-layers .fade-in:not(.visible) { opacity: 1; transform: translateY(26px); }
.trust-layer::before {
    content: attr(data-layer);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 0.8rem;
}
.trust-layer:nth-child(1) { top: calc(var(--nav-h) + 16px); }
.trust-layer:nth-child(2) { top: calc(var(--nav-h) + 42px); }
.trust-layer:nth-child(3) {
    top: calc(var(--nav-h) + 68px);
    background: var(--violet-deep);
    border-color: transparent;
}
.trust-layer:nth-child(3)::before { color: rgba(255, 255, 255, 0.8); }
.trust-layer h4 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
.trust-layer p { margin-top: 0.6rem; color: var(--text-2); max-width: 56ch; }
.trust-layer:nth-child(3) p { color: rgba(255, 255, 255, 0.85); }

/* ===== resultados ===== */
.testimonials-header { text-align: center; }
.testimonials-header .section-tag { justify-content: center; }
.testimonials-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 3rem;
}
.testimonial-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--ink-2);
    padding: clamp(1.8rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
}
.testimonial-sector {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: var(--violet);
}
.testimonial-quote {
    margin-top: 1.3rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    flex: 1;
}
.testimonial-metric {
    margin-top: 1.5rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--text-2);
}
.testimonial-author {
    margin-top: 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ===== CTA final ===== */
.final-cta {
    position: relative;
    padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 4vw, 2.5rem);
    text-align: center;
    overflow: hidden;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(52% 60% at 50% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 181, 253, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(50% 60% at 50% 90%, #000 0%, transparent 85%);
    mask-image: radial-gradient(50% 60% at 50% 90%, #000 0%, transparent 85%);
    pointer-events: none;
}
.final-cta-content { position: relative; max-width: 800px; margin: 0 auto; z-index: 1; }
.final-cta .section-tag { justify-content: center; }
.final-cta h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.final-cta p { margin: 1.6rem auto 0; max-width: 56ch; color: var(--text-2); font-size: 1.02rem; }
.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* ===== footer (card flutuante claro, como o original) ===== */
.footer-wrapper { padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem); }
footer {
    background: var(--paper);
    color: var(--ink-on-paper);
    border-radius: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(2.6rem, 5vw, 3.6rem) 2rem 2.4rem;
}
.footer-container {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink-on-paper);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.8rem;
    font-size: 0.88rem;
}
.footer-links a { color: var(--muted-on-paper); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--violet-deep); }
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted-on-paper);
    background: var(--paper-2);
    border: 1px solid var(--paper-line);
    border-radius: 9999px;
    padding: 0.45rem 0.95rem;
}
.footer-badge svg { width: 14px; height: 14px; color: var(--violet-deep); flex: none; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid var(--paper-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-on-paper);
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--violet-deep); color: var(--violet-deep); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-legal {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.8;
    color: var(--muted-on-paper);
}
.footer-legal a { color: var(--ink-on-paper); text-decoration: none; }
.footer-legal a:hover { color: var(--violet-deep); text-decoration: underline; }

/* ===== responsivo ===== */
@media (max-width: 1100px) {
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-rail { display: none; }
    .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
    :root { --nav-h: 68px; }
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 1.4rem 1.4rem;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links li:last-child, .nav-links li:nth-last-child(2) { border-bottom: none; }
    .nav-links a:not(.btn) { display: block; padding: 0.95rem 0.2rem; font-size: 1rem; }
    .nav-links .lang-switch { display: inline-flex; margin: 0.9rem 0 0.6rem; width: fit-content; }
    .nav-links .lang-switch a { display: inline-block; padding: 0.28rem 0.62rem; font-size: 0.68rem !important; }
    .nav-links .btn { margin-top: 0.7rem; width: 100%; }
    .hero-container { grid-template-columns: 1fr; }
    .hero { min-height: 0; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-grid > div:first-child { position: static; }
    .testimonials-cards { grid-template-columns: 1fr; }
    /* stack sticky só funciona bem com viewport alto — no mobile, fluxo normal */
    .trust-layer { position: static; }
}
@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
    .numbers-band .container { grid-template-columns: 1fr 1fr; }
    .stat-item { border-bottom: 1px solid var(--line); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(n+3) { border-bottom: none; }
    .hero-buttons .btn, .final-cta-buttons .btn { width: 100%; }
    .pain-row { grid-template-columns: 96px 1fr; gap: 1rem; }
    .float-voice { left: 0; }
    .float-whats { position: static; margin-top: 1rem; max-width: 100%; }
    .mock-stage { padding-top: 3.2rem; }
    .how-result { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html:not(.force-motion) .fade-in { opacity: 1; transform: none; }
}

/* últimas linhas da dor: fechamento verde, sem inline style */
.pain-row:last-child { border-bottom: none; }
.pain-row:last-child .num { color: var(--color-success); }
