/* ==========================================================================
   Pires & Bodanese — Desenvolvimento Imobiliário
   Linguagem visual baseada no template Inteo (Playfair Display + Outfit, bronze)
   ========================================================================== */

@font-face { font-family: 'Outfit'; src: url('../fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --ink: #2C2C2C;
  --ink-2: #565656;
  --muted: #86807A;
  --line: #E6E0D8;
  --line-2: #D8D0C5;
  --paper: #FFFFFF;
  --sand: #F4F0EC;
  --sand-2: #ECE5DC;
  --bronze: #996830;        /* botões, acentos */
  --bronze-2: #7F5526;      /* hover */
  --bronze-t: #8A5C29;      /* texto pequeno em bronze (contraste AA) */
  --clay: #C4A386;
  --night: #1E1C1A;
  --night-2: #2A2724;
  --cream: #F1ECE4;
  --cream-2: #B9B0A4;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --max: 1260px;
  --pad: clamp(20px, 5vw, 64px);
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; color: inherit; letter-spacing: -0.015em; line-height: 1.12; }
h1 em, h2 em, h3 em, h4 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.bg-sand { background: var(--sand); }
.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; }

/* -------------------------------------------------------------- tipografia */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze-t); margin: 0 0 24px;
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .75; flex: none; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .75; flex: none; }
.h1 { font-size: clamp(40px, 5.9vw, 80px); line-height: 1.07; letter-spacing: -0.02em; font-weight: 400; }
.h2 { font-size: clamp(36px, 4.7vw, 64px); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.sub-serif { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.4; color: var(--ink-2); margin: 18px 0 28px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--ink-2); }
.body-2 { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.6; }
.disclaimer { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 720px; }

/* -------------------------------------------------------------- botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--bronze); color: #fff;
  font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 19px 28px; border-radius: 0;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--bronze-2); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 13px 18px; font-size: 11.5px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: #fff; }
.link-serif {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 26px);
  color: var(--bronze-t); position: relative; display: inline-flex; align-items: center; gap: 10px; line-height: 1.2;
}
.link-serif::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(.35); transition: transform .45s var(--ease); }
.link-serif:hover::after { transform: scaleX(1); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 999px; border: 1px solid currentColor; color: var(--bronze-t);
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-solid::before { background: #7ED29A; }

/* -------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(0, 0, 0, .25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: clamp(168px, 16vw, 210px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  position: relative; padding: 8px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative; transition: transform .35s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 49; background: var(--paper);
  display: flex; flex-direction: column; padding: 34px var(--pad) 40px; gap: 6px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 32px; line-height: 1.3; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a:not(.btn) small { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--bronze-t); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* -------------------------------------------------------------- hero */
.hero { padding-top: calc(var(--header) + clamp(44px, 7vw, 96px)); }
.hero-head { text-align: center; max-width: 1180px; }
.hero-head .lead { max-width: 640px; margin: 28px auto 0; }
.hero-cta { display: flex; gap: 30px; justify-content: center; align-items: center; margin-top: 38px; flex-wrap: wrap; }
.hero-media { position: relative; margin-top: clamp(52px, 7vw, 88px); height: clamp(440px, 76vh, 880px); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.08); animation: heroIn 2.6s var(--ease) .1s forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 16, 14, 0) 52%, rgba(18, 16, 14, .6) 100%); pointer-events: none; }
.hero-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-lines::before, .hero-lines::after { content: ""; position: absolute; background: rgba(255, 255, 255, .28); }
.hero-lines::before { left: var(--pad); right: var(--pad); bottom: 92px; height: 1px; }
.hero-lines::after { top: 0; bottom: 0; left: calc(50% + min(630px, 50vw - var(--pad))); width: 1px; opacity: 0; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 34px; color: #fff; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  font: 500 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.hero-caption strong { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 22px; margin-right: 12px; }
.hero-caption .muted { opacity: .8; }
.hero-caption .pill { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-caption .pill::before { background: #7ED29A; }
.rotor {
  position: absolute; z-index: 3; width: clamp(108px, 10vw, 142px); aspect-ratio: 1; right: clamp(20px, 7vw, 110px); top: 0; transform: translateY(-50%);
  background: var(--paper); border-radius: 50%; box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .35);
  display: grid; place-items: center;
}
.rotor svg.ring { position: absolute; inset: 7%; width: 86%; height: 86%; animation: spin 26s linear infinite; }
.rotor .mono { width: 44%; }
@keyframes spin { to { transform: rotate(360deg); } }

.numbers-band { background: var(--ink); color: #fff; }
.numbers-band .container { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: 30px; padding-bottom: 30px; }
.band-label { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--clay); display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.band-label::after { content: ""; width: 48px; height: 1px; background: rgba(255, 255, 255, .35); }
.band-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
.band-list strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; white-space: nowrap; }
.band-list span { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .72); }

/* -------------------------------------------------------------- 01 empresa */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-text .h2 { margin-bottom: 30px; }
.about-text p { color: var(--ink-2); }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.about-media .imgbox { overflow: hidden; }
.about-media .m1 .imgbox { aspect-ratio: 3 / 4.2; }
.about-media .m2 { margin-top: 110px; }
.about-media .m2 .imgbox { aspect-ratio: 3 / 3.8; }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media figure:hover img { transform: scale(1.04); }
.about-media figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }

.process { margin-top: clamp(80px, 10vw, 130px); }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.process-head .h2 { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); padding: 30px 28px 34px; background: var(--paper); transition: border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 40px -34px rgba(0, 0, 0, .35); }
.step .ico { width: 38px; height: 38px; color: var(--bronze); margin-bottom: 44px; }
.step .num { font: 600 12px/1 var(--sans); letter-spacing: .16em; color: var(--bronze-t); display: block; margin-bottom: 14px; }
.step h3 { font-size: 27px; margin-bottom: 12px; }
.step p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }

/* -------------------------------------------------------------- 02 ville (escuro) */
.dark { background: var(--night); color: var(--cream); }
.dark .eyebrow { color: var(--clay); }
.dark .sub-serif { color: var(--cream-2); }
.dark p { color: rgba(241, 236, 228, .78); }
.dark .pill { color: var(--clay); }
.ville-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 70px); }
.ville-head .h2 { font-size: clamp(46px, 7vw, 104px); line-height: 1; }
.ville-head .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 12px; }
.ville-head .meta .sub-serif { margin: 0; }
.ville-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.ville-main { position: relative; overflow: hidden; min-height: 420px; }
.ville-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ville-main:hover img { transform: scale(1.03); }
.ville-main figcaption, .fig-cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font: 500 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(20, 18, 16, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 12px;
}
.ville-side { display: flex; flex-direction: column; gap: 28px; }
.ville-side .ville-night { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.ville-side .ville-night img { width: 100%; height: 100%; object-fit: cover; }
.ville-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .14); }
.ville-cards li { padding: 30px 30px 6px 0; }
.ville-cards li + li { padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .14); }
.ville-cards .num { font: 600 12px/1 var(--sans); letter-spacing: .16em; color: var(--clay); display: block; margin-bottom: 16px; }
.ville-cards h3 { font-size: 26px; margin-bottom: 10px; color: var(--cream); }
.ville-cards p { font-size: 15.5px; line-height: 1.65; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 90px); }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 12px; font: 600 12px/1.45 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.stats-light .stat span { color: var(--muted); }
.strip { margin-top: clamp(56px, 7vw, 90px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); }
.strip button { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; display: block; text-align: left; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.92); }
.strip button:hover img { transform: scale(1.05); filter: saturate(1.05); }
.strip .fig-cap { left: 12px; bottom: 12px; }
.ville-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: clamp(56px, 7vw, 90px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); flex-wrap: wrap; }
.ville-foot .h3 { color: var(--cream); max-width: 720px; margin-bottom: 12px; }
.ville-foot p { margin: 0; }

/* -------------------------------------------------------------- novos projetos: índice */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.intro-grid .lead { margin: 0; max-width: 520px; justify-self: end; }
.index { border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 70px 1.3fr 1fr auto 40px; align-items: center; gap: 24px;
  padding: 26px 8px; position: relative; transition: background .35s var(--ease), padding .35s var(--ease);
}
.index a:hover { background: var(--sand); padding-left: 22px; padding-right: 22px; }
.index .idx { font: 600 13px/1 var(--sans); letter-spacing: .14em; color: var(--bronze-t); }
.index .name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.index .tag { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.index .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.index a:hover .arrow { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: rotate(-45deg); }
.index .thumb { position: absolute; right: 120px; top: 50%; width: 220px; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0; transform: translateY(-50%) scale(.94) rotate(-2deg); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); z-index: 2; }
.index a:hover .thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(-2deg); }

/* -------------------------------------------------------------- projetos */
.project-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.project.reverse .project-grid { grid-template-columns: 7fr 5fr; }
.project.reverse .project-text { order: 2; }
.project.reverse .project-media { order: 1; }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.project-top .eyebrow { margin: 0; }
.project-text p { color: var(--ink-2); }
.project-text .btn { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.chips li { font-size: 13.5px; line-height: 1; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .6); }
.project-media { position: relative; }
.pm-main { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.pm-main .fig-cap { left: 14px; top: 14px; bottom: auto; }
.pm-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pm-main:hover img { transform: scale(1.035); }
.pm-second { position: absolute; width: 42%; aspect-ratio: 16 / 11; overflow: hidden; right: -3%; bottom: -12%; border: 8px solid var(--paper); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); }
.bg-sand .pm-second { border-color: var(--sand); }
.project.reverse .pm-second { right: auto; left: -3%; }
.pm-second img { width: 100%; height: 100%; object-fit: cover; }
.img-note { display: block; margin-top: 14px; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.project .cards { margin-top: clamp(80px, 9vw, 120px); }
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); border-top: 1px solid var(--line-2); }
.cards li { padding: 30px 28px 4px 0; }
.cards li + li { padding-left: 28px; border-left: 1px solid var(--line-2); }
.cards .num { font: 600 12px/1 var(--sans); letter-spacing: .16em; color: var(--bronze-t); display: block; margin-bottom: 16px; }
.cards h3 { font-size: 25px; margin-bottom: 10px; }
.cards p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.cards-title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); margin: clamp(80px, 9vw, 120px) 0 26px; }
.cards-title + .cards { margin-top: 0 !important; }
.uses { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 28px 0 10px; }
.use { display: flex; gap: 18px; padding: 22px 22px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .55); }
.use svg { width: 34px; height: 34px; color: var(--bronze); flex: none; margin-top: 2px; }
.use h3 { font-size: 22px; margin-bottom: 6px; }
.use p { font-size: 15px; line-height: 1.6; margin: 0; }
.project-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.next { font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); white-space: nowrap; }
.next em { font-family: var(--serif); font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--bronze-t); }
.next svg { transition: transform .35s var(--ease); }
.next:hover svg { transform: translateX(5px); }
.facts { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; margin: 8px 0 30px; }
.facts li { border-top: 1px solid var(--line-2); padding-top: 14px; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; white-space: nowrap; }
.facts span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 6px; }

/* -------------------------------------------------------------- participações */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 38px; border-top: 1px solid var(--line-2); }
.criteria li { padding: 20px 16px 0 0; }
.criteria li + li { padding-left: 16px; border-left: 1px solid var(--line-2); }
.criteria .num { font: 600 12px/1 var(--sans); letter-spacing: .16em; color: var(--bronze-t); display: block; margin-bottom: 12px; }
.criteria strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; display: block; }

/* -------------------------------------------------------------- contato */
.contact { padding-bottom: clamp(70px, 8vw, 110px); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; padding-bottom: clamp(60px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.contact-grid .h2 { margin-bottom: 22px; }
.contact-grid .lead { max-width: 560px; margin-bottom: 30px; }
.contact-cta { font-size: clamp(34px, 4vw, 54px); }
.contact-list { display: flex; flex-direction: column; gap: 30px; padding-top: 12px; }
.contact-list .k { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.contact-list .v { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--bronze-t); }
.contact-list .v.plain { color: var(--ink); }
.contact-list a.v { transition: color .3s; }
.contact-list a.v:hover { color: var(--bronze-2); }

/* -------------------------------------------------------------- rodapé */
.site-footer { background: var(--night); color: var(--cream); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top img { width: 230px; }
.footer-top .regions { margin-top: 22px; font-size: 14px; color: var(--cream-2); letter-spacing: .02em; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.footer-nav a { font-size: 14.5px; color: rgba(241, 236, 228, .8); }
.footer-nav a:hover { color: #fff; }
.social { display: flex; align-items: center; gap: 14px; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--cream-2); }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.social a:hover { background: var(--bronze); border-color: var(--bronze); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(241, 236, 228, .6); }
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------- modais */
.modal { width: min(1200px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .6); }
.modal::backdrop { background: rgba(22, 20, 18, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal-scroll { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.modal-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(20px, 3vw, 36px); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.modal-head .eyebrow { margin: 0; }
.modal-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; flex: none; }
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-body { padding: clamp(24px, 3.4vw, 44px) clamp(20px, 3vw, 44px) clamp(36px, 4vw, 56px); }
.modal-title { font-size: clamp(34px, 4vw, 56px); margin-bottom: 10px; }
.modal .sub-serif { margin-top: 6px; }
.modal-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 60px); margin-top: 34px; }
.modal-cols p { color: var(--ink-2); }
.modal-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.modal-list li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--bronze); }
.modal-list-title { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-t); margin: 30px 0 8px; }
.modal-list-title:first-child { margin-top: 0; }
.steps-done { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.steps-done li { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.steps-done li::before { content: "✓"; color: var(--bronze); font-weight: 700; }
.modal-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.modal .disclaimer { margin-top: 18px; }
.plan-img { margin-top: 30px; background: var(--sand); padding: 18px; }
.plan-img img { width: 100%; }
.plan-img figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* galeria */
.gallery { position: relative; }
.g-stage { position: relative; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.g-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s var(--ease); }
.g-stage img.is-cover { object-fit: cover; }
.g-stage img.is-on { opacity: 1; }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: background .3s, color .3s; }
.g-btn:hover { background: var(--bronze); color: #fff; }
.g-prev { left: 16px; }
.g-next { right: 16px; }
.g-count { position: absolute; right: 16px; bottom: 14px; z-index: 2; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: #fff; background: rgba(20, 18, 16, .5); padding: 8px 11px; }
.g-cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(20, 18, 16, .5); padding: 8px 11px; max-width: 70%; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.g-thumbs button { flex: 0 0 auto; width: 118px; aspect-ratio: 16 / 10; overflow: hidden; opacity: .55; transition: opacity .3s, box-shadow .3s; }
.g-thumbs button.is-on, .g-thumbs button:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--bronze); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------- animações de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsivo */
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .index .thumb { display: none; }
}
@media (max-width: 920px) {
  :root { --header: 72px; }
  .about-grid, .partners-grid, .contact-grid, .ville-head, .ville-grid, .intro-grid, .project-grid, .project.reverse .project-grid, .modal-cols { grid-template-columns: 1fr; }
  .project.reverse .project-text { order: 1; }
  .project.reverse .project-media { order: 2; }
  .intro-grid .lead { justify-self: start; }
  .ville-main { min-height: 0; aspect-ratio: 4 / 3; }
  .ville-cards, .stats { grid-template-columns: 1fr 1fr; }
  .ville-cards li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .stats { row-gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cards li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .pm-second { position: relative; width: 58%; right: auto; bottom: auto; margin: -18% 0 0 auto; }
  .project.reverse .pm-second { left: auto; }
  .numbers-band .container { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 44px 1fr 40px; row-gap: 6px; }
  .index .tag { grid-column: 2; grid-row: 2; }
  .index .pill { display: none; }
  .index .arrow { grid-column: 3; grid-row: 1 / span 2; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .criteria { grid-template-columns: 1fr; }
  .criteria li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); padding-top: 18px; margin-top: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-media { height: 78vh; min-height: 460px; }
  .hero-caption { flex-direction: column; align-items: flex-start; gap: 12px; bottom: 26px; }
  .eyebrow.center::before, .eyebrow.center::after { width: 22px; }
  .eyebrow { letter-spacing: .12em; }
  .hero-lines::before { bottom: 118px; }
  .band-list { grid-template-columns: 1fr 1fr; }
  .band-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .about-media .m2 { margin-top: 56px; }
  .steps { grid-template-columns: 1fr; }
  .step .ico { margin-bottom: 26px; }
  .ville-cards { grid-template-columns: 1fr; }
  .ville-cards li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .cards { grid-template-columns: 1fr; }
  .cards li, .cards li + li { padding-left: 0; border-left: 0; }
  .cards li + li { border-top: 1px solid var(--line-2); }
  .uses { grid-template-columns: 1fr; }
  .strip { grid-auto-columns: 78%; }
  .modal { width: 100vw; max-height: 100dvh; height: 100dvh; }
  .modal-scroll { max-height: 100dvh; }
  .g-thumbs button { width: 92px; }
  .g-btn { width: 40px; height: 40px; }
  .project-top .pill { order: -1; }
}

@media (max-height: 820px) and (min-width: 921px) {
  .hero { padding-top: calc(var(--header) + 30px); }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero .h1 { font-size: clamp(40px, 8.2vh, 72px); }
  .hero-head .lead { margin-top: 16px; font-size: 18px; }
  .hero-cta { margin-top: 24px; }
  .hero-media { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-frame img { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
