/* ============================================================
   gustavogrowth.com.br — Site pessoal
   Design system: DESIGN.md (minimalismo terroso)
   Light mode only. HTML + CSS + JS vanilla. Mobile-first.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --serif-display: 'The Seasons', 'Cormorant Garamond', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
body {
  --bg:       #f5efe2;
  --bg-2:     color-mix(in srgb, #f5efe2 92%, #5a3b1f);
  --bg-3:     color-mix(in srgb, #f5efe2 85%, #5a3b1f);
  --fg:       #1a120a;
  --fg-2:     #3b2918;
  --fg-3:     #5a3b1f;
  --fg-mute:  rgba(26,18,10,0.6);
  --fg-sub:   rgba(26,18,10,0.4);
  --line:     rgba(26,18,10,0.08);
  --line-2:   rgba(26,18,10,0.16);
  --accent:   #1b4a7e;

  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  font-size: 15px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Mobile-first spacing */
  --pad-y: 64px;
  --pad-x: 16px;
  --t-base: 0.4s;
  --reveal-distance: 20px;
}

@media (min-width: 800px) {
  body { --pad-y: 120px; --pad-x: 32px; --reveal-distance: 28px; }
}

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

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  mix-blend-mode: multiply; opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.07  0 0 0 0 0.04  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ============================================================
   TYPE
   ============================================================ */
.kicker {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); opacity: 0.55;
}
.kicker .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 999px; background: var(--accent);
  margin-right: 10px; vertical-align: 1px;
}

h1.display {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(48px, 11vw, 168px);
  line-height: 0.95; letter-spacing: -0.01em;
}
h2.section-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.1; letter-spacing: 0.01em;
}

.huge {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(36px, 8.5vw, 132px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.huge em { font-style: italic; color: var(--accent); }
.mid {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(32px, 6vw, 88px);
  line-height: 1.02; letter-spacing: -0.01em;
}
.mid em { font-style: italic; color: var(--accent); }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 var(--pad-x); }
section.block { padding: var(--pad-y) 0; position: relative; }

/* ============================================================
   NAV
   ============================================================ */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
nav.top .row { display: flex; align-items: center; justify-content: space-between; }
nav.top .wm {
  font-family: var(--serif-display); font-size: 20px; letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 6px;
}
nav.top .wm .dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent); transform: translateY(-3px);
}
nav.top ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav.top ul a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.7; position: relative;
}
nav.top ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) ease;
}
nav.top ul a:hover { opacity: 1; }
nav.top ul a:hover::after { transform: scaleX(1); }
nav.top .cta {
  padding: 10px 22px; border: 1px solid var(--fg); border-radius: 2px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; color: var(--fg); transition: all var(--t-base) ease;
}
nav.top .cta:hover { background: var(--fg); color: var(--bg); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px; cursor: pointer; z-index: 101;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--fg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 800px) {
  nav.top ul {
    display: flex; flex-direction: column; gap: 24px;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 260px; padding: 80px 24px 32px;
    background: var(--bg); border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
  }
  nav.top ul.open { transform: translateX(0); }
  nav.top ul a { font-size: 14px; opacity: 1; }
  nav.top .cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO — with clip-reveal "uau" effect
   ============================================================ */
.cine-hero {
  min-height: 100vh; min-height: 100dvh;
  padding: 0; position: relative; overflow: hidden;
}
.cine-hero-inner {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100dvh;
  width: 100%; max-width: 960px;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px var(--pad-x) 80px;
  margin: 0 auto;
}

/* Cinematic entrance — starts dark, fades to light */
.cine-hero { background: var(--fg); animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
@keyframes heroFadeIn { to { background: var(--bg); } }
/* Staggered fade-in for hero children (stamp handled separately, h1 uses clip-reveal) */
.cine-hero .sub { animation: heroElIn 0.8s ease 1.6s both; }
.cine-hero .actions { animation: heroElIn 0.8s ease 1.8s both; }
.cine-hero .scroll-hint { animation: heroHintIn 0.8s ease 2.2s both; }
@keyframes heroElIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroHintIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 0.5; transform: translateY(0); }
}
.cine-hero .stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0;
  margin-bottom: 24px;
  animation: stampIn 0.6s ease 0.6s both;
}
@keyframes stampIn { from { opacity: 0; } to { opacity: 0.7; } }
.cine-hero .stamp .blink {
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.cine-hero .stamp .line { width: 48px; height: 1px; background: currentColor; opacity: 0.5; }

/* Hero h1 — clip reveal animation */
.cine-hero .huge span {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: clipReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cine-hero .huge span:nth-child(1) { animation-delay: 1.0s; }
.cine-hero .huge span:nth-child(3) { animation-delay: 1.25s; }
.cine-hero .huge span:nth-child(5) { animation-delay: 1.5s; }
@keyframes clipReveal {
  to { clip-path: inset(0 0% 0 0); }
}

/* Accent glow pulse on the em */
.cine-hero .huge em {
  position: relative;
}
.cine-hero .huge em::after {
  content: ''; position: absolute; inset: -4px -8px;
  background: radial-gradient(ellipse, rgba(27,74,126,0.12) 0%, transparent 70%);
  border-radius: 4px; pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.cine-hero .sub {
  margin-top: 20px;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 300; max-width: 540px; line-height: 1.6; opacity: 0.85;
}
.cine-hero .sub strong { color: var(--accent); font-weight: 400; }
.cine-hero .actions {
  margin-top: 24px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}

@media (min-width: 800px) {
  .cine-hero .stamp { margin-bottom: 40px; }
  .cine-hero .stamp .line { width: 96px; }
  .cine-hero .sub { margin-top: 32px; }
  .cine-hero .actions { margin-top: 32px; }
  .cine-hero-inner { padding: 110px var(--pad-x) 80px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; height: 44px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent;
  transition: all var(--t-base) ease;
  background: transparent; color: var(--fg);
}
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { opacity: 0.85; }
.btn.ghost { border-color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn.accent { background: var(--accent); color: #f5efe2; border-color: var(--accent); }
.btn.accent:hover { opacity: 0.85; }
.btn.lg { padding: 16px 28px; font-size: 12px; }
.btn .arrow { transition: transform var(--t-base) ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 10px; }
  .btn.lg { padding: 14px 24px; font-size: 11px; }
}

/* ============================================================
   REVEAL on scroll
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(var(--reveal-distance));
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.8,0.2,1), filter 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Section reveal line — grows horizontally when section enters view */
section.block::before {
  content: ''; display: block;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 48px;
}
section.block.line-in::before { width: 64px; }

@media (min-width: 800px) {
  section.block.line-in::before { width: 96px; }
  section.block::before { margin-bottom: 0; position: absolute; top: var(--pad-y); left: var(--pad-x); }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.section-head .num {
  font-family: var(--serif-display); font-size: 48px;
  line-height: 1; opacity: 0.12; letter-spacing: 0;
}
.section-head .kicker { margin-top: 4px; }
.section-head .lede { font-size: 16px; max-width: 540px; opacity: 0.75; line-height: 1.65; }

@media (min-width: 800px) {
  .section-head {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 48px; margin-bottom: 48px; align-items: end;
  }
  .section-head .num { font-size: 72px; }
  .section-head .lede { font-size: 17px; }
}

/* ============================================================
   STEP GRID (2-column)
   ============================================================ */
.step-grid {
  display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 800px) {
  .step-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 64px; align-items: start;
  }
}

/* ============================================================
   SYSTEM GRID (process steps)
   ============================================================ */
.system-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.system-cell {
  background: var(--bg); padding: 28px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.4s ease;
}
.system-cell:hover { background: var(--bg-2); }
.system-cell .roman {
  font-family: var(--serif-display); font-size: 22px;
  opacity: 0.3; letter-spacing: 0.02em;
}
.system-cell .t {
  font-family: var(--serif-display); font-size: 22px;
  line-height: 1.2;
}
.system-cell .t em { color: var(--accent); font-style: italic; }
.system-cell .d {
  font-size: 14px; opacity: 0.7; line-height: 1.65;
  max-width: 400px;
}
.system-cell .meta {
  display: flex; gap: 16px; margin-top: 8px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.5;
}

@media (min-width: 800px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .system-cell { padding: 36px 28px; min-height: 240px; }
  .system-cell .t { font-size: 26px; }
  .system-cell .d { margin-top: auto; }
}

/* ============================================================
   CONSULTORIA PAGE — fullscreen scroll steps
   ============================================================ */
.consult-page .step-section {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: 80px 0; position: relative;
  border-bottom: 1px solid var(--line);
}
.consult-page .step-section:last-child { border-bottom: none; }
.consult-page .step-grid {
  display: flex; flex-direction: column; gap: 24px;
  width: 100%;
}
.consult-page .step-big-n {
  font-family: var(--serif-display); font-size: clamp(80px, 20vw, 320px);
  line-height: 0.85; color: var(--accent); letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 12px;
}
.consult-page .step-big-n .of {
  font-size: 16px; opacity: 0.5; color: var(--fg); letter-spacing: 0;
  font-family: var(--sans); font-weight: 500;
}
.consult-page .step-title {
  font-family: var(--serif-display); font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1; letter-spacing: 0.01em; margin-bottom: 16px;
}
.consult-page .step-body { font-size: 15px; line-height: 1.75; opacity: 0.8; max-width: 540px; margin-bottom: 12px; }
.consult-page .step-kicker { margin-bottom: 16px; }
.consult-page .step-meta {
  margin-top: 24px; display: flex; flex-direction: column; gap: 10px;
  font-size: 13px; max-width: 480px;
}
.consult-page .step-meta li {
  list-style: none; padding-left: 20px; position: relative; line-height: 1.65; opacity: 0.85;
}
.consult-page .step-meta li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--accent);
}
.consult-page .progress {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: none; flex-direction: column; gap: 10px; align-items: center;
}
.consult-page .progress .seg {
  width: 1px; height: 28px; background: var(--line-2); transition: background 0.3s ease;
}
.consult-page .progress .seg.on { background: var(--accent); }
.consult-page .progress .label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; opacity: 0.6; margin-top: 12px;
}

@media (min-width: 900px) {
  .consult-page .step-grid {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
    align-items: center;
  }
  .consult-page .progress { display: flex; right: 32px; }
  .consult-page .progress .seg { height: 36px; }
  .consult-page .step-section { padding: 96px 0; }
}

/* ============================================================
   FORM
   ============================================================ */
.lead-form {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 540px;
}
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.55;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 2px;
  padding: 12px; line-height: 1.7;
  transition: border-color var(--t-base) ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.lead-form textarea { min-height: 100px; resize: vertical; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.faq-card {
  padding: 24px 20px; border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 0.4s ease;
}
.faq-card:hover { border-color: var(--accent); }
.faq-card h3 {
  font-family: var(--serif-display); font-size: 20px; margin-bottom: 8px;
}
.faq-card p { font-size: 14px; opacity: 0.75; line-height: 1.7; }

@media (min-width: 800px) {
  .faq-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .faq-card { padding: 28px; }
}

/* ============================================================
   FORWHO
   ============================================================ */
.forwho {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
}
.forwho-col {
  background: var(--bg); padding: 28px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.4s ease;
}
.forwho-col:hover { background: var(--bg-2); }
.forwho-col h3 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.7; margin-bottom: 4px;
}
.forwho-col.yes h3 { color: var(--accent); opacity: 1; }
.forwho-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.forwho-col li {
  font-family: var(--serif-display); font-size: 16px;
  line-height: 1.4; letter-spacing: 0.005em;
  padding-left: 20px; position: relative;
}
.forwho-col.yes li::before {
  content: '+'; position: absolute; left: 0; top: -2px;
  font-family: var(--serif-display); font-size: 18px; color: var(--accent);
}
.forwho-col.no li::before {
  content: '\2014'; position: absolute; left: 0; top: 0; color: var(--fg-sub);
}
.forwho-col.no li { opacity: 0.55; }

@media (min-width: 700px) {
  .forwho { grid-template-columns: 1fr 1fr; }
  .forwho-col { padding: 32px 28px; }
}

/* ============================================================
   INCLUDED GRID
   ============================================================ */
.included-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.included-item {
  background: var(--bg); padding: 20px 16px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.4s ease;
}
.included-item:hover { background: var(--bg-2); }
.included-item h4 {
  font-family: var(--serif-display); font-size: 16px;
  line-height: 1.3; letter-spacing: 0.01em;
}
.included-item p { font-size: 12px; opacity: 0.65; line-height: 1.6; }

@media (min-width: 800px) {
  .included-grid { grid-template-columns: repeat(3, 1fr); }
  .included-item { padding: 28px 24px; }
  .included-item h4 { font-size: 18px; }
  .included-item p { font-size: 13px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
}
footer.site .bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.5; font-weight: 500;
}

/* ============================================================
   SCROLL HINT
   ============================================================ */
.scroll-hint {
  position: absolute; bottom: 24px; left: var(--pad-x);
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.5;
}
.scroll-hint .scroll-line {
  display: block; width: 1px; height: 32px; background: var(--accent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ============================================================
   STAGGER (CSS-only)
   ============================================================ */
.included-grid > .included-item,
.faq-grid > .faq-card,
.system-grid > .system-cell {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.4s ease, border-color 0.4s ease;
}
.stagger-in > :nth-child(1) { transition-delay: 0s; }
.stagger-in > :nth-child(2) { transition-delay: 0.06s; }
.stagger-in > :nth-child(3) { transition-delay: 0.12s; }
.stagger-in > :nth-child(4) { transition-delay: 0.18s; }
.stagger-in > :nth-child(5) { transition-delay: 0.24s; }
.stagger-in > :nth-child(6) { transition-delay: 0.30s; }
.stagger-in > :nth-child(7) { transition-delay: 0.36s; }
.stagger-in > :nth-child(8) { transition-delay: 0.42s; }
.stagger-in > :nth-child(9) { transition-delay: 0.48s; }
.stagger-in > .included-item,
.stagger-in > .faq-card,
.stagger-in > .system-cell {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   APPLE-LIKE PREMIUM TOUCHES
   ============================================================ */

/* Smooth global transitions */
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* Parallax-lite hero background drift */
.cine-hero::before {
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 30% 40%, rgba(27,74,126,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(90,59,31,0.04) 0%, transparent 50%);
  animation: heroDrift 12s ease-in-out infinite alternate;
  pointer-events: none; z-index: 0;
}
@keyframes heroDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -1.5%) scale(1.03); }
}

/* Subtle section border fade-in */
section.block {
  border-color: transparent;
  transition: border-color 1s ease;
}
section.block:has(.reveal.in) {
  border-color: var(--line);
}

/* Button press feedback — Apple-like scale */
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}
.btn:active .arrow { transform: none; }

/* Form inputs — Apple-like focus ring */
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,74,126,0.08);
}

/* Nav links — smoother underline */
nav.top ul a {
  transition: opacity 0.3s ease;
}

/* Cards — subtle lift on hover (desktop only) */
@media (min-width: 800px) {
  .faq-card:hover,
  .included-item:hover,
  .system-cell:hover {
    transform: translateY(-2px);
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1),
                background 0.4s ease, border-color 0.4s ease;
  }
}

/* Smooth image loading */
img {
  opacity: 0;
  animation: fadeImg 0.6s ease forwards;
}
@keyframes fadeImg { to { opacity: 1; } }

/* Selection color */
::selection {
  background: rgba(27,74,126,0.15);
  color: var(--fg);
}

/* ============================================================
   UTILITY
   ============================================================ */
.divider { height: 1px; background: var(--line); margin: var(--pad-y) 0; }
