/* Cordas que acolhem — portfólio online */

:root {
  --forest: #0F3B2A;
  --forest-2: #164A36;
  --forest-3: #0B2F21;
  --green: #145C3D;
  --paper: #F8F4EC;
  --paper-2: #F1EADC;
  --card: #FFFDF8;
  --ink: #24322A;
  --muted: #5E6B62;
  --line: #E3D9C6;
  --line-strong: #D2C5AB;
  --gold: #F2C438;
  --coral: #E66345;
  --coral-ink: #A9412A;
  --on-dark: #F8F4EC;
  --on-dark-muted: #BFD3C7;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --space-section: clamp(88px, 11vw, 148px);
  --header-h: 80px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--green);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
button { font: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Acessibilidade ---------- */
.hero, .section--dark, .site-footer, .mobile-menu, .role, .lightbox,
.site-header:not(.is-solid), .site-header.menu-open { --focus: var(--gold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:focus { scroll-margin-top: 110px; scroll-margin-bottom: 40px; }
main:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--forest); padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; outline-color: var(--forest); }

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

/* Textura de papel sutil nas áreas escuras */
.grain { isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--noise); opacity: .05;
}

/* ---------- Tipografia ---------- */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.04; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); color: var(--green); }
h1 em, h2 em { font-style: italic; }
h3 { font: 700 1.25rem/1.3 var(--sans); color: var(--green); }
h4 { font: 700 1.0625rem/1.35 var(--sans); color: var(--green); }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font: 800 .8125rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-ink);
}
.eyebrow::before { content: ""; width: 40px; height: 1.5px; background: currentColor; flex: none; }
.eyebrow--gold, .section--dark .eyebrow { color: var(--gold); }

.label {
  font: 800 .8125rem/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink);
}
.section--dark .label, .role .label { color: var(--gold); }

.section { position: relative; padding-block: var(--space-section); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--forest); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark h2 em { color: var(--gold); }

.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head .intro { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 1.1875rem; line-height: 1.6; }
.section--dark .section-head .intro { color: var(--on-dark-muted); }
.section-head--sub { margin-top: clamp(96px, 12vw, 160px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--gold { background: var(--gold); color: var(--forest); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(242, 196, 56, .28); }
.btn--gold:hover .icon { transform: translateX(4px); }
.btn--ghost { border-color: rgba(248, 244, 236, .35); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(248, 244, 236, .08); border-color: rgba(248, 244, 236, .75); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark);
  transition: transform .45s var(--ease), background-color .35s, box-shadow .35s, color .35s;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-solid {
  background: rgba(248, 244, 236, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(15, 59, 42, .35);
  color: var(--green);
}
.site-header.is-solid .header-inner { height: 66px; }
.site-header.is-hidden:not(.menu-open) { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand-mark { position: relative; flex: none; width: 48px; height: 37px; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.brand-mark--dark { opacity: 0; }
.site-header.is-solid:not(.menu-open) .brand-mark--light { opacity: 0; }
.site-header.is-solid:not(.menu-open) .brand-mark--dark { opacity: 1; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font: 400 1.5rem/1 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.brand-tag { font: 700 .625rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .78; white-space: nowrap; }

.nav-list { display: flex; gap: 2px; }
.nav-list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; border-radius: 8px; white-space: nowrap;
}
.header-cta { white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1299px) { .brand-tag { display: none; } }
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
.site-header:not(.is-solid) .nav-list a[aria-current] { color: var(--gold); }

.header-cta { background: var(--gold); color: var(--forest); }
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242, 196, 56, .3); }
.site-header.is-solid .header-cta { background: var(--green); color: var(--paper); }
.site-header.is-solid .header-cta:hover { background: var(--forest); box-shadow: 0 10px 24px rgba(15, 59, 42, .25); }

.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; opacity: 0; transition: opacity .3s; }
.site-header.is-solid .progress { opacity: 1; }
.progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--coral));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1179px) {
  .nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .35s var(--ease), background-color .2s;
  }
  .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; width: 16px; }
  .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 { width: 24px; transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: block; position: fixed; inset: 0; z-index: -1; overflow-y: auto;
    background: var(--forest); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .mobile-menu-inner {
    min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    padding-block: calc(var(--header-h) + 24px) 40px;
  }
  .mobile-nav li { border-top: 1px solid rgba(248, 244, 236, .14); }
  .mobile-nav li:last-child { border-bottom: 1px solid rgba(248, 244, 236, .14); }
  .mobile-nav a {
    display: flex; align-items: baseline; gap: 20px; padding-block: 18px; text-decoration: none;
    font: 400 clamp(2rem, 8vw, 3rem)/1.1 var(--serif);
    opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
  }
  .mobile-menu.is-open .mobile-nav a { opacity: 1; transform: none; }
  .mobile-nav li:nth-child(2) a { transition-delay: 50ms; }
  .mobile-nav li:nth-child(3) a { transition-delay: 100ms; }
  .mobile-nav li:nth-child(4) a { transition-delay: 150ms; }
  .mobile-nav li:nth-child(5) a { transition-delay: 200ms; }
  .mobile-nav a[aria-current], .mobile-nav a:hover { color: var(--gold); }
  .mobile-num { font: 800 .75rem/1 var(--sans); letter-spacing: .16em; color: var(--gold); }
  .mobile-menu-foot { display: grid; gap: 4px; color: var(--on-dark-muted); }
  .mobile-menu-foot a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
  .site-header.menu-open { background: transparent; box-shadow: none; color: var(--on-dark); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.menu-open .progress { opacity: 0; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid; align-content: center; min-height: min(100svh, 1040px);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(150px, 14vw, 210px);
  background:
    radial-gradient(900px 560px at 86% 14%, rgba(242, 196, 56, .10), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(20, 92, 61, .55), transparent 70%),
    var(--forest);
  color: var(--on-dark);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.hero-logo { width: clamp(124px, 12vw, 176px); margin-bottom: 32px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { color: var(--gold); }
.lead { max-width: 560px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-visual { position: relative; }
.hero-frame img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  animation: unveil 1.5s var(--ease) .25s both;
}
.hero-frame { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero-badge {
  position: absolute; left: -36px; bottom: 48px; z-index: 2; max-width: 270px;
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px;
  background: var(--paper); color: var(--green); box-shadow: 0 24px 48px rgba(0, 0, 0, .28);
  font: 600 .9375rem/1.35 var(--sans);
  animation: rise .9s var(--ease) 1.1s both;
}
.hero-badge strong { font: 400 3.25rem/1 var(--serif); }
[data-hero] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }

.hero-foot {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none;
  font: 800 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted);
  transition: color .25s;
}
.scroll-cue:hover { color: var(--gold); }
.scroll-line { position: relative; overflow: hidden; width: 56px; height: 1px; background: rgba(248, 244, 236, .3); }
.scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: slide 2.6s var(--ease) infinite;
}
.motion-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(248, 244, 236, .25); border-radius: 999px; background: transparent;
  color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600; cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.motion-toggle:hover { color: var(--on-dark); border-color: rgba(248, 244, 236, .6); }
.motion-toggle .icon { width: 18px; height: 18px; }
.motion-toggle .icon-play { display: none; }
.motion-paused .motion-toggle .icon-play { display: block; }
.motion-paused .motion-toggle .icon-pause { display: none; }
.motion-paused .scroll-line::after { animation-play-state: paused; }

.strings { position: absolute; left: 0; bottom: 0; z-index: -1; width: 100%; height: clamp(90px, 12vw, 160px); pointer-events: none; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slide { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes unveil {
  from { opacity: 0; transform: scale(1.06); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 28px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Efeitos de imagem ---------- */
/* Moldura deslocada (passe-partout) */
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border: 1px solid var(--frame-color);
  border-radius: var(--radius-lg); transform: translate(18px, 18px); transition: transform .7s var(--ease);
}
.frame > img, .frame > picture { position: relative; z-index: 1; }
.frame:hover::before { transform: translate(10px, 10px); }
.frame--gold { --frame-color: rgba(242, 196, 56, .6); }
.frame--coral { --frame-color: rgba(230, 99, 69, .6); }

/* Gradação de cor única para as fotos (as luzes de palco variam muito) */
.photo { filter: saturate(.9) contrast(1.04) sepia(.07); transition: filter .7s var(--ease), transform 1.2s var(--ease), clip-path 1.3s var(--ease); }

/* Revelação em cortina ao rolar */
.js .fx-img img { clip-path: inset(0 0 100% 0); transform: scale(1.14); }
.js .fx-img.is-visible img, .js .is-visible > .fx-img img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js [data-reveal].fx-img { opacity: 1; transform: none; }
/* Dentro de molduras a imagem só "abre", sem zoom, para não vazar da moldura */
.js .frame.fx-img img { transform: none; }
.manifesto-art { overflow: hidden; }

/* ---------- Números ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 48px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 400 clamp(3rem, 5vw, 4.75rem)/1 var(--serif); color: var(--green); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .9375rem; line-height: 1.45; }

@media (max-width: 1099px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .stat, .stat:first-child { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n + 3) { border-top: 0; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- O projeto ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.prose h2 { margin-bottom: 30px; }
.prose h2 em { color: var(--coral-ink); }
.prose p:not(.eyebrow) { max-width: 620px; font-size: 1.1875rem; line-height: 1.75; }
.prose p + p { margin-top: 20px; }
.barriers {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgba(15, 59, 42, .3);
}
.barriers ul { margin-top: 8px; }
.barriers li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); }
.barriers li:first-child { border-top: 0; }
.barriers li p { margin-top: 4px; color: var(--muted); }
.barrier-num { font: italic 400 1.5rem/1 var(--serif); color: var(--coral-ink); }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Manifesto (frase + ilustração) ---------- */
.manifesto { position: relative; background: #FDF9EF; padding-top: var(--space-section); overflow: hidden; }
.manifesto-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ornament { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.ornament span { width: clamp(48px, 10vw, 120px); height: 1px; background: var(--line-strong); }
.ornament img { width: 58px; }
.manifesto blockquote { max-width: 1040px; }
.manifesto blockquote p { font: italic 400 clamp(2rem, 4.2vw, 3.75rem)/1.14 var(--serif); letter-spacing: -.01em; color: var(--green); }
.manifesto blockquote footer { margin-top: 28px; }
.manifesto-art { margin-top: clamp(8px, 2vw, 24px); }
.manifesto-art img { width: 100%; aspect-ratio: 1536 / 600; object-fit: cover; object-position: 50% 100%; transition: clip-path 1.6s var(--ease), transform 2s var(--ease); }

@media (max-width: 700px) { .manifesto-art img { aspect-ratio: 4 / 3; } }

/* ---------- Objetivos ---------- */
.objectives { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.objective-main .statement { margin-top: 18px; font: 400 clamp(1.75rem, 2.8vw, 2.5rem)/1.24 var(--serif); color: var(--green); }
.objective-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line-strong); }
.objective-list li:first-child { padding-top: 0; border-top: 0; }
.objective-list p { margin-top: 8px; color: var(--muted); }
.num { font: 400 2.5rem/1 var(--serif); color: var(--coral-ink); }

@media (max-width: 900px) { .objectives { grid-template-columns: 1fr; } }

/* ---------- Público ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.place {
  display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding: 0 32px 36px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.place::before { content: ""; height: 6px; margin: 0 -32px 18px; background: var(--accent); }
.place:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -24px rgba(15, 59, 42, .28); }
.place-count { display: flex; align-items: baseline; gap: 12px; }
.place-count strong { font: 400 5.5rem/.9 var(--serif); color: var(--green); }
.place > p:last-child { color: var(--muted); }
.note { max-width: 820px; margin-top: 40px; color: var(--muted); font-size: 1.125rem; }

@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Formato ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 32px; right: calc((100% - 96px) / 4 - 32px);
  height: 1.5px; background: var(--line-strong); transform-origin: left; transition: transform 1.4s var(--ease) .2s;
}
.js .steps::before { transform: scaleX(0); }
.js .steps.is-visible::before { transform: scaleX(1); }
.step-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--forest); color: var(--gold); box-shadow: 0 0 0 8px var(--paper-2);
  transition: transform .45s var(--ease);
}
.step:hover .step-icon { transform: translateY(-4px); }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { margin: 26px 0 10px; }
.step p { color: var(--muted); }
.duration {
  display: flex; align-items: center; gap: 32px; margin-top: 60px; padding: 28px 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.duration .label { flex: none; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .duration { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Repertório ---------- */
.section--band { padding-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 72px; }
.rule-item { padding-top: 22px; border-top: 1.5px solid var(--coral); }
.rule-item p { margin-top: 10px; color: var(--muted); }
.band { width: 100%; height: clamp(110px, 14vw, 200px); object-fit: cover; margin-top: var(--space-section); }

@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Acessibilidade ---------- */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.access-item {
  display: flex; flex-direction: column; gap: 14px; padding: 34px;
  background: rgba(248, 244, 236, .04); border: 1px solid rgba(248, 244, 236, .12); border-radius: var(--radius);
  transition: background-color .35s, border-color .35s, transform .45s var(--ease);
}
.access-item:hover { background: rgba(248, 244, 236, .08); border-color: rgba(242, 196, 56, .4); transform: translateY(-4px); }
.access-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(242, 196, 56, .14); color: var(--gold); }
.access-item p { color: var(--on-dark-muted); }

@media (max-width: 960px) { .access-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .access-grid { grid-template-columns: 1fr; } }

/* ---------- Metas ---------- */
.goals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.goal { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 1.5px solid var(--green); }
.goal .num-xl { margin: 6px 0; font: 400 clamp(4rem, 6vw, 6rem)/.95 var(--serif); color: var(--green); font-variant-numeric: tabular-nums; }
.goal h3 { font-size: 1.125rem; }
.goal p { color: var(--muted); font-size: .9375rem; }

@media (max-width: 1099px) { .goals { grid-template-columns: repeat(3, 1fr); row-gap: 48px; } }
@media (max-width: 699px) { .goals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .goals { grid-template-columns: 1fr; } }

/* ---------- Cronograma ---------- */
.gantt { --label: 340px; border-bottom: 1px solid var(--line); }
.gantt-head, .gantt-row { display: grid; grid-template-columns: var(--label) 1fr; gap: 28px; align-items: center; }
.gantt-months { display: grid; grid-template-columns: 28fr 31fr 30fr 10fr; }
.gantt-months span {
  padding: 0 0 14px 10px; border-left: 1px solid var(--line-strong); white-space: nowrap;
  font: 800 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.gantt-row { padding-block: 16px; border-top: 1px solid var(--line); transition: background-color .25s; }
.gantt-row:hover { background: rgba(241, 234, 220, .6); }
.gantt-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gantt-label strong { color: var(--green); }
.gantt-label span { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gantt-track {
  position: relative; height: 28px;
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 28.28% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 59.6% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 89.9% 0 / 1px 100% no-repeat;
}
.gantt-bar {
  position: absolute; top: 2px; left: var(--s); width: var(--w); height: 24px; border-radius: 12px; background: var(--c);
  transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 130ms + 150ms);
}
.js .gantt-bar { transform: scaleX(0); }
.js .gantt.is-visible .gantt-bar { transform: scaleX(1); }
.js .gantt[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .gantt-head, .gantt-row { grid-template-columns: 1fr; gap: 10px; }
  .gantt-head > span { display: none; }
  .gantt-label { flex-wrap: wrap; }
}

/* ---------- Quem faz ---------- */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 104px); align-items: start; }
.feature-media { position: sticky; top: 110px; }
.feature-media .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); }
.feature-media figcaption { margin-top: 30px; color: var(--muted); font-size: .8125rem; }
.lead-serif { margin: 18px 0 22px; font: italic 400 clamp(1.5rem, 2.4vw, 2.125rem)/1.25 var(--serif); color: var(--coral-ink); }
.body-lg { font-size: 1.125rem; line-height: 1.75; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.fact { padding-top: 14px; border-top: 1.5px solid var(--coral); }
.fact dd { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 52px; }
.cv ul { margin-top: 12px; }
.cv li { display: grid; gap: 2px; padding-block: 14px; border-top: 1px solid var(--line-strong); }
.cv li strong { color: var(--green); }
.cv li span { color: var(--muted); font-size: .875rem; }
.role {
  position: relative; display: flex; align-items: center; gap: 24px; margin-top: 44px; padding: 26px 30px;
  background: var(--forest); color: var(--on-dark); border-radius: var(--radius);
}
.role img { width: 78px; height: 78px; flex: none; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 3px solid var(--gold); }
.role .label { margin-bottom: 6px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member {
  overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -24px rgba(15, 59, 42, .3); }
.member-photo { overflow: hidden; }
.member-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.member:hover .member-photo img { transform: scale(1.06); filter: saturate(1.05) contrast(1.02); }
.member-body { display: grid; gap: 6px; padding: 22px 24px 26px; }
.member h3 { font-size: 1.1875rem; }
.member .label { font-size: .75rem; }
.member-body p:last-child { color: var(--muted); font-size: .9375rem; }

@media (max-width: 1099px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { position: static; max-width: 460px; }
}
@media (max-width: 640px) {
  .facts, .cv { grid-template-columns: 1fr; gap: 20px; }
  .role { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* ---------- Trajetória (galeria) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 16px; }
.gallery li { overflow: hidden; border-radius: var(--radius); }
.g-1 { grid-column: span 2; grid-row: span 2; }
.g-2 { grid-column: span 2; }
.gallery-btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit;
  background: none; cursor: zoom-in;
}
.gallery-btn:focus-visible { outline-offset: -5px; }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 36, 25, .55), transparent 55%); opacity: 0; transition: opacity .45s var(--ease);
}
.gallery .gallery-btn:hover img, .gallery .gallery-btn:focus-visible img { transform: scale(1.06); filter: saturate(1.05) contrast(1.02); }
.gallery-btn:hover::after, .gallery-btn:focus-visible::after { opacity: 1; }
.gallery-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 59, 42, .8); color: var(--gold);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery-zoom .icon { width: 20px; height: 20px; }
.gallery-btn:hover .gallery-zoom, .gallery-btn:focus-visible .gallery-zoom { opacity: 1; transform: none; }
.gallery-caption { margin-top: 22px; color: var(--on-dark-muted); font-size: .875rem; }

@media (hover: none) { .gallery-zoom { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(130px, 34vw, 220px); }
  .g-1 { grid-row: span 1; }
}

/* Lightbox */
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--on-dark); overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 26, 18, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { display: grid; justify-items: center; gap: 16px; padding: 72px clamp(16px, 8vw, 96px) 32px; }
.lightbox-figure img { max-width: min(1200px, 100%); max-height: calc(100vh - 180px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.lightbox[open] .lightbox-figure img { animation: lb-in .45s var(--ease); }
.lightbox figcaption { max-width: 720px; text-align: center; color: var(--on-dark-muted); font-size: .9375rem; }
.lightbox-count { margin-left: 8px; color: var(--gold); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(248, 244, 236, .3); background: rgba(15, 59, 42, .7); color: var(--on-dark);
  transition: background-color .25s, border-color .25s;
}
.lb-btn:hover { background: var(--green); border-color: var(--gold); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-figure { padding-bottom: 96px; }
}

/* ---------- Contato ---------- */
.contact-section { overflow: hidden; padding-bottom: clamp(150px, 14vw, 210px); background: var(--forest-3); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.contact-media .frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.contact-person { margin-top: 18px; color: var(--on-dark-muted); font-size: 1.0625rem; }
.contact-person strong { color: var(--on-dark); }
.contact-list { display: grid; gap: 10px; margin-top: 36px; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; text-decoration: none; }
.contact-list a { min-height: 48px; transition: color .25s; }
.contact-list a:hover { color: var(--gold); }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: .8125rem; }
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: rgba(242, 196, 56, .14); color: var(--gold); transition: background-color .25s, color .25s;
}
.contact-list a:hover .ico { background: var(--gold); color: var(--forest); }

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

/* ---------- Rodapé ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 96px); background: #082419; color: var(--on-dark-muted); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 132px; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; font: italic 400 1.5rem/1.3 var(--serif); color: var(--on-dark); }
.footer-title { margin-bottom: 16px; font: 800 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.site-footer ul { display: grid; gap: 2px; }
.site-footer li { display: flex; align-items: center; min-height: 40px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px;
  border-top: 1px solid rgba(248, 244, 236, .12); font-size: .8125rem;
  padding-right: 84px; /* espaço para o botão "voltar ao topo" */
}
@media (max-width: 640px) { .footer-bottom { padding-right: 0; padding-bottom: 96px; } }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 40;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--paper); box-shadow: 0 14px 32px rgba(15, 59, 42, .32);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s var(--ease), background-color .25s; }
.to-top:hover { background: var(--forest); }
.to-top:focus-visible { outline: 2px solid var(--paper); outline-offset: 0; box-shadow: 0 0 0 5px var(--gold); }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .fx-img img { clip-path: none; transform: none; }
  .js .gantt-bar, .js .steps::before { transform: none; }
  .hero-frame { transform: none; }
}
