/* ── TOKENS — extraídos do app real (ícone, telas, paleta em uso) ──── */
:root {
  --cream:        #F5EFE4;   /* fundo base do app */
  --cream-deep:   #EFE7D8;
  --card:         #EAE0CB;   /* cartões do app */
  --card-line:    rgba(36, 30, 20, 0.10);
  --ink:          #221D14;   /* texto principal, aquecido */
  --ink-soft:     #6E6353;
  --ink-faint:    #9A8F7C;
  --terracotta:      #DD7440; /* cor da copa da árvore / marca */
  --terracotta-deep: #B75A2C;
  --terracotta-pale: #F0C7AE;
  --olive:        #57632F;   /* verde do gráfico "resumo por humor" */
  --olive-deep:   #414A22;
  --olive-pale:   #9FAE74;
  --night:        #171331;   /* céu da tela "Sua Oliveira" */
  --night-deep:   #0C0A1C;
  --moon:         #E7E3F5;
  --white:        #FFFFFF;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --shadow-soft: 0 20px 48px rgba(34, 29, 20, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TYPE ───────────────────────────────────────────────── */
h1, h2, h3.serif, .serif-head {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h3 { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }

h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); color: var(--ink); }
h1 em, .accent-em { font-style: italic; font-weight: 500; color: var(--terracotta-deep); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  color: var(--terracotta-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before { content: ''; width: 14px; height: 2px; background: var(--terracotta); border-radius: 2px; }
.kicker-light { color: var(--terracotta-pale); }
.kicker-light::before { background: var(--terracotta-pale); }
.kicker-olive { color: var(--olive-pale); }
.kicker-olive::before { background: var(--olive-pale); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container        { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(680px, calc(100% - 48px));  margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 100px;
  font-size: 0.93rem; font-weight: 600;
  cursor: pointer;
  transition: opacity .18s, transform .14s, box-shadow .18s;
  border: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px rgba(221,116,64,.28); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-dark    { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline { border: 1.5px solid rgba(34,29,20,.22); color: var(--ink); background: transparent; }
.btn-outline:hover { background: rgba(34,29,20,.05); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.32); color: rgba(255,255,255,.92); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .85rem; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 68px;
  background: rgba(245,239,228,.92);
  border-bottom: 1px solid var(--card-line);
  backdrop-filter: blur(14px);
  color: var(--ink);
  transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(34,29,20,.08); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.brand-icon { display: grid; place-items: center; width: 30px; height: 30px; }
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }

nav { display: flex; gap: clamp(14px, 3vw, 30px); font-size: 0.9rem; color: var(--ink-soft); }
nav a { transition: color .15s; }
nav a:hover { color: var(--ink); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - 68px);
  margin-top: 68px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
  padding: clamp(48px,6vw,72px) clamp(24px, 7vw, 90px);
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 78% 42%, rgba(221,116,64,.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(87,99,47,.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; min-width: 0; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(221,116,64,.35); border-radius: 100px;
  font-size: 0.75rem; color: var(--terracotta-deep); letter-spacing: .04em;
  background: rgba(221,116,64,.08);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); animation: blink 2.2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 { margin-bottom: 18px; }

.hero-sub {
  max-width: 480px; color: var(--ink-soft);
  font-size: clamp(.98rem, 1.4vw, 1.14rem); line-height: 1.75; margin-bottom: 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-stats { display: flex; align-items: center; padding: 16px 22px; background: rgba(255,255,255,.55); border: 1px solid var(--card-line); border-radius: var(--r-lg); width: fit-content; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat-num   { font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: .02em; }
.stat-div   { width: 1px; height: 30px; background: var(--card-line); }

/* coluna visual */
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.hero-deco { position: absolute; inset: -50px; pointer-events: none; z-index: 0; }
.hero-deco svg { width: 100%; height: 100%; }

/* ── DEVICE FRAME (screenshots reais do app) ───────────────────── */
.device {
  position: relative; z-index: 2;
  width: min(272px, 78vw);
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 40px;
  padding: 12px;
  background: #17130d;
  box-shadow: 0 30px 60px rgba(34,29,20,.22), 0 0 0 1px rgba(34,29,20,.06);
}
.device-lg { width: min(300px, 82vw); }
.device-island {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 14px; background: #17130d;
  z-index: 3;
}
.device-screen { border-radius: 30px; overflow: hidden; background: var(--cream); line-height: 0; }
.device-screen img { width: 100%; max-width: 100%; height: auto; display: block; }
.device-note { margin-top: 14px; text-align: center; font-size: .78rem; color: var(--ink-faint); font-style: italic; }
.device-note-light { color: rgba(255,255,255,.4); }

/* ── SEÇÃO CITAÇÃO ──────────────────────────────────────── */
.section-quote { padding: 70px 0; background: var(--cream-deep); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.quote-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.quote-mark { font-family: 'Lora', serif; font-size: 4.5rem; color: var(--terracotta-pale); line-height: 1; display: block; margin-bottom: -8px; }
.section-quote blockquote p { font-family: 'Lora', serif; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--ink); line-height: 1.5; margin-bottom: 16px; }
.section-quote cite { font-size: .82rem; color: var(--terracotta-deep); letter-spacing: .06em; text-transform: uppercase; font-style: normal; font-weight: 700; }

/* ── EXPERIÊNCIA (5 pilares = 5 abas do app) ───────────────────── */
.section-exp { padding: 96px 0; background: var(--cream); }
.exp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.exp-lead { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillar {
  padding: 26px 20px;
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--card-line);
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pillar-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--white); color: var(--terracotta-deep);
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: .87rem; color: var(--ink-soft); line-height: 1.6; }
.pillar-tab { display: block; margin-top: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* ── SUA OLIVEIRA — seção assinatura, céu noturno ──────────────── */
.section-oliveira {
  position: relative;
  padding: 100px 0 90px;
  background: radial-gradient(ellipse 120% 90% at 75% -10%, #2c2454 0%, var(--night) 55%, var(--night-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.oliveira-stars { position: absolute; inset: 0; pointer-events: none; opacity: .8; }
.oliveira-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px,5vw,64px); align-items: center; position: relative; z-index: 1; }
.oliveira-copy { min-width: 0; }
.oliveira-copy h2 { color: #fff; margin-bottom: 18px; }
.oliveira-copy p.lead { color: rgba(255,255,255,.68); font-size: 1.05rem; line-height: 1.75; max-width: 460px; margin-bottom: 30px; }

.oliveira-points { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.op { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.op:last-child { border-bottom: none; }
.op-icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: rgba(159,174,116,.16); color: var(--olive-pale); margin-top: 2px; }
.op strong { display: block; font-size: .92rem; color: #fff; margin-bottom: 3px; }
.op span { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.55; }

.oliveira-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; }

/* ── VÍDEO DEMO ──────────────────────────────────────────────── */
.section-video { padding: 100px 0; background: var(--cream); border-top: 1px solid var(--card-line); }
.video-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.video-copy { min-width: 0; }
.video-copy p.lead { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; max-width: 460px; margin-bottom: 30px; }

.video-list { display: flex; flex-direction: column; gap: 0; }
.vi { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--card-line); }
.vi:last-child { border-bottom: none; }
.vi-icon { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(87,99,47,.12); color: var(--olive-deep); margin-top: 2px; }
.vi strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.vi span { font-size: .83rem; color: var(--ink-soft); line-height: 1.5; }

.video-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.device-video { background: #050403; }
.device-video .device-screen { position: relative; background: #000; }
.device-video video { width: 100%; display: block; }
.device-video .device-play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  border-radius: 50%; background: rgba(23,19,14,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; backdrop-filter: blur(3px);
  transition: opacity .2s;
}
.device-video .device-play.is-hidden { opacity: 0; pointer-events: none; }

/* ── PILARES DA VERSÃO 2.0 (features + telas) ──────────────────── */
.section-version { padding: 100px 0; background: var(--cream-deep); border-top: 1px solid var(--card-line); }
.version-top { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.version-top p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 14px; }

.version-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vcard { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vcard-shot { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--card-line); line-height: 0; }
.vcard-shot img { width: 100%; max-width: 100%; height: auto; display: block; }
.vcard h3 { font-family: 'Lora', serif; font-size: 1.15rem; }
.vcard p { font-size: .87rem; color: var(--ink-soft); line-height: 1.6; }

/* ── PLANOS ─────────────────────────────────────────────── */
.section-plans { padding: 96px 0; background: var(--cream); }
.plans-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.plans-sub { color: var(--ink-soft); font-size: 1rem; max-width: 460px; }

.plans-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card {
  padding: 26px 22px;
  background: var(--card); border: 1px solid var(--card-line);
  border-top: 3px solid var(--accent, var(--terracotta));
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.plan-days { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 10px; }
.plan-card h3 { margin-bottom: 8px; font-size: 1.14rem; font-family: 'Lora', serif; font-weight: 600; }
.plan-card p  { font-size: .86rem; color: var(--ink-soft); line-height: 1.6; }
.plan-card.plan-soon { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-style: dashed; border-top-style: solid; opacity: .85; }

/* ── ROADMAP ────────────────────────────────────────────── */
.section-roadmap { padding: 96px 0 104px; background: var(--cream-deep); border-top: 1px solid var(--card-line); }
.roadmap-sub { color: var(--ink-soft); font-size: 1rem; margin-bottom: 48px; max-width: 520px; }

.roadmap-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rm-item { display: flex; flex-direction: column; }
.rm-marker { display: flex; align-items: center; height: 20px; margin-bottom: 18px; }
.rm-dot { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; background: var(--cream-deep); border: 2px solid var(--terracotta); position: relative; z-index: 1; }
.rm-line { flex: 1; height: 1px; margin-left: 4px; background: linear-gradient(to right, var(--terracotta), var(--olive-pale)); opacity: .4; }
.rm-card { padding-right: 24px; }
.rm-phase { display: inline-block; font-size: .66rem; font-weight: 700; color: var(--terracotta-deep); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.rm-card h3 { margin-bottom: 8px; }
.rm-card p  { font-size: .88rem; color: var(--ink-soft); line-height: 1.65; }

/* ── FAQ ────────────────────────────────────────────────── */
.section-faq { padding: 96px 0; background: var(--cream); }
.faq-top { max-width: 620px; margin-bottom: 44px; }
.faq-top p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 12px; }
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; font-size: .96rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-item summary .faq-plus::before, .faq-item summary .faq-plus::after {
  content: ''; position: absolute; background: var(--terracotta-deep);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-item summary .faq-plus::before { width: 12px; height: 2px; }
.faq-item summary .faq-plus::after { width: 2px; height: 12px; transition: transform .2s; }
.faq-item[open] summary .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg) scale(0); }
.faq-item p { padding: 0 22px 20px; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; max-width: 620px; }

/* ── CTA FINAL ──────────────────────────────────────────── */
.section-final { padding: 100px 0 108px; text-align: center; background: var(--ink); color: #fff; }
.final-cross { margin-bottom: 22px; display: flex; justify-content: center; }
.final-h { font-size: clamp(1.7rem, 3.2vw, 2.7rem); margin-bottom: 14px; color: #fff; }
.final-p { color: rgba(255,255,255,.62); font-size: 1.05rem; line-height: 1.75; max-width: 460px; margin: 0 auto 32px; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--card-line); padding: 30px clamp(20px, 5vw, 60px); background: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer-copy  { font-size: .82rem; color: var(--ink-soft); }
.footer-link  { font-size: .82rem; color: var(--olive-deep); border-bottom: 1px solid var(--olive-pale); transition: color .15s; }
.footer-link:hover { color: var(--ink); }

/* ── FADE-IN ────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .plans-scroll { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .video-visual { order: -1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 44px clamp(24px,6vw,60px) 60px; }
  .hero-visual { justify-content: flex-start; margin-top: 36px; }
  .exp-head { grid-template-columns: 1fr; gap: 14px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .oliveira-grid { grid-template-columns: 1fr; }
  .oliveira-visual { order: -1; margin-bottom: 8px; }
  .version-row { grid-template-columns: 1fr; }
  .roadmap-list { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .rm-item:nth-child(2) .rm-line, .rm-item:nth-child(4) .rm-line { display: none; }
}

@media (max-width: 600px) {
  nav { display: none; }
  .hero { padding: 32px 20px 48px; gap: 24px; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px; }
  .stat-div { width: 100%; height: 1px; }
  .pillars { grid-template-columns: 1fr; }
  .plans-scroll { grid-template-columns: 1fr; }
  .roadmap-list { grid-template-columns: 1fr; }
  .rm-line { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .quote-mark { font-size: 3.4rem; }
  .btn-sm { display: none; }
  .plans-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .btn:hover, .pillar:hover, .plan-card:hover { transform: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}
