/* =========================================================
   Festival Empreende Rio Doce 2027 — landing page
   Tokens derivados de uploads/design-system.md
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --surface: #262626;
  --raised: #313335;
  --ink-deep: #121212;
  --y: #f9b403;
  --y-hi: #ffc700;
  --gold: #e6b421;
  --text: #ffffff;
  --muted: #b7bcc2;
  --line: #3a3d40;
  --border: #737b83;
  --success: #6ddba5;
  --danger: #ff9298;
  --on-y: #1e1e1e;
  --on-y-muted: #4a3a06;

  --f-display: "Prachason Neue Expanded", "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Alibaba Sans", "Archivo", system-ui, sans-serif;

  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --r-ctl: 4px;
  --r-card: 16px;
  --r-media: 32px;
  --shadow-card: 0 4px 16px rgb(0 0 0 / 24%);
  --shadow-lift: 0 20px 48px rgb(0 0 0 / 35%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #4a4d50 var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--y); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--y-hi); }
::selection { background: var(--y); color: var(--on-y); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }
button { cursor: pointer; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #4a4d50; border: 3px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.m-cut { fill: var(--y); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  background: var(--y); color: var(--on-y); padding: 12px 18px; border-radius: var(--r-ctl);
  font-weight: 700; text-decoration: none; transition: top var(--t-fast) var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(55rem + 2 * var(--gutter)); }

/* ---------- type ---------- */
.display, .h2, .h3, .h4 {
  font-family: var(--f-display);
  font-stretch: 125%;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.1rem, 4.1vw, 3.65rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.h4 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 700; line-height: 1.2; }
.display em, .h2 em, .h3 em { font-style: normal; color: var(--y); }
.h2 .year, .display .year { font-style: italic; font-weight: 900; color: var(--y-hi); }
.lead { font-size: clamp(1.075rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.note { font-size: .9375rem; color: var(--muted); max-width: 26rem; text-wrap: pretty; }
.fine { font-size: .8125rem; line-height: 1.5; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4rem;
  border: 2px solid transparent; border-radius: var(--r-ctl);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .95rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; line-height: 1.1;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform var(--t-base) var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--y); color: var(--on-y); }
.btn-primary:hover { background: var(--y-hi); color: var(--on-y); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--y); }
.btn-ghost:hover { background: rgb(249 180 3 / 12%); color: var(--text); }
.btn-lg { min-height: 54px; padding: 0 1.75rem; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgb(0 0 0 / 28%); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: 12px 0; position: relative;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--y);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.menu-btn {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-ctl); color: var(--text);
}
.menu-btn .ico { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .brand img { height: 38px; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.125rem; font-weight: 700; border-bottom: 1px solid var(--surface); }
  .nav ul a::after { display: none; }
  .nav .btn { min-height: 52px; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-copy .lead { max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .5rem; }
.visitor-link { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-size: .9375rem; color: var(--muted); }
.visitor-link .ico { color: var(--y); }

/* mosaico */
.mosaic {
  container-type: inline-size;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; max-width: 520px; justify-self: end;
  aspect-ratio: 1;
}
.tile {
  position: relative; aspect-ratio: 1; overflow: hidden;
  transform: rotate(var(--rot, 0deg));
  transition: transform 900ms var(--ease);
}
.tile svg { width: 100%; height: 100%; }
.t-y { background: var(--y); color: var(--ink-deep); }
.t-g { background: var(--ink-deep); color: var(--y); }
.js .mosaic:not(.is-assembled) .tile[style*="--from"] { transform: rotate(var(--from)) scale(.86); }
.mosaic .tile:nth-child(1) { transition-delay: 60ms; }
.mosaic .tile:nth-child(2) { transition-delay: 140ms; }
.mosaic .tile:nth-child(4) { transition-delay: 220ms; }
.mosaic .tile:nth-child(5) { transition-delay: 100ms; }
.mosaic .tile:nth-child(7) { transition-delay: 260ms; }
.mosaic .tile:nth-child(8) { transition-delay: 180ms; }
.mosaic .tile:nth-child(9) { transition-delay: 320ms; }
.mosaic .tile:nth-child(10) { transition-delay: 240ms; }
.mosaic .tile:nth-child(11) { transition-delay: 380ms; }
.mosaic .tile:nth-child(12) { transition-delay: 300ms; }
.mosaic.is-playful .tile { transition-delay: 0ms; }
.mosaic.is-playful .tile[style*="--from"] { cursor: pointer; }

.t-ed {
  grid-column: 2 / span 3; grid-row: 1 / span 2; aspect-ratio: auto;
  background: var(--y); color: var(--on-y);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5cqw;
}
.ed-lead { display: flex; flex-direction: column; gap: 2.4cqw; }
.ed-intro { font-size: 4.4cqw; line-height: 1.2; font-weight: 800; }
.ed-names {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: 7.6cqw; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance;
}
.t-symbol { display: grid; place-items: center; }
.t-symbol img { width: 64%; }

.cover {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: var(--r-media); overflow: hidden; background: var(--surface);
  aspect-ratio: 2.34 / 1; box-shadow: var(--shadow-lift);
}
.cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mosaic { justify-self: start; max-width: 440px; }
  .cover { aspect-ratio: 1.6 / 1; border-radius: var(--r-card); }
  .cover img { object-position: 62% 50%; }
}
@media (max-width: 520px) {
  .actions .btn { width: 100%; }
  .mosaic { max-width: none; }
  .t-loc { font-size: max(.75rem, 3.6cqw); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--surface); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.sec-head .h2 { max-width: 40rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* o festival */
.prose { display: flex; flex-direction: column; gap: 1.25rem; max-width: 36rem; }
.prose .h2 { margin-bottom: .5rem; }
.prose p:not(.lead) { color: var(--muted); text-wrap: pretty; }
.prose .lead { color: var(--text); }
.pull {
  margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 115%; font-weight: 700; font-size: 1.125rem; line-height: 1.35;
  color: var(--y) !important;
}
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery .g-main { grid-column: 1 / -1; }
.frame { border-radius: var(--r-card); overflow: hidden; background: var(--raised); }
.gallery .frame { aspect-ratio: 1.35 / 1; }
.gallery .g-main .frame { aspect-ratio: 1.7 / 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); transition: transform 700ms var(--ease); }
.gallery figure:hover img { transform: scale(1.13); }
figcaption { margin-top: 8px; font-size: .8125rem; color: var(--muted); }

/* eixos — faixa amarela */
.band-yellow { background: var(--y); color: var(--on-y); padding-block: var(--section); }
.band-yellow .h2 em, .band-yellow .h2 .year { color: var(--on-y); }
.axes { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.axes li { padding: 0 clamp(1.25rem, 3vw, 2.5rem); border-left: 2px solid var(--on-y); display: flex; flex-direction: column; gap: 1rem; }
.axes li:first-child { padding-left: 0; border-left: 0; }
.axes img { height: clamp(88px, 9vw, 120px); width: auto; margin-bottom: .75rem; align-self: flex-start; }
.axes h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.12; text-wrap: balance; }
.axes p { color: var(--on-y-muted); max-width: 22rem; font-weight: 500; }
@media (max-width: 800px) {
  .axes { grid-template-columns: 1fr; gap: 0; }
  .axes li { padding: 1.75rem 0; border-left: 0; border-top: 2px solid var(--on-y); display: grid; grid-template-columns: 72px 1fr; gap: .25rem 1.25rem; align-items: start; }
  .axes li:first-child { padding-top: 1.75rem; }
  .axes img { grid-row: span 2; height: 72px; margin: 0; object-fit: contain; width: 72px; }
}

/* impacto */
.impact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.impact-head { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 2.5rem; }
.impact-logo { width: min(220px, 60%); }
.impact-list { counter-reset: none; border-top: 1px solid var(--line); }
.impact-list li {
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--muted); text-wrap: pretty;
  display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: baseline;
}
.impact-list li::before { content: ""; width: 12px; height: 12px; background: var(--y); transform: rotate(45deg) translateY(-2px); }
.impact-list strong { display: block; font-family: var(--f-display); font-stretch: 120%; font-weight: 750; font-size: 1.2em; line-height: 1.25; color: var(--text); margin-bottom: .2rem; }
@media (max-width: 900px) {
  .impact { grid-template-columns: 1fr; }
  .impact-head { position: static; flex-direction: row; align-items: center; justify-content: space-between; }
  .impact-logo { width: 110px; }
}
@media (max-width: 520px) { .impact-logo { display: none; } }

/* propósito */
.purpose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); border-top: 1px solid var(--line); }
.purpose-art { background: var(--y) url(../img/mosaico.webp) 22% 30% / cover no-repeat; min-height: 280px; }
.purpose-body { padding: var(--section) clamp(1rem, 6vw, 5rem); display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 4.5rem); max-width: 62rem; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 4vw, 3.5rem); }
.mv img { height: 56px; width: auto; margin-bottom: 1.25rem; }
.mv p { margin-top: .75rem; color: var(--muted); text-wrap: pretty; }
.audience { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); }
.audience ul { margin-top: 1.25rem; }
.audience li {
  display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; text-wrap: pretty;
}
.audience li:last-child { border-bottom: 0; }
.audience li::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--y); transform: rotate(45deg) translateY(-2px); }
@media (max-width: 900px) {
  .purpose { grid-template-columns: 1fr; }
  .purpose-art { min-height: 120px; background-position: 30% 40%; }
  .purpose-body { padding-inline: var(--gutter); }
}
@media (max-width: 640px) { .mv { grid-template-columns: 1fr; } }

/* números — selos geométricos */
.seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.seals li {
  background: var(--bg); border-radius: var(--r-card); padding: 2rem 1.25rem 1.75rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem;
}
.seal {
  width: 144px; height: 144px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--y); color: var(--on-y); font-family: var(--f-display); font-stretch: 125%; line-height: .9;
}
.seal b { font-weight: 900; font-style: italic; font-size: 3rem; letter-spacing: -0.03em; }
.seal small { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; margin-top: 2px; }
.seal-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.seal-diamond b { font-size: 2.6rem; }
.seal-rect { height: 104px; margin-block: 20px; }
.seal-rect b { font-size: 3.4rem; }
.seal-tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); justify-content: flex-end; padding-bottom: 14px; }
.seal-tri b { font-size: 3.2rem; }
.seal-pill { height: 76px; margin-block: 34px; border-radius: 38px; }
.seal-pill b { font-style: normal; font-size: 1.05rem; text-transform: uppercase; line-height: 1.05; letter-spacing: 0; }
.seal-label { font-family: var(--f-display); font-stretch: 115%; font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.seal-label small { display: block; margin-top: 4px; font-family: var(--f-body); font-stretch: 100%; font-weight: 400; font-size: .875rem; color: var(--muted); }

.schedule { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 16px; }
.slot {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--r-card); line-height: 1.3;
}
.slot > .ico { color: var(--y); width: 24px; height: 24px; }
.slot small { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.slot .time { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--y-hi); font-variant-numeric: tabular-nums; }
.slot-ticket { background: var(--y); border-color: var(--y); color: var(--on-y); }
.slot-ticket > .ico { color: var(--on-y); }
.slot-ticket strong { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.05rem; }
.slot-ticket small { color: var(--on-y-muted); }
.countdown { display: block; margin-top: 4px; font-weight: 700; color: var(--on-y); font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule { grid-template-columns: 1fr 1fr; }
  .slot-ticket { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .seals { gap: 12px; }
  .seals li { padding: 1.5rem .75rem 1.25rem; gap: 1rem; }
  .seal { width: 112px; height: 112px; }
  .seal b { font-size: 2.4rem; }
  .seal-diamond b { font-size: 2rem; }
  .seal-rect { height: 80px; margin-block: 16px; }
  .seal-pill { height: 60px; margin-block: 26px; }
  .seal-pill b { font-size: .85rem; }
  .seal-label { font-size: 1rem; }
  .schedule { grid-template-columns: 1fr; }
  .slot .time { font-size: 1.9rem; }
}

/* estrutura */
.h2-quote { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 650; line-height: 1.22; color: var(--y); }
.amenities { display: flex; flex-wrap: wrap; gap: 10px; }
.amenities li {
  display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem;
  background: var(--surface); border-radius: var(--r-ctl);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: .9rem;
}
.g { width: 14px; height: 14px; background: var(--y); flex: none; }
.g-ci { border-radius: 50%; }
.g-tr { clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.g-di { transform: rotate(45deg) scale(.85); }
.g-hc { border-radius: 14px 14px 0 0; height: 8px; margin-top: 6px; }

/* stands */
.stands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.stand {
  background: var(--bg); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.stand:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stand .frame { border-radius: 0; aspect-ratio: 1.64 / 1; }
.stand .frame img { transform: scale(1.1); }
.stand-feature { outline: 2px solid var(--y); outline-offset: -2px; }
.stand-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.stand-tag {
  align-self: flex-start; padding: .3rem .6rem; border-radius: var(--r-ctl);
  background: var(--raised); color: var(--y);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
}
.stand-feature .stand-tag { background: var(--y); color: var(--on-y); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .9375rem; padding: .9rem 0; border-block: 1px solid var(--line); }
.specs dt { font-weight: 700; color: var(--gold); }
.incl { display: flex; flex-direction: column; gap: .45rem; font-size: .9375rem; }
.incl li { display: flex; gap: .7rem; align-items: baseline; }
.incl li::before { content: ""; width: 8px; height: 8px; background: var(--y); flex: none; transform: translateY(-1px); }
.stand-desc { font-size: .875rem; color: var(--muted); text-wrap: pretty; }
.stand .btn { margin-top: auto; }
@media (max-width: 1000px) {
  .stands { grid-template-columns: 1fr; max-width: 560px; }
}

/* simulador */
.sim {
  margin-top: 20px; background: var(--bg); border-radius: var(--r-card);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.sim-controls { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.sim-controls > p:not(.sim-price):not(.fine) { color: var(--muted); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface); border-radius: 8px; }
.seg button, .seg-form label span {
  min-width: 68px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--text);
  font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.seg button:hover, .seg-form label:hover span { background: var(--raised); }
.seg button[aria-checked="true"], .seg-form input:checked + span { background: var(--y); color: var(--on-y); }
.sim-price { display: flex; flex-direction: column; gap: 2px; }
.sim-value { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-style: italic; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.05; color: var(--y-hi); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sim-price small { font-size: .875rem; color: var(--muted); }
.sim .fine { max-width: 30rem; }

.sim-plan { display: flex; flex-direction: column; gap: 12px; }
.plan {
  --cell: minmax(0, 1fr);
  display: grid; grid-template-columns: repeat(6, var(--cell)); grid-template-rows: repeat(4, auto); gap: 6px;
  padding: 14px; border-radius: 12px;
  background-color: var(--surface);
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 20px 20px;
}
.plan span {
  aspect-ratio: 1; border-radius: 3px; border: 1px dashed rgb(183 188 194 / 28%);
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 700; color: transparent;
  transition: background-color 380ms var(--ease), border-color 380ms var(--ease), transform 480ms var(--ease), color 380ms var(--ease);
}
.plan span.on { background: var(--y); border: 1px solid var(--y); color: rgb(30 30 30 / 55%); transform: scale(1); }
.plan span:not(.on) { transform: scale(.82); }
.sim-plan figcaption { margin: 0; }
.sim-dims { color: var(--text); font-weight: 700; }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .plan { gap: 4px; padding: 10px; }
  .seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .seg button, .seg-form label span { min-width: 0; width: 100%; padding: 0 6px; }
  .sim-controls .btn { width: 100%; }
}

/* faq */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.35;
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--y-hi); }
.faq summary .ico {
  width: 36px; height: 36px; padding: 8px; border-radius: var(--r-ctl); background: var(--surface); color: var(--y);
  transition: transform var(--t-base) var(--ease), background-color var(--t-fast);
}
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--y); color: var(--on-y); }
.faq details p { padding: 0 3.25rem 1.5rem 0; color: var(--muted); max-width: 46rem; text-wrap: pretty; }

/* contato */
.contact { background: var(--surface); position: relative; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 32px); }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 1rem; align-items: baseline; color: var(--muted); }
.steps li::before {
  content: counter(step); width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--y); color: var(--on-y); border-radius: 50%;
  font-family: var(--f-display); font-stretch: 112%; font-weight: 900; font-size: .9rem; transform: translateY(-2px);
}
.steps b { color: var(--text); }
.contact-art { height: 140px; border-radius: var(--r-card); background: var(--y) url(../img/mosaico.webp) 20% 62% / cover no-repeat; margin-top: 1rem; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .contact-art { display: none; }
}

.form-card { background: var(--bg); border-radius: var(--r-card); padding: clamp(1.25rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-lift); }
#lead-form { display: flex; flex-direction: column; gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: .9375rem; padding: 0; }
.field > legend { margin-bottom: .6rem; }
.req { color: var(--y); }
.opt { font-weight: 400; color: var(--muted); font-size: .8125rem; margin-left: .25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row + .hint { margin-top: -.85rem; }
.hint { font-size: .8125rem; color: var(--muted); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 1.35rem; } }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-ctl);
  font-size: 1rem; line-height: 1.4; caret-color: var(--y);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast);
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #8d949b; }
input:hover, textarea:hover { border-color: #9199a0; }
input:focus, textarea:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 3px rgb(249 180 3 / 25%); background: #2a2a2a; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--text); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus { box-shadow: 0 0 0 3px rgb(255 146 152 / 22%); }
.error { font-size: .875rem; color: var(--danger); display: flex; gap: .4rem; align-items: center; }
.error::before { content: ""; width: 6px; height: 6px; background: var(--danger); transform: rotate(45deg); flex: none; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice-wide { grid-column: 1 / -1; }
.choice input, .seg-form input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span {
  display: flex; flex-direction: column; gap: 2px; min-height: 64px; justify-content: center;
  padding: .7rem .9rem .7rem 2.6rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  position: relative; line-height: 1.3;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.choice-wide > span { min-height: 52px; }
.choice > span::before {
  content: ""; position: absolute; left: .9rem; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid var(--border); border-radius: 50%; transition: all var(--t-fast) var(--ease);
}
.choice b { font-weight: 700; font-size: .9375rem; }
.choice small { font-size: .8125rem; color: var(--muted); }
.choice:hover > span { border-color: #9199a0; }
.choice input:checked + span { border-color: var(--y); background: rgb(249 180 3 / 9%); }
.choice input:checked + span::before { border-color: var(--y); background: var(--y); box-shadow: inset 0 0 0 3px var(--bg); }
.choice input:focus-visible + span, .seg-form input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 2px; }
.field.has-error .choice > span { border-color: rgb(255 146 152 / 60%); }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } }

.seg-form { display: flex; }
.seg-form label { position: relative; cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r-ctl);
  background: rgb(255 146 152 / 10%); border: 1px solid var(--danger); color: var(--text); font-size: .9375rem;
}
.form-alert .ico { color: var(--danger); width: 22px; height: 22px; margin-top: 1px; }
.form-alert strong { display: block; color: var(--danger); }
.form-alert-text a { color: var(--y); }

.btn-submit { position: relative; margin-top: .25rem; }
.spinner {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgb(30 30 30 / 25%); border-top-color: var(--on-y);
  animation: spin 800ms linear infinite;
}
.btn-submit.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: flex; flex-direction: column; gap: 1rem; outline: none; }
.form-success[hidden] { display: none; }
.success-mark {
  width: 64px; height: 64px; display: grid; place-items: center; background: var(--success); color: var(--on-y);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.success-mark .ico { width: 26px; height: 26px; }
.form-success > p { color: var(--muted); }
.form-success strong { color: var(--y-hi); }
.steps-compact li { color: var(--text); }
.form-success .btn { align-self: flex-start; margin-top: .5rem; }
.form-success.is-in { animation: rise 600ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* parceiros e rodapé */
.partners { background: #eceef0; color: #2f3b3b; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.partners-row { display: grid; grid-template-columns: 1fr 2fr 3fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.p-group h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #2f3b3b; margin-bottom: .75rem; }
.p-group ul { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.p-group li {
  height: 112px; padding: 18px 22px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; box-shadow: 0 2px 4px rgb(0 0 0 / 6%), 0 8px 20px rgb(0 0 0 / 8%);
}
.p-group img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .partners-row { grid-template-columns: 1fr 1fr; }
  .p-group:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .partners-row { grid-template-columns: 1fr; }
  .p-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-group[style*="--n:1"] ul { grid-template-columns: minmax(0, 1fr); }
  .p-group li { height: 96px; padding: 14px 16px; }
}

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-row img { height: 52px; width: auto; }
.footer-date { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; color: var(--y); line-height: 1.35; }
.footer-date span { color: var(--text); font-weight: 600; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 10px 0; display: inline-block; }
.site-footer nav a:hover { color: var(--y); }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--surface); font-size: .8125rem; color: var(--muted); text-align: center; }

/* barra fixa no celular */
.dock { display: none; }
@media (max-width: 860px) {
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 16px; background: var(--ink-deep); border: 1px solid var(--raised); border-radius: 12px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 45%);
    transform: translateY(140%); transition: transform 420ms var(--ease);
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .dock.is-visible { transform: none; }
  .dock-date { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .8125rem; color: var(--y); }
  .dock .btn { min-height: 44px; }
  .site-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-iteration-count: 1 !important; }
  .js .mosaic:not(.is-assembled) .tile[style*="--from"] { transform: rotate(var(--rot, 0deg)); }
  .spinner { animation: spin 1.6s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.6s !important; }
}

/* datas sobre a ilustração */
.cover { position: relative; }
.cover-dates {
  position: absolute; z-index: 2; top: clamp(12px, 2.4vw, 28px); left: clamp(12px, 2.4vw, 28px);
  display: flex; gap: clamp(8px, 1.2vw, 14px);
}
.cover-dates li {
  display: flex; flex-direction: column; gap: 2px; padding: clamp(8px, 1vw, 14px) clamp(12px, 1.6vw, 22px);
  background: var(--ink-deep); border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / 28%); line-height: 1.15;
}
.cd-city { font-size: clamp(.75rem, 1.05vw, .9375rem); font-weight: 600; color: var(--muted); }
.cd-date { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; font-size: clamp(.95rem, 1.7vw, 1.5rem); color: var(--y); letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .cover { overflow: visible; background: none; box-shadow: none; aspect-ratio: auto; display: flex; flex-direction: column; border-radius: 0; }
  .cover img { border-radius: var(--r-card); aspect-ratio: 1.6 / 1; object-fit: cover; object-position: 62% 50%; transform: none; }
  .cover-dates { position: static; order: 2; display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
}

/* sobre realizadora e produtora */
.about-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.about-logo { width: 100%; height: 132px; padding: 16px 24px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.about-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.about-card .h4 { color: var(--y); }
.about-name { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.about-card p:not(.about-name) { color: var(--muted); text-wrap: pretty; }
.about-card .btn { margin-top: auto; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* contatos no rodapé */
.footer-contacts { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--surface); }
.footer-contacts h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.fc { display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; }
.fc strong { font-size: 1rem; }
.fc span { color: var(--muted); margin-bottom: 6px; }
.fc a { color: var(--text); text-decoration-color: var(--y); padding: 4px 0; width: fit-content; overflow-wrap: anywhere; }
.fc a:hover { color: var(--y); }
@media (max-width: 700px) { .fc-grid { grid-template-columns: 1fr; } }
