/* ═══════════════════════════════════════════════════════════════
   Salvador Cocktail Festival: layout escuro (referência Pumpkin)
   Paleta oficial do manual de identidade 2026, nomes e funções:
   CREME #F6E1CB (base) · OURO #F0AC26 e LARANJA #F07601 e
   ÁGUA #049195 (acentos e navegação) · OLIVA #7B7B13,
   TERRA #BA3F18 e MARINHO #04192E (profundidade e contraste).
   Tipografia do manual: Museo (display; Rokkitt como stand-in até a
   licença) + Montserrat (leitura). Ver css/fonts.css.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #020A12;
  --card: #04192E;
  --card-2: #062036;
  --cream: #F6E1CB;
  --cream-dim: #e3c9a8;
  --ink: #04192E;
  --txt: #ffffff;
  --muted: #9fb0bd;
  --line: rgba(255, 255, 255, 0.10);
  --green: #0fb5ba;    /* teal da marca, clareado para o fundo escuro */
  --amber: #F0AC26;    /* âmbar da marca: rótulos e destaques */
  --terra: #BA3F18;    /* terracota da marca */
  --duo-hi: #F07601;   /* laranja das altas-luzes do duotone */
  --duo-lo: #6f2408;   /* terracota profunda das sombras */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 8px;
  --wrap: 1264px;
  --pad: 24px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Rokkitt', 'Rockwell', 'Roboto Slab', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: var(--cream); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--cream); color: var(--ink);
  padding: 10px 18px; border-radius: var(--r-sm); font-size: 14px;
}
.skip:focus { left: 12px; }

/* ---------- blocos utilitários ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }

.sec { padding-block: clamp(72px, 10vw, 140px) 0; }
.sec--last { padding-bottom: clamp(72px, 10vw, 140px); }

/* faixa destacada: seção com fundo próprio (a fitinha atravessa a emenda) */
.sec--band {
  margin: clamp(72px, 10vw, 140px) 12px 0;
  padding-block: clamp(130px, 18vw, 280px) clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #08243c 0%, #051a2d 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg);
}

.label {
  font-size: 13px; font-weight: 600; color: var(--amber);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.label--center { text-align: center; }
/* no desktop o rotulo cresce junto com o titulo (no celular 13px ja esta bom) */
@media (min-width: 901px) {
  .label { font-size: clamp(16px, 1.3vw, 19px); margin-bottom: 22px; }
}

.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec__title {
  font-size: clamp(30px, 4vw, 44px);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.sec__lede {
  color: var(--muted); max-width: 560px; margin-top: 18px; font-size: 16px;
}
.sec__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.sec__head--row .sec__lede { margin-top: 0; }
.sec__head--split {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.sec__side .sec__lede { max-width: none; margin-bottom: 28px; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  padding: 12px 22px; border-radius: var(--r-sm);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff0dd; }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #02101f; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.18); color: var(--txt);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.45); }

.btn--sm { padding: 9px 16px; }
.btn--wide { width: 100%; }

/* ---------- nav ---------- */

.nav-wrap {
  position: fixed; inset-inline: 0; top: 14px; z-index: 100;
  padding-inline: var(--pad);
}
.nav-pill {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(4, 25, 46, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px 10px 16px;
  transition: background 0.3s ease;
}
.is-stuck .nav-pill { background: rgba(3, 15, 27, 0.90); }

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo img { width: 30px; height: auto; }
.nav-logo__txt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.15;
  text-transform: uppercase;
}
/* wordmark tipografico (mobile): tres linhas no espirito da assinatura */
.nav-logo__brand {
  display: none;
  font-family: var(--font-display); line-height: 1.04; text-transform: uppercase;
}
.nav-logo__brand i, .nav-logo__brand b, .nav-logo__brand em {
  display: block; font-style: normal;
}
.nav-logo__brand i { color: var(--duo-hi); font-weight: 800; font-size: 15px; letter-spacing: 0.10em; }
.nav-logo__brand b { color: var(--cream); font-weight: 800; font-size: 15px; letter-spacing: 0.115em; }
.nav-logo__brand em { color: var(--cream-dim); font-weight: 400; font-size: 15px; letter-spacing: 0.24em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.78);
  text-decoration: none; padding: 8px 12px; border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.nav-links__cta { display: none; }

/* bandeiras de idioma: pt, en, es, it (i18n.js marca a atual com .is-on) */
.lang { display: flex; align-items: center; gap: 4px; flex: none; }
.lang__btn {
  display: inline-flex; background: none; border: 0; cursor: pointer;
  padding: 4px; border-radius: 6px; opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang__btn svg {
  display: block; width: 22px; height: 15px; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.lang__btn:hover { opacity: 0.9; transform: translateY(-1px); }
.lang__btn.is-on { opacity: 1; }
.lang__btn.is-on svg { box-shadow: 0 0 0 1.5px var(--amber); }
.lang__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
/* fora do portugues, o corpo so aparece depois que o i18n.js trocou os textos
   (o script inline do <head> solta a trava sozinho em 1,5 s se algo falhar) */
.i18n-wait body { visibility: hidden; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  width: 18px; height: 1.6px; background: #fff; display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- gate de idade ---------- */

.gate {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.gate.is-out { opacity: 0; visibility: hidden; }
.age-ok .gate { display: none; }
.gate-open { overflow: hidden; }
.gate__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 72% 12%, rgba(246, 225, 203, 0.16) 0%, rgba(246, 225, 203, 0) 58%),
    radial-gradient(85% 70% at 12% 85%, rgba(4, 145, 149, 0.28) 0%, rgba(4, 145, 149, 0) 60%),
    radial-gradient(60% 50% at 50% 55%, rgba(240, 172, 38, 0.14) 0%, rgba(240, 172, 38, 0) 65%),
    linear-gradient(160deg, #7a3a06 0%, #3a1608 40%, #06111c 100%);
}
.gate__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: 0.4; mix-blend-mode: overlay;
}
.gate__card {
  position: relative; width: min(100%, 540px);
  background: rgba(4, 25, 46, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 48px) clamp(22px, 5vw, 44px);
  text-align: center;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: hero-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.gate__emblem { width: 54px; height: auto; margin: 0 auto 16px; }
.gate__kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.55); margin-bottom: 22px;
}
.gate__q {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 36px); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--cream);
}
.gate__sub { margin-top: 10px; color: rgba(255, 255, 255, 0.82); }
.gate__alt {
  margin-top: 12px; display: flex; flex-direction: column; gap: 4px;
  color: var(--muted); font-size: 15px; line-height: 1.5;
}
.gate__btns {
  margin-top: 26px;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.gate__btn { min-width: 156px; padding: 14px 24px; font-size: 14px; }
.gate__btn small { font-size: 12px; font-weight: 400; opacity: 0.7; }
.gate__note {
  margin-top: 22px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}
.gate__note i { font-style: normal; color: var(--amber); margin: 0 4px; }
.gate__deny:focus { outline: none; }
@media (max-width: 480px) {
  .gate { padding: 16px; }
  .gate__btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gate__card { animation: none; }
}

/* ---------- hero ---------- */

.hero { padding: 12px; }
.hero__frame {
  position: relative;
  min-height: calc(100svh - 24px);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: #050d16;
}

/* fundo texturizado sem imagem (placeholder ate a arte definitiva do hero):
   degrade da marca + brilhos + trama diagonal + grao */
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  animation: hero-fade 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__duo {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg,
      rgba(255, 255, 255, 0.035) 0 2px, rgba(255, 255, 255, 0) 2px 7px),
    repeating-linear-gradient(25deg,
      rgba(0, 0, 0, 0.05) 0 3px, rgba(0, 0, 0, 0) 3px 9px),
    radial-gradient(70% 55% at 72% 12%, rgba(246, 225, 203, 0.28) 0%, rgba(246, 225, 203, 0) 58%),
    radial-gradient(85% 70% at 12% 85%, rgba(4, 145, 149, 0.30) 0%, rgba(4, 145, 149, 0) 60%),
    radial-gradient(60% 50% at 50% 55%, rgba(240, 172, 38, 0.20) 0%, rgba(240, 172, 38, 0) 65%),
    linear-gradient(160deg, #f5940f 0%, var(--duo-hi) 34%, var(--duo-lo) 80%, #200a02 100%);
}
.hero__duo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--noise);
  opacity: 0.5; mix-blend-mode: overlay;
}

/* véu: base escura para o texto, topo limpo para a nav */
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 10, 18, 0.50) 0%, rgba(2, 10, 18, 0.12) 20%, rgba(2, 10, 18, 0) 38%),
    linear-gradient(0deg, rgba(2, 10, 18, 0.80) 0%, rgba(2, 10, 18, 0.62) 24%, rgba(2, 10, 18, 0.36) 46%, rgba(2, 10, 18, 0.10) 64%, rgba(2, 10, 18, 0) 80%);
}
.hero__veil::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise);
  opacity: 0.24; mix-blend-mode: overlay;
}

.hero__inner {
  position: relative; z-index: 2;
  min-height: calc(100svh - 24px);
  display: flex; flex-direction: column;
  padding: 104px clamp(24px, 4vw, 64px) clamp(24px, 3vh, 40px);
}

.hero__center {
  margin: auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero__brand { margin: 0; }
.hero__brand img {
  width: clamp(160px, 21vh, 220px); height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 16px 44px rgba(0, 0, 0, 0.45));
}

/* a data é o segundo nível de leitura do hero: grande e em âmbar */
.hero__date {
  margin-top: clamp(14px, 2.2vh, 22px);
  font-size: clamp(28px, 5vh, 48px);
  font-family: var(--font-display); font-weight: 800;
  line-height: 1; letter-spacing: -0.005em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.hero__date i { font-style: normal; margin: 0 0.06em; color: rgba(246, 225, 203, 0.55); }
.hero__date span { text-transform: uppercase; letter-spacing: 0.01em; }

/* countdown para a abertura do congresso (main.js preenche os numeros) */
.hero__count {
  margin-top: clamp(12px, 2vh, 20px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(8px, 1.4vh, 12px);
}
.hero__count-lbl {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.58);
}
.hero__count-grid { display: flex; align-items: flex-start; }
.hero__count-cell {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  min-width: clamp(60px, 7vw, 86px); padding: 0 6px;
}
.hero__count-cell + .hero__count-cell::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 1px; height: clamp(22px, 3.4vh, 32px);
  background: rgba(255, 255, 255, 0.18);
}
.hero__count-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.6vh, 44px); line-height: 1; letter-spacing: -0.01em;
  color: var(--cream); font-variant-numeric: tabular-nums;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.hero__count-cap {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}
.hero__count-done {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 3vh, 28px); line-height: 1.1;
  color: var(--amber);
}

.hero__desc {
  margin-top: clamp(12px, 1.8vh, 18px);
  max-width: 540px;
  font-size: 15px; line-height: 1.6; font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}
.hero__stats {
  margin-top: clamp(20px, 3.2vh, 34px);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
}
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hero__num {
  font-size: clamp(24px, 2.2vw, 32px);
  font-family: var(--font-display); font-weight: 800;
  line-height: 1; letter-spacing: -0.01em; color: var(--cream);
}
.hero__cap {
  font-size: 11px; line-height: 1.35; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.48);
}
.hero__cta {
  margin-top: clamp(18px, 2.8vh, 28px);
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* entrada escalonada */
@keyframes hero-scale { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-up    { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade  { from { opacity: 0; } to { opacity: 1; } }

.hero__brand, .hero__date, .hero__count, .hero__desc, .hero__stat, .hero__cta {
  animation: hero-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__brand { animation-delay: 0.50s; }
.hero__date  { animation-delay: 0.68s; }
.hero__count { animation-delay: 0.82s; }
.hero__desc  { animation-delay: 0.90s; }
.hero__stat:nth-child(1) { animation-delay: 1.02s; }
.hero__stat:nth-child(2) { animation-delay: 1.14s; }
.hero__stat:nth-child(3) { animation-delay: 1.26s; }
.hero__cta   { animation-delay: 1.38s; }

@media (prefers-reduced-motion: reduce) {
  .hero__media, .hero__brand, .hero__date, .hero__count,
  .hero__desc, .hero__stat, .hero__cta { animation: none; }
}

/* telas baixas: o bloco encolhe para caber na dobra */
@media (max-height: 820px) {
  .hero__inner { padding-top: 100px; }
  .hero__desc { display: none; }
}
@media (max-height: 700px) {
  .hero__inner { padding-top: 88px; }
  .hero__stats { display: none; }
}

/* ---------- divisores de area: FESTIVAL / CONGRESSO ---------- */

.zona { padding-top: clamp(88px, 12vw, 170px); }
.zona__wrap {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; flex-wrap: wrap;
  border-bottom: 2px solid rgba(15, 181, 186, 0.45);
  padding-bottom: clamp(20px, 3vw, 32px);
}
.zona--cong .zona__wrap { border-bottom-color: rgba(240, 172, 38, 0.45); }
.zona__kicker {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--green); margin-bottom: 12px;
}
.zona--cong .zona__kicker { color: var(--amber); }
.zona__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(52px, 9vw, 118px); line-height: 0.95;
  letter-spacing: -0.01em; color: var(--cream);
}
.zona__meta {
  font-size: 13px; color: var(--muted); text-align: right;
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.8;
}
@media (max-width: 640px) { .zona__meta { text-align: left; } }

/* ---------- statement ---------- */

.statement {
  font-size: clamp(26px, 3.4vw, 46px);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.22;
  color: var(--muted);
  max-width: 1080px;
  margin-bottom: 40px;
}
.statement em { font-style: normal; color: var(--amber); }
.statement .w { transition: color 0.3s ease; }

/* ---------- cards genéricos ---------- */

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
}

/* variações tonais com a paleta da marca */
.card--teal {
  background: linear-gradient(175deg, #05333a 0%, #032229 100%);
  border-color: rgba(15, 181, 186, 0.16);
}
.card--terra {
  background: linear-gradient(165deg, #3a1608 0%, #260d04 100%);
  border-color: rgba(240, 118, 1, 0.16);
}

/* grão sutil sobre fundos chapados */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background-image: var(--noise);
  opacity: 0.34; mix-blend-mode: overlay;
}
.grain--soft::after { opacity: 0.22; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-2--stretch { align-items: stretch; }

/* ---------- fitinha do bonfim ---------- */

.fitinha {
  position: relative; z-index: 2;
  margin: clamp(16px, 3vw, 48px) 0 clamp(-260px, -18vw, -120px);
  pointer-events: none;
  /* clip só no eixo X: a rotação precisa vazar na vertical */
  overflow-x: clip;
}
.fitinha__svg {
  display: block;
  width: 116vw; margin-left: -8vw; height: auto;
  transform: translateY(4.5vw) rotate(-4deg);
}
.fitinha__faixa {
  stroke: #ffffff; stroke-width: 54; fill: none;
}
.fitinha__txt {
  fill: var(--ink);
  font-family: var(--font); font-size: 21px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  dominant-baseline: middle;
}
/* no desktop sobrava um vazio grande entre a linha do divisor e a fita (134px em
   1440). A margem negativa sobe a fita E tudo o que vem depois na mesma medida,
   entao a sobreposicao da fita com a banda da programacao nao muda. */
@media (min-width: 901px) {
  .fitinha { margin-top: clamp(-52px, -2vw, -12px); }
}

/* celular: a fita cresce (o traço e o texto escalam junto com o SVG) */
@media (max-width: 640px) {
  .fitinha__svg {
    width: 250vw; margin-left: -76vw;
    transform: translateY(9vw) rotate(-4deg);
  }
}

/* ---------- zona clara: seções em bege da marca ---------- */

.zone-light {
  --txt: var(--ink);
  --muted: #55606c;
  --card: #fdf1e2;
  --card-2: #f3e0ca;
  --line: rgba(4, 25, 46, 0.14);
  background: var(--cream);
  color: var(--ink);
  margin: clamp(72px, 10vw, 140px) 12px 0;
  border-radius: var(--r-lg);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.zone-light .sec:first-child { padding-top: clamp(56px, 7vw, 96px); }
.zone-light.grain::after { mix-blend-mode: multiply; opacity: 0.16; }
.zone-light .card { border-color: rgba(4, 25, 46, 0.10); }
.zone-light .label { color: var(--terra); }
.zone-light .stats__num { color: var(--ink); }
.zone-light .grid-2 .why:nth-child(1) h3::before { color: #7B7B13; }
.zone-light .quote__avatar,
.zone-light .founder__avatar { background: var(--ink); color: var(--cream); }
.zone-light ::selection { background: var(--ink); color: var(--cream); }

/* ---------- programação (grade de "projetos") ---------- */

.works {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 24px;
}
.work {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
  padding: 14px 14px 24px;
}
.work--w60 { grid-column: span 7; }
.work--w40 { grid-column: span 5; }
.work--full { grid-column: span 12; }
.work--w33 { grid-column: span 4; }

.work__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: 20px 10px 10px; flex-wrap: wrap;
}
.work__head h3 {
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em;
}
.tags { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; }
.tags li {
  font-size: 12px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  white-space: nowrap;
}

.work__pic {
  border-radius: 10px; overflow: hidden; background: var(--card-2);
}
.work__pic img {
  width: 100%; height: clamp(240px, 26vw, 400px); object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.work--full .work__pic img { height: clamp(280px, 36vw, 520px); }
.work:hover .work__pic img { transform: scale(1.04); }
.work__pic--pad { background: var(--card-2); }
.work__pic--pad img { object-position: 50% 30%; }

.work__txt {
  margin: 0 10px; font-size: 15px; color: var(--muted); max-width: 560px;
}
.work__txt a { color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--line); }
.work__txt a:hover { border-color: var(--txt); }

/* ---------- congresso (etapas) ---------- */

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
}

/* trilhas: separacao explicita entre festival (aberto) e congresso (ingresso) */
.trilha { margin-top: clamp(36px, 5vw, 56px); }
.trilha__head {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.trilha__badge {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink);
  background: var(--green); padding: 6px 14px; border-radius: 999px;
}
.trilha--cong .trilha__badge { background: var(--amber); }
.trilha__info { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
@media (min-width: 901px) {
  .trilha__badge { font-size: 13px; padding: 7px 16px; }
  .trilha__info { font-size: clamp(15px, 1.2vw, 18px); }
}
.trilha__cta { margin-left: auto; }
.trilha .steps { margin-top: 24px; }
.trilha--fest .step__num { color: var(--green); }

/* chips de trilha nos cartoes da programacao e nos planos */
.tags .tag-fest { color: var(--green); border-color: rgba(15, 181, 186, 0.45); font-weight: 600; }
.tags .tag-cong { color: var(--amber); border-color: rgba(240, 172, 38, 0.5); font-weight: 600; }
.plan:not(.plan--cream) .plan__tag { color: var(--green); }
.step {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md);
  padding: 26px 26px 30px;
}
.step__num { font-size: 13px; font-weight: 600; color: var(--amber); margin-bottom: 40px; }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- marquee ---------- */

.marquee-sec { padding-top: clamp(72px, 10vw, 140px); overflow: hidden; }
.marquee-label {
  text-align: center; font-size: clamp(15px, 1.5vw, 21px); color: var(--muted);
  margin-bottom: 32px; padding-inline: var(--pad);
}
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__track {
  display: flex; flex-shrink: 0; min-width: 100%;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  padding-right: 16px; color: var(--txt);
}
.marquee__track i {
  font-style: normal; color: var(--amber); font-size: 0.55em;
  vertical-align: middle; padding-inline: 14px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- feature (festa de rua) ---------- */

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  align-items: center;
}
.feature__title {
  font-size: clamp(26px, 3vw, 38px);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.15; margin-bottom: 12px;
}
.feature__sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.feature__body { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.feature__body a { color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--line); }
.feature__body a:hover { border-color: var(--txt); }
.feature__body .strong { color: var(--txt); font-weight: 500; }
.feature__pic { border-radius: var(--r-md); overflow: hidden; }
.feature__pic img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li {
  font-size: 14px; color: var(--txt); padding-left: 24px; position: relative;
}
.ticks li::before {
  content: "✦"; position: absolute; left: 0; color: var(--duo-hi); font-size: 12px;
  top: 3px;
}

/* ---------- por que salvador ---------- */

.why { padding: clamp(28px, 3.5vw, 44px); }
.why h3 {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.025em;
  margin-bottom: 60px;
}
.why h3::before {
  content: "✦"; display: block; font-size: 14px; margin-bottom: 14px;
}
.grid-2 .why:nth-child(1) h3::before { color: var(--amber); }
.grid-2 .why:nth-child(2) h3::before { color: var(--green); }
.grid-2 .why:nth-child(3) h3::before { color: var(--duo-hi); }
.grid-2 .why:nth-child(4) h3::before { color: var(--terra); }
.why p { color: var(--muted); font-size: 15px; max-width: 480px; }

/* ---------- números ---------- */

.stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stats li { border-top: 1px solid var(--line); padding-top: 24px; }
.stats__num {
  font-size: clamp(44px, 6vw, 76px);
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em;
  line-height: 1; color: var(--cream);
}
.stats__num .odo { font-variant-numeric: tabular-nums; }
.stats__lbl { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 220px; }

.status {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.status__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
}
.status__badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(15, 181, 186, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 181, 186, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(15, 181, 186, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 181, 186, 0); }
}
@media (prefers-reduced-motion: reduce) { .status__badge i { animation: none; } }
.status__where { font-size: 14px; color: var(--muted); }

/* ---------- mapa ---------- */

.mapa {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
}
.tags--links li { padding: 0; }
.tags--links a {
  display: inline-block; padding: 7px 14px; text-decoration: none;
  color: var(--txt); font-size: 13px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.tags--links a:hover { background: var(--cream); color: var(--ink); }
.tags--links { margin-block: 8px 4px; }
.note { font-size: 13px; color: var(--muted); margin-block: 10px 22px; }
.mapa__map {
  border-radius: var(--r-md); overflow: hidden; min-height: 380px;
  border: 1px solid var(--line);
}
.mapa__map iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0; display: block;
  filter: invert(0.9) hue-rotate(180deg) grayscale(0.25) contrast(0.92);
}

/* ---------- origens: mapa pontilhado ---------- */

.origens {
  padding: clamp(32px, 4.5vw, 56px) clamp(20px, 3.5vw, 48px);
  text-align: center; border-radius: var(--r-lg);
}
.origens .status__badge { justify-content: center; }
.origens__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  margin: 14px 0 8px;
}
.origens__sub { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 auto; }
/* janela do mapa: o .origens__map inteiro e transformado pelo main.js
   (translate + scale); os pinos recebem --pz (1/escala) para manter o tamanho na tela.
   touch-action pan-y: a rolagem vertical da pagina continua com um dedo;
   arrasto horizontal e pinca sao do mapa. */
.origens__view {
  position: relative; overflow: hidden;
  margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1080px;
  aspect-ratio: 1160 / 412;
  border-radius: 12px;
  touch-action: pan-y; cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.origens__view.is-drag { cursor: grabbing; }
.origens__map {
  position: absolute; left: 0; top: 0; width: 100%;
  transform-origin: 0 0; will-change: transform;
  --pz: 1;   /* 1 / escala, para os pinos manterem o tamanho na tela */
}
/* zoom por botao ou duplo clique anima mapa e pinos juntos */
.origens__view.is-anim .origens__map,
.origens__view.is-anim .pin { transition: transform 0.22s ease; }
.origens__map > img {
  width: 100%; height: auto; display: block;
  pointer-events: none; -webkit-user-drag: none;
}
.origens__ctl {
  position: absolute; right: 10px; top: 10px; z-index: 7;
  display: flex; flex-direction: column; gap: 6px;
}
.origens__btn {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 25, 46, 0.86); color: var(--cream);
  font-family: var(--font); font-size: 20px; line-height: 1; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.origens__btn--reset { font-size: 17px; }
.origens__btn:hover { background: rgba(15, 181, 186, 0.4); }
.origens__btn:disabled { opacity: 0.35; cursor: default; }
.origens__btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.origens__cta {
  display: block; margin-bottom: 8px;
  color: var(--amber); font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.origens__drag { display: none; }
@media (max-width: 760px) {
  .origens__view { aspect-ratio: auto; height: 340px; margin-top: 24px; }
  .origens__drag { display: inline; }
}
.pin {
  position: absolute; width: 12px; height: 12px;
  transform: translate(-50%, -50%) scale(var(--pz, 1));
  background: var(--duo-hi);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  border: 0; padding: 0; cursor: pointer;
}
.pin:hover, .pin.is-open { transform: translate(-50%, -50%) scale(calc(1.5 * var(--pz, 1))); }
.pin:focus-visible {
  outline: 2px solid var(--cream); outline-offset: 3px;
}

/* popover do mapa: nome, cidade e instagram dos bares */
.mapa-pop {
  position: absolute; z-index: 6;
  transform: translate(-50%, calc(-100% - 16px));
  width: max-content; max-width: min(260px, 72vw);
  background: var(--card);
  border: 1px solid rgba(15, 181, 186, 0.35);
  border-radius: 12px;
  padding: 14px 16px 12px;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}
.mapa-pop::after {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg);
  background: var(--card);
  border-right: 1px solid rgba(15, 181, 186, 0.35);
  border-bottom: 1px solid rgba(15, 181, 186, 0.35);
}
.mapa-pop--baixo {
  transform: translate(-50%, 18px);
}
.mapa-pop--baixo::after {
  bottom: auto; top: -6px;
  border: 0; border-left: 1px solid rgba(15, 181, 186, 0.35);
  border-top: 1px solid rgba(15, 181, 186, 0.35);
}
.mapa-pop__cidade {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green); margin-bottom: 8px;
}
.mapa-pop ul { list-style: none; display: grid; gap: 6px; }
.mapa-pop li { font-size: 13px; color: var(--txt); line-height: 1.35; }
.mapa-pop li strong { font-weight: 600; }
.mapa-pop li a {
  color: var(--amber); text-decoration: none; font-size: 12px;
  white-space: nowrap;
}
.mapa-pop li a:hover { text-decoration: underline; }
.mapa-pop__x {
  position: absolute; top: 6px; right: 6px;
  background: none; border: 0; cursor: pointer;
  width: 24px; height: 24px; border-radius: 6px;
  color: var(--muted); font-size: 14px; line-height: 1;
}
.mapa-pop__x:hover { color: var(--txt); background: rgba(255, 255, 255, 0.08); }
.pin--home {
  width: 16px; height: 16px; background: var(--green);
  clip-path: none; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(15, 181, 186, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .pin--home { animation: none; } }
.origens__note {
  margin-top: clamp(24px, 3vw, 36px); font-size: 14px; color: var(--muted);
}
@media (max-width: 640px) {
  .pin { width: 8px; height: 8px; }
  .pin--home { width: 12px; height: 12px; }
}

/* ---------- convidados: as atrações do festival ----------
   Duas fileiras de chips rolando em sentidos opostos. São as atrações
   do festival, então vêm em seção própria e não como rodapé do mapa. */

.guests {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid; gap: clamp(14px, 1.8vw, 22px);
}
.guests__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.guests__track {
  display: flex; width: max-content;
  animation: marquee 64s linear infinite;
}
.guests__row--rev .guests__track { animation-duration: 78s; animation-direction: reverse; }
.guests__set {
  display: flex; align-items: stretch; gap: clamp(14px, 1.8vw, 22px);
  padding-right: clamp(14px, 1.8vw, 22px);
}
/* cada cartao: logotipo (ou o pino da marca, para quem ainda nao mandou arquivo),
   nome do bar, cidade e bandeira do pais */
.guests__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 1vw, 14px);
  min-height: clamp(158px, 13vw, 186px);
  width: clamp(196px, 17vw, 242px);
  padding: clamp(20px, 2vw, 26px) clamp(16px, 1.6vw, 22px);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  text-align: center;
}
.guests__logo {
  height: clamp(38px, 3.6vw, 50px); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.guests__logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.guests__logo i {
  font-style: normal; font-size: 26px; line-height: 1; color: var(--amber); opacity: 0.9;
}
.guests__name {
  font-size: clamp(16px, 1.35vw, 19px); font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25; color: var(--txt);
}
.guests__place {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.01em; color: var(--muted); line-height: 1.3;
}
.guests__flag {
  width: 21px; height: 14px; flex: none; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
@media (prefers-reduced-motion: reduce) {
  .guests__track { animation: none; }
}

/* ---------- rota dos guests ---------- */

.rota-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px;
}
.rota-card { padding: 26px; }
.rota-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.rota-card__origem { font-size: 14px; color: var(--muted); margin-top: 4px; }
.rota-card__meta { margin-top: 16px; font-size: 14px; display: grid; gap: 6px; }
.rota-card__meta a { color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--line); }
.rota-card__meta a:hover { border-color: var(--txt); }

/* ---------- citação + idealizadores ---------- */

.quote {
  max-width: 880px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center;
}
.quote__txt {
  font-style: italic;
  font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.025em;
  line-height: 1.25;
}
.quote__by {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 14px;
  text-align: left; font-size: 14px; color: var(--muted);
}
.quote__by strong { color: var(--txt); font-weight: 500; }
.quote__avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
  overflow: hidden;
}
.quote__avatar img, .founder__avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.zone-light .founder__avatar { background: var(--card-2); }

/* card de fundador: foto grande no topo, texto embaixo */
.founder {
  padding: 0 0 clamp(20px, 2vw, 26px);
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
}
.founder > div { padding-inline: clamp(20px, 2vw, 26px); }
.founder__avatar {
  width: 100%; overflow: hidden;
  background: var(--card-2);
}
.founder__avatar img { aspect-ratio: 760 / 814; }
.founder h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.founder p { font-size: 14px; color: var(--muted); }

/* ---------- ingressos ---------- */

.plan { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.plan__tag { font-size: 13px; font-weight: 600; color: var(--amber); margin-bottom: 28px; }
.plan__price {
  font-size: clamp(36px, 4vw, 52px);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1;
}
.plan__price span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan__desc { margin-block: 16px 28px; font-size: 15px; color: var(--muted); }
.plan__list {
  list-style: none; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid; gap: 12px;
}
.plan__list li { font-size: 14px; padding-left: 24px; position: relative; }
.plan__list li::before {
  content: "✦"; position: absolute; left: 0; top: 3px; font-size: 12px; color: var(--duo-hi);
}

.plan--cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.plan--cream .plan__tag { color: var(--terra); }
.plan--cream .plan__price span { color: rgba(4, 25, 46, 0.65); }
.plan--cream .plan__desc { color: rgba(4, 25, 46, 0.78); }
.plan--cream .plan__list { border-top-color: rgba(4, 25, 46, 0.15); }
.plan--cream .plan__list li::before { color: #BA3F18; }

/* ---------- faq ---------- */

.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-md); padding: 0;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 16px; font-weight: 500;
  padding: 22px 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  flex-shrink: 0; width: 18px; height: 18px; position: relative; font-style: normal;
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; background: var(--muted); inset: auto;
  transition: transform 0.25s ease;
}
.faq__item summary i::before { width: 18px; height: 1.6px; left: 0; top: 8px; }
.faq__item summary i::after { width: 1.6px; height: 18px; left: 8px; top: 0; }
.faq__item[open] summary i::after { transform: rotate(90deg); }
.faq__item p {
  padding: 0 24px 24px; font-size: 15px; color: var(--muted); max-width: 700px;
}

/* ---------- cta + formulário ---------- */

.cta { text-align: center; }
.cta__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.1;
}
.cta__txt {
  color: var(--muted); max-width: 520px; margin: 20px auto 44px; font-size: 16px;
}

.form {
  max-width: 560px; margin: 0 auto; display: grid; gap: 16px; text-align: left;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--card); color: var(--txt);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(15, 181, 186, 0.65);
}
.field textarea { min-height: 132px; line-height: 1.55; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a2a2a2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field.is-err input, .field.is-err textarea { border-color: #e0503a; }
.hp { position: absolute; left: -9999px; }
.form .btn { margin-top: 8px; }
.form__msg { min-height: 24px; font-size: 14px; color: var(--green); text-align: center; }
.form__msg.is-err { color: #e0503a; }

/* ---------- fundo animado (WebGL) da seção de inscrição ---------- */

.shaderbg {
  position: relative; isolation: isolate;
  margin: clamp(72px, 10vw, 140px) 12px 0;
  padding-block: clamp(64px, 8vw, 110px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* fallback: sem WebGL fica este degrade, no mesmo clima do shader */
  background:
    radial-gradient(80% 90% at 30% 45%, rgba(69, 192, 229, 0.55) 0%, rgba(69, 192, 229, 0) 60%),
    linear-gradient(100deg, #a9d3dd 0%, #e7ddc8 55%, #eeb178 100%);
}
.shaderbg__canvas {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1.2s ease;
}
.shaderbg__canvas.is-on { opacity: 1; }

/* o gradiente e claro: a secao inverte para texto marinho, como as zonas claras */
.shaderbg .label { color: var(--terra); }
.shaderbg .cta__title { color: var(--ink); }
.shaderbg .cta__txt { color: rgba(4, 25, 46, 0.78); }
.shaderbg .field label { color: rgba(4, 25, 46, 0.82); }
.shaderbg .field input, .shaderbg .field select, .shaderbg .field textarea {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(4, 25, 46, 0.22);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.shaderbg .field input::placeholder,
.shaderbg .field textarea::placeholder { color: rgba(4, 25, 46, 0.45); }
.shaderbg .field input:focus, .shaderbg .field select:focus, .shaderbg .field textarea:focus {
  border-color: rgba(4, 116, 122, 0.75);
}
.shaderbg .btn--cream { background: var(--ink); color: var(--cream); }
.shaderbg .btn--cream:hover { background: #02101f; }
.shaderbg .form__msg { color: #0a6f73; }
.shaderbg .form__msg.is-err { color: #a33012; }
.shaderbg ::selection { background: var(--ink); color: var(--cream); }

/* a mesma secao clara animada tambem veste o "Como funciona" */
.shaderbg .sec__title { color: var(--ink); }
.shaderbg .sec__lede { color: rgba(4, 25, 46, 0.78); }
.shaderbg .sec__lede strong { color: var(--ink); }
.shaderbg .trilha__head { border-bottom-color: rgba(4, 25, 46, 0.18); }
.shaderbg .trilha__info { color: rgba(4, 25, 46, 0.72); }
.shaderbg .step {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(4, 25, 46, 0.12);
}
.shaderbg .step h3 { color: var(--ink); }
.shaderbg .step p { color: rgba(4, 25, 46, 0.74); }
.shaderbg .trilha--fest .step__num { color: #04747a; }
.shaderbg .trilha--cong .step__num { color: #a36c05; }

/* ---------- rodapé ---------- */

.ft {
  border-top: 1px solid var(--line);
  margin-top: clamp(72px, 10vw, 140px);
  padding-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.ft__top {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.ft__brand img { width: 72px; margin-bottom: 20px; }
.ft__brand p { color: var(--muted); font-size: 15px; max-width: 260px; }

.ft__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.ft__cols h3 {
  font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 18px;
}
.ft__cols a, .ft__cols p {
  display: block; font-size: 14px; color: var(--txt);
  text-decoration: none; margin-bottom: 12px;
}
.ft__cols a:hover { color: var(--cream-dim); }
.ft__cols p { color: rgba(255, 255, 255, 0.7); }

.ft__word {
  font-size: clamp(24px, 7.4vw, 108px);
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1;
  color: var(--cream); text-align: center; white-space: nowrap;
  max-width: 100%; overflow: hidden;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.ft__bar {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.ft__by {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--muted);
}
.ft__by img { height: 18px; width: auto; opacity: 0.75; transition: opacity 0.2s ease; }
.ft__by:hover img { opacity: 1; }

/* ---------- responsivo ---------- */

@media (max-width: 1024px) {
  .work--w60, .work--w40 { grid-column: span 12; }
  .work--w33 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rota-grid { grid-template-columns: repeat(2, 1fr); }
  .sec__head--split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(10, 10, 10, 0.96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px; padding: 12px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-wrap { position: fixed; }
  .nav-pill { position: relative; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-links__cta {
    display: block; background: var(--cream); color: var(--ink) !important;
    text-align: center; margin-top: 6px;
  }

  .feature, .mapa { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ft__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .work--w33 { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .rota-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .hero__inner { padding: 104px 20px 28px; }
  .hero__brand img { width: clamp(150px, 22vh, 190px); }
  .hero__desc { display: none; }
  .hero__date { font-size: clamp(28px, 8.6vw, 42px); }
  .hero__count { margin-top: 10px; gap: 6px; }
  .hero__count-cell { min-width: 64px; padding: 0 4px; }
  .hero__count-num { font-size: clamp(26px, 7.4vw, 32px); }
  .hero__count-cell + .hero__count-cell::before { height: 22px; }
  .hero__count-lbl { font-size: 11px; }
  .lang { gap: 2px; }
  .lang__btn { padding: 3px; }
  .lang__btn svg { width: 20px; height: 13px; }
  .hero__cta { flex-direction: column; align-self: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: none; }
  .nav-logo img { display: none; }
  .nav-logo__txt { display: none; }
  .nav-logo__brand { display: block; }
}
