/* Home da Recife Boats: mundo Azulejo (tokens, componentes e seções).
   Folha própria: não carrega base.css, que segue sendo das outras páginas. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: only light;  /* sem modo escuro (DESIGN.md): o navegador não escurece à força nem troca os controles */
  --esmalte: #f5f6f2;        /* branco-estanho: chão */
  --esmalte-2: #e8ecf1;      /* esmalte na sombra: seção alternada */
  --rejunte: #cfd6e2;        /* fio entre azulejos, sobre esmalte */
  --cobalto: #17348a;        /* tinta e campo */
  --cobalto-fundo: #0f2466;  /* campo profundo: rodapé, texto sobre amarelo */
  --amarelo: #f2c230;        /* esmalte amarelo: só onde se age */
  --amarelo-forte: #e0ae17;  /* hover do amarelo */
  --tinta: #0e1a3d;          /* texto sobre esmalte (15:1) */
  --tinta-2: #44527a;        /* texto secundário sobre esmalte (7:1) */
  --no-cobalto: #ffffff;
  --no-cobalto-2: rgba(255, 255, 255, 0.84); /* secundário sobre cobalto (>7:1) */
  --rejunte-cobalto: rgba(255, 255, 255, 0.28);

  --display: 'Marcellus', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --az: 56px;                /* módulo da cercadura */
  --modulo: 72px;            /* módulo do rejunte sobre fotografia */
  --wrap: 1180px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --secao: clamp(3.5rem, 9vw, 6.5rem);
  --raio: 6px;               /* placa esmaltada; azulejo é reto (0–2px) */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* O banner de cookies (consent.js) lê estes nomes do mundo antigo. */
  --breu: var(--cobalto-fundo);
  --cru: var(--esmalte);
  --acao: var(--cobalto);
  --ferrugem-clara: var(--amarelo);
}
@media (min-width: 768px) {
  :root { --az: 64px; --modulo: 104px; }
}

/* Banner de cookies (injetado pelo consent.js): no mundo antigo o "Aceitar" era óxido sobre breu; com os
   apelidos acima viraria azul sobre azul (1,3:1). Aceitar é ação: placa amarela. */
#cookie-banner { font-family: var(--sans); }
#cookie-banner #cookie-accept { background: var(--amarelo); color: var(--cobalto-fundo); }

/* ---------- Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font: 400 1.0625rem/1.6 var(--sans);
  color: var(--tinta);
  background: var(--esmalte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  accent-color: var(--cobalto);
  caret-color: var(--cobalto);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--cobalto); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--cobalto); color: #fff; }
html { scrollbar-color: var(--cobalto) var(--esmalte-2); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8.2vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.15; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

/* Anel de foco de dois tons: um dos dois contrasta em esmalte, cobalto ou foto. */
:focus-visible {
  outline: 3px solid var(--amarelo);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--cobalto-fundo);
}

.pular {
  position: absolute; left: 0.75rem; top: -30rem; z-index: 100;
  background: var(--amarelo); color: var(--cobalto-fundo);
  padding: 0.75rem 1rem; border-radius: var(--raio); font-weight: 700; text-decoration: none;
}
.pular:focus { top: 0.75rem; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* O .sr é absoluto: dentro de um trilho horizontal ele precisa de um pai posicionado, senão escapa do recorte
   do trilho e alarga a página inteira no celular (15/11/2026: a home ficou com 1379px numa tela de 375). */
.seta, .p-sobre { position: relative; }

/* ---------- Estrutura ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--secao); }
.secao--sombra { background: var(--esmalte-2); }
.secao--cobalto { background: var(--cobalto); color: var(--no-cobalto); }
.secao--cobalto a { color: #fff; }
.secao--cobalto ::selection { background: var(--amarelo); color: var(--cobalto-fundo); }

/* Cabeçalho de seção: título e um parágrafo. Sem etiqueta em cima do título. */
.cab { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.cab p { margin-top: 0.9rem; font-size: 1.125rem; color: var(--tinta-2); max-width: 38rem; }
.secao--cobalto .cab p { color: var(--no-cobalto-2); }

/* ---------- Cercadura: faixa de um azulejo nas emendas de seção ---------- */
.cercadura {
  height: var(--az);
  background-color: var(--esmalte);
  background-image:
    linear-gradient(to right, rgba(23, 52, 138, 0.22) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%2317348a'%3E%3Ccircle r='13'/%3E%3Ccircle cx='64' r='13'/%3E%3Ccircle cy='64' r='13'/%3E%3Ccircle cx='64' cy='64' r='13'/%3E%3Cpath d='M32 8l6.5 17.5L56 32l-17.5 6.5L32 56l-6.5-17.5L8 32l17.5-6.5z'/%3E%3C/g%3E%3Cg fill='none' stroke='%2317348a' stroke-width='2'%3E%3Ccircle r='21'/%3E%3Ccircle cx='64' r='21'/%3E%3Ccircle cy='64' r='21'/%3E%3Ccircle cx='64' cy='64' r='21'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='5.5' fill='%23f2c230'/%3E%3C/svg%3E");
  background-size: var(--az) var(--az);
  background-position: center;
  background-repeat: repeat-x;
  border-block: 3px solid var(--cobalto);
}
.cercadura--cobalto {
  background-color: var(--cobalto-fundo);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23f5f6f2'%3E%3Ccircle r='13'/%3E%3Ccircle cx='64' r='13'/%3E%3Ccircle cy='64' r='13'/%3E%3Ccircle cx='64' cy='64' r='13'/%3E%3Cpath d='M32 8l6.5 17.5L56 32l-17.5 6.5L32 56l-6.5-17.5L8 32l17.5-6.5z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23f5f6f2' stroke-width='2'%3E%3Ccircle r='21'/%3E%3Ccircle cx='64' r='21'/%3E%3Ccircle cy='64' r='21'/%3E%3Ccircle cx='64' cy='64' r='21'/%3E%3C/g%3E%3Ccircle cx='32' cy='32' r='5.5' fill='%23f2c230'/%3E%3C/svg%3E");
  border-block-color: var(--esmalte);
}

/* ---------- Painel: fotografia assentada em azulejos ---------- */
/* O rejunte é o módulo quadrado do painel, não uma grade decorativa: só vai
   sobre FOTO, nunca sobre campo liso. */
.painel { position: relative; overflow: hidden; background: var(--cobalto-fundo); }
.painel > img, .painel > picture > img { width: 100%; height: 100%; object-fit: cover; }
.painel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(245, 246, 242, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 246, 242, 0.2) 1px, transparent 1px);
  background-size: var(--modulo) var(--modulo);
}
.painel--fino { --modulo: 48px; }
@media (min-width: 768px) { .painel--fino { --modulo: 64px; } }

/* ---------- Placa esmaltada ---------- */
/* Etiqueta (nome de passeio, rótulo curto): campo cobalto, caixa alta, filete interno. */
.placa {
  position: relative; display: inline-block;
  padding: 0.5rem 0.95rem; border-radius: var(--raio);
  background: var(--cobalto); color: #fff;
  font: 700 0.8125rem/1.2 var(--sans); letter-spacing: 0.09em; text-transform: uppercase;
}
.placa::after, .btn::after {
  content: ''; position: absolute; inset: 3px; border-radius: 3px;
  border: 1.5px solid currentColor; opacity: 0.5; pointer-events: none;
}
.placa--amarela { background: var(--amarelo); color: var(--cobalto-fundo); }
.placa--esmalte { background: var(--esmalte); color: var(--cobalto); }

/* Botões: a ação principal é sempre a placa amarela. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0.85rem 1.6rem; border: 0; border-radius: var(--raio);
  background: var(--amarelo); color: var(--cobalto-fundo);
  font: 700 1.0625rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--amarelo-forte); }
.btn:active { transform: translateY(1px); }
.btn--cobalto { background: var(--cobalto); color: #fff; }
.btn--cobalto:hover { background: var(--cobalto-fundo); }
.btn--linha { background: transparent; color: var(--cobalto); box-shadow: inset 0 0 0 2px currentColor; }
.btn--linha::after { content: none; }
.btn--linha:hover { background: rgba(23, 52, 138, 0.08); }
.secao--cobalto .btn--linha, .sobre-foto .btn--linha { color: #fff; }
.secao--cobalto .btn--linha:hover, .sobre-foto .btn--linha:hover { background: rgba(255, 255, 255, 0.14); }
.btn--bloco { display: flex; width: 100%; }
/* A caixa do ícone é reservada aqui: o icons.css chega depois (assíncrono) e só traz a máscara. Mesmos valores de lá. */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }
.btn .ico { font-size: 1.1em; flex: none; }

/* Link de texto com seta (ação secundária dentro de um bloco). */
.seta { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; }
.seta .ico { font-size: 0.9em; transition: transform 0.25s var(--ease); }
.seta:hover .ico { transform: translateX(4px); }

/* ---------- Números ---------- */
.preco { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.pp { font-size: 0.9375rem; color: var(--tinta-2); }
.secao--cobalto .pp { color: var(--no-cobalto-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Duração em escala (1h = 1 unidade; 10h = barra cheia) ---------- */
.duracao { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-weight: 600; }
.duracao-barra { flex: 1; height: 8px; background: var(--rejunte); position: relative; max-width: 12rem; }
.duracao-barra::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--h) * 10%); background: var(--cobalto); }
.secao--cobalto .duracao-barra { background: var(--rejunte-cobalto); }
.secao--cobalto .duracao-barra::before { background: #fff; }

@media (forced-colors: active) {
  .duracao-barra, .secao--cobalto .duracao-barra { forced-color-adjust: none; background: Canvas; border: 1px solid CanvasText; }
  .duracao-barra::before, .secao--cobalto .duracao-barra::before { forced-color-adjust: none; background: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Seções da landing de teste. Fundação em lt.css. */

/* ===== heroi ===== */
/* ===== Frente A: topo, herói, simulador, barra fixa (prefixo .h-) ===== */

/* ---------- Topo ---------- */
.h-topo { position: fixed; inset: 0 0 auto 0; z-index: 50; min-height: 64px; background: var(--cobalto-fundo); transition: background-color 0.3s var(--ease); }
.h-topo--ar { background: transparent; }
.h-topo-in { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; } /* com texto muito ampliado o grupo da direita desce para a 2ª linha, sem cortar nada */
.h-logo { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.h-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.h-nav { display: none; }
.h-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; }
.h-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.h-nav .ico { font-size: 1.1em; }
.h-mini { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.h-dir { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* Menu do celular (<900px): details/summary, funciona sem JS. Painel colado ao cabeçalho, em campo cobalto. */
.h-menu-bt { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; padding: 0 0.6rem; color: #fff; font-weight: 600; font-size: 0.9375rem; cursor: pointer; }
.h-menu-bt::-webkit-details-marker { display: none; }
.h-bars { position: relative; flex: none; width: 20px; height: 14px; border-block: 2px solid currentColor; }
.h-bars::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.h-topo:has(.h-menu[open]) { background: var(--cobalto-fundo); }
.h-menu-p { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 0 var(--gutter) 0.75rem; max-height: calc(100svh - 64px); overflow-y: auto; background: var(--cobalto-fundo); border-top: 1px solid var(--rejunte-cobalto); }
.h-menu-p a { display: flex; align-items: center; gap: 0.6em; min-height: 52px; color: #fff; font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.h-menu-p a + a { border-top: 1px solid var(--rejunte-cobalto); }
.h-menu-p .ico { font-size: 1.1em; }
@media (min-width: 900px) {
  .h-topo, .h-topo-in { min-height: 72px; }
  .h-logo img { height: 44px; }
  .h-nav { display: flex; align-items: center; gap: 1.75rem; }
  .h-dir { gap: 2rem; }
  .h-menu { display: none; }
}

/* ---------- Herói ---------- */
.h-tela { display: block; }
.h-capa { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 58svh, 560px); color: #fff; }
.h-capa .painel { position: absolute; inset: 0; }
/* No celular a foto é maior que o painel e assentada embaixo: o barco sobe e o texto fica no mar. */
/* bottom 2.25rem: sobe a foto para o casco ficar acima do título; a faixa que sobra embaixo é o fundo cobalto do painel, sob o véu e o cartão. */
.h-capa .painel > img { position: absolute; left: 0; bottom: 2.25rem; height: 130%; width: 100%; object-fit: cover; object-position: 54% 100%; }
.h-veu { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(15, 36, 102, 0.9) 0%, rgba(15, 36, 102, 0.62) 30%, rgba(15, 36, 102, 0) 58%),
    linear-gradient(to bottom, rgba(15, 36, 102, 0.6) 0%, rgba(15, 36, 102, 0) 120px); }
/* O menu horizontal aparece a partir de 900px: o véu forte do topo vale desde então. */
@media (min-width: 900px) {
  .h-veu { background:
    linear-gradient(to top, rgba(15, 36, 102, 0.9) 0%, rgba(15, 36, 102, 0.62) 30%, rgba(15, 36, 102, 0) 58%),
    linear-gradient(to bottom, rgba(15, 36, 102, 0.82) 0%, rgba(15, 36, 102, 0.6) 80px, rgba(15, 36, 102, 0) 190px); }
}
.h-capa-in { --pb: 3.1rem; position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 5.5rem var(--gutter) var(--pb); }
.h-txt { position: relative; isolation: isolate; max-width: 38rem; }
/* Véu ancorado no texto: começa limpo acima do h1 e fecha atrás dele, qualquer que seja a altura do herói. */
.h-txt::before {
  --off: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter));
  --v1: 0.5; --v2: 0.78; --v3: 0.82;
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -5rem; bottom: calc(-1 * var(--pb)); left: calc(-1 * var(--off)); width: 100vw;
  background: linear-gradient(to bottom, rgba(15, 36, 102, 0) 0, rgba(15, 36, 102, var(--v1)) 3.5rem, rgba(15, 36, 102, var(--v2)) 6.5rem, rgba(15, 36, 102, var(--v3)) 100%);
}
.h-txt h1 { color: #fff; text-shadow: 0 1px 14px rgba(15, 36, 102, 0.45); }
.h-txt p { margin-top: 0.9rem; font-size: 1.0625rem; max-width: 30rem; color: #fff; text-shadow: 0 1px 10px rgba(15, 36, 102, 0.55); }

/* Gesto: azulejos que se assentam e revelam a foto */
.h-azulejos { position: absolute; inset: 0; z-index: 2; display: grid; grid-auto-rows: var(--modulo); pointer-events: none; }
.h-azulejos i { background: var(--cobalto-fundo); opacity: 1; transition: opacity 0.28s var(--ease); }
.h-azulejos.h-vai i { opacity: 0; }

/* ---------- Simulador ---------- */
.h-sim { position: relative; z-index: 3; margin: -24px var(--gutter) 1.75rem; padding: 1.25rem 1.25rem 1.1rem; background: var(--esmalte); border: 2px solid var(--cobalto); border-radius: 2px; color: var(--tinta); }
.h-sim h2 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.7rem; color: var(--cobalto-fundo); }
.h-campo { display: block; }
.h-rot { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; color: var(--cobalto-fundo); }
.h-sel { width: 100%; min-height: 52px; padding: 0.6rem 2.75rem 0.6rem 0.9rem; border: 2px solid var(--cobalto); border-radius: 2px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2317348a' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 16px; -webkit-appearance: none; appearance: none; font-size: 1.0625rem; font-weight: 500; color: var(--tinta); text-overflow: ellipsis; cursor: pointer; }
.h-sel:hover { background-color: #fbfcfd; }
.h-pessoas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.9rem; }
.h-pessoas .h-rot { margin: 0; }
.h-step { display: flex; align-items: center; }
.h-step button { position: relative; width: 48px; height: 48px; padding: 0; border: 2px solid var(--cobalto); border-radius: 2px; background: #fff; cursor: pointer; transition: background-color 0.2s var(--ease); }
.h-step button:hover:not(:disabled) { background: var(--esmalte-2); }
.h-step button:active:not(:disabled) { background: var(--rejunte); }
.h-step button:disabled { border-color: var(--rejunte); cursor: not-allowed; }
.h-step button::before, .h-step button::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--cobalto); transform: translate(-50%, -50%); }
.h-step button::before { width: 16px; height: 2.5px; }
.h-step button.h-mais::after { width: 2.5px; height: 16px; }
.h-step button:disabled::before, .h-step button:disabled::after { background: #8a97b5; }
.h-step output { min-width: 3.4rem; text-align: center; font: 400 1.9rem/1 var(--display); color: var(--cobalto-fundo); font-variant-numeric: tabular-nums lining-nums; }

.h-res { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rejunte); }
.h-linha { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.55rem; }
.h-linha .preco { font-size: 1.9rem; color: var(--tinta); }
.h-linha--pp { margin-top: 0.4rem; }
.h-linha--pp .preco { font-size: clamp(2.3rem, 9vw, 2.6rem); color: var(--cobalto); }
.h-linha b { font-size: 1rem; font-weight: 700; color: var(--cobalto-fundo); }
.h-sub { flex-basis: 100%; margin-top: 0.15rem; }
.h-faixa { margin-top: 0.6rem; font-size: 0.875rem; color: var(--tinta-2); line-height: 1.45; }
.h-res .duracao { margin-top: 0.8rem; color: var(--tinta); }
.h-sim .btn { margin-top: 1.1rem; }
.hero-facts { margin-top: 0.7rem; font-size: 0.875rem; line-height: 1.45; color: var(--tinta-2); text-align: center; }

@media (max-width: 360px) {
  .h-sim { padding-inline: 1rem; }
  .h-sel { padding: 0.6rem 2.25rem 0.6rem 0.65rem; font-size: 0.9375rem; background-position: right 0.65rem center; }
}

@media (min-width: 1000px) {
  .h-tela { display: grid; }
  .h-capa, .h-sim { grid-area: 1 / 1; }
  .h-capa { min-height: min(100svh, 860px); }
  /* Foto 10% maior e encostada à direita: o barco sai de baixo do simulador. */
  .h-capa .painel > img { left: auto; right: 0; bottom: 0; width: 110%; max-width: none; height: 110%; object-position: 100% 100%; }
  .h-veu { background:
    linear-gradient(to top, rgba(15, 36, 102, 0.88) 0%, rgba(15, 36, 102, 0.5) 30%, rgba(15, 36, 102, 0) 55%),
    linear-gradient(to bottom, rgba(15, 36, 102, 0.82) 0%, rgba(15, 36, 102, 0.6) 80px, rgba(15, 36, 102, 0) 190px); }
  .h-capa-in { --pb: 4.5rem; }
  /* Lado a lado com o simulador: o véu cobre só a coluna do texto e esvanece à direita, e é mais leve para o barco aparecer. */
  .h-txt::before {
    --v1: 0.3; --v2: 0.52; --v3: 0.56;
    width: calc(var(--off) + 100% + 6rem);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 6rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 6rem), transparent);
  }
  .h-txt { max-width: min(36rem, calc(100% - 460px)); }
  .h-txt h1 { font-size: clamp(2.75rem, 5vw, 4.25rem); }
  .h-txt p { font-size: 1.1875rem; }
  .h-sim { z-index: 3; align-self: end; justify-self: end; width: 420px; margin: 88px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 2rem 0; padding: 1.5rem; }
}
@media (min-width: 1600px) {
  /* A foto tem 1280px: acima disso não vale ampliar além da largura da tela. */
  .h-capa .painel > img { right: auto; left: 0; width: 100%; height: 100%; object-position: 50% 100%; }
  /* A 100% o barco ocupa de 35% a 69% da largura: o cartão sai da grade da página para não cobrir a popa. */
  .h-sim { margin-right: max(var(--gutter), calc(30vw - 440px)); }
}

/* ---------- Barra fixa do celular ---------- */
.h-barra { display: none; }
@media (max-width: 767px) {
  :root { --h-barra-h: calc(74px + env(safe-area-inset-bottom)); }
  .h-barra { position: fixed; left: 0; right: 0; bottom: var(--cookie-banner-h, 0px); z-index: 60; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--cobalto-fundo); border-top: 1px solid var(--rejunte-cobalto); transform: translateY(100%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0s linear 0.3s; }
  .h-barra.h-barra--on { transform: none; visibility: visible; transition: transform 0.3s var(--ease), visibility 0s; }
  .h-barra .btn { flex: 1; }
  .h-barra .h-barra-wa { flex: none; width: 54px; padding: 0; background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
  .h-barra .h-barra-wa::after { content: none; }
  .h-barra .h-barra-wa .ico { font-size: 1.5rem; }
  body.h-com-barra { padding-bottom: var(--h-barra-h); }
  /* A barra de baixo já tem o "Ver datas livres": o do cabeçalho some sem refluir nem receber foco. */
  body.h-com-barra .h-mini { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .h-barra, .h-topo { transition: none; }
}
/* Modo de alto contraste: o que é desenhado só com background some se não for devolvido às cores do sistema. */
@media (forced-colors: active) {
  .h-step button::before, .h-step button::after, .h-bars::before, .b-linha .b-tile::after, .b-linha > li::before { forced-color-adjust: none; background: CanvasText; }
  .h-step button:disabled::before, .h-step button:disabled::after { background: GrayText; }
}

/* ===== passeios ===== */
/* ===== Frente B: vitrine dos passeios (.p-) ===== */

/* --- B1: linhas editoriais --- */
.p-linha { display: grid; gap: 1.5rem; padding-block: clamp(2.25rem, 6vw, 3.5rem); border-top: 1px solid var(--rejunte); }
.p-linha:first-of-type { border-top: 0; padding-top: 0; }
.p-linha .painel { aspect-ratio: var(--ar, 4 / 3); }
.p-linha .painel img { object-position: var(--pos, center); }
.p-texto { display: grid; gap: 0.9rem; align-content: start; max-width: 36rem; }
.p-texto h3 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
.p-linha--festa .p-texto h3 { font-size: clamp(1.9rem, 5vw, 3rem); }
.p-texto p { max-width: 62ch; }
.p-texto .placa { justify-self: start; }
.p-cortesia { padding-block: 0.8rem; border-block: 1px solid var(--rejunte); font-weight: 500; }
.p-cortesia strong { color: var(--cobalto); }
.p-faixas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11.5rem, 100%), 1fr)); gap: 1rem 1.5rem; }
.p-faixas > div { border-top: 2px solid var(--cobalto); padding-top: 0.6rem; display: grid; gap: 0.3rem; }
.p-faixa-rot { font-size: 0.875rem; font-weight: 700; color: var(--tinta-2); }
.p-faixas .preco, .p-linha--festa .preco { font-size: clamp(1.8rem, 4.6vw, 2.3rem); }
.p-aviso { font-size: 0.9375rem; color: var(--tinta-2); }
.p-texto .duracao .duracao-barra { max-width: 9rem; }
.p-linha--festa .duracao .duracao-barra { max-width: 14rem; }
.p-texto .seta { justify-self: start; }
@media (min-width: 900px) {
  .p-linha { align-items: center; gap: 3.5rem; }
  /* A ordem da vitrine é Meio-dia, Pôr do Sol, festa: foto à esquerda, à direita, à esquerda. */
  .p-linha--almoco { grid-template-columns: 1fr 1fr; --ar: 4 / 3.4; }
  .p-linha--sunset { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); --ar: 1 / 1; }
  .p-linha--sunset .painel { order: 2; }
  .p-linha--sunset .p-texto { order: 1; justify-self: end; }
  .p-linha--festa { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); --ar: 16 / 11; }
  .p-linha--festa .p-texto { max-width: none; }
}

/* --- B2: dia de mar --- */
.p-sub { margin-top: clamp(2.5rem, 6vw, 4rem); }
.p-sub:first-of-type { margin-top: 0; }
.p-sub > h3 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
.p-sub > .duracao { margin: 0.7rem 0 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rejunte-cobalto); }
.p-sub > .duracao .duracao-barra { max-width: 16rem; }
ul.p-trilho {
  display: flex; gap: 1rem; list-style: none; padding: 0.25rem var(--gutter) 1rem;
  margin: 0 calc(-1 * var(--gutter));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-color: #fff var(--rejunte-cobalto); scrollbar-width: thin;
}
.p-trilho::-webkit-scrollbar { height: 8px; }
.p-trilho::-webkit-scrollbar-track { background: var(--rejunte-cobalto); }
.p-trilho::-webkit-scrollbar-thumb { background: #fff; }
.p-dest { flex: 0 0 78vw; max-width: 20rem; scroll-snap-align: start; display: grid; gap: 0.35rem; align-content: start; }
.p-dest .painel { aspect-ratio: 4 / 3; margin-bottom: 0.65rem; }
.p-dest .painel img { object-position: var(--pos, center); }
.p-dest h4 { font: 400 clamp(1.25rem, 3vw, 1.4rem)/1.15 var(--display); letter-spacing: -0.01em; }
.p-onde { font-size: 0.9375rem; color: var(--no-cobalto-2); }
.p-dest .preco { font-size: clamp(1.55rem, 3.4vw, 1.75rem); margin-top: 0.35rem; }
.p-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; margin-top: 0.25rem; }
.p-sobre { font-size: 0.9375rem; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.p-dest .placa { justify-self: start; margin-bottom: 0.5rem; }
.p-crianca { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--rejunte-cobalto); max-width: 46rem; color: var(--no-cobalto-2); }
.p-crianca strong { color: #fff; }
@media (min-width: 900px) {
  ul.p-trilho { display: grid; overflow: visible; margin: 0; padding: 0; gap: 2.5rem 1.75rem; scroll-snap-type: none; }
  .p-dest { flex: none; max-width: none; }
  .p-trilho--norte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-trilho--norte .p-dest--destaque { grid-column: span 2; }
  .p-trilho--norte .p-dest--destaque .painel { aspect-ratio: 16 / 9; }
  .p-trilho--sul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- B3: Réveillon e adicionais --- */
.p-reveillon { display: grid; background: var(--cobalto-fundo); color: #fff; margin-bottom: clamp(3rem, 8vw, 5.5rem); }
.p-reveillon a.seta { color: #fff; }
.p-reveillon .painel { aspect-ratio: 16 / 10; }
.p-reveillon .painel img { object-position: center 55%; }
.p-rev-texto { padding: clamp(1.5rem, 5vw, 3rem); display: grid; gap: 0.9rem; align-content: center; }
.p-rev-texto h2 { font-size: clamp(1.8rem, 5vw, 2.9rem); }
.p-rev-texto .placa { justify-self: start; }
.p-rev-texto p { color: var(--no-cobalto-2); max-width: 56ch; }
.p-rev-preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; }
.p-rev-preco .pp { color: var(--no-cobalto-2); }
@media (min-width: 900px) {
  .p-reveillon { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .p-reveillon .painel { aspect-ratio: auto; min-height: 100%; }
}
.p-extra h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.p-lista { list-style: none; padding: 0; margin-top: 1.5rem; max-width: 50rem; border-top: 1px solid var(--rejunte); }
.p-lista li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rejunte); align-items: baseline; }
.p-lista h3 { font: 700 1.0625rem/1.3 var(--sans); letter-spacing: 0; }
.p-lista p { grid-column: 1; font-size: 0.9375rem; color: var(--tinta-2); max-width: 46ch; }
.p-lista .p-valor { grid-column: 2; grid-row: 1 / span 2; align-self: start; font: 400 1.5rem/1.1 var(--display); text-align: right; white-space: nowrap; font-variant-numeric: lining-nums; }
.p-lista .p-valor small { display: block; font: 400 0.8125rem/1.3 var(--sans); color: var(--tinta-2); }
.p-regras { margin-top: 1.5rem; display: grid; gap: 0.5rem; max-width: 50rem; color: var(--tinta-2); font-size: 0.9375rem; }

/* ===== barco ===== */
/* ===== Frente C: o barco e o dia de mar ===== */

/* Azulejo numerado: marcador na foto e numeral da legenda */
.b-n {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 2px;
  background: var(--esmalte); border: 2px solid var(--cobalto);
  color: var(--cobalto); font: 400 1rem/1 var(--display); font-variant-numeric: lining-nums;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.b-n.b-on { background: var(--amarelo); color: var(--cobalto-fundo); }

/* Fotografia rotulada */
.b-rotulada { display: grid; gap: 1.75rem; align-items: start; }
.b-foto { position: relative; margin: 0; }
.b-foto .painel { aspect-ratio: 4 / 3; }
.b-pin { position: absolute; z-index: 2; width: 34px; height: 34px; transform: translate(-50%, -50%); cursor: default; }
.b-leg { counter-reset: none; }
.b-leg li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.9rem; align-items: start;
  padding: 0.95rem 0; border-top: 1px solid var(--rejunte);
}
.b-leg li:last-child { border-bottom: 1px solid var(--rejunte); }
.b-leg strong { display: block; font: 400 1.25rem/1.2 var(--display); }
.b-leg p { margin-top: 0.2rem; color: var(--tinta-2); font-size: 1rem; max-width: 34rem; }
.b-leg li.b-on strong { text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
@media (min-width: 900px) {
  .b-rotulada { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; }
}

/* Mosaico: trilho no celular, painel com hierarquia no desktop */
.b-mosaico {
  display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: clamp(3rem, 7vw, 5rem) calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 0.75rem;
  scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--cobalto) var(--esmalte-2);
}
.b-mosaico figure { flex: 0 0 80vw; max-width: 22rem; scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.5rem; }
.b-mosaico .painel { height: 15rem; }
.b-mosaico .painel > img { position: absolute; inset: 0; }
.b-mosaico figcaption { font-size: 0.875rem; color: var(--tinta-2); line-height: 1.35; }
.b-nota { margin-top: 1rem; font-size: 0.9375rem; color: var(--tinta-2); max-width: 46rem; }
@media (min-width: 900px) {
  .b-mosaico {
    display: grid; overflow: visible; margin-inline: 0; padding: 0; gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 13rem;
    grid-template-areas:
      "salao salao proa esp"
      "salao salao proa esp"
      "mesa deck deck cab"
      "cock com com frios";
  }
  .b-mosaico figure { flex: none; max-width: none; min-width: 0; min-height: 0; }
  .b-mosaico .painel { flex: 1; height: auto; min-height: 0; }
  .b-mosaico figure:nth-child(1) { grid-area: salao; }
  .b-mosaico figure:nth-child(2) { grid-area: mesa; }
  .b-mosaico figure:nth-child(3) { grid-area: deck; }
  .b-mosaico figure:nth-child(4) { grid-area: cab; }
  .b-mosaico figure:nth-child(5) { grid-area: cock; }
  .b-mosaico figure:nth-child(6) { grid-area: com; }
  .b-mosaico figure:nth-child(7) { grid-area: proa; }
  .b-mosaico figure:nth-child(8) { grid-area: esp; }
  .b-mosaico figure:nth-child(9) { grid-area: frios; }
}

/* A bordo: lista tipográfica em colunas, fios de rejunte */
.b-bordo { margin-top: clamp(3rem, 7vw, 5rem); }
.b-bordo h3 { margin-bottom: 1.25rem; }
.b-bordo ul {
  display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  border-bottom: 1px solid var(--rejunte);
}
.b-bordo li { padding: 0.8rem 0; border-top: 1px solid var(--rejunte); font-weight: 500; }
@media (min-width: 960px) { .b-bordo ul { grid-template-columns: repeat(3, 1fr); } }
.b-bordo .b-nota { margin-top: 0.9rem; }
.b-fecho { margin-top: clamp(2rem, 5vw, 3rem); }

/* Linha do tempo */
.b-dia .cab { margin-bottom: 1.75rem; }
.b-duracoes { display: grid; gap: 0.6rem; max-width: 26rem; margin-bottom: clamp(2.25rem, 6vw, 3.5rem); }
.b-duracoes .duracao { color: var(--tinta); }
.b-duracoes .b-rot { flex: none; width: 6.5rem; }
.b-duracoes .duracao-barra { background: var(--rejunte); }
.b-linha { position: relative; }
.b-linha > li { position: relative; padding: 0 0 2.75rem 2.75rem; }
.b-linha > li::before { /* o fio cobalto */
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--cobalto);
}
.b-linha > li:last-child { padding-bottom: 0; }
.b-linha > li:last-child::before { bottom: auto; height: 12px; }
.b-linha .b-tile {
  position: absolute; left: 0; top: 0.2rem; width: 22px; height: 22px; border-radius: 2px;
  background: var(--esmalte); border: 2px solid var(--cobalto);
}
.b-linha .b-tile::after { content: ''; position: absolute; inset: 4px; background: var(--cobalto); }
.b-linha h3 { margin-bottom: 0.6rem; }
.b-linha p { max-width: 36rem; }
.b-linha .painel { margin-top: 1.1rem; aspect-ratio: 3 / 2; }
.b-linha .painel--v { aspect-ratio: 2 / 3; max-width: 15rem; }
@media (min-width: 900px) {
  .b-linha > li {
    display: grid; grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); padding: 0 0 4rem; align-items: start;
  }
  .b-linha > li::before { left: calc(50% - 1px); }
  .b-linha .b-tile { left: calc(50% - 11px); }
  .b-linha .b-txt { grid-column: 1; grid-row: 1; padding: 0.1rem 1.5rem 0 0; }
  .b-linha .painel { grid-column: 3; grid-row: 1; margin-top: 0; }
  .b-linha > li:nth-child(even) .b-txt { grid-column: 3; padding: 0.1rem 0 0 1.5rem; }
  .b-linha > li:nth-child(even) .painel { grid-column: 1; }
  .b-linha .painel--v { justify-self: start; width: 100%; }
  .b-linha > li:nth-child(even) .painel--v { justify-self: end; }
}

/* ===== confianca ===== */
/* ===== D1. Dúvidas ===== */
.c-qa { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--rejunte); }
.c-qa > div { padding-block: 1.75rem; border-top: 1px solid var(--rejunte); }
.c-qa h3 { margin-bottom: 0.6rem; color: var(--cobalto); }
.c-qa p { max-width: 34rem; }
@media (min-width: 800px) {
  .c-qa { grid-template-columns: 1fr 1fr; }
  .c-qa > div { padding-block: 2.25rem; }
  .c-qa > div:nth-child(odd) { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
  .c-qa > div:nth-child(even) { padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--rejunte); }
}
.c-docs { display: flex; flex-wrap: wrap; gap: 0 2rem; padding-top: 1.25rem; }
.c-docs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.c-ident {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem); padding-top: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--rejunte);
}
.c-ident > * { min-width: 0; }
.c-ident-razao { font-size: 0.9375rem; color: var(--tinta-2); overflow-wrap: anywhere; }
.c-ident-razao strong { display: block; color: var(--tinta); font-size: 1rem; line-height: 1.35; }
.c-ident-nota a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.c-ident-chat p { font-weight: 500; max-width: 24rem; margin-bottom: 0.9rem; }
@media (min-width: 900px) {
  .c-ident { grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
  .c-ident-nota { padding-inline: clamp(1.5rem, 3vw, 3rem); border-inline: 1px solid var(--rejunte); align-self: stretch; display: flex; align-items: center; }
}

/* ===== D2. Fechamento ===== */
.c-fecho {
  position: relative; display: grid; align-items: end;
  min-height: 640px;
  color: #fff;
}
.c-fecho-foto { position: absolute; inset: 0; }
.c-fecho-foto img { object-position: 56% 100%; }
/* Véu: só onde o texto pousa (alto no celular, esquerda no desktop). */
.c-fecho-veu {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 36, 102, 0.88) 0%, rgba(15, 36, 102, 0.8) 50%, rgba(15, 36, 102, 0) 63%);
}
.c-fecho-texto { position: relative; z-index: 2; align-self: start; padding-block: clamp(2.5rem, 8vw, 4rem); }
.c-fecho-texto h2 { max-width: 15ch; color: #fff; }
.c-fecho-texto p { margin-top: 1rem; font-size: 1.125rem; max-width: 22rem; }
.c-fecho-acoes { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; max-width: 22rem; }
.c-fecho-acoes .btn { width: 100%; }
@media (min-width: 768px) {
  .c-fecho { min-height: clamp(460px, 70svh, 720px); align-items: center; }
  .c-fecho-foto img { object-position: 50% 75%; }
  .c-fecho-veu { background: linear-gradient(to right, rgba(15, 36, 102, 0.84) 0%, rgba(15, 36, 102, 0.78) 42%, rgba(15, 36, 102, 0) 60%); }
  .c-fecho-texto { align-self: center; }
  .c-fecho-texto h2 { max-width: 12ch; }
  .c-fecho-texto p { max-width: 21rem; }
  .c-fecho-acoes { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .c-fecho-acoes .btn { width: auto; }
}

/* ===== D3. Rodapé ===== */
.c-rodape { background: var(--cobalto-fundo); color: #fff; padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; }
.c-rodape a { color: #fff; text-decoration: none; }
.c-rodape a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.c-rodape ::selection { background: var(--amarelo); color: var(--cobalto-fundo); }
.c-rod-grade { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.c-rod-grade > * { min-width: 0; }
.c-rod-marca img { width: 110px; height: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.c-rod-marca p { font-size: 0.9375rem; line-height: 1.55; color: var(--no-cobalto-2); max-width: 20rem; overflow-wrap: anywhere; }
.c-rod-marca p + p { margin-top: 0.5rem; }
.c-rod-marca strong { color: #fff; }
.c-rodape h3 {
  font: 700 0.8125rem/1.2 var(--sans); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--no-cobalto-2); margin-bottom: 0.5rem;
}
.c-rodape ul { list-style: none; padding: 0; }
.c-rodape li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; overflow-wrap: anywhere; }
.c-rod-fim { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rejunte-cobalto); font-size: 0.875rem; color: var(--no-cobalto-2); }
@media (min-width: 768px) {
  .c-rod-grade { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .c-rodape li a { font-size: 0.9375rem; }
}
@media (min-width: 900px) {
  .c-rod-grade { grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; }
  .c-rodape li a { min-height: 36px; }
}
@media (max-width: 767px) {
  .c-rod-grade > nav, .c-rod-grade > div:not(.c-rod-marca) { padding-top: 1.5rem; border-top: 1px solid var(--rejunte-cobalto); }
}
