/* Creditus — landing page
   Tokens alinhados ao app (app/lib/core/theme.dart) e ao painel. */

:root {
  --navy: #0A2540;
  --navy-2: #061A2F;
  --navy-3: #0F2D4D;
  --body: #425466;
  --muted: #697386;
  --line: #E3E8EE;
  --paper: #F6F9FC;
  --white: #FFFFFF;

  --blurple: #635BFF;
  --blurple-d: #4B45C6;
  --lav: #EEEDFF;
  --lav-2: #F5F4FF;
  --violet: #A960EE;
  --mint: #02C389;
  --mint-l: #7CF2C6;
  --sky: #0EA5E9;
  --gold: #F0C96E;
  --amber: #F5A524;
  --danger: #DF1B41;

  --success-d: #006908;
  --success-s: #E6F9EA;
  --warn: #A82C00;
  --warn-s: #FFF1E8;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 12px rgba(10, 37, 64, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 37, 64, .22), 0 18px 36px -18px rgba(10, 37, 64, .18);
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: var(--display); font-weight: 700; }
p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blurple); color: var(--white); box-shadow: 0 8px 20px -8px rgba(99, 91, 255, .7); }
.btn--primary:hover { background: var(--blurple-d); }
.btn--glow { background: var(--white); color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }

/* Botões das lojas */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 178px;
  min-height: 58px;
  padding: 9px 20px 9px 15px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--white);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.store:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55), 0 0 0 5px rgba(124, 242, 198, .14);
}
.store__icon { width: 26px; height: 26px; flex: none; }
.store--apple .store__icon { width: 24px; height: 28px; color: var(--white); }
.store__text { display: flex; flex-direction: column; line-height: 1.1; }
.store__text small { font-size: 11.5px; letter-spacing: .02em; opacity: .85; }
.store__text strong { font: 600 20px/1.15 var(--sans); letter-spacing: -.01em; white-space: nowrap; }

[data-platform="ios"] .store--apple,
[data-platform="android"] .store--play { order: -1; }
[data-platform="ios"] .stores:not(.stores--sm) .store--apple,
[data-platform="android"] .stores:not(.stores--sm) .store--play { box-shadow: 0 0 0 3px rgba(124, 242, 198, .55); }

.stores--sm .store { min-width: 0; min-height: 48px; padding: 7px 16px 7px 12px; border-radius: 12px; }
.stores--sm .store__icon { width: 21px; height: 21px; }
.stores--sm .store--apple .store__icon { width: 19px; height: 23px; }
.stores--sm .store__text small { font-size: 10px; }
.stores--sm .store__text strong { font-size: 16px; }

/* ---------- Tags / eyebrows ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  font: 500 14px/1 var(--sans);
}
.tag--dark { color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(2, 195, 137, .25); animation: pulse 2.4s ease-in-out infinite; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blurple);
  font: 600 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blurple), var(--mint)); }
.eyebrow--light { color: var(--mint-l); }

/* Marca-texto verde: o "aprovado" do logo */
.ink-grad {
  background: linear-gradient(transparent 58%, rgba(2, 195, 137, .26) 58% 90%, transparent 90%);
  padding-inline: .06em;
  margin-inline: -.06em;
}

/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -.02em; }
.brand__logo { display: block; height: 30px; width: auto; aspect-ratio: 678.85 / 92.17; }

/* Cores do logo embutido (#logo): versão escura sobre o hero e o rodapé, clara no cabeçalho branco. */
.nav, .brand--light {
  --logo-c: url(#lg-cd);
  --logo-text: #FFFFFF;
  --logo-dot: #3EEBB0;
  --logo-club: #A9A4FF;
}
.nav.is-scrolled, .nav.is-open {
  --logo-c: url(#lg-c);
  --logo-text: #0A2540;
  --logo-dot: #02C389;
  --logo-club: #635BFF;
}
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: inherit; opacity: .82; font-size: 15px; font-weight: 500; text-decoration: none; transition: opacity .2s, background-color .2s; }
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; }

.nav.is-scrolled {
  color: var(--navy);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 37, 64, .25);
}
.nav.is-scrolled .nav__links a:hover { background: var(--lav); }
.nav.is-scrolled .btn--glow { background: var(--blurple); color: var(--white); box-shadow: 0 8px 20px -8px rgba(99, 91, 255, .7); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 148px 0 calc(7vw + 28px);
  background: radial-gradient(120% 90% at 80% 0%, #13305A 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
}

.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .7;
  animation: drift 24s ease-in-out infinite alternate;
  will-change: transform;
}
.aurora__blob--1 { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: var(--blurple); }
.aurora__blob--2 { width: 38vw; height: 38vw; right: -10vw; top: -6vw; background: var(--violet); opacity: .55; animation-duration: 28s; animation-delay: -6s; }
.aurora__blob--3 { width: 26vw; height: 26vw; right: 8vw; bottom: -6vw; background: var(--mint); opacity: .32; animation-duration: 20s; animation-delay: -3s; }
.aurora__blob--4 { width: 30vw; height: 30vw; left: 24vw; bottom: -14vw; background: var(--sky); opacity: .3; animation-duration: 30s; animation-delay: -12s; }

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 10%, transparent 72%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 40px;
}

.hero__copy { max-width: 620px; }
.hero__title {
  margin: 22px 0 22px;
  color: var(--white);
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.032em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.hero__title em {
  position: relative;
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, #9BF7D4 0%, #5EE1FF 55%, #C3B2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -.08em;
  height: .09em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  transform-origin: left;
  animation: draw 1s .9s var(--ease) both;
}
.hero__lead { max-width: 540px; color: rgba(255, 255, 255, .74); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; }
.hero__lead strong { color: var(--white); font-weight: 600; }
.hero .stores { margin-top: 34px; }

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(2, 195, 137, .2); color: var(--mint-l); }

/* Entrada da hero */
.js .hero__copy > * { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(1) { animation-delay: .05s; }
.js .hero__copy > :nth-child(2) { animation-delay: .15s; }
.js .hero__copy > :nth-child(3) { animation-delay: .27s; }
.js .hero__copy > :nth-child(4) { animation-delay: .39s; }
.js .hero__copy > :nth-child(5) { animation-delay: .5s; }

/* ---------- Celular (mockup do app) ---------- */

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
  perspective: 1800px;
}
.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, .55), rgba(169, 96, 238, .25) 40%, transparent 68%);
  filter: blur(10px);
}

.phone {
  --rx: 4deg;
  --ry: -16deg;
  position: relative;
  width: 304px;
  height: 628px;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(150deg, #2A3142, #0B0F17 55%, #1B2130);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .12),
    inset 0 0 0 5px #05070C,
    0 60px 100px -30px rgba(3, 8, 30, .85),
    0 30px 80px -30px rgba(99, 91, 255, .7);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.js .phone:not(.is-ready) { animation: phone-in 1.3s .25s var(--ease) both; }

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  line-height: 1.3;
}

.ph-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 26px 0 30px;
  color: var(--white);
  font: 600 12.5px/1 var(--sans);
}
.ph-island { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.ph-sys { display: flex; gap: 3px; align-items: flex-end; }
.ph-sys i { width: 3px; border-radius: 1px; background: currentColor; }
.ph-sys i:nth-child(1) { height: 5px; }
.ph-sys i:nth-child(2) { height: 7px; }
.ph-sys i:nth-child(3) { width: 18px; height: 9px; margin-left: 4px; border-radius: 3px; }

.ph-head {
  padding: 50px 14px 0;
  background: linear-gradient(135deg, var(--blurple), var(--violet)) top / 100% 148px no-repeat;
  color: var(--white);
}
.ph-hello { font-size: 11px; opacity: .85; }
.ph-title { margin: 2px 0 12px; font: 700 16px/1.2 var(--display); letter-spacing: -.01em; }
.ph-head .ph-badge { margin-top: -26px; }

.ph-gauge {
  position: relative;
  padding: 14px 18px 38px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px -12px rgba(10, 37, 64, .35);
}
.ph-gauge .gauge { width: 190px; margin: 0 auto; }
.ph-gauge__num { position: absolute; left: 0; right: 0; top: 66px; display: flex; flex-direction: column; align-items: center; }
.ph-gauge__num strong { color: var(--navy); font: 750 36px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ph-gauge__num span { color: var(--muted); font-size: 10px; }
.ph-badge {
  position: relative;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 10px;
  font-weight: 700;
}
.ph-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

.ph-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 12px 4px; }
.ph-shortcuts span { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--body); font-size: 9.5px; font-weight: 500; }
.ph-shortcuts i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--lav); color: var(--blurple); }
.ph-shortcuts svg { width: 19px; height: 19px; }

.ph-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px 6px; }
.ph-sec b { font: 700 12.5px/1 var(--display); }
.ph-sec span { color: var(--blurple); font-size: 10px; font-weight: 600; }

.ph-prod {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 12px 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}
.ph-prod__txt { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.ph-prod__txt b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-prod__txt small { color: var(--muted); font-size: 9px; }

.ph-card {
  position: relative;
  flex: none;
  display: inline-block;
  width: 38px;
  height: 25px;
  border-radius: 5px;
  background: linear-gradient(135deg, #1E293B, #0A2540);
  box-shadow: 0 3px 8px -3px rgba(10, 37, 64, .5);
}
.ph-card::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 6px; border-radius: 1.5px; background: var(--gold); }
.ph-card--a { background: linear-gradient(135deg, #0F172A, #334155); }
.ph-card--b { background: linear-gradient(135deg, var(--mint), #0E9F6E); }
.ph-card--c { background: linear-gradient(135deg, var(--blurple), var(--violet)); }

.chance {
  flex: none;
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.chance--high { background: var(--success-s); color: var(--success-d); }
.chance--mid { background: var(--warn-s); color: var(--warn); }

.ph-tabbar {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.ph-tabbar::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 108px; height: 4px; margin-left: -54px; border-radius: 4px; background: var(--navy); }
.ph-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 8.5px; font-weight: 500; }
.ph-tabbar svg { width: 17px; height: 17px; }
.ph-tabbar .is-on { color: var(--blurple); font-weight: 700; }

/* Gauge (usado na hero, nos passos e na seção de score) */
.gauge { overflow: visible; }
.gauge__track, .gauge__value { fill: none; stroke-width: 22; stroke-linecap: round; }
.gauge__track { stroke: #EEF1F6; }
.gauge__value { stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.gauge__knob { fill: var(--white); stroke: var(--navy); stroke-width: 5; filter: drop-shadow(0 3px 5px rgba(10, 37, 64, .3)); }

/* Cartões flutuantes */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  box-shadow: 0 24px 50px -18px rgba(3, 8, 30, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  font-size: 13px;
  line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-weight: 700; }
.float small { display: block; color: var(--muted); font-size: 12px; }
.js .float { animation: pop .8s var(--ease) both, bob 6s ease-in-out infinite; }

.float--compare { top: -4px; left: -18px; animation-delay: 0s, 1.2s; }
.js .float--compare { animation-delay: .9s, 1.7s; }
.float__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lav); color: var(--blurple); }
.float__icon svg { width: 18px; height: 18px; }
.minicards { display: flex; margin-left: 4px; }
.minicards i { width: 22px; height: 15px; border-radius: 3px; margin-left: -8px; border: 1.5px solid var(--white); }
.minicards i:nth-child(1) { background: linear-gradient(135deg, #0F172A, #334155); margin-left: 0; }
.minicards i:nth-child(2) { background: linear-gradient(135deg, var(--mint), #0E9F6E); }
.minicards i:nth-child(3) { background: linear-gradient(135deg, var(--blurple), var(--violet)); }

.float--chat { top: 47%; right: -26px; max-width: 250px; align-items: flex-start; }
.js .float--chat { animation-delay: 1.15s, 2s; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blurple), var(--violet));
  color: var(--white);
  font: 700 15px/1 var(--display);
  box-shadow: 0 0 0 3px var(--lav);
}

.float--sim { bottom: 78px; left: -6px; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 200px; }
.js .float--sim { animation-delay: 1.4s, 2.4s; }
.float--sim b { font: 700 20px/1.1 var(--display); letter-spacing: -.02em; }
.float__bar { display: block; width: 100%; height: 6px; margin-top: 4px; border-radius: 6px; background: var(--amber); overflow: hidden; }
.float__bar i { display: block; width: 74%; height: 100%; background: var(--blurple); }

/* Faixa de categorias */
.marquee {
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.marquee__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  white-space: nowrap;
}
.marquee__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.marquee__list li:nth-child(3n + 2)::before { background: var(--violet); }
.marquee__list li:nth-child(3n)::before { background: var(--sky); }

/* ---------- Seções ---------- */

.section { position: relative; padding: 120px 0; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2, .score h2, .sim h2, .assistant h2, .faq h2, .cta h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  font-weight: 720;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.sec-head > p, .sec-head--split > p { margin-top: 18px; font-size: 18.5px; max-width: 600px; }
.sec-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; max-width: none; }
.sec-head--split > p { margin: 0 0 6px; }

/* Como funciona */
.how { background: var(--paper); margin-top: -6vw; padding-top: calc(120px + 6vw); scroll-margin-top: -6vw; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed #CDD3F8;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__num {
  display: block;
  margin-bottom: 18px;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blurple);
  font: 800 64px/1 var(--display);
  letter-spacing: -.04em;
}
.step h3 { margin-bottom: 10px; font-size: 23px; letter-spacing: -.02em; }
.step p { font-size: 16px; }
.step__art {
  margin-top: auto;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 170px;
  color: var(--navy);
}
.step p + .step__art { margin-top: 24px; }
.step__art--quiz p { margin-bottom: 10px; font: 700 14px/1.3 var(--display); }
.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 13.5px;
}
.opt i { width: 15px; height: 15px; border: 2px solid #C1C9D2; border-radius: 50%; }
.opt.is-on { border-color: var(--blurple); background: var(--lav-2); color: var(--blurple-d); font-weight: 600; }
.opt.is-on i { border-color: var(--blurple); box-shadow: inset 0 0 0 3px var(--white); background: var(--blurple); }

.step__art--score { position: relative; display: grid; place-items: center; }
.step__art--score .gauge { width: 180px; }
.step__score { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; flex-direction: column; align-items: center; }
.step__score b { font: 750 34px/1 var(--display); letter-spacing: -.03em; }
.step__score small { color: var(--blurple); font-size: 12.5px; font-weight: 700; }

.step__art--go { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.go-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 13.5px; }
.go-row b { flex: 1; }
.go-row .chance { font-size: 11px; }
.go-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; background: var(--blurple); color: var(--white); font-size: 14px; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(99, 91, 255, .8); }
.go-btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.step:hover .go-btn svg { transform: translateX(4px); }

/* Score */
.score { background: var(--white); overflow: hidden; }
.score::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(99, 91, 255, .08), transparent);
  pointer-events: none;
}
.score__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 72px; align-items: center; }
.score__copy > p { margin-top: 18px; font-size: 18px; max-width: 520px; }
.score__control { margin-top: 40px; max-width: 520px; }
.score__control label { display: block; margin-bottom: 14px; color: var(--navy); font-weight: 600; font-size: 15px; }

.score__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; }
.score__scale span {
  padding-top: 10px;
  border-top: 3px solid var(--c);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  opacity: .55;
  transition: opacity .3s, color .3s;
}
.score__scale span.is-on { opacity: 1; color: var(--navy); font-weight: 700; }

.score__card {
  --pc: #0EA5E9;
  position: relative;
  padding: 36px 36px 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.score__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 70%);
  transition: background .5s;
  pointer-events: none;
}
.score__dial { position: relative; max-width: 380px; margin: 0 auto; }
.gauge--big .gauge__track, .gauge--big .gauge__value { stroke-width: 20; }
.score__num { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; flex-direction: column; align-items: center; }
.score__num strong { color: var(--navy); font: 780 76px/.9 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.score__num span { margin-top: 6px; color: var(--muted); font-size: 14px; }

.score__profile { position: relative; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.score__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 12%, white);
  color: color-mix(in srgb, var(--pc) 75%, black);
  font-size: 13px;
  font-weight: 700;
}
.score__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.score__profile h3 { margin: 14px 0 8px; font-size: 26px; letter-spacing: -.02em; }
.score__profile p { font-size: 16px; }
.score__tips { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.score__tips li { position: relative; padding-left: 30px; color: var(--navy); font-size: 15px; }
.score__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pc) 14%, white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230A2540' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Range (score) */
input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: var(--track); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--track); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  box-shadow: 0 0 0 6px var(--ring, rgba(99, 91, 255, .25)), 0 4px 10px rgba(10, 37, 64, .3);
  transition: box-shadow .2s;
}
input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  box-shadow: 0 0 0 6px var(--ring, rgba(99, 91, 255, .25)), 0 4px 10px rgba(10, 37, 64, .3);
}
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px var(--ring, rgba(99, 91, 255, .25)), 0 4px 10px rgba(10, 37, 64, .3); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--mint), 0 4px 10px rgba(10, 37, 64, .3); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--mint), 0 4px 10px rgba(10, 37, 64, .3); }

#score-range { --track: linear-gradient(90deg, #DF1B41, #F5A524 30%, #635BFF 55%, #0EA5E9 78%, #10B981); }

/* Recursos (bento) */
.features { background: var(--paper); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.tile:hover { transform: translateY(-5px); border-color: #D5D2FF; box-shadow: 0 24px 50px -24px rgba(99, 91, 255, .35); }
.tile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: auto; border-radius: 14px; background: var(--lav); color: var(--blurple); transition: transform .35s var(--ease), background-color .35s, color .35s; }
.tile:hover .tile__icon { transform: rotate(-6deg) scale(1.06); background: var(--blurple); color: var(--white); }
.tile__icon svg { width: 22px; height: 22px; }
.tile h3 { margin-top: 26px; font-size: 20px; letter-spacing: -.015em; }
.tile p { margin-top: 6px; font-size: 15px; line-height: 1.5; }

.tile--compare { grid-column: span 2; grid-row: span 2; background: linear-gradient(180deg, var(--white), var(--lav-2)); }
.tile--compare .tile__icon, .tile--rank .tile__icon { margin-bottom: 0; }
.tile--compare p { max-width: 440px; }
.tile--rank { grid-column: span 2; }

.cmp {
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.tile--compare p + .cmp { margin-top: 26px; }
.cmp__row { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px dashed var(--line); text-align: center; color: var(--navy); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__row > span:first-child { text-align: left; color: var(--muted); }
.cmp__row--head span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.cmp__row svg { width: 18px; height: 18px; margin: 0 auto; color: var(--mint); }
.cmp .chance { font-size: 12px; padding: 4px 9px; }

.rank { display: grid; gap: 8px; margin-top: 18px; }
.rank span { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--navy); font-size: 14px; font-weight: 600; isolation: isolate; }
.rank span::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--lav), rgba(238, 237, 255, .25)); z-index: -1; }
.rank b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--blurple); font: 800 12px/1 var(--display); box-shadow: var(--shadow-sm); }

/* Simulador */
.sim { background: var(--navy); color: rgba(255, 255, 255, .74); overflow: hidden; isolation: isolate; }
.aurora--soft .aurora__blob { opacity: .35; }
.aurora--soft .aurora__blob--1 { left: auto; right: -14vw; top: -10vw; }
.aurora--soft .aurora__blob--3 { left: -6vw; right: auto; bottom: -10vw; opacity: .25; }
.sim__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.sim h2 { color: var(--white); }
.sim__copy > p { margin-top: 18px; font-size: 18px; }
.sim__notes { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.sim__notes li { display: flex; gap: 12px; font-size: 15.5px; }
.sim__notes strong { color: var(--white); }
.sim__notes svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(2, 195, 137, .18); color: var(--mint-l); }

.calc {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.calc__field + .calc__field { margin-top: 22px; }
.calc__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.calc__label label { color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; }
.calc__label output { color: var(--white); font: 700 22px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__limits { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .42); font-size: 12.5px; }
.calc input[type="range"] {
  --track: linear-gradient(90deg, var(--mint) 0%, var(--sky) var(--p), rgba(255, 255, 255, .14) var(--p));
  --ring: rgba(124, 242, 198, .28);
}

.calc__result { margin-top: 28px; padding: 24px; border-radius: 22px; background: var(--white); color: var(--body); }
.calc__main small { display: block; color: var(--muted); font-size: 14px; }
.calc__main strong { display: block; margin-top: 4px; color: var(--navy); font: 760 clamp(30px, 3.4vw, 42px)/1.05 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc__bar { height: 10px; margin: 18px 0 16px; border-radius: 99px; background: var(--amber); overflow: hidden; }
.calc__bar i { display: block; width: var(--p); height: 100%; border-radius: 99px 0 0 99px; background: linear-gradient(90deg, var(--blurple), #7C74FF); transition: width .35s var(--ease); }
.calc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.calc__stats div { display: flex; flex-direction: column; gap: 2px; }
.calc__stats dt { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13.5px; }
.calc__stats dd { margin: 0; color: var(--navy); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--p { background: var(--blurple); }
.dot--j { background: var(--amber); }
.calc__fine { margin-top: 16px; color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.5; }

/* Assistente */
.assistant { background: linear-gradient(180deg, var(--lav-2), #FBFAFF); overflow: hidden; }
.assistant__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.assistant__copy > p { margin-top: 18px; font-size: 18px; max-width: 500px; }
.assistant__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--blurple); font-weight: 600; font-size: 15px !important; }
.assistant__hint::before { content: "←"; font-size: 18px; }

.chat {
  display: flex;
  flex-direction: column;
  border: 1px solid #E4E1FF;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 40px 80px -40px rgba(99, 91, 255, .45), var(--shadow-sm);
  overflow: hidden;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat__head b { display: block; color: var(--navy); font: 700 17px/1.2 var(--display); }
.chat__head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.avatar--lg { width: 44px; height: 44px; font-size: 19px; }
.online { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(2, 195, 137, .2); }
.chat__body { display: flex; flex-direction: column; gap: 10px; height: 320px; padding: 22px; overflow-y: auto; scroll-behavior: smooth; }
.msg { max-width: 84%; padding: 12px 15px; font-size: 15px; line-height: 1.45; animation: msg-in .35s var(--ease) both; }
.msg--bot { align-self: flex-start; border-radius: 18px 18px 18px 6px; background: var(--lav-2); border: 1px solid #ECEAFF; color: var(--navy); }
.msg--user { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--blurple); color: var(--white); }
.msg--typing { display: flex; gap: 5px; padding: 15px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #A8A3FF; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
.msg a { color: inherit; font-weight: 700; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px 22px; border-top: 1px solid var(--line); background: #FCFCFF; }
.chat__chips button {
  padding: 9px 14px;
  border: 1px solid #DAD7FF;
  border-radius: 999px;
  background: var(--white);
  color: var(--blurple-d);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.chat__chips button:hover { background: var(--blurple); border-color: var(--blurple); color: var(--white); transform: translateY(-2px); }
.chat__chips button:disabled { opacity: .45; cursor: default; transform: none; background: var(--white); color: var(--blurple-d); border-color: #DAD7FF; }

/* Transparência */
.trust { background: var(--white); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); transition: transform .35s var(--ease); }
.trust__card:hover { transform: translateY(-4px); }
.trust__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--white); color: var(--blurple); box-shadow: var(--shadow-sm); }
.trust__icon svg { width: 24px; height: 24px; }
.trust__card h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: -.015em; }
.trust__card p { font-size: 15px; line-height: 1.55; }
.trust__card--warn { background: var(--warn-s); border-color: #FFD8C2; }
.trust__card--warn .trust__icon { color: var(--warn); }

/* FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head > p { margin-top: 18px; font-size: 17px; }
.faq__head a { color: var(--blurple); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  color: var(--navy);
  font: 650 19px/1.35 var(--display);
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blurple);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.faq summary:hover svg { border-color: #D5D2FF; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--blurple); border-color: var(--blurple); color: var(--white); }
.faq details p { padding: 0 60px 24px 4px; font-size: 16.5px; animation: fade .4s var(--ease); }
.faq details a { color: var(--blurple); font-weight: 600; }

/* CTA final */
.cta { background: var(--white); padding-top: 100px; }
.cta__box {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 72px 72px;
  border-radius: 40px;
  background: linear-gradient(135deg, #2B1F8F, var(--navy) 60%);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}
.aurora--cta .aurora__blob { filter: blur(60px); }
.aurora--cta .aurora__blob--1 { width: 520px; height: 520px; left: -140px; top: -260px; opacity: .8; }
.aurora--cta .aurora__blob--2 { width: 420px; height: 420px; right: -120px; top: auto; bottom: -220px; opacity: .6; }
.aurora--cta .aurora__blob--4 { width: 300px; height: 300px; left: 45%; bottom: -200px; background: var(--mint); opacity: .4; }
.cta__mark { width: 72px; height: 72px; margin-bottom: 26px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .35)); }
.cta h2 { max-width: 640px; color: var(--white); }
.cta__copy > p { max-width: 540px; margin-top: 16px; font-size: 18.5px; }
.cta .stores { margin-top: 32px; }
.cta__qr { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 22px 18px; border-radius: 26px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); transform: rotate(2.5deg); }
.cta__qr img { width: 168px; height: 168px; }
.cta__qr p { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.35; }
.cta__qr b { display: block; color: var(--navy); font-size: 15px; }
[data-platform="ios"] .cta__qr, [data-platform="android"] .cta__qr { display: none; }
[data-platform="ios"] .cta__box, [data-platform="android"] .cta__box { grid-template-columns: 1fr; }

/* Rodapé */
.footer { padding: 80px 0 40px; background: var(--navy-2); color: rgba(255, 255, 255, .62); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand--light { color: var(--white); }
.footer__brand > p { max-width: 340px; margin: 16px 0 24px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { margin-bottom: 4px; color: var(--white); font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.footer__col a { width: max-content; color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__legal { display: grid; gap: 12px; padding: 32px 0; color: rgba(255, 255, 255, .45); font-size: 12.5px; line-height: 1.65; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }

/* Barra de download fixa (celular) */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 20px 40px -16px rgba(10, 37, 64, .35);
  transform: translateY(160%);
  transition: transform .45s var(--ease);
}
.dock.is-on { transform: none; }
.dock__mark { width: 42px; height: 42px; flex: none; }
.dock__txt { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.dock__txt b { color: var(--navy); font: 700 16px/1.2 var(--display); }
.dock__txt small { color: var(--muted); font-size: 12.5px; }

/* ---------- Revelação ao rolar ---------- */

/* Usa `translate` (e não `transform`) para não brigar com o hover dos cards. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .8s var(--ease) var(--d, 0s),
    translate .8s var(--ease) var(--d, 0s),
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s;
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* ---------- Animações ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotateX(18deg) rotateY(-30deg) rotateZ(6deg); } to { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 6vw) scale(.94); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(2, 195, 137, .25); } 50% { box-shadow: 0 0 0 8px rgba(2, 195, 137, .05); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .float--chat { right: -6px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--compare { grid-row: span 1; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__box { padding: 56px; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 13px 14px; border-radius: 12px; font-size: 16px; opacity: 1; }
  .nav__links a:hover { background: var(--lav); }
  .nav__menu-cta { display: block; margin-top: 6px; background: var(--blurple); color: var(--white) !important; text-align: center; font-weight: 600 !important; }
  .nav__menu-cta:hover { background: var(--blurple-d) !important; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: inherit;
    cursor: pointer;
  }
  .nav.is-scrolled .nav__toggle, .nav.is-open .nav__toggle { border-color: var(--line); background: var(--white); color: var(--navy); }
  .nav.is-open { color: var(--navy); background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .nav.is-open .btn--glow { background: var(--blurple); color: var(--white); }
  .nav__toggle span { position: absolute; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav__toggle span:first-child { transform: translateY(-4px); }
  .nav__toggle span:last-child { transform: translateY(4px); }
  .nav.is-open .nav__toggle span:first-child { transform: rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: rotate(-45deg); }

  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy { max-width: 680px; }
  .hero__visual { min-height: 620px; }
  .float--compare { left: max(0px, calc(50% - 300px)); }
  .float--chat { right: max(0px, calc(50% - 310px)); }
  .float--sim { left: max(0px, calc(50% - 290px)); }

  .sec-head--split { grid-template-columns: 1fr; gap: 0; }
  .sec-head--split > p { margin-top: 18px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .steps::before { top: 40px; bottom: 40px; left: 52px; right: auto; border-top: 0; border-left: 2px dashed #CDD3F8; }
  .score__grid, .sim__grid, .assistant__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .assistant__copy { order: -1; }
  .assistant__hint::before { content: "↓"; }
  .faq__head { position: static; }
  .cta__box { grid-template-columns: 1fr; text-align: left; }
  .cta__qr { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .dock { display: flex; }
  .footer { padding-bottom: 120px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .how { padding-top: calc(84px + 6vw); }
  .hero { padding-top: 108px; }
  .brand__logo { height: 26px; }
  .hero__title { margin-top: 18px; }
  .stores { gap: 10px; }
  .hero .store, .cta .store { flex: 1 1 160px; min-width: 0; padding-inline: 12px; justify-content: center; }
  .hero .store { gap: 9px; }
  .hero .store__icon { width: 22px; height: 22px; }
  .hero .store--apple .store__icon { width: 20px; height: 24px; }
  .hero .store__text strong { font-size: 17px; }
  .hero__checks { gap: 8px 16px; font-size: 14px; }

  .hero__visual { min-height: 560px; margin-inline: calc(var(--gutter) * -1); }
  .phone { --ry: -10deg; width: 268px; height: 556px; border-radius: 46px; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg) scale(.98); }
  .phone__screen { border-radius: 36px; }
  .halo { width: 380px; height: 380px; }
  .float { font-size: 12px; padding: 9px 11px; border-radius: 14px; }
  .float small { font-size: 11px; }
  .float--compare { top: 34px; left: 8px; }
  .float--compare .minicards { display: none; }
  .float--chat { top: auto; bottom: 150px; right: 8px; max-width: 200px; }
  .float--sim { bottom: 40px; left: 10px; min-width: 0; }
  .float--sim b { font-size: 17px; }
  .marquee { margin-top: 36px; }
  .marquee__list li { padding: 8px 14px; font-size: 14px; }

  .step { padding: 26px 22px 22px; }
  .step__num { font-size: 52px; }
  .steps::before { left: 44px; }
  .score__card { padding: 28px 20px 24px; border-radius: 26px; }
  .score__num strong { font-size: 60px; }
  .score__scale span { font-size: 10.5px; }
  .bento { grid-template-columns: 1fr; }
  .tile--compare, .tile--rank { grid-column: auto; }
  .tile { min-height: 0; }
  .tile__icon { margin-bottom: 0; }
  .cmp { padding: 6px 12px; font-size: 13px; }
  .cmp__row { grid-template-columns: .95fr repeat(3, 1fr); gap: 4px; }
  .trust__grid { grid-template-columns: 1fr; }
  .calc { padding: 22px 18px; border-radius: 26px; }
  .calc__result { padding: 20px 18px; }
  .chat__body { height: 300px; padding: 16px; }
  .chat__chips { padding: 14px 16px 18px; }
  .faq summary { font-size: 17px; padding: 18px 2px; }
  .faq details p { padding-right: 8px; }
  .cta { padding-top: 40px; }
  .cta__box { padding: 44px 22px; border-radius: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}

@media (hover: none) {
  .marquee:hover .marquee__track { animation-play-state: running; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}
