:root {
  --ink: #040c0f;
  --ink-2: #0c1619;
  --ink-3: #16252b;
  --slate: #7791a2;
  --slate-lt: #9fb3c0;
  --slate-dk: #5d7686;
  --tiffany: #81d8d0;
  --tiffany-lt: #a9e7e1;
  --navy: #19384c;
  --tiffany-dk: #177a76;
  --paper: #e9eef1;
  --txt: #f1f4f5;
  --txt-2: #b9c6cd;
  --yellow: #ffe01a;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wide: "Archivo", "Barlow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;

  --gut: clamp(16px, 4vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--tiffany); color: var(--ink); }
:focus-visible { outline: 2px solid var(--tiffany-lt); outline-offset: 3px; }
html { scrollbar-color: var(--slate-dk) var(--ink); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--slate-dk); border: 3px solid var(--ink); border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tiffany); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.h-display {
  font: 700 clamp(2.6rem, 6vw, 5.4rem)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .65em 1.3em;
  font: 600 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.15rem; }
.btn-orange { background: var(--tiffany); color: var(--ink); }
.btn-orange:hover { background: var(--tiffany-lt); }
.btn-line { border-color: var(--txt-2); color: var(--txt); }
.btn-line:hover { border-color: var(--tiffany); color: var(--tiffany-lt); }
.btn-ink { background: var(--ink); color: var(--txt); }
.btn-ink:hover { background: var(--navy); }

/* sawtooth, the deck's edge signature */
.teeth { position: absolute; width: clamp(28px, 3.4vw, 48px); height: clamp(190px, 22vw, 320px); fill: var(--ink); pointer-events: none; z-index: 1; }
.teeth-left { left: 0; top: 0; }
.teeth-right { right: 0; bottom: 0; }
.teeth-rust { fill: var(--tiffany-dk); }
.teeth-ink { fill: var(--ink); }

/* logos drawn as masks so they take any brand color */
.logo-mask { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo-realizacao { --m: url(assets/realizacao.svg); aspect-ratio: 325 / 63; width: min(100%, 460px, 52svh); color: var(--ink); }
.logo-rhd { --m: url(assets/rio-home-design.svg); aspect-ratio: 228 / 176; width: min(78%, 360px); color: var(--txt); }
.logo-vj { --m: url(assets/editora-vj.svg); aspect-ratio: 169 / 100; width: 150px; color: var(--txt); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--gut);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(4, 12, 15, .94); border-color: #1c2a30; backdrop-filter: saturate(1.2) blur(10px); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.05rem/1 var(--wide); font-stretch: 112%; letter-spacing: .02em; }
.nav-brand b { color: var(--tiffany-lt); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font: 500 1.05rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; color: var(--txt-2); padding: 8px 0; background: linear-gradient(var(--tiffany), var(--tiffany)) 0 100% / 0 2px no-repeat; transition: color .2s, background-size .3s var(--ease); }
.nav-links a:hover { color: var(--txt); background-size: 100% 2px; }
.nav-cta { min-height: 42px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--txt); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-mobile { position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--ink); border-bottom: 1px solid #1c2a30; padding: 12px var(--gut) 24px; display: grid; gap: 4px; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a:not(.btn) { font: 600 1.6rem/1 var(--display); text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid #1c2a30; }
.menu-mobile .btn { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  height: 100svh;
  min-height: 600px;
}
.hero-photo { position: relative; grid-row: 1 / 3; overflow: hidden; background: var(--navy); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; transform-origin: 30% 70%; }
.js .hero-photo img { animation: heroIn 1.8s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.12); filter: brightness(.4); } to { transform: none; filter: none; } }
.hero-callout {
  position: absolute; top: clamp(84px, 12svh, 140px); right: clamp(20px, 3vw, 44px);
  display: grid; justify-items: end; width: min(15ch, 62%); text-align: right;
  font: 600 clamp(1.4rem, min(2.4vw, 4.2svh), 2.3rem)/1.1 var(--display);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5); text-wrap: balance;
}
.hero-callout span { grid-area: 1 / 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(200deg, rgba(4,12,15,.8) 0%, rgba(4,12,15,.35) 30%, rgba(4,12,15,0) 52%), linear-gradient(20deg, rgba(4,12,15,.7) 0%, rgba(4,12,15,0) 40%); }
.hero-callout, .hero-when { z-index: 2; }
.js .hero-callout span { opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
.js .hero-callout span.on { transition-duration: .9s; transition-timing-function: var(--ease); }
.js .hero-callout span.on { opacity: 1; transform: none; filter: none; }
.hero-when { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(24px, 4vh, 44px); display: grid; line-height: 1; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-when strong { font: 900 clamp(2.6rem, min(6vw, 10svh), 5.6rem)/.9 var(--wide); font-stretch: 118%; letter-spacing: -.01em; }
.hero-when span { font: 600 clamp(1.1rem, 1.5vw, 1.4rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: .08em; }

.hero-panel {
  background: var(--ink);
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: clamp(18px, 4.5svh, 56px);
  padding: 84px clamp(24px, 4vw, 72px) clamp(20px, 4svh, 56px);
  min-height: 0;
  text-align: right;
}
.lockup { display: block; width: min(100%, clamp(300px, min(34vw, 58svh), 560px)); height: auto; }
.js .lockup { animation: logoIn 1.4s var(--ease) .15s both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-title {
  max-width: 18ch;
  font: 600 clamp(1.6rem, min(3.3vw, 5.4svh), 3.25rem)/1.08 var(--display);
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.hero-band {
  background: var(--tiffany);
  display: flex; align-items: center; justify-content: flex-start;
  padding: clamp(14px, 2.4svh, 28px) clamp(24px, 4vw, 72px);
  position: relative;
}

/* ---------- A FEIRA ---------- */
.feira { position: relative; padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); background: var(--ink-2); }
.feira .teeth { fill: var(--tiffany-dk); }
.feira-years { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); margin-bottom: clamp(48px, 7vw, 96px); }
.yr { font: 900 clamp(3.2rem, 12.4vw, 12rem)/.8 var(--wide); font-stretch: 125%; letter-spacing: -.035em; }
.yr-old { color: transparent; -webkit-text-stroke: 2px var(--slate-dk); }
.yr-new { color: var(--tiffany); }
.yr-line { flex: 1; height: 2px; background: var(--slate-dk); position: relative; min-width: 24px; }
.yr-line::after { content: ""; position: absolute; right: -2px; top: -7px; width: 13px; height: 16px; background: var(--slate-dk); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feira-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.feira-copy { display: grid; gap: 1.1em; max-width: 60ch; color: var(--txt-2); }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.45; color: var(--txt); }

.shifts { margin-top: clamp(72px, 10vw, 140px); }
.shifts-intro { font: 600 clamp(1.4rem, 2.2vw, 2rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--slate-lt); margin-bottom: 20px; }
.shift-list { border-top: 1px solid #22323a; }
.shift-list li {
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid #22323a;
  font: 500 clamp(1.45rem, 3vw, 2.7rem)/1.08 var(--display); color: var(--txt-2);
  text-wrap: balance;
}
.shift-list li span { color: var(--txt); font-weight: 700; }
.shift-list li:nth-child(odd) span { color: var(--tiffany-lt); }
.shifts-close { margin-top: clamp(40px, 5vw, 64px); max-width: 44ch; margin-left: auto; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--txt-2); }
.shifts-close strong { color: var(--txt); font-weight: 600; }

/* ---------- PERGUNTA ---------- */
.question { position: relative; background: var(--tiffany); color: var(--ink); padding: clamp(88px, 12vw, 160px) 0; overflow: hidden; }
.question-pre { max-width: 52ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 500; }
.question-t {
  margin: .35em 0 .45em;
  font: 800 clamp(2.9rem, min(8.4vw, 13svh), 8.2rem)/1 var(--display);
  text-transform: uppercase; letter-spacing: -.012em;
  max-width: 13ch; text-wrap: balance;
}
.question-post { max-width: 58ch; margin-left: auto; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 500; }

/* ---------- ILHAS ---------- */
.ilhas { padding: clamp(56px, 6vw, 88px) 0 0; background: var(--ink); }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 38ch); justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head p { color: var(--txt-2); font-size: 1.15rem; }

.ilhas-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
.ilhas-head .h-display { max-width: 12ch; }
.ilhas-intro { display: grid; gap: .9em; color: var(--txt-2); max-width: 52ch; }
.ilhas-lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--txt); }
.ilha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); }
.t-ink { background: var(--ink-2); color: var(--txt); }
.t-ink .ilha-by { color: var(--tiffany-lt); }
.t-slate { background: var(--slate); color: var(--ink); }
.t-navy { background: var(--navy); color: var(--txt); }
.t-navy .ilha-by { color: var(--slate-lt); }
.t-tiffany { background: var(--tiffany); color: var(--ink); }
.t-deep { background: var(--tiffany-dk); color: var(--txt); }
.ilha-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 600 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: inherit; border-bottom: 2px solid currentColor; transition: gap .3s var(--ease), opacity .2s; }
.ilha-cta::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.ilha-cta:hover::after { width: 26px; }
.ilha-final { background: var(--tiffany); color: var(--ink); justify-content: center; }
.ilha-final-t { font: 700 clamp(1.8rem, 2.6vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; text-wrap: balance; max-width: 16ch; }
.ilha {
  position: relative; overflow: hidden;
  min-height: clamp(360px, min(30vw, 60svh), 470px);
  --px: clamp(26px, 2.8vw, 44px); --pt: var(--px);
  padding: var(--pt) var(--px) var(--px);
  display: flex; flex-direction: column; gap: 26px;
}
.ilha-head { position: relative; z-index: 1; }
.ilha-img { margin: calc(-1 * var(--pt)) calc(-1 * var(--px)) 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.ilha-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ilha:hover .ilha-img img { transform: scale(1.04); }
.ilha-desc { position: relative; z-index: 1; max-width: 34ch; padding-top: 18px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 30%, transparent); }
.ilha h3 { font: 800 clamp(2.1rem, 3.1vw, 3.3rem)/.98 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.ilha-by { margin: .8em 0 1em; font: 600 1.1rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ilha-desc { font-size: 1.04rem; line-height: 1.5; flex: 1; }


.samauma {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  background: radial-gradient(120% 90% at 25% 50%, #0d2230 0%, var(--ink) 62%);
  padding: clamp(48px, 7vw, 110px) var(--gut);
  gap: clamp(24px, 5vw, 80px);
}
.samauma-canvas { display: grid; place-items: center; }
#led { width: min(100%, 560px); height: auto; aspect-ratio: 1; }
.samauma-body { max-width: 34ch; }
.samauma h3 { font: 900 clamp(2.8rem, 6vw, 5.6rem)/.95 var(--wide); font-stretch: 115%; text-transform: uppercase; letter-spacing: -.02em; }
.samauma-lead { margin: .7em 0 .9em; font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.1 var(--display); color: #8ec6e6; text-transform: uppercase; letter-spacing: .03em; }
.samauma p:last-child { font-size: 1.15rem; color: var(--txt-2); }

/* ---------- RIO HOME DESIGN ---------- */
.rhd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rhd-brand { background: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 44px; padding: clamp(64px, 8vw, 120px) var(--gut); text-align: center; }
.rhd-slogan { font: 600 clamp(1.7rem, 2.8vw, 2.6rem)/1.08 var(--display); max-width: 16ch; }
.rhd-copy { position: relative; background: var(--slate); color: var(--ink); padding: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 110px); display: grid; gap: 1.1em; align-content: center; }
.rhd-copy h2 { font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1.12 var(--display); text-wrap: balance; margin-bottom: .3em; }
.rhd-copy p { max-width: 62ch; font-weight: 500; }
.rhd-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rhd-call { background: var(--tiffany); color: var(--ink); padding: clamp(48px, 5vw, 88px) clamp(32px, 5vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 1.1em; }
.rhd-call p { font: 700 clamp(1.7rem, 2.8vw, 2.7rem)/1.08 var(--display); max-width: 20ch; text-wrap: balance; }
.rhd-call p + p { font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.rhd-call .btn { margin-top: 1em; }
.rhd-photos { background: var(--navy); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: .85fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); min-height: clamp(420px, min(40vw, 72svh), 640px); }
.ph { position: relative; overflow: hidden; border-radius: 22px; min-height: 0; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph-tall { grid-row: 1 / 3; }

/* ---------- NÚMEROS ---------- */
.numeros { background: var(--ink); }
.mosaic {
  display: grid;
  grid-template-columns: .55fr 1fr 1fr 1.05fr;
  grid-template-rows: auto minmax(200px, 1fr) minmax(200px, 1fr);
  grid-template-areas:
    "head head head africa"
    "house s1 s2 africa"
    "house s3 s4 s5";
}
.m-head { grid-area: head; padding: clamp(56px, 6vw, 88px) var(--gut) clamp(40px, 4vw, 56px); }
.m-head h2 { font: 700 clamp(1.9rem, 3.4vw, 3.2rem)/1.02 var(--display); max-width: 24ch; }
.m-africa { grid-area: africa; background: var(--slate); color: var(--ink); padding: clamp(32px, 3.5vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.m-africa img { width: 220px; }
.m-africa h3 { font: 800 clamp(1.7rem, 2.4vw, 2.2rem)/1 var(--wide); font-stretch: 110%; text-transform: uppercase; letter-spacing: .02em; }
.m-africa ul { columns: 2; column-gap: 18px; font: 600 1rem/1.5 var(--display); }
.m-africa-foot { margin-top: auto; font: 700 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.m-house { grid-area: house; background: var(--navy); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.m-house svg { width: 72%; max-height: 72%; fill: var(--tiffany-lt); }
.stat { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 10px; }
.stat b { font: 900 clamp(2.6rem, 4.6vw, 4.6rem)/.9 var(--wide); font-stretch: 112%; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat span { font: 700 clamp(.95rem, 1.2vw, 1.15rem)/1.15 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); max-width: 22ch; }
.s-slate { background: var(--slate); }
.s-orange { background: var(--tiffany); }
.st1 { grid-area: s1; }
.st2 { grid-area: s2; }
.st3 { grid-area: s3; }
.st4 { grid-area: s4; }
.st5 { grid-area: s5; }

/* ---------- ÁREAS ---------- */
.areas { position: relative; background: var(--ink); }
.areas-t { padding: clamp(28px, 4vw, 48px) var(--gut); font: 700 clamp(1.8rem, 3vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; }
.area { position: relative; height: clamp(240px, min(29vw, 40svh), 460px); overflow: hidden; }
.area img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) brightness(.8); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.area:hover img { filter: none; transform: scale(1.04); }
.area figcaption {
  position: absolute; width: clamp(150px, 20vw, 290px); aspect-ratio: 1.75;
  display: grid; place-items: center;
  font: 700 clamp(1.5rem, 2.8vw, 2.7rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  transition: transform .6s var(--ease);
}
.area:hover figcaption { transform: scale(1.04); }
.a-forum figcaption { right: 0; bottom: 0; background: var(--tiffany); color: var(--ink); }
.a-inov figcaption { left: 0; bottom: 0; background: var(--ink); color: var(--txt); }
.a-tend figcaption { right: 0; top: 0; background: var(--slate); color: var(--ink); }
.a-neg figcaption { left: 0; top: 0; background: var(--tiffany-dk); color: var(--txt); }
.areas-note { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; font-size: .8rem; color: var(--txt); background: rgba(4, 12, 15, .7); padding: 4px 10px; white-space: nowrap; }

/* ---------- MAPA ---------- */
.mapa { background: var(--slate); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; }
.mapa-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mapa-intro { margin: 18px 0 28px; font-weight: 500; max-width: 42ch; }
.legend { display: grid; gap: 2px; counter-reset: lg; }
.legend button {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: none; border: 0; padding: 9px 12px; cursor: pointer;
  font: 600 1.08rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.legend i { flex: none; width: 22px; height: 22px; background: var(--c); border: 1px solid rgba(4, 12, 15, .5); }
.legend button:hover, .legend button.on { background: rgba(4, 12, 15, .12); }
.legend button[aria-pressed="true"] { background: var(--ink); color: var(--txt); }
.mapa-note { margin-top: 20px; font-size: .9rem; font-weight: 500; }
.mapa-board { width: 100%; max-width: min(100%, 78svh); justify-self: center; background: var(--paper); padding: clamp(12px, 2vw, 28px); box-shadow: 0 30px 60px -30px rgba(4, 12, 15, .55); }
#map { width: 100%; height: auto; display: block; }
#map .sector { cursor: pointer; transition: opacity .35s var(--ease); }
#map .stand { stroke: var(--paper); stroke-width: 1.3; }
#map.has-focus .sector:not(.on) { opacity: .16; }
#map .road { fill: #8c9399; }
#map .center-t { font: 700 17px/1 var(--display); text-transform: uppercase; fill: var(--ink); letter-spacing: .04em; }

/* ---------- STAKEHOLDERS ---------- */
.stake { background: var(--slate); color: var(--ink); border-top: 1px solid rgba(4, 12, 15, .15); }
.stake-head { background: var(--ink); color: var(--txt); padding: clamp(40px, 5vw, 64px) 0; }
.stake-head h2 { font: 700 clamp(2.4rem, 5vw, 4.4rem)/1 var(--display); text-transform: uppercase; }
.stake-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); }
.stake-copy > p:first-child { font-weight: 500; font-size: 1.12rem; max-width: 58ch; }
.stake-sub { margin: 1.6em 0 .6em; font: 700 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.stake-list { counter-reset: sk; }
.stake-list li { counter-increment: sk; display: flex; gap: 12px; padding: 9px 10px; font: 600 1.12rem/1.2 var(--display); cursor: default; transition: background .25s var(--ease); }
.stake-list li::before { content: counter(sk); flex: none; width: 1.6em; height: 1.6em; display: grid; place-items: center; background: var(--c, var(--ink)); color: var(--cf, var(--txt)); font-size: .85rem; }
.stake-list li.on { background: rgba(4, 12, 15, .12); }
.stake-wheel { position: relative; width: 100%; max-width: min(100%, 64svh); justify-self: center; }
#donut { width: 100%; height: auto; display: block; overflow: visible; }
#donut path { stroke: var(--slate); stroke-width: 3; transition: transform .45s var(--ease), opacity .3s; cursor: pointer; }
#donut path.on { transform: scale(1.045); }
#donut text { font: 600 11px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; pointer-events: none; }
.donut-mark { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); }

/* ---------- INVESTIMENTO ---------- */
.expor { position: relative; background: var(--ink); padding: clamp(88px, 11vw, 160px) 0 clamp(64px, 8vw, 120px); }
.tabs { display: inline-flex; border: 2px solid #26363d; margin-bottom: clamp(28px, 3vw, 44px); }
.tabs button { background: none; border: 0; padding: 14px 26px; cursor: pointer; font: 600 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--txt-2); transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--tiffany); color: var(--ink); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--txt); background: var(--ink-3); }

.conf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .9fr); gap: 2px; background: #1b2a31; border: 2px solid #1b2a31; }
.conf > * { background: var(--ink-2); }
.conf-info { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; position: relative; }
.conf-kind { font: 500 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--txt-2); }
.conf-kind b { display: block; margin-top: 6px; font: 700 clamp(2.2rem, 3.2vw, 3rem)/1 var(--display); color: var(--txt); letter-spacing: 0; }
.conf-desc { color: var(--txt-2); }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 8px; font: 600 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-lt); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 12px 20px; border: 2px solid #33464f; font: 700 1.3rem/1 var(--display); transition: border-color .2s, background .2s, color .2s; }
.seg label:hover span { border-color: var(--slate); }
.seg input:checked + span { background: var(--txt); color: var(--ink); border-color: var(--txt); }
.seg input:focus-visible + span { outline: 2px solid var(--tiffany-lt); outline-offset: 3px; }
.seg-sm span { font-size: 1.05rem; padding: 10px 16px; }
.price-row { display: flex; flex-direction: column; gap: 22px; }
.price { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid #26363d; }
.price-label { font: 600 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-lt); }
.price-val { white-space: nowrap; font: 900 clamp(1.9rem, 2.5vw, 2.6rem)/1 var(--wide); font-stretch: 100%; letter-spacing: -.02em; color: var(--tiffany-lt); font-variant-numeric: tabular-nums; }
.price-tax { font: 600 1.1rem/1 var(--display); color: var(--txt-2); }
.burst { position: relative; width: 150px; aspect-ratio: 1; margin-top: 6px; align-self: flex-start; transform: rotate(-8deg); }
.burst svg { position: absolute; inset: 0; fill: var(--yellow); stroke: var(--tiffany); stroke-width: 3; }
.burst span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--ink); line-height: 1; }
.burst small { font: 600 .8rem/1.05 var(--display); }
.burst b { font: 900 2.4rem/.9 var(--wide); letter-spacing: -.03em; }
.burst strong { font: 800 .95rem/1 var(--display); letter-spacing: .02em; }

.conf-visual { padding: clamp(20px, 2.4vw, 36px); display: grid; gap: 18px; align-content: start; background: #0f1c21; }
.render { background: var(--slate-dk); overflow: hidden; }
.render img { display: block; width: 100%; height: auto; transition: opacity .35s var(--ease); }
.render img.swap { opacity: 0; }
.planta { background: var(--slate); padding: 14px; display: grid; place-items: center; }
.planta-img { --m: url(assets/planta-01.svg); aspect-ratio: 185 / 160; width: min(100%, 340px); color: var(--ink); }
.planta-img[data-m="02"] { --m: url(assets/planta-02.svg); aspect-ratio: 185 / 140; }
.conf-spec { background: var(--tiffany); color: var(--ink); padding: clamp(24px, 3vw, 40px); }
.conf-spec h3 { font: 700 1.7rem/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.conf-spec li { padding: 11px 0; border-top: 1px solid rgba(4, 12, 15, .25); font: 600 1.15rem/1.2 var(--display); }

.piso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink-2); border: 2px solid #1b2a31; }
.piso-copy { padding: clamp(28px, 4vw, 64px); display: grid; gap: 18px; align-content: center; color: var(--txt-2); }
.piso-min { font: 600 1.25rem/1 var(--display); color: var(--tiffany-lt); text-transform: uppercase; letter-spacing: .04em; }
.piso-copy .btn { justify-self: start; margin-top: 10px; }
.piso-img { background: #cfd4d6; display: grid; place-items: center; }
.piso-img img { max-height: 480px; width: auto; }
.expor-note { margin-top: 18px; font-size: .88rem; color: var(--slate-lt); }

/* ---------- MÍDIA ---------- */
.arq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.arq-cover { position: relative; background: var(--slate); padding: clamp(56px, 7vw, 110px) var(--gut); display: flex; align-items: flex-end; justify-content: center; gap: 20px; }
.arq-cover img { width: min(72%, 380px); box-shadow: 0 30px 50px -20px rgba(4, 12, 15, .6); transition: transform .8s var(--ease); }
.arq-cover:hover img { transform: translateY(-6px); }
.arq-tag { font: 700 1.5rem/1 var(--display); text-transform: uppercase; color: var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); }
.arq-body { background: var(--ink); display: grid; grid-template-rows: auto 1fr; }
.arq-name { background: var(--tiffany); color: var(--ink); padding: clamp(32px, 4vw, 56px) var(--gut); font: 800 clamp(1.4rem, 2vw, 1.8rem)/1 var(--wide); text-transform: uppercase; letter-spacing: .02em; }
.arq-name span { display: block; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.02em; }
.arq-docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 32px); padding: clamp(32px, 4vw, 56px) var(--gut); align-items: start; }
.arq-docs figcaption { margin-top: 12px; font: 600 1.05rem/1.25 var(--display); color: var(--txt-2); }
.arq-docs p { font: 500 1.15rem/1.3 var(--display); color: var(--txt-2); }
.arq-mk { font-weight: 700 !important; color: var(--tiffany-lt) !important; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.arq-small { margin-top: 20px; width: 70%; }

.plus { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 34%, 500px); background: var(--tiffany); padding: clamp(20px, 2.6vw, 36px); gap: 0; }
.plus-copy { background: var(--ink); padding: clamp(36px, 5vw, 72px); display: grid; gap: 1em; align-content: center; color: var(--txt-2); }
.plus-logo { width: 190px; margin-bottom: 12px; }
.plus-copy h3 { font: 800 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--wide); font-stretch: 108%; text-transform: uppercase; color: var(--txt); }
.plus-copy h3 small { display: block; margin-top: 8px; font: 600 1rem/1 var(--display); letter-spacing: .1em; color: var(--tiffany-lt); }
.plus-copy p { max-width: 60ch; }
.plus-img { background: var(--ink); display: flex; align-items: center; justify-content: flex-end; }
.plus-img img { width: 100%; height: auto; max-height: calc(100svh - 120px); object-fit: contain; object-position: right center; }

/* ---------- CONTATO ---------- */
.contato { background: var(--ink-2); padding: clamp(88px, 11vw, 150px) 0; }
.contato-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contato-copy p { margin-top: 22px; color: var(--txt-2); max-width: 44ch; font-size: 1.12rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font: 600 .98rem/1 var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--slate-lt); }
.field label span { text-transform: none; letter-spacing: 0; color: #7f9098; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--ink); border: 2px solid #26363d; border-radius: 0;
  caret-color: var(--tiffany-lt); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239fb3c0' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input::placeholder { color: #6f8189; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a5059; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tiffany); }
.err { display: none; font-size: .9rem; color: #ff9d73; }
.field.invalid input { border-color: #ff9d73; }
.field.invalid .err { display: block; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-ok { grid-column: 1 / -1; padding: 16px 18px; background: var(--navy); border-left: 1px solid var(--tiffany); font-weight: 500; }

/* ---------- FECHAMENTO ---------- */
.close { background: var(--tiffany); color: var(--ink); padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; }
.close-t { font: 900 clamp(3.2rem, min(11.5vw, 17svh), 11rem)/.96 var(--wide); font-stretch: 118%; letter-spacing: -.035em; }
.close-t span { display: block; color: var(--navy); }
.close-sub { margin-top: .6em; font: 700 clamp(1.6rem, 3.2vw, 3rem)/1.05 var(--display); max-width: 26ch; text-wrap: balance; }
.close-mid { margin-top: 2em; max-width: 56ch; margin-left: auto; font-weight: 500; font-size: 1.15rem; }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); padding: clamp(56px, 7vw, 96px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; color: var(--txt-2); font-size: .98rem; }
.foot-brand img { flex: none; }
.foot-name { font: 800 1.2rem/1.1 var(--wide); font-stretch: 110%; color: var(--txt); margin-bottom: 6px; }
.foot-brand a { display: inline-block; margin-top: 10px; color: var(--tiffany-lt); text-underline-offset: 4px; }
.foot-quote p { font: 500 1.3rem/1.3 var(--display); color: var(--txt); }
.foot-quote footer { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.foot-quote img { width: 52px; height: 66px; object-fit: cover; }
.foot-quote span { font: 500 1rem/1.25 var(--display); color: var(--txt-2); }
.foot-quote b { display: block; color: var(--txt); font-weight: 700; }
.foot-bar { margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid #1c2a30; }
.logo-realizacao-light { color: var(--txt-2); width: min(100%, 400px); }

/* ---------- GALERIA (client references, one compact strip) ---------- */
.galeria { background: var(--ink); padding: clamp(56px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); overflow: hidden; }
.gal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(24px, 3vw, 36px); }
.gal-t { font: 700 clamp(1.8rem, 3vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.gal-head p { max-width: 46ch; color: var(--txt-2); font-size: 1rem; }
.gal-wrap { position: relative; }
.gal-viewport { --h: clamp(260px, min(30vw, 52svh), 440px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.gal-viewport::-webkit-scrollbar { display: none; }
.gal-viewport.dragging { cursor: grabbing; user-select: none; }
.gal-viewport:focus-visible { outline-offset: -3px; }
.gal-rail { display: flex; width: max-content; }
.gal-track { display: flex; gap: 10px; padding-right: 10px; }
.gal-group { display: flex; gap: 10px; align-items: stretch; }
.gal-tag { writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; padding: 14px 8px; background: var(--tiffany); color: var(--ink); font: 700 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.gal-group img { height: var(--h); width: auto; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.gal-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(4,12,15,.78); color: var(--txt); cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.gal-nav:hover { background: var(--tiffany); color: var(--ink); }
.gal-nav:active { transform: scale(.94); }
.gal-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal-prev { left: clamp(10px, 2vw, 28px); }
.gal-next { right: clamp(10px, 2vw, 28px); }
@media (max-width: 560px) { .gal-viewport { --h: 260px; } .galeria { padding: 88px 0 56px !important; } .gal-nav { width: 40px; height: 40px; margin-top: -20px; } }

/* read more toggle, mobile only */
.more-btn { display: none; }

/* ---------- REVEAL (content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 1700px) {
  html { font-size: 112.5%; }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .conf { grid-template-columns: 1fr 1fr; }
  .ilha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ilha-final { grid-column: 1 / -1; min-height: 0; }
  .conf-spec { grid-column: 1 / -1; }
  .conf-spec ul { columns: 2; column-gap: 28px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "head head" "s1 s2" "s3 s4" "s5 s5" "africa africa"; }
  .m-house { display: none; }
  .stat { min-height: 200px; }
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero { height: auto; }
  .hero-photo { grid-row: auto; min-height: 72svh; }
  .hero-panel { align-items: flex-start; text-align: left; padding: 48px var(--gut) 44px; }
  .hero-actions { justify-content: flex-start; }
  .hero-band { justify-content: center; padding: 22px var(--gut); }
  .feira-grid, .rhd-top, .rhd-bottom, .ilha-grid, .samauma, .mapa-grid, .stake-grid, .piso, .arq, .plus, .contato-grid, .foot-grid { grid-template-columns: 1fr; }
  .sec-head, .ilhas-head { grid-template-columns: 1fr; }
  .ilha-grid { grid-template-columns: 1fr; }
  .ilha { min-height: 0; }
  .rhd-copy { padding: 64px var(--gut) 64px calc(var(--gut) + 36px); }
  .rhd-call { align-items: flex-start; text-align: left; }
  .rhd-photos { min-height: 460px; }
  .areas-t { position: static; padding: 48px var(--gut) 20px; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-note { position: static; transform: none; display: block; text-align: center; padding: 12px; background: none; white-space: normal; }
  .stake-wheel { max-width: 440px; margin: 0 auto; width: 100%; }
  .conf { grid-template-columns: 1fr; }
  .conf-spec ul { columns: 1; }
  .teeth { width: 22px; height: 112px; }
  .arq-cover { padding-left: calc(var(--gut) + 36px); }
  .plus-img { justify-content: center; }
  .plus-img img { max-height: 520px; width: auto; }
  .shifts-close, .question-post, .close-mid { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .form { grid-template-columns: 1fr; }
  .yr-old { -webkit-text-stroke-width: 1.5px; }
  .yr { font-size: 11.4vw; }
  .feira-years { gap: 8px; }
  .teeth { width: 20px; height: 84px; }
  .feira, .expor { padding-top: 104px; }
  .question { padding-bottom: 104px; }
  .conf { min-width: 0; }
  .conf > * { min-width: 0; }

  /* hero: photo, brand and promise share the first screen */
  .hero-photo { min-height: 0; height: 46svh; }
  .hero-photo img { object-position: 38% 62%; }
  .hero-callout { top: 80px; right: 16px; font-size: 1.3rem; width: min(14ch, 58%); }
  .hero-when { left: 16px; bottom: 16px; }
  .hero-when strong { font-size: 2.6rem; }
  .hero-when span { font-size: 1rem; }
  .hero-panel { gap: 20px; padding: 26px var(--gut) 32px; }
  .lockup { width: 100%; }
  .hero-title { max-width: none; font-size: 1.75rem; line-height: 1.1; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-band { padding: 18px var(--gut); }

  .feira { padding-bottom: 64px; }
  .shift-list li { font-size: 1.4rem; }

  /* ilhas: tighter cards, smaller plans */
  .ilha { --pt: 32px; --px: var(--gut); padding-bottom: 36px; gap: 18px; }
  .ilha h3 { font-size: 2.3rem; }
  .ilha-desc { font-size: 1.02rem; }
  .samauma { padding: 48px var(--gut) 56px; gap: 8px; }
  #led { width: min(82vw, 340px); }

  .rhd-brand { gap: 28px; padding: 56px var(--gut); }
  .logo-rhd { width: 64%; }
  .rhd-copy { padding: 52px var(--gut) 52px calc(var(--gut) + 30px); }
  .rhd-copy p { font-size: .98rem; }
  .rhd-call { padding: 52px var(--gut); }
  .rhd-call .btn { width: 100%; }
  .rhd-photos { height: 420px; min-height: 0; padding: 16px; }
  .ph { border-radius: 16px; }

  /* números: two by two */
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "s1 s2" "s3 s4" "s5 s5" "africa africa"; }
  .m-head { padding: 48px var(--gut) 32px; }
  .stat { min-height: 150px; padding: 20px 10px; gap: 8px; }
  .stat b { font-size: clamp(1.9rem, 10.5vw, 2.8rem); }
  .st5 b { font-size: 3rem; }
  .stat span { font-size: .82rem; }
  .m-africa ul { font-size: .95rem; }

  .area { height: 230px; }
  .area figcaption { width: 150px; font-size: 1.4rem; }

  .mapa { padding: 64px 0; }
  .legend button { padding: 8px 6px; font-size: 1rem; }
  .stake-grid { padding-top: 48px; padding-bottom: 56px; }

  .expor { padding-bottom: 56px; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 14px 10px; }
  .conf-info { padding: 24px 20px; gap: 18px; }
  .burst { position: absolute; top: 14px; right: 12px; width: 96px; margin: 0; }
  .burst b { font-size: 1.7rem; }
  .burst small { font-size: .62rem; }
  .burst strong { font-size: .72rem; }
  .conf-visual { padding: 20px; }
  .conf-spec { padding: 24px 20px; }
  .piso-img img { max-height: 320px; }

  /* revista: text first, photos side by side */
  .arq-cover { padding: 48px var(--gut) 48px calc(var(--gut) + 28px); }
  .arq-cover img { width: 70%; }
  .arq-docs { grid-template-columns: 1fr 1fr; gap: 14px; padding: 32px var(--gut) 40px; }
  .arq-docs > div { display: contents; }
  .arq-docs > div p { grid-column: 1 / -1; }
  .arq-mk { grid-row: 1; margin-bottom: -6px !important; }
  .arq-docs > div p:not(.arq-mk) { grid-row: 2; }
  .arq-docs figure { grid-row: 3; grid-column: 1; }
  .arq-small { grid-row: 3; grid-column: 2; width: 100%; margin: 0; aspect-ratio: 3 / 4; object-fit: cover; }
  .arq-docs figure img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
  .arq-docs figcaption { font-size: .9rem; }

  .plus { padding: 14px; }
  .plus-copy { padding: 36px 22px; }
  .plus-logo { width: 150px; }
  .plus-img img { max-height: 420px; }

  .contato { padding: 72px 0; }
  .close { padding: 72px 0; }
  .close-t { font-size: 3.4rem; }
  .close-sub { font-size: 1.5rem; }
  .foot-grid { gap: 32px; }
}

/* ---------- MOBILE: sections read as separate chapters ---------- */
@media (max-width: 860px) {
  /* the deck's sawtooth becomes the seam between sections instead of sitting on the text */
  .teeth { display: none; }
  .galeria, .feira, .question, .ilhas, .rhd, .rhd-bottom, .numeros, .areas, .mapa, .stake, .expor, .midia, .plus, .contato, .close, .foot { position: relative; }
  .galeria::before, .feira::before, .question::before, .ilhas::before, .rhd::before, .rhd-bottom::before, .numeros::before, .areas::before, .mapa::before, .stake::before, .expor::before, .midia::before, .plus::before, .contato::before, .close::before, .foot::before {
    content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 14px;
    background: var(--saw, var(--tiffany-dk));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0h28L14 14z'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 14px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 0h28L14 14z'/%3E%3C/svg%3E") repeat-x 0 0 / 28px 14px;
    pointer-events: none;
  }
  .feira { --saw: var(--tiffany); }
  .question { --saw: var(--ink-2); }
  .galeria { --saw: var(--tiffany); }
  .ilhas { --saw: var(--ink); }
  .rhd { --saw: var(--tiffany-dk); }
  .rhd-bottom { --saw: var(--slate); }
  .numeros { --saw: var(--navy); }
  .areas { --saw: var(--slate); }
  .mapa { --saw: var(--ink); }
  .stake { --saw: var(--slate); }
  .expor { --saw: var(--slate); }
  .midia { --saw: var(--ink); }
  .plus { --saw: var(--ink); }
  .contato { --saw: var(--tiffany); }
  .close { --saw: var(--ink-2); }
  .foot { --saw: var(--tiffany); }

  /* one vertical rhythm */
  .feira, .expor { padding-top: 96px; padding-bottom: 88px; }
  .question, .contato, .close, .mapa { padding-top: 96px; padding-bottom: 96px; }
  .ilhas { padding-top: 64px; }
  .sec-head { margin-bottom: 36px; gap: 14px; }
  .feira-years { margin-bottom: 44px; }
  .feira-grid { gap: 24px; }
  .shifts { margin-top: 72px; }
  .shifts-close { margin-top: 36px; }
  .question-t { margin: .5em 0 .6em; }

  /* ilhas: each island is its own card */
  .ilha-grid { gap: 12px; padding: 0 12px; }
    .ilha { --pt: 30px; --px: 22px; padding-bottom: 34px; }
  .samauma { margin-top: 12px; padding-top: 56px; padding-bottom: 80px; }

  .rhd-brand { padding: 88px var(--gut) 64px; }
  .rhd-copy { padding: 64px var(--gut); gap: 1em; }
  .rhd-call { padding: 72px var(--gut) 64px; gap: 1em; }
  .rhd-photos { padding: 20px; gap: 12px; }

  /* números: tiles with air between them */
  .mosaic { gap: 8px; padding: 0 8px 8px; }
  .m-head { margin: 0 -8px; padding-top: 72px; }
  .m-africa { margin-top: 4px; }

  .areas-t { padding-top: 72px; }
  .areas-grid { gap: 8px; padding: 0 8px; }
  .areas-note { padding: 14px 16px 40px; }

  .mapa-intro { margin-bottom: 20px; }
  .mapa-board { margin-top: 16px; }
  .stake-head { padding: 72px 0 36px; }
  .stake-sub { margin-top: 2em; }

  .conf { gap: 10px; background: none; border: 0; }
  .conf > * { border: 2px solid #1b2a31; }
  .conf-spec { border-color: var(--tiffany); }

  .arq-cover { padding: 80px var(--gut) 56px; }
  .arq-name { padding: 36px var(--gut); }
  .arq-docs { padding: 40px var(--gut) 72px; row-gap: 18px; }
  .plus { padding: 30px 14px 14px; }

  .foot { padding-top: 80px; }

  /* long copy opens on demand */
  .m-more { display: none; }
  .is-open .m-more { display: block; }
  .more-btn {
    display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: flex-start;
    margin-top: 4px; padding: 10px 0; background: none; border: 0; cursor: pointer;
    font: 600 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
    color: inherit; border-bottom: 2px solid currentColor;
  }
  .plus-copy .more-btn { color: var(--tiffany-lt); }
}

/* ---------- ILHAS: compact grid (desktop: 2 rows) / swipe (mobile) ---------- */
.ilha-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; flex: 0 0 auto !important; }
.ilha.open .ilha-desc { -webkit-line-clamp: unset; display: block; }
.ilha-more { align-self: flex-start; margin-top: -14px; padding: 4px 0; background: none; border: 0; color: inherit; opacity: .75; cursor: pointer; font: 600 .82rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.ilha-more:hover { opacity: 1; }
.ilha-cta { margin-top: auto; }
.ilha-ctrl { display: none; }
@media (min-width: 1100px) {
  .ilha-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding: 0; }
  .ilha { --px: 20px; --pt: 20px; min-height: 0; gap: 16px; padding-bottom: 24px; }
  .ilha h3 { font-size: clamp(1.35rem, 1.55vw, 1.75rem); line-height: 1; }
  .ilha-by { margin: .5em 0 0; font-size: .8rem; }
  .ilha-desc { font-size: .9rem; line-height: 1.45; padding-top: 12px; max-width: none; }
  .ilha-cta { font-size: .82rem; }
  .ilha-final { padding: 24px 20px; gap: 18px; }
  .ilha-final-t { font-size: clamp(1.3rem, 1.6vw, 1.8rem); }
  .ilha-final .btn { width: 100%; font-size: .95rem; padding-left: .6em; padding-right: .6em; }
}
@media (max-width: 1099px) {
  .ilha-shell { position: relative; }
  .ilha-grid { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: min(82vw, 420px); gap: 12px !important; padding: 0 var(--gut) !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; background: none; overscroll-behavior-x: contain; }
  .ilha-grid::-webkit-scrollbar { display: none; }
  .ilha { scroll-snap-align: start; min-height: 0; --pt: 24px; --px: 22px; padding-bottom: 26px; gap: 16px; }
  .ilha h3 { font-size: 2rem; }
  .ilha-by { margin: .5em 0 0; }
  .ilha-desc { font-size: .98rem; padding-top: 14px; }
  .ilha-final { grid-column: auto !important; }
  .ilha-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px 0 8px; }
  .ilha-ctrl .gal-nav { position: static; margin: 0; background: var(--ink-3); }
  .ilha-count { font: 600 1rem/1 var(--display); letter-spacing: .1em; color: var(--txt-2); min-width: 64px; text-align: center; }
  .ilha-count b { color: var(--txt); }
  .js .ilha-grid .reveal { opacity: 1; transform: none; }
}

/* ---------- ILHAS: 3D coverflow ---------- */
.cf { --cw: clamp(270px, 30vw, 430px); padding-top: 8px; overflow-x: clip; overflow-y: visible; }
.cf-stage { position: relative; height: 640px; perspective: 1600px; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; outline: none; overflow: visible; }
.cf-stage.dragging { cursor: grabbing; }
.cf-card { position: absolute; left: 50%; top: 0; width: var(--cw); margin-left: calc(var(--cw) / -2); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 34px 50px -30px rgba(0,0,0,.8); transform-origin: 50% 50%; transition: transform .65s cubic-bezier(.22,.8,.24,1), opacity .65s ease, filter .65s ease; will-change: transform; user-select: none; }
.cf-card:not(.is-active) { cursor: pointer; filter: brightness(.62) saturate(.85); }
.cf-card.is-far { opacity: 0; pointer-events: none; }
.cf-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); flex: none; }
.cf-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cf-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.cf-body h3 { font: 800 clamp(1.6rem, 2.1vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.cf-by { font: 600 .88rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.t-ink .cf-by { color: var(--tiffany-lt); opacity: 1; }
.cf-desc { font-size: .98rem; line-height: 1.5; padding-top: 12px; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.cf-body .ilha-cta { margin-top: auto; font-size: .92rem; }
.cf-card .cf-by, .cf-card .cf-desc, .cf-card .ilha-cta { transition: opacity .45s ease; }
.cf-card:not(.is-active) .cf-body > * { opacity: 0; pointer-events: none; }
.cf-card.is-near .cf-body h3 { opacity: .9; }
.cf-body h3 { transition: opacity .45s ease; }
.cf-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 26px; }
.cf-ctrl .gal-nav { position: static; margin: 0; background: var(--ink-3); }
.cf-ctrl .gal-nav:hover { background: var(--tiffany); }
.cf-count { font: 600 1.05rem/1 var(--display); letter-spacing: .1em; color: var(--txt-2); min-width: 72px; text-align: center; }
.cf-count b { color: var(--txt); }
.cf-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(64px, 7vw, 100px); text-align: center; }
.cf-close p { font: 700 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--display); text-transform: uppercase; max-width: 30ch; }
@media (max-width: 700px) {
  .cf { --cw: min(78vw, 340px); }
  .cf-body { padding: 18px 18px 22px; }
  .cf-body h3 { font-size: 1.7rem; }
  .cf-desc { font-size: .95rem; }
  .cf-close .btn { width: 100%; }
}
/* hero band: simultaneous fair */
.hero-band { background: var(--navy) !important; justify-content: center !important; }
.sim { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.4vw, 36px); text-decoration: none; color: var(--txt); }
.sim-label { font: 600 clamp(.9rem, 1vw, 1.05rem)/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--txt-2); white-space: nowrap; }
.sim-logo { --m: url(assets/expo-urbantech.svg); display: block; width: clamp(150px, 13vw, 210px); aspect-ratio: 1568 / 486; background: var(--txt); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: .78; transition: opacity .3s var(--ease); }
.sim:hover .sim-logo, .sim:focus-visible .sim-logo { opacity: 1; }
.sim:hover .sim-label { color: var(--txt); }

/* ---------- link to the sister event (Expo Urbantech), subtle mark at the end of each section ---------- */
main > section { position: relative; }
.xurb { --m: url(assets/expo-urbantech.svg); position: absolute; right: var(--gut); bottom: 14px; z-index: 4; width: 84px; aspect-ratio: 1568 / 486; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: .26; transition: opacity .3s var(--ease); }
.xurb:hover, .xurb:focus-visible { opacity: .75; }
main > .numeros, main > .areas, main > .midia { padding-bottom: 48px; background: var(--ink); }
main > .galeria { padding-bottom: 56px; }
@media (max-width: 860px) { main > .rhd { padding-bottom: 44px; background: var(--ink); } .areas-note { padding-bottom: 8px !important; } }
@media (max-width: 560px) { .xurb { width: 68px; bottom: 12px; } }

@media (prefers-reduced-motion: reduce) { .cf-card { transition: opacity .2s linear; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
