/* ═══════════════════════════════════════════════════════════════
   DESFRALDE SEM CRISE — Landing Page
   Tudo Para Mamães · Evelyn Gregorio
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
input, button, textarea, select { font: inherit; color: inherit; }

/* ── 2. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Palette */
  --cream:           #FAF6F0;
  --cream-deep:      #F5EDE2;
  --beige:           #E8D5BC;
  --beige-light:     #F0E2CE;
  --peach:           #FFD4B8;
  --peach-soft:      #FFE5D4;
  --pink:            #E8B4B8;
  --pink-soft:       #F5D3D5;
  --pink-deep:       #D4969B;
  --terracotta:      #C97B5F;
  --terracotta-dark: #A85F46;
  --terracotta-deep: #8B4A35;

  /* Neutrals */
  --ink:             #3D2F2A;
  --ink-soft:        #5C4A42;
  --muted:           #8B7B73;
  --muted-light:     #B5A89F;
  --line:            #E8DFD5;
  --line-soft:       #F0E8DD;
  --white:           #FFFFFF;

  /* Type */
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows — soft, warm */
  --shadow-xs: 0 1px 2px rgba(141, 102, 80, 0.04);
  --shadow-sm: 0 4px 12px rgba(141, 102, 80, 0.06), 0 1px 2px rgba(141, 102, 80, 0.04);
  --shadow-md: 0 10px 30px rgba(141, 102, 80, 0.08), 0 2px 6px rgba(141, 102, 80, 0.04);
  --shadow-lg: 0 20px 60px rgba(141, 102, 80, 0.10), 0 4px 12px rgba(141, 102, 80, 0.06);

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.625rem); }
h4 { font-size: 1.15rem; }

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--terracotta);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ── 4. LAYOUT HELPERS ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }

/* ── 5. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(201, 123, 95, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 12px 28px rgba(201, 123, 95, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--terracotta-dark);
  border: 1.5px solid var(--beige);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--peach-soft);
  border-color: var(--terracotta);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 20px;
}

.btn-ghost:hover { color: var(--terracotta-dark); transform: none; }

.btn-sm {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.btn-block { width: 100%; }

.btn-icon-right svg { transition: transform 0.25s var(--ease); }
.btn-icon-right:hover svg { transform: translateX(3px); }

/* ── 6. NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 240, 0.95);
}

.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img { width: 38px; height: 38px; }

.nav-brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.nav-brand-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover {
  background: var(--cream-deep);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  align-items: center;
  justify-content: center;
}

.nav-mobile { display: none; }

.nav-toggle span {
  width: 20px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ── 7. HERO ──────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 100px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, var(--peach-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 30%, var(--pink-soft) 0%, transparent 55%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta-dark);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--peach);
  border-radius: var(--r-pill);
  z-index: -1;
  opacity: 0.6;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-avatars {
  display: flex;
}

.trust-avatars .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.trust-avatars .avatar:first-child { margin-left: 0; }
.trust-avatars .avatar:nth-child(1) { background: linear-gradient(135deg, var(--peach), var(--terracotta)); }
.trust-avatars .avatar:nth-child(2) { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.trust-avatars .avatar:nth-child(3) { background: linear-gradient(135deg, var(--beige), var(--terracotta-dark)); }
.trust-avatars .avatar:nth-child(4) { background: linear-gradient(135deg, var(--peach-soft), var(--pink)); }

.trust-text {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.trust-text strong {
  color: var(--ink);
  font-weight: 700;
}

.trust-stars {
  display: inline-flex;
  gap: 2px;
  margin-right: 6px;
  color: var(--terracotta);
}

/* Hero visual (book) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-book {
  position: relative;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 30px 50px rgba(141, 102, 80, 0.25));
  transition: transform 0.6s var(--ease-out);
}

.hero-book:hover { transform: translateY(-6px) rotate(-1deg); }

.hero-badge-floating {
  position: absolute;
  top: 8%;
  left: -8%;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-badge-floating .icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
}

.hero-badge-floating .text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.hero-badge-floating .text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.hero-badge-floating.bottom {
  top: auto;
  left: auto;
  bottom: 6%;
  right: -4%;
}

/* ── 8. CARDS — generic ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s var(--ease);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige);
}

/* ── 9. TOOLS SECTION ─────────────────────────────────────────── */
.tools {
  background: var(--cream-deep);
  position: relative;
}

.tools::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--cream), transparent);
  pointer-events: none;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s var(--ease);
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--peach-soft) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--peach);
}

.tool-card:hover::before { opacity: 0.35; }

.tool-card > * { position: relative; z-index: 1; }

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta-dark);
  transition: background 0.3s var(--ease);
}

.tool-card:hover .tool-icon { background: var(--peach); }

.tool-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.tool-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 22px;
  flex: 1;
}

.tool-card .tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--terracotta-dark);
}

.tool-card .tool-cta svg {
  transition: transform 0.25s var(--ease);
}

.tool-card:hover .tool-cta svg { transform: translateX(4px); }

/* ── 10. MODAL ────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(61, 47, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--cream);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 640px;
  margin: auto 0;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
  overflow: hidden;
}

.modal-backdrop.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 16px;
  gap: 16px;
}

.modal-header h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal-close:hover {
  background: var(--peach-soft);
  color: var(--terracotta-dark);
}

.modal-body {
  padding: 8px 32px 32px;
}

/* ── 11. FORM CONTROLS ────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap .prefix,
.input-wrap .suffix {
  position: absolute;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terracotta);
  pointer-events: none;
}

.input-wrap .prefix { left: 16px; }
.input-wrap .suffix { right: 16px; }

.input,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input-wrap input.has-prefix { padding-left: 44px; }
.input-wrap input.has-suffix { padding-right: 80px; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201, 123, 95, 0.12);
}

input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ── 12. QUIZ ─────────────────────────────────────────────────── */
.quiz-progress {
  height: 6px;
  background: var(--cream-deep);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--peach), var(--terracotta));
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease-out);
}

.quiz-step-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  text-align: left;
  width: 100%;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}

.quiz-option::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.quiz-option:hover {
  border-color: var(--terracotta);
  background: var(--cream);
  transform: translateX(2px);
}

.quiz-option:hover::before { border-color: var(--terracotta); }

.quiz-option.selected {
  border-color: var(--terracotta);
  background: var(--peach-soft);
}

.quiz-option.selected::before {
  border-color: var(--terracotta);
  background: var(--terracotta);
  box-shadow: inset 0 0 0 3px var(--peach-soft);
}

.quiz-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

/* Quiz result */
.quiz-result {
  text-align: center;
  padding: 8px 0;
}

.quiz-result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
}

.quiz-result h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.quiz-result-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.quiz-result p {
  margin-bottom: 16px;
  line-height: 1.65;
}

/* ── 13. CALCULATOR RESULTS ───────────────────────────────────── */
.calc-results {
  margin-top: 24px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: none;
}

.calc-results.show { display: block; }

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.calc-tile {
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 16px;
  border: 1px solid var(--line-soft);
  text-align: center;
}

.calc-tile.feature {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.calc-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.calc-tile.feature .calc-tile-label { color: rgba(255,255,255,0.85); }

.calc-tile-value {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.calc-tile.feature .calc-tile-value { color: var(--cream); }

.calc-savings {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--peach-soft);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--terracotta-deep);
  font-weight: 500;
  line-height: 1.55;
}

.calc-savings strong { font-weight: 700; }

/* ── 14. SOS CARDS ────────────────────────────────────────────── */
.sos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sos-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.sos-card:hover {
  border-color: var(--terracotta);
  background: var(--peach-soft);
}

.sos-card .sos-emoji {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sos-card:hover .sos-emoji { background: var(--white); }

.sos-card .sos-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.sos-answer {
  background: var(--cream);
  padding: 20px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--terracotta);
  margin-top: 16px;
}

.sos-answer h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--terracotta-deep);
}

.sos-answer p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.sos-answer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.sos-answer li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.sos-answer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

/* ── 15. FAQ ──────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item.open { border-color: var(--terracotta); }

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), transform 0.3s var(--ease);
}

.faq-item.open .faq-toggle {
  background: var(--terracotta);
  color: var(--cream);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-answer-inner strong { color: var(--terracotta-deep); font-weight: 600; }

/* ── 15B. LEAD GATE ────────────────────────────────────────────── */
.lead-gate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Skeleton teaser (blurred placeholder content) */
.lead-teaser {
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px;
  background: var(--cream);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}

.lead-teaser-line {
  height: 14px;
  background: var(--beige);
  border-radius: 6px;
  width: 75%;
}

.lead-teaser-line-wide  { width: 92%; }
.lead-teaser-line-short { width: 55%; }

.lead-teaser-bar {
  height: 56px;
  background: var(--peach-soft);
  border-radius: var(--r-sm);
}

.lead-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 8px 0 4px;
}

.lead-teaser-tile {
  height: 64px;
  background: var(--beige-light);
  border-radius: var(--r-sm);
}

.lead-teaser-tile-feature {
  background: var(--terracotta);
}

.lead-teaser-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--peach-soft);
  align-self: center;
}

.lead-teaser-pill {
  height: 22px;
  width: 110px;
  background: var(--terracotta);
  border-radius: var(--r-pill);
  align-self: center;
}

.lead-teaser-event {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-teaser-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.lead-teaser-event-body {
  flex: 1;
  height: 28px;
  background: var(--beige);
  border-radius: 6px;
}

/* The gate form card */
.lead-gate-card {
  background: var(--white);
  border: 1.5px solid var(--peach);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.lead-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--peach-soft);
  color: var(--terracotta-deep);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.lead-gate-card h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.lead-gate-card > p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.lead-gate-card form .field { margin-bottom: 14px; }

.lead-required {
  color: var(--terracotta);
  font-weight: 700;
}

.lead-error {
  color: #B8654A;
  font-weight: 600;
}

/* Checkbox styling */
.lead-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.lead-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.8px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lead-check input[type="checkbox"]:hover {
  border-color: var(--terracotta);
}

.lead-check input[type="checkbox"]:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.lead-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.lead-check a {
  color: var(--terracotta-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-check a:hover { color: var(--terracotta-deep); }

/* Trust signal */
.lead-gate-trust {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.lead-gate-trust svg { color: var(--terracotta); }

/* Reconfirm variant: smaller, lighter */
.lead-gate-reconfirm .lead-gate-card {
  border-color: var(--beige);
}

/* ── 16. ROUTINE GENERATOR OUTPUT ─────────────────────────────── */
.routine-output {
  margin-top: 24px;
  display: none;
}

.routine-output.show { display: block; }

.routine-timeline {
  position: relative;
  padding-left: 28px;
}

.routine-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--peach), var(--terracotta), var(--peach));
  border-radius: 2px;
}

.routine-event {
  position: relative;
  padding: 12px 0 12px 0;
}

.routine-event::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--terracotta);
}

.routine-event-time {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  letter-spacing: 0.04em;
}

.routine-event-action {
  font-size: 0.98rem;
  color: var(--ink);
  margin-top: 2px;
  font-weight: 500;
}

.routine-event-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ── 17. APP SECTION ──────────────────────────────────────────── */
.app-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, var(--peach-soft) 0%, transparent 60%),
    var(--cream);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}

.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.app-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
  flex-shrink: 0;
}

.app-feature-text {
  font-family: var(--font-body);
}

.app-feature-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.app-feature-text span {
  font-size: 0.92rem;
  color: var(--muted);
}

.app-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockup {
  max-width: 320px;
  filter: drop-shadow(0 30px 60px rgba(141, 102, 80, 0.20));
}

.app-insight {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.app-insight.top {
  top: 12%;
  left: -10%;
}

.app-insight.bottom {
  bottom: 14%;
  right: -10%;
}

.app-insight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--peach-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
  flex-shrink: 0;
}

.app-insight-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
}

.app-insight-text strong { color: var(--terracotta-deep); font-weight: 700; }

/* App pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.price-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--line-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--terracotta);
  background: linear-gradient(180deg, var(--white) 0%, var(--peach-soft) 100%);
}

.price-card.featured::before {
  content: 'Mais escolhido';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.price-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 6px;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--terracotta-dark);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23A85F46' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E") no-repeat center / 12px;
}

/* ── 18. AUTHOR ───────────────────────────────────────────────── */
.author-section {
  background: var(--cream-deep);
}

.author-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.author-portrait-wrap {
  position: relative;
}

.author-portrait {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--peach) 0%, var(--terracotta) 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.author-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.25) 0%, transparent 60%);
}

.author-portrait svg {
  width: 70%;
  position: relative;
  z-index: 1;
}

.author-tag {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  z-index: 2;
}

.author-content h2 { margin-bottom: 22px; }

.author-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author-stat-value {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--terracotta-dark);
  letter-spacing: -0.02em;
}

.author-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── 19. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--peach);
  margin-bottom: 12px;
  font-weight: 800;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── 20. MENTORSHIP ───────────────────────────────────────────── */
.mentorship {
  background: var(--cream-deep);
}

.mentorship-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 64px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.mentorship-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--peach-soft) 0%, transparent 70%);
  pointer-events: none;
}

.mentorship-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mentorship-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--peach-soft);
  color: var(--terracotta-deep);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.mentorship-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.mentorship-card h2 { margin-bottom: 16px; }
.mentorship-card p { margin-bottom: 28px; line-height: 1.7; }

.mentorship-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mentorship-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.mentorship-features li svg {
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 2px;
}

.mentorship-spots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.mentorship-spots strong {
  color: var(--terracotta-deep);
  font-weight: 700;
}

.mentorship-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mentorship-illustration {
  width: 100%;
  max-width: 360px;
}

/* ── 21. FINAL CTA ────────────────────────────────────────────── */
.final-cta {
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, var(--peach) 0%, transparent 70%),
    linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before,
.final-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}

.final-cta::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink-soft) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.final-cta::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--beige) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

.final-cta .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ── 22. FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.footer-brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.05rem;
  min-width: 0;
  line-height: 1.25;
}

.footer-brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--beige);
  opacity: 0.7;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--beige);
  opacity: 0.75;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--beige);
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--peach);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(245, 237, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--beige);
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 237, 226, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.2s var(--ease);
}

.footer-social a:hover { background: var(--terracotta); }

/* ── 23. REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 24. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .tools-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .nav-mobile.open { display: flex; }

  .nav-mobile a {
    padding: 14px 16px;
    border-radius: var(--r-sm);
    font-size: 1rem;
    color: var(--ink);
  }

  .nav-mobile a:hover { background: var(--cream-deep); }

  .nav-mobile-cta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-grid,
  .app-grid,
  .author-grid,
  .mentorship-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content { text-align: center; max-width: 100%; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .hero-visual { order: -1; }
  .hero-book { max-width: 280px; }
  .hero-badge-floating { display: none; }

  .author-portrait-wrap {
    display: flex;
    justify-content: center;
  }

  .app-mockup { max-width: 240px; }
  .app-insight { display: none; }

  .mentorship-visual { order: -1; }
  .mentorship-illustration { max-width: 260px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }

  .tools-grid,
  .testimonials-grid,
  .pricing-grid,
  .sos-grid,
  .mentorship-features,
  .author-stats {
    grid-template-columns: 1fr;
  }

  .calc-results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .btn { padding: 14px 24px; font-size: 0.94rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .modal { border-radius: var(--r-lg); }
  .modal-header { padding: 22px 24px 12px; }
  .modal-body { padding: 8px 24px 24px; }

  .mentorship-card { padding: 32px 24px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }

  .calc-results-grid { grid-template-columns: 1fr; }

  .author-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
