/* ============================================================
   jocca landing — home
   hero céu · prova · memórias · sem IA · como funciona ·
   ferramentas · FAQ · CTA final
   ============================================================ */

/* ── 1. Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: max(100svh, 680px);
  padding-top: calc(var(--nav-height) + clamp(2rem, 6vh, 4rem));
  padding-bottom: clamp(5rem, 14vh, 9rem);
  display: flex;
  flex-direction: column;
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: var(--space-2xl);
}
.hero-script {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  opacity: 0.8;
}
.hero-title {
  margin-top: 0.5rem;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--ink); font-size: 1.08em; }
.hero-sub {
  margin-top: 1.5rem;
  max-width: 540px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--body);
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: 0.9rem; color: var(--charcoal); }

.hero-stage { position: relative; display: grid; place-items: end center; min-height: 420px; }
.hero-jocca { position: relative; z-index: 2; width: min(100%, 420px); margin-bottom: -16%; }
.hero-jocca .jocca { width: 100%; height: auto; }
.hero-perch { position: relative; z-index: 1; width: min(120%, 560px); }
.hero-perch svg { width: 100%; height: auto; }

/* Entrada do hero: linhas do título sobem uma a uma */
.js-motion .hero-script, .js-motion .hero-title .line, .js-motion .hero-sub, .js-motion .hero-ctas, .js-motion .hero-note {
  animation: rise 0.9s var(--ease-out) both;
}
.js-motion .hero-title .line:nth-child(1) { animation-delay: 0.08s; }
.js-motion .hero-title .line:nth-child(2) { animation-delay: 0.18s; }
.js-motion .hero-sub { animation-delay: 0.3s; }
.js-motion .hero-ctas { animation-delay: 0.42s; }
.js-motion .hero-note { animation-delay: 0.5s; }
.js-motion .hero-perch { animation: rise 1.1s var(--ease-out) 0.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(32, 32, 32, 0.35);
  border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-lg); }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stage { min-height: 0; }
  .hero-jocca { width: min(62vw, 300px); }
  .hero-perch { width: min(90vw, 420px); }
  .scroll-cue { display: none; }
}

/* ── 2. Prova ──────────────────────────────────────────────────── */
.proof { padding-block: var(--space-xl) var(--space-2xl); }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); list-style: none; }
.proof-list li { display: grid; gap: 0.25rem; padding-left: 1.25rem; border-left: 2px solid var(--hairline-strong); }
.proof-list strong { font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.proof-list li:last-child strong { color: var(--orange-ink); }
.proof-list span { color: var(--charcoal); font-size: 0.95rem; }
@media (max-width: 760px) { .proof-list { grid-template-columns: 1fr 1fr; row-gap: var(--space-xl); } }

/* ── Split genérico (texto + visual) ──────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-copy h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-top: 0.85rem; }
.lead { margin-top: 1.25rem; font-size: 1.15rem; color: var(--body); max-width: 520px; }
.eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 1.6rem;
  padding-inline: 0.4rem;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.checks { display: grid; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.checks li { display: flex; gap: 0.75rem; align-items: baseline; font-weight: 500; color: var(--ink); }
.checks li span { display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font-size: 0.9rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ── 3. Memórias: celular com Recap ───────────────────────────── */
.memories { background: var(--canvas); }
.recap-stage { position: relative; display: grid; place-items: center; padding-block: 2rem; }
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 44px;
  background: var(--dark);
  box-shadow: var(--shadow-lift), inset 0 0 0 2px #3a3a3a;
  rotate: 3deg;
}
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--blue); }
.story-bars { position: absolute; z-index: 3; inset: 14px 14px auto; display: flex; gap: 4px; }
.story-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: #fff; }
.story-bars span.done i { width: 100%; }
.story-bars span.run i { animation: bar var(--story-ms, 3200ms) linear forwards; }
@keyframes bar { to { width: 100%; } }

.story-slides { list-style: none; padding: 0; height: 100%; }
.story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 2.5rem;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.story.is-active { opacity: 1; transform: none; }
.story--blue { background: var(--jocca-body); color: #fff; }
.story--cream { background: var(--bone); color: var(--ink); }
.story--orange { background: var(--orange); color: #fff; }
.story--dark { background: var(--dark); color: #fff; }
.story-kicker { font-size: 0.85rem; font-weight: 560; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.story-big { margin-top: 0.5rem; font-family: var(--font-display); font-weight: 640; font-size: 2.3rem; line-height: 1; letter-spacing: -0.04em; }
.story-small { margin-top: 0.75rem; font-size: 1rem; opacity: 0.9; }
.story-jocca { width: 70%; margin: 1rem auto 0; }
.story-brand { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 640; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); mix-blend-mode: difference; }

.memories-jocca { position: absolute; left: -4%; bottom: -2%; width: clamp(130px, 18vw, 210px); z-index: 2; }
.stamps { position: absolute; right: -4%; top: 2%; display: grid; gap: 0; z-index: 2; }
/* Stickers do app: a sombra e o brilho já vêm no próprio SVG */
.stamp {
  display: block;
  width: clamp(78px, 9vw, 112px);
  height: auto;
  overflow: visible;
  rotate: calc(-10deg + var(--i) * 9deg);
}
.js-motion .stamp { opacity: 0; transform: scale(1.8); }
.js-motion .stamps.in .stamp { animation: stamp 0.5s var(--ease-spring) both; animation-delay: calc(0.6s + var(--i) * 0.35s); }
@media (max-width: 860px) {
  .stamps { right: 0; }
  .stamp { width: clamp(64px, 16vw, 92px); }
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.8); }
  60% { opacity: 1; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── 4. Sem IA ─────────────────────────────────────────────────── */
.no-ai { background: var(--bone); border-block: 1px solid var(--hairline); }
.versus { display: grid; grid-template-columns: 1fr auto 1.15fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.versus-card { border-radius: var(--radius-xl); padding: clamp(1.25rem, 3vw, 2rem); }
.versus-label { font-weight: 560; font-size: 0.9rem; color: var(--charcoal); margin-bottom: 1rem; display: flex; gap: 0.5rem; }
.versus-ai { background: transparent; border: 1.5px dashed var(--hairline-strong); color: var(--ash); }
.versus-ai ul { display: grid; gap: 0.6rem; }
.versus-ai li { position: relative; padding: 0.6rem 0.85rem; border-radius: var(--radius-md); background: rgba(32, 32, 32, 0.04); font-size: 0.95rem; }
.versus-ai li::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 50%;
  height: 1.5px;
  background: var(--ash);
  transform: scaleX(var(--strike, 1));
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.js-motion .versus-ai li::after { --strike: 0; }
.js-motion .versus.in .versus-ai li::after { --strike: 1; }
.versus.in .versus-ai li:nth-child(2)::after { transition-delay: 0.15s; }
.versus.in .versus-ai li:nth-child(3)::after { transition-delay: 0.3s; }
.versus.in .versus-ai li:nth-child(4)::after { transition-delay: 0.45s; }
.versus-foot { margin-top: 1rem; font-size: 0.85rem; }

.versus-jocca { position: relative; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; }
.versus-jocca .jocca { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-spring); }
.versus-jocca--proud { opacity: 0; transform: scale(0.8); }
.versus.is-yours .versus-jocca--thinking { opacity: 0; transform: scale(0.8); }
.versus.is-yours .versus-jocca--proud { opacity: 1; transform: none; }

.versus-you { background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow-lift); }
.versus-you .versus-label { color: var(--ink); }
.day { display: grid; gap: 0.85rem; }
.period { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.25rem 0.75rem; align-items: start; }
.period-name { grid-row: span 3; padding-top: 0.55rem; font-size: 0.8rem; font-weight: 560; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); }
.slot {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.slot em { margin-left: auto; font-style: normal; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); background: var(--blue-soft); color: #1f5fbf; white-space: nowrap; }
.slot em.ok { background: #e3f4ea; color: var(--green); }
.js-motion .slot { opacity: 0; transform: translateX(40px) rotate(2deg); }
.js-motion .versus.is-yours .slot { animation: slot-in 0.6s var(--ease-spring) both; }
.versus.is-yours .period:nth-child(1) .slot { animation-delay: 0.1s; }
.versus.is-yours .period:nth-child(2) .slot:nth-of-type(1) { animation-delay: 0.3s; }
.versus.is-yours .period:nth-child(2) .slot:nth-of-type(2) { animation-delay: 0.45s; }
.versus.is-yours .period:nth-child(3) .slot { animation-delay: 0.6s; }
@keyframes slot-in { to { opacity: 1; transform: none; } }

.budget-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--hairline); font-size: 0.875rem; color: var(--charcoal); }
.budget-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--bone); overflow: hidden; }
.budget-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--green); transform-origin: left; }
.js-motion .budget-bar i { transform: scaleX(0); transition: transform 1.2s var(--ease-out) 0.8s; }
.js-motion .versus.is-yours .budget-bar i { transform: scaleX(1); }
.budget-row strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-3xl); }
.features h3 { font-size: 1.35rem; margin: 0.85rem 0 0.5rem; }
.features p { color: var(--charcoal); font-size: 1rem; }
.feature-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-md); background: var(--bone); font-size: 1.5rem; }
.features .feature-icon { background: var(--canvas); }

@media (max-width: 900px) {
  .versus { grid-template-columns: 1fr; }
  .versus-jocca { margin-inline: auto; order: -1; }
  .features { grid-template-columns: 1fr; }
}

/* ── 5. Como funciona: trajeto desenhado pelo scroll ──────────── */
.journey { position: relative; padding-top: clamp(7rem, 14vw, 11rem); }
.journey-path { position: absolute; inset: 0 0 auto; width: 100%; height: clamp(9rem, 18vw, 14rem); overflow: visible; }
.journey-track, .journey-line { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey-track { stroke: var(--hairline-strong); stroke-width: 2; stroke-dasharray: 2 10; }
.journey-line { stroke: var(--orange); stroke-width: 3.5; }
.journey-traveler { position: absolute; top: 0; left: 0; width: clamp(70px, 8vw, 110px); translate: -50% -82%; pointer-events: none; will-change: transform; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); list-style: none; padding: 0; }
.step { position: relative; padding: var(--space-xl); background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-xl); }
.step-num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; }
.step h3 { font-size: 1.75rem; margin: 1rem 0 0.5rem; }
.step p { color: var(--charcoal); }
.step:nth-child(3) .step-num { background: var(--orange); }
@media (max-width: 860px) {
  .journey { padding-top: 0; }
  .journey-path, .journey-traveler { display: none; }
  .steps { grid-template-columns: 1fr; }
}

/* ── 6. Ferramentas ────────────────────────────────────────────── */
.tools-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-xl); }
.tools-jocca { width: clamp(110px, 14vw, 170px); flex: none; margin-bottom: var(--space-2xl); }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.tool-teaser h3 { font-size: 1.5rem; margin: 1rem 0 0.5rem; }
.tool-teaser p { color: var(--charcoal); margin-bottom: 1.25rem; }
.tools-more { margin-top: var(--space-xl); text-align: center; }
@media (max-width: 760px) { .tools-grid { grid-template-columns: 1fr; } .tools-jocca { display: none; } }

/* ── 7. FAQ ────────────────────────────────────────────────────── */
.faq-section { background: var(--bone); border-top: 1px solid var(--hairline); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-3xl); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-height) + 2rem); }
.faq-grid .section-head a { color: var(--ink); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } .faq-grid .section-head { position: static; } }

/* ── 8. CTA final ──────────────────────────────────────────────── */
.final { padding-block: clamp(5rem, 12vw, 8rem); text-align: center; background: linear-gradient(180deg, var(--bone) 0%, var(--sky-c) 25%, var(--sky-b) 60%, var(--sky-a) 100%); }
.final-inner { display: grid; justify-items: center; gap: 1rem; }
.final-jocca { width: clamp(150px, 20vw, 220px); }
.final-jocca .jocca { width: 100%; height: auto; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 14ch; }
.final h2 .accent { color: var(--ink); }
.final p { font-size: 1.15rem; color: var(--body); }
.final .btn { margin-top: 0.75rem; }
