/* ==========================================================================
   AURA · Sapucaí 2027 — O Jardim das Delícias de Carnaval
   Identidade oficial (material do cliente, set/2026):
   - Logo: wordmark vetorial (assets/brand/logo-aura.svg)
   - Tipografia: Luminary Serif (títulos e nomes) + Blauer Nue (rótulos e texto)
   - Paleta: off-white, preto e seis cores, cada uma com seu gradiente oficial
   - Ilustrações e animações oficiais em assets/flora e assets/anim
   ========================================================================== */

@font-face { font-family: "Luminary Serif"; src: url("../assets/fonts/luminary-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Luminary Serif"; src: url("../assets/fonts/luminary-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Luminary Serif"; src: url("../assets/fonts/luminary-serif-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Luminary Serif"; src: url("../assets/fonts/luminary-serif-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../assets/fonts/blauer-nue-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  /* Paleta oficial */
  --preto: #000000;
  --off-white: #f1eee4;
  --azul: #2186d3;
  --salmao: #ff9671;
  --oliva: #a59b00;
  --vermelho: #c81e19;
  --verde: #56a82e;
  --roxo: #611972;

  --ground: var(--preto);
  --ground-2: #0b0b0a;
  --ink: var(--off-white);
  --ink-2: rgba(241, 238, 228, 0.74);
  --ink-3: rgba(241, 238, 228, 0.5);
  --line: rgba(241, 238, 228, 0.16);

  /* Cor de destaque da seção. --accent é a cor da paleta; --accent-ink é o tom
     usado em texto sobre preto (no roxo, o tom claro do gradiente oficial). */
  --accent: var(--salmao);
  --accent-ink: var(--salmao);
  --accent-soft: rgba(255, 150, 113, 0.2);

  --serif: "Luminary Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Blauer Nue", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Halo escuro: garante leitura do texto quando ele cruza as flores */
  /* sombras de texto: poucas camadas e raio curto (raio grande pesa para desenhar) */
  --halo: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 12px rgba(0, 0, 0, 0.95);
  --halo-strong: 0 1px 2px rgba(0, 0, 0, 0.95), 0 3px 16px rgba(0, 0, 0, 0.95), 0 0 34px rgba(0, 0, 0, 0.9);
}

[data-cor="azul"]     { --accent: var(--azul);     --accent-ink: #2f97e8; --accent-soft: rgba(33, 134, 211, 0.22); }
[data-cor="salmao"]   { --accent: var(--salmao);   --accent-ink: var(--salmao); --accent-soft: rgba(255, 150, 113, 0.2); }
[data-cor="oliva"]    { --accent: var(--oliva);    --accent-ink: #b9ae00; --accent-soft: rgba(165, 155, 0, 0.24); }
[data-cor="vermelho"] { --accent: var(--vermelho); --accent-ink: #e0322c; --accent-soft: rgba(200, 30, 25, 0.24); }
[data-cor="verde"]    { --accent: var(--verde);    --accent-ink: #62b937; --accent-soft: rgba(86, 168, 46, 0.22); }
[data-cor="roxo"]     { --accent: var(--roxo);     --accent-ink: #b04a99; --accent-soft: rgba(97, 25, 114, 0.34); }

*,
*::before,
*::after { box-sizing: border-box; }

/* overflow-x no html: no celular, flores que passam da borda não podem alargar a página */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow--accent { color: var(--ink); }
.eyebrow--accent::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--accent); vertical-align: 1px; }

.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, .day__date, .card__name, .support__name, .dayrow__date, .dayrow__acts, .menu a, .faq summary, .field input { word-spacing: -0.2em; }
.day__weekday, .section h2 .sans { word-spacing: normal; }
.italic { font-style: italic; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }

/* ---------- Botão ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease-out), background 0.3s;
  white-space: nowrap;
}
.btn strong { font-weight: 800; letter-spacing: 0; text-transform: none; font-size: 15px; font-style: italic; }
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: rgba(241, 238, 228, 0.06); }
.btn--accent { background: var(--accent); color: var(--preto); }
.btn--accent:hover { filter: brightness(1.08); }
.btn--sm { padding: 12px 18px; font-size: 11px; }
/* Comprar este dia: maior, com halo na cor do dia e seta que avança no hover */
.btn--buy {
  padding: 20px 30px; font-size: 13px; gap: 14px;
  box-shadow: 0 0 0 1px rgba(241, 238, 228, 0.35), 0 10px 34px -6px var(--accent), 0 0 46px -10px var(--accent);
}
.btn--buy .btn__arrow { font-size: 18px; line-height: 1; letter-spacing: 0; transition: transform 0.4s var(--ease-out); }
.btn--buy:hover .btn__arrow { transform: translateX(5px); }
.btn--buy:hover { box-shadow: 0 0 0 1px #fff, 0 14px 40px -6px var(--accent), 0 0 60px -8px var(--accent); }

/* ==========================================================================
   Navegação
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.93);
  border-bottom: 1px solid rgba(241, 238, 228, 0.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 22px; width: auto; display: block; }
.nav__links { display: none; gap: 30px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: none; }
.nav__burger {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-right: -10px;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  position: relative; transition: transform 0.4s var(--ease-out), background 0.3s;
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
.nav__burger span::before { transform: translateY(-7px); }
.nav__burger span::after { transform: translateY(7px); }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: rotate(45deg); }
body.menu-open .nav__burger span::after { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.96);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: 10px; }
.menu a {
  font-family: var(--serif);
  font-size: clamp(32px, 7.4vw, 54px);
  line-height: 1.12;
  transition: color 0.3s;
}
.menu li:nth-child(even) a { font-style: italic; }
.menu a:hover { color: inherit; }
.menu li a.btn { margin-top: 22px; font-family: var(--sans); font-size: 12px; font-style: normal; line-height: 1; letter-spacing: 0.16em; }
.menu__foot { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; }

@media (min-width: 900px) {
  .nav__links { display: flex; gap: clamp(16px, 2.2vw, 30px); }
  .nav__cta { display: inline-flex; }
  .nav__burger, .menu { display: none; }
  .nav__logo img { height: 26px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .nav__links a { font-size: 10px; letter-spacing: 0.14em; }
}

/* ==========================================================================
   Jardim fixo (flores que nascem com o scroll)
   ========================================================================== */
/* ==========================================================================
   Menu de dias (aparece sob o header enquanto se percorre as atrações)
   ========================================================================== */
.daybar {
  position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 45;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  opacity: 0; visibility: hidden;
  transition: transform 0.5s var(--ease-out), opacity 0.4s, visibility 0.4s;
}
.daybar.is-on { transform: none; opacity: 1; visibility: visible; }
body.menu-open .daybar { visibility: hidden; opacity: 0; }
.daybar { --bar-h: 34px; }
.daybar__inner { display: flex; align-items: center; gap: 14px; height: var(--bar-h); }
.daybar__label { display: none; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
/* Mobile: as oito datas cabem em uma linha, sem rolagem e sem nome do dia */
.daybar__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex: 1; min-width: 0;
  justify-content: space-between; gap: 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
}
.daybar__list::-webkit-scrollbar { display: none; }
.daybar__list a {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 5px 8px; border-radius: 8px;
  white-space: nowrap;
  color: var(--ink-2);
  transition: background 0.35s, color 0.35s;
}
.daybar__list b { font-family: var(--sans); font-weight: 500; font-size: 10.5px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: color 0.35s; }
.daybar__list span { display: none; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.daybar__list a:hover b { color: var(--ink); }
.daybar__list a.is-active { background: var(--ink); color: var(--preto); text-shadow: none; }
.daybar__list a.is-active b { color: var(--preto); }
/* marca com a cor oficial do dia */
.daybar__list a::before {
  content: ""; border-radius: 50%; background: var(--accent);
  /* mobile: o ponto fica sob a data, sem ocupar largura */
  position: absolute; left: 50%; bottom: 2px; translate: -50% 0; width: 4px; height: 4px;
}
.daybar__buy { display: none; }
/* âncoras param abaixo do header + menu de dias */
.day { scroll-margin-top: calc(var(--nav-h) + 40px); }
@media (min-width: 900px) {
  .daybar { --bar-h: 38px; }
  .daybar__label { display: block; }
  .daybar__list { justify-content: center; gap: 4px; overflow: visible; }
  .daybar__list a { padding: 5px 11px; gap: 6px; border-radius: 999px; }
  .daybar__list a::before { position: static; translate: none; width: 5px; height: 5px; flex: none; }
  .daybar__list b { font-size: 11px; letter-spacing: 0.08em; }
  .daybar__buy {
    display: inline-flex; white-space: nowrap;
    font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
    border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.3s;
  }
  .daybar__buy:hover { border-color: var(--ink); }
}
@media (min-width: 1180px) { .daybar__list span { display: inline; } }
@media (max-width: 1179px) { .daybar__label { display: none; } }

/* Aurora: gradiente oficial da cor do dia, fixo atrás do jardim. As seis
   pranchetas ficam empilhadas e a ativa aparece em fade. */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--preto); }
.aurora i {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.aurora i.is-on { opacity: 1; }

.garden {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.garden__item {
  position: absolute;
  width: var(--w);
  left: var(--x);
  top: var(--y);
  transform-origin: 50% 60%;
  will-change: transform, opacity;
  opacity: 0;
  transform: scale(0) rotate(var(--r, 0deg));
}
.garden__item.is-static { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
.garden__item > *, .day__flower > * { width: 100%; display: block; }
.is-flip > * { transform: scaleX(-1); }

/* Animações oficiais: vídeo com alfa (loop) e sprite (desabrochar por scroll) */
video.anim { background: transparent; aspect-ratio: 1; object-fit: contain; }
.sprite {
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%);
  background-position: 0 0;
}

main { position: relative; z-index: 1; text-shadow: var(--halo); }
.footer, .menu, .modal__panel { text-shadow: var(--halo); }
h1, h2, .day__date, .day__weekday, .dayrow__date, .manifesto h2, .buy__head h2, .page-hero h1 { text-shadow: var(--halo-strong); }
.btn, .pill, .steps li, .map, .field input { text-shadow: none; }

/* Sombra radial atrás dos blocos de título: escurece a flor logo atrás do
   texto sem apagar o jardim nas bordas */
.page-hero .wrap, .buy__head, .day__meta, .manifesto h2, .lineup-head { position: relative; isolation: isolate; }
.page-hero .wrap::before, .buy__head::before, .day__meta::before, .manifesto h2::before, .lineup-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -34% -22% -34% -24%;
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.2) 75%, transparent 100%);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-top: calc(var(--nav-h) + 10px);
  padding-bottom: 40px;
  overflow: hidden;
}
@media (max-height: 700px) { .hero__scroll { display: none; } }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 20px;
  text-align: center;
}
.hero__dates, .hero__tag {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.55;
  color: var(--ink);
  max-width: 260px;
}
.hero__dates span, .hero__tag span { display: block; white-space: nowrap; }
.hero__dates { order: 1; }
.hero__stage { order: 2; }
.hero__tag { order: 3; }

/* Palco quadrado que segura logo + flores da composição */
.hero__stage {
  position: relative;
  width: min(92vw, 560px);
  aspect-ratio: 1;
}
.hero__logo {
  position: absolute;
  left: 50%; top: 47%;
  width: 73%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
/* a sombra fica na própria imagem: assim ela é desenhada uma vez só, mesmo
   com a logo se movendo */
.hero__logo img { width: 100%; display: block; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.9)); }
.hero__logo-s { will-change: transform; }
.bloom {
  position: absolute;
  width: var(--w);
  left: var(--x);
  top: var(--y);
  z-index: var(--z, 2);
  transform-origin: 50% 60%;
  will-change: transform, opacity;
}
/* Cena B: camada atrás do conteúdo, só existe quando o JS monta a troca */
.hero__inner, .hero__scroll { position: relative; z-index: 1; }
.hero__b { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero.has-scene .hero__b { display: block; }
.bloom--b { left: 0; top: 0; opacity: 0; transform-origin: 50% 50%; }
.hero__glow {
  position: absolute; border-radius: 50%; opacity: 0; will-change: opacity;
  background: radial-gradient(closest-side, rgba(33, 134, 211, 0.34) 0%, rgba(33, 134, 211, 0.16) 42%, rgba(33, 134, 211, 0.05) 70%, transparent 100%);
}
.hero__when {
  position: absolute; margin: 0; opacity: 0; text-align: center;
  font-size: clamp(12px, 1.05vw, 15px); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.55;
  color: var(--ink); text-shadow: var(--halo);
}
.hero__when span { display: block; white-space: nowrap; }
/* Cópia da folhagem que passa por cima da logo: só o miolo de folhas */
.bloom--front { clip-path: ellipse(17% 12% at 55% 63%); pointer-events: none; }
.bloom__m > * { width: 100%; display: block; }
/* Indicador de scroll: sempre no fluxo do grid, abaixo da tagline (nunca sobrepõe) */
.hero__scroll {
  order: 4;
  margin-top: 18px;
  display: grid; justify-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll i {
  width: 1px; height: 46px; background: linear-gradient(var(--ink-2), transparent);
  animation: drip 2.2s infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(150px, 1fr) minmax(420px, 600px) minmax(150px, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
    text-align: left;
  }
  .hero__dates { order: 1; justify-self: end; text-align: right; }
  .hero__stage { order: 2; }
  .hero__tag { order: 3; justify-self: start; text-align: left; }
  .hero__scroll { grid-column: 1 / -1; justify-self: center; margin-top: 0; }
}

/* ==========================================================================
   Lineup geral: todos os nomes, romano e itálico alternados (arte do cliente)
   ========================================================================== */
.roster { position: relative; padding: clamp(36px, 6vw, 96px) 0 clamp(8px, 2vw, 28px); text-align: center; }
.roster__in { position: relative; isolation: isolate; width: min(1800px, 100% - var(--gutter) * 2); margin-inline: auto; }
.roster__in::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -16% -6%;
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.25) 82%, transparent 100%);
}
.roster__list { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
.roster__main { font-size: clamp(25px, 7vw, 44px); line-height: 1.22; }
.roster__sub { margin-top: clamp(18px, 2.4vw, 40px); font-size: clamp(14px, 3.9vw, 24px); line-height: 1.4; }
.roster__row { display: inline; }
.rn { white-space: nowrap; }
.rn--i { font-style: italic; }
.rd {
  /* a margem direita é menor porque o espaço entre os nomes vem logo depois */
  display: inline-block; width: 0.2em; height: 0.2em; margin: 0 0.08em 0 0.52em;
  border-radius: 50%; background: currentColor; vertical-align: 0.22em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}
/* fim de linha (marcado por js/app.js): some o ponto e a linha fecha ali */
.rn.is-end .rd { display: none; }
.rn.is-end::after { content: "\A"; white-space: pre; }
/* entrada: cada nome surge em sequência, subindo. As classes
   vêm de js/app.js; sem JS ou com movimento reduzido, a lista aparece pronta */
.rn__t { display: inline-block; }
.roster.is-anim .rn__t, .roster.is-anim .rd {
  opacity: 0; transform: translateY(0.6em);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.2s cubic-bezier(0.16, 0.8, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.roster.is-anim .rd { transform: scale(0); transition-delay: calc(var(--d, 0ms) + 260ms); }
.roster.is-anim.is-in .rn__t { opacity: 1; transform: none; }
.roster.is-anim.is-in .rd { opacity: 1; transform: none; }
.roster.is-anim.is-reset .rn__t, .roster.is-anim.is-reset .rd { transition: none; }
/* depois da entrada a lista fica estática: sem transição e sem camada própria */
.roster.is-done .rn__t, .roster.is-done .rd { transition: none; }
@media (min-width: 900px) {
  .roster__row { display: block; }
  .roster__row > .rn:last-child .rd { display: none; }
  .roster__main { font-size: clamp(36px, 4vw, 78px); line-height: 1.18; }
  .roster__sub { font-size: clamp(19px, 2.2vw, 44px); line-height: 1.34; }
}

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.manifesto h2 em { font-style: italic; color: inherit; }
.manifesto p { color: var(--ink-2); max-width: 46ch; font-size: 17px; line-height: 1.65; margin: 0; }
@media (min-width: 900px) {
  .manifesto__grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  }

/* ==========================================================================
   Manifesto: mapa oficial + texto (estrutura definida pelo cliente)
   ========================================================================== */
.manifesto { position: relative; overflow: clip; padding: clamp(70px, 9vw, 130px) 0; }
.manifesto__split { position: relative; z-index: 1; display: grid; gap: 36px; }
.manifesto__text { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; display: grid; gap: 18px; align-content: center; }
.manifesto__text h2 { max-width: 11ch; }
.manifesto__text p { max-width: 44ch; color: var(--ink); }
.manifesto__map { margin: 0; overflow: hidden; }
/* celular: texto primeiro; o mapa vem abaixo, ampliado na região do camarote */
.manifesto__map { order: 2; }
.manifesto__map img { display: block; height: auto; max-width: none; width: 160%; margin: -14% 0 0 -54%; }

/* flores esmaecidas ao fundo */
.manifesto__flora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mf { position: absolute; filter: brightness(0.42) saturate(0.75); opacity: 0.55; }
.mf--a { width: min(70vw, 640px); right: -24%; top: 3%; rotate: -8deg; }
.mf--b { width: min(46vw, 420px); left: -12%; bottom: -10%; rotate: 14deg; }
.mf--c { display: none; }

@media (min-width: 900px) {
  .manifesto__split { grid-template-columns: minmax(0, 50%) minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 56px); align-items: center; }
  /* o mapa sangra pela borda esquerda da tela, como na referência */
  .manifesto__map { overflow: visible; order: 0; }
  .manifesto__map img { width: 104%; margin: 0 0 0 -6%; }
  .manifesto__text { width: auto; margin: 0; padding-right: var(--gutter); }
  .mf--a { width: min(42vw, 720px); right: -6%; top: auto; bottom: -24%; }
  .mf--b { width: min(30vw, 480px); left: 18%; bottom: -30%; }
  .mf--c { display: block; width: min(22vw, 340px); left: 40%; top: -12%; rotate: 150deg; }
  /* a folha do topo surge aos poucos, sem corte reto contra o lineup acima */
  .manifesto__flora { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
}

/* ==========================================================================
   Lineup por dia
   ========================================================================== */
.lineup-head { padding: 40px 0 10px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; justify-content: space-between; }
.lineup-head h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; }
.dayindex { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.dayindex a {
  display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--ink-2); transition: all 0.3s;
  font-variant-numeric: tabular-nums;
}
.dayindex a:hover, .dayindex a.is-active { border-color: var(--ink); color: var(--ink); }

.day {
  position: relative;
  padding: clamp(70px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  overflow: clip;
}
.day__flower {
  position: absolute;
  z-index: 0;
  width: 44vw;
  top: -2%;
  right: -10%;
  pointer-events: none;
  transform-origin: 50% 60%;
}
/* Desktop: a ilustração do dia fica na coluna da data, abaixo do botão, onde
   aparece inteira (antes ficava escondida atrás das fotos) */
@media (min-width: 900px) {
  .day__flower {
    width: clamp(240px, 27vw, 420px);
    top: auto; bottom: 2%;
    right: auto;
    left: calc((100% - min(var(--max), 100% - var(--gutter) * 2)) / 2 - 3%);
  }
  .day--left .day__flower {
    left: auto;
    right: calc((100% - min(var(--max), 100% - var(--gutter) * 2)) / 2 - 3%);
  }
  .day { min-height: 760px; }
}
.day__inner { position: relative; z-index: 1; display: grid; gap: 40px; }
.day__inner > * { min-width: 0; }

.day__meta { display: grid; gap: 8px; align-content: start; }
.day__date {
  font-family: var(--serif);
  font-size: clamp(50px, 8.4vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.day__weekday {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.day__note { color: var(--ink-2); font-size: 14px; max-width: 32ch; margin-top: 10px; }
.day__buy { margin-top: 20px; }

.headliners {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 62vw);
  gap: 14px;
  /* rola só para o lado (o eixo vertical fica travado) */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.headliners::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--ground-2);
  border: 1px solid rgba(241, 238, 228, 0.08);
}
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(0.9); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 70%);
}
.card__name {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 33px);
  line-height: 1.02;
  text-wrap: balance;
}
.card__role {
  position: absolute; left: 18px; top: 16px; z-index: 2;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2);
}
.card:nth-child(even) .card__name { font-style: italic; }

.support { display: grid; gap: 18px; }
.support__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.support__row .eyebrow { flex-basis: 100%; }
/* After Frisa: respiro acima da etiqueta, separando da linha de atrações acima */
.support__row .eyebrow:has(.pill) { margin-top: clamp(14px, 1.6vw, 22px); }
/* cartão dentro do After Frisa: menor que os headliners, na linha toda */
.support__row .headliners--after { flex-basis: 100%; display: grid; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); gap: 12px; overflow: visible; margin: 4px 0 6px; padding: 0; }
.headliners--after .card__name { font-size: clamp(20px, 1.8vw, 26px); left: 14px; right: 14px; bottom: 12px; }
.support__name { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.12; }
.support__name:nth-of-type(even) { font-style: italic; }
.support__dot { color: inherit; font-family: var(--serif); font-size: 24px; line-height: 1; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--ink); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  vertical-align: middle;
}
.desfiles { display: grid; gap: 8px; }
.desfiles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); columns: 2; }
.desfiles ul { display: block; column-count: 2; column-gap: 24px; }
.desfiles li { break-inside: avoid; padding: 2px 0; }
.desfiles--single ul { column-count: 1; }

@media (min-width: 900px) {
  .day__inner { grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
  .day--left .day__inner { grid-template-columns: 1.25fr 0.75fr; }
  .day--left .day__meta { order: 2; text-align: right; justify-items: end; }
  .day--left .day__note { text-align: right; }
  .day--left .day__body { order: 1; }
  .headliners {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0; padding-inline: 0;
  }
  .day__body { display: grid; gap: 36px; }
}

/* ==========================================================================
   Vídeo fullscreen
   ========================================================================== */
.video {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.video video, .video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.7)); }
.video__ui {
  position: absolute; inset: 0; z-index: 2;
  display: grid; align-content: end; gap: 18px;
  padding: 0 var(--gutter) clamp(32px, 6vw, 72px);
}
.video__ui h2 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.02; max-width: 16ch; }
.video__ui h2 em { font-style: italic; color: inherit; }
.video__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Onde comprar (teaser) + Grade de dias (página ingressos)
   ========================================================================== */
.buy { padding: clamp(80px, 12vw, 160px) 0; }
.buy__head { display: grid; gap: 18px; margin-bottom: 40px; }
.buy__head h2 { font-family: var(--serif); font-size: clamp(36px, 5.8vw, 80px); line-height: 1; max-width: 13ch; }
.buy__head p { color: var(--ink-2); max-width: 50ch; margin: 0; }
.days { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dayrow {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  padding: 22px 20px;
  background: rgba(0, 0, 0, 0.78);
  transition: background 0.3s;
}
.dayrow:hover { background: rgba(0, 0, 0, 0.9); }
.dayrow__date { font-family: var(--serif); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.dayrow__wd { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.dayrow__acts { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); }
.dayrow__acts i { color: var(--ink-2); }
.dayrow__cta { display: flex; align-items: center; }
@media (min-width: 900px) {
  .dayrow { grid-template-columns: 150px 1fr 260px; align-items: center; padding: 26px 28px; }
  .dayrow__cta { justify-content: end; }
}
.soldout .dayrow__cta .btn { opacity: 0.4; pointer-events: none; }

/* ==========================================================================
   Páginas internas (ingressos, meeting point, estrutura)
   ========================================================================== */
.page-hero { padding: calc(var(--nav-h) + clamp(60px, 10vw, 140px)) 0 clamp(40px, 6vw, 80px); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(42px, 7.4vw, 100px); line-height: 0.98; letter-spacing: -0.005em; max-width: 13ch; }
.page-hero h1 em { font-style: italic; color: inherit; }
.page-hero p { color: var(--ink-2); max-width: 52ch; font-size: 17px; line-height: 1.65; margin: 20px 0 0; }
.page-hero .eyebrow { margin-bottom: 18px; display: block; }

/* Ativos do camarote: lista editorial com ícones de traço, romano e itálico alternados */
.perks { list-style: none; margin: clamp(48px, 7vw, 100px) 0 0; padding: 0; display: grid; border-bottom: 1px solid var(--line); }
/* align-content: quando a linha fica mais alta por causa do vizinho de duas
   linhas, o item fica no meio da faixa, e não colado no fio de cima */
.perks li { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; align-items: center; align-content: center; padding: 16px 0; border-top: 1px solid var(--line); }
.perks__ic { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.perks__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.perks p { margin: 0; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 36px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.perks li:nth-child(even) p { font-style: italic; }
@media (min-width: 900px) {
  .perks { grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 110px); }
  .perks li { grid-template-columns: 48px 1fr; gap: 0 22px; padding: 20px 0; }
  .perks__ic { width: 48px; height: 48px; }
  .perks__ic svg { width: 23px; height: 23px; }
}

/* foto redonda (recortes enviados pelo cliente) */
.roundel { margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: rgba(241, 238, 228, 0.06); }
.roundel img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Meeting Point */
.mp-hero__in { display: grid; gap: 36px; align-items: center; }
.page-hero .mp-hero__lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.18; color: var(--ink); max-width: 22ch; margin-top: 22px; }
.mp-hero__photo { width: min(78vw, 400px); justify-self: center; }
.mp-steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.mp-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.mp-steps span { font-family: var(--serif); font-size: 46px; line-height: 1; }
.mp-steps p { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.mp-soon h2 { margin-bottom: 14px; }
.mp-soon p { margin: 0; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 900px) {
  .mp-hero__in { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
  .mp-hero__photo { width: clamp(300px, 30vw, 440px); }
  .mp-steps { grid-template-columns: repeat(4, 1fr); gap: 0 36px; border-top: 0; }
  .mp-steps li { grid-template-columns: 1fr; gap: 18px; align-content: start; padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .mp-steps span { font-size: 64px; }
}

/* Estrutura: vídeo, mapa e espaços do camarote com fotos (js/estrutura-page.js) */
.st-num { display: block; font-size: 11px; letter-spacing: 0.18em; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.st-space h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.04; margin: 0 0 10px; }
.st-space p, .st-loc__text p { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.st-space:nth-child(even) h3 { font-style: italic; }
.st-row__more { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.3s; }
.st-row__more:hover { border-color: var(--ink); }

/* molduras: vídeo 16:9, fotos 4:3 (espaço em destaque 21:9 no desktop) */
.st-frame, .st-media { position: relative; display: block; width: 100%; overflow: hidden; border: 1px solid var(--line); background: #050505; }
.st-frame { aspect-ratio: 16 / 9; padding: 0; color: inherit; }
.st-media { aspect-ratio: 4 / 3; }
.st-frame video, .st-frame iframe, .st-frame > img:not(.st-art) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
/* sem foto/vídeo: ilustração oficial sobre a cor da página */
.st-soonbox { display: grid; place-items: center; background: radial-gradient(ellipse 70% 70% at 50% 50%, var(--accent-soft) 0%, rgba(0, 0, 0, 0) 100%), rgba(0, 0, 0, 0.6); }
.st-art { display: block; width: auto; height: auto; max-width: 44%; max-height: 60%; object-fit: contain; }
.st-frame .st-art { max-height: 50%; }
.st-soon { position: absolute; left: 16px; bottom: 14px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.st-video h2 { margin-bottom: clamp(20px, 3vw, 36px); }
.st-play { cursor: pointer; }
.st-play__icon { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--ink); transition: transform 0.3s var(--ease-out); }
.st-play__icon::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--preto); }
.st-play:hover .st-play__icon { transform: scale(1.06); }

/* onde fica: mapa oficial sangrando pela borda, como no manifesto da home */
.st-loc { overflow: clip; }
.st-loc__in { display: grid; gap: 30px; }
.st-loc__map { margin: 0; overflow: hidden; order: 2; }
.st-loc__map img { display: block; height: auto; max-width: none; width: 160%; margin: -14% 0 0 -54%; }
.st-loc__text { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.st-loc__text h2 { margin-bottom: 16px; }

/* espaços: grade de ambientes, o primeiro em destaque */
.st-spaces { display: grid; gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px); }
.st-space { display: grid; gap: 20px; align-content: start; }

/* carrossel de fotos (arrastar no celular, setas no desktop) */
.st-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.st-track::-webkit-scrollbar { display: none; }
.st-slide { flex: 0 0 100%; height: 100%; padding: 0; border: 0; background: none; scroll-snap-align: start; cursor: zoom-in; }
.st-slide img, .st-slide video.anim { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.st-slide--video { cursor: default; }
.st-nav { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.78); }
.st-nav__b { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; }
.st-nav__b:hover { background: rgba(241, 238, 228, 0.12); }
.st-nav__c { min-width: 44px; text-align: center; font-size: 11px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* galeria geral */
.st-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st-shot { aspect-ratio: 1; border: 1px solid var(--line); overflow: hidden; }

.st-end h2 { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.st-end__cta, .dream__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.st-end__cta { margin-top: 26px; }
@media (min-width: 900px) {
  .st-loc__in { grid-template-columns: minmax(0, 50%) minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 56px); align-items: center; }
  .st-loc__map { overflow: visible; order: 0; }
  .st-loc__map img { width: 104%; margin: 0 0 0 -6%; }
  .st-loc__text { width: auto; margin: 0; padding-right: var(--gutter); }
  .st-spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-space--wide { grid-column: 1 / -1; }
  .st-space--wide .st-media { aspect-ratio: 2 / 1; }
  .st-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

/* foto ampliada */
.lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(0, 0, 0, 0.95); }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb__x, .lb__b { position: absolute; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: var(--ink); font-size: 20px; cursor: pointer; }
.lb__x { top: 18px; right: 18px; font-size: 26px; }
.lb__b { top: 50%; margin-top: -24px; }
.lb__b--p { left: 18px; }
.lb__b--n { right: 18px; }
.lb--single .lb__b { display: none; }
.lb__c { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.16em; color: var(--ink-2); }

/* Carrossel de fotos do camarote (home): faixa que corre sozinha, para ao
   passar o mouse. Só transform em um elemento; imagens pequenas (720 px). */
.strip { position: relative; padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 90px); overflow: clip; }
.strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 44px); }
.strip__head h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.02; }
.strip__viewport { width: 100%; overflow: hidden; }
.strip__track { display: flex; gap: 12px; width: max-content; animation: strip-run 70s linear infinite; }
/* pausa: por :hover e também pela classe que o script liga (mais confiável
   com o cursor parado sobre a faixa em movimento) */
.strip__viewport:hover .strip__track, .strip__track.is-paused { animation-play-state: paused; }
.strip__item { position: relative; flex: 0 0 auto; display: block; width: clamp(150px, 20vw, 260px); aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--line); background: #050505; }
.strip__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
/* as outras fotos escurecem um pouco; a que está sob o mouse fica clara e maior */
.strip__item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.28); transition: opacity 0.4s; pointer-events: none; }
.strip__item:hover img, .strip__item:focus-visible img { transform: scale(1.08); }
.strip__item:hover::after, .strip__item:focus-visible::after { opacity: 0; }
.strip__viewport:not(:hover) .strip__item::after { opacity: 0; }
@keyframes strip-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  .strip__viewport { overflow-x: auto; scrollbar-width: none; }
}

/* Experiência dos sonhos (home) */
.dream { position: relative; padding: clamp(70px, 10vw, 150px) 0; }
.dream__in { display: grid; gap: 40px; align-items: center; }
.dream__text { display: grid; gap: 20px; position: relative; isolation: isolate; }
.dream__text::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -30% -20%;
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.18) 80%, transparent 100%);
}
.dream h2 { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.01em; }
.dream__text p { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.65; color: var(--ink); }
.dream__photo { width: min(78vw, 400px); justify-self: center; }
.dream__cta { margin-top: clamp(36px, 5vw, 64px); justify-content: center; }
@media (min-width: 900px) {
  .dream__in { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(48px, 7vw, 120px); }
  .dream__photo { width: clamp(320px, 34vw, 500px); }
}

.section { padding: clamp(50px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.section h2 { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 48px); line-height: 1.02; margin-bottom: 28px; }
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.prose { color: var(--ink-2); max-width: 60ch; }
.prose p { margin: 0 0 14px; line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 500; }

.info-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list li span:first-child { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.info-list li span:last-child { color: var(--ink); }

.map {
  position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(circle at 62% 48%, var(--accent-soft), transparent 26%),
    repeating-linear-gradient(0deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 44px),
    var(--ground-2);
}
.map__road { position: absolute; background: rgba(241, 238, 228, 0.12); }
.map__pin {
  position: absolute; left: 62%; top: 48%; transform: translate(-50%, -100%);
  display: grid; justify-items: center; gap: 6px;
}
.map__pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); }
.map__pin span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; background: var(--ground); padding: 6px 10px; border: 1px solid var(--line); }
.map__label { position: absolute; left: 14px; bottom: 12px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { counter-increment: step; background: rgba(0, 0, 0, 0.78); padding: 26px 22px; display: grid; gap: 8px; grid-template-columns: 56px 1fr; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 34px; line-height: 1; color: inherit; grid-row: span 2;
}
.steps h3 { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: inherit; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 60ch; line-height: 1.6; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px dashed var(--accent); color: var(--ink-2); font-size: 13px; max-width: 60ch;
}
.notice b { color: inherit; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }

/* ==========================================================================
   Modal de interesse (nome, e-mail e telefone antes da Ticketmaster)
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  transition: opacity 0.3s;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
html.modal-open, body.modal-open { overflow: hidden; }
.modal__panel {
  position: relative;
  width: min(100%, 480px);
  /* cabe sempre na tela; se não couber (celular pequeno, teclado aberto), só o
     formulário rola: o botão de fechar e a flor ficam parados */
  display: flex; flex-direction: column;
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  background: var(--ground);
  border: 1px solid var(--line);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
  outline: none;
}
.modal__panel form {
  position: relative; z-index: 1;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 5vw, 44px);
}
.modal__flower {
  position: absolute; z-index: 0; right: -14%; top: -18%; width: 46%;
  pointer-events: none; opacity: 0.9;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}
.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--ink-2); font-size: 24px; line-height: 1;
  border-radius: 50%; background: rgba(0, 0, 0, 0.45);
}
.modal__close:hover { color: var(--ink); }
.modal__day { display: inline-block; margin-bottom: 14px; }
.modal h2 { font-family: var(--serif); font-size: clamp(27px, 4.4vw, 36px); line-height: 1.03; max-width: 13ch; position: relative; }
.modal h2 em { font-style: italic; color: inherit; }
.modal p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 12px 0 22px; max-width: 34ch; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.field input {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink);
  /* 16 px ou mais: o iPhone não dá zoom ao tocar no campo */
  font-family: var(--serif); font-size: 21px; line-height: 1.1; outline: none;
  transition: border-color 0.3s;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { border-bottom-color: var(--ink); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.field__err { min-height: 0; font-size: 12px; line-height: 1.4; color: var(--salmao); }
.field__err:empty { display: none; }
.field.has-error input { border-bottom-color: var(--salmao); }
.field.has-error label { color: var(--salmao); }
.modal__actions { display: grid; gap: 12px; margin-top: 10px; }
.modal__actions .btn { justify-content: center; padding-block: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__fine { font-size: 11px; color: var(--ink-3); line-height: 1.5; margin: 0; }
/* celular: o modal sobe da base da tela, na largura toda */
@media (max-width: 599px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel {
    width: 100%; max-height: 92dvh;
    border-width: 1px 0 0; border-radius: 22px 22px 0 0;
    transform: translateY(40px);
  }
  .modal__panel form { padding: 30px 22px calc(22px + env(safe-area-inset-bottom)); }
  .modal__flower { right: -18%; top: -10%; width: 52%; }
  .modal h2 { font-size: 28px; padding-right: 36px; }
  .modal p { margin-bottom: 18px; }
}
.is-sending .btn { opacity: 0.7; pointer-events: none; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
/* O rodapé é o fecho do jardim: céu com a logo, canteiro com as ilustrações
   oficiais crescendo da base e uma faixa de chão com os créditos. */
.footer {
  position: relative; z-index: 2;
  background: var(--preto);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.footer__glow {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/gradients/verde.webp") center / cover no-repeat;
  opacity: 0.85;
  /* clareia só a base, onde o jardim nasce; o topo continua preto para o texto */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 38%, #000 78%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 38%, #000 78%);
}
/* os textos ficam acima do jardim (que sobe por trás deles), cada bloco
   sobre fundo preto para continuar legível */
.footer__top {
  position: relative; z-index: 8;
  display: grid; justify-items: center; text-align: center;
  gap: 22px;
  padding-top: clamp(64px, 9vw, 120px);
}
.footer__logo img { filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.95)); }
.footer__logo img { width: clamp(190px, 24vw, 340px); height: auto; display: block; }
.footer__tag { margin: 0; padding: 10px 18px; background: #000; text-wrap: balance; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); line-height: 1.6; text-shadow: none; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; margin-top: 10px; }
.footer__nav a {
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  background: #000; text-shadow: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.footer__nav a:hover { background: var(--ink); color: var(--preto); border-color: var(--ink); text-shadow: none; }
/* Instagram: mesmo pill do menu, só o ícone */
.footer__nav .footer__ig { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; }
.footer__ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__info { display: grid; gap: 26px; margin-top: 14px; padding: 24px 32px; background: #000; text-shadow: none; }
.footer__info h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.footer__info p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.footer__info a { transition: color 0.3s; }
.footer__info a:hover { color: var(--ink); }
@media (min-width: 700px) { .footer__info { padding: 26px 56px; } }

/* Canteiro */
.footer__garden {
  position: relative;
  height: clamp(280px, 36vw, 560px);
  margin-top: clamp(-90px, -6vw, -56px);
  pointer-events: none;
}
.plant {
  position: absolute;
  left: var(--x); bottom: var(--b);
  width: var(--w);
  z-index: var(--z, 1);
  transform-origin: 50% 100%;
}
.plant__m, .plant__s { transform-origin: 50% 100%; }
.plant__s > * { width: 100%; display: block; }
/* profundidade por brilho, só em imagem parada (desenhada uma vez) */
.plant--back .plant__s > img { filter: brightness(0.74) saturate(0.95); }
.plant--mid .plant__s > img { filter: brightness(0.86); }
.plant--flip .plant__s > * { transform: scaleX(-1); }
.plant--hang { bottom: auto; top: var(--t); transform-origin: 50% 0; }
.plant--hang .plant__m, .plant--hang .plant__s { transform-origin: 50% 0; }
/* fio do globo de espelhos */
.plant--hang::before {
  content: ""; position: absolute; left: 50%; bottom: 92%; width: 1px; height: 60vh;
  background: linear-gradient(to top, rgba(241, 238, 228, 0.55), rgba(241, 238, 228, 0));
}

/* Chão: faixa curta que escurece só o pé do canteiro, onde ficam os créditos */
.footer__base {
  position: relative; z-index: 6;
  margin-top: -56px;
  padding: 64px 0 24px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.72) 48%, #000 86%);
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; justify-content: space-between; font-size: 11px; color: var(--ink-2); letter-spacing: 0.06em; }
.footer__credit { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); transition: color 0.3s; }
.footer__credit:hover { color: var(--ink); }
.footer__credit img { height: 18px; width: auto; opacity: 0.9; transition: opacity 0.3s; }
.footer__credit:hover img { opacity: 1; }
@media (max-width: 699px) { .footer__legal { justify-content: center; text-align: center; } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   Reveal (conteúdo entra com scroll) — só quando JS e motion estão ativos
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.js .card img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .garden__item, .bloom { opacity: 1 !important; transform: scale(1) rotate(var(--r, 0deg)) !important; }
  .plant { opacity: 1 !important; }
  .aurora i { transition: none; }
  .hero__scroll i { animation: none; }
  html { scroll-behavior: auto; }
}
