/* =========================================================
   Draxora — tokens (espelho do design system Draxora)
   ========================================================= */
:root {
  --bg: #0B0D17;
  --surface: #151827;
  --surface-raised: #1E2235;
  --line: #2C3148;
  --ink: #F5F1EA;
  --ink-muted: #A7AABB;
  --lume-ouro: #FFD27A;
  --lume-ambar: #FF8A4C;
  --lume-coral: #FF5A5F;
  --accent: #FF9A62;
  --accent-fill: #FF8A4C;
  --on-accent: #0B0D17;
  --nicho-mente: #7CC6B4;
  --focus: #FFD27A;

  --font-display: "Syne", "Manrope", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 48px;
  --space-5: 96px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --lume: linear-gradient(180deg, var(--lume-ouro), var(--lume-ambar) 55%, var(--lume-coral));
  --lume-h: linear-gradient(90deg, var(--lume-ouro), var(--lume-ambar) 55%, var(--lume-coral));
  --page: 1120px;
  color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-5) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: var(--space-2); max-width: 720px; margin-bottom: var(--space-4); }
.h-xl { font-weight: 800; font-size: clamp(40px, 6.4vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.h-l { font-weight: 700; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.h-xl em, .h-l em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* =========================================================
   Componentes (mesmas classes do design system)
   ========================================================= */
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: 700; font-size: 16px; line-height: 20px; padding: 14px var(--space-3); border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.dx-btn-lg { font-size: 17px; padding: 18px 32px; }
.dx-btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.dx-btn-primary:hover { transform: translateY(-1px); background: var(--lume-ouro); }
.dx-btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.dx-btn-secondary:hover { border-color: var(--ink-muted); }
.dx-btn-ghost { background: transparent; color: var(--ink); padding-left: var(--space-1); padding-right: var(--space-1); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

.dx-label { margin: 0; display: inline-flex; align-items: center; gap: var(--space-1); font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.dx-label-num { color: var(--accent); }
.dx-label-num::after { content: ""; display: inline-block; width: 24px; height: 1px; margin-left: var(--space-1); vertical-align: middle; background: var(--line); }
.dx-label-nicho { color: var(--nicho-mente); }

.dx-selo { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13px; line-height: 16px; color: var(--ink); }
.dx-selo svg { color: var(--nicho-mente); flex: none; }

.dx-card { display: grid; gap: var(--space-1); align-content: start; padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.section-alt .dx-card { background: var(--bg); }
.dx-card-index { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.dx-card-title { font-weight: 700; font-size: 22px; line-height: 28px; }
.dx-card-body { color: var(--ink-muted); }

.dx-quote { margin: 0; padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface-raised); display: grid; gap: var(--space-2); align-content: start; }
.dx-quote-text { margin: 0; font-size: 18px; line-height: 28px; }
.dx-quote-text::before { content: "“"; display: block; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 32px; color: var(--lume-ambar); }
.dx-quote-who { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; }
.dx-quote-who strong { display: block; }
.dx-quote-role { display: block; color: var(--ink-muted); }
.dx-quote-avatar { width: 40px; height: 40px; border-radius: var(--radius-pill); display: inline-grid; place-items: center; background: var(--line); font-weight: 700; font-size: 14px; flex: none; }
.dx-quote.is-placeholder { border: 1px dashed var(--line); background: transparent; }

.dx-lead { display: grid; gap: var(--space-1); max-width: 520px; }
.dx-lead-label { font-size: 14px; line-height: 20px; font-weight: 600; }
.dx-lead-row { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.dx-input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 14px var(--space-2); border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); }
.dx-input::placeholder { color: var(--ink-muted); }
.dx-lead-note { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.dx-lead-ok { display: none; font-weight: 600; color: var(--nicho-mente); }
.dx-lead.is-done .dx-lead-row { display: none; }
.dx-lead.is-done .dx-lead-ok { display: block; }

.dx-offer { position: relative; display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-3) var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.dx-offer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lume-h); }
.dx-offer-title { font-weight: 700; font-size: 26px; line-height: 32px; }
.dx-offer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 22px; }
.dx-offer-list li { display: flex; gap: 10px; align-items: flex-start; }
.dx-check { flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--accent-fill); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat; }
.dx-offer-price { display: grid; gap: 2px; padding-top: var(--space-2); border-top: 1px solid var(--line); }
.dx-offer-from, .dx-offer-inst { font-size: 14px; color: var(--ink-muted); }
.dx-offer-value { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 48px; }
.dx-offer .dx-btn { width: 100%; }
.dx-offer-guarantee { font-size: 13px; line-height: 18px; color: var(--ink-muted); text-align: center; }

.dx-faq { border-top: 1px solid var(--line); max-width: 760px; }
.dx-faq-item { border-bottom: 1px solid var(--line); }
.dx-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 20px 0; font-weight: 600; font-size: 17px; line-height: 24px; }
.dx-faq-item summary::-webkit-details-marker { display: none; }
.dx-faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.dx-faq-icon::before, .dx-faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--accent); transition: transform .2s ease; }
.dx-faq-icon::after { transform: rotate(90deg); }
.dx-faq-item[open] .dx-faq-icon::after { transform: rotate(0deg); }
.dx-faq-a { padding: 0 0 20px; color: var(--ink-muted); }

/* =========================================================
   Header / footer
   ========================================================= */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11, 13, 23, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); height: 72px; }
.site-header .brand img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-3); }
.site-nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.site-nav .dx-btn { color: var(--on-accent); padding: 10px 18px; font-size: 15px; }
@media (max-width: 720px) { .site-nav a:not(.dx-btn) { display: none; } }

.site-footer { padding: var(--space-4) 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.site-footer .wrap { display: grid; gap: var(--space-3); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); }
.footer-top img { height: 22px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-care { padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-md); }
.footer-care strong { color: var(--ink); }

/* =========================================================
   HOME — o corredor de portas
   ========================================================= */
.home-hero { position: relative; padding: 120px 0 var(--space-5); overflow: hidden; }
.home-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-4); align-items: center; }
.home-hero-copy { display: grid; gap: var(--space-3); }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.home-hero-art { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 86 / 92; }
.home-hero-art img { width: 100%; height: 100%; position: relative; z-index: 1; }
.home-hero-art::before { content: ""; position: absolute; left: 22%; top: 4%; width: 7%; height: 92%; background: var(--lume); filter: blur(42px); opacity: .55; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .35; transform: scaleX(1); } 50% { opacity: .7; transform: scaleX(1.6); } }
@media (max-width: 860px) {
  .home-hero { padding-top: 64px; }
  .home-hero .wrap { grid-template-columns: 1fr; }
  .home-hero-art { width: 200px; grid-row: 1; justify-self: start; }
}

.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2); min-height: 440px; padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); isolation: isolate; }
.door::before { /* a fresta */ content: ""; position: absolute; top: 0; bottom: 0; left: 36%; width: 4px; background: var(--lume); opacity: .9; transition: width .5s cubic-bezier(.2, .8, .2, 1), left .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; z-index: -1; }
.door::after { /* o brilho que vaza */ content: ""; position: absolute; top: 0; bottom: 0; left: 36%; width: 80px; margin-left: -38px; background: var(--lume); filter: blur(60px); opacity: .18; transition: opacity .5s ease, transform .5s ease; z-index: -1; }
.door-num { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: .8; color: var(--ink); opacity: .08; position: absolute; top: var(--space-3); right: var(--space-3); }
.door h3 { font-weight: 700; font-size: 28px; line-height: 34px; }
.door p { color: var(--ink-muted); }
.door-cta { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; color: var(--accent); }
.door-cta::after { content: "→"; transition: transform .2s ease; }
a.door:hover::before, a.door:focus-visible::before { left: 0; width: 100%; opacity: .08; }
a.door:hover::after, a.door:focus-visible::after { opacity: .4; transform: scaleX(3); }
a.door:hover .door-cta::after { transform: translateX(4px); }
.door.is-open { border-color: color-mix(in srgb, var(--nicho-mente) 40%, var(--line)); }
.door.is-closed::before { width: 2px; opacity: .45; background: var(--ink-muted); }
.door.is-closed::after { opacity: .05; }
.door.is-closed h3 { color: var(--ink-muted); }
.door-lock { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.door .dx-lead { margin-top: var(--space-1); }
.door .dx-lead .dx-btn { padding: 12px 16px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-4); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.founder-art::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30%; width: 3px; background: var(--lume); }
.founder-art span { position: relative; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); text-align: center; padding: var(--space-3); }
.founder-copy { display: grid; gap: var(--space-2); }
.founder-stats { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-2); }
.founder-stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 44px; color: var(--accent); }
.founder-stats span { font-size: 14px; color: var(--ink-muted); }

/* =========================================================
   LANDING — lançamento
   ========================================================= */
.launch-hero { position: relative; padding: 112px 0 var(--space-5); overflow: hidden; }
.launch-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(0px, calc((100vw - var(--page)) / 2 - 24px)); width: 6px; background: var(--lume); }
.launch-hero::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: max(0px, calc((100vw - var(--page)) / 2 - 24px)); width: 160px; margin-left: -77px; background: var(--lume); filter: blur(90px); opacity: .22; }
.launch-hero .wrap { position: relative; z-index: 1; display: grid; gap: var(--space-3); max-width: var(--page); }
.launch-hero .h-xl { max-width: 860px; }
.launch-hero .lead { max-width: 640px; }
.launch-hero-top { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.launch-hero-proof { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: 14px; color: var(--ink-muted); }
.launch-hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.launch-hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--nicho-mente); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 26px; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: var(--radius-sm); border: 2px solid var(--nicho-mente); }
.check-list.is-no li::before { border-color: var(--line); background: linear-gradient(45deg, transparent 45%, var(--ink-muted) 45%, var(--ink-muted) 55%, transparent 55%); }
.check-list.is-no li { color: var(--ink-muted); }
.split-col { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line); }
.split-col h3 { font-weight: 700; font-size: 22px; line-height: 28px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--space-3) var(--space-3) var(--space-3) 0; display: grid; gap: var(--space-1); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--lume-h); }
.step h3 { font-weight: 700; font-size: 20px; line-height: 26px; }
.step p { color: var(--ink-muted); }

.offer-wrap { display: grid; grid-template-columns: 1fr 440px; gap: var(--space-4); align-items: center; }
@media (max-width: 900px) { .offer-wrap { grid-template-columns: 1fr; } }

.final-cta { text-align: center; }
.final-cta .wrap { display: grid; gap: var(--space-3); justify-items: center; }
.final-cta .h-l { max-width: 760px; }

.placeholder-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--lume-ouro); }

/* Entrada suave ao rolar: o conteúdo já está visível; só os blocos abaixo da dobra sobem levemente */
.reveal.is-pending { transform: translateY(16px); transition: transform .6s ease; }
.reveal.is-pending.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { transform: none; }
}
