/* ═══════════════════════════════════════════════════════════════
   RecebeAvisa — landing cinematográfica
   Paleta da marca: #1B6B8C (teal) · #0E4A63 (deep) · #2BC48A (green)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --teal: #1b6b8c;
  --teal-light: #3d9dc4;
  --deep: #0e4a63;
  --green: #2bc48a;
  --green-soft: rgba(43, 196, 138, 0.14);
  --bg: #071722;
  --bg-2: #0a2233;
  --bg-3: #0d2c42;
  --ink: #eaf4f9;
  --ink-dim: #9db8c6;
  --line: rgba(157, 184, 198, 0.14);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1120px, 92vw); margin-inline: auto; }

::selection { background: rgba(43, 196, 138, 0.35); }

/* ── Tipografia de seção ─────────────────────────────── */

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--ink-dim);
  max-width: 46rem;
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

.grad-text {
  background: linear-gradient(92deg, var(--green) 10%, var(--teal-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Botões ──────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(120deg, var(--green), #1fa876);
  color: #06281c;
  box-shadow: 0 8px 30px rgba(43, 196, 138, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(43, 196, 138, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { border-color: var(--green); transform: translateY(-3px); }

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ═══ PRELOADER ══════════════════════════════════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 1.6rem;
  background: radial-gradient(ellipse at 50% 40%, #0c2a3e 0%, var(--bg) 70%);
  transition: opacity 0.7s ease, visibility 0.7s;
}

.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-box { position: relative; width: 120px; height: 120px; margin-inline: auto; }

.preloader-ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-right-color: rgba(43, 196, 138, 0.25);
  animation: spin 1.1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.pl-face { opacity: 0; transform-origin: center; animation: face-in 0.8s var(--ease-out) forwards; }
.pl-face-1 { animation-delay: 0.1s; }
.pl-face-2 { animation-delay: 0.3s; }
.pl-face-3 { animation-delay: 0.5s; }
.pl-tape { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.6s 0.75s ease forwards; }

@keyframes face-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.85); }
  to { opacity: 1; transform: none; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.preloader-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.preloader-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  animation: letter-up 0.5s var(--ease-out) forwards;
  animation-delay: calc(0.6s + var(--i, 0) * 0.045s);
}

.preloader-text span:nth-child(1) { --i: 0; } .preloader-text span:nth-child(2) { --i: 1; }
.preloader-text span:nth-child(3) { --i: 2; } .preloader-text span:nth-child(4) { --i: 3; }
.preloader-text span:nth-child(5) { --i: 4; } .preloader-text span:nth-child(6) { --i: 5; }
.preloader-text span:nth-child(7) { --i: 6; } .preloader-text span:nth-child(8) { --i: 7; }
.preloader-text span:nth-child(9) { --i: 8; } .preloader-text span:nth-child(10) { --i: 9; }
.preloader-text span:nth-child(11) { --i: 10; }
.preloader-text .accent { color: var(--green); }

@keyframes letter-up { to { opacity: 1; transform: none; } }

/* ═══ CURSOR GLOW / PROGRESS ═════════════════════════ */

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(27, 107, 140, 0.16) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--teal-light), var(--green));
  box-shadow: 0 0 12px rgba(43, 196, 138, 0.7);
}

/* ═══ NAV ════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  transition: transform 0.45s var(--ease-out), background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav.scrolled {
  background: rgba(7, 23, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.6rem;
}

.nav.hidden { transform: translateY(-110%); }

.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-brand img { border-radius: 8px; }

.nav-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.nav-wordmark em { font-style: normal; color: var(--green); }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.25s;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(43, 196, 138, 0.4);
  color: var(--green) !important;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.nav-cta:hover { background: rgba(43, 196, 138, 0.25); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; z-index: 55; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.25s; }

/* ═══ HERO ═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 12vh, 9rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(27, 107, 140, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(43, 196, 138, 0.12), transparent 60%),
    var(--bg);
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  will-change: transform;
}

.hero-orb-1 { width: 420px; height: 420px; top: -8%; right: -6%; background: rgba(27, 107, 140, 0.4); animation: orb-drift 14s ease-in-out infinite alternate; }
.hero-orb-2 { width: 320px; height: 320px; bottom: -10%; left: -8%; background: rgba(43, 196, 138, 0.18); animation: orb-drift 18s 2s ease-in-out infinite alternate-reverse; }
.hero-orb-3 { width: 200px; height: 200px; top: 40%; left: 42%; background: rgba(61, 157, 196, 0.16); animation: orb-drift 11s 1s ease-in-out infinite alternate; }

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -50px) scale(1.15); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.hero-title .line { display: block; overflow: hidden; }

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: word-rise 0.9s var(--ease-out) forwards;
}

.w-recebe { animation-delay: 1.15s; }
.w-registra { animation-delay: 1.3s; color: var(--teal-light); }
.w-avisa { animation-delay: 1.45s; }
.w-sozinho {
  animation-delay: 1.62s;
  background: linear-gradient(92deg, var(--green), #6fe0b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes word-rise { to { transform: translateY(0); } }

.hero-sub { color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-sub strong { color: var(--green); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }

.hero-badges { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-dim); }

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(43, 196, 138, 0.5);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(43, 196, 138, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(43, 196, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 196, 138, 0); }
}

/* Entradas genéricas do hero */
.hero .reveal-up { opacity: 0; transform: translateY(26px); animation: fade-rise 0.9s var(--ease-out) forwards; }
.hero-eyebrow.reveal-up { animation-delay: 1s; }
.hero-sub.reveal-up { animation-delay: 1.75s; }
.hero-actions.reveal-up { animation-delay: 1.9s; }
.hero-badges.reveal-up { animation-delay: 2.05s; }

@keyframes fade-rise { to { opacity: 1; transform: none; } }

/* ── Pacote 3D ───────────────────────────────────────── */

.hero-visual { display: grid; place-items: center; perspective: 1100px; }

.package-scene {
  position: relative;
  width: min(340px, 70vw);
  aspect-ratio: 1;
  opacity: 0;
  animation: fade-rise 1s 1.5s var(--ease-out) forwards;
}

/* cubo: largura/altura 200, profundidade 140 (escala com --pkg) */
.package {
  --pkg: min(200px, 42vw);
  --pkg-d: calc(var(--pkg) * 0.7);
  position: absolute;
  left: 50%;
  top: 44%;
  width: var(--pkg);
  height: var(--pkg);
  margin: calc(var(--pkg) / -2) 0 0 calc(var(--pkg) / -2);
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-24deg);
  animation: pkg-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes pkg-float {
  0%, 100% { transform: rotateX(18deg) rotateY(-24deg) translateY(0); }
  50% { transform: rotateX(14deg) rotateY(-18deg) translateY(-16px); }
}

.pkg-face { position: absolute; border-radius: 6px; }

.pkg-front {
  inset: 0;
  background: linear-gradient(160deg, #f6fafc, #dcebf2);
  transform: translateZ(calc(var(--pkg-d) / 2));
  box-shadow: inset 0 0 0 1px rgba(14, 74, 99, 0.08);
  display: grid;
  place-content: center;
}

.pkg-side {
  width: var(--pkg-d);
  height: 100%;
  top: 0;
  left: 50%;
  margin-left: calc(var(--pkg-d) / -2);
  background: linear-gradient(180deg, #c4dae5, #a8c6d4);
  transform: rotateY(90deg) translateZ(calc(var(--pkg) / 2));
}

.pkg-top {
  width: 100%;
  height: var(--pkg-d);
  left: 0;
  top: 50%;
  margin-top: calc(var(--pkg-d) / -2);
  background: linear-gradient(120deg, #ffffff, #e6f1f5);
  transform: rotateX(90deg) translateZ(calc(var(--pkg) / 2));
}

.pkg-label {
  width: calc(var(--pkg) * 0.62);
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(14, 74, 99, 0.18);
  display: grid;
  gap: 7px;
}

.pkg-label-line { height: 7px; border-radius: 4px; background: #b9cfda; }
.pkg-label-line.lg { width: 90%; background: #7fa3b5; }
.pkg-label-line.sm { width: 55%; }

.pkg-label-barcode {
  height: 22px;
  margin-top: 4px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #26414f 0 3px, transparent 3px 6px, #26414f 6px 8px, transparent 8px 12px);
}

.scanline {
  position: absolute;
  inset: -6% -8%;
  transform: translateZ(calc(var(--pkg-d) / 2 + 2px));
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}

.scanline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 34%;
  top: -40%;
  background: linear-gradient(180deg, transparent, rgba(43, 196, 138, 0.35) 45%, rgba(43, 196, 138, 0.9) 50%, rgba(43, 196, 138, 0.35) 55%, transparent);
  animation: scan-sweep 3.4s ease-in-out infinite;
}

@keyframes scan-sweep {
  0%, 12% { top: -40%; }
  48%, 60% { top: 105%; }
  100% { top: -40%; }
}

.pkg-shadow {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 70%);
  animation: shadow-breathe 6s ease-in-out infinite;
}

@keyframes shadow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.86); opacity: 0.55; }
}

.notif-pop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: rgba(10, 34, 51, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0;
  will-change: transform, opacity;
}

.notif-pop img { border-radius: 6px; }
.notif-pop strong { display: block; font-size: 0.74rem; }
.notif-pop span { color: var(--ink-dim); }

.notif-pop-1 { top: 4%; right: -4%; animation: notif-cycle 7s 2.6s ease-in-out infinite; }
.notif-pop-2 { bottom: 12%; left: -8%; animation: notif-cycle 7s 4.2s ease-in-out infinite; }

.notif-check {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: #06281c;
  font-weight: 700;
  display: grid;
  place-content: center;
}

@keyframes notif-cycle {
  0%, 6% { opacity: 0; transform: translateY(14px) scale(0.9); }
  12%, 58% { opacity: 1; transform: translateY(0) scale(1); }
  66%, 100% { opacity: 0; transform: translateY(-12px) scale(0.94); }
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  opacity: 0;
  animation: fade-rise 1s 2.6s ease forwards;
}

.mouse { width: 24px; height: 38px; border: 2px solid var(--ink-dim); border-radius: 14px; display: block; position: relative; }
.wheel { position: absolute; top: 6px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--green); animation: wheel-drop 1.8s ease-in-out infinite; }

@keyframes wheel-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══ MARQUEE ════════════════════════════════════════ */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 1.1rem 0;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 244, 249, 0.55);
  white-space: nowrap;
}

.marquee-track i { color: var(--green); font-style: normal; margin: 0 0.7rem; }

@keyframes marquee-slide { to { transform: translateX(-50%); } }

/* ═══ JORNADA ════════════════════════════════════════ */

.journey { position: relative; height: 420vh; background: var(--bg); }

.journey-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.4rem, 3vh, 2.6rem);
  padding: clamp(4.5rem, 9vh, 6rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(27, 107, 140, 0.22), transparent 60%),
    var(--bg);
}

.journey-head { width: min(1120px, 92vw); margin-inline: auto; }

.journey-stage {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* Celular */
.phone {
  position: relative;
  aspect-ratio: 9 / 18.5;
  width: 100%;
  max-width: 320px;
  border-radius: 42px;
  background: linear-gradient(160deg, #12374d, #0a2233);
  border: 1px solid rgba(157, 184, 198, 0.25);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 8px #050f16,
    0 0 60px rgba(27, 107, 140, 0.25);
  padding: 14px;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  border-radius: 12px;
  background: #050f16;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b2536, #071722);
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.1rem;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
}

.scene.active { opacity: 1; transform: none; }

/* Cena 1 — câmera */
.camera-frame {
  position: relative;
  width: 88%;
  aspect-ratio: 4 / 3.4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-content: center;
  overflow: hidden;
}

.corner { position: absolute; width: 22px; height: 22px; border: 3px solid var(--green); }
.corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.camera-label { width: 130px; padding: 10px; background: #f2f7fa; border-radius: 6px; display: grid; gap: 6px; transform: rotate(-3deg); }
.cl-line { height: 6px; border-radius: 3px; background: #b9cfda; }
.cl-line.lg { background: #7fa3b5; }
.cl-line.sm { width: 60%; }
.cl-barcode { height: 16px; border-radius: 2px; background: repeating-linear-gradient(90deg, #26414f 0 2px, transparent 2px 5px, #26414f 5px 6px, transparent 6px 9px); }

.camera-scanline {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 2px;
  top: 10%;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 14px var(--green);
  animation: cam-scan 2.4s ease-in-out infinite alternate;
}

@keyframes cam-scan { from { top: 10%; } to { top: 88%; } }

.camera-hint { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

.shutter { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; background: rgba(255, 255, 255, 0.2); }
.scene-camera.active .shutter { animation: shutter-press 2.6s 0.6s ease infinite; }

@keyframes shutter-press {
  0%, 20%, 100% { transform: scale(1); background: rgba(255, 255, 255, 0.2); }
  10% { transform: scale(0.82); background: #fff; }
}

/* Cena 2 — OCR */
.ocr-title { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.ocr-title::after { content: ""; display: inline-block; width: 8px; height: 12px; margin-left: 6px; background: var(--green); animation: caret 0.8s steps(2) infinite; vertical-align: -2px; }

@keyframes caret { 50% { opacity: 0; } }

.ocr-lines { width: 100%; display: grid; gap: 0.55rem; font-family: "Courier New", monospace; font-size: 0.78rem; }
.ocr-line { min-height: 1.1em; color: var(--ink-dim); white-space: nowrap; overflow: hidden; }
.ocr-line::before { content: attr(data-text); }
.ocr-line.strong { color: var(--green); font-weight: 700; }
.ocr-line.dim { opacity: 0.55; }

.scene-ocr.active .ocr-line { animation: type-in 0.9s steps(24) forwards; width: 0; }
.scene-ocr.active .ocr-line:nth-child(1) { animation-delay: 0.15s; }
.scene-ocr.active .ocr-line:nth-child(2) { animation-delay: 0.75s; }
.scene-ocr.active .ocr-line:nth-child(3) { animation-delay: 1.4s; }
.scene-ocr.active .ocr-line:nth-child(4) { animation-delay: 2.05s; }
.scene-ocr.active .ocr-line:nth-child(5) { animation-delay: 2.7s; }
.scene-ocr .ocr-line { width: 0; }

@keyframes type-in { from { width: 0; } to { width: 100%; } }

/* Cena 3 — match */
.match-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(43, 196, 138, 0.08);
  border: 1px solid rgba(43, 196, 138, 0.35);
}

.match-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--teal), var(--deep));
}

.match-info { display: grid; gap: 2px; font-size: 0.82rem; min-width: 0; }
.match-info span { color: var(--ink-dim); font-size: 0.74rem; }

.match-score { position: relative; margin-left: auto; display: grid; place-items: center; }
.match-score svg { transform: rotate(-90deg); }
.match-score span { position: absolute; font-size: 0.62rem; font-weight: 700; color: var(--green); }
.score-bg, .score-fg { fill: none; stroke-width: 3.2; }
.score-bg { stroke: rgba(157, 184, 198, 0.2); }
.score-fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.scene-match.active .score-fg { animation: score-fill 1.2s 0.4s var(--ease-out) forwards; }

@keyframes score-fill { to { stroke-dashoffset: 2; } }

.match-tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); opacity: 0; transform: translateY(8px); transition: 0.5s 0.9s var(--ease-out); }
.scene-match.active .match-tag { opacity: 1; transform: none; }

/* Cena 4 — chat */
.chat { width: 100%; display: grid; gap: 0.7rem; font-size: 0.8rem; }

.chat-bubble {
  max-width: 90%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  transition: 0.5s var(--ease-spring);
}

.chat-bubble strong { display: block; color: var(--green); font-size: 0.72rem; margin-bottom: 2px; }
.chat-bubble.in { background: #103147; border-bottom-left-radius: 4px; justify-self: start; }
.chat-bubble.out { background: #145c43; border-bottom-right-radius: 4px; justify-self: end; }

.scene-notify.active .chat-bubble.in { opacity: 1; transform: none; transition-delay: 0.25s; }
.scene-notify.active .chat-bubble.out { opacity: 1; transform: none; transition-delay: 1.1s; }

.chat-status { justify-self: end; font-size: 0.66rem; color: var(--teal-light); opacity: 0; transition: 0.4s 1.7s; }
.scene-notify.active .chat-status { opacity: 1; }

/* Passos */
.journey-steps { list-style: none; display: grid; gap: clamp(0.9rem, 2.4vh, 1.6rem); }

.jstep {
  display: flex;
  gap: 1.1rem;
  padding: 1.05rem 1.2rem;
  border-radius: 18px;
  border: 1px solid transparent;
  opacity: 0.32;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s;
}

.jstep.active {
  opacity: 1;
  transform: none;
  background: rgba(27, 107, 140, 0.1);
  border-color: rgba(61, 157, 196, 0.3);
}

.jstep-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--teal-light);
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(61, 157, 196, 0.12);
}

.jstep.active .jstep-num { background: var(--green); color: #06281c; box-shadow: 0 0 24px rgba(43, 196, 138, 0.45); }

.jstep h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 0.25rem; }
.jstep p { font-size: 0.9rem; color: var(--ink-dim); }

.journey-progress {
  width: min(1120px, 92vw);
  margin-inline: auto;
  height: 4px;
  border-radius: 4px;
  background: rgba(157, 184, 198, 0.15);
  overflow: hidden;
}

.journey-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-light), var(--green));
  box-shadow: 0 0 12px rgba(43, 196, 138, 0.6);
}

/* ═══ REVEAL ON SCROLL (genérico) ════════════════════ */

main section:not(.hero) .reveal-up { opacity: 0; transform: translateY(34px); }

.reveal-up.in-view {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

/* ═══ RECURSOS ═══════════════════════════════════════ */

.features { padding: clamp(5rem, 12vh, 8rem) 0; background: var(--bg-2); position: relative; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3rem;
}

.feature-card {
  position: relative;
  padding: 1.8rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 196, 138, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover { border-color: rgba(43, 196, 138, 0.4); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 1.7rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  border-radius: 16px;
  background: rgba(27, 107, 140, 0.25);
  border: 1px solid rgba(61, 157, 196, 0.3);
  margin-bottom: 1.2rem;
  transform: translateZ(30px);
}

.feature-card h3 { font-family: var(--font-display); font-size: 1.14rem; margin-bottom: 0.55rem; transform: translateZ(20px); }
.feature-card p { font-size: 0.92rem; color: var(--ink-dim); transform: translateZ(10px); }

/* ═══ NÚMEROS ════════════════════════════════════════ */

.stats {
  padding: clamp(4rem, 9vh, 6rem) 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(43, 196, 138, 0.08), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line);
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--teal-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-suffix { display: block; font-family: var(--font-display); font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; margin-top: 0.5rem; }
.stat p { font-size: 0.88rem; color: var(--ink-dim); margin-top: 0.5rem; }

/* ═══ CANAIS ═════════════════════════════════════════ */

.channels { padding: clamp(5rem, 12vh, 8rem) 0; background: var(--bg-2); }

.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }

.channel-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(7, 23, 34, 0.6);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.35s, box-shadow 0.35s;
}

.channel-card:hover { transform: translateY(-8px); border-color: rgba(43, 196, 138, 0.35); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.4); }

.channel-head { display: flex; align-items: center; gap: 0.7rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.channel-head.wa { background: linear-gradient(120deg, rgba(37, 211, 102, 0.14), transparent 70%); }
.channel-head.tg { background: linear-gradient(120deg, rgba(0, 136, 204, 0.16), transparent 70%); }
.channel-head.em { background: linear-gradient(120deg, rgba(255, 184, 76, 0.12), transparent 70%); }

.channel-logo { font-size: 1.4rem; }
.channel-head h3 { font-family: var(--font-display); font-size: 1.05rem; }
.channel-tag { margin-left: auto; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line); padding: 0.25rem 0.55rem; border-radius: 999px; white-space: nowrap; }

.channel-demo { padding: 1.4rem; display: grid; gap: 0.8rem; }

.demo-bubble {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.5;
}

.demo-bubble b { color: var(--green); }
.demo-meta { font-size: 0.72rem; color: var(--ink-dim); }

.fallback-line {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  padding-bottom: 1.6rem;
}

.fb-node {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 157, 196, 0.35);
  background: rgba(27, 107, 140, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
}

.fb-arrow { color: var(--green); font-weight: 700; animation: arrow-nudge 1.6s ease-in-out infinite; }

@keyframes arrow-nudge { 50% { transform: translateX(5px); } }

.fb-caption { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

/* ═══ PRIVACIDADE ════════════════════════════════════ */

.privacy { padding: clamp(5rem, 12vh, 8rem) 0; background: var(--bg); overflow: hidden; }

.privacy-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

.privacy-list { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.3rem; }
.privacy-list li { display: flex; gap: 1rem; align-items: flex-start; }
.privacy-list strong { color: var(--ink); }
.privacy-list div { color: var(--ink-dim); font-size: 0.95rem; }

.pl-check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #06281c;
  background: var(--green);
  box-shadow: 0 0 18px rgba(43, 196, 138, 0.4);
}

.privacy-visual { display: grid; place-items: center; }

.shield { position: relative; display: grid; place-items: center; }

.shield-tick { stroke-dasharray: 80; stroke-dashoffset: 80; }
.privacy-visual.in-view .shield-tick { animation: draw-tick 1s 0.6s var(--ease-out) forwards; }

@keyframes draw-tick { to { stroke-dashoffset: 0; } }

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(43, 196, 138, 0.35);
  animation: ring-expand 3.2s ease-out infinite;
}

.shield-ring.r1 { width: 200px; height: 200px; }
.shield-ring.r2 { width: 200px; height: 200px; animation-delay: 1.6s; }

@keyframes ring-expand {
  from { transform: scale(0.85); opacity: 0.8; }
  to { transform: scale(1.55); opacity: 0; }
}

/* ═══ CTA FINAL ══════════════════════════════════════ */

.cta {
  position: relative;
  padding: clamp(6rem, 14vh, 9rem) 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2);
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(43, 196, 138, 0.14) 0%, rgba(27, 107, 140, 0.1) 35%, transparent 65%);
  animation: glow-breathe 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-breathe { 50% { transform: translate(-50%, -50%) scale(1.18); } }

.cta-inner { position: relative; z-index: 1; }

.cta-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4.8vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

.cta-sub { color: var(--ink-dim); max-width: 40rem; margin: 1.4rem auto 2.4rem; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ═══ FOOTER ═════════════════════════════════════════ */

.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 3rem 0 2.4rem; }

.footer-inner { display: grid; gap: 1.8rem; justify-items: center; text-align: center; }

.footer-brand { display: flex; align-items: center; gap: 0.9rem; text-align: left; }
.footer-brand img { border-radius: 9px; }
.footer-brand p { font-size: 0.82rem; color: var(--ink-dim); }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; }
.footer-links a { font-size: 0.88rem; color: var(--ink-dim); text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--green); }

.footer-note { font-size: 0.78rem; color: rgba(157, 184, 198, 0.6); }

/* ═══ RESPONSIVO ═════════════════════════════════════ */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { order: -1; margin-top: 1rem; }
  .package-scene { width: min(250px, 62vw); }
  .hero-actions { justify-content: center; }

  .features-grid, .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .journey { height: 470vh; }
  .journey-stage { grid-template-columns: 1fr; gap: 1.6rem; }
  .phone { max-width: 230px; margin-inline: auto; }
  .journey-steps { gap: 0.6rem; }
  .jstep { padding: 0.75rem 0.9rem; }
  .jstep p { display: none; }
  .jstep.active p { display: block; }

  .privacy-inner { grid-template-columns: 1fr; }
  .privacy-visual { order: -1; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(7, 23, 34, 0.96);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 51;
  }

  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .features-grid, .channels-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .notif-pop-1 { right: -2%; } .notif-pop-2 { left: -2%; }
  .fb-caption { position: static; }
  .fallback-line { padding-bottom: 0; }
}

/* ═══ MOVIMENTO REDUZIDO ═════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .hero .reveal-up, .hero-title .word, .package-scene, .hero-scroll { opacity: 1; transform: none; animation: none; }
  main .reveal-up { opacity: 1 !important; transform: none !important; }
  .scene-ocr .ocr-line { width: 100%; }
  .score-fg { stroke-dashoffset: 2; }
  .shield-tick { stroke-dashoffset: 0; }
  .preloader { display: none; }
  .cursor-glow { display: none; }
}
