/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --red:        #7E0F12;
  --red-deep:   #5f0a0d;
  --vanilla:    #F3EAD9;
  --paper:      #F4EFE8;
  --surface:    #FBF8F2;
  --surface-2:  #EFE5D6;
  --ink:        #121212;
  --white:      #ffffff;
  --muted:      rgba(18, 18, 18, 0.52);
  --muted-soft: rgba(18, 18, 18, 0.34);
  --rule:       rgba(18, 18, 18, 0.12);
  --rule-soft:  rgba(18, 18, 18, 0.07);
  --rule-light: rgba(244, 239, 232, 0.14);
  --red-shadow: rgba(126, 15, 18, 0.18);

  --font-display: 'Jost', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* ─── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(244, 239, 232, 0.88);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand, .nav-links { display: flex; align-items: center; }

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  gap: clamp(20px, 2.5vw, 36px);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.nav-links a:hover { color: var(--ink); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  min-height: 42px;
  padding: 11px 22px;
  text-transform: uppercase;
  transition: background 130ms ease, color 130ms ease, transform 130ms ease, box-shadow 130ms ease;
  white-space: nowrap;
}

.nav-cta,
.button-primary {
  background: var(--red);
  color: var(--white);
}
.nav-cta:hover,
.button-primary:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px var(--red-shadow);
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(18, 18, 18, 0.22);
  color: var(--ink);
}
.button-secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

/* ─── EYEBROW ─────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ─── TIPOGRAFIA ──────────────────────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 0;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 20px;
}
h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: clamp(72px, 10vw, 130px) clamp(28px, 5vw, 80px);
  position: relative;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 56px;
}
.section-heading h2  { margin-bottom: 0; }

.section-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.72;
  max-width: 58ch;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(115deg, var(--paper) 0%, var(--surface) 54%, var(--vanilla) 100%);
  color: var(--ink);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 72px) clamp(48px, 6vw, 88px);
  border-right: 1px solid var(--rule);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  margin-bottom: 28px;
  max-width: 16ch;
}

.hero-copy {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.76;
  max-width: 48ch;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.microcopy {
  color: var(--muted-soft);
  font-size: 0.71rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-right {
  background: var(--vanilla);
  overflow: hidden;
  position: relative;
}
.hero-right::after {
  background:
    linear-gradient(90deg, rgba(244, 239, 232, 0.18), rgba(244, 239, 232, 0)),
    linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.16));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.hero-right img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96) brightness(1.02);
  object-position: 66% center;
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), object-position 900ms cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

/* ─── HERO ANIMAÇÕES ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-left > * {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  opacity: 0;
}
.hero-left > *:nth-child(1) { animation-delay: 0.08s; }
.hero-left > *:nth-child(2) { animation-delay: 0.18s; }
.hero-left > *:nth-child(3) { animation-delay: 0.28s; }
.hero-left > *:nth-child(4) { animation-delay: 0.38s; }
.hero-left > *:nth-child(5) { animation-delay: 0.46s; }
.hero-left > *:nth-child(6) { animation-delay: 0.54s; }
.hero-right { animation: fadeIn 1.2s ease 0.06s both; }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
/* Só esconde quando JS ativou a classe no body */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-reveal .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.js-reveal .reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.06s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.14s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.22s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.30s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.38s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.46s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.54s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.62s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.70s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.78s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.86s; }
.js-reveal .reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.94s; }

/* ─── A DIFERENÇA: VERMELHO ───────────────────────────────── */
.section-diferenca {
  background: var(--red);
  color: var(--white);
}
.section-diferenca .eyebrow { color: rgba(244, 239, 232, 0.52); }
.section-diferenca h2       { color: var(--white); }

.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comp-card {
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
}

.comp-card--before {
  background: rgba(244, 239, 232, 0.72);
  opacity: 0.86;
}
.comp-card--before h3 { color: rgba(18, 18, 18, 0.56); }
.comp-card--before p  { color: rgba(18, 18, 18, 0.5); font-weight: 300; font-size: 0.9rem; line-height: 1.75; margin: 0; }

.comp-card--sofia {
  background: var(--vanilla);
  color: var(--ink);
}
.comp-card--sofia h3 { color: var(--ink); }
.comp-card--sofia p  { color: rgba(18, 18, 18, 0.62); font-weight: 300; font-size: 0.9rem; line-height: 1.75; margin: 0; }

.comp-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid currentColor;
  align-self: flex-start;
}
.comp-card--before .comp-tag { color: rgba(18, 18, 18, 0.32); }
.comp-card--sofia  .comp-tag { color: var(--red); }

.comp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.comp-card--before .comp-list li { color: rgba(18, 18, 18, 0.42); font-weight: 300; }
.comp-card--sofia  .comp-list li { color: rgba(18, 18, 18, 0.66); font-weight: 300; }

.comp-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
}
.comp-x     { background: rgba(18, 18, 18, 0.08); color: rgba(18, 18, 18, 0.34); }
.comp-check { background: var(--red); color: var(--white); }

/* ─── COMO FUNCIONA ───────────────────────────────────────── */
.how { background: var(--surface); }

.steps-visual { border-top: 1px solid var(--rule); }

.step {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 100px) 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--rule);
}

.step-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--red);
  opacity: 0.28;
  line-height: 1;
  padding-top: 6px;
  letter-spacing: -0.02em;
}

.step-body h3 { margin-bottom: 10px; }
.step-body p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.76;
  margin: 0;
  max-width: 58ch;
}

/* ─── MOCKUP BAND ─────────────────────────────────────────── */
.mockup-band {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}

.mockup-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 64px);
  background: var(--vanilla);
  border-right: 1px solid var(--rule);
}

.mockup-frame { margin: 0; }
.mockup-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }
.mockup-frame--primary  { transform: translateY(0); }
.mockup-frame--secondary { transform: translateY(32px); }

.mockup-copy {
  padding: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.mockup-copy .eyebrow { margin: 0; }

.mockup-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  margin: 0;
  line-height: 1.05;
}

.mockup-lead {
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.76;
  max-width: 38ch;
  margin: 0;
}

/* ─── APROFUNDAMENTO: ESCURO ──────────────────────────────── */
.aprofundamento {
  background: var(--ink);
  color: var(--white);
}
.aprofundamento .eyebrow { color: rgba(244, 239, 232, 0.38); }

.apro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.apro-content h2 { color: var(--white); }
.apro-body {
  color: rgba(244, 239, 232, 0.58);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.76;
  margin-bottom: 24px;
}
.apro-highlight {
  border-left: 2px solid var(--red);
  padding-left: 20px;
  color: rgba(244, 239, 232, 0.84);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.72;
  margin: 0;
}

.skills-console {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.skill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tab {
  appearance: none;
  background: rgba(244, 239, 232, 0.04);
  border: 1px solid rgba(244, 239, 232, 0.14);
  color: rgba(244, 239, 232, 0.56);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 18px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}
.skill-tab:hover,
.skill-tab:focus-visible,
.skill-tab[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  outline: 0;
}
.skill-tab:focus-visible {
  box-shadow: 0 0 0 3px rgba(126, 15, 18, 0.34);
}
.skill-tab[aria-selected="true"] {
  transform: translateY(-1px);
}

.skill-card {
  background:
    linear-gradient(135deg, rgba(244, 239, 232, 0.09), rgba(244, 239, 232, 0.025));
  border: 1px solid rgba(244, 239, 232, 0.14);
  color: var(--white);
  min-height: 300px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}
.skill-card::before {
  background: var(--red);
  content: "";
  height: 2px;
  left: clamp(28px, 4vw, 44px);
  position: absolute;
  right: clamp(28px, 4vw, 44px);
  top: 0;
}
.skill-card.is-switching {
  opacity: 0;
  transform: translateY(8px);
}
.skill-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: 4px;
}
.skill-kicker {
  color: rgba(244, 239, 232, 0.42);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.skill-card h3 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.skill-card p:not(.skill-kicker) {
  color: rgba(244, 239, 232, 0.68);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.72;
  max-width: 560px;
}
.skill-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.skill-card li {
  border: 1px solid rgba(244, 239, 232, 0.16);
  color: rgba(244, 239, 232, 0.74);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 9px 13px;
  text-transform: uppercase;
}

/* ─── CUSTO / EQUIPE ──────────────────────────────────────── */
.custo { background: var(--paper); }

.cost-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}

.cost-card {
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--rule);
  background: var(--surface);
}
.cost-card:last-child { border-right: 0; }

.cost-value {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.cost-rule {
  display: block;
  height: 2px;
  width: 32px;
  background: var(--rule);
  margin: 2px 0;
}

.cost-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cost-card p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

.cost-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 8px;
  transition: opacity 120ms ease;
}
.cost-cta:hover { opacity: 0.8; }

.cost-card--sofia {
  background: var(--ink);
  border-color: var(--ink);
}
.cost-card--sofia .cost-value { color: var(--white); }
.cost-card--sofia .cost-rule  { background: rgba(255, 255, 255, 0.18); }
.cost-card--sofia .cost-label { color: rgba(255, 255, 255, 0.38); }
.cost-card--sofia p            { color: rgba(255, 255, 255, 0.52); }

/* ─── PARA QUEM ───────────────────────────────────────────── */
.para-quem { background: var(--surface); }

.persona-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule);
}

.persona-card {
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  transition: background 200ms ease;
}
.persona-card:nth-child(2n)  { border-right: 0; }
.persona-card:nth-child(3),
.persona-card:nth-child(4)   { border-bottom: 0; }
.persona-card:hover          { background: var(--vanilla); }

.persona-icon {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 24px;
}

.persona-card h3 { margin-bottom: 10px; }
.persona-card p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.72;
  margin: 0;
}

/* ─── PHOTO BAND ──────────────────────────────────────────── */
.photo-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}
.photo-band img {
  height: clamp(340px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.photo-band-copy {
  padding: clamp(42px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--rule);
}
.photo-band-copy h2 { max-width: 520px; }
.photo-band-copy p  { color: var(--muted); font-weight: 300; font-size: 0.93rem; line-height: 1.75; max-width: 44ch; margin: 0; }

/* ─── BETA / ACESSO ───────────────────────────────────────── */
.beta {
  background:
    linear-gradient(135deg, var(--vanilla) 0%, var(--paper) 62%, var(--surface) 100%);
  color: var(--ink);
}

.beta-header {
  max-width: 680px;
  margin-bottom: 52px;
}
.beta-header .eyebrow { color: var(--red); }
.beta-header h2 { color: var(--ink); margin-bottom: 16px; }

.beta-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.76;
  max-width: 58ch;
  margin-bottom: 10px;
}

.beta-process {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--rule);
  margin-bottom: 48px;
  background: rgba(251, 248, 242, 0.58);
}

.beta-step {
  padding: clamp(20px, 3vw, 36px) clamp(18px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--rule-soft);
}

.beta-step-num {
  font-family: var(--font-display);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  opacity: 0.5;
}

.beta-step strong {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.beta-step span {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

.beta-step--muted { opacity: 0.45; }

.beta-arrow {
  padding: 0 clamp(10px, 1.5vw, 20px);
  font-size: 1rem;
  color: var(--muted-soft);
  user-select: none;
}

.beta-bottom { padding-top: 4px; }
.beta-bottom .button-primary       { background: var(--red); color: var(--white); }
.beta-bottom .button-primary:hover { background: var(--ink); box-shadow: none; }

/* ─── CANDIDATURA ─────────────────────────────────────────── */
.application {
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0; /* override .section */
  align-items: stretch;
  border-top: 1px solid var(--rule);
}

.application-copy {
  padding: clamp(72px, 9vw, 128px) clamp(36px, 5.5vw, 88px);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.application-copy h2 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  margin-bottom: 20px;
}

.application-copy > p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.76;
  max-width: 42ch;
}

.queue-proof {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-left: 2px solid var(--red);
  padding-left: 20px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.queue-proof span {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
}

/* ─── FORM ────────────────────────────────────────────────── */
.application > .lead-form {
  margin: clamp(48px, 7vw, 88px) clamp(36px, 5.5vw, 88px);
}

.lead-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px);
}

.honeypot {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

label {
  display: grid;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.94rem;
  min-height: 48px;
  padding: 12px 14px;
  transition: border-color 120ms ease, background 120ms ease;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  background: var(--white);
  border-color: var(--red);
  outline: none;
}
textarea { resize: vertical; }

.form-note    { color: var(--muted); font-size: 0.73rem; margin: 0; }
.form-success { color: var(--ink); font-size: 0.73rem; font-weight: 600; margin: 0; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--paper); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
  padding-bottom: 22px;
  margin: 0;
  max-width: 66ch;
}

/* ─── FINAL CTA: VERMELHO ─────────────────────────────────── */
.final-cta {
  background:
    linear-gradient(135deg, var(--red-deep) 0%, var(--red) 58%, #671014 100%);
  color: var(--white);
  padding: clamp(80px, 11vw, 160px) clamp(28px, 5vw, 80px);
}

.final-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-cta .eyebrow { color: rgba(244, 239, 232, 0.5); }
.final-cta h2 {
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.05;
}
.final-inner p {
  color: rgba(244, 239, 232, 0.72);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 40px;
}
.final-cta .button-primary       { background: var(--paper); color: var(--red); }
.final-cta .button-primary:hover { background: var(--ink); color: var(--white); box-shadow: none; }

/* ─── PÁGINAS INTERNAS OCULTAS ───────────────────────────── */
.page-topbar .nav-cta {
  margin-left: auto;
}

.subpage {
  background: var(--paper);
  color: var(--ink);
  padding-top: 64px;
}

.subpage-hero {
  min-height: 72svh;
  padding: clamp(92px, 14vw, 170px) clamp(24px, 6vw, 96px) clamp(70px, 10vw, 120px);
}

.subpage-hero h1 {
  max-width: 980px;
}

.subpage-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.78;
  max-width: 720px;
}

.subpage-section {
  padding: clamp(70px, 10vw, 130px) clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--rule);
}

.subpage-heading {
  max-width: 860px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.simulation-grid,
.pricing-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
}

.simulation-card,
.price-card,
.principles-grid article {
  min-height: 300px;
  padding: clamp(26px, 3.5vw, 44px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.simulation-card:nth-child(3n),
.price-card:nth-child(3n),
.principles-grid article:nth-child(3n) {
  border-right: 0;
}

.simulation-card:nth-last-child(-n + 3),
.price-card:nth-last-child(-n + 3),
.principles-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.simulation-card span,
.price-card span {
  color: var(--red);
  display: block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.simulation-card h3,
.price-card h3,
.principles-grid h3 {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  margin-bottom: 18px;
}

.simulation-card p,
.price-card p,
.principles-grid p,
.about-copy p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.76;
}

.simulation-card strong {
  color: var(--ink);
  font-weight: 600;
}

.price-card ul {
  color: var(--muted);
  margin: 28px 0 0;
  padding-left: 18px;
}

.price-card--featured {
  background: var(--ink);
  color: var(--white);
}

.price-card--featured p,
.price-card--featured ul {
  color: rgba(255, 255, 255, 0.62);
}

.about-grid {
  display: grid;
  gap: clamp(36px, 7vw, 90px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.about-copy {
  max-width: 720px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(28px, 5vw, 80px);
  border-top: 1px solid var(--rule-light);
}
.footer span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}
.footer p {
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}
.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.footer a {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  transition: color 120ms ease;
}
.footer svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 15px;
}
.footer a:hover { color: var(--white); }

/* ─── RESPONSIVO: 1024 ────────────────────────────────────── */
@media (max-width: 1024px) {
  .beta-process {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .beta-arrow { display: none; }
  .beta-step  { border-right: 0; border-bottom: 1px solid rgba(25, 25, 25, 0.1); }
  .beta-step:nth-child(odd)  { border-right: 1px solid rgba(25, 25, 25, 0.1); }
  .beta-step:last-child      { border-bottom: 0; }
}

/* ─── RESPONSIVO: 900 ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-left {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-top: 48px;
    justify-content: flex-start;
  }
  .hero-right {
    height: 50vw;
    max-height: 420px;
    min-height: 240px;
  }

  .comp-grid { grid-template-columns: 1fr; gap: 2px; }

  .apro-layout { grid-template-columns: 1fr; }
  .skills-console { max-width: 760px; }

  .cost-cards { grid-template-columns: 1fr; }
  .cost-card  { border-right: 0; border-bottom: 1px solid var(--rule); }
  .cost-card:last-child { border-bottom: 0; }

  .persona-cards { grid-template-columns: 1fr; }
  .persona-card  { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
  .persona-card:last-child { border-bottom: 0 !important; }

  .mockup-band { grid-template-columns: 1fr; }
  .mockup-frames { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mockup-frame--secondary { transform: translateY(0); }

  .photo-band  { grid-template-columns: 1fr; }
  .photo-band img { min-height: 360px; }
  .photo-band-copy { border-left: 0; border-top: 1px solid var(--rule); }

  .beta-process { grid-template-columns: 1fr; }
  .beta-step    { border-right: 0 !important; border-bottom: 1px solid rgba(25, 25, 25, 0.1); }
  .beta-step:last-child { border-bottom: 0; }

  .application { grid-template-columns: 1fr; }
  .application-copy { border-right: 0; border-bottom: 1px solid var(--rule); }
  .application > .lead-form { margin: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px); }

  .simulation-grid,
  .pricing-grid,
  .principles-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .simulation-card,
  .price-card,
  .principles-grid article,
  .simulation-card:nth-child(3n),
  .price-card:nth-child(3n),
  .principles-grid article:nth-child(3n),
  .simulation-card:nth-last-child(-n + 3),
  .price-card:nth-last-child(-n + 3),
  .principles-grid article:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .simulation-card:last-child,
  .price-card:last-child,
  .principles-grid article:last-child {
    border-bottom: 0;
  }
}

/* ─── RESPONSIVO: 600 ─────────────────────────────────────── */
@media (max-width: 600px) {
  .topbar     { padding: 0 16px; height: 56px; }
  .nav-cta    { font-size: 0.61rem; min-height: 38px; padding: 9px 14px; }
  .brand-logo { height: 28px; }

  .hero      { padding-top: 56px; }
  .hero-left { padding: 36px 16px 28px; }

  .section, .final-cta, .mockup-band { padding-left: 16px; padding-right: 16px; }
  .subpage { padding-top: 56px; }
  .subpage-hero,
  .subpage-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .subpage-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .skill-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .skill-tab {
    padding-left: 12px;
    padding-right: 12px;
    min-height: 44px;
  }
  .skill-card {
    min-height: 280px;
    padding: 26px 20px;
  }
  .skill-card::before {
    left: 20px;
    right: 20px;
  }

  .queue-proof { flex-direction: column; gap: 4px; }
  .queue-proof span { font-size: 2.5rem; }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
