/* Site público do Barbier: landing, cadastro e páginas legais. Tema escuro (grafite) com detalhes dourados. */

@font-face {
    font-family: 'Inter Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/assets/vendor/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Playfair Display Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('/assets/vendor/fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Playfair Display Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 400 900;
    src: url('/assets/vendor/fonts/playfair-display-latin-wght-italic.woff2') format('woff2-variations');
}

:root {
    --bg: #0d0d10;
    --bg-2: #111116;
    --surface: #17171d;
    --surface-2: #1e1e26;
    --line: rgba(255, 255, 255, .09);
    --line-2: rgba(255, 255, 255, .17);
    --text: #f4f1ea;
    --muted: #a9a59c;
    --gold: #d4af6a;
    --gold-2: #f0d59a;
    --gold-3: #b8893a;
    --ink: #17120a;
    --rose: #e08a9b;
    --sage: #7fb69a;
    --danger: #ff8f8f;
    --radius: 20px;
    --sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Playfair Display Variable', Georgia, 'Times New Roman', serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.is-hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: var(--ink); box-shadow: 0 8px 28px rgba(212, 175, 106, .22); }
.btn-gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(212, 175, 106, .36); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--gold); background: rgba(212, 175, 106, .08); }
.btn-outline { background: transparent; color: var(--gold); border-color: rgba(212, 175, 106, .55); }
.btn-outline:hover { background: rgba(212, 175, 106, .12); color: var(--gold-2); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 16, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--ink); font-size: 17px; }
.brand-mark-logo { background: none; border-radius: 8px; overflow: hidden; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.nav-login-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line-2); color: var(--text); width: 42px; height: 42px; border-radius: 12px; font-size: 22px; cursor: pointer; }

/* ---------- Seções ---------- */
.section { padding: 104px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.kicker { display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: '✦'; display: inline-block; margin-right: 8px; color: var(--rose); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(212, 175, 106, .35); border-radius: 999px; background: rgba(212, 175, 106, .07); color: var(--gold-2); font-size: 13px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(212, 175, 106, .20), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-glow-rose { position: absolute; inset: auto auto -15% -8%; width: 55%; height: 70%; background: radial-gradient(closest-side, rgba(224, 138, 155, .16), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-glow-turquoise { position: absolute; inset: 5% -10% auto auto; width: 55%; height: 70%; background: radial-gradient(closest-side, rgba(90, 200, 185, .18), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; }
.lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 19.5px); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14px; }
.trust i { color: var(--gold); margin-right: 4px; }

.hero-visual { position: relative; padding: 24px 0 36px 24px; }
.mock { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; transform: perspective(1500px) rotateY(-7deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a44; }
.mock-bar i:nth-child(1) { background: #ff6b6b; }
.mock-bar i:nth-child(2) { background: #f5c451; }
.mock-bar i:nth-child(3) { background: #5ecb84; }
.mock-bar span { margin-left: 10px; color: var(--muted); font-size: 12.5px; }
.mock-cal { padding: 14px 16px 18px; }
.mock-head, .mock-grid { display: grid; grid-template-columns: 40px repeat(3, 1fr); gap: 8px; }
.mock-head b { text-align: center; font-size: 12.5px; color: var(--text); padding-bottom: 10px; font-weight: 600; }
.mock-hours { display: grid; grid-template-rows: repeat(6, 46px); }
.mock-hours span { color: var(--muted); font-size: 11px; }
.mock-col { display: grid; grid-template-rows: repeat(6, 46px); gap: 0; border-left: 1px dashed var(--line); padding-left: 8px; }
.slot { grid-row: var(--row) / span var(--span); margin: 2px 0; padding: 7px 10px; border-radius: 10px; border-left: 3px solid var(--gold); background: rgba(212, 175, 106, .15); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.slot b { font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.slot small { color: var(--muted); font-size: 10.5px; line-height: 1.3; }
.s-rose { border-color: var(--rose); background: rgba(224, 138, 155, .15); }
.s-sage { border-color: var(--sage); background: rgba(127, 182, 154, .15); }
.s-block { border-color: #55555f; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px); }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: rgba(30, 30, 38, .92); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--muted); font-size: 12px; }
.float-wa { left: -6px; bottom: 6px; }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
.float-icon.wa { background: rgba(37, 211, 102, .16); color: #4ade80; }
.float-kpi { right: -8px; top: -6px; flex-direction: column; align-items: flex-start; gap: 2px; }
.float-kpi b { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.up { color: #4ade80; font-size: 12px; font-weight: 600; }

/* ---------- Segmentos ---------- */
.strip { padding: 34px 0 44px; border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-title { text-align: center; color: var(--muted); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, .02); }
.chips i { color: var(--gold); }

/* ---------- Dores ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pain-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pain i { font-size: 22px; color: var(--gold); flex-shrink: 0; }
.pain h3 { margin: 0; font-size: 19px; }
.pain p { color: var(--muted); }

/* ---------- Recursos (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); transition: border-color .25s ease, transform .25s ease; }
.card:hover { border-color: rgba(212, 175, 106, .45); transform: translateY(-3px); }
.feature.wide { grid-column: span 2; }
.feature-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.feature-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(212, 175, 106, .12); color: var(--gold); font-size: 20px; }
/* Toque feminino: metade dos ícones de recurso em rosé em vez de tudo na mesma cor dourada — o card
 * "wide" (mais largo) marca a alternância, já que os "wide" e "normais" se intercalam no bento. */
.feature.wide .feature-icon { background: rgba(224, 138, 155, .14); color: var(--rose); }
.feature h3 { font-size: 18px; margin-bottom: 0; line-height: 1.25; }
.feature p { color: var(--muted); font-size: 15.5px; }
.tag { position: absolute; top: 22px; right: 22px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.tag-live { border-color: rgba(74, 222, 128, .5); color: #4ade80; }

/* ---------- WhatsApp ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.lead-sm { color: var(--muted); font-size: 17.5px; margin-bottom: 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--text); }
.ticks i { color: var(--gold); margin-top: 3px; }
.ticks-lg li { padding: 10px 0; font-size: 16.5px; }
.phone { width: 100%; max-width: 340px; margin-inline: auto; border-radius: 34px; border: 1px solid var(--line-2); background: #0b141a; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #1f2c34; }
.phone-top b { display: block; font-size: 15px; color: #e9edef; }
.phone-top small { color: #8696a0; font-size: 12px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--ink); font-weight: 700; font-family: var(--serif); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 22px 16px 32px; min-height: 300px; background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .03), transparent 40%), #0b141a; }
.bubble { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; color: #e9edef; }
.bubble-in { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.bubble-out { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 52px; counter-reset: step; }
.step { padding: 8px 8px 0; }
.step-n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(212, 175, 106, .5); color: var(--gold); font-family: var(--serif); font-size: 26px; margin-bottom: 20px; }
.step:nth-child(2) .step-n { border-color: rgba(224, 138, 155, .55); color: var(--rose); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- Segurança ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sec { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.sec i { font-size: 26px; color: var(--gold); }
.sec h3 { font-size: 18px; margin: 16px 0 8px; }
.sec p { color: var(--muted); font-size: 15px; }

/* ---------- Planos ---------- */
.cycle { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); margin: 0 auto 44px; }
.section .cycle { display: flex; width: fit-content; }
.cycle-btn { border: 0; background: transparent; color: var(--muted); padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.cycle-btn small { color: var(--gold); margin-left: 4px; font-weight: 700; }
.cycle-btn.is-active { background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); color: var(--ink); }
.cycle-btn.is-active small { color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.plan.featured { border-color: rgba(212, 175, 106, .7); background: linear-gradient(180deg, rgba(212, 175, 106, .10), var(--surface) 42%); box-shadow: 0 30px 80px rgba(212, 175, 106, .10); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.plan h3 { font-family: var(--serif); font-size: 28px; }
.plan-tagline { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; min-height: 44px; }
.price-main { display: flex; align-items: baseline; gap: 6px; }
.cur { font-size: 18px; color: var(--muted); }
.amount { font-family: var(--serif); font-size: 58px; line-height: 1; font-weight: 600; }
.per { color: var(--muted); }
.price-note { color: var(--muted); font-size: 13px; margin: 8px 0 24px; min-height: 40px; }
.plan-items { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan-items i { color: var(--gold); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: rgba(212, 175, 106, .5); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--gold); transition: transform .25s ease; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final { padding: 40px 0 110px; }
.final .wrap { text-align: center; padding: 76px 24px; border-radius: 32px; border: 1px solid rgba(212, 175, 106, .4); background: radial-gradient(70% 120% at 50% 0%, rgba(212, 175, 106, .18), transparent 70%), var(--surface); max-width: 1132px; }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 780px; margin: 0 auto 16px; }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-text { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 340px; }
.site-footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-family: var(--sans); }
.site-footer li { padding: 5px 0; }
.site-footer li a { color: var(--text); font-size: 14.5px; }
.site-footer li a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; background: linear-gradient(var(--line), var(--line)) no-repeat top / calc(100% - 48px) 1px; color: var(--muted); font-size: 13.5px; }

/* ---------- Cadastro ---------- */
.auth-main { padding: 64px 0 96px; background: radial-gradient(60% 50% at 80% 0%, rgba(212, 175, 106, .12), transparent 70%); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; }
.auth-card { padding: 44px; border-radius: 26px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.auth-card h1 { font-size: clamp(30px, 3.6vw, 40px); }
.auth-sub { color: var(--muted); margin: 10px 0 28px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 20px; }
.auth-side { padding-top: 24px; position: sticky; top: 110px; }
.auth-side h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }
.mini-quote { display: flex; gap: 14px; margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14.5px; }
.mini-quote i { color: var(--gold); font-size: 22px; }

.field { margin-bottom: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
input:not([type=checkbox]), select {
    width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
    background: var(--surface-2); color: var(--text); font: inherit; font-size: 15.5px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder { color: #6d6a63; }
input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 106, .22); }
.has-error input, .has-error select { border-color: var(--danger); }
.field-error { display: block; min-height: 0; color: var(--danger); font-size: 13px; margin-top: 6px; }
.field-error:empty { display: none; }
.hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.pw { position: relative; }
.pw input { padding-right: 50px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.pw-toggle:hover { color: var(--text); }
.meter { height: 5px; margin-top: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--danger); transition: width .25s ease, background .25s ease; }
.meter span[data-level='2'] { background: #f5c451; }
.meter span[data-level='3'] { background: #a3d977; }
.meter span[data-level='4'] { background: #4ade80; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; margin: 6px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
#submitBtn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; font-size: 14.5px; }
.notice i { font-size: 20px; margin-top: 2px; }
.notice p { color: var(--muted); margin-top: 4px; }
.notice-error { background: rgba(255, 143, 143, .10); border: 1px solid rgba(255, 143, 143, .4); color: #ffd0d0; }
.notice-info { background: rgba(212, 175, 106, .10); border: 1px solid rgba(212, 175, 106, .4); }
.notice-plan { background: rgba(43, 179, 163, .12); border: 1px solid rgba(43, 179, 163, .4); }
.notice-plan i { color: #4fcabb; }

/* ---------- Páginas legais ---------- */
.legal { padding: 56px 0 96px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 26px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); }
.legal .meta { color: var(--muted); font-size: 14px; margin: 12px 0 38px; }
.legal h2 { font-family: var(--sans); font-size: 19px; margin: 34px 0 10px; color: var(--gold-2); }
.legal p { color: #d3cfc6; margin-bottom: 12px; }
.legal b { color: var(--text); }

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Rede de segurança: se o JavaScript falhar, o conteúdo aparece sozinho. */
.js .reveal:not(.is-in) { animation: reveal-fallback .01s 1.6s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
    .float-wa { animation: bob 6s ease-in-out infinite; }
    .float-kpi { animation: bob 7s ease-in-out -2s infinite; }
    @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .card { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
    .mock { transform: none; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .sec-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .auth-grid { grid-template-columns: 1fr; gap: 44px; }
    .auth-side { position: static; }
}

@media (max-width: 820px) {
    .site-nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 24px 18px; background: rgba(13, 13, 16, .97); border-bottom: 1px solid var(--line); display: none; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .nav-login-mobile { display: block; }
    .menu-toggle { display: inline-grid; place-items: center; }
    .header-actions .btn-ghost { display: none; }
    .section { padding: 72px 0; }
    .pain-grid, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .auth-card { padding: 30px 22px; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .hero { padding: 48px 0 64px; }
    .bento, .sec-grid { grid-template-columns: 1fr; }
    .feature.wide { grid-column: auto; }
    .row-2 { grid-template-columns: 1fr; gap: 0; }
    .cta-row .btn { width: 100%; }
    .float-wa { left: 0; }
    .float-kpi { right: 0; }
    .hero-visual { padding-left: 0; }
    .mock-head, .mock-grid { grid-template-columns: 32px repeat(3, 1fr); gap: 5px; }
    .slot { padding: 5px 6px; }
    .slot small { display: none; }
    .cycle { width: 100%; }
    .cycle-btn { flex: 1; padding-inline: 8px; font-size: 13.5px; }
    .final .wrap { padding: 52px 20px; border-radius: 24px; }
    .header-actions .btn-gold { padding: 8px 14px; }
}

/* A landing (.site-home) voltou a usar o mesmo tema escuro/dourado do login, cadastro e páginas
 * legais (as variáveis do :root no topo do arquivo) — sem override de cor aqui de propósito. */

/* ---------- Login ---------- */
.site-login { min-height: 100vh; }
.login-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; }

.login-aside {
    position: relative; overflow: hidden; display: flex; align-items: stretch; padding: 48px 56px;
    background:
        radial-gradient(70% 55% at 15% 0%, rgba(212, 175, 106, .20), transparent 65%),
        radial-gradient(60% 50% at 100% 100%, rgba(224, 138, 155, .10), transparent 70%),
        linear-gradient(160deg, #141419, #0d0d10);
    border-right: 1px solid var(--line);
}
.login-aside::before {
    content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent 75%);
    mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent 75%);
}
.login-aside-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; width: 100%; max-width: 560px; margin-inline: auto; }
.login-pitch h2 { font-size: clamp(34px, 3.6vw, 50px); margin-bottom: 26px; }
.login-mock { padding: 20px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(23, 23, 29, .82); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.login-mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.login-mock-head span { color: var(--muted); font-size: 12.5px; }
.login-mock-head i { color: #4ade80; font-size: 8px; margin-right: 4px; vertical-align: 1px; }
.login-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.login-row time { color: var(--gold); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.login-row b { display: block; font-size: 14.5px; font-weight: 600; }
.login-row small { color: var(--muted); font-size: 12.5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.dot.ok { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); }
.dot.wait { background: #f5c451; box-shadow: 0 0 0 4px rgba(245, 196, 81, .15); }

.login-main { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: var(--bg); }
.login-card { width: 100%; max-width: 420px; }
.login-card h1 { font-size: clamp(32px, 3.4vw, 40px); }
.login-card h1 em { display: block; font-size: .5em; margin-top: 8px; letter-spacing: 0; }
.login-brand-mobile { display: none; margin-bottom: 36px; }
.login-card .notice { align-items: center; }
.login-card .btn-block { margin-top: 6px; }

.code-input { text-align: center; font-size: 26px; letter-spacing: .32em; font-variant-numeric: tabular-nums; padding-block: 16px; }
.btn-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14.5px; border-radius: 10px; }
.btn-link:hover { color: var(--gold-2); }

.tenant-list { display: grid; gap: 10px; margin-bottom: 4px; }
.tenant-item {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 16px 18px; text-align: left;
    border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.tenant-item:hover { border-color: var(--gold); background: var(--surface-2); transform: translateY(-1px); }
.tenant-item:disabled { opacity: .6; cursor: progress; }
.tenant-name { font-weight: 600; font-size: 15.5px; }
.tenant-role { flex-shrink: 0; padding: 4px 11px; border-radius: 999px; background: rgba(212, 175, 106, .12); border: 1px solid rgba(212, 175, 106, .35); color: var(--gold-2); font-size: 12px; font-weight: 600; }

.login-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14.5px; }
.login-foot p + p { margin-top: 12px; }
.login-foot .secure { font-size: 12.5px; }
.login-foot .secure i { color: var(--gold); margin-right: 4px; }

@media (max-width: 900px) {
    .login-page { grid-template-columns: 1fr; }
    .login-aside { display: none; }
    .login-main {
        align-items: flex-start; padding: 40px 22px 48px;
        background: radial-gradient(80% 40% at 50% 0%, rgba(212, 175, 106, .14), transparent 70%), var(--bg);
    }
    .login-brand-mobile { display: inline-flex; }
}
