/* ==========================================================
   Rotina Zero · landing page
   ========================================================== */

:root {
  --bg: #07080a;
  --bg-2: #0b0c0f;
  --surface: #121419;
  --surface-2: #171a20;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f2f3ee;
  --muted: #a0a4ac;
  --dim: #666b74;
  --accent: #c8ff3c;
  --accent-ink: #0c0f02;
  --accent-soft: rgba(200, 255, 60, 0.12);
  --off: #ff7a59;

  --font-display: "Clash Display", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 28px;
  --bezel: 6px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(96px, 12vw, 168px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* textura de ruído sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { overflow-x: hidden; width: 100%; max-width: 100%; }

img, svg { display: block; max-width: 100%; }

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 880px; }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.7); }

/* ---------- Tipografia ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  max-width: 52ch;
}

.head { margin-bottom: clamp(48px, 6vw, 80px); }

.head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.head--center { text-align: center; }
.head--center .h2 { margin-inline: auto; }

/* ---------- Double-bezel ---------- */

.bezel {
  position: relative;
  padding: var(--bezel);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.core {
  position: relative;
  height: 100%;
  border-radius: calc(var(--radius) - var(--bezel));
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border: 0;
  border-radius: 999px;
  font: 500 15px/1 var(--font-body);
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 500ms var(--ease), background-color 500ms var(--ease), box-shadow 500ms var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transition: transform 600ms var(--ease);
}

.btn__icon svg { width: 18px; height: 18px; stroke-width: 1.6; }

.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.05); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(200, 255, 60, 0.4), 0 18px 40px -18px rgba(200, 255, 60, 0.55);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(200, 255, 60, 0.6), 0 22px 50px -16px rgba(200, 255, 60, 0.7);
}

.btn--ghost {
  padding-right: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 42px; padding: 4px 4px 4px 18px; font-size: 14px; gap: 10px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }

.btn--lg { min-height: 64px; padding: 8px 8px 8px 32px; font-size: 17px; }
.btn--lg .btn__icon { width: 48px; height: 48px; }

/* ---------- Navegação ---------- */

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  transition: transform 700ms var(--ease);
}

.nav__links { display: flex; gap: 26px; }

.nav__links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 400ms var(--ease);
}

.nav__links a:hover { color: var(--text); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 600ms var(--ease);
}

.burger span:first-child { transform: translateY(-3px); }
.burger span:last-child { transform: translateY(3px); }

.is-menu-open .burger span:first-child { transform: rotate(45deg); }
.is-menu-open .burger span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-content: center;
  padding: 120px 28px 48px;
  background: rgba(5, 6, 8, 0.86);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}

.is-menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms var(--ease), visibility 0s;
}

.menu__links { display: grid; gap: 10px; }

.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}

.menu__links .menu__wa { color: var(--accent); }

.is-menu-open .menu__links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(120ms + var(--i) * 70ms);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(72px, 8vw, 112px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: 34%;
  left: 50%;
  width: min(1100px, 120vw);
  height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(200, 255, 60, 0.16), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(124, 199, 255, 0.07), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hl {
  color: transparent;
  background: linear-gradient(90deg, var(--accent) 0%, #e6ffa8 55%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-top: clamp(32px, 4vw, 48px);
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.status {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
  color: var(--dim);
  font-size: 13px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 255, 60, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 60, 0.5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(200, 255, 60, 0); }
}

/* painel do fluxo */
.hero__panel { margin-top: clamp(56px, 7vw, 88px); }

.runner__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px;
}

.runner__dots { display: flex; gap: 6px; }

.runner__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.runner__state {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  transition: background-color 500ms var(--ease), color 500ms var(--ease);
}

.runner__state.is-done { background: rgba(255, 255, 255, 0.06); color: var(--text); }

.runner__body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.steps {
  padding: 14px 10px;
  border-right: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 14px;
  color: var(--dim);
  transition: color 500ms var(--ease), background-color 500ms var(--ease);
}

.step__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.step__mark svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 400ms var(--ease), transform 600ms var(--ease);
}

.step__mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--accent);
  opacity: 0;
}

.step__time { font-size: 12.5px; opacity: 0; transition: opacity 400ms var(--ease); }

.step.is-running { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.step.is-running .step__mark::after { opacity: 1; animation: spin 0.8s linear infinite; }

.step.is-done { color: var(--text); }
.step.is-done .step__mark { background: var(--accent); box-shadow: none; color: var(--accent-ink); }
.step.is-done .step__mark svg { opacity: 1; transform: none; }
.step.is-done .step__time { opacity: 1; color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }

.runner__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
}

.metric { display: grid; gap: 6px; }

.metric__label {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric__value.mono { font-family: var(--font-mono); letter-spacing: -0.04em; color: var(--accent); }

.metric__value--off {
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: var(--off);
  text-decoration-thickness: 2px;
}

.progress {
  height: 4px;
  margin-top: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 900ms var(--ease);
}

.runner__note { color: var(--dim); font-size: 13px; }

/* números */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.stats li {
  display: grid;
  gap: 6px;
  padding: 28px 24px 0 0;
}

.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }

.stats strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker ul { display: flex; flex-shrink: 0; }

.ticker li {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split--top { align-items: start; }

.sticky { position: sticky; top: 120px; }

.sticky .btn { margin-top: 36px; }

.ticks { display: grid; gap: 14px; margin-top: 32px; }

.ticks li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 15px;
}

.ticks svg { color: var(--off); flex-shrink: 0; }

/* calculadora */
.calc { display: grid; gap: 30px; padding: clamp(24px, 3.5vw, 40px); }

.calc__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.field { display: grid; gap: 14px; }

.field__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.field output { color: var(--text); }

input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, 0.08) var(--p));
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, 0.08) var(--p));
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 5px rgba(200, 255, 60, 0.18);
  transition: transform 400ms var(--ease);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 5px rgba(200, 255, 60, 0.18);
}

input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.calc__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.calc__result > div { display: grid; gap: 8px; }

.calc__big {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.calc__foot { color: var(--dim); font-size: 12.5px; }

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 14px;
}

.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }

.tile__core {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.tile__core h3,
.tool h3,
.bonus__core h3 {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.tile__core p,
.tool p,
.bonus__core p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.tile__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  transition: transform 700ms var(--ease), color 500ms var(--ease);
}

.tile__icon--accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

.tile .core,
.tools .core,
.bonus .core { transition: transform 700ms var(--ease); }

.tile:hover .tile__icon,
.tools .bezel:hover .tile__icon,
.bonus .bezel:hover .tile__icon { transform: translateY(-3px) rotate(-6deg); color: var(--accent); }

.bonus .bezel:hover .tile__icon--accent { color: var(--accent-ink); }

.tile--xl .tile__core { padding: 36px; }

.tile--xl h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 28px; }

.tile--xl .tile__core p { max-width: 40ch; font-size: 15.5px; }

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.checklist li { display: flex; align-items: center; gap: 12px; }

.checklist svg {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  stroke-width: 2.4;
}

.swatches { display: flex; gap: 8px; margin-top: 10px; }

.swatches i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 700ms var(--ease);
}

.tile:hover .swatches i { transform: translateY(-4px); }
.tile:hover .swatches i:nth-child(2) { transition-delay: 40ms; }
.tile:hover .swatches i:nth-child(3) { transition-delay: 80ms; }
.tile:hover .swatches i:nth-child(4) { transition-delay: 120ms; }
.tile:hover .swatches i:nth-child(5) { transition-delay: 160ms; }

/* ---------- Comparativo ---------- */

.legend { display: flex; gap: 22px; color: var(--muted); font-size: 13.5px; }
.legend span { display: flex; align-items: center; gap: 8px; }

.legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.legend__dot--off { background: var(--off); }

.compare { padding: clamp(12px, 2vw, 20px) clamp(20px, 3vw, 36px); }

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) 150px;
  align-items: center;
  gap: 28px;
  padding-block: 22px;
}

.bar-row + .bar-row { border-top: 1px solid var(--line); }

.bar-row__name { font-size: 15px; }

.bar-row__bars { display: grid; gap: 6px; }

.bar {
  height: 8px;
  border-radius: 6px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1400ms var(--ease-out);
}

.bar--off { background: var(--off); opacity: 0.85; }

.is-in .bar { transform: scaleX(var(--s, 0)); }
.is-in .bar:not(.bar--off) { transition-delay: 450ms; }

.bar-row__time { text-align: right; color: var(--dim); font-size: 13px; }
.bar-row__time b { color: var(--accent); font-weight: 500; }

/* ---------- Módulos ---------- */

.modules { display: grid; gap: 10px; }

.module { --radius: 22px; --bezel: 5px; }

.module__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 22px 24px;
  cursor: pointer;
  list-style: none;
  transition: background-color 500ms var(--ease);
}

.module__head::-webkit-details-marker { display: none; }

.module__n { color: var(--accent); font-size: 13px; }

.module__t {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.module__x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 600ms var(--ease), background-color 500ms var(--ease);
}

.module__x svg { width: 16px; height: 16px; }

details[open] > summary .module__x { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }

.module__body {
  display: grid;
  gap: 14px;
  padding: 18px 24px 22px 84px;
  color: var(--muted);
  font-size: 15px;
}

details[open] .module__body,
details[open] > p { animation: reveal-in 700ms var(--ease) both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.module__meta { color: var(--dim); font-size: 12.5px; }

/* ---------- Ferramentas ---------- */

.tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  padding: 30px;
}

.tag {
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Bônus ---------- */

.bonus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.bonus__main { grid-column: span 3; }

.bonus__core {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  padding: 30px;
}

.bonus__main .bonus__core {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(200, 255, 60, 0.12), transparent 50%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}

.bonus__main h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }

/* ---------- Para quem é ---------- */

.fit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
}

.fit__col { padding: clamp(28px, 4vw, 44px); }

.fit__col--muted { background: linear-gradient(180deg, #111216, #0d0e11); }

.fit__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.fit__list { display: grid; gap: 18px; margin-top: 28px; }

.fit__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  color: var(--text);
  font-size: 15.5px;
}

.fit__list svg {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  stroke-width: 2;
}

.fit__list--no li { color: var(--muted); }
.fit__list--no svg { background: rgba(255, 122, 89, 0.1); color: var(--off); }

/* ---------- Instrutor ---------- */

.mentor {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.mentor__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--dim);
  font-size: 13px;
  text-align: center;
  transform: rotate(-1.5deg);
}

.mentor__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.mentor__facts li { display: grid; gap: 6px; }

.mentor__facts strong {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.mentor__facts span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */

.faq { display: grid; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary .module__x { flex-shrink: 0; }

.faq__item p {
  max-width: 62ch;
  padding-bottom: 28px;
  color: var(--muted);
}

/* ---------- CTA final ---------- */

.final { text-align: center; isolation: isolate; overflow: hidden; }

.final__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -340px;
  width: min(1000px, 140vw);
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 255, 60, 0.22), transparent 70%);
  filter: blur(30px);
}

.final__inner { display: grid; justify-items: center; }

.final__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.final .lead { margin-inline: auto; }
.final .btn { margin-top: 44px; }

/* ---------- Rodapé ---------- */

.footer { padding-block: 40px; border-top: 1px solid var(--line); }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 13px;
}

.footer nav { display: flex; gap: 24px; }
.footer nav a { transition: color 400ms var(--ease); }
.footer nav a:hover { color: var(--text); }

/* ---------- CTA fixo (mobile) ---------- */

.dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(140%);
  transition: transform 700ms var(--ease);
}

.dock.is-visible { transform: none; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(8px);
  transition:
    opacity 900ms var(--ease),
    transform 1000ms var(--ease),
    filter 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in { opacity: 1; transform: none; filter: none; }

.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus__main { grid-column: span 2; }
  .bonus .bezel:last-child { grid-column: span 2; }
  .bonus__main .bonus__core { grid-template-columns: auto 1fr; }
  .bonus__main .bonus__core p { grid-column: 1 / -1; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tools .bezel:last-child { grid-column: span 2; }
  .tool { min-height: 0; }
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav__pill { gap: 18px; padding-left: 20px; }

  .hero__row { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions,
  .status { justify-content: flex-start; }

  .runner__body { grid-template-columns: 1fr; }
  .steps { border-right: 0; border-bottom: 1px solid var(--line); }
  .runner__side { display: grid; grid-template-columns: 1fr 1fr; }
  .progress,
  .runner__note { grid-column: 1 / -1; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li { padding-bottom: 24px; }

  .split,
  .mentor,
  .fit { grid-template-columns: 1fr; }
  .sticky { position: static; }

  .bar-row { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .bar-row__bars { grid-column: 1 / -1; grid-row: 2; }

  .mentor__photo { transform: none; max-width: 480px; }
}

@media (max-width: 767px) {
  :root { --radius: 24px; }

  .hero { padding-top: 120px; }
  .eyebrow { letter-spacing: 0.16em; }
  .eyebrow__extra { display: none; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn--ghost { justify-content: center; }

  .step { grid-template-columns: 28px 1fr auto; gap: 12px; padding: 12px 10px; font-size: 14px; }
  .runner__bar { padding: 14px 16px; font-size: 11.5px; }
  .runner__bar .mono:not(.runner__state) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .runner__side { padding: 22px 18px; gap: 18px; }
  .metric__value { font-size: 1.75rem; white-space: nowrap; }

  .bento,
  .tools,
  .bonus { grid-template-columns: 1fr; }
  .tile--xl,
  .tile--wide,
  .bonus__main,
  .bonus .bezel:last-child,
  .tools .bezel:last-child { grid-column: auto; grid-row: auto; }
  .bento { grid-auto-rows: auto; }
  .tile__core,
  .tile--xl .tile__core { padding: 24px; min-height: 200px; }
  .bonus__main .bonus__core { grid-template-columns: 1fr; gap: 16px; }

  .head--row { align-items: flex-start; }
  .bar-row__time { text-align: left; }

  .module__head { grid-template-columns: 32px 1fr auto; gap: 12px; padding: 18px 16px; }
  .module__body { padding: 14px 18px 20px 60px; }

  .calc__result { grid-template-columns: 1fr; }
  .mentor__facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

  .footer { padding-bottom: 100px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  .dock { display: flex; }
}

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