/* Tokens de cor: claro por padrão; escuro via preferência do sistema ou data-theme. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6577;
  --line: #e4e8f0;
  --accent: #d81b7e;
  --accent-strong: #b8126a;
  --accent-soft: #fde8f3;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 12px 32px -18px rgb(15 23 42 / 22%);
  --hero-a: #fde8f3;
  --hero-b: #ffffff;
  --glow: rgb(216 27 126 / 28%);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000002;
  --bg-alt: #0d0d0e;
  --surface: #111111;
  --text: #fffffe;
  --muted: #a1a1a1;
  --line: #292829;
  --accent: #f938a1;
  --accent-strong: #e393bd;
  --accent-soft: rgb(249 56 161 / 14%);
  --shadow: 0 1px 2px rgb(0 0 0 / 50%), 0 0 0 1px rgb(255 255 255 / 4%) inset, 0 20px 50px -24px rgb(249 56 161 / 22%);
  --hero-a: #3a0d2a;
  --hero-b: #000002;
  --glow: rgb(249 56 161 / 45%);
  --orb-a-opacity: .22;
  --orb-b-display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000002;
    --bg-alt: #0d0d0e;
    --surface: #111111;
    --text: #fffffe;
    --muted: #a1a1a1;
    --line: #292829;
    --accent: #f938a1;
    --accent-strong: #e393bd;
    --accent-soft: rgb(249 56 161 / 14%);
    --shadow: 0 1px 2px rgb(0 0 0 / 50%), 0 0 0 1px rgb(255 255 255 / 4%) inset, 0 20px 50px -24px rgb(249 56 161 / 22%);
    --hero-a: #3a0d2a;
    --hero-b: #000002;
    --glow: rgb(249 56 161 / 45%);
    --orb-a-opacity: .22;
    --orb-b-display: block;
  }
}

*,
*::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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}
.brand-mark rect { fill: var(--accent); }
.brand-mark path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle:hover { border-color: var(--accent); }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #f938a1 0%, #f34461 100%);
  color: #fff;
  box-shadow: 0 0 0 0 var(--glow);
}
.btn-primary:hover {
  box-shadow: 0 0 .25rem .15rem var(--glow), 0 12px 28px -12px var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 15px;
}
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--hero-a), transparent 70%),
    linear-gradient(180deg, var(--hero-b), var(--bg));
}
.hero-inner { max-width: 820px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
}
[data-theme="dark"] h1 {
  background-image: linear-gradient(#fff 20%, #fff8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) h1 {
    background-image: linear-gradient(#fff 20%, #fff8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}
h3 {
  font-size: 20px;
  font-weight: 700;
}

.lead {
  margin: 22px 0 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}
.hero-stats li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong { font-size: 15px; }
.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}

/* Seções */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 .25rem 0 var(--glow);
  transform: translateY(-2px);
}
.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 6px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.split p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  margin: 18px 0 0;
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.values li {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.values strong { font-size: 17px; }
.values span {
  color: var(--muted);
  font-size: 15px;
}

/* Contato */
.cta { padding: 96px 0; }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 260px at 0% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.cta p:not(.eyebrow) {
  color: var(--muted);
  margin: 14px 0 0;
}
.cta-box {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.brand-footer { font-size: 16px; }
.registry {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.registry strong { font-variant-numeric: tabular-nums; }
.copy {
  text-align: left;
}

/* Atmosfera: orbes desfocados atrás do hero (efeito de glow do levantamento). */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
}
.hero::before { background: #f938a1; top: -28vmax; right: -18vmax; opacity: var(--orb-a-opacity, .07); }
.hero::after { background: #500b38; bottom: -30vmax; left: -22vmax; opacity: .45; display: var(--orb-b-display, none); }

/* Entradas: sobem e aparecem em sequência no carregamento; blocos aparecem ao rolar. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-anim {
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsivo */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .split,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-inner { padding: 32px; gap: 28px; }
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .section, .cta { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .nav-actions .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .hero-anim { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after { filter: none; }
}

/* ── Seções adicionais ─────────────────────────────────────────── */

.strip {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  padding: 18px 0;
  font-size: 14px;
  color: var(--muted);
}
.strip-inner span[aria-hidden="true"] { color: var(--accent); }

.badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}
.card-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* Como funciona */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* Lista de espera e formulários */
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 56px;
  align-items: start;
}
.waitlist > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  margin: 18px 0 0;
}
.perks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.perks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}
.perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-error {
  margin: 0;
  font-size: 13px;
  color: #e5484d;
}
.field input[aria-invalid="true"] { border-color: #e5484d; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #e5484d; }

/* Dúvidas */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Contato */
.contact-line {
  font-size: 15px;
  margin-top: 20px;
}
.contact-line a { color: var(--accent); font-weight: 600; }
.form-contact {
  padding: 28px;
  background: var(--bg);
  box-shadow: none;
}

/* Rodapé em colunas */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand p { margin: 14px 0 0; max-width: 320px; font-size: 14px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-bottom .copy { text-align: right; }

/* Responsivo das seções novas */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .waitlist { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .form { padding: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .copy { text-align: left; }
}

.footer-brand p { text-align: left; }
