/* ════════════════════════════════════════════════════════════
   Gabriel Pedrozo · Mentoria Estratégica · v2 (dark warm)
   Pattern destilado: Cleopatra Ultimate LP (hero foto + display
   sobrepondo + italic editorial accent). Brand orange #ff4f00
   preservado como single accent (CTA + italic).
   ════════════════════════════════════════════════════════════ */

/* ════════ TOKENS ════════ */

:root,
[data-theme="dark"] {
  color-scheme: dark;

  /* — Surfaces — */
  --bg:           #1a1108;   /* coffee deep */
  --bg-soft:      #211710;   /* surface */
  --surface:     #271c14;
  --surface-2:   #2e2218;
  --surface-3:   #3a2c20;

  /* — Ink — */
  --ink:         #fff4e6;   /* primary cream warm */
  --ink-2:       #e8d9c4;
  --ink-3:       #b8a48a;
  --ink-muted:   #8a7864;

  /* — Lines — */
  --line:        #3a2c20;
  --line-strong: #5a4634;

  /* — Brand single-accent (preservado) — */
  --accent:       #ff4f00;
  --accent-hover: #ff6722;
  --accent-soft:  rgba(255, 79, 0, 0.10);
  --accent-glow:  rgba(255, 79, 0, 0.35);
  --accent-ink:   #fff4e6;

  /* — Editorial gold (uso restrito: italic + ring) — */
  --gold:         #e2a93a;
  --gold-soft:    rgba(226, 169, 58, 0.18);

  /* — Status — */
  --good: #6fc77b;
  --bad:  #ff7e6a;

  /* — Type — */
  --font-display:  'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-edit:     'Instrument Serif', Georgia, serif;

  /* — Radii — */
  --radius-button: 4px;
  --radius-card:   6px;
  --radius-photo:  2px;

  /* — Container — */
  --container-max: 1100px;

  /* — Motion — */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Theme light toggle — não recomendado mas honrar o botão existente */
[data-theme="light"] {
  color-scheme: light;
  --bg:           #fffefb;
  --bg-soft:      #fffdf9;
  --surface:     #fffefb;
  --surface-2:   #eceae3;
  --surface-3:   #f5f3ec;
  --ink:         #201515;
  --ink-2:       #36342e;
  --ink-3:       #5f5a4e;
  --ink-muted:   #939084;
  --line:        #c5c0b1;
  --line-strong: #36342e;
  --accent:       #ff4f00;
  --accent-hover: #e84600;
  --accent-soft:  rgba(255, 79, 0, 0.06);
  --accent-glow:  rgba(255, 79, 0, 0.25);
  --accent-ink:   #fffefb;
  --gold:         #b88420;
  --gold-soft:    rgba(184, 132, 32, 0.20);
}

/* ════════ BASE ════════ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ════════ ATMOSFERA (background field) ════════ */

.atmos {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.atmos-glow {
  position: absolute;
  inset: -10vh -10vw;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(226, 169, 58, 0.05) 0%, transparent 70%);
  filter: blur(20px);
}
.atmos-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(800px, 90vmin);
  aspect-ratio: 1;
  transform: translate(-50%, -42%);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  opacity: 0.5;
  box-shadow:
    0 0 0 1px rgba(226, 169, 58, 0.04),
    inset 0 0 120px rgba(226, 169, 58, 0.06);
  animation: ring-breath 12s var(--ease) infinite;
}
.atmos-ring::before {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(226, 169, 58, 0.07);
}
.atmos-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0 0.05  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.10;
  mix-blend-mode: overlay;
}
[data-theme="light"] .atmos-glow {
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 132, 32, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .atmos-grain { opacity: 0.04; }

@keyframes ring-breath {
  0%, 100% { transform: translate(-50%, -42%) scale(1); opacity: .5; }
  50%      { transform: translate(-50%, -42%) scale(1.04); opacity: .65; }
}

/* ════════ TOPBAR ════════ */

.topbar {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(26, 17, 8, 0.4);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}
[data-theme="light"] .topbar { background: rgba(255, 254, 251, 0.6); }

.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  transition: color .2s var(--ease);
  width: max-content;
}
.back:hover { color: var(--accent); }
.back svg { transition: transform .2s var(--ease); }
.back:hover svg { transform: translateX(-2px); }

.topbar-mark {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.theme-toggle {
  justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.theme-toggle .i-sun  { display: none; }
.theme-toggle .i-moon { display: block; }
[data-theme="light"] .theme-toggle .i-sun  { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }

/* ════════ HERO ════════ */

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  padding: 56px 24px 80px;
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* — Intro animation: fade-up cascading — */
@keyframes intro-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes intro-photo {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes intro-eyebrow-line {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.hero-eyebrow,
.hero-stage,
.hero-sub,
.hero-cta,
.hero-meta {
  opacity: 0;
  animation: intro-fade-up 700ms var(--ease) forwards;
}
.hero-eyebrow      { animation-delay: 120ms; }
.hero-stage        { animation: intro-photo 900ms var(--ease) 220ms forwards; }
.hero-sub          { animation-delay: 700ms; }
.hero-cta          { animation-delay: 880ms; }
.hero-meta         { animation-delay: 1040ms; }

/* Linhas do eyebrow esticam a partir do centro */
.eyebrow-line {
  transform-origin: center;
  animation: intro-eyebrow-line 600ms var(--ease) 250ms both;
}

/* Linhas do título: stagger entre as 3 rows */
.hero-row {
  opacity: 0;
  animation: intro-fade-up 800ms var(--ease) forwards;
}
.hero-row--top { animation-delay: 360ms; }
.hero-row--mid { animation-delay: 480ms; }
.hero-row--bot { animation-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-stage, .hero-sub, .hero-cta, .hero-meta,
  .hero-row, .eyebrow-line {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.hero-wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 32px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
}
.eyebrow-text { white-space: nowrap; }

/* — Hero stage: foto + texto sobreposto — */
.hero-stage {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  isolation: isolate;
}

.hero-photo-frame {
  position: relative;
  margin: 0;
  width: clamp(260px, 36vw, 460px);
  aspect-ratio: 1388 / 2082;
  grid-area: 1 / 1;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-photo);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--line),
    0 0 0 6px rgba(226, 169, 58, 0.04);
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: saturate(0.55) contrast(1.05) brightness(0.92) sepia(0.18);
}
.hero-photo-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 17, 8, 0) 30%, rgba(26, 17, 8, 0.55) 75%, rgba(26, 17, 8, 0.85) 100%),
    linear-gradient(0deg,   rgba(26, 17, 8, 0.10), rgba(26, 17, 8, 0.10));
  mix-blend-mode: multiply;
}
[data-theme="light"] .hero-photo { filter: saturate(0.7) contrast(1) brightness(1); }
[data-theme="light"] .hero-photo-tint { display: none; }

.hero-title {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 9.5vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
  pointer-events: none;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 0, 0, 0.3);
}
.hero-row {
  display: block;
}
.hero-row--top { transform: translateY(-0.05em); }
.hero-row--mid { transform: translateY(0); }
.hero-row--bot { transform: translateY(0.05em); }

.hero-italic {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-shadow:
    0 0 40px var(--accent-glow),
    0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  margin: 40px auto 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: balance;
}

.hero-cta {
  margin-top: 32px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-button);
  border: 1px solid var(--accent);
  box-shadow:
    0 12px 30px -10px var(--accent-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px -8px var(--accent-glow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.cta-primary:active { transform: translateY(0); }
.cta-arrow { transition: transform .2s var(--ease); }
.cta-primary:hover .cta-arrow { transform: translateX(3px); }

.cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-button);
  border: 1px solid var(--line-strong);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.cta-secondary:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.hero-meta {
  margin: 28px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.meta-dot { color: var(--gold); }

/* ════════ FOOTER ════════ */

.footer {
  position: relative; z-index: 1;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer .container {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.footer-credentials {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.footer-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.socials { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.legal {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ════════ MODAL ════════ */

.lead-modal {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-soft);
  color: var(--ink);
  width: min(560px, 92vw);
  max-height: 92svh;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--line);
}
.lead-modal::backdrop {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 79, 0, 0.10), transparent 70%),
    rgba(10, 6, 3, 0.78);
  backdrop-filter: blur(8px);
}
.lead-modal[open] {
  animation: modal-in .25s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-3);
  transition: color .2s var(--ease), background .2s var(--ease);
  z-index: 2;
}
.modal-close:hover { color: var(--ink); background: var(--surface-2); }

.modal-view {
  padding: 40px 32px 32px;
  max-height: 92svh;
  overflow-y: auto;
}

.modal-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.modal-lede {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--ink-2);
}

.modal-form {
  display: flex; flex-direction: column; gap: 16px;
}

.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.req { color: var(--accent); margin-left: 2px; }
.field-help {
  font-size: 12px;
  color: var(--ink-muted);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  font: inherit;
  letter-spacing: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 100px; font-family: var(--font-body); }
.field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8a48a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.radio-fieldset {
  border: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.radio {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.radio input[type="radio"] {
  accent-color: var(--accent);
  width: 16px; height: 16px;
}
.radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-button);
  border: 1px solid var(--accent);
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-lg    { padding: 16px 24px; font-size: 14px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-button);
  border: 1px solid var(--line);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); background: var(--gold-soft); }
.btn-ghost:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn-primary.loading .btn-spinner { display: inline-block; }
.btn-primary.loading .btn-label   { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin: 4px 0 0;
  font-size: 13px;
  min-height: 1.2em;
  color: var(--ink-muted);
}
.form-status.is-error { color: var(--bad); }
.form-status.is-ok    { color: var(--good); }

/* — Progress stage 2 — */
.progress { margin: 0 0 24px; }
.progress-steps {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: flex; gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.progress-step.active { color: var(--accent); }
.progress-step.done   { color: var(--ink-2); }
.progress-step.done::before { content: "✓ "; color: var(--accent); }
.progress-bar {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .3s var(--ease);
}

.form-group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.form-nav { display: flex; gap: 10px; margin-top: 8px; }
.form-nav .btn-primary { margin-left: auto; }

/* — Success — */
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ════════ RESPONSIVE ════════ */

@media (max-width: 720px) {
  .hero { padding: 32px 18px 60px; min-height: calc(100svh - 70px); }
  .hero-photo-frame {
    width: min(72vw, 320px);
    box-shadow:
      0 24px 60px -16px rgba(0, 0, 0, 0.6),
      0 0 0 1px var(--line);
  }
  .hero-title {
    font-size: clamp(40px, 12vw, 64px);
    line-height: 0.9;
  }
  .hero-sub { margin-top: 28px; font-size: 16px; }
  .cta-primary, .cta-secondary { padding: 16px 22px; font-size: 12px; }
  .topbar { padding: 14px 18px; }
  .topbar-mark { font-size: 10px; letter-spacing: 0.16em; }
  .eyebrow-line { width: 24px; }
  .hero-eyebrow { font-size: 10px; gap: 10px; }
  .modal-view { padding: 32px 22px 24px; }
  .modal-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta > * { width: 100%; }
  .hero-meta { flex-wrap: wrap; justify-content: center; }
}

/* ════════ MOTION OFF ════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   APLICAÇÃO · FULL-PAGE TYPEFORM (/mentoria/aplicacao/)
   ════════════════════════════════════════════════════════════════ */

.aplicacao-body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
}

/* ── HEADER MINIMAL ── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: linear-gradient(to bottom, rgba(26, 17, 8, 0.92), rgba(26, 17, 8, 0.78));
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .app-header {
  background: linear-gradient(to bottom, rgba(252, 247, 240, 0.92), rgba(252, 247, 240, 0.78));
}
.app-header .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 200ms var(--ease);
}
.app-header .back:hover { color: var(--ink); }
.app-header-mark {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.app-header-greet { color: var(--accent); }

/* ── MAIN CONTAINER ── */
.app-main {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 120px;
}

/* ── PROGRESS DOTS ── */
.app-progress {
  margin-bottom: 48px;
}
.app-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.app-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color 200ms var(--ease);
}
.app-dot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 220ms var(--ease);
}
.app-dot-label {
  font-family: var(--font-display);
  font-weight: 500;
}
.app-dot.active { color: var(--ink); }
.app-dot.active .app-dot-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1108;
}
.app-dot.done { color: var(--ink-2); }
.app-dot.done .app-dot-num {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.app-dot.done .app-dot-num::before {
  content: "✓";
  font-size: 14px;
}
.app-dot.done .app-dot-num > * { display: none; }

.app-progress-bar {
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.app-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 360ms var(--ease);
}

/* ── BLOCO ── */
.app-block {
  animation: app-block-in 480ms var(--ease);
  scroll-margin-top: 96px;
}
@keyframes app-block-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.app-block-head {
  margin-bottom: 32px;
}
.app-block-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.app-block-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.app-block-title em {
  font-family: var(--font-edit, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.08em;
}
.app-block-sub {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}
.app-block-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Overrides nos fields pra ficar mais Typeform */
.app-block-body .field-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.app-block-body input[type="text"],
.app-block-body input[type="email"],
.app-block-body input[type="tel"],
.app-block-body select,
.app-block-body textarea {
  font-size: 16px;
}

/* ── NAV (Próximo / Voltar / Submit) ── */
.app-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding: 18px 0 8px;
  background: linear-gradient(to top, var(--bg) 60%, transparent);
}
.app-nav .btn-ghost {
  font-size: 13px;
  padding: 12px 16px;
}
.app-nav .btn-primary {
  margin-left: auto;
  min-width: 200px;
}

/* Estado disabled mais visível que o default */
.app-nav .btn-primary:disabled {
  opacity: 0.4;
  filter: saturate(0.6);
}

/* ── SUCCESS STATE ── */
.app-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
  padding: 24px 0;
  animation: app-block-in 600ms var(--ease);
}
.app-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 79, 0, 0.12);
  color: var(--accent);
  margin-bottom: 24px;
}
.app-success-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.app-success-title span { color: var(--accent); }
.app-success-lede {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}
.app-success-lede strong { color: var(--ink); }
.app-success-bridge {
  margin: 0 0 32px;
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.app-success-bridge strong { color: var(--ink); }
.app-success-foot {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
}

/* CTA Comunidade Clareza (verde WhatsApp + brand accent) */
.cta-clareza {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  background: #25d366;
  color: #0a1f0e;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 32px -10px rgba(37, 211, 102, 0.5);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.cta-clareza:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.65);
}
.cta-clareza svg { flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .app-header { padding: 14px 18px; }
  .app-header-mark { font-size: 10px; letter-spacing: 0.14em; }
  .app-main { padding: 28px 20px 100px; }
  .app-progress { margin-bottom: 36px; }
  .app-dot-label { display: none; }
  .app-dot { justify-content: center; }
  .app-block-head { margin-bottom: 24px; }
  .app-block-title { font-size: clamp(28px, 9vw, 40px); }
  .app-block-sub { font-size: 15px; }
  .app-nav .btn-primary { min-width: 0; flex: 1; }
  .app-success-bridge { padding: 18px 18px; font-size: 14px; }
  .cta-clareza { width: 100%; padding: 16px 22px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   AULA (freebie /aula/) — overrides + componentes específicos
   Estado A: oferta vitalícia até 30/05/2026 23:59 BRT
   Estado B: anual R$197 (ativar trocando data-offer-state no <body>)
   ═══════════════════════════════════════════════════════════ */

main { display: block; }

/* ── HERO ── */
.aula-hero {
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;
}
.aula-hero-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.aula-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 24px 0 0;
}
.aula-row { display: block; }
.aula-row--top { color: var(--ink); }
.aula-row--mid { color: var(--ink); }
.aula-row--bot { color: var(--ink-3); }
.aula-italic {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.aula-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin: 28px auto 0;
}

/* ── VÍDEO ── */
.aula-video-section {
  padding: 32px 24px 24px;
  position: relative;
  z-index: 1;
}
.aula-video-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.aula-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 32px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--line-strong),
    0 0 0 8px rgba(255, 79, 0, 0.08);
}
.aula-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── OFERTA ── */
.aula-offer {
  padding: 56px 24px 48px;
  position: relative;
  z-index: 1;
}
.aula-offer-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 79, 0, 0.10), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 40px 28px 36px;
}
.aula-offer-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.aula-offer-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 79, 0, 0.10); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 79, 0, 0.20); }
}

/* Countdown */
.aula-countdown {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 0 28px;
  font-variant-numeric: tabular-nums;
}
.aula-countdown.is-expired .cd-num { color: var(--ink-muted); }
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 12px 8px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cd-lbl {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}
.cd-sep {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  color: var(--ink-muted);
  padding-top: 10px;
}

.aula-offer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 12px;
}
.aula-offer-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.price-currency {
  font-size: 22px;
  color: var(--ink-3);
}
.price-amount {
  font-size: clamp(48px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-unit {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.aula-offer-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 28px;
}
.aula-offer-note strong { color: var(--ink); }

/* CTA primário grande */
.aula-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  padding: 20px 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px var(--accent-glow);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.aula-cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -14px var(--accent-glow);
}
.aula-cta-primary .cta-arrow {
  transition: transform 180ms var(--ease);
}
.aula-cta-primary:hover .cta-arrow {
  transform: translateX(4px);
}
.aula-offer-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin: 16px 0 0;
}

/* ── SECTIONS GENÉRICAS ── */
.aula-section-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.aula-section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.aula-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 28px;
}

/* ── CURRICULUM ── */
.aula-curriculum {
  padding: 48px 24px 32px;
  position: relative;
  z-index: 1;
}
.aula-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aula-bullets li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.bullet-dot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.aula-bullets li div {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}
.aula-bullets strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ── AUTORIDADE ── */
.aula-authority {
  padding: 40px 24px 32px;
  position: relative;
  z-index: 1;
}
.aula-authority-wrap { text-align: center; }
.aula-authority-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto;
}

/* ── FAQ ── */
.aula-faq {
  padding: 32px 24px 48px;
  position: relative;
  z-index: 1;
}
.aula-faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.aula-faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.aula-faq-item summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.005em;
}
.aula-faq-item summary::-webkit-details-marker { display: none; }
.aula-faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 180ms var(--ease);
}
.aula-faq-item[open] summary::after { transform: rotate(45deg); }
.aula-faq-item p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 12px 0 0;
}

/* ── CTA FINAL ── */
.aula-cta-final {
  padding: 56px 24px 80px;
  position: relative;
  z-index: 1;
}
.aula-cta-final-wrap { text-align: center; }
.aula-cta-final-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 32px;
}
.aula-cta-primary--final {
  margin: 0 auto;
}
.aula-cta-final-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 16px 0 0;
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE AULA ── */
@media (max-width: 560px) {
  .aula-hero { padding: 48px 18px 24px; }
  .aula-video-section { padding: 24px 14px 16px; }
  .aula-offer { padding: 40px 14px 36px; }
  .aula-offer-wrap { padding: 32px 18px 28px; }
  .cd-cell { min-width: 54px; padding: 10px 6px 6px; }
  .cd-lbl { font-size: 9px; }
  .aula-curriculum,
  .aula-authority,
  .aula-faq,
  .aula-cta-final { padding-left: 18px; padding-right: 18px; }
  .aula-cta-primary { padding: 18px 22px; font-size: 16px; }
}

