/* ════════════════════════════════════════════════════════════════════════════
   ENGEFY · DESIGN SYSTEM · V02 · 2026
   Site multi-página · Manual da Marca v.01 + síntese das referências
   Paleta: Preto (estrutura) · Branco/Paper (respiro) · Amarelo (10%, pontuação)
   Tipografia: Gotham oficial (Book 400 · Black 700 · Ultra 900)
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── GOTHAM (arquivos oficiais do drive) ───────────────────────────────── */
@font-face { font-family: "Gotham"; src: url("assets/fonts/Gotham-Book.otf") format("opentype");  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("assets/fonts/Gotham-Black.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("assets/fonts/Gotham-Ultra.otf") format("opentype"); font-weight: 900; font-style: normal; font-display: swap; }

/* ─── TOKENS ────────────────────────────────────────────────────────────── */
:root {
  /* marca */
  --y: #FFDA44;
  --y-hover: #FFE271;
  --y-text: #A88200;          /* amarelo legível sobre fundo claro */
  --ink: #0A0A0A;

  /* superfícies */
  --dark: #0F0F0F;
  --dark-2: #171717;
  --dark-3: #202020;
  --paper: #F3F1EC;
  --paper-2: #E8E5DE;
  --white: #FFFFFF;

  /* texto */
  --t-dark: #0A0A0A;
  --t-dark-2: rgba(10,10,10,.64);
  --t-dark-3: rgba(10,10,10,.45);
  --t-light: #FFFFFF;
  --t-light-2: rgba(255,255,255,.68);
  --t-light-3: rgba(255,255,255,.45);

  /* linhas */
  --line-l: rgba(10,10,10,.10);
  --line-d: rgba(255,255,255,.10);

  /* tipo */
  --f: "Gotham", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
  --r: 14px;
  --r-lg: 22px;

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);

  /* header */
  --topbar-h: 0px;   /* sem faixa superior: contato fica no botão de WhatsApp do menu */
  --nav-h: 76px;
}

/* ─── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--t-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--y); color: var(--ink); }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 4px; }

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

/* ─── LAYOUT ────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.sec--dark  { background: var(--dark);  color: var(--t-light); }
.sec--dark2 { background: var(--dark-2); color: var(--t-light); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--yellow { background: var(--y); color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-2--top { align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ─── TIPOGRAFIA ────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--y-text);
  margin-bottom: 1.1rem;
}
.sec--dark .eyebrow, .sec--dark2 .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--y); }
.sec--yellow .eyebrow { color: var(--ink); }

.display {
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.h2 {
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.h3 {
  font-weight: 700;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.lede {
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  line-height: 1.55;
  color: var(--t-dark-2);
  max-width: 60ch;
}
.sec--dark .lede, .sec--dark2 .lede, .hero .lede, .page-hero .lede { color: var(--t-light-2); }
.sec--yellow .lede { color: rgba(10,10,10,.72); }

.hl { color: var(--y-text); }
.sec--dark .hl, .sec--dark2 .hl, .hero .hl, .page-hero .hl, .cta-band--dark .hl { color: var(--y); }

.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--t-dark-2); }
.sec--dark .muted, .sec--dark2 .muted { color: var(--t-light-2); }

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.sec-head .lede { margin-top: 1.1rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sec-head--row > div { max-width: 700px; }

/* ─── BOTÕES ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .85rem 1.5rem;
  border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn--y { background: var(--y); color: var(--ink); }
.btn--y:hover { background: var(--y-hover); }
.btn--line { border-color: var(--y); color: var(--y); }
.btn--line:hover { background: var(--y); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #262626; }
.btn--ghost { border-color: var(--line-l); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.sec--dark .btn--ghost, .sec--dark2 .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost, .case-hero .btn--ghost, .cta-band--dark .btn--ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.sec--dark .btn--ghost:hover, .sec--dark2 .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .case-hero .btn--ghost:hover, .cta-band--dark .btn--ghost:hover { border-color: var(--white); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1fbd5a; }
.btn--block { width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { gap: .7rem; }
.link-arrow svg { width: 15px; height: 15px; flex-shrink: 0; }
.post-card .link-arrow { white-space: nowrap; }

/* ════════════════════════════════════════════════════════════════════════
   HEADER (topbar + nav) — injetado por site.js
   ════════════════════════════════════════════════════════════════════════ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .35s var(--ease); }

.topbar {
  height: var(--topbar-h);
  background: var(--ink);
  color: var(--t-light-2);
  font-size: .74rem;
  border-bottom: 1px solid var(--line-d);
  transition: margin-top .3s var(--ease);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__contacts { display: flex; gap: 1.4rem; flex-shrink: 0; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.topbar__contacts a:hover { color: var(--y); }
.topbar__contacts svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .topbar__msg { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 420px) { .topbar__contacts a:last-child { display: none; } }

.nav {
  height: var(--nav-h);
  background: rgba(15,15,15,.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-d);
  color: var(--white);
  transition: background .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled .nav { background: rgba(12,12,12,.94); height: 66px; }
.site-header.is-scrolled .topbar { margin-top: calc(var(--topbar-h) * -1); }

.nav .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.nav__logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .nav__logo img { height: 34px; }

.nav__menu { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  position: relative;
  height: 44px; padding: 0 .8rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--t-light-2);
  transition: color .2s;
}
.nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link.is-active { color: var(--white); }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.nav__drop {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 260px;
  transform: translateY(8px);
  background: var(--dark-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: .55rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__drop::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a {
  display: block; padding: .7rem .85rem; border-radius: 9px;
  font-size: .88rem; color: var(--t-light-2);
  transition: background .15s, color .15s;
}
.nav__drop a small { display: block; font-size: .74rem; color: var(--t-light-3); margin-top: .1rem; }
.nav__drop a:hover { background: rgba(255,255,255,.06); color: var(--white); }

.nav__cta { display: flex; align-items: center; gap: .6rem; padding-left: 1.2rem; border-left: 1px solid var(--line-d); }
.nav__wa { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--white); transition: background .2s, border-color .2s; }
.nav__wa:hover { background: #25D366; border-color: #25D366; }
.nav__wa svg { width: 18px; height: 18px; }
.nav__cta .btn { min-height: 42px; padding: .6rem 1.15rem; font-size: .74rem; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.site-header.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile panel */
.mnav {
  position: fixed; inset: calc(var(--topbar-h) + var(--nav-h)) 0 0 0;
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem var(--gut) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 99;
}
.site-header.is-open .mnav { transform: none; }
.mnav details { border-bottom: 1px solid var(--line-d); }
.mnav summary, .mnav > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none;
}
.mnav > a { border-bottom: 1px solid var(--line-d); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 16px; transition: transform .2s; }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav details a { display: block; padding: .6rem 0 .6rem 1rem; color: var(--t-light-2); }
.mnav details div { padding-bottom: .8rem; }
.mnav .btns { margin-top: 1.75rem; flex-direction: column; }
.mnav .btn { width: 100%; }

@media (max-width: 1060px) {
  .nav__menu, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta { margin-left: auto; border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) { .nav__cta .btn--y { display: none; } }
.site-header.is-scrolled .mnav { top: 66px; }

/* ════════════════════════════════════════════════════════════════════════
   HERO (home) e PAGE-HERO (páginas internas)
   ════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(100svh, 960px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 3rem);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.25) 100%),
    linear-gradient(0deg, rgba(10,10,10,.95) 0%, transparent 45%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(3.5rem, 11vh, 7rem); }
.hero .display { max-width: 15ch; margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2.2rem; max-width: 54ch; }

.hero__proof {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-d);
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__proof .wrap { display: flex; align-items: center; gap: 1.5rem 2.5rem; padding-block: 1.15rem; flex-wrap: wrap; }
.hero__proof-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-3); flex-shrink: 0; }
.hero__proof-list { display: flex; gap: .5rem 1.6rem; flex-wrap: wrap; font-size: .85rem; color: var(--t-light-2); }
.hero__proof-list span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__proof-list span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--y); }

.page-hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  padding: calc(var(--topbar-h) + var(--nav-h) + clamp(3.5rem, 9vw, 6.5rem)) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}
.page-hero--img .page-hero__bg { position: absolute; inset: 0; }
.page-hero--img .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img .page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.7) 55%, rgba(10,10,10,.4) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .display { font-size: clamp(2.3rem, 5.2vw, 4.4rem); max-width: 18ch; margin-bottom: 1.2rem; }
.page-hero .lede { max-width: 58ch; }
.page-hero .btns { margin-top: 2rem; }

.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: var(--t-light-3); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--y); }
.crumbs span[aria-current] { color: var(--t-light-2); }

/* ════════════════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line-l); }
.stat:first-child { padding-left: 0; border-left: 0; }
.sec--dark .stat, .sec--dark2 .stat { border-color: var(--line-d); }
.stat__n { display: block; white-space: nowrap; font-weight: 900; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: -.035em; margin-bottom: .7rem; }
.stat__n .u { font-size: .46em; letter-spacing: 0; margin-left: .22em; }
.stat__l { font-size: .92rem; line-height: 1.45; color: var(--t-dark-2); max-width: 24ch; }
.sec--dark .stat__l, .sec--dark2 .stat__l { color: var(--t-light-2); }
.stat--y .stat__n { color: var(--y-text); }
.sec--dark .stat--y .stat__n { color: var(--y); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 2.2rem 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 440px) { .stats { grid-template-columns: 1fr; } .stat { padding-left: 0; border-left: 0; } }

.stats-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 860px) { .stats-intro { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   LOGOS (marquee)
   ════════════════════════════════════════════════════════════════════════ */
.logos { background: var(--paper-2); padding-block: clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; }
.logos__label { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--y-text); margin-bottom: 1.8rem; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); flex-shrink: 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__logo { height: 64px; display: flex; align-items: center; flex-shrink: 0; }
.marquee__logo img { width: auto; max-width: none; opacity: .62; transition: opacity .3s; }
.marquee__logo:hover img { opacity: 1; }
.marquee__logo.is-text { font-weight: 900; font-size: 1.05rem; letter-spacing: -.02em; color: rgba(10,10,10,.55); white-space: nowrap; }
.sec--dark .marquee__logo img, .sec--dark2 .marquee__logo img { filter: invert(1); }

/* grade de logos (página de obras / sobre) */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.logo-grid__cell { min-width: 0; aspect-ratio: 16/10; display: grid; place-items: center; padding: 1.2rem; background: var(--white); transition: background .2s; }
.logo-grid__cell:hover { background: var(--paper); }
.logo-grid__cell img { width: auto; max-width: 82%; object-fit: contain; opacity: .7; transition: opacity .3s; }
.logo-grid__cell:hover img { opacity: 1; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-grid__cell.is-text { font-weight: 900; font-size: 1rem; color: var(--t-dark-2); text-align: center; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════════════════════════════
   OBRA CARD
   ════════════════════════════════════════════════════════════════════════ */
.obras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.obras-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .obras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .obras-grid, .obras-grid--2 { grid-template-columns: 1fr; } }

.obra-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--dark-2); color: var(--white); isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.obra-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(0,0,0,.55); }
.obra-card__media { position: relative; aspect-ratio: 4/3; flex: 1 0 auto; overflow: hidden; background: var(--dark-3); }   /* cresce se o card vizinho da linha for mais alto → sem espaço vazio */
.obra-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.obra-card:hover .obra-card__media img { transform: scale(1.06); }
.obra-card__tag { position: absolute; top: .9rem; left: .9rem; z-index: 1; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--y); color: var(--ink); padding: .38rem .7rem; border-radius: 999px; }
.obra-card__body { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: none; }   /* altura fixa: o espaço que sobra na linha vai todo para a foto */
.obra-card__name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
.obra-card__loc { font-size: .82rem; color: var(--t-light-3); }
.obra-card__meta { display: flex; gap: 1.1rem; margin-top: auto; padding-top: .95rem; border-top: 1px solid var(--line-d); font-size: .82rem; color: var(--t-light-2); }
.obra-card__meta b { color: var(--y); font-weight: 700; }
.obra-card__meta span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.obra-card { container-type: inline-size; }
@container (max-width: 330px) { .obra-card__meta { gap: .8rem; } .obra-card__meta .obra-card__ano svg { display: none; } .obra-card__meta .obra-card__ano { margin-right: 2.4rem; } }
.obra-card__meta svg { width: 14px; height: 14px; color: var(--y); }
.obra-card__meta .obra-card__ano { margin-left: auto; margin-right: 2.6rem; color: var(--t-light-2); font-weight: 700; }
.obra-card__meta .obra-card__ano svg { color: var(--t-light-3); }
.obra-card__go { position: absolute; right: 1.1rem; bottom: 1.15rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--white); transition: background .2s, color .2s, border-color .2s; }
.obra-card:hover .obra-card__go { background: var(--y); border-color: var(--y); color: var(--ink); }
.obra-card__go svg { width: 14px; height: 14px; }

/* card grande (destaque) */
.obra-card--wide { grid-column: span 2; }
.obra-card--wide .obra-card__media { aspect-ratio: 16/9; }
@media (max-width: 620px) { .obra-card--wide { grid-column: auto; } .obra-card--wide .obra-card__media { aspect-ratio: 4/3; } }

/* cartão sobre fundo claro */
.sec--paper .obra-card, .sec--white .obra-card { box-shadow: 0 1px 0 var(--line-l); }

/* ─── FILTROS ─────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter {
  min-height: 42px; padding: .55rem 1.1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  border: 1.5px solid var(--line-l); color: var(--t-dark-2);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter .count { font-weight: 400; opacity: .6; margin-left: .3rem; }
.obras-empty { grid-column: 1 / -1; padding: 3rem; text-align: center; color: var(--t-dark-2); }
.obra-card.is-hidden { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   FRENTES (4 tipos de obra)
   ════════════════════════════════════════════════════════════════════════ */
.frentes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .frentes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .frentes { grid-template-columns: 1fr; } }
.frente { position: relative; min-height: 380px; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--white); isolation: isolate; }
.frente img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.frente::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.95) 5%, rgba(10,10,10,.35) 60%, rgba(10,10,10,.15) 100%); transition: background .3s; }
.frente:hover img { transform: scale(1.06); }
.frente:hover::after { background: linear-gradient(0deg, rgba(10,10,10,.97) 15%, rgba(10,10,10,.55) 70%, rgba(10,10,10,.3) 100%); }
.frente__n { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--y); margin-bottom: .7rem; }
.frente h3 { font-weight: 900; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .6rem; }
.frente p { font-size: .9rem; line-height: 1.5; color: var(--t-light-2); margin-bottom: 1rem; }
.frente .link-arrow { color: var(--y); align-self: flex-start; }
.frentes--2 { grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.frentes--2 .frente { min-height: clamp(440px, 46vw, 560px); padding: clamp(1.5rem, 3vw, 2.4rem); }
.frentes--2 .frente h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 18ch; }
.frentes--2 .frente p { font-size: .95rem; max-width: 46ch; }
.frentes--2 .frente::after { background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.9) 48%, rgba(10,10,10,.45) 78%, rgba(10,10,10,.2) 100%); }
.frentes--2 .frente:hover::after { background: linear-gradient(0deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.92) 55%, rgba(10,10,10,.55) 85%, rgba(10,10,10,.3) 100%); }
.frente__itens { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.3rem; padding: 0; list-style: none; }
.frente__itens li { font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--white); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .32rem .7rem; background: rgba(10,10,10,.35); }
@media (max-width: 760px) { .frentes--2 { grid-template-columns: 1fr; } .frentes--2 .frente { min-height: 420px; } }

/* ════════════════════════════════════════════════════════════════════════
   SPLIT (texto + imagem)
   ════════════════════════════════════════════════════════════════════════ */
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.2; background: var(--dark-3); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--y); color: var(--ink); border-radius: 12px; padding: .9rem 1.1rem; max-width: 240px; }
.split__badge b { display: block; font-weight: 900; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
.split__badge span { font-size: .78rem; line-height: 1.35; display: block; margin-top: .3rem; }
.split .h2 { margin-bottom: 1.2rem; }
.split .lede { margin-bottom: 1.6rem; }

.checks { display: grid; gap: .85rem; margin-bottom: 2rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.5; }
.checks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks b { font-weight: 700; }

/* ════════════════════════════════════════════════════════════════════════
   MAPA DO BRASIL
   ════════════════════════════════════════════════════════════════════════ */
.mapa { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .mapa { grid-template-columns: 1fr; } }
.mapa__svg { position: relative; width: 100%; max-width: 640px; }
.mapa__svg svg { width: 100%; height: auto; overflow: visible; }
/* estados */
.mapa__svg path { fill: #232323; stroke: #111; stroke-width: 1; stroke-linejoin: round; transition: fill .25s var(--ease), stroke .25s; }
.mapa__svg path.is-active { fill: rgba(255,218,68,.2); stroke: rgba(255,218,68,.32); }
.mapa__svg path.is-hover { fill: rgba(255,218,68,.4); stroke: var(--y); }
.mapa__svg path.is-link { cursor: pointer; }
.mapa__svg path:focus { outline: none; stroke: var(--y); stroke-width: 2; }
/* bolhas */
.bub { pointer-events: all; }
.bub__c { fill: var(--y); stroke: rgba(10,10,10,.35); stroke-width: 1; filter: drop-shadow(0 0 9px rgba(255,218,68,.45)); transition: fill .2s; }
.bub__uf, .bub__n { fill: var(--ink); text-anchor: middle; font-family: var(--f); pointer-events: none; }
.bub__uf { font-weight: 900; letter-spacing: -.02em; }
.bub__n { font-weight: 700; opacity: .72; }
.bub.is-hover .bub__c { fill: #fff3b8; }
.bub--live .bub__c { fill: #151515; stroke: var(--y); stroke-width: 2; filter: none; }
.bub--live .bub__uf, .bub--live .bub__n { fill: var(--y); }
.bub__pulse { fill: none; stroke: var(--y); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: bubPulse 2.4s ease-out infinite; }
@keyframes bubPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.2); opacity: 0; } }
/* tooltip */
.mapa__tip { position: absolute; z-index: 2; pointer-events: none; display: grid; gap: .1rem; background: rgba(20,20,20,.96); border: 1px solid rgba(255,218,68,.4); color: var(--white); font-size: .8rem; padding: .6rem .8rem; border-radius: 10px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); opacity: 0; transform: translate(-50%, calc(-100% - 14px)); transition: opacity .15s; white-space: nowrap; }
.mapa__tip b { color: var(--y); font-weight: 700; }
.mapa__tip span { color: var(--t-light-2); }
.mapa__tip i { font-style: normal; font-size: .7rem; color: var(--t-light-3); margin-top: .15rem; }
.mapa__tip.is-on { opacity: 1; }
/* alternância entregues / em andamento */
.mapa__toggle { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 1.4rem; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-d); }
.mapa__toggle button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 38px; padding: .45rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; color: var(--t-light-2); transition: background .2s, color .2s; }
@media (max-width: 480px) { .mapa__toggle { display: flex; flex-wrap: wrap; border-radius: 22px; } .mapa__toggle button { flex: 1 1 auto; gap: .35rem; padding-inline: .45rem; font-size: .7rem; } .mapa__toggle-x { display: none; } }
.mapa__toggle button:hover { color: var(--white); }
.mapa__toggle button.is-active { background: var(--y); color: var(--ink); }
.mapa__toggle i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mapa__toggle [data-mode="andamento"] i { box-shadow: 0 0 0 0 currentColor; animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,218,68,.6); } 100% { box-shadow: 0 0 0 7px rgba(255,218,68,0); } }
/* lista ranqueada */
.mapa__list { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .9rem; margin-bottom: 1.8rem; }
@media (max-width: 480px) { .mapa__list { grid-template-columns: 1fr; } }
.mapa__list li { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid transparent; font-size: .86rem; transition: border-color .2s, background .2s; }
.mapa__list li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w); background: var(--y); opacity: .75; }
.mapa__list li.is-hover { border-color: rgba(255,218,68,.45); background: rgba(255,218,68,.08); }
.mapa__list b { font-weight: 400; color: var(--t-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapa__list b small { font-size: .68rem; color: var(--y); text-transform: uppercase; letter-spacing: .08em; margin-left: .3rem; }
.mapa__list em { font-style: normal; font-weight: 900; color: var(--y); font-size: 1rem; }
.mapa__list .uf { min-width: 32px; text-align: center; }
.mapa__fallback { padding: 3rem 1rem; text-align: center; color: var(--t-light-3); }

.mapa__num { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.8rem; }
.mapa__num b { font-weight: 900; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .85; letter-spacing: -.05em; color: var(--y); }
.sec--paper .mapa__num b { color: var(--y-text); }
.mapa__num span { font-size: 1rem; line-height: 1.35; max-width: 16ch; color: var(--t-light-2); }
.sec--paper .mapa__num span { color: var(--t-dark-2); }

.regioes { display: grid; gap: 0; border-top: 1px solid var(--line-d); margin-bottom: 2rem; }
.sec--paper .regioes { border-color: var(--line-l); }
.regiao { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.sec--paper .regiao { border-color: var(--line-l); }
.regiao b { font-weight: 700; font-size: 1rem; }
.regiao div { display: flex; flex-wrap: wrap; gap: .4rem; }
.uf { font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .55rem; border-radius: 6px; background: rgba(255,218,68,.12); color: var(--y); transition: background .2s, color .2s; cursor: default; }
.sec--paper .uf { background: rgba(168,130,0,.1); color: var(--y-text); }
.uf.is-hover { background: var(--y); color: var(--ink); }

/* estados (lista numerada) */
.estados { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .estados { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .estados { grid-template-columns: 1fr; } }
.estado { border: 1px solid var(--line-l); border-radius: var(--r); padding: 1.3rem 1.4rem; background: var(--white); }
.estado__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.estado__top b { font-weight: 700; font-size: 1.05rem; }
.estado__top span { font-size: .8rem; font-weight: 700; color: var(--y-text); }
.estado p { font-size: .85rem; color: var(--t-dark-2); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════════════
   PROCESSO
   ════════════════════════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1.5px; background: var(--line-d); }
.sec--paper .steps::before, .sec--white .steps::before { background: var(--line-l); }
.step { position: relative; padding-right: 1.25rem; }
.step__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-3); border: 1.5px solid var(--line-d); font-size: .78rem; font-weight: 700; color: var(--y); margin-bottom: 1.4rem; position: relative; z-index: 1; transition: background .25s, color .25s; }
.sec--paper .step__dot, .sec--white .step__dot { background: var(--white); border-color: var(--line-l); color: var(--y-text); }
.step:hover .step__dot, .step:last-child .step__dot { background: var(--y); color: var(--ink); border-color: var(--y); }
.step h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .88rem; line-height: 1.5; color: var(--t-light-2); }
.sec--paper .step p, .sec--white .step p { color: var(--t-dark-2); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 0; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 1.1rem; padding: 0 0 1.8rem; }
  .step__dot { margin-bottom: 0; grid-row: span 2; }
  .step::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 1.5px; background: var(--line-d); }
  .sec--paper .step::after { background: var(--line-l); }
  .step:last-child::after { display: none; }
}

/* processo detalhado (página como-trabalhamos) */
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--line-l); align-items: start; }
.tl:last-child { border-bottom: 1px solid var(--line-l); }
.tl__n { font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: var(--y-text); }
.tl h3 { font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.tl h3 small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-dark-3); margin-bottom: .5rem; }
.tl p { color: var(--t-dark-2); line-height: 1.6; }
.tl ul { margin-top: .9rem; display: grid; gap: .4rem; }
.tl li { font-size: .9rem; color: var(--t-dark-2); padding-left: 1.1rem; position: relative; }
.tl li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--y); }
@media (max-width: 800px) { .tl { grid-template-columns: 60px 1fr; } .tl > div:last-child { grid-column: 2; } }

/* ════════════════════════════════════════════════════════════════════════
   FEATURES / DOCUMENTOS
   ════════════════════════════════════════════════════════════════════════ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .features, .features--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features, .features--3 { grid-template-columns: 1fr; } }
.feature { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r); padding: 1.6rem; transition: border-color .25s, transform .25s var(--ease); }
.feature:hover { border-color: var(--ink); transform: translateY(-3px); }
.sec--dark .feature, .sec--dark2 .feature { background: var(--dark-2); border-color: var(--line-d); }
.sec--dark .feature:hover { border-color: var(--y); }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--y); color: var(--ink); margin-bottom: 1.2rem; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: .5rem; line-height: 1.3; }
.feature p { font-size: .9rem; line-height: 1.55; color: var(--t-dark-2); }
.sec--dark .feature p, .sec--dark2 .feature p { color: var(--t-light-2); }

/* ════════════════════════════════════════════════════════════════════════
   FAQ (accordion nativo <details>)
   ════════════════════════════════════════════════════════════════════════ */
.faq { display: grid; gap: .7rem; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r); transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .25s var(--ease), background .2s; font-style: normal; }
.faq summary i::before { content: "+"; font-size: 1.2rem; font-weight: 400; line-height: 1; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--y); }
.faq details > div { padding: 0 1.4rem 1.35rem; color: var(--t-dark-2); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════════════
   TIME
   ════════════════════════════════════════════════════════════════════════ */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member { display: flex; flex-direction: column; gap: .8rem; }
.member__ph { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--y); }
.member__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .7s var(--ease); }
.member:hover .member__ph img { transform: scale(1.04); }
.member__ph.is-empty::after { content: ""; position: absolute; inset: 0; background: url("assets/logo/simbolo-preto.png") center 52%/40% no-repeat; opacity: .9; }
.member b { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.member span { display: block; font-size: .82rem; line-height: 1.4; color: var(--t-light-3); }
.member > div { container-type: inline-size; }
@media (min-width: 561px) { .member span { white-space: nowrap; font-size: min(.82rem, 5.6cqi); } }   /* cargo sempre em uma linha (encolhe um pouco se precisar) */
.sec--paper .member span, .sec--white .member span { color: var(--t-dark-3); }

/* ════════════════════════════════════════════════════════════════════════
   DEPOIMENTOS
   ════════════════════════════════════════════════════════════════════════ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.4rem; }
.quote__mark { font-weight: 900; font-size: 3.4rem; line-height: .6; color: var(--y); }
.quote p { font-size: 1.02rem; line-height: 1.6; flex: 1; }
.quote footer { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line-l); }
.quote footer b { display: block; font-weight: 700; font-size: .92rem; }
.quote footer span { font-size: .8rem; color: var(--t-dark-3); }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; font-weight: 900; font-size: .9rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════════════════ */
.cta-band { background: var(--y); color: var(--ink); padding-block: clamp(3.5rem, 8vw, 5.5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -110px; width: 360px; height: 430px; background: url("assets/logo/simbolo-preto.png") center/contain no-repeat; opacity: .07; pointer-events: none; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .h2 { max-width: 18ch; }
.cta-band p { margin-top: .8rem; color: rgba(10,10,10,.7); max-width: 48ch; }
.cta-band--dark { background: var(--ink); color: var(--white); }
.cta-band--dark::after { background-image: url("assets/logo/simbolo-branco.png"); opacity: .06; }
.cta-band--dark p { color: var(--t-light-2); }

/* ════════════════════════════════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════════════════════════════════ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .posts--2 { grid-template-columns: repeat(2, 1fr); } }   /* vitrine com 2 artigos (home) */
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card__meta { display: flex; gap: .8rem; font-size: .76rem; color: var(--t-dark-3); }
.post-card__meta b { color: var(--y-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.post-card h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.post-card p { font-size: .9rem; color: var(--t-dark-2); line-height: 1.55; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; padding-top: .5rem; color: var(--ink); }

/* artigo */
.article { max-width: 740px; margin-inline: auto; }
.article > * + * { margin-top: 1.3rem; }
.article p, .article li { font-size: 1.08rem; line-height: 1.75; color: rgba(10,10,10,.8); }
.article h2 { font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.2; margin-top: 2.8rem; }
.article h3 { font-weight: 700; font-size: 1.25rem; margin-top: 2rem; }
.article ul { display: grid; gap: .6rem; padding-left: 0; }
.article ul li { padding-left: 1.5rem; position: relative; }
.article ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); }
.article blockquote { margin: 2.2rem 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--y); background: var(--white); border-radius: 0 var(--r) var(--r) 0; font-size: 1.2rem; line-height: 1.55; font-weight: 700; }
.article figure { margin: 2.2rem 0; }
.article figure img { border-radius: var(--r); width: 100%; }
.article figcaption { font-size: .82rem; color: var(--t-dark-3); margin-top: .6rem; }
.article-hero-img { max-width: 1040px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .85rem; color: var(--t-light-3); margin-top: 1.4rem; }

/* ════════════════════════════════════════════════════════════════════════
   CASE (página de obra individual)
   ════════════════════════════════════════════════════════════════════════ */
.case-hero { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; padding-top: calc(var(--topbar-h) + var(--nav-h)); }
.case-hero__bg { position: absolute; inset: 0; }
.case-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.2) 100%); }
/* foto de baixa resolução: vira fundo atmosférico em vez de parecer borrada */
.case-hero.is-lowres .case-hero__bg img { filter: blur(3px) brightness(.8); transform: scale(1.06); }
.case-hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 6vw, 4rem); width: 100%; }
.case-hero .display { font-size: clamp(2.4rem, 6vw, 5rem); margin: .4rem 0 1.4rem; }

.case-kpis { display: flex; flex-wrap: wrap; gap: .8rem; }
.case-kpi { display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.08); border: 1px solid var(--line-d); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .75rem 1.1rem; border-radius: 12px; }
.case-kpi svg { width: 20px; height: 20px; color: var(--y); }
.case-kpi b { display: block; font-weight: 900; font-size: 1.25rem; line-height: 1; letter-spacing: -.02em; }
.case-kpi span { font-size: .72rem; color: var(--t-light-3); letter-spacing: .06em; text-transform: uppercase; }

.case-body { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .case-body { grid-template-columns: 1fr; } }
.case-body .lede { font-size: clamp(1.15rem, 1.5vw, 1.4rem); color: var(--t-dark); line-height: 1.5; max-width: none; margin-bottom: 1.6rem; }
.case-body p { color: var(--t-dark-2); line-height: 1.7; margin-bottom: 1rem; }

.ficha { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 1.6rem; }
.ficha__title { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--y-text); margin-bottom: 1rem; }
.ficha dl { display: grid; }
.ficha dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-l); font-size: .92rem; }
.ficha dt { color: var(--t-dark-3); }
.ficha dd { font-weight: 700; text-align: right; }
.ficha .btn { margin-top: 1.4rem; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: .8rem; font-weight: 700; padding: .45rem .85rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .8rem; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--dark-3); cursor: zoom-in; }
.gallery button:nth-child(1) { grid-column: span 8; aspect-ratio: 16/10; }
.gallery button:nth-child(2) { grid-column: span 4; aspect-ratio: 8/10.1; }
.gallery button:nth-child(n+3) { grid-column: span 4; aspect-ratio: 4/3; }
.gallery[data-n="4"] button:nth-child(n+3) { grid-column: span 6; aspect-ratio: 16/9; }
.gallery[data-n="6"] button:nth-child(n+3) { grid-column: span 3; aspect-ratio: 1; }
.gallery[data-n="3"] button:nth-child(3) { grid-column: span 12; aspect-ratio: 21/9; }
.gallery[data-n="7"] button:nth-child(n+6) { grid-column: span 6; aspect-ratio: 16/9; }
@media (max-width: 700px) { .gallery[data-n] button:nth-child(n) { grid-column: span 12; aspect-ratio: 4/3; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery button:nth-child(n) { grid-column: span 12; aspect-ratio: 4/3; } }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.case-nav a { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; border: 1px solid var(--line-d); border-radius: var(--r); transition: border-color .2s, background .2s; }
.case-nav a:hover { border-color: var(--y); background: var(--dark-2); }
.case-nav a:last-child { text-align: right; }
.case-nav span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-3); }
.case-nav b { font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,8,8,.94); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--y); color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════
   CONTATO
   ════════════════════════════════════════════════════════════════════════ */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.page-hero .contact .display { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.contact > *, .grid-2 > *, .case-body > *, .mapa > * { min-width: 0; }
.contact-item b, .footer__col a { overflow-wrap: anywhere; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border: 1px solid var(--line-d); border-radius: var(--r); transition: border-color .2s, background .2s; }
.contact-item:hover { border-color: var(--y); background: var(--dark-2); }
.contact-item__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--y); color: var(--ink); flex-shrink: 0; }
.contact-item__ic svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t-light-3); }
.contact-item b { font-weight: 700; font-size: 1rem; }

.form { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1.1rem; }
.form__head { margin-bottom: .4rem; }
.form__head b { display: block; font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; }
.form__head span { font-size: .88rem; color: var(--t-dark-2); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form > *, .field, .field input, .field select, .field textarea { min-width: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .78rem; font-weight: 700; color: var(--t-dark-2); }
.field label i { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 10px;
  padding: .85rem 1rem; min-height: 50px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--t-dark-3); }
.field.is-error input, .field.is-error select { border-color: #c0392b; }
.field__err { font-size: .76rem; color: #c0392b; display: none; }
.field.is-error .field__err { display: block; }
.seg { position: relative; display: flex; flex-wrap: wrap; gap: .45rem; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.seg label { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--t-dark-2); padding: .6rem 1rem; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; transition: all .2s; }
.seg input:checked + label { background: var(--ink); color: var(--white); }
.seg input:focus-visible + label { outline: 2px solid var(--y); outline-offset: 2px; }
.form__note { font-size: .78rem; color: var(--t-dark-3); line-height: 1.5; }
.form__ok { display: none; text-align: center; padding: 2rem 1rem; }
.form__ok b { display: block; font-weight: 900; font-size: 1.5rem; margin: 1rem 0 .5rem; }
.form.is-sent > *:not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; }
.form__ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--y); display: grid; place-items: center; margin: 0 auto; }
.form__ok-ic svg { width: 30px; height: 30px; }

.map-embed { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/8; background: var(--dark-3); border: 1px solid var(--line-d); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ════════════════════════════════════════════════════════════════════════
   FOOTER — injetado por site.js
   ════════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: var(--t-light-2); padding-top: clamp(4rem, 8vw, 6rem); font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-d); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 44px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 32ch; line-height: 1.6; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--white); transition: all .2s; }
.footer__social a:hover { background: var(--y); border-color: var(--y); color: var(--ink); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--y); margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: .8rem; color: var(--t-light-3); }
.footer__tagline { font-weight: 900; color: var(--white); letter-spacing: -.01em; }
.footer__tagline em { font-style: normal; color: var(--y); }

/* ─── WHATSAPP FLUTUANTE ─────────────────────────────────────────────── */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 150; display: flex; align-items: center; gap: .7rem; }
.wa-float__btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); position: relative; }
.wa-float__btn:hover { transform: scale(1.07); }
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: waPulse 2.4s var(--ease) infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__bubble { background: var(--white); color: var(--ink); font-size: .84rem; font-weight: 700; padding: .7rem 1rem; border-radius: 14px 14px 4px 14px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; white-space: nowrap; }
.wa-float.is-hint .wa-float__bubble, .wa-float:hover .wa-float__bubble { opacity: 1; transform: none; }
@media (max-width: 520px) { .wa-float__bubble { display: none; } .wa-float__btn { width: 54px; height: 54px; } }

/* ─── REVEAL ─────────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

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

/* ─── FOTO LARGA COM LEGENDA ─────────────────────────────────────────── */
.wide-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; background: var(--dark-3); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.wide-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem clamp(1.2rem, 3vw, 2rem) 1.4rem; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.5; background: linear-gradient(0deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.75) 45%, transparent 100%); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.wide-photo figcaption b { display: block; color: var(--white); font-size: 1.15rem; margin-bottom: .2rem; }
@media (max-width: 700px) { .wide-photo { aspect-ratio: 4/3; } }

/* ─── UTIL ───────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line-l); border: 0; margin: 0; }

/* ─── portfólio grande: paginação ─── */
.obra-card.is-paged { display: none; }
.obras-more { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.obras-more[hidden] { display: none; }
.obras-more small { color: var(--muted, #6b6b6b); font-size: .8rem; letter-spacing: .02em; }

/* ─── lista completa de obras em shopping ─── */
.lista { border-top: 1px solid var(--line, #e6e3dc); }
.lista__ano { border-bottom: 1px solid var(--line, #e6e3dc); }
.lista__ano summary { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.lista__ano summary::-webkit-details-marker { display: none; }
.lista__ano summary b { font-weight: 900; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.lista__ano summary span { color: var(--muted, #6b6b6b); font-size: .9rem; }
.lista__ano summary i { margin-left: auto; width: .7rem; height: .7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.lista__ano[open] summary i { transform: rotate(-135deg); }
.lista__ano ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4rem; }
.lista__ano li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .8rem; align-items: baseline; padding: .55rem 0; border-top: 1px dashed var(--line, #e6e3dc); font-size: .93rem; }
.lista__nome { overflow-wrap: anywhere; }
.lista__nome a { color: inherit; text-decoration: underline; text-decoration-color: var(--y, #FFDA44); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lista__loc { color: var(--muted, #6b6b6b); font-size: .82rem; white-space: nowrap; }
.lista__m2 { font-weight: 700; font-size: .82rem; white-space: nowrap; min-width: 4.5em; text-align: right; }
@media (max-width: 760px) { .lista__ano ul { grid-template-columns: 1fr; } .lista__loc { display: none; } }

/* números da obra em 2 colunas no celular (menos altura, sem blocos de larguras diferentes) */
@media (max-width: 620px) {
  .case-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .case-kpi { padding: .7rem .8rem; gap: .55rem; min-width: 0; }
  .case-kpi b { font-size: 1.05rem; overflow-wrap: anywhere; }
  .case-kpi span { font-size: .64rem; letter-spacing: .04em; }
  .case-kpi svg { flex: none; width: 18px; height: 18px; }
}
@media (max-width: 620px) {
  /* com 3 números, o local ocupa a linha inteira (sem bloco sozinho) */
  .case-kpis:has(> :nth-child(3):last-child) .case-kpi--loc { grid-column: 1 / -1; order: 9; }
}

/* ─── formulário do Pipefy embutido (Trabalhe conosco / Fornecedores) ─── */
.form--embed { padding: 0; gap: 0; overflow: hidden; }
.form--embed .form__head { padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem) .6rem; margin: 0; }
.form--embed iframe { display: block; width: 100%; height: 1150px; border: 0; }
.form--embed .form__note { padding: .8rem clamp(1.5rem, 3.5vw, 2.5rem) 1.4rem; margin: 0; }
.form--embed .form__note a { text-decoration: underline; }
@media (max-width: 960px) { .form--embed iframe { height: 1300px; } }

/* ─── linha do tempo (Quem somos → Nossa trajetória) ─── */
.timeline { position: relative; display: grid; gap: clamp(3rem, 7vw, 5.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--line-l); transform: translateX(-50%); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--y); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--y); transform: translate(-50%, -50%); z-index: 1; }
.tl-item__media { margin: 0; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--line-l); box-shadow: 0 30px 60px -35px rgba(0,0,0,.45); }
.tl-item__media img { width: 100%; height: 100%; object-fit: cover; }
.tl-item:nth-of-type(even) .tl-item__media { order: 2; }   /* nth-of-type: os capítulos (div) não quebram a alternância */
.tl-item__ano { display: block; font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--y-text); margin-bottom: .7rem; }
.tl-item__body h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .6rem; }
.tl-item__body p { color: var(--t-dark-2); line-height: 1.65; max-width: 46ch; }
.tl-item__body p + p { margin-top: .7rem; }
/* capítulo: selo centralizado sobre a linha */
.tl-cap { position: relative; z-index: 1; justify-self: center; text-align: center; background: var(--paper); border: 2px solid var(--line-l); border-radius: 999px; padding: .75rem 1.8rem; }
.tl-cap small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-dark-3); margin-bottom: .15rem; }
.tl-cap b { font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.02em; }
@media (max-width: 820px) {
  .timeline::before { left: 9px; transform: none; }
  .tl-item { grid-template-columns: 1fr; gap: 1.2rem; padding-left: 2.4rem; }
  .tl-item::before { left: 10px; top: 0; transform: translate(-50%, 0); }
  .tl-item:nth-of-type(even) .tl-item__media { order: 0; }
  .tl-cap { justify-self: start; text-align: left; padding: .6rem 1.2rem; }
}

/* obras entregues por ano (Quem somos) — barras a partir de STATS.porAno */
.anos-box { margin-top: clamp(3.5rem, 8vw, 6rem); }
.anos-box__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.6rem; }
.anos-box__head h3 { font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.02em; }
.anos-box__head p { font-size: .85rem; color: var(--t-dark-3); }
.anos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(.35rem, 1.5vw, 1.2rem); align-items: end; height: 260px; border-bottom: 2px solid var(--line-l); }
.anos__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.anos__col b { font-weight: 900; font-size: clamp(.85rem, 1.6vw, 1.15rem); letter-spacing: -.02em; margin-bottom: .35rem; }
.anos__bar { display: block; width: 100%; max-width: 72px; height: 0; border-radius: 8px 8px 0 0; background: var(--y); transition: height 1s var(--ease); }
.anos__col.is-in .anos__bar { height: calc(var(--h) * .8); }
.anos__col.rv, .anos__col.rv.is-in { opacity: 1; transform: none; }   /* só a barra anima */
.anos-box__x { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(.35rem, 1.5vw, 1.2rem); margin-top: .5rem; text-align: center; font-size: clamp(.72rem, 1.4vw, .85rem); font-weight: 700; color: var(--t-dark-2); }
@media (max-width: 560px) { .anos { height: 200px; } }


/* ─── mapa: modo "Shoppings" (bolhas + painel com os shoppings do estado) ─── */
.bub--shop .bub__c { fill: #F5F3EE; stroke: var(--y); stroke-width: 2; filter: none; }
.bub--shop .bub__uf, .bub--shop .bub__n { fill: var(--ink); }
.bub--shop.is-hover .bub__c { fill: var(--y); }
.mapa__toggle [data-mode="shoppings"] i { border-radius: 2px; }
.mapa__list.is-pick li { cursor: pointer; }
.mapa__list li.is-sel { border-color: var(--y); background: rgba(255,218,68,.12); }
.mapa__shops { margin: -0.6rem 0 1.8rem; padding: 1rem 1.1rem .4rem; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-d); }
.mapa__shops[hidden] { display: none; }
.mapa__shops-h { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .9rem; }
.mapa__shops-h .uf { background: var(--y); color: var(--ink); font-weight: 900; font-size: .72rem; border-radius: 6px; padding: .15rem .4rem; }
.mapa__shops-h b { font-weight: 700; color: var(--white); }
.mapa__shops-h em { margin-left: auto; font-style: normal; font-size: .74rem; color: var(--t-light-3); }
.mapa__shops ul { columns: 2 200px; column-gap: 1.2rem; }
.mapa__shops li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line-d); font-size: .82rem; color: var(--t-light); line-height: 1.3; }
.mapa__shops li small { display: block; font-size: .7rem; color: var(--t-light-3); margin-top: .1rem; }
.mapa__shops li i { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--y); white-space: nowrap; }

/* ─── selo do tipo de obra no card: loja nova (amarelo, com ✓) x reforma/refit/retrofit/benfeitorias (neutro) ─── */
.obra-card__tag { display: inline-flex; align-items: center; gap: .3rem; }
.obra-card__tag svg { width: 11px; height: 11px; stroke-width: 3; }
.obra-card__tag--neutro { background: rgba(10,10,10,.78); color: var(--white); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ─── split (foto + texto): no computador a foto acompanha a altura do texto ─── */
@media (min-width: 901px) {
  .split { align-items: stretch; }
  .split > :not(.split__media) { align-self: center; }
  .split__media { aspect-ratio: auto; min-height: 440px; }
  .split__media img { position: absolute; inset: 0; }
}
