/* Bora Baires — cores oficiais do brandboard */
:root {
  --azul: #002B52;        /* Azul Baires */
  --azul-900: #001A36;
  --celeste: #4FA9E8;     /* Azul Céleste */
  --celeste-escuro: #1A6FAE;
  --amarelo: #FFC20E;     /* Amarelo Brasil */
  --papel: #F6F8FB;
  --tinta: #0B1F3A;
  --cinza: #4E5D73;
  --linha: #DCE3EC;
  --verde-wa: #25D366;

  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fonte); color: var(--tinta); background: var(--papel); line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 4px; }

.cont { width: min(1140px, 100% - 32px); margin-inline: auto; }
.estreito { width: min(780px, 100% - 32px); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; min-height: 48px; border-radius: 999px; border: 0;
  background: var(--amarelo); color: var(--azul-900); font: 700 1rem/1.2 var(--fonte);
  text-decoration: none; cursor: pointer; transition: background .2s;
}
.btn:hover { background: #FFD24D; }
.btn-wa { background: var(--verde-wa); color: #04210F; }
.btn-wa:hover { background: #3BE07A; }
.btn-sm { padding: .55em 1.1em; min-height: 42px; font-size: .9rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-xl { padding: 1.1em 2.2em; font-size: 1.15rem; }
.btn-bloco { width: 100%; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; color: #fff;
  display: flex; align-items: center; gap: 24px; padding: 0 max(16px, calc((100% - 1140px) / 2));
  transition: background .3s, height .3s;
}
.topo.rolou { background: var(--azul-900); height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { border-radius: 50%; }
.marca-nome { font-weight: 500; font-size: 1.12rem; letter-spacing: .02em; white-space: nowrap; }
.marca-nome b { font-weight: 900; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .85; }
.menu a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--amarelo); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: var(--azul-900);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 5vw, 80px);
  padding: 120px max(24px, calc((100% - 1140px) / 2)) 140px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 26, 54, .95) 0%, rgba(0, 26, 54, .8) 45%, rgba(0, 26, 54, .45) 100%); }
.hero-texto, .painel { position: relative; z-index: 2; }
.swoosh { position: absolute; right: 0; bottom: 0; z-index: 1; width: min(62vw, 760px); height: 170px; }
.sw-az { fill: var(--papel); }
.sw-am { fill: var(--amarelo); }

.hero-titulo { font-size: clamp(2.6rem, 4.3vw, 3.9rem); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; }
.hero-titulo .linha { display: block; }
@media (min-width: 961px) { .hero-titulo .linha { white-space: nowrap; } }
.hero-titulo .forte { font-weight: 900; }
.hero-titulo .amarelo { color: var(--amarelo); }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 34em; margin: 26px 0 32px; color: rgba(255, 255, 255, .88); }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-claro { font-weight: 700; text-underline-offset: 6px; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; }

/* painel de chegadas */
.painel { background: #06101C; border-radius: 14px; padding: 22px 20px 12px; font-family: var(--mono); font-size: .82rem; color: #FFD35C; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.painel-topo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.painel-topo .ic { width: 1.5em; height: 1.5em; color: var(--amarelo); }
.painel-es { color: rgba(255, 255, 255, .45); }
.painel-hora { margin-left: auto; color: var(--amarelo); font-size: 1.15rem; }
.painel-linha { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; align-items: center; padding: 12px 6px; border-top: 1px dashed rgba(255, 255, 255, .1); }
.painel-linha > span:first-child { color: #fff; }
.cab-linha, .cab-linha > span:first-child { color: rgba(255, 255, 255, .42); font-size: .7rem; letter-spacing: .12em; border-top: 0; }
.flap { display: inline-block; justify-self: start; background: #12213A; padding: 3px 7px; border-radius: 3px; }
.flap.vira { animation: vira .5s ease-in-out; }
.ok { color: var(--verde-wa); font-weight: 700; }

/* abertura: um único momento orquestrado (título entra, depois o painel acende linha a linha) */
@media (prefers-reduced-motion: no-preference) {
  .hero-titulo .linha, .hero-sub, .hero-acoes { animation: sobe .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-titulo .linha:nth-child(2) { animation-delay: .12s; }
  .hero-titulo .linha:nth-child(3) { animation-delay: .24s; }
  .hero-sub { animation-delay: .4s; }
  .hero-acoes { animation-delay: .5s; }
  .painel { animation: aparece .8s .5s both; }
  .painel-linha[style] { animation: acende .6s calc(1s + var(--i) * .35s) both; transform-origin: top; }
  .sw-am { animation: faixa 1.2s .3s cubic-bezier(.2, .8, .2, 1) both; transform-origin: right bottom; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(24px); } }
@keyframes aparece { from { opacity: 0; } }
@keyframes acende { from { opacity: 0; transform: rotateX(90deg); } }
@keyframes faixa { from { transform: translateX(40%) scaleX(.4); opacity: 0; } }
@keyframes vira { 50% { transform: rotateX(90deg); } }

/* ---------- seções ---------- */
.secao { padding: clamp(72px, 9vw, 112px) 0; }
.clara { background: var(--papel); }
.escura { background: var(--azul-900); color: #fff; }
.cab { max-width: 640px; margin-bottom: 44px; }
.cab p { color: var(--cinza); font-size: 1.08rem; margin: 16px 0 0; }
.escura .cab p { color: rgba(255, 255, 255, .75); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; color: var(--azul); text-wrap: balance; }
.escura h2, .final h2 { color: #fff; }
.script { font-family: var(--script); font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1.1; color: var(--celeste-escuro); margin: 8px 0 0; }

/* ---------- transfers ---------- */
.transfer-grade { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.tarifas-nota { font-size: .9rem; color: var(--cinza); margin-bottom: 8px; }
.tarifas ul { list-style: none; padding: 0; margin: 0; }
.tarifa { display: grid; grid-template-columns: minmax(0, auto) 1fr auto auto; align-items: end; gap: 14px; padding: 18px 0; border-top: 1px solid var(--linha); }
.tarifa:last-child { border-bottom: 1px solid var(--linha); }
.tf-nome b { display: block; font-size: 1.08rem; color: var(--azul); }
.tf-nome span { display: block; font-size: .85rem; color: var(--cinza); max-width: 27em; }
.tf-pontos { border-bottom: 2px dotted #B7C4D4; margin-bottom: 8px; min-width: 20px; }
.tf-valor { font-size: 1.55rem; font-weight: 800; color: var(--azul); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.2; }
.tf-reservar, .ps-reservar { font-weight: 700; font-size: .92rem; color: var(--celeste-escuro); text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--amarelo); padding: 6px 0; white-space: nowrap; }
.tf-reservar:hover, .ps-reservar:hover { color: var(--azul); }

.mapa { margin: 0; background: var(--azul); border-radius: 14px; padding: 18px; }
.mapa svg { width: 100%; height: auto; }
.mapa figcaption { font-size: .78rem; color: rgba(255, 255, 255, .6); text-align: center; margin-top: 6px; }
.m-rio { fill: rgba(143, 203, 245, .6); font: 700 9px var(--fonte); letter-spacing: .2em; }
.m-rota { fill: none; stroke: var(--amarelo); stroke-width: 3; stroke-dasharray: 8 8; stroke-linecap: round; }
.m-carro { fill: #fff; stroke: var(--amarelo); stroke-width: 3; }
.m-pin circle { fill: var(--celeste); stroke: #fff; stroke-width: 3; }
.m-pin text { fill: #fff; font: 700 12px var(--fonte); }
.m-hotel circle { fill: var(--amarelo); }
.m-tempo rect { fill: #fff; }
.m-tempo text { fill: var(--azul-900); font: 800 12px var(--fonte); }

.carro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 72px; }
.carro img { width: 100%; height: auto; border-radius: 12px; }
.carro h3 { font-size: 1.6rem; font-weight: 800; color: var(--azul); margin-bottom: 14px; letter-spacing: -.01em; }
.carro p { color: var(--cinza); }

/* ---------- passeios ---------- */
.destaque { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.destaque img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.destaque.invertido img { order: 2; }
.duracao { color: var(--celeste); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.destaque h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.destaque-txt > p:not(.duracao):not(.preco) { color: rgba(255, 255, 255, .78); }
.preco { font-size: 2rem; font-weight: 800; color: var(--amarelo); margin: 22px 0 22px; line-height: 1; }
.preco span { display: block; font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .65); margin-top: 8px; }

.lista-titulo { font-size: 1.3rem; font-weight: 800; margin: 24px 0 8px; }
.lista-passeios { list-style: none; padding: 0; margin: 0; }
.passeio { display: grid; grid-template-columns: 112px 1fr auto auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.passeio img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; }
.ps-txt b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.ps-txt span { display: block; font-size: .9rem; color: rgba(255, 255, 255, .7); max-width: 44em; }
.ps-preco { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--amarelo); white-space: nowrap; text-align: right; line-height: 1.15; }
.ps-preco span { display: block; font-size: .78rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.escura .ps-reservar { color: #fff; }
.escura .ps-reservar:hover { color: var(--amarelo); }
.sob-medida { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px 0 0; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sob-medida p { margin: 0; max-width: 40em; color: rgba(255, 255, 255, .82); }
.sob-medida b { color: #fff; }
.sob-medida .btn { flex: none; }
.aviso-preco { font-size: .85rem; color: rgba(255, 255, 255, .55); margin: 24px 0 0; }

/* ---------- mural ---------- */
.mural-secao { overflow: hidden; }
.mural-grade { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.mural-txt h2 { margin-bottom: 20px; }
.mural-txt p:not(.script) { color: var(--cinza); }
.mural { position: relative; height: 620px; }
.polaroid { position: absolute; margin: 0; width: 220px; background: #fff; padding: 10px 10px 42px; border-radius: 3px; box-shadow: 0 16px 40px -18px rgba(0, 26, 54, .45); rotate: var(--r); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--script); font-size: 1.9rem; line-height: 1.2; color: var(--azul); }
.m1 { top: 0; left: 0; --r: -7deg; }
.m2 { top: 0; right: 0; --r: 5deg; }
.m3 { top: 190px; left: 50%; margin-left: -120px; width: 240px; z-index: 2; --r: -2deg; }
.m4 { bottom: 0; left: 2%; --r: 8deg; }
.m5 { bottom: 0; right: 2%; --r: -6deg; }

/* ---------- conversa de WhatsApp ---------- */
.conversa-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.conversa-txt p { color: rgba(255, 255, 255, .78); margin: 20px 0 32px; font-size: 1.08rem; }
.chat { max-width: 440px; width: 100%; justify-self: end; border-radius: 18px; overflow: hidden; background: #EFEAE2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); color: #111B21; font-size: .92rem; line-height: 1.45; }
.chat-topo { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #F0F2F5; }
.chat-topo img { border-radius: 50%; }
.chat-topo b { display: block; font-size: .98rem; }
.chat-topo span { font-size: .78rem; color: #667781; }
.chat-corpo { padding: 16px 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; margin: 0; padding: 7px 10px 18px; border-radius: 8px; position: relative; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.msg time { position: absolute; right: 9px; bottom: 4px; font-size: .68rem; color: #667781; }
.eu { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; padding-right: 12px; }
.eu time::after { content: " ✓✓"; color: #53BDEB; letter-spacing: -.2em; }
.ela { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .chat .msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s, transform .35s; transition-delay: calc(var(--i) * .8s); }
  .js .chat.in .msg { opacity: 1; transform: none; }
}

/* ---------- pagamento e atendimento ---------- */
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grade-2 h2 { margin-bottom: 16px; }
.grade-2 > div > p { color: var(--cinza); }
.lista-simples { list-style: none; padding: 0; margin: 0; }
.lista-simples li { padding: 14px 0; border-top: 1px solid var(--linha); color: var(--cinza); }
.lista-simples li:last-child { border-bottom: 1px solid var(--linha); }
.lista-simples b { color: var(--azul); }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; background: var(--azul); color: #fff; text-align: center; padding: clamp(96px, 12vw, 150px) 0; }
.final .sw-az { fill: #00122A; }
.final-bg { position: absolute; inset: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 26, 54, .55) 0%, rgba(0, 26, 54, .72) 55%, rgba(0, 26, 54, .9) 100%); }
.final .swoosh { z-index: 1; }
.final-conteudo { position: relative; z-index: 2; }
.quebra { display: block; }
.final .script { color: var(--amarelo); margin-bottom: 12px; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20em; margin: 0 auto 36px; }
.final-tel { margin: 18px 0 0; font-size: .92rem; opacity: .7; }

/* ---------- rodapé ---------- */
.rodape { background: #00122A; color: rgba(255, 255, 255, .72); padding: 48px 0 24px; font-size: .92rem; }
.rodape-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rodape .marca { color: #fff; align-self: start; }
.rodape nav, .rodape-contato { display: grid; gap: 10px; align-content: start; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--amarelo); }
.rodape-contato a { display: flex; align-items: center; gap: 8px; }
.rodape-fim { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: .8rem; }
.rodape-fim p { margin: 0; }
.rodape-fim a { text-decoration: underline; }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--verde-wa); color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); }
.wa-flutuante > .ic { width: 32px; height: 32px; }
.wa-balao { position: absolute; right: 74px; bottom: 10px; white-space: nowrap; background: #fff; color: var(--tinta); font-weight: 600; font-size: .88rem; padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .4s, transform .4s; }
.wa-flutuante.fala .wa-balao { opacity: 1; transform: none; }
.barra-celular { display: none; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .topo .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 104px; padding-bottom: 120px; gap: 0; }
  /* celular: painel de chegadas entre o texto e os botões */
  .hero-texto { display: contents; }
  .hero-texto > * { position: relative; z-index: 2; }
  .hero-titulo { order: 1; }
  .hero-sub { order: 2; margin: 20px 0 24px; }
  .painel { order: 3; margin-bottom: 24px; }
  .hero-acoes { order: 4; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(0, 26, 54, .78), rgba(0, 26, 54, .95)); }
  .swoosh { width: 100%; height: 90px; }
  .transfer-grade, .carro, .destaque, .mural-grade, .conversa-grade, .grade-2 { grid-template-columns: 1fr; gap: 32px; }
  .destaque.invertido img { order: 0; }
  .mural { height: 500px; max-width: 520px; width: 100%; margin: 0 auto; }
  .polaroid { width: 170px; }
  .m3 { width: 180px; top: 150px; margin-left: -90px; }
  .chat { justify-self: center; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-grade > .marca { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; font-size: 16px; }
  .marca-nome { font-size: 1rem; }
  .hero-acoes .btn { width: 100%; }
  .hero-acoes { justify-content: center; }
  .painel { font-size: .68rem; padding: 16px 12px 8px; }
  .painel-linha { padding: 10px 2px; gap: 6px; }
  .painel-linha:last-child { display: none; }
  .tarifa { grid-template-columns: 1fr auto; row-gap: 6px; }
  .tf-nome { grid-column: 1 / -1; }
  .tf-pontos { display: none; }
  .tf-reservar { justify-self: end; }
  .passeio { grid-template-columns: 84px 1fr; grid-template-rows: auto auto auto; gap: 8px 16px; }
  .passeio img { width: 84px; height: 84px; grid-row: 1 / 4; align-self: start; }
  .ps-preco { grid-column: 2; text-align: left; }
  .ps-reservar { grid-column: 2; justify-self: start; }
  .sob-medida { flex-direction: column; align-items: stretch; }
  .mural { height: 440px; }
  .polaroid { width: 140px; padding: 7px 7px 34px; }
  .polaroid figcaption { font-size: 1.5rem; }
  .m3 { width: 150px; top: 140px; margin-left: -75px; }
  .rodape-grade { grid-template-columns: 1fr; }
  .wa-flutuante { display: none; }
  .barra-celular { display: block; position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--azul-900); transform: translateY(110%); transition: transform .35s; }
  .barra-celular.mostra { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
