/* Travel by Me — site. Cores, fonte, raios e sombras vêm de src/theme/tokens.ts do app. */

:root {
  --primary: #FE5702;
  --primary-text: #C2410C;
  --primary-soft: #FDEBDD;
  --navy: #1C2456;
  --navy-text: #212655;
  --navy-deep: #011547;
  --cream: #FEF7EC;
  --background: #FBFAF8;
  --surface: #F1F2F6;
  --muted: #5B6172;
  --border: #D0D5DD;
  --success: #14734A;
  --success-soft: #E3F5EC;
  --blue-soft: #E0EAFF;
  --white: #FFFFFF;

  --shadow-card: 0 8px 20px rgba(1, 21, 71, 0.08);
  /* Contorno e sombra "de adesivo", no mesmo traço azul-marinho do mascote. */
  --ink: 2.5px solid var(--navy-deep);
  --drop: 0 6px 0 var(--navy-deep);
  --drop-sm: 0 4px 0 var(--navy-deep);

  --wrap: 1120px;
  --gutter: 24px;
}

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

/* Sem scroll-behavior: a rolagem nativa responde na hora, e o salto entre âncoras é conduzido em site.js. */
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy-text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Tipografia ---------- */

.display {
  font-weight: 800;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--navy);
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--primary-text); }

.title {
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--navy);
  text-wrap: balance;
}
.title em { font-style: normal; color: var(--primary-text); }

.lead { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.6; color: var(--navy-text); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.45; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--drop-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow i { font-size: 16px; color: var(--primary); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: var(--ink);
  border-radius: 999px;
  background: var(--primary);
  box-shadow: var(--drop);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn i { transition: transform 0.18s ease; }
.btn:hover { transform: translateY(2px); box-shadow: var(--drop-sm); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn:hover .ph-arrow-down { transform: translateY(3px); }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--navy-deep); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: var(--drop-sm); white-space: nowrap; }
.btn--sm:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--navy-deep); }
.btn--sm:active { transform: translateY(4px); box-shadow: 0 0 0 var(--navy-deep); }

/* ---------- Faixa que corre no topo ---------- */

.ticker { background: var(--navy-deep); color: var(--white); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0 10px 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: '✈'; color: var(--primary); font-size: 15px; }

/* Esteiras: a fileira anda exatamente um grupo (metade dela) em velocidade constante.
   A duração (--loop) vem da largura medida em site.js. Não há pausa no hover. */
[data-marquee-row] { will-change: transform; backface-visibility: hidden; }
[data-marquee-row].is-running { animation: slide var(--loop, 60s) linear infinite; }
.is-off [data-marquee-row] { animation-play-state: paused; } /* só fora da tela */
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Cabeçalho ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 247, 236, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.header.is-stuck { border-bottom-color: var(--border); }
.header__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.header__logo img { width: 112px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; padding: 8px 0; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--navy); transition: color 0.15s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2.5px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border: var(--ink); border-radius: 50%; background: var(--white); font-size: 22px; color: var(--navy); cursor: pointer; }
.nav a:hover, .nav a[aria-current] { color: var(--primary-text); }

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

.hero { position: relative; padding: 40px 0 96px; text-align: center; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -20% 0;
  background: repeating-conic-gradient(from 0deg at 50% 34%, rgba(254, 87, 2, 0.075) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask-image: radial-gradient(60% 62% at 50% 34%, #000 20%, transparent 100%);
  mask-image: radial-gradient(60% 62% at 50% 34%, #000 20%, transparent 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero__mascot { position: relative; width: clamp(220px, 27vw, 320px); margin-bottom: 36px; }
.hero__mascot video { width: 100%; border-radius: 40px; transform: rotate(-2deg); }
@keyframes bob { 50% { transform: translateY(-10px); } }

.spark { position: absolute; color: var(--navy-deep); font-size: 30px; animation: twinkle 2.6s ease-in-out infinite; }
.spark--a { top: 4%; left: -14%; }
.spark--b { top: 46%; right: -18%; font-size: 22px; color: var(--primary); animation-delay: 0.7s; }
.spark--c { bottom: 16%; left: -22%; font-size: 20px; color: var(--primary); animation-delay: 1.3s; }
@keyframes twinkle { 50% { transform: scale(0.7) rotate(20deg); opacity: 0.6; } }

.cloud { position: absolute; width: 190px; color: var(--white); pointer-events: none; filter: drop-shadow(0 5px 0 rgba(1, 21, 71, 0.1)); }
.cloud--a { top: 90px; left: max(-40px, calc(50% - 620px)); animation: drift 14s ease-in-out infinite alternate; }
.cloud--b { top: 300px; right: max(-60px, calc(50% - 640px)); width: 240px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.cloud--c { bottom: 150px; left: max(-50px, calc(50% - 680px)); width: 150px; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(36px); } }

.hero .eyebrow { margin-bottom: 28px; }
.hero .lead { max-width: 560px; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }


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

.section { position: relative; padding: 104px 0; overflow-x: clip; }
.section--white { background: var(--background); }
.section--sky { background: var(--blue-soft); }
.section--soft { background: var(--primary-soft); }
.section--navy { background: radial-gradient(80% 60% at 50% 0%, #1C2456 0%, var(--navy-deep) 70%); color: var(--white); }
.section--navy .title { color: var(--white); }
.section--navy .title em { color: var(--primary); }
.section--navy .lead { color: rgba(255, 255, 255, 0.86); }

.head { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; margin: 0 auto 56px; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
/* Sem isto, um filho largo (celular, vídeo) impede a coluna de encolher e a página estoura em telas estreitas. */
.split > *, .final.hero .wrap > * { min-width: 0; }
.split--flip > :first-child { order: 2; }
.split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.split__art { display: flex; justify-content: center; }

.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; }
.ticks i { flex-shrink: 0; margin-top: 2px; font-size: 22px; color: var(--success); }
.section--navy .ticks i { color: var(--primary); }

.section--tight { padding-bottom: 80px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--navy-deep); font-weight: 700; color: var(--white); text-decoration: none; }
.skip:focus { top: 12px; }
[tabindex='-1']:focus { outline: none; }

/* ---------- O problema: informações espalhadas, depois reunidas ---------- */

.mess { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 2px dashed var(--border); border-radius: 18px; background: var(--white); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--navy); }
.note i { flex-shrink: 0; margin-top: 1px; font-size: 22px; color: var(--muted); }
.note small { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--muted); }
.note:nth-child(1) { transform: rotate(-2deg); }
.note:nth-child(2) { transform: rotate(1.5deg) translateY(10px); }
.note:nth-child(3) { transform: rotate(-1deg); }
.note:nth-child(4) { transform: rotate(2deg) translateY(8px); }

.join { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 30px 0 22px; color: var(--navy); }
.join span { width: 0; height: 44px; border-left: 3px dotted currentColor; opacity: 0.45; }
.join i { font-size: 22px; color: var(--primary); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { padding: 22px; border: var(--ink); border-radius: 24px; background: var(--white); box-shadow: var(--drop); }
.pillar h3 { margin: 16px 0 6px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--navy); }
.pillar p { font-size: 16px; }
/* Mesmas cores de categoria dos atalhos da tela inicial do app. */
.badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; }
.badge--orange { background: var(--primary-soft); color: var(--primary-text); }
.badge--purple { background: #EDE7FE; color: #6D28D9; }
.badge--blue { background: var(--blue-soft); color: #1D4ED8; }
.badge--green { background: var(--success-soft); color: var(--success); }

/* ---------- Vitrine de destinos ---------- */

.lineup { display: flex; flex-direction: column; gap: 22px; min-height: 638px; padding: 12px 0 24px; overflow: hidden; }
.lineup__row { display: flex; width: max-content; }
.lineup__row--back.is-running { animation-direction: reverse; }
.lineup__group { display: flex; flex-shrink: 0; gap: 22px; padding-right: 22px; }

.place {
  position: relative;
  flex-shrink: 0;
  width: 230px;
  height: 290px;
  border: var(--ink);
  border-radius: 24px;
  box-shadow: var(--drop);
  overflow: hidden;
  background: var(--navy);
  transform: rotate(var(--tilt, 0deg));
}
.place img { width: 100%; height: 100%; object-fit: cover; }
.place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-deep) 0%, rgba(1, 21, 71, 0.35) 38%, rgba(1, 21, 71, 0) 62%); }
.place span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.03em; color: var(--white); }

.place--open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 2.5px dashed var(--primary);
  box-shadow: none;
  background: repeating-linear-gradient(-45deg, var(--white) 0 14px, var(--primary-soft) 14px 28px);
  text-align: center;
}
.place--open::after { display: none; }
.place--open i { font-size: 34px; color: var(--primary-text); }
.place--open strong { font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.03em; color: var(--primary-text); }
.place--open small { font-weight: 600; font-size: 14px; color: var(--navy); }

/* ---------- Celular e cartões que imitam as telas do app ---------- */

.phone {
  position: relative;
  width: 320px;
  max-width: 100%;
  padding: 18px 16px 20px;
  border: 3px solid var(--navy-deep);
  border-radius: 40px;
  background: var(--background);
  box-shadow: 0 10px 0 var(--navy-deep);
  color: var(--navy-text);
  text-align: left;
}
.phone::before { content: ''; display: block; width: 84px; height: 6px; margin: 0 auto 16px; border-radius: 3px; background: var(--border); }
.phone__title { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--navy); }

.days { display: flex; gap: 8px; margin: 14px 0 16px; }
.day { flex: 1; padding: 8px 0; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); text-align: center; font-weight: 600; font-size: 12px; line-height: 1.3; color: var(--muted); }
.day b { display: block; font-weight: 800; font-size: 17px; color: var(--navy); }
.day.is-on { background: var(--primary); color: var(--white); }
.day.is-on b { color: var(--white); }

.daylabel { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: var(--navy); }

.stop { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-card); }
.stop + .stop { margin-top: 10px; }
.stop img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; }
.stop b { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--navy); }
.stop span { font-size: 13px; color: var(--muted); }
.stop__n { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; background: var(--primary-soft); font-weight: 800; font-size: 13px; color: var(--primary-text); }

.map { position: relative; height: 132px; margin-top: 14px; border-radius: 20px; overflow: hidden; background: #E6E8F4; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--white); border-radius: 50%; background: var(--primary); font-weight: 800; font-size: 13px; color: var(--white); box-shadow: 0 4px 10px rgba(1, 21, 71, 0.25); }
.map__btn { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: 12px; color: var(--navy); }

/* Montagem do roteiro (SetupBuilding) */
.build { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 380px; max-width: 100%; padding: 28px 24px; border: var(--ink); border-radius: 28px; background: var(--cream); box-shadow: var(--drop); }
.build__mascot { width: 120px; height: auto; animation: bob 1.8s ease-in-out infinite; }
.build__title { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--navy); text-align: center; }
.build__track { align-self: stretch; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.build__fill { height: 100%; border-radius: 4px; background: var(--primary); transform: scaleX(0.04); transform-origin: left; transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1); }
.build__list { align-self: stretch; display: flex; flex-direction: column; gap: 16px; min-height: 330px; } /* altura da lista completa: o cartão não cresce enquanto as etapas entram */
.stage { display: flex; align-items: flex-start; gap: 14px; }
.stage.is-fresh { animation: rise 0.32s cubic-bezier(0.33, 1, 0.68, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.stage__mark { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 12px rgba(1, 21, 71, 0.08); color: var(--primary); font-size: 16px; }
.stage.is-done .stage__mark { background: var(--success); box-shadow: none; color: var(--white); }
.stage__mark i { display: block; line-height: 1; }
.stage.is-done .stage__mark i { font-size: 18px; }
.stage.is-fresh.is-done .stage__mark { animation: tick 0.36s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes tick { from { transform: scale(0.6); } }
/* Só o texto: `.stage span` também pegava o círculo do visto e desalinhava o ícone. */
.stage__text b { display: block; padding-top: 4px; font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--navy); }
.stage__text span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }

.interests { display: flex; flex-wrap: wrap; gap: 10px; }
.try { display: flex; flex-direction: column; gap: 12px; }
.try__label, .bill__hint { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--primary-text); }
.try__label i, .bill__hint i { font-size: 18px; }
.interest { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--border); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; transition: transform 0.12s, border-color 0.15s, background 0.15s; }
.interest::after { content: '+'; font-weight: 800; color: var(--muted); }
.interest:hover { transform: translateY(-2px); border-color: var(--navy); }
.interest:active { transform: translateY(0); }
.interest[aria-pressed='true'] { border-color: var(--primary); background: var(--primary-soft); }
.interest[aria-pressed='true']::after { content: '✓'; color: var(--primary-text); }

/* Despesas */
.spend { position: relative; width: 420px; max-width: 100%; }
/* As animações têm fundo próprio: ganham moldura em vez de tentar sumir no fundo da página. */
.art { border: var(--ink); border-radius: 28px; box-shadow: var(--drop); background: var(--cream); }
.spend > .art { width: 100%; }
.bill { position: relative; margin: -40px 16px 0; padding: 18px; border: var(--ink); border-radius: 24px; background: var(--white); box-shadow: var(--drop); }
.bill__top { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 17px; color: var(--navy); }
.bill__sub { margin: 2px 0 14px; font-size: 14px; color: var(--muted); }
.bill__row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--surface); font-weight: 600; font-size: 15px; color: var(--navy); }
.bill__value { margin-left: auto; }
.bill__row:first-of-type .bill__value { margin-right: 54px; }
.out { color: var(--muted); }
.bill__hint { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--surface); }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 999px; background: var(--border); cursor: pointer; transition: background 0.18s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(1, 21, 71, 0.3); transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1); }
.switch[aria-checked='true'] { background: var(--primary); }
.switch[aria-checked='true']::after { transform: translateX(18px); }
.switch::before { content: ''; position: absolute; inset: -10px -6px; } /* área de toque de 46px */
.switch:focus-visible { outline-offset: 2px; border-radius: 999px; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); font-weight: 800; font-size: 12px; color: var(--navy); }
.owes { color: var(--primary-text); }
.gets { color: var(--success); }

/* Passaporte (PassportCard) */
.passport-stage { position: relative; width: 100%; padding: 20px 0; }
.passport {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 360px;
  max-width: 100%;
  padding: 18px 20px 16px;
  border: 1.5px dashed var(--border);
  border-radius: 28px;
  background: var(--white);
  color: var(--navy-text);
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.passport__head { align-self: stretch; display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; color: var(--muted); }
.passport__mark { position: absolute; top: 54px; right: 18px; font-size: 54px; color: var(--border); transform: rotate(-18deg); }
.passport__photo { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--blue-soft); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; color: var(--navy); }
.passport__flag { position: absolute; left: -6px; bottom: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); font-size: 24px; line-height: 1; }
.passport__name { font-weight: 800; font-size: 24px; line-height: 1.25; letter-spacing: -0.025em; color: var(--navy); text-align: center; }
.passport__meta { font-weight: 600; font-size: 14px; text-align: center; }
.stamp { padding: 3px; border: 2.5px solid var(--primary); border-radius: 10px; background: var(--primary-soft); transform: rotate(-7deg); }
.stamp__in { padding: 6px 22px; border: 1px dashed var(--primary); border-radius: 6px; text-align: center; color: var(--primary-text); }
.stamp__in b { display: block; font-weight: 800; font-size: 20px; letter-spacing: 0.2em; }
.stamp__in span { font-weight: 700; font-size: 12px; letter-spacing: 0.2em; }
.passport.is-in .stamp { animation: stamp 0.5s 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-7deg) scale(2.2); } }
.passport__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.passport__tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 14px; color: var(--navy); }
.passport__foot { align-self: stretch; display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--border); }
.passport__foot div { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; letter-spacing: 0.13em; color: var(--muted); }
.passport__foot code { font-family: Menlo, ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; color: #6B7280; white-space: nowrap; overflow: hidden; }

.visa { position: absolute; display: grid; place-items: center; width: 112px; height: 112px; border: 2.5px solid currentColor; border-radius: 50%; font-weight: 800; font-size: 12px; line-height: 1.3; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; opacity: 0.9; }
.visa::before { content: ''; position: absolute; inset: 5px; border: 1px dashed currentColor; border-radius: 50%; }
.visa--a { top: -56px; left: -74px; color: #FFB48A; transform: rotate(-14deg); }
.visa--b { bottom: -60px; right: -64px; color: #B9C6FF; transform: rotate(12deg); }

/* Travis */
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.chat__head img { width: 46px; height: 46px; border-radius: 50%; }
.chat__head b { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--navy); }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.bubble--me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--navy); color: var(--white); }
.bubble--travis { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--white); box-shadow: var(--shadow-card); color: var(--navy-text); }
.summary { padding: 14px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-card); }
.summary b { display: block; font-weight: 800; font-size: 16px; color: var(--navy); }
.summary > span { font-size: 13px; color: var(--muted); }
.summary li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--surface); font-weight: 600; font-size: 14px; color: var(--navy); }
.summary ul { margin-top: 10px; }
.summary li i { font-size: 20px; color: var(--border); }
.summary li.is-done i { color: var(--success); }
.chat__actions { display: flex; gap: 8px; }
.chat__actions span { flex: 1; padding: 10px 0; border-radius: 999px; background: var(--primary); font-weight: 700; font-size: 14px; color: var(--white); text-align: center; }
.chat__actions span + span { border: 1px solid var(--border); background: var(--white); color: var(--navy); }

/* Capturas reais do app, na moldura de celular */
.shot { position: relative; width: 300px; max-width: 100%; border: 3px solid var(--navy-deep); border-radius: 44px; background: var(--white); box-shadow: 0 10px 0 var(--navy-deep); overflow: hidden; }
.shot img { width: 100%; }
.duo { position: relative; width: 440px; max-width: 92%; margin: 0 auto; }
.duo .shot:first-child { width: 62%; transform: rotate(-4deg); }
.duo .shot:last-child { position: absolute; top: 13%; right: 0; width: 52%; transform: rotate(5deg); }
.section--navy .shot { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); border-color: var(--white); }

/* Celular do hero, saindo da borda de baixo, com a rota tracejada dos dois lados */
.hero.hero--top { padding-bottom: 0; }
.hero__stage { position: relative; display: flex; justify-content: center; width: 100%; height: 480px; margin-top: 64px; overflow: hidden; }
.hero__stage .shot { width: 330px; height: max-content; border-radius: 48px; box-shadow: none; }
.route { position: absolute; top: 40px; width: 330px; height: 220px; color: var(--navy); pointer-events: none; }
.route path { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 3 11; stroke-linecap: round; opacity: 0.45; }
.route--a { right: calc(50% + 190px); }
.route--b { left: calc(50% + 190px); }
.waypoint { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: var(--ink); border-radius: 50%; background: var(--white); box-shadow: var(--drop-sm); font-size: 26px; color: var(--primary); }
.waypoint--pin { top: 200px; right: calc(50% + 480px); }
.waypoint--plane { top: 20px; left: calc(50% + 480px); transform: rotate(12deg); }
.tag { position: absolute; padding: 8px 14px; border: var(--ink); border-radius: 14px; background: var(--white); box-shadow: var(--drop-sm); font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; }
.tag small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.tag--a { top: 150px; right: calc(50% + 200px); transform: rotate(-4deg); }
.tag--b { top: 230px; left: calc(50% + 200px); transform: rotate(3deg); }

/* ---------- Como funciona ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
/* Cada passo é um cartão de embarque: faixa no topo, picote e recortes nas laterais. */
.step { position: relative; border: var(--ink); border-radius: 24px; background: var(--white); box-shadow: var(--drop); overflow: hidden; counter-increment: step; }
.step::before, .step::after { content: ''; position: absolute; top: 35px; width: 22px; height: 22px; border: var(--ink); border-radius: 50%; background: var(--primary-soft); }
.step::before { left: -13px; }
.step::after { right: -13px; }
.step__top { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 24px; border-bottom: 2.5px dashed var(--navy-deep); background: var(--navy-deep); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; color: var(--white); }
.step__top::before { content: 'PASSO 0' counter(step); }
.step__top i { font-size: 20px; color: var(--primary); }
.step__body { padding: 22px 22px 24px; }
.step:nth-child(odd) { transform: rotate(-1deg); }
.step:nth-child(even) { transform: rotate(1deg); }
.step h3 { margin-bottom: 8px; font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.03em; color: var(--navy); }
.step p { font-size: 16px; }

/* ---------- Perguntas ---------- */

.faq { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
.faq details { border: var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--drop-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 18px; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-text); }
.faq summary:focus-visible { border-radius: 18px; }
.faq summary::after { content: '+'; flex-shrink: 0; font-weight: 800; font-size: 26px; line-height: 1; color: var(--primary-text); transition: transform 0.2s; }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq__body { overflow: hidden; }
.faq p { padding: 0 22px 20px; font-size: 17px; }
.faq a { color: var(--primary-text); font-weight: 600; }

/* ---------- Baixar ---------- */

.final { position: relative; padding: 104px 0 120px; text-align: center; overflow: hidden; }
.final.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; text-align: left; }
.final__art { width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.final .small a { color: var(--primary-text); font-weight: 700; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 26px 0 22px; border: var(--ink); border-radius: 999px; background: var(--navy-deep); box-shadow: var(--drop); color: var(--white); text-align: left; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.store i { font-size: 30px; }
.store small { display: block; font-weight: 600; font-size: 12px; line-height: 1.2; opacity: 0.8; }
.store b { display: block; font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; }
a.store:hover { transform: translateY(2px); box-shadow: var(--drop-sm); }
a.store:active { transform: translateY(6px); box-shadow: 0 0 0 var(--navy-deep); }
.store.is-soon { background: var(--white); color: var(--navy); box-shadow: none; border-style: dashed; }

/* ---------- Rodapé ---------- */

.footer { padding: 48px 0 110px; background: var(--navy-deep); color: rgba(255, 255, 255, 0.86); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--white); }
.footer__brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { font-weight: 600; font-size: 16px; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__note { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* ---------- Barra flutuante ---------- */

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 10px 10px 10px 14px;
  border-radius: 999px;
  background: rgba(1, 21, 71, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(1, 21, 71, 0.3);
  color: var(--white);
  transform: translate(-50%, 140%);
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock img { width: 38px; height: 38px; border-radius: 10px; }
.dock b { display: block; white-space: nowrap; font-weight: 800; font-size: 15px; line-height: 1.25; }
.dock small { display: block; font-size: 13px; line-height: 1.25; opacity: 0.8; }
.dock .btn { border-color: var(--white); box-shadow: none; }
.dock .btn:hover, .dock .btn:active { transform: none; box-shadow: none; filter: brightness(1.08); }

/* ---------- Páginas de texto (privacidade, termos, suporte) ---------- */

.doc { max-width: 760px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.doc h1 { margin-bottom: 12px; font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.045em; color: var(--navy); }
.doc h2 { margin: 44px 0 12px; font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.035em; color: var(--navy); }
.doc p, .doc li { font-size: 17px; line-height: 1.65; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 14px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--primary-text); font-weight: 600; }
.doc .small { margin-bottom: 8px; }
.card { margin-top: 28px; padding: 26px; border: var(--ink); border-radius: 24px; background: var(--white); box-shadow: var(--drop); }
.card h2 { margin-top: 0; }

/* ---------- Entrada ao rolar ---------- */

/* Usa `translate` (e não `transform`) para não brigar com a inclinação de cartões e passos. */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity 0.55s ease, translate 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.is-in { opacity: 1; translate: none; }
/* Com data-stagger, quem entra são os filhos, um logo depois do outro. */
.js .reveal[data-stagger] { opacity: 1; translate: none; }
.js .reveal[data-stagger] > * { opacity: 0; translate: 0 16px; transition: opacity 0.5s ease calc(var(--i, 0) * 70ms), translate 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 70ms); }
.js .reveal[data-stagger].is-in > * { opacity: 1; translate: none; }
[data-stagger] > :nth-child(2) { --i: 1; }
[data-stagger] > :nth-child(3) { --i: 2; }
[data-stagger] > :nth-child(4) { --i: 3; }
[data-stagger] > :nth-child(5) { --i: 4; }
[data-stagger] > :nth-child(6) { --i: 5; }

/* ---------- Telas menores ---------- */

@media (max-width: 1040px) {
  .steps, .mess, .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 32px; }
  .split, .final.hero .wrap { gap: 48px; }
  .nav { gap: 20px; }
  .nav a { padding: 11px 0; font-size: 15px; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .menu-btn { display: grid; }
  .nav { position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px; border: var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--drop-sm); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; }
  .nav a + a { border-top: 1px solid var(--surface); }
  .nav a::after { display: none; }
  .header__row { height: 64px; }
  .final.hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .final.hero .split__art { order: 2; }
  .stores { justify-content: center; }
  .lineup { min-height: 518px; }
  .note:nth-child(n) { transform: none; }
  .join { margin: 22px 0 18px; }
  .try { align-items: center; }
  .section, .final { padding: 76px 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--flip > :first-child { order: 0; }
  .split__copy { align-items: center; text-align: center; }
  .ticks { align-items: flex-start; text-align: left; }
  .interests { justify-content: center; }
  .cloud { display: none; }
  .place { width: 180px; height: 230px; }
  .visa, .route, .waypoint, .tag { display: none; }
  .hero__stage { height: 400px; margin-top: 48px; }
  .hero__stage .shot { width: 280px; }
  .dock small { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .steps, .mess { grid-template-columns: 1fr; }
  .build__list { min-height: 370px; }
  .pillars { gap: 12px; }
  .pillar { padding: 16px; border-radius: 20px; }
  .pillar h3 { margin-top: 12px; font-size: 19px; }
  .pillar p { font-size: 15px; }
  .header .btn--sm { padding: 0 12px; font-size: 13px; }
  .header__logo img { width: 92px; }
  .header__row { gap: 10px; }
  .header__actions { gap: 8px; }
  .dock { gap: 10px; padding-left: 10px; }
  .dock .btn--sm { padding: 0 14px; font-size: 14px; }
  .store { flex: 1 1 100%; justify-content: center; }
  .bill { margin-inline: 4px; padding: 16px 14px; }
  .bill__value { font-size: 14px; }
  .step { transform: none !important; }
  .hero { padding-bottom: 72px; }
  .hero__cta .btn { width: 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal[data-stagger] > * { opacity: 1; translate: none; }
  .lineup { overflow-x: auto; }
}
