/* ============================================================
   SCALIO — Landing Page
   Sistema visual: industrial / brutalista equilibrado
   ============================================================ */

@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SFProDisplay-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SFProDisplay-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SFProDisplay-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("assets/fonts/SFProDisplay-LightItalic.otf") format("opentype");
  font-weight: 300; font-style: italic; font-display: swap;
}

:root {
  /* Marca */
  --wine:        #7A0600;
  --wine-bright: #9c1208;
  --cream:       #FFF0D2;
  --ink:         #0A0A0A;
  --ink-warm:    #100c0a;
  --gray:        #939393;

  /* Derivados */
  --cream-dim:   #e9dcc0;
  --cream-faint: rgba(255, 240, 210, 0.62);
  --cream-ghost: rgba(255, 240, 210, 0.14);
  --line-dark:   rgba(255, 240, 210, 0.14);
  --line-light:  rgba(10, 10, 10, 0.14);
  --ink-dim:     rgba(10, 10, 10, 0.62);

  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 80px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--wine); color: var(--cream); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow .tick { width: 26px; height: 1px; background: currentColor; opacity: 0.55; }

/* Big display headings */
.h-display {
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ---------- Surfaces ---------- */
.surface-dark  { background: var(--ink);  color: var(--cream); }
.surface-cream { background: var(--cream); color: var(--ink); }
.surface-wine  { background: var(--wine);  color: var(--cream); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: calc(100% - 32px); max-width: 1040px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px 11px 24px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark); border-radius: 100px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.82);
  box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.7);
}
.nav__logo { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-faint); transition: color 0.25s;
}
.nav__links a:hover { color: var(--cream); }
.nav__right { display: flex; align-items: center; gap: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  padding: 13px 26px; position: relative; transition: all 0.3s var(--ease);
  border: 1px solid transparent; border-radius: 100px;
}
.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid:hover { background: #fff; transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-bright); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-dark); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.nav__toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 150px; padding-bottom: 90px;
  position: relative; overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.5;
}
.hero__glow {
  position: absolute; z-index: 0; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  left: 50%; top: 30%; transform: translate(-50%, -30%); border-radius: 50%;
  background: radial-gradient(circle, rgba(122,6,0,0.42) 0%, rgba(122,6,0,0) 62%);
  filter: blur(20px); pointer-events: none;
}
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }

.hero__inner { position: relative; z-index: 2; max-width: 920px; margin-inline: auto; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-dark); border-radius: 100px;
  padding: 8px 16px 8px 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--cream-faint); margin-bottom: 34px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--wine-bright);
  box-shadow: 0 0 0 0 rgba(156,18,8,0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(156,18,8,0.55) }
  70% { box-shadow: 0 0 0 10px rgba(156,18,8,0) }
  100% { box-shadow: 0 0 0 0 rgba(156,18,8,0) }
}
.hero__badge b { color: var(--cream); font-weight: 600; }

.hero h1 {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 700; line-height: 0.9; letter-spacing: -0.04em;
  margin-bottom: 30px; text-transform: uppercase;
}
.hero h1 .accent { color: var(--wine-bright); font-style: italic; font-weight: 300; }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 620px;
  color: var(--cream-faint); margin: 0 auto 40px;
}
.hero__sub b { color: var(--cream); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.hero__note { font-size: 13px; color: var(--gray); letter-spacing: 0.02em; }

/* ---- Hero stage: mockup + cards flutuantes ---- */
.hero__stage {
  position: relative; margin-top: clamp(54px, 8vw, 100px);
  display: flex; justify-content: center;
}
.phone--hero { margin: 0 auto; box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,240,210,0.05); }

/* ---- Celular 3D: entra girando (igual ao login) só ao rolar até o hero ----
   Repouso é o estado padrão (fallback p/ reduced-motion via guarda global);
   o giro só dispara quando o IntersectionObserver marca o estágio com .in. */
.phone3d { perspective: 1700px; }
.phone--hero {
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-26deg) rotateZ(4deg);
}
.hero__stage.in .phone3d {
  animation: phoneFloat 7s ease-in-out 1.4s infinite;
}
.hero__stage.in .phone--hero {
  animation: phoneIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
@keyframes phoneIn {
  0%   { opacity: 0; transform: rotateX(10deg) rotateY(-386deg) rotateZ(4deg) scale(0.25); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: rotateX(10deg) rotateY(-26deg)  rotateZ(4deg) scale(1); }
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero__card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(22, 17, 15, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark); border-radius: 18px; padding: 13px 18px;
  box-shadow: 0 24px 60px -22px rgba(0,0,0,0.75);
  animation: floaty 7s ease-in-out infinite;
}
.hero__card b { display: block; font-size: 14px; font-weight: 600; color: var(--cream); }
.hero__card small { display: block; font-size: 12px; color: var(--cream-faint); margin-top: 2px; }
.hero__card-ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wine); color: var(--cream);
  display: grid; place-items: center; font-size: 15px;
}
.hero__card--1 { top: 6%;  left: max(2%, calc(50% - 360px)); animation-delay: 0s; }
.hero__card--2 { top: 32%; right: max(2%, calc(50% - 360px)); animation-delay: 1.1s; }
.hero__card--3 { bottom: 12%; left: max(2%, calc(50% - 380px)); animation-delay: 2.1s; }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.wave i { width: 3px; background: var(--wine-bright); border-radius: 2px; transform-origin: bottom; animation: waveb 1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.wave i:nth-child(2) { height: 80%; animation-delay: 0.12s; }
.wave i:nth-child(3) { height: 55%; animation-delay: 0.24s; }
.wave i:nth-child(4) { height: 95%; animation-delay: 0.36s; }
.wave i:nth-child(5) { height: 60%; animation-delay: 0.48s; }
@keyframes waveb { 0%,100% { transform: scaleY(0.45) } 50% { transform: scaleY(1) } }

/* ============================================================
   TICKER / divisões
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  overflow: hidden; padding: 22px 0; background: var(--ink-warm);
}
.ticker__track {
  display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex; align-items: center; gap: 34px; padding-inline: 34px;
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker__item .star { color: var(--wine-bright); font-size: 0.7em; }
.ticker__item:nth-child(odd) { color: var(--cream); }
.ticker__item:nth-child(even) { color: var(--cream-faint); }

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.sec { padding-block: clamp(80px, 11vw, 160px); }
.sec__head { margin-bottom: clamp(48px, 6vw, 84px); }
.sec__head .eyebrow { margin-bottom: 22px; opacity: 0.85; }
.sec__title {
  font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; line-height: 0.96; letter-spacing: -0.035em;
  max-width: 16ch; text-transform: uppercase;
}

/* ---------- Seção 1: CAOS (problemas) ---------- */
.chaos { background: var(--ink-warm); }
.chaos .sec__title { max-width: 22ch; }
.chaos .sec__title em { color: var(--wine-bright); font-style: italic; font-weight: 300; }
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.problem {
  background: var(--ink); padding: clamp(28px, 3vw, 44px); min-height: 320px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.problem:hover {
  background: #141010; transform: translateY(-6px); z-index: 2;
  box-shadow: 0 0 0 1px var(--wine-bright), 0 26px 54px -22px rgba(156, 18, 8, 0.55), 0 0 44px -8px rgba(156, 18, 8, 0.4);
}
.problem__num {
  font-size: clamp(54px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: var(--wine); margin-bottom: auto;
  -webkit-text-stroke: 0; transition: color 0.4s;
}
.problem:hover .problem__num { color: var(--wine-bright); }
.problem__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; font-weight: 500; color: var(--cream); }
.problem__glitch { position: absolute; right: -10px; top: -10px; font-size: 90px; opacity: 0.04; font-weight: 700; }

/* ============================================================
   Seção 2: SOLUÇÃO + mockups
   ============================================================ */
.solution { background: var(--cream); color: var(--ink); }
.solution .eyebrow { color: var(--wine); }
.solution__intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: end;
  margin-bottom: clamp(60px, 8vw, 120px);
}
.solution__intro h2 {
  font-size: clamp(38px, 6vw, 88px); font-weight: 700; line-height: 0.92; letter-spacing: -0.04em;
  text-transform: uppercase;
}
.solution__intro h2 em { font-style: italic; font-weight: 300; color: var(--wine); }
.solution__intro p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-dim); }
.solution__intro p b { color: var(--ink); font-weight: 600; }

/* feature row with mockup */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  padding-block: clamp(40px, 5vw, 70px);
}
.feature + .feature { border-top: 1px solid var(--line-light); }
.feature--rev .feature__media { order: -1; }
.feature--text { align-items: start; }
.feature--text .feature__head h3 { margin-bottom: 0; }
.feature__tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.feature__tag::before { content: ""; width: 22px; height: 2px; background: var(--wine); }
.feature h3 {
  font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 20px; text-transform: uppercase;
}
.feature p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-dim); max-width: 46ch; }
.feature p b { color: var(--ink); font-weight: 600; }
.feature__list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature__list li { list-style: none; display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; }
.feature__list .chk {
  flex: none; width: 20px; height: 20px; background: var(--wine); color: var(--cream);
  display: grid; place-items: center; font-size: 12px; margin-top: 1px;
}

/* ============================================================
   PHONE MOCKUP (app field)
   ============================================================ */
.phone {
  width: 300px; max-width: 100%; margin-inline: auto; aspect-ratio: 300 / 620;
  background: var(--ink); border-radius: 42px; padding: 11px;
  box-shadow: 0 40px 80px -20px rgba(10,10,10,0.45), 0 0 0 1px rgba(10,10,10,0.06);
  position: relative;
}
.phone__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: var(--ink); border-radius: 14px; z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%; background: var(--cream); border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.app__bar {
  background: var(--ink); color: var(--cream); padding: 34px 18px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.app__bar h4 { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.app__bar .meta { font-size: 10px; color: var(--gray); letter-spacing: 0.04em; }
.app__progress { height: 4px; background: rgba(255,240,210,0.16); margin-top: 12px; border-radius: 4px; overflow: hidden; }
.app__progress i { display: block; height: 100%; width: 0; background: var(--wine-bright); border-radius: 4px; transition: width 1.2s var(--ease); }
.app__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; flex: 1; background: var(--cream); }
.app__step {
  display: flex; align-items: center; gap: 11px; padding: 12px; background: #fff;
  border: 1px solid rgba(10,10,10,0.08); font-size: 12px; font-weight: 500; color: var(--ink);
}
.app__step .box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--gray); display: grid; place-items: center; }
.app__step.done .box { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.app__step.done { color: var(--ink); }
.app__step.active { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.app__step .label { flex: 1; }
.app__step .tic { font-size: 9px; color: var(--gray); }
.app__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app__photo { aspect-ratio: 4/3; background:
  repeating-linear-gradient(45deg, #ded0b2, #ded0b2 6px, #e7dabd 6px, #e7dabd 12px);
  display: grid; place-items: center; font-size: 8px; color: var(--ink-dim); font-weight: 600; letter-spacing: 0.1em; }
.app__cta { margin: 0 16px 16px; padding: 13px; background: var(--wine); color: var(--cream); text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.app__cta.locked { background: var(--gray); }

/* ============================================================
   PDF / REPORT MOCKUP
   ============================================================ */
.report {
  width: 360px; max-width: 100%; margin-inline: auto; background: #fff; aspect-ratio: 360/470;
  box-shadow: 0 40px 80px -20px rgba(10,10,10,0.4), 0 0 0 1px rgba(10,10,10,0.06);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transform: rotate(-1.4deg);
}
.report__head { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.report__head .logo { height: 18px; }
.report__head .id { text-align: right; font-size: 8px; color: var(--ink-dim); line-height: 1.5; }
.report__title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.report__row { display: flex; justify-content: space-between; font-size: 9px; color: var(--ink-dim); border-bottom: 1px solid rgba(10,10,10,0.08); padding-bottom: 7px; }
.report__row b { color: var(--ink); font-weight: 600; }
.report__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report__img { aspect-ratio: 4/3; background:
  repeating-linear-gradient(45deg, #e8e8e8, #e8e8e8 5px, #f1f1f1 5px, #f1f1f1 10px);
  position: relative; }
.report__img span { position: absolute; bottom: 4px; left: 4px; font-size: 7px; background: var(--ink); color: var(--cream); padding: 1px 4px; font-weight: 600; letter-spacing: 0.06em; }
.report__sign { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.report__sign .sig { font-family: var(--font); font-style: italic; font-weight: 300; font-size: 18px; color: var(--wine); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.report__stamp {
  position: absolute; top: 60px; right: -6px; transform: rotate(8deg);
  border: 2px solid var(--wine); color: var(--wine); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; padding: 4px 10px; opacity: 0.85;
}

/* ============================================================
   Seção 3: 4 PASSOS
   ============================================================ */
.steps { background: var(--ink); }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.step { background: var(--ink); padding: clamp(26px, 2.6vw, 40px) clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; min-height: 300px; position: relative; transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.step:hover {
  background: #141010; transform: translateY(-6px); z-index: 2;
  box-shadow: 0 0 0 1px var(--wine-bright), 0 26px 54px -22px rgba(156, 18, 8, 0.5), 0 0 44px -8px rgba(156, 18, 8, 0.34);
}
.step__n { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--wine-bright); margin-bottom: 14px; }
.step__bignum { position: absolute; top: 18px; right: 22px; font-size: 22px; font-weight: 700; color: var(--cream-ghost); transition: color 0.4s var(--ease); }
.step:hover .step__bignum { color: var(--wine-bright); }
.step h3 { font-size: clamp(20px, 1.7vw, 25px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.05; }
.step p { font-size: 15px; line-height: 1.5; color: var(--cream-faint); }
.step__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--wine-bright); transition: width 0.8s var(--ease); }

/* ============================================================
   Seção 4: DIFERENCIAL IA
   ============================================================ */
.diff { background: var(--wine); color: var(--cream); overflow: hidden; }
.diff__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(50px, 6vw, 90px); }
.diff__head h2 { font-size: clamp(36px, 5.5vw, 80px); font-weight: 700; line-height: 0.94; letter-spacing: -0.04em; text-transform: uppercase; }
.diff__head h2 em { font-style: italic; font-weight: 300; color: var(--cream); opacity: 0.7; }
.diff__head p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--cream-faint); }
.diff__head p b { color: var(--cream); font-weight: 600; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow__node { background: var(--ink-warm); border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(24px, 2.1vw, 32px); display: flex; flex-direction: column; min-height: 280px; position: relative; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.flow__node:hover {
  border-color: var(--wine-bright); transform: translateY(-6px); z-index: 2;
  box-shadow: 0 26px 54px -22px rgba(0, 0, 0, 0.7), 0 0 44px -6px rgba(255, 58, 45, 0.4);
}
.flow__icon { width: 40px; height: 40px; border: 1.5px solid var(--wine-bright); border-radius: 10px; background: rgba(156, 18, 8, 0.16); color: var(--wine-bright); display: grid; place-items: center; margin-bottom: 18px; font-size: 17px; }
.flow__step { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--wine-bright); margin-bottom: 10px; }
.flow__node h4 { font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.01em; color: var(--cream); }
.flow__node p { font-size: 14px; line-height: 1.55; color: var(--cream-faint); }
.flow__arrow { position: absolute; right: -7px; top: 50%; transform: translate(50%, -50%); z-index: 3; background: var(--cream); color: var(--wine); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.flow__node:last-child .flow__arrow { display: none; }

/* ============================================================
   Seção 5: STATS
   ============================================================ */
.stats { background: var(--ink); }
.stats__hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(50px, 6vw, 90px); }
.stats__big { font-size: clamp(120px, 22vw, 300px); font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; color: var(--wine-bright); }
.stats__big span { font-size: 0.4em; vertical-align: super; }
.stats__hero p { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.4; }
.stats__hero p b { color: var(--cream); font-weight: 600; }
.stats__hero .small { font-size: 15px; color: var(--gray); margin-top: 18px; line-height: 1.5; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat { background: var(--ink); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 8px; min-height: 200px; justify-content: flex-end; }
.stat__v { font-size: clamp(40px, 4.4vw, 62px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat__v em { font-style: normal; color: var(--wine-bright); }
.stat__l { font-size: 15px; color: var(--cream-faint); line-height: 1.4; }

/* ============================================================
   Seção 6: PLANOS
   ============================================================ */
.pricing { background: var(--cream); color: var(--ink); }
.pricing .eyebrow { color: var(--wine); }
.pricing__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 70px); }
.pricing__top h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.92; text-transform: uppercase; }
.pricing__addon { font-size: 14px; color: var(--ink-dim); line-height: 1.6; text-align: right; }
.pricing__addon b { color: var(--ink); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid rgba(10,10,10,0.12); padding: clamp(26px, 2.6vw, 38px);
  display: flex; flex-direction: column; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(10,10,10,0.3); }
.plan--feat { background: var(--ink); color: var(--cream); border-color: var(--ink); animation: planGlow 1.8s ease-in-out infinite alternate; }
@keyframes planGlow {
  from { box-shadow: 0 0 16px rgba(255, 58, 45, 0.35), 0 0 42px rgba(156, 18, 8, 0.4), 0 26px 60px -24px rgba(122, 6, 0, 0.5); }
  to { box-shadow: 0 0 28px rgba(255, 58, 45, 0.6), 0 0 66px rgba(156, 18, 8, 0.62), 0 26px 60px -20px rgba(122, 6, 0, 0.72); }
}
.plan__badge { position: absolute; top: 0; right: 24px; transform: translateY(-50%); background: var(--wine); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; }
.plan__name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.plan__price { font-size: clamp(38px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.plan--feat .plan__price span { color: var(--cream-faint); }
.plan__limits { font-size: 13px; font-weight: 500; color: var(--wine); letter-spacing: 0.01em; margin-bottom: 16px; }
.plan--feat .plan__limits { color: #e8857d; }
.plan__quote { font-size: 15px; font-style: italic; font-weight: 300; line-height: 1.45; color: var(--ink-dim); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(10,10,10,0.1); }
.plan--feat .plan__quote { color: var(--cream-faint); border-color: var(--line-dark); }
.plan__feats { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.plan__feats li { display: flex; gap: 10px; font-size: 14px; line-height: 1.35; align-items: flex-start; }
.plan__feats .ic { flex: none; width: 16px; height: 16px; display: grid; place-items: center; margin-top: 1px; color: var(--wine); font-size: 11px; font-weight: 700; }
.plan--feat .plan__feats .ic { color: #e8857d; }
.plan__nots { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.plan__nots li { font-size: 12px; color: var(--gray); display: flex; gap: 8px; align-items: flex-start; }
.plan__nots .ic { flex: none; opacity: 0.6; }
.plan__btn { margin-top: auto; width: 100%; padding: 15px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s var(--ease); }
.plan__btn:hover { background: var(--wine); }
.plan--feat .plan__btn { background: var(--wine); }
.plan--feat .plan__btn:hover { background: var(--wine-bright); }

/* ============================================================
   Seção 7: FINAL CTA
   ============================================================ */
.final { background: var(--ink); text-align: center; overflow: hidden; position: relative; }
.final__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(122,6,0,0.4), transparent 70%); }
.final__elem { width: clamp(80px, 12vw, 140px); margin: 0 auto 30px; position: relative; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.final__inner { position: relative; z-index: 2; max-width: 900px; margin-inline: auto; }
.final h2 {
  font-size: clamp(40px, 8vw, 120px); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(156,18,8,0.35), 0 0 60px rgba(122,6,0,0.3);
  animation: textGlow 3.2s ease-in-out infinite;
}
.final h2 em {
  font-style: italic; font-weight: 300; color: var(--wine-bright);
  text-shadow: 0 0 28px rgba(255,58,45,0.55), 0 0 70px rgba(156,18,8,0.5);
}
@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(156,18,8,0.3),  0 0 50px rgba(122,6,0,0.25); }
  50%      { text-shadow: 0 0 34px rgba(156,18,8,0.55), 0 0 80px rgba(122,6,0,0.45); }
}

/* glow no botao (box-shadow) - Saiba Mais + Entrar na lista do CTA */
.btn--glow {
  animation: btnGlow 1.6s ease-in-out infinite alternate;
}
@keyframes btnGlow {
  from {
    box-shadow: 0 0 8px rgba(255,58,45,0.5), 0 0 18px rgba(156,18,8,0.5),
                0 0 32px rgba(122,6,0,0.4);
  }
  to {
    box-shadow: 0 0 14px rgba(255,58,45,0.75), 0 0 30px rgba(156,18,8,0.7),
                0 0 52px rgba(122,6,0,0.6);
  }
}
.final p { font-size: clamp(17px, 1.6vw, 21px); color: var(--cream-faint); margin-bottom: 40px; }

.waitlist { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.waitlist input {
  flex: 1; background: rgba(255,240,210,0.06); border: 1px solid var(--line-dark); color: var(--cream);
  padding: 17px 24px; font-size: 16px; font-family: inherit; border-radius: 100px; transition: border-color 0.3s;
}
.waitlist input::placeholder { color: var(--gray); }
.waitlist input:focus { outline: none; border-color: var(--wine-bright); }
.waitlist input.err { border-color: #e0584d; }
.waitlist__msg { font-size: 14px; margin-top: 16px; min-height: 20px; color: var(--cream-faint); }
.waitlist__msg.ok { color: #7fd49a; }
.waitlist__msg.bad { color: #e88179; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-warm); border-top: 1px solid var(--line-dark); padding-block: 60px 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { height: 34px; margin-bottom: 16px; }
.footer__top p { font-size: 14px; color: var(--gray); max-width: 30ch; line-height: 1.5; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer__col h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--gray); margin-bottom: 10px; transition: color 0.25s; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; color: var(--gray); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MODAL — CHECKOUT
   ============================================================ */
.checkout-overlay[hidden] { display: none; }
.checkout-overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(4px); padding: 24px;
  overflow-y: auto;
}
.checkout-modal {
  position: relative; width: 100%; max-width: 560px; margin: auto;
  background: var(--cream); color: var(--ink); border-radius: 28px;
  padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.checkout-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(10,10,10,0.06); font-size: 20px; line-height: 1;
  display: grid; place-items: center; color: var(--ink);
}
.checkout-close:hover { background: rgba(10,10,10,0.12); }
.checkout-modal h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.checkout-modal h3 em, .checkout-modal h3 span { color: var(--wine); font-style: normal; }
.checkout-sub { margin-top: 6px; margin-bottom: 22px; font-size: 14px; color: var(--ink-dim); }
.checkout-sub span { font-weight: 600; color: var(--ink); }

#checkoutForm { display: flex; flex-direction: column; gap: 14px; }
#checkoutForm label {
  display: flex; flex-direction: column; gap: 6px; font-size: 12px;
  font-weight: 600; color: var(--ink-dim); letter-spacing: 0.02em;
}
#checkoutForm input {
  font-family: inherit; font-size: 15px; color: var(--ink); font-weight: 400;
  background: rgba(10,10,10,0.03); border: 1px solid var(--line-light);
  border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s;
}
#checkoutForm input:focus { outline: none; border-color: var(--wine); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-divider { border: none; border-top: 1px solid var(--line-light); margin: 4px 0; }
.checkout-submit { width: 100%; justify-content: center; margin-top: 6px; }
.checkout-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.checkout-msg { font-size: 13px; min-height: 18px; }
.checkout-msg.ok { color: #1b7a4a; }
.checkout-msg.bad { color: var(--wine); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .problems { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__arrow { display: none !important; }
  .stats__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .stats__hero { grid-template-columns: 1fr; }
  .solution__intro { grid-template-columns: 1fr; }
  .diff__head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .steps__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(40px, 13vw, 80px); }
  .hero__card { display: none; }
  .phone--hero { width: 260px; }
  .waitlist { flex-direction: column; }
  .footer__top { flex-direction: column; }
  .checkout-grid { grid-template-columns: 1fr; }
}
