/* Rasante · página de vendas. Vestida de aeroporto: cartaz, painel, itinerário, bilhete. */
:root {
  --sky: #0d4f91;
  --sky-deep: #0a3768;
  --sky-soft: #e4edf7;
  --sun: #ff6b3d;
  --sun-soft: #ffe2d6;
  --ground: #f3f6fb;
  --paper: #ffffff;
  --ink: #10213a;
  --muted: #5b6b82;
  --on-dark: #ffffff;

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --t-giant: clamp(76px, 12vw, 190px);
  --t-big: clamp(40px, 4.6vw, 72px);
  --t-mid: clamp(22px, 1.7vw, 28px);
  --t-body: 18px;
  --t-small: 15px;

  --m: clamp(16px, 2.6vw, 40px);
  --gap: 24px;
  --sec: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.55 var(--font); overflow-x: hidden; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num, .preco, .email-preco { font-variant-numeric: tabular-nums; }

/* ---------- navegação ---------- */
.nav { position: absolute; z-index: 5; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--m); color: var(--on-dark); }
.marca { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; }
.nav nav { display: flex; gap: 28px; font-weight: 700; font-size: var(--t-small); }
.nav nav a { text-decoration: none; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- capa ---------- */
.capa { position: relative; overflow: hidden; }
.capa-campo { position: relative; min-height: 82svh; background: var(--sky); color: var(--on-dark); padding: 0 var(--m); }
.capa h1 {
  position: relative; z-index: 2; padding-top: 16svh;
  font-size: var(--t-giant); font-weight: 800; line-height: .86; letter-spacing: -0.055em; white-space: nowrap;
}
.capa-foto {
  position: absolute; z-index: 1; right: 6vw; top: -6svh; width: 30vw; max-width: 520px; aspect-ratio: 3 / 4;
  height: calc(82svh + 9svh); aspect-ratio: auto; transform: rotate(5deg); transform-origin: 50% 0;
  border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sky-deep);
}
.capa-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.capa-faixa {
  position: relative; z-index: 0; min-height: 18svh; background: var(--sun); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 28px var(--m);
}
.capa-faixa p { font-size: 20px; line-height: 1.45; max-width: 52ch; }
.acao {
  flex: none; display: inline-flex; align-items: center; min-height: 64px; padding: 0 36px;
  background: var(--sky); color: var(--on-dark); font-weight: 800; font-size: 20px; text-decoration: none;
  transition: background-color .2s, transform .15s;
}
.acao:hover { background: var(--ink); }
.acao:active { transform: scale(.97); }

/* ---------- o e-mail ---------- */
.alerta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: var(--sec) var(--m) 0; align-items: start; }
.alerta-lista { grid-column: 1 / 6; padding-top: 48px; }
.alerta h2 { font-size: var(--t-mid); font-weight: 800; letter-spacing: -0.02em; }
.alerta-sub { color: var(--muted); font-size: var(--t-small); margin: 6px 0 36px; }
.nomes { display: grid; gap: 6px; justify-items: start; }
.nomes button {
  border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font: 800 clamp(36px, 4vw, 64px)/1.1 var(--font); letter-spacing: -0.04em; color: #7a8aa0;
  transition: color .2s, transform .25s var(--ease-out);
}
.nomes button small { font-size: .42em; letter-spacing: -0.01em; color: #b8390f; margin-left: 12px; vertical-align: .55em; }
.nomes button:hover { color: var(--muted); transform: translateX(6px); }
.nomes button[aria-selected="true"] { color: var(--ink); }
.palco { grid-column: 7 / 13; position: relative; height: 88svh; min-height: 640px; background: var(--sky-soft); overflow: hidden; }

/* fragmento da interface: o e-mail de alerta de verdade */
.email {
  position: absolute; left: 64px; top: 72px; width: 440px; background: var(--paper); color: var(--ink);
  font-size: 15px; line-height: 1.45; transition: opacity .2s;
}
.email.trocando { opacity: 0; }
.email-cab { padding: 18px 22px; display: grid; gap: 4px; border-bottom: 1px solid #e3e8ef; } /* taste-skill-ignore: fragmento do e-mail (data-ui) */
.email-cab p { display: flex; gap: 8px; }
.email-cab b { color: var(--muted); font-weight: 500; min-width: 54px; }
.email-assunto { font-weight: 800; font-size: 17px; margin-top: 6px; line-height: 1.3; }
.email-corpo { padding: 22px; display: grid; gap: 10px; }
.email-corpo h4 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.email-foto { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.email-linha { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.email-preco { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.email-desc { color: #c23a12; font-weight: 800; }
.email-meta { color: var(--muted); }
.email-botao { display: block; text-align: center; padding: 12px; background: var(--sky); color: #fff; font-weight: 800; text-decoration: none; margin-top: 6px; }
.email-pe { padding: 14px 22px 22px; color: var(--muted); font-size: 13px; border-top: 1px solid #e3e8ef; } /* taste-skill-ignore: fragmento do e-mail (data-ui) */

/* ---------- itinerário ---------- */
.como {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start;
  margin-top: var(--sec); padding: var(--sec) var(--m); background: var(--sky); color: var(--on-dark);
}
.como-texto { grid-column: 1 / 6; display: grid; gap: 20px; }
.como h2 { font-size: var(--t-big); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; }
.como-texto p { max-width: 40ch; }
.bilhete {
  grid-column: 7 / 12; justify-self: start; width: min(480px, 100%); background: var(--paper); color: var(--ink);
  padding: 32px 32px 64px; font-size: 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
}
.bilhete-cab { font-weight: 700; color: var(--muted); font-size: var(--t-small); }
.bilhete h3 { font-size: 16px; font-weight: 800; margin-top: 28px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.bilhete li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.bilhete li span:first-child { flex: 0 1 auto; }
.bilhete li span:last-child { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.bilhete li i { flex: 1 1 24px; min-width: 24px; height: 4px; align-self: center; margin-top: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='4'%3E%3Ccircle cx='2' cy='2' r='1.7' fill='%239aa8bb'/%3E%3C/svg%3E") 0 50% / 9px 4px repeat-x; }
.bilhete-fim { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 28px -32px 0; padding: 0 32px; min-height: 48px; background: var(--ink); color: var(--paper); font-weight: 800; }

/* ---------- destinos correndo ---------- */
.faixa { background: var(--sun); color: var(--ink); height: 34vh; min-height: 220px; display: flex; align-items: center; overflow: hidden; }
.faixa-trilho { display: flex; white-space: nowrap; font-size: 8vw; font-weight: 800; letter-spacing: -0.045em; line-height: 1; animation: correr 90s linear infinite; }
.faixa-trilho span { display: inline-flex; align-items: center; }
.faixa-trilho span::after { content: ""; width: .24em; height: .24em; border-radius: 50%; background: var(--sky); margin: 0 .4em; }
@keyframes correr { to { transform: translateX(-50%); } }
.faixa-nota { padding: 20px var(--m) 0; font-size: 18px; max-width: 64ch; }

/* ---------- planos ---------- */
.planos { margin-top: var(--sec); padding: var(--sec) var(--m); background: var(--sky-deep); color: var(--on-dark); display: grid; justify-items: center; gap: 72px; }
.planos-sub { margin-top: -56px !important; }
.planos h2 { font-size: var(--t-big); font-weight: 800; line-height: 1; letter-spacing: -0.04em; text-align: center; }
.planos-sub { margin-top: -24px; text-align: center; }
.ticket { --chao: var(--sky-deep); position: relative; display: grid; grid-template-columns: 7fr 3fr; width: min(64vw, 1100px); min-width: 760px; aspect-ratio: 2.3 / 1; color: var(--ink); transition: transform .3s var(--ease-out); }
.ticket:hover { transform: translateY(-6px); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--chao); z-index: 2; }
.ticket::before { top: -14px; }
.ticket::after { bottom: -14px; }
.ticket-corpo { position: relative; overflow: hidden; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; color: var(--on-dark); background: var(--ink); isolation: isolate; }
.ticket-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.ticket-corpo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 22, 42, .58); }
.ticket:hover .ticket-foto { transform: scale(1.04); }
.ticket h3 { font-size: clamp(36px, 4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; max-width: 10ch; }
.ticket-corpo ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 17px; font-weight: 500; }
.ticket-canhoto {
  position: relative; background: var(--paper); padding: 32px 24px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='16'%3E%3Ccircle cx='3' cy='8' r='3' fill='%230a3768'/%3E%3C/svg%3E"); background-size: 6px 16px; background-repeat: repeat-y; background-position: 0 14px;
}
.preco { font-size: clamp(48px, 5.4vw, 92px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.preco small { font-size: .32em; letter-spacing: 0; vertical-align: .9em; margin-right: 4px; }
.preco-nota { font-size: var(--t-small); color: var(--muted); margin-top: 8px; max-width: 18ch; }
.ticket-acao {
  align-self: stretch; margin: auto -24px 0; display: flex; align-items: center; justify-content: center; min-height: 56px;
  background: var(--sun); color: var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; transition: background-color .2s;
}
.ticket-acao:hover { background: var(--ink); color: var(--paper); }
.ticket-vit .ticket-acao { background: var(--sky); color: var(--paper); }
.ticket-vit .ticket-acao:hover { background: var(--ink); }
.planos-conta { max-width: 52ch; text-align: center; font-size: var(--t-mid); font-weight: 700; line-height: 1.3; }

/* ---------- dúvidas: fichas de arquivo ---------- */
.duvidas { padding: var(--sec) var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
.duvidas h2 { grid-column: 3 / 11; font-size: var(--t-big); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-bottom: 40px; }
.fichas { grid-column: 3 / 11; display: grid; }
.ficha { --x: 0px; --c: var(--sky-soft); position: relative; margin-top: -16px; }
.ficha:first-child { margin-top: 0; }
.ficha:nth-child(2) { --x: 150px; --c: var(--sun-soft); }
.ficha:nth-child(3) { --x: 300px; --c: #d9e7f6; }
.ficha:nth-child(4) { --x: 450px; --c: var(--sky-soft); }
.ficha:nth-child(5) { --x: 600px; --c: var(--sun-soft); }
.ficha:nth-child(6) { --x: 750px; --c: #d9e7f6; }
.ficha {
  background: var(--c); padding: 40px 32px 32px;
  clip-path: polygon(var(--x) 0, calc(var(--x) + 200px) 0, calc(var(--x) + 216px) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px, calc(var(--x) - 16px) 40px);
}
.ficha:first-child { clip-path: polygon(0 0, 200px 0, 216px 40px, 100% 40px, 100% 100%, 0 100%); }
.ficha summary { list-style: none; cursor: pointer; display: grid; gap: 14px; padding-top: 0; }
.ficha summary::-webkit-details-marker { display: none; }
.aba { position: absolute; top: 0; left: var(--x); width: 200px; height: 40px; display: flex; align-items: center; padding-left: 18px; font-size: 16px; font-weight: 700; }
.pergunta { font-size: 20px; font-weight: 700; padding: 18px 0 8px; transition: transform .25s var(--ease-out); }
.ficha summary:hover .pergunta { transform: translateX(6px); }
.ficha p { font-size: 17px; max-width: 50ch; padding-bottom: 8px; }

/* ---------- uma palavra é o botão ---------- */
.final {
  position: relative; display: block; margin-top: var(--sec); min-height: 60svh; background: var(--sun); color: var(--ink);
  text-decoration: none; overflow: hidden; border-radius: 48px 48px 0 0;
}
.final:hover, .final:focus-visible { background: var(--ink); color: var(--sun); outline: none; }
.final-frase { position: absolute; top: 28px; left: var(--m); max-width: 32ch; font-size: 20px; font-weight: 700; }
.final-seta { position: absolute; top: 28px; right: var(--m); width: 48px; height: 48px; transition: transform .3s var(--ease-out); }
.final:hover .final-seta { transform: translate(6px, -6px); }
.final-palavra { position: absolute; left: var(--m); bottom: 24px; font-size: clamp(96px, 26vw, 420px); font-weight: 800; letter-spacing: -0.06em; line-height: .78; }

/* ---------- rodapé ---------- */
.rodape { min-height: 90svh; background: var(--sky); color: var(--on-dark); padding: 40px var(--m) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.rodape-topo { display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: var(--t-small); }
.rodape-topo a { margin-left: auto; font-weight: 700; }
.rodape-contato { font-size: clamp(40px, 8.4vw, 150px); font-weight: 800; letter-spacing: -0.05em; line-height: .95; text-decoration: none; overflow-wrap: anywhere; }
.rodape-contato:hover { color: var(--sun); }
.rodape-pe { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(100% 0 0 0); animation: abrir 1100ms var(--ease-in-out) 200ms forwards; }
  .js .shutter img { transform: scale(1.12); animation: assentar 1600ms var(--ease-out) 200ms forwards; }
  .js .capa h1 { opacity: 0; transform: translateY(28px); animation: subir 900ms var(--ease-out) 80ms forwards; }
  .js .capa-faixa > * { opacity: 0; transform: translateY(20px); animation: subir 800ms var(--ease-out) 500ms forwards; }
  .js .capa-faixa .acao { animation-delay: 600ms; }
  .js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal].is-in > :nth-child(2) { transition-delay: 70ms; }
  .js [data-reveal].is-in > :nth-child(3) { transition-delay: 140ms; }
  .js [data-reveal].is-in > :nth-child(4) { transition-delay: 210ms; }
  .js [data-reveal].is-in > :nth-child(5) { transition-delay: 280ms; }
  .js [data-reveal].is-in > :nth-child(n+6) { transition-delay: 350ms; }
}
@keyframes abrir { to { clip-path: inset(0); } }
@keyframes assentar { to { transform: none; } }
@keyframes subir { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa-trilho { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- celular e tablet ---------- */
@media (max-width: 900px) {
  .nav nav { gap: 18px; }
  .capa-campo { min-height: 78svh; }
  .capa h1 { font-size: 13.4vw; padding-top: 16svh; }
  .capa-foto { width: 56vw; right: -8vw; top: auto; bottom: 3svh; height: 44svh; }
  .capa-faixa { flex-direction: column; align-items: stretch; }
  .capa-faixa p { font-size: 18px; }
  .acao { justify-content: center; }
  .alerta { grid-template-columns: minmax(0, 1fr); }
  .alerta-lista, .palco { grid-column: 1 / -1; }
  .alerta-lista { padding-top: 0; }
  .nomes { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .nomes button { font-size: 28px; }
  .palco { height: 70svh; min-height: 560px; }
  .email { left: 16px; top: 16px; width: 440px; }
  .como { grid-template-columns: minmax(0, 1fr); }
  .como-texto, .bilhete { grid-column: 1 / -1; }
  .bilhete { width: 100%; padding: 28px 22px 60px; }
  .bilhete-fim { margin: 24px -22px 0; padding: 0 22px; }
  .faixa { height: 22vh; min-height: 150px; }
  .faixa-trilho { font-size: 15vw; }
  .ticket { grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; aspect-ratio: auto; }
  .ticket::before, .ticket::after { left: auto; top: auto; margin: 0; bottom: auto; }
  .ticket::before { left: -14px; top: calc(100% - 210px); }
  .ticket::after { right: -14px; top: calc(100% - 210px); }
  .ticket-corpo { min-height: 380px; padding: 28px 22px; gap: 24px; }
  .ticket h3 { font-size: 9vw; }
  .ticket-corpo ul { grid-template-columns: minmax(0, 1fr); font-size: 16px; }
  .ticket-canhoto { min-height: 260px; padding: 80px 22px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6'%3E%3Ccircle cx='8' cy='3' r='3' fill='%230a3768'/%3E%3C/svg%3E"); background-size: 16px 6px; background-repeat: repeat-x; background-position: 14px 0; }
  .preco { font-size: min(16vw, 96px); }
  .ticket-acao { margin: 20px -22px 0; }
  .duvidas { grid-template-columns: minmax(0, 1fr); }
  .duvidas h2, .fichas { grid-column: 1 / -1; }
  .duvidas h2 { font-size: 9vw; }
  .ficha:nth-child(2) { --x: 48px; } .ficha:nth-child(3) { --x: 96px; } .ficha:nth-child(4) { --x: 144px; } .ficha:nth-child(5) { --x: 192px; } .ficha:nth-child(6) { --x: 0px; }
  .ficha { padding: 40px 20px 24px; clip-path: polygon(var(--x) 0, calc(var(--x) + 120px) 0, calc(var(--x) + 132px) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px, max(0px, calc(var(--x) - 12px)) 40px); }
  .ficha:first-child, .ficha:nth-child(6) { clip-path: polygon(0 0, 120px 0, 132px 40px, 100% 40px, 100% 100%, 0 100%); }
  .aba { width: 120px; padding-left: 12px; font-size: 14px; }
  .pergunta { font-size: 18px; }
  .ficha p { font-size: 16px; }
  .final { min-height: 46svh; }
  .final-frase { font-size: 17px; max-width: 22ch; }
  .final-seta { width: 32px; height: 32px; }
  .final-palavra { font-size: 24vw; }
  .rodape-contato { font-size: 12vw; }
  .rodape-pe { flex-direction: column; font-size: 13px; }
}
@media (max-width: 520px) {
  .nav nav a:nth-child(-n+2) { display: none; }
  .email { width: 340px; }
}
@media (max-width: 520px) {
  .capa-campo { min-height: 64svh; }
  .capa-foto { height: 34svh; bottom: 2svh; width: 50vw; }
}
