/* VP Enge — site institucional (v20261024-premium)
   Paleta: carvão #121619 · navy #0f1c28 · off-white #f3f1ea · dourado #c49a45 */

:root {
  --paper: #f3f1ea;
  --paper-2: #e8e4d8;
  --navy: #0f1c28;
  --navy-2: #172a3a;
  --navy-3: #09121a;
  --char: #121619;
  --gold: #c49a45;
  --gold-soft: #d6b26a;
  --gold-ink: #77571b;      /* dourado escuro para texto em fundo claro (AA) */
  --ink: #0f1c28;
  --muted: #4f5964;
  --line: rgba(15, 28, 40, 0.14);
  --line-strong: rgba(15, 28, 40, 0.3);
  --line-light: rgba(243, 241, 234, 0.16);
  --line-light-strong: rgba(243, 241, 234, 0.32);
  --on-dark: #f3f1ea;
  --on-dark-muted: rgba(243, 241, 234, 0.74);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Bahnschrift", "Segoe UI", "Helvetica Neue", system-ui, Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --header-h: 72px;
  --section-y: clamp(80px, 11vw, 168px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.num {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

/* Áreas escuras: foco e números em dourado */
.hero :focus-visible, .story :focus-visible, .film :focus-visible, .contact :focus-visible,
.site-footer :focus-visible, .site-header :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
.hero .num, .story .num, .film .num { color: var(--gold); }

/* ---------- Tipografia ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-num {
  font-family: var(--font-display);
  color: var(--gold-ink);
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
}

.eyebrow-rule { display: inline-block; width: 40px; height: 1px; background: var(--gold); }

.eyebrow--light { color: var(--on-dark-muted); }
.eyebrow--light .eyebrow-num { color: var(--gold); border-color: var(--line-light-strong); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
p { text-wrap: pretty; }

.fig-no {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  white-space: nowrap;
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 50px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn-sm { min-height: 42px; padding: 0 1.05rem; font-size: .9375rem; }
.btn-lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-outline-light { border-color: var(--line-light-strong); color: var(--on-dark); background: rgba(9, 18, 26, .25); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline-light .icon { width: .9em; height: .9em; color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 6px 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--line-light-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.round-btn:hover { border-color: var(--gold); color: var(--gold); }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn--light { background: rgba(9, 18, 26, .55); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

html:not(.js) .site-header,
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(15, 28, 40, .96);
  border-bottom-color: var(--line-light);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgba(15, 28, 40, .84);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  padding-bottom: 5px;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 0; right: .06em; bottom: 0;
  height: 2px;
  background: var(--gold);
}
.brand-mark-word { margin-left: .2em; font-weight: 300; letter-spacing: .02em; }

.brand-sub {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  padding-left: 14px;
  border-left: 1px solid var(--line-light-strong);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  background: none;
  border: 0;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav-list a { text-decoration: none; font-weight: 500; }

@media (max-width: 999.98px) {
  .brand-sub { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 32px;
    background: var(--navy);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  @supports (height: 100dvh) { .site-nav { max-height: calc(100dvh - var(--header-h)); } }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .nav-list li { border-bottom: 1px solid var(--line-light); }
  .nav-list a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 300;
  }

  .nav-cta { width: 100%; margin-top: 24px; min-height: 52px; }
}

@media (min-width: 600px) and (max-width: 999.98px) { .brand-sub { display: inline; } }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 32px; }
  .nav-list { display: flex; gap: 26px; }
  .nav-list a {
    position: relative;
    padding: 8px 0;
    font-size: .9375rem;
    color: var(--on-dark);
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-list a:hover::after { transform: scaleX(1); }
}

@media (min-width: 1000px) and (max-width: 1199.98px) { .brand-sub { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--char);
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--navy-3); }

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 18, 26, .72) 0%, rgba(9, 18, 26, 0) 22%),
    linear-gradient(90deg, rgba(9, 18, 26, .9) 0%, rgba(9, 18, 26, .62) 42%, rgba(9, 18, 26, .18) 100%),
    linear-gradient(0deg, rgba(9, 18, 26, .92) 0%, rgba(9, 18, 26, 0) 45%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(243, 241, 234, .07) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: -1px 0;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-top: calc(var(--header-h) + clamp(48px, 12vh, 140px));
  padding-bottom: clamp(20px, 3vw, 36px);
}

.hero-copy { max-width: 920px; }

.hero h1 {
  font-size: clamp(2rem, .9rem + 7vw, 7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.035em;
  max-width: 11ch;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-lead {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }

@media (max-width: 479.98px) { .actions .btn { width: 100%; } }

.hero-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light-strong);
}

.hero-index a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 14px 12px 16px 0;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  color: var(--on-dark);
  transition: color .2s var(--ease);
}
.hero-index a:hover { color: var(--gold-soft); }

.hero-index li:nth-child(n+3) { border-top: 1px solid var(--line-light); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.hero-credit { font-size: .78rem; letter-spacing: .06em; color: var(--on-dark-muted); }

.media-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line-light-strong);
  border-radius: 999px;
  background: rgba(9, 18, 26, .45);
  color: var(--on-dark);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
}
.media-toggle:hover { border-color: var(--gold); }
.media-toggle .icon { width: 14px; height: 14px; color: var(--gold); }
.media-toggle .icon-play { display: none; }
.media-toggle[data-state="paused"] .icon-play { display: block; }
.media-toggle[data-state="paused"] .icon-pause { display: none; }

@media (min-width: 800px) {
  .hero-index { grid-template-columns: repeat(4, 1fr); }
  .hero-index li:nth-child(n+3) { border-top: 0; }
  .hero-index li + li a { padding-left: 20px; border-left: 1px solid var(--line-light); }
  .hero-index a { padding-top: 18px; padding-bottom: 20px; font-size: .9375rem; }
}

/* ---------- Seções (base) ---------- */

.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 88px); }

.section-intro {
  margin-top: 24px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.section-head--split {
  max-width: none;
  display: grid;
  gap: 20px;
}

.section-head--split h2 { max-width: 18ch; }

.section-note { color: var(--muted); max-width: 42ch; }

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .section-note { padding-left: 24px; border-left: 1px solid var(--line-strong); }
}

/* ---------- Manifesto ---------- */

.intro { padding-top: var(--section-y); }

.intro-grid { display: grid; gap: 28px; }

.intro-grid .eyebrow { margin-bottom: 0; }

.intro-statement {
  font-size: clamp(1.625rem, 1rem + 2.6vw, 3.5rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.intro-statement em {
  font-style: normal;
  color: var(--gold-ink);
  background: linear-gradient(var(--gold), var(--gold)) left 92% / 100% 2px no-repeat;
}

.intro-aside p { color: var(--muted); max-width: 46ch; margin-bottom: 20px; }

@media (min-width: 960px) {
  .intro-grid {
    grid-template-columns: 8fr 4fr;
    column-gap: clamp(48px, 6vw, 112px);
    align-items: end;
  }
  .intro-grid .eyebrow { grid-column: 1 / -1; }
  .intro-aside { padding-left: 28px; border-left: 1px solid var(--line-strong); }
}

.intro-band { margin-top: clamp(56px, 8vw, 112px); }

.intro-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--navy);
}

@media (min-width: 700px) { .intro-band img { aspect-ratio: 21 / 9; } }

.intro-band figcaption,
.front-media figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
  font-size: .8125rem;
  letter-spacing: .03em;
  color: var(--muted);
}

/* ---------- História da obra ---------- */

.story {
  position: relative;
  margin-top: var(--section-y);
  padding-block: var(--section-y);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(243, 241, 234, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 234, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--on-dark);
}

.story .section-note { color: var(--on-dark-muted); }
@media (min-width: 900px) { .story .section-note { border-color: var(--line-light-strong); } }

.story-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-light);
}
.story-tabs::-webkit-scrollbar { display: none; }

.story-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 168px;
  padding: 16px 20px 18px 0;
  margin-right: 20px;
  background: none;
  border: 0;
  border-top: 2px solid var(--line-light);
  color: var(--on-dark-muted);
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.story-tab:hover { color: var(--on-dark); }
.story-tab[aria-selected="true"] { color: var(--on-dark); border-top-color: var(--gold); }
.story-tab:focus-visible { outline-offset: -3px; }

.story-tab-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.25;
}

@media (min-width: 900px) {
  .story-tabs { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
  .story-tab { min-width: 0; margin-right: 16px; }
  .story-tab-title { font-size: 1.0625rem; }
}
@media (min-width: 1200px) {
  .story-tab { margin-right: 24px; }
  .story-tab-title { font-size: 1.1875rem; }
}

.story-panel { display: grid; gap: 28px; }
.story-panel:focus-visible { outline-offset: 8px; }

html:not(.js) .story-panel + .story-panel { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line-light); }
/* Antes do JS assumir as abas, só a primeira etapa aparece (evita salto de layout) */
.js .story-panels:not(.is-ready) .story-panel + .story-panel { display: none; }

html:not(.js) .story-tabs,
html:not(.js) .story-nav { display: none; }

.story-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--navy-3);
  overflow: hidden;
}

.story-media::before,
.story-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.story-media::before { top: 12px; left: 12px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.story-media::after { bottom: 12px; right: 12px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-media.is-portrait img { object-fit: contain; }

.story-media-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  max-width: calc(100% - 48px);
  padding: 8px 14px;
  background: rgba(9, 18, 26, .82);
  color: var(--on-dark);
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .02em;
}

.story-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.story-detail img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--navy-3);
}
.story-detail.is-portrait img { aspect-ratio: 3 / 4; }
.story-detail figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: .8125rem;
  color: var(--on-dark-muted);
}
.story-detail figcaption::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }
@media (min-width: 900px) {
  .story-detail { grid-template-columns: 168px 1fr; }
  .story-detail.is-portrait { grid-template-columns: 120px 1fr; }
}
.story-media.is-portrait {
  background-image:
    linear-gradient(rgba(243, 241, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 234, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .story-panel:not([hidden]) .story-media img { animation: story-in .6s var(--ease) both; }
  .js .story-panel:not([hidden]) .story-text { animation: story-text-in .6s var(--ease) both; }
}
@keyframes story-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes story-text-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.story-step {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.story-text h3 { margin-top: 14px; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); font-weight: 300; }
.story-text > p:not(.story-step):not(.story-caption) { margin-top: 18px; color: var(--on-dark-muted); font-size: 1.0625rem; max-width: 44ch; }

.story-caption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-size: .8125rem;
  color: var(--on-dark-muted);
}
.story-caption::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }

@media (min-width: 900px) {
  .story-panel {
    grid-template-columns: 7fr 5fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: end;
  }
  .story-media { aspect-ratio: 4 / 3; }
  .story-text { padding-bottom: 8px; }
}

.story-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
}

.story-count {
  font-family: var(--font-display);
  font-size: .9375rem;
  letter-spacing: .08em;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
  min-width: 4.5em;
}
.story-count-now { color: var(--gold); font-weight: 600; }

.story-progress {
  flex: 1;
  height: 1px;
  margin-right: 12px;
  background: var(--line-light-strong);
  position: relative;
}
.story-progress span {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: calc(100% / 6);
  background: var(--gold);
  transition: width .4s var(--ease);
}

/* ---------- Serviços ---------- */

.services { padding-block: var(--section-y); }

.front {
  display: grid;
  gap: 28px;
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line-strong);
}

.front-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--navy);
}

.front-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.front-body h3 { margin-top: 18px; }

.front-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0938rem;
  max-width: 44ch;
}

.front-list { margin: 26px 0 28px; }

.front-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid var(--line);
  font-size: .975rem;
}
.front-list li:last-child { border-bottom: 1px solid var(--line); }
.front-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

@media (min-width: 900px) {
  .front {
    grid-template-columns: 7fr 5fr;
    gap: clamp(40px, 6vw, 104px);
    align-items: center;
  }
  .front--flip { grid-template-columns: 5fr 7fr; }
  .front--flip .front-media { order: 2; }
}

.front-pair { display: grid; border-top: 1px solid var(--line-strong); }

.front--plan {
  grid-template-columns: 1fr !important;
  gap: 28px;
  border-top: 0;
  align-items: start;
}
.front-pair .front--plan + .front--plan { border-top: 1px solid var(--line); }

.plan {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
}
.plan svg { width: 100%; height: 100%; display: block; }
.plan-grid path { stroke: rgba(243, 241, 234, .07); stroke-width: 1; fill: none; }
.plan-line path { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: square; }
.plan-node circle, .plan-node rect { fill: var(--navy); stroke: var(--gold); stroke-width: 2; }
.plan-node path { fill: var(--gold); }

.plan-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .front-pair { grid-template-columns: 1fr 1fr; }
  .front-pair .front--plan { padding-right: clamp(28px, 3vw, 56px); }
  .front-pair .front--plan + .front--plan {
    border-top: 0;
    padding-right: 0;
    padding-left: clamp(28px, 3vw, 56px);
    border-left: 1px solid var(--line);
  }
}

.brand-note {
  display: grid;
  gap: 12px 40px;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
}
.brand-note-title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.brand-note-text { color: var(--muted); max-width: 52ch; }
.brand-note .link-arrow { justify-self: start; }

@media (min-width: 900px) {
  .brand-note { grid-template-columns: auto 1fr auto; align-items: center; }
}

/* ---------- Filme ---------- */

.film {
  padding-block: var(--section-y);
  background: var(--char);
  color: var(--on-dark);
}
.film .section-note { color: var(--on-dark-muted); }
@media (min-width: 900px) { .film .section-note { border-color: var(--line-light-strong); } }

.player-frame {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  background: #000;
  overflow: hidden;
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  border: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(9, 18, 26, .6) 0%, rgba(9, 18, 26, .15) 60%);
  color: var(--on-dark);
  cursor: pointer;
}
.js .player-start { display: flex; }
.player.is-started .player-start { display: none; }
.player-start:focus-visible { outline-offset: -6px; }

.player-start-icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 0 10px rgba(196, 154, 69, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.player-start-icon .icon { width: 38%; height: 38%; margin-left: 6%; }
.player-start:hover .player-start-icon { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(196, 154, 69, .16); }

.player-start-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.player-cap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
  font-size: .875rem;
  color: var(--on-dark-muted);
}
.player-cap strong { color: var(--on-dark); font-weight: 600; }
.film .fig-no { color: var(--gold); }
.player--clip .player-cap > span + span { display: flex; flex-direction: column; gap: 2px; }

.player-video p { padding: 24px; color: var(--on-dark); }

.player-error {
  margin-left: auto;
  font-size: .8125rem;
  color: var(--gold-soft);
  white-space: nowrap;
}

.clips {
  display: grid;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-light);
}

.player--clip .player-start-icon { width: 56px; height: 56px; }

@media (min-width: 720px) {
  .clips { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1000px) {
  .clips { gap: 28px; }
}

/* ---------- Acervo ---------- */

.archive { padding-block: var(--section-y); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.filter-n { font-family: var(--font-display); font-size: .78rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .filter-n { color: var(--gold); }
html:not(.js) .filters { display: none; }

.ac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 44vw, 260px);
  grid-auto-flow: dense;
  gap: 10px;
}

.ac--hero, .ac--wide { grid-column: span 2; }
.ac--tall { grid-row: span 2; }

@media (min-width: 760px) {
  .ac-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(170px, 19vw, 290px);
    gap: 14px;
  }
  .ac--hero { grid-column: span 2; grid-row: span 2; }
}

.ac-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy);
}

.ac-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.ac-link:hover img { transform: scale(1.04); }

.ac-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 12px 10px;
  background: linear-gradient(0deg, rgba(9, 18, 26, .78), rgba(9, 18, 26, 0));
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ac-meta .icon { width: 18px; height: 18px; color: var(--gold); }
.ac-link:focus-visible { outline-offset: 2px; }

/* ---------- Processo ---------- */

.process {
  padding-block: var(--section-y);
  background: var(--paper-2);
}

.steps {
  display: grid;
  counter-reset: none;
  border-top: 1px solid var(--line-strong);
}

.steps li {
  position: relative;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4.25rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-ink);
}

.steps h3 { margin-top: 18px; font-size: clamp(1.3125rem, 1.15rem + .5vw, 1.625rem); font-weight: 500; letter-spacing: -0.01em; }
.steps p { margin-top: 10px; color: var(--muted); max-width: 36ch; }

@media (min-width: 640px) and (max-width: 1099.98px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 36px 32px 8px; border-bottom: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { border-left: 0; padding-left: 0; }
  .steps li::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 32px;
    width: 7px;
    height: 7px;
    background: var(--gold);
  }
  .steps li:first-child::before { left: 0; }
}

/* ---------- Gestão (VPCRM) ---------- */

.tech { padding-block: clamp(48px, 7vw, 88px); }

.tech-inner {
  display: grid;
  gap: 16px 48px;
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.tech-tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.tech h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 400; }
.tech-text { color: var(--muted); max-width: 52ch; }
.tech .link-arrow { justify-self: start; }

@media (min-width: 1000px) {
  .tech-inner { grid-template-columns: auto 1fr 1.3fr auto; align-items: center; }
}

/* ---------- FAQ ---------- */

.faq { padding-bottom: var(--section-y); padding-top: clamp(32px, 5vw, 64px); }

.faq-grid { display: grid; gap: 32px; }
.faq-more { margin-top: 24px; color: var(--muted); }
.faq-more a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); }

@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-ink); }

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold-ink);
  transition: transform .2s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }

.faq-list details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 62ch; }

/* ---------- Contato ---------- */

.contact {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
}

.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 28, 40, .96) 0%, rgba(15, 28, 40, .86) 55%, rgba(15, 28, 40, .7) 100%);
}

.contact-inner { display: grid; gap: 48px; }

.contact h2 { font-size: clamp(2.25rem, 1.3rem + 4vw, 5rem); font-weight: 400; max-width: 13ch; letter-spacing: -0.03em; }

.contact-text {
  margin-top: 24px;
  color: var(--on-dark-muted);
  font-size: 1.125rem;
  max-width: 44ch;
}

.contact-checklist {
  display: grid;
  gap: 0 32px;
  margin-top: 20px;
  max-width: 560px;
}
.contact-checklist li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line-light);
}
.contact-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

@media (min-width: 560px) { .contact-checklist { grid-template-columns: 1fr 1fr; } }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-light-strong);
  background: rgba(9, 18, 26, .55);
}

.contact-or {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 300;
  color: var(--on-dark);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  font-variant-numeric: tabular-nums;
}
.contact-phone .icon { color: var(--gold); width: .85em; height: .85em; }
.contact-site { font-size: .875rem; letter-spacing: .06em; color: var(--on-dark-muted); }

@media (min-width: 960px) {
  .contact-inner { grid-template-columns: 7fr 5fr; align-items: end; gap: clamp(48px, 6vw, 112px); }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-3);
  color: var(--on-dark-muted);
  padding-top: clamp(56px, 7vw, 96px);
  font-size: .9375rem;
}

.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }

.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand-mark { color: var(--on-dark); }
.footer-brand p { margin-top: 20px; max-width: 34ch; }

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-title--gap { margin-top: 28px; }

.site-footer ul li + li { margin-top: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-link-note { color: var(--on-dark-muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-light);
  font-size: .875rem;
}

@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: var(--gold-soft); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold); }

.js .wa-float { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  padding-bottom: calc(clamp(12px, 2vw, 24px) + env(safe-area-inset-bottom, 0px));
  border: 0;
  background: rgba(9, 18, 26, .97);
  color: var(--on-dark);
}
.lightbox[open] { display: flex; flex-direction: column; gap: 12px; }
.lightbox::backdrop { background: rgba(9, 18, 26, .9); }

.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.lb-count {
  font-family: var(--font-display);
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--on-dark-muted);
  font-variant-numeric: tabular-nums;
}

.lb-figure { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }

.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y pinch-zoom;
}

.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0; }
.lb-next { right: 0; }

@media (min-width: 900px) {
  .lb-stage { padding-inline: 64px; }
}

.lb-figure figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 1.6em;
  font-size: .875rem;
  color: var(--on-dark-muted);
  text-align: center;
}

html.is-locked { overflow: hidden; }

/* ---------- Revelação ao rolar (só com JS e sem movimento reduzido) ---------- */

.reveal-ready .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-ready .rv.is-in { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Telas muito estreitas ---------- */

@media (max-width: 360px) {
  .btn-lg { padding: 0 1.1rem; font-size: 1rem; }
  .story-tab { min-width: 150px; }
  .player-cap, .intro-band figcaption, .front-media figcaption { flex-direction: column; gap: 4px; }
}

/* ---------- Impressão ---------- */

@media print {
  .site-header, .wa-float, .hero-media, .media-toggle, .player-start, .filters, .lightbox { display: none !important; }
  .hero, .story, .film, .contact { background: none !important; color: #000; }
  .rv { opacity: 1 !important; transform: none !important; }
}
