/* Fontes do 1º Track Day Chapecó. Archivo e JetBrains Mono, licença SIL Open Font (ver fonts/OFL-*.txt). */
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/Archivo-Italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/Archivo-Italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/Archivo-Roman-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/Archivo-Roman-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/JetBrainsMono-Roman-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/JetBrainsMono-Roman-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: três páginas (início, piloto, público) com a mesma folha de estilos. Cada uma abre com foto em tela cheia e véu de lado; depois, seções que alternam azul-marinho e marinho claro, com as peças da identidade: linha de horário, linha de item, caixa de preço, marcador e zebra verde e branca. Visual único, escuro, por regra da identidade. */
:root {
  --td-navy: #040A18; --td-deep: #0A1830; --td-blue: #6AAEF0; --td-ice: #D6E4F7; --td-dim: #9FB4D3; --td-white: #FFFFFF;
  --td-green: #268F4D; --td-red: #ED080B; --td-amber: #F5A623; --td-whats: #25D366;
  --td-linha: rgba(214, 228, 247, 0.3); --td-borda-caixa: rgba(106, 174, 240, 0.55); --td-fundo-caixa: rgba(4, 10, 24, 0.72);
  --td-veu-topo: linear-gradient(180deg, rgba(4,10,24,0.78) 0%, rgba(4,10,24,0.28) 22%, rgba(4,10,24,0) 40%);
  --td-veu-base: linear-gradient(0deg, rgba(4,10,24,0.96) 0%, rgba(4,10,24,0.82) 13%, rgba(4,10,24,0) 32%);
  --td-veu-lado: linear-gradient(90deg, rgba(4,10,24,0.90) 0%, rgba(4,10,24,0.70) 32%, rgba(4,10,24,0.16) 58%, rgba(4,10,24,0) 72%);
  --td-veu-cheio: linear-gradient(180deg, rgba(4,10,24,0.86) 0%, rgba(4,10,24,0.55) 40%, rgba(4,10,24,0.70) 70%, rgba(4,10,24,0.97) 100%);
  --td-familia: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --td-familia-dado: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --td-web-titulo: clamp(56px, 10vw, 150px);
  --td-web-titulo-secao: clamp(40px, 6.2vw, 92px);
  --td-web-rotulo: clamp(12px, 1.2vw, 16px);
  --td-web-texto: clamp(17px, 1.5vw, 21px);
  --gut-l: max(clamp(20px, 4.4vw, 60px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(20px, 4.4vw, 60px), env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--td-navy); color: var(--td-white); font-family: var(--td-familia); font-size: 17px; line-height: 1.42; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: var(--td-blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--td-blue); outline-offset: 3px; border-radius: 4px; }

/* letras da identidade */
.td-titulo { font-family: var(--td-familia); font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.005em; color: var(--td-white); text-wrap: balance; }
.td-titulo .azul { color: var(--td-blue); } .td-titulo .ambar { color: var(--td-amber); } .td-titulo .vermelho { color: var(--td-red); }
.td-rotulo { font-family: var(--td-familia); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; line-height: 1.3; color: var(--td-blue); font-size: var(--td-web-rotulo); }
.td-texto { font-family: var(--td-familia); font-stretch: 100%; font-weight: 400; line-height: 1.42; color: var(--td-ice); font-size: var(--td-web-texto); max-width: 34em; }
.td-dado { font-family: var(--td-familia-dado); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--td-dim); text-transform: uppercase; }

/* peças da identidade */
.td-zebra { --larg: 72px; --alt: 10px; --passo: 10px; width: var(--larg); height: var(--alt); flex: none; transform: skewX(-24deg); background: repeating-linear-gradient(90deg, var(--td-green) 0 var(--passo), var(--td-white) var(--passo) calc(var(--passo) * 2)); }
.td-botao { display: inline-block; font-family: var(--td-familia); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1; color: var(--td-navy); background: var(--td-blue); padding: 16px 28px; border-radius: 999px; text-decoration: none; }
.td-botao.contorno { background: transparent; color: var(--td-white); box-shadow: inset 0 0 0 2px rgba(214, 228, 247, 0.6); }
.td-botao:hover { filter: brightness(1.08); }
.td-preco { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; border-radius: 10px; border: 2px solid var(--td-borda-caixa); background: var(--td-fundo-caixa); }
.td-preco b { font-family: var(--td-familia); font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(46px, 5.4vw, 70px); line-height: 0.82; color: var(--td-white); white-space: nowrap; }
.td-preco b.duplo { font-size: clamp(27px, 3.1vw, 40px); line-height: 0.9; white-space: normal; }
.td-preco span { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.25; color: var(--td-ice); }
.td-preco .td-botao { align-self: flex-start; margin-top: auto; font-size: 16px; padding: 13px 20px; white-space: nowrap; }
.td-hora { display: grid; grid-template-columns: clamp(96px, 13vw, 170px) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: center; padding: 14px 0; border-top: 2px solid var(--td-linha); }
.td-hora b { font-family: var(--td-familia); font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 5vw, 64px); line-height: 0.8; color: var(--td-blue); }
.td-hora span { font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.18; color: var(--td-white); }
.td-hora span small { display: block; font-weight: 400; font-size: 0.8em; color: var(--td-ice); margin-top: 3px; }
.td-hora.exotic b { color: var(--td-red); } .td-hora.sunset b { color: var(--td-amber); }
.td-item { display: grid; grid-template-columns: clamp(110px, 14vw, 190px) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); align-items: baseline; padding: 18px 0; border-top: 2px solid var(--td-linha); }
.td-item b { font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: 0.2em; color: var(--td-blue); }
.td-item span { font-weight: 500; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.22; color: var(--td-white); }
.td-marcador { display: flex; align-items: center; gap: 14px; font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 0.9; color: var(--td-white); }
.td-marcador::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--td-blue); transform: skewX(-14deg); }
.td-cena { position: relative; overflow: hidden; background: var(--td-navy); color: var(--td-white); }
.td-foto { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.td-veu { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.td-veu.pe { background: linear-gradient(0deg, rgba(4,10,24,0.97) 0%, rgba(4,10,24,0.90) 34%, rgba(4,10,24,0.45) 58%, rgba(4,10,24,0) 80%); }
.td-veu.lado { background: var(--td-veu-lado); } .td-veu.base { background: var(--td-veu-base); } .td-veu.topo { background: var(--td-veu-topo); } .td-veu.cheio { background: var(--td-veu-cheio); }
.td-assinatura { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.td-assinatura .apresenta { display: flex; align-items: flex-end; gap: 12px; margin-left: 8px; }
.td-assinatura .apresenta img { height: clamp(18px, 2.2vw, 26px); width: auto; display: block; }
.td-assinatura .apresenta span { font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.22em; line-height: 1; color: var(--td-ice); padding-bottom: 1px; }
.td-assinatura .emblema { height: clamp(64px, 8vw, 104px); width: auto; display: block; }
.td-regua { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.td-regua > div { height: 96px; display: flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 10px; background: var(--td-deep); border: 2px solid rgba(214, 228, 247, 0.14); }
.td-regua img { max-width: 100%; max-height: 46px; width: auto; height: auto; display: block; }

/* primeira dobra */
.dobra { min-height: clamp(560px, 86vh, 860px); display: flex; }
.dobra .in { position: relative; flex: 1; width: 100%; max-width: 1640px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; padding-block: clamp(26px, 4vw, 44px) clamp(36px, 5vw, 60px); padding-left: var(--gut-l); padding-right: var(--gut-r); min-width: 0; }
.dobra .alto { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dobra .sabado { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dobra .sabado img { height: clamp(26px, 3.2vw, 44px); width: auto; }
.dobra .baixo { margin-top: auto; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 780px; }
.dobra h1 { font-size: var(--td-web-titulo); }
.dobra h1.longo { font-size: clamp(50px, 8.2vw, 124px); }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; }

/* seções */
.sec { background: var(--td-navy); }
.sec.clara { background: var(--td-deep); }
.sec > .in { max-width: 1640px; margin: 0 auto; padding-block: clamp(52px, 7vw, 96px); padding-left: var(--gut-l); padding-right: var(--gut-r); display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 44px); }
.cab { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cab h2 { font-size: var(--td-web-titulo-secao); }
.duas { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.duas.inv > :first-child { order: 2; }
.duas.alto { align-items: start; }
.duas > * { min-width: 0; }
.col { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.col > .linhas { align-self: stretch; }
.linhas { display: flex; flex-direction: column; border-bottom: 2px solid var(--td-linha); }
.quadro { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--td-deep); }
.duas > .quadro { max-height: 780px; }
.quadro.larg { aspect-ratio: 16 / 10; }
.quadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.marcadores { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 16px 38px; justify-content: start; }
.precos { display: flex; gap: 16px; flex-wrap: wrap; align-self: stretch; }
.nota { font-size: clamp(15px, 1.3vw, 17px); color: var(--td-dim); max-width: 44em; }

/* escolha na página inicial */
.escolha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cartao { position: relative; border-radius: 14px; overflow: hidden; min-height: clamp(420px, 44vw, 560px); display: flex; text-decoration: none; color: var(--td-white); background: var(--td-deep); }
.cartao .corpo { position: relative; margin-top: auto; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cartao h3 { font-size: clamp(44px, 5vw, 72px); }
.cartao p { color: var(--td-ice); font-size: clamp(16px, 1.4vw, 19px); max-width: 26em; }
.cartao:hover .td-botao { filter: brightness(1.1); }

/* cartões do público */
.grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.caixa { border-top: 2px solid var(--td-linha); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.caixa h3 { font-stretch: 62%; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 38px); line-height: .92; }
.caixa.exotic h3 { color: var(--td-red); } .caixa.sunset h3 { color: var(--td-amber); }
.caixa p { color: var(--td-ice); font-size: clamp(16px, 1.35vw, 18px); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trio .quadro { aspect-ratio: 3 / 4; }

/* dúvidas */
.duvidas { display: flex; flex-direction: column; border-bottom: 2px solid var(--td-linha); align-self: stretch; }
.duvidas details { border-top: 2px solid var(--td-linha); }
.duvidas summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; font-stretch: 62%; font-weight: 900; font-size: 30px; line-height: 1; color: var(--td-blue); flex: none; }
.duvidas details[open] summary::after { content: "–"; }
.duvidas details p { padding: 0 0 20px; color: var(--td-ice); font-size: clamp(16px, 1.4vw, 19px); max-width: 44em; }
.troca { align-self: flex-start; font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); color: var(--td-blue); text-underline-offset: 5px; }

/* rodapé */
.rodape { background: var(--td-navy); border-top: 2px solid var(--td-linha); }
.rodape .in { max-width: 1640px; margin: 0 auto; padding-block: 44px 96px; padding-left: var(--gut-l); padding-right: var(--gut-r); display: flex; flex-direction: column; gap: 28px; }
.rodape .topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rodape small { font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.22em; color: var(--td-dim); display: block; margin-bottom: 10px; }
.rodape .org img { height: 40px; width: auto; display: block; }
.rodape .ass img { height: 22px; width: auto; display: block; }
.rodape .ass { display: flex; align-items: flex-end; gap: 12px; }
.rodape .ass span { font-stretch: 125%; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.22em; color: var(--td-ice); }

/* WhatsApp flutuante */
.wafab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; background: var(--td-whats); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); z-index: 20; }
.wafab svg { width: 32px; height: 32px; fill: var(--td-white); }

@media (max-width: 860px) {
  .duas { grid-template-columns: minmax(0, 1fr); }
  .escolha, .grade { grid-template-columns: minmax(0, 1fr); }
  .td-regua { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dobra .sabado { align-items: flex-start; }
  .td-veu.lado { background: var(--td-veu-cheio); }
  .quadro { aspect-ratio: 4 / 4.2; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 520px) {
  .marcadores { grid-template-columns: minmax(0, 1fr); }
  .td-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
