/* Vizi Postos — 20261024-final
   Cores alinhadas ao logotipo oficial (media/logo-vizi-original.png): navy #08173a · dourado #d9b252 */
:root {
  --ink: #05080f;
  --navy: #08173a;
  --navy-2: #0e2149;
  --navy-3: #18305e;
  --logo-navy: #08173a;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(10, 20, 38, .14);
  --white: #ffffff;
  --paper: #f3f4f1;
  --muted: #a9b4c7;
  --muted-dark: #4a566b;
  --gold: #d9b252;
  --gold-2: #e6c77a;
  --gold-ink: #1a1300;
  --radius: 4px;
  --wrap: 1240px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 72px;
  --f-display: "Bahnschrift", "DIN Condensed", "DIN Alternate", "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 1rem/1.6 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--gold-ink);
  padding: .75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Type ---------- */
.kicker, .eyebrow {
  font: 600 .78rem/1.2 var(--f-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }
.display-xl, .display-lg, .hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: condensed;
  letter-spacing: -.01em;
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.display-lg { font-size: clamp(2rem, 5vw, 3.6rem); }
.display-xl { font-size: clamp(2.1rem, 6vw, 4.6rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section-sub { color: var(--muted); max-width: 58ch; margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 .95rem/1.1 var(--f-display);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(5, 8, 15, .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .85rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(5, 8, 15, .88);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: 100%; max-width: calc(var(--wrap) + 2 * 40px);
  margin-inline: auto; padding-inline: var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
/* Janela sobre o logotipo oficial mostrando só o símbolo VP (região ≈ x 261–1381, y 196–956 da arte de 1600 px).
   Margens em % são relativas à largura da janela; o arquivo não é alterado. */
.brand-mark {
  position: relative; flex: none; overflow: hidden;
  width: 54px; aspect-ratio: 1120 / 760;
  background: var(--logo-navy);
  border-radius: 3px;
}
.brand-mark img {
  display: block;
  width: 142.857%; max-width: none; height: auto;
  margin: -17.5% 0 0 -23.304%;
}
.brand-word {
  display: inline-flex; align-items: baseline; gap: .35em;
  font-family: var(--f-display); font-stretch: condensed;
  line-height: 1; white-space: nowrap;
}
.brand-word b { font-weight: 800; font-size: 1.45rem; letter-spacing: .08em; }
.brand-word span { font-weight: 500; font-size: .95rem; letter-spacing: .32em; color: var(--gold); }
.brand-word-lg b { font-size: 2.4rem; }
.brand-word-lg span { font-size: 1.35rem; }

.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .6rem .85rem;
  font: 600 .88rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: rgba(255, 255, 255, .82);
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }

.menu-btn {
  display: none; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(5, 8, 15, .4);
  place-items: center;
}
.menu-btn-lines { display: grid; gap: 5px; width: 22px; }
.menu-btn-lines i { display: block; height: 2px; background: var(--white); }
.menu-btn-lines i:nth-child(2) { width: 70%; justify-self: end; background: var(--gold); }

/* Seis links no desktop estreito: aperta o espaçamento para caber ao lado da marca e do CTA */
@media (min-width: 960px) and (max-width: 1199px) {
  .header-inner { gap: .6rem; }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: .6rem .45rem; font-size: .8rem; letter-spacing: .06em; }
  .main-nav a::after { left: .45rem; right: .45rem; }
}
@media (max-width: 959px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 479px) {
  .header-cta span { display: none; }
  .header-cta { padding-inline: .8rem; }
  .brand-word b { font-size: 1.2rem; }
  .brand-word span { font-size: .8rem; letter-spacing: .24em; }
  .brand-mark { width: 44px; }
}
@media (max-width: 359px) {
  .brand-mark { display: none; }
}

/* Mobile menu dialog */
.menu-dialog {
  position: fixed; inset: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--navy); color: var(--white);
}
.menu-dialog[open] { display: flex; flex-direction: column; animation: menuIn .3s var(--ease); }
.menu-dialog::backdrop { background: rgba(0, 0, 0, .6); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-inline: var(--pad);
  border-bottom: 1px solid var(--line);
}
.menu-list { padding: 1.5rem var(--pad); counter-reset: none; }
.menu-list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font: 700 clamp(1.7rem, 8vw, 2.4rem)/1 var(--f-display); font-stretch: condensed;
  text-decoration: none; text-transform: uppercase;
}
.menu-list a span { font-size: .8rem; color: var(--gold); letter-spacing: .15em; }
.menu-list a:hover { color: var(--gold); }
.menu-foot { margin-top: auto; padding: 1.5rem var(--pad) 2rem; display: grid; gap: 1rem; }
.menu-tel { text-align: center; color: var(--muted); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy) url("media/postos-hero-hq.webp") center / cover no-repeat;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, .92) 0%, rgba(5, 8, 15, .7) 38%, rgba(5, 8, 15, .2) 75%),
    linear-gradient(0deg, rgba(5, 8, 15, .95) 0%, rgba(5, 8, 15, 0) 40%),
    linear-gradient(180deg, rgba(5, 8, 15, .6) 0%, rgba(5, 8, 15, 0) 22%);
}
.hero-content {
  align-self: center;
  padding-block: clamp(3rem, 10vh, 7rem) 2rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 178, 82, .25); }
.hero-title {
  font-size: clamp(2rem, 6.6vw, 5.6rem);
  max-width: 16ch;
  hyphens: manual;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-lead {
  margin-top: 1.5rem; max-width: 52ch;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  color: rgba(255, 255, 255, .86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero-bar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.2rem 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem .95rem;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(5, 8, 15, .45); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 600;
}
.hero-toggle:hover { border-color: var(--gold); }
.hero-toggle .ico { width: 1rem; height: 1rem; }
.hero-toggle .ico-play { display: none; }
.hero-toggle[data-state="paused"] .ico-play { display: block; }
.hero-toggle[data-state="paused"] .ico-pause { display: none; }
.hero-note { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.hero-scroll {
  margin-left: auto; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
}
.hero-scroll span {
  width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 599px) {
  .hero-actions .btn { width: 100%; }
  .hero-note { display: none; }
  .hero-title { font-size: clamp(1.85rem, 10vw, 3rem); max-width: none; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; background: var(--gold); color: var(--gold-ink);
  border-block: 1px solid #000;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker span {
  padding: .95rem 1.6rem;
  font: 700 1rem/1 var(--f-display); font-stretch: condensed;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 1.6rem;
}
.ticker span::after { content: ""; width: 8px; height: 8px; background: var(--gold-ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section-dark { background: var(--navy); }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 820px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.section-head-row > div { max-width: 640px; }

.frame {
  position: relative; margin: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border-radius: var(--radius);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Manifesto ---------- */
.manifesto {
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 178, 82, .08), transparent 40%),
    var(--ink);
}
.manifesto-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .manifesto-grid { grid-template-columns: 1.05fr 1fr; } }
.manifesto-text .lead { margin-top: 1.5rem; }
.pillars { margin-top: 2.4rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars li { display: flex; gap: 1.2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.pillar-n {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font: 700 1rem/1 var(--f-display);
}
.pillars strong { display: block; font: 700 1.15rem/1.2 var(--f-display); font-stretch: condensed; letter-spacing: .02em; }
.pillars p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.manifesto-media { position: relative; display: grid; gap: 1.5rem; min-width: 0; }
.manifesto-field { aspect-ratio: 16 / 9; }
.manifesto-field img { object-position: 50% 57%; }
.frame-tall { aspect-ratio: 4 / 5; width: 82%; }
.frame-inset {
  position: absolute; right: 0; bottom: 0;
  width: 54%; aspect-ratio: 4 / 3;
  border: 6px solid var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
/* Logotipo oficial como peça de identidade sobre a foto de obra (quadrado inteiro, sem corte da arte) */
.frame-logo {
  width: 46%; aspect-ratio: 1 / 1;
  background: var(--logo-navy);
  border-color: var(--ink);
}
.frame-logo img { object-fit: contain; clip-path: inset(.4%); }
/* Foto aérea larga mostrada inteira (proporção do arquivo), sem corte, em qualquer largura */
.manifesto-wide { margin: 0; }
.manifesto-wide img {
  width: 100%; height: auto; aspect-ratio: 1672 / 941;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); }
.services-grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-visual { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.services-frame { aspect-ratio: 4 / 3; }
.services-frame img { object-position: 50% 40%; transition: opacity .35s ease, transform .8s var(--ease); }
.services-frame img.is-swapping { opacity: 0; transform: scale(1.03); }
.services-frame figcaption {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.2rem;
  background: var(--gold); color: var(--gold-ink);
  font: 700 1rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
}
.services-frame figcaption span:first-child { opacity: .6; }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.35rem .25rem; cursor: pointer; list-style: none;
  transition: color .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--gold); }
.acc-n { font: 600 .85rem/1 var(--f-display); color: var(--gold); letter-spacing: .1em; min-width: 1.8rem; }
.acc-t { flex: 1; font: 700 clamp(1.25rem, 2.6vw, 1.7rem)/1.1 var(--f-display); font-stretch: condensed; text-transform: uppercase; letter-spacing: .01em; }
.acc-i { position: relative; width: 22px; height: 22px; flex: none; }
.acc-i::before, .acc-i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .25s var(--ease);
}
.acc-i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc-i::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc[open] summary { color: var(--gold); }
.acc-body { padding: 0 .25rem 1.6rem 3rem; color: var(--muted); }
.acc-body ul { margin-top: .9rem; display: grid; gap: .5rem; }
.acc-body li { position: relative; padding-left: 1.3rem; color: rgba(255, 255, 255, .86); }
.acc-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--gold); }
@media (max-width: 479px) { .acc-body { padding-left: .25rem; } }

/* ---------- Projects ---------- */
/* Quadriculado de prancheta só como textura de fundo (decorativo, não representa projeto) */
.projects {
  isolation: isolate;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.projects::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(217, 178, 82, .07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(217, 178, 82, .07) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 85% 20%, #000 0%, transparent 75%);
}
.projects-top { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .projects-top { grid-template-columns: 1.05fr 1fr; } }
.projects-intro { min-width: 0; }
.projects-intro h2 { max-width: 12ch; }
.projects-intro h2 em { font-style: normal; color: var(--gold); }
.projects-intro .lead { margin-top: 1.5rem; color: rgba(255, 255, 255, .86); }
.projects-sub { margin-top: 1rem; color: var(--muted); max-width: 58ch; font-size: .95rem; }
.projects-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
@media (max-width: 599px) { .projects-actions .btn { width: 100%; text-align: center; } }

.projects-visual { position: relative; min-width: 0; padding: 0 0 clamp(.9rem, 2vw, 1.4rem) clamp(.9rem, 2vw, 1.4rem); }
.projects-visual::before {
  content: ""; position: absolute;
  inset: clamp(.9rem, 2vw, 1.4rem) clamp(.9rem, 2vw, 1.4rem) 0 0;
  border: 1px solid rgba(217, 178, 82, .5); border-radius: var(--radius);
  pointer-events: none;
}
.projects-photo { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.projects-photo img { object-position: 50% 45%; }
.projects-photo figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  max-width: calc(100% - 1rem);
  padding: .5rem .85rem;
  background: rgba(5, 8, 15, .82); color: var(--white);
  font-size: .82rem; line-height: 1.35;
}

.scopes {
  display: grid; gap: 1px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .scopes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scope {
  position: relative; min-width: 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--ink);
  transition: background .3s;
}
.scope::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 3px; background: var(--gold);
  transition: width .5s var(--ease);
}
.scope:hover { background: #080d18; }
.scope:hover::before { width: 100%; }
.scope-n {
  font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--f-display); font-stretch: condensed;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  letter-spacing: .02em;
}
@supports not (-webkit-text-stroke: 1px #000) { .scope-n { color: var(--gold); } }
.scope h3 {
  margin-top: 1rem;
  font: 700 clamp(1.3rem, 2.2vw, 1.6rem)/1.05 var(--f-display); font-stretch: condensed;
  text-transform: uppercase; letter-spacing: .01em;
  overflow-wrap: break-word;
}
.scope > p:not(.scope-n) { margin-top: .75rem; color: var(--muted); font-size: .97rem; }
.scope ul { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.scope li { position: relative; padding-left: 1.3rem; font-size: .95rem; color: rgba(255, 255, 255, .86); }
.scope li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--gold); }
.projects-note {
  margin-top: 1.5rem; padding-left: 1rem; max-width: 80ch;
  border-left: 2px solid var(--gold);
  color: var(--muted); font-size: .85rem;
}
@media (forced-colors: active) { .scope-n { color: CanvasText; -webkit-text-stroke: 0; } }

/* ---------- Stages ---------- */
.stages { background: var(--paper); color: var(--navy); }
.stages .section-sub { color: var(--muted-dark); }
.stages .kicker { color: #8a6500; }
.stages .kicker::before { background: var(--gold); }
.stages-ui { position: relative; }
.stage-tabs {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-dark);
}
.stage-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: 1rem .5rem 1.1rem 0; min-height: 48px;
  border: 0; background: none; color: var(--muted-dark);
  font: 700 clamp(.95rem, 1.6vw, 1.2rem)/1 var(--f-display); font-stretch: condensed;
  text-transform: uppercase; letter-spacing: .03em; text-align: left;
  transition: color .2s;
}
.stage-tabs button span { font-size: .78rem; letter-spacing: .14em; color: #8a6500; }
.stage-tabs button:hover, .stage-tabs button[aria-selected="true"] { color: var(--navy); }
.stage-progress { height: 4px; background: rgba(10, 20, 38, .08); margin-bottom: 2.2rem; }
.stage-progress span { display: block; height: 100%; width: calc(100% / 6); background: var(--gold); transition: width .45s var(--ease); }
.stage-panel {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  border-radius: var(--radius);
}
.stage-panel:focus-visible { outline-offset: 8px; }
@media (min-width: 900px) { .stage-panel { grid-template-columns: 1.4fr 1fr; } }
.stage-panel.is-entering .stage-img, .stage-panel.is-entering .stage-copy { animation: stageIn .5s var(--ease) both; }
.stage-panel.is-entering .stage-copy { animation-delay: .08s; }
@keyframes stageIn { from { opacity: 0; transform: translateY(14px); } }
.stage-img { aspect-ratio: 16 / 10; box-shadow: 0 30px 60px rgba(10, 20, 38, .18); }
/* Retrato + paisagem lado a lado na mesma moldura */
.stage-img--pair { display: grid; grid-template-columns: 2fr 3fr; grid-template-rows: minmax(0, 1fr); gap: 4px; background: var(--paper); }
.stage-img--pair img { min-width: 0; }
.stage-img figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  max-width: calc(100% - 1rem);
  padding: .5rem .85rem;
  background: rgba(5, 8, 15, .82); color: var(--white);
  font-size: .82rem; line-height: 1.35;
}
.stage-n { font: 600 .8rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #8a6500; }
.stage-copy h3 { margin-top: .8rem; font: 700 clamp(1.8rem, 3.6vw, 2.8rem)/1 var(--f-display); font-stretch: condensed; text-transform: uppercase; }
.stage-copy > p:not(.stage-n) { margin-top: 1rem; color: var(--muted-dark); font-size: 1.05rem; }
.ticks { margin-top: 1.4rem; display: grid; gap: .55rem; }
.ticks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 2px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%231a1300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.stage-nav { display: flex; gap: .6rem; margin-top: 2rem; }
.stage-nav .icon-btn { border-color: var(--line-dark); background: var(--white); color: var(--navy); }
.stage-nav .icon-btn:hover { background: var(--gold); border-color: var(--gold); }
@media (max-width: 719px) {
  .stage-tabs {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .stage-tabs button { flex: none; scroll-snap-align: start; padding-right: 1.4rem; }
  .stage-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--gold); }
}

/* ---------- Fotos das obras (galeria geral) ---------- */
.photos { background: var(--ink); }
.gallery {
  display: grid; gap: clamp(.5rem, 1.2vw, .9rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 400px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g-item { min-width: 0; }
.g-btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 3; padding: 0; overflow: hidden;
  border: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  cursor: zoom-in; touch-action: manipulation;
}
.g-btn img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.g-btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 8, 15, .55), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
/* Ícone de ampliar (decorativo) */
.g-btn::after {
  content: ""; position: absolute; right: .7rem; bottom: .7rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231a1300' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.05); }
.g-btn:hover::before, .g-btn:focus-visible::before,
.g-btn:hover::after, .g-btn:focus-visible::after { opacity: 1; transform: none; }
.g-btn:focus-visible { outline-offset: 2px; }
@media (hover: none) {
  .g-btn::after { opacity: .9; transform: none; width: 32px; height: 32px; background-size: 15px; right: .5rem; bottom: .5rem; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: rgba(5, 8, 15, .97); color: var(--white);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: menuIn .25s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lb-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--pad);
}
.lb-count { font: 600 .85rem/1 var(--f-display); letter-spacing: .18em; color: var(--muted); }
.lb-stage {
  margin: 0; min-height: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: .9rem;
  padding: 0 clamp(.75rem, 7vw, 6rem) 1.25rem;
}
.lb-stage img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  min-height: 0; align-self: center; object-fit: contain;
  border-radius: var(--radius);
}
.lb-stage figcaption {
  max-width: 60ch; text-align: center;
  font-size: .92rem; line-height: 1.4; color: rgba(255, 255, 255, .86);
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(5, 8, 15, .6);
}
.lb-prev { left: clamp(.4rem, 1.5vw, 1.25rem); }
.lb-next { right: clamp(.4rem, 1.5vw, 1.25rem); }
@media (max-width: 599px) {
  .lb-stage { padding-bottom: 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}

/* ---------- Films ---------- */
.films { background: linear-gradient(180deg, var(--ink), var(--navy)); }
.video-shell {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000;
}
.video-shell video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.film-main { margin: 0; }
.film-main .video-shell { box-shadow: 0 40px 80px rgba(0, 0, 0, .5); outline: 1px solid var(--line); }
.film-main figcaption, .clips figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  padding-top: .9rem; font-size: .9rem; color: var(--muted);
}
.film-main figcaption b, .clips figcaption b {
  font: 700 1rem/1.2 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--white);
}
.clips {
  display: grid; gap: 1.25rem; margin-top: clamp(2rem, 5vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.clips figure { margin: 0; }

/* ---------- Statement ---------- */
.statement {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(80vh, 720px);
  display: grid; align-items: end;
  background: var(--navy-2);
}
.statement-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(5, 8, 15, .95) 5%, rgba(5, 8, 15, .5) 55%, rgba(5, 8, 15, .25));
}
.statement-inner { padding-block: clamp(4rem, 10vw, 7rem); }
.statement-inner h2 { max-width: 18ch; margin-bottom: 2rem; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(135deg, rgba(217, 178, 82, .06) 0, transparent 40%),
    var(--navy);
}
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-main .lead { margin-top: 1.4rem; }
.wa-card {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2.2rem; padding: 1.2rem 1.3rem;
  background: var(--gold); color: var(--gold-ink); text-decoration: none;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .2s;
}
.wa-card:hover { transform: translateY(-3px); background: var(--gold-2); }
.wa-ico { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--gold-ink); color: var(--gold); border-radius: 50%; }
.wa-ico .ico { width: 28px; height: 28px; }
.wa-txt { display: grid; min-width: 0; }
.wa-txt small { font: 600 .78rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.wa-txt strong { font: 700 clamp(1.4rem, 5vw, 2.1rem)/1.1 var(--f-display); font-stretch: condensed; letter-spacing: .02em; }
.wa-go { margin-left: auto; }
.wa-go .ico { width: 28px; height: 28px; }
.contact-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.contact-list span { font: 600 .78rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; text-decoration: none; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 379px) { .contact-list li { grid-template-columns: 1fr; gap: .35rem; } }
/* Faixa discreta com duas fotos reais de equipe (paisagem + retrato) */
.contact-photos { margin: 2rem 0 0; }
.contact-photos-pair {
  display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: minmax(0, 1fr); gap: 4px;
  aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
}
.contact-photos-pair img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.contact-photos figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); }

.quote-form {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.quote-form h3 { font: 700 1.6rem/1.1 var(--f-display); font-stretch: condensed; text-transform: uppercase; }
.form-hint { margin-top: .6rem; color: var(--muted); font-size: .92rem; }
.field { margin: 1.25rem 0 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block; margin-bottom: .45rem; padding: 0;
  font: 600 .8rem/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase;
}
.opt { color: var(--muted); letter-spacing: .05em; text-transform: none; }
.field input[type="text"], .field textarea {
  width: 100%; min-height: 50px; padding: .8rem .95rem;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #ff7a6b; }
.chips-choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-choice label { position: relative; margin: 0; cursor: pointer; letter-spacing: .08em; }
.chips-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips-choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .95rem;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.chips-choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.chips-choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.chips-choice label:hover span { border-color: var(--gold); }
.form-error { min-height: 1.4em; margin: 1rem 0 .4rem; color: #ffb2a8; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1.4fr 1fr; } }
.footer-logo {
  width: clamp(132px, 16vw, 176px); height: auto;
  border-radius: var(--radius);
  clip-path: inset(.4% round var(--radius)); /* esconde o filete claro da borda da arte */
}
.footer-brand p { margin-top: 1rem; color: var(--muted); max-width: 32ch; }
.footer-title { font: 600 .8rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-group ul { display: grid; gap: .7rem; }
.footer-group a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-group a b { color: var(--white); }
.footer-group a:hover { color: var(--white); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-base a { color: var(--gold); text-decoration: none; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .btn:hover, .wa-card:hover { transform: none; }
}

@media (forced-colors: active) {
  .brand-mark, .btn-gold { forced-color-adjust: none; }
}
