/* QuitVape — landing de marketing.
   Registro: brand · cor: Committed (azul) · light · display Bricolage Grotesque.
   Mostra como o app funciona com as telas reais. Depende dos tokens de style.css. */

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Phone frame (telas reais) ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 288px;
  aspect-ratio: 1206 / 2622;
  background: #0B1326;
  border-radius: 46px;
  padding: 9px;
  box-shadow: var(--shadow-float), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
  display: block;
}

/* ===================================================================
   NAV
   =================================================================== */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(247, 249, 253, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.lp-nav.scrolled { border-bottom-color: var(--border); }
.lp-nav__right { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
.lp-nav__right a { color: var(--text-secondary); font-weight: 600; font-size: 15px; }
.lp-nav__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-soft); color: var(--blue-deep);
  font-weight: 700; font-size: 13px;
  padding: 7px 13px; border-radius: var(--radius-pill);
}
.lp-nav__pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.20);
}
.lp-nav__pill:hover { text-decoration: none; }

/* ===================================================================
   HERO
   =================================================================== */
.lp-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 56px) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.lp-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 700; font-size: 14px;
  letter-spacing: 0.3px; margin-bottom: 22px;
}
.lp-hero__eyebrow span {
  height: 1px; width: 32px; background: var(--blue); opacity: 0.4;
}
.lp-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.lp-hero h1 em { font-style: normal; color: var(--blue); }
.lp-hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 30ch;
  margin-bottom: 34px;
}
.lp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.lp-hero__trust {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.lp-hero__trust b { color: var(--text-secondary); font-weight: 700; }

/* Stage com o telefone + chips de prova */
.lp-hero__stage { position: relative; display: flex; justify-content: center; }
.lp-hero__stage::before {
  content: "";
  position: absolute; inset: -8% -12%;
  background: radial-gradient(52% 46% at 50% 40%, rgba(47, 107, 255, 0.18), transparent 72%);
  z-index: -1;
}
.proof-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-float);
  font-weight: 700; font-size: 15px;
  z-index: 2;
}
.proof-chip small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.proof-chip .ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px;
}
.proof-chip--money { top: 14%; left: -6%; }
.proof-chip--money .ic { background: var(--green-soft); }
.proof-chip--money b { color: var(--green); }
.proof-chip--streak { bottom: 12%; right: -4%; }
.proof-chip--streak .ic { background: #FFF1E6; }

/* App Store badge (coming soon) */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: #fff;
  padding: 14px 22px; border-radius: var(--radius-md);
  font-weight: 700; box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.appstore-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-float); }
.appstore-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.appstore-badge .small { display: block; font-size: 11px; font-weight: 500; opacity: 0.82; line-height: 1.1; }
.appstore-badge .big { display: block; font-size: 18px; font-weight: 800; line-height: 1.15; }
.link-arrow { color: var(--text-secondary); font-weight: 700; font-size: 15px; }
.link-arrow:hover { color: var(--blue-deep); }

/* ===================================================================
   PROOF — faixa de números reais
   =================================================================== */
.lp-proof {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 5vw, 56px);
}
.lp-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.lp-proof__item { position: relative; }
.lp-proof__item + .lp-proof__item { padding-left: clamp(20px, 4vw, 48px); }
.lp-proof__item + .lp-proof__item::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px; background: var(--border);
}
.lp-proof__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1; letter-spacing: -1.5px; margin-bottom: 8px;
}
.lp-proof__num.green { color: var(--green); }
.lp-proof__num.blue { color: var(--blue); }
.lp-proof__label { color: var(--text-secondary); font-size: 15px; font-weight: 500; }

/* ===================================================================
   HOW IT WORKS — zig-zag
   =================================================================== */
.lp-how { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 56px); }
.lp-section-head { max-width: 620px; margin-bottom: clamp(40px, 6vw, 72px); }
.lp-kicker {
  color: var(--blue); font-weight: 700; font-size: 14px;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 12px; display: block;
}
.lp-section-head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.05; letter-spacing: -1.4px;
}
.lp-section-head p { margin-top: 16px; color: var(--text-secondary); font-size: 18px; max-width: 52ch; }

.step {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
}
.step:nth-child(even) .step__media { order: -1; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
  margin-bottom: 22px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 14px;
}
.step p { color: var(--text-secondary); font-size: 17px; max-width: 42ch; }
.step ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-secondary); font-size: 16px; }
.step ul li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.step__media { display: flex; justify-content: center; }

/* ===================================================================
   SOS — banda escura (mudança de direção de arte)
   =================================================================== */
.lp-sos { background: var(--text); color: #fff; overflow: hidden; }
.lp-sos__inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.lp-sos .lp-kicker { color: #8FB0FF; }
.lp-sos h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.05; letter-spacing: -1.4px; margin-bottom: 18px;
}
.lp-sos p { color: rgba(255, 255, 255, 0.74); font-size: 18px; max-width: 44ch; }
.lp-sos__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 77, 106, 0.16); color: #FF8AA0;
  font-weight: 700; font-size: 14px; padding: 8px 14px;
  border-radius: var(--radius-pill); margin-top: 24px;
}
.lp-sos__tag::before {
  content: "🆘"; font-size: 14px;
  filter: grayscale(0);
}

/* círculo de respiração 4-4-6 */
.breath {
  justify-self: center;
  display: grid; place-items: center;
  width: clamp(220px, 32vw, 320px); aspect-ratio: 1;
  position: relative;
}
.breath__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.35), rgba(123, 92, 255, 0.10) 70%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: breathe 14s ease-in-out infinite;
}
.breath__label { position: relative; z-index: 1; text-align: center; }
.breath__label b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.breath__label small { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
@keyframes breathe {
  0%, 100% { transform: scale(0.78); }    /* expira 6s */
  28%      { transform: scale(1); }        /* inspira 4s */
  57%      { transform: scale(1); }        /* segura 4s */
}
@media (prefers-reduced-motion: reduce) { .breath__ring { animation: none; transform: scale(0.92); } }

/* ===================================================================
   BENTO — mais recursos
   =================================================================== */
.lp-more { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 56px); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}
.tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.tile h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px; letter-spacing: -0.4px; margin-bottom: 8px;
}
.tile p { color: var(--text-secondary); font-size: 15.5px; }
.tile .emoji { font-size: 26px; display: block; margin-bottom: 14px; }

/* tile grande com screenshot do progresso */
.tile--feature {
  grid-column: span 2; grid-row: span 2;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 12px;
  align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #F2F6FF 0%, #FBFCFE 100%);
}
.tile--feature .tile__copy { padding: 6px; }
.tile--feature h3 { font-size: clamp(22px, 2.4vw, 28px); }
.tile--feature .phone { max-width: 200px; }
.tile--green { background: linear-gradient(135deg, var(--green-soft) 0%, #F4FEFA 100%); border-color: #CFF3E7; }
.tile--green h3 { color: #08966F; }

/* ===================================================================
   HONESTY
   =================================================================== */
.lp-honesty {
  max-width: 760px; margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.lp-honesty p {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.35; letter-spacing: -0.5px; color: var(--text);
}
.lp-honesty small { display: block; margin-top: 18px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.6; }

/* ===================================================================
   CTA FINAL
   =================================================================== */
.lp-cta {
  max-width: 1180px; margin: 0 auto clamp(48px, 6vw, 80px);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 64px);
  border-radius: clamp(24px, 4vw, 36px);
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  box-shadow: var(--shadow-blue);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.lp-cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}
.lp-cta h2 {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 14px;
}
.lp-cta p { position: relative; z-index: 1; opacity: 0.92; font-size: 18px; margin-bottom: 30px; }
.lp-cta .appstore-badge { position: relative; z-index: 1; background: #fff; color: var(--text); }
.lp-cta__age { position: relative; z-index: 1; display: block; margin-top: 22px; font-size: 14px; opacity: 0.85; }

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 700px) {
  /* nav enxuta: só wordmark + pill, sem os links de texto */
  .lp-nav { padding: 14px 20px; }
  .lp-nav__right a:not(.lp-nav__pill) { display: none; }
}
@media (max-width: 880px) {
  .lp-hero { grid-template-columns: 1fr; text-align: center; }
  .lp-hero__eyebrow, .lp-hero__actions, .lp-hero__trust { justify-content: center; }
  .lp-hero__sub { margin-left: auto; margin-right: auto; }
  .lp-hero__stage { margin-top: 12px; }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) .step__media { order: 0; }
  .step__num { margin-left: auto; margin-right: auto; }
  .step h3, .step p { text-align: center; }
  .step ul { max-width: 360px; margin-left: auto; margin-right: auto; }
  .step__copy { text-align: center; }
  .lp-sos__inner { grid-template-columns: 1fr; text-align: center; }
  .lp-sos__tag { margin-left: auto; margin-right: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--feature { grid-column: span 2; grid-template-columns: 1fr; }
  .tile--feature .phone { display: none; }
}
@media (max-width: 560px) {
  .lp-proof__grid { grid-template-columns: 1fr; gap: 0; }
  .lp-proof__item + .lp-proof__item { padding-left: 0; padding-top: 22px; margin-top: 22px; }
  .lp-proof__item + .lp-proof__item::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .bento { grid-template-columns: 1fr; }
  .tile--feature { grid-column: span 1; }
  .proof-chip--money { left: -2%; }
  .proof-chip--streak { right: -2%; }
}
