/* Fontes self-hosted (latin). Geradas a partir do Google Fonts. */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-serif-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-normal.woff2) format('woff2');
}

@font-face { font-family: "Archivo Fallback"; font-weight: 100 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 98.9%; }
@font-face { font-family: "Archivo Fallback"; font-weight: 501 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 95.5%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"); size-adjust: 88.4%; }

/* =========================================================
   MILTEC ENGENHARIA · Design system
   Paleta herdada do site atual: bordô #671110 / #752726 e amarelo #FFB400
   ========================================================= */
:root {
  --bordo-950: #1f0605;
  --bordo-900: #2b0908;
  --bordo-800: #430f0e;
  --bordo-700: #671110;   /* cor institucional */
  --bordo-600: #752726;   /* cor do logo */
  --bordo-500: #8f2e2b;
  --bordo-300: #c98c86;
  --yellow: #ffb400;      /* destaque institucional */
  --yellow-soft: #ffd166;

  --paper: #f4f0ea;
  --paper-2: #ebe5dc;
  --paper-3: #e0d8cc;
  --ink: #1c1514;
  --ink-2: #4b403d;
  --ink-3: #7a6d69;
  --line: rgba(28, 21, 20, .14);
  --line-light: rgba(244, 240, 234, .16);

  --f-display: "Archivo", "Archivo Fallback", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1280px;
  --radius: 22px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;

  --z-cursor: 1000; --z-loader: 900; --z-menu: 600; --z-header: 500; --z-float: 400;

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-display); font-size: 16px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
strong { font-weight: 650; }
svg use { pointer-events: none; }
::selection { background: var(--yellow); color: var(--bordo-900); }

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

.mt-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 8vw, 120px); position: relative; }
.section--dark { background: var(--bordo-900); color: var(--paper); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; background: var(--yellow); color: var(--bordo-900); padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bordo-700); margin-bottom: 20px;
}
.eyebrow .idx { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding-inline: 6px; border: 1px solid currentColor; border-radius: 99px; font-size: 11px; }
.eyebrow--light { color: var(--yellow); }
.h2 {
  font-size: clamp(26px, 2.5vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.08;
  font-variation-settings: "wdth" 92;
}
.h2 em { color: var(--bordo-600); font-size: 1.06em; }
.section--dark .h2 em, .blueprint .h2 em { color: var(--yellow); }
.lead { font-size: clamp(16px, 1.1vw, 18px); color: var(--ink-2); max-width: 52ch; }
.section--dark .lead { color: rgba(244, 240, 234, .78); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 50px; padding: 0 22px; border-radius: 99px;
  background: var(--bg); color: var(--fg); font-weight: 560; font-size: 15px;
  overflow: hidden; isolation: isolate; cursor: pointer; touch-action: manipulation;
  transition: color .35s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--yellow); transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bordo-900); }
.btn:hover svg { transform: translateX(4px); }
.btn:active::before { transform: translateY(0); filter: brightness(.92); }
.btn--primary { --bg: var(--bordo-700); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--yellow { --bg: var(--yellow); --fg: var(--bordo-900); }
.btn--yellow::before { background: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .5; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease-out), color .3s; }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 14px; color: var(--bordo-700); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: var(--z-cursor); pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--bordo-700); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(103, 17, 16, .5); display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bordo-900); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; background: rgba(255, 180, 0, .18); border-color: transparent; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--yellow); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-dark .cursor__dot { background: var(--yellow); }
.cursor.is-dark .cursor__ring { border-color: rgba(255, 180, 0, .5); }

/* ---------- Scroll progress (CSS scroll-driven) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); z-index: calc(var(--z-header) + 1); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s; }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.header__logo { color: var(--bordo-600); display: block; flex: none; }
.header__logo svg { width: 176px; height: 34px; fill: currentColor; display: block; }
.header.is-scrolled { background: rgba(244, 240, 234, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header.is-dark:not(.is-scrolled) .header__logo, .header.is-dark:not(.is-scrolled) .nav a { color: var(--paper); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.nav a { position: relative; display: block; padding: 10px 11px; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 99px; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px; background: var(--bordo-700); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--bordo-700); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bordo-700); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bordo-900); color: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 40px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header__logo { color: var(--paper); }
.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(28px, 7.5vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; font-variation-settings: "wdth" 85; border-bottom: 1px solid var(--line-light); padding-block: 6px; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
.menu__nav a small { font-family: var(--f-mono); font-size: 12px; color: var(--yellow); font-weight: 400; letter-spacing: .1em; }
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s } .menu-open .menu__nav a:nth-child(2) { transition-delay: .3s }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s } .menu-open .menu__nav a:nth-child(4) { transition-delay: .4s }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s } .menu-open .menu__nav a:nth-child(6) { transition-delay: .5s }
.menu-open .menu__nav a:nth-child(7) { transition-delay: .55s }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--f-mono); font-size: 13px; color: rgba(244, 240, 234, .75); }

/* ---------- Hero (compacto, com prévia das seções) ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 36px); padding-bottom: 36px; display: flex; flex-direction: column; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 30% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 180, 0, .25); }
.hero__title {
  font-size: clamp(30px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.04;
  font-variation-settings: "wdth" 90; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--bordo-700); font-size: 1.08em; letter-spacing: -.01em; }
.hero__rotator { margin-top: 18px; font-size: clamp(15px, 1.1vw, 17px); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: .35em; }
.rotator { position: relative; display: inline-grid; color: var(--bordo-700); font-weight: 600; overflow: hidden; height: 1.35em; vertical-align: bottom; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); }
.rotator { transition: width .6s var(--ease-out); }
.rotator__word { grid-area: 1 / 1; justify-self: start; transform: translateY(110%); transition: transform .7s var(--ease-out); white-space: nowrap; }
.rotator__word.is-active { transform: translateY(0); }
.rotator__word.is-out { transform: translateY(-110%); }
.hero__lead { margin-top: 12px; max-width: 46ch; color: var(--ink-2); font-size: 15px; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero__visual { position: relative; height: clamp(320px, 32vw, 430px); }
.hero__frame {
  position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 4px;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 16% 100%, 0 50%);
  background: var(--bordo-800);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(43, 9, 8, .55)); }
.hero__scan { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 40px 40px; mix-blend-mode: overlay; }
.hero__coords { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(28, 21, 20, .55); color: var(--paper); backdrop-filter: blur(6px); font-size: 10px; }
.hero__coords b { font-weight: 500; color: var(--yellow); font-variant-numeric: tabular-nums; }
.glass { background: rgba(244, 240, 234, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 20px 50px -20px rgba(43, 9, 8, .45); }
.hero__tag { position: absolute; left: -4%; bottom: 9%; z-index: 3; display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; max-width: 260px; }
.hero__tag small { display: block; color: var(--bordo-700); font-size: 10px; margin-bottom: 3px; }
.hero__tag strong { display: block; font-size: 14px; line-height: 1.25; }
.hero__tag span:not(.live) { font-size: 12px; color: var(--ink-2); }
.hero__team { position: absolute; right: -2%; top: 16%; z-index: 3; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 99px; max-width: 290px; }
.hero__team img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; flex: none; }
.hero__team strong { display: block; font-size: 13px; line-height: 1.2; }
.hero__team span { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.3; }
.live { flex: none; margin-top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 0 rgba(46, 158, 91, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 158, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); } }
.hero__dim { position: absolute; left: 16%; right: 0; bottom: -28px; width: 84%; height: 26px; overflow: visible; }
.hero__dim path { fill: none; stroke: var(--bordo-600); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__dim text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; fill: var(--bordo-600); }

/* prévia do que vem a seguir */
.hero__preview { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pv { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); transition: transform .4s var(--ease-out), background-color .3s, border-color .3s, box-shadow .4s; }
.pv img { width: 64px; height: 52px; border-radius: 9px; object-fit: cover; flex: none; }
.pv span { flex: 1; min-width: 0; }
.pv small { display: block; color: var(--bordo-700); font-size: 10px; letter-spacing: .1em; }
.pv b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.pv svg { width: 18px; height: 18px; flex: none; color: var(--bordo-700); transition: transform .4s var(--ease-out); }
.pv:hover { transform: translateY(-3px); background: #fff; border-color: rgba(103, 17, 16, .25); box-shadow: 0 16px 30px -18px rgba(43, 9, 8, .4); }
.pv:hover svg { transform: translate(2px, -2px); }

/* ---------- About ---------- */
.about { padding-top: clamp(48px, 5vw, 80px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__title { font-size: clamp(24px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; font-variation-settings: "wdth" 92; max-width: 20ch; margin-bottom: 24px; }
.about__title em { color: var(--bordo-700); font-size: 1.06em; }
.manifesto {
  font-size: clamp(16px, 1.15vw, 17px); line-height: 1.7; font-weight: 400; letter-spacing: 0;
  max-width: 54ch; color: var(--ink-2);
}
.manifesto strong { color: var(--bordo-700); font-weight: 600; }
.about__photos { position: relative; margin: 0; padding: 0 0 48px 0; }
.about__ph1 { width: 86%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); margin-left: auto; }
.about__ph2 { position: absolute; left: 0; bottom: 0; width: 40%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 6px solid var(--paper); box-shadow: 0 24px 50px -24px rgba(43, 9, 8, .5); }
.about__photos figcaption { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(244, 240, 234, .9); color: var(--ink); font-size: 10px; }
.about__photos figcaption .live { margin: 0; }
.mvv { margin-top: clamp(40px, 4.5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.mvv__card { background: var(--paper); padding: 32px 28px 34px 0; display: grid; gap: 10px; align-content: start; }
.mvv__card + .mvv__card { padding-left: 28px; }
.mvv__n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bordo-700); color: var(--yellow); font-size: 12px; }
.mvv__card h3 { font-size: 18px; letter-spacing: -.015em; }
.mvv__card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Blueprint (comparador projeto x obra, controlado por clique/arraste) ---------- */
.blueprint { position: relative; background: var(--bordo-900); color: var(--paper); padding-block: clamp(72px, 8vw, 120px); overflow: hidden; }
.blueprint__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.blueprint .h2 { font-size: clamp(24px, 2.3vw, 36px); }
.blueprint__lead { margin-top: 18px; max-width: 46ch; color: rgba(244, 240, 234, .78); font-size: 16px; }
.blueprint__steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; }
.blueprint__steps button {
  width: 100%; min-height: 54px; display: flex; gap: 16px; align-items: center; text-align: left;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-light);
  font-size: 16px; color: rgba(244, 240, 234, .82); transition: background-color .3s, color .3s, border-color .3s;
}
.blueprint__steps button span { color: var(--yellow); }
.blueprint__steps button:hover { border-color: rgba(255, 180, 0, .6); color: var(--paper); }
.blueprint__steps button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--bordo-900); font-weight: 600; }
.blueprint__steps button[aria-pressed="true"] span { color: var(--bordo-900); }
.blueprint__foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.blueprint__meter { display: flex; gap: 14px; align-items: baseline; color: rgba(244, 240, 234, .7); }
.blueprint__meter b { color: var(--yellow); font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums; }
.blueprint__stage { --p: 45%; position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--bordo-800); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.blueprint__real, .blueprint__plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.blueprint__plan { position: absolute; inset: 0; background: #2a0d0c; clip-path: inset(0 0 0 var(--p)); }
.blueprint__plan img { filter: grayscale(1) contrast(1.6) brightness(1.25) invert(1); mix-blend-mode: screen; opacity: .35; }
.blueprint__plan::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 180, 0, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 180, 0, .14) 1px, transparent 1px), linear-gradient(rgba(255, 180, 0, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 180, 0, .06) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.blueprint__marks { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.blueprint__marks * { fill: none; stroke: var(--yellow); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 3; }
.blueprint__note { position: absolute; z-index: 2; left: var(--x); top: var(--y); color: var(--yellow); font-size: 10px; background: rgba(43, 9, 8, .7); padding: 4px 8px; border-radius: 4px; }
.blueprint__tag { position: absolute; top: 14px; z-index: 3; padding: 6px 10px; border-radius: 6px; font-size: 11px; pointer-events: none; transition: opacity .3s; }
.blueprint__tag--real { left: 14px; background: rgba(244, 240, 234, .92); color: var(--ink); }
.blueprint__tag--plan { right: 14px; background: var(--yellow); color: var(--bordo-900); }
.blueprint__stage[data-p-low] .blueprint__tag--real, .blueprint__stage[data-p-high] .blueprint__tag--plan { opacity: 0; }
.blueprint__scan { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; z-index: 4; background: var(--yellow); box-shadow: 0 0 24px 4px rgba(255, 180, 0, .45); }
.blueprint__handle { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: var(--yellow); color: var(--bordo-900); display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .55); cursor: grab; transition: scale .3s var(--ease-out); }
.blueprint__handle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blueprint__stage:hover .blueprint__handle, .blueprint__handle:focus-visible { scale: 1.08; }
.blueprint__stage.is-dragging .blueprint__handle { cursor: grabbing; scale: 1.12; }
.blueprint__handle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Services (grade) ---------- */
.services { position: relative; background: var(--paper); }
.services__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services__intro { padding-right: 16px; display: flex; flex-direction: column; justify-content: center; }
.services__intro .h2 { font-size: clamp(26px, 2.4vw, 36px); }
.services__intro .lead { margin-top: 20px; }
.svc {
  position: relative; min-height: 320px;
  display: flex; flex-direction: column; padding: 24px; border-radius: 18px;
  background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color .5s;
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bordo-700); clip-path: circle(0% at 100% 0%); transition: clip-path .7s var(--ease-io); }
.svc:hover::before { clip-path: circle(150% at 100% 0%); }
.svc:hover { color: var(--paper); }
.svc:hover .svc__n { -webkit-text-stroke-color: var(--yellow); }
.svc:hover .tags li { border-color: var(--line-light); }
.svc:hover .svc__icon { color: var(--yellow); transform: rotate(-8deg) scale(1.08); }
.svc__n { font-size: clamp(34px, 2.6vw, 44px); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--bordo-600); font-variation-settings: "wdth" 75; transition: -webkit-text-stroke-color .4s; }
.svc__icon { width: 40px; height: 40px; margin-top: auto; color: var(--bordo-700); transition: transform .6s var(--ease-out), color .4s; }
.svc h3 { margin-top: 14px; font-size: clamp(17px, 1.2vw, 19px); letter-spacing: -.02em; }
.svc p { margin-top: 8px; font-size: 15px; line-height: 1.55; opacity: .88; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; border: 1px solid var(--line); transition: border-color .4s; }
.svc--feature { grid-column: span 2; color: var(--paper); background: var(--bordo-900); padding: 0; }
.svc--feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform 1.2s var(--ease-out), opacity .6s; z-index: -2; }
.svc--feature:hover img { transform: scale(1.06); opacity: .3; }
.svc--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,9,8,.2), rgba(43,9,8,.92) 70%); }
.svc--feature::before { display: none; }
.svc--feature .svc__body { padding: 24px; display: flex; flex-direction: column; height: 100%; max-width: 52ch; }
.svc--feature:last-child { grid-column: span 1; }
.svc--feature .svc__n { -webkit-text-stroke-color: var(--yellow); }
.svc--feature .svc__icon { color: var(--yellow); }
.svc--feature .tags li { border-color: var(--line-light); }
.svc--accent { background: var(--yellow); border-color: transparent; }
.svc--accent .svc__n { -webkit-text-stroke-color: var(--bordo-900); }
/* ---------- Sectors (lista clicável + painel fixo) ---------- */
.sectors__head { display: grid; grid-template-columns: 1fr auto; gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.sectors__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sectors__hint { color: var(--ink-2); }
.sectors__layout { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.sectors__tabs { display: grid; align-content: start; gap: 8px; }
.sectors__tab {
  display: grid; grid-template-columns: 34px 1fr 22px; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 18px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line); background: var(--paper);
  transition: background-color .3s, color .3s, border-color .3s;
}
.sectors__tab span { color: var(--bordo-700); }
.sectors__tab b { font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; letter-spacing: -.01em; }
.sectors__tab svg { width: 20px; height: 20px; color: var(--bordo-700); opacity: .35; transition: opacity .3s, transform .3s var(--ease-out); }
.sectors__tab:hover { border-color: rgba(103, 17, 16, .4); background: #fff; }
.sectors__tab:hover svg { opacity: 1; transform: translateX(3px); }
.sectors__tab[aria-selected="true"] { background: var(--bordo-700); border-color: var(--bordo-700); color: #fff; }
.sectors__tab[aria-selected="true"] span, .sectors__tab[aria-selected="true"] svg { color: var(--yellow); opacity: 1; }
.sectors__panels { display: grid; }
.sector { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.sector.is-active { opacity: 1; visibility: visible; transition: opacity .35s; }
.sector__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.sector__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sector__n { color: var(--bordo-700); }
.sector h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.025em; }
.sector p { color: var(--ink-2); font-size: 16px; }
.sector .tags { margin: 4px 0 8px; }
.sector .link-arrow { margin-top: auto; color: var(--bordo-700); }

/* ---------- Why / bento ---------- */
.why__head { margin-bottom: 40px; }
.why .h2 { max-width: none; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.bento__item { position: relative; border-radius: 18px; padding: 24px; background: rgba(244, 240, 234, .05); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 12px; overflow: hidden; isolation: isolate; transition: border-color .4s, background-color .4s; }
.bento__item:hover { border-color: rgba(255, 180, 0, .45); background: rgba(244, 240, 234, .08); }
.bento__item h3 { font-size: 18px; letter-spacing: -.02em; }
.bento__item p { color: rgba(244, 240, 234, .74); font-size: 14.5px; }
.bento__item--lg { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 420px; }
.bento__item--lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.bento__item--lg:hover img { transform: scale(1.05); }
.bento__item--lg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 9, 8, 0) 20%, rgba(43, 9, 8, .94) 85%); }
.bento__content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bento__content .chip { margin-bottom: 4px; }
.bento__item--lg h3 { font-size: clamp(20px, 1.6vw, 24px); max-width: 18ch; line-height: 1.12; }
.bento__item--lg p { max-width: 46ch; }
.bento__item--wide { grid-column: span 3; padding-right: 200px; justify-content: center; }
@media (max-width: 1180px) { .bento__item--wide { grid-column: span 2; } }
.bento__item--stat { justify-content: space-between; }
.bento__item--yellow { background: var(--yellow); color: var(--bordo-900); border-color: transparent; }
.bento__item--yellow p { color: var(--bordo-800); }
.bento__item--yellow:hover { background: var(--yellow-soft); }
.stat b { font-size: clamp(46px, 4vw, 64px); font-weight: 700; letter-spacing: -.06em; line-height: .85; font-variation-settings: "wdth" 75; font-variant-numeric: tabular-nums; }
.bento__icon { width: 38px; height: 38px; color: var(--yellow); margin-bottom: auto; }
.chip { align-self: flex-start; padding: 6px 12px; border-radius: 99px; background: var(--yellow); color: var(--bordo-900); font-size: 11px; }
.bento__item em { color: var(--yellow); font-size: 1.1em; }
.esg-ring { position: absolute; right: 28px; top: 50%; translate: 0 -50%; width: 104px; height: 104px; display: grid; place-items: center; }
.esg-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.esg-ring circle { fill: none; stroke: var(--line-light); stroke-width: 2; }
.esg-ring .esg-ring__p { stroke: var(--yellow); }
.esg-ring span { color: var(--yellow); font-size: 12px; }

/* ---------- Works ---------- */
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 16px; }
.work { position: relative; display: block; text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--bordo-900); color: var(--paper); isolation: isolate; cursor: pointer; }
.work--a { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 520px; }
.work--b { grid-column: 8 / 13; min-height: 251px; }
.work--c { grid-column: 8 / 13; min-height: 251px; }
.work__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.work__media img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.work:hover .work__media img { transform: scale(1.06); }
.work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 9, 8, 0) 25%, rgba(43, 9, 8, .55) 55%, rgba(43, 9, 8, .94)); transition: opacity .5s; }
.work__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 8px; }
.work__cat { color: var(--yellow); }
.work__title { font-size: clamp(19px, 1.5vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wdth" 85; }
.work__desc { max-width: 46ch; color: rgba(244, 240, 234, .85); font-size: 15px; }
.work__go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--bordo-900); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.work__go svg { width: 22px; height: 22px; }
.work__logo { position: absolute; top: 18px; left: 18px; height: 54px; padding: 4px 8px; border-radius: 10px; background: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.work__logo img { height: 100%; width: auto; }
.works__more { margin-top: 22px; color: var(--ink-2); }
.works__more a { color: var(--bordo-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.work:hover .work__go, .work:focus-visible .work__go { transform: scale(1.1); }

/* dialog (case) */
.case { width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow: hidden; }
.case::backdrop { background: rgba(31, 6, 5, .7); backdrop-filter: blur(6px); }
.case[open] { animation: caseIn .55s var(--ease-out); }
@keyframes caseIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.case__inner { display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100dvh - 32px); }
.case__hero { margin: 0; min-height: 100%; position: relative; background: var(--bordo-900); }
.case__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: rgba(244, 240, 234, .94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: background-color .3s; }
.case__nav:hover { background: var(--yellow); }
.case__nav svg { width: 22px; height: 22px; }
.case__prev { left: 16px; } .case__prev svg { transform: rotate(180deg); }
.case__next { right: 16px; }
.case__count { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 10px; border-radius: 8px; background: rgba(28, 21, 20, .7); color: var(--paper); }
.case__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-right: 56px; }
.case__logo { display: inline-flex; height: 76px; padding: 4px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.case__logo img { height: 100%; width: auto; }
.case__logo[hidden] { display: none; }
.case__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: clamp(28px, 4vw, 56px); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.case__cat { color: var(--bordo-700); }
.case__title { font-size: clamp(24px, 2.1vw, 32px); letter-spacing: -.035em; font-variation-settings: "wdth" 85; }
.case__text { color: var(--ink-2); font-size: 17px; }
.case__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin: 6px 0; }
.case__facts div { background: var(--paper); padding: 14px 0; }
.case__facts div:nth-child(even) { padding-left: 16px; }
.case__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.case__facts dd { margin: 4px 0 0; font-weight: 560; }
.case__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case__gallery button { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.case__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .3s; }
.case__gallery button:hover img { transform: scale(1.08); }
.case__gallery button[aria-current="true"] { outline: 2px solid var(--yellow); outline-offset: 2px; }
.case__gallery button.is-video { position: relative; }
.case__gallery button.is-video svg { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(244, 240, 234, .94); color: var(--ink); pointer-events: none; }
.case__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.case__video[hidden], .case__hero img[hidden] { display: none; }
.case__hero:has(.case__video:not([hidden])) .case__count { display: none; }
.case__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .4s var(--ease-out); }
.case__close:hover { transform: rotate(90deg); }
.case__close svg { width: 22px; height: 22px; }
.case__cta { justify-self: start; margin-top: 6px; }
::view-transition-old(case-img), ::view-transition-new(case-img) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* ---------- Method ---------- */
.method { background: var(--paper-2); }
.method__head { text-align: center; display: grid; justify-items: center; margin-bottom: 56px; }
.method__head .h2 { max-width: 30ch; }
.method__timeline { position: relative; max-width: 960px; margin-inline: auto; }
.method__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: var(--line); }
.method__line i { display: block; height: 100%; background: var(--bordo-700); }
.method__timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.step__dot { position: absolute; left: 50%; top: 28px; width: 22px; height: 22px; translate: -50% 0; border-radius: 50%; background: var(--yellow); border: 2px solid var(--bordo-700); box-shadow: 0 0 0 8px rgba(255, 180, 0, .2); z-index: 1; }
.step__card { grid-column: 1; margin-right: 56px; padding: 22px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: border-color .4s, box-shadow .6s; }
.step:nth-child(even) .step__card { grid-column: 2; margin: 0 0 0 56px; }
.step__card:hover { border-color: rgba(103, 17, 16, .35); box-shadow: 0 24px 48px -24px rgba(43, 9, 8, .35); }
.step__n { color: var(--bordo-700); }
.step__card h3 { margin-top: 8px; font-size: 18px; letter-spacing: -.02em; }
.step__card p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Clients marquee ---------- */
.clients { padding-block: 56px; border-block: 1px solid var(--line); background: #fff; }
.clients__head { margin-bottom: 8px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; padding-block: 16px; }
.marquee__track.is-ready { animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track img { margin-right: 40px; height: 120px; width: auto; transition: filter .4s, opacity .4s; }
.marquee__track img:hover { filter: grayscale(1); opacity: .45; }
.marquee__track:not(.is-ready) { width: auto; flex-wrap: wrap; justify-content: center; gap: 32px 0; }
.marquee:has(.marquee__track:not(.is-ready)) { mask-image: none; -webkit-mask-image: none; }

/* ---------- FAQ ---------- */
.faq__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__aside { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
.faq__aside .eyebrow { margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: clamp(16px, 1.1vw, 17.5px); font-weight: 560; letter-spacing: -.015em; transition: color .3s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--bordo-700); }
.faq__list summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .4s, transform .5s var(--ease-out); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; translate: -50% -50%; transition: transform .5s var(--ease-out); }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { background: var(--yellow); border-color: var(--yellow); transform: rotate(180deg); }
.faq__list details[open] summary i::after { transform: rotate(0); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
.faq__a p { padding: 0 64px 22px 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Blog ---------- */
.blog { padding-top: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 0 26px 26px; min-height: 280px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.post::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bordo-900); transform: translateY(101%); transition: transform .6s var(--ease-out); }
.post:hover { color: var(--paper); border-color: var(--bordo-900); }
.post:hover::before { transform: none; }
.post__meta { display: flex; justify-content: space-between; color: var(--bordo-700); transition: color .4s; }
.post:hover .post__meta { color: var(--yellow); }
.post h3 { font-size: clamp(17px, 1.25vw, 19px); letter-spacing: -.02em; line-height: 1.1; }
.post p { color: inherit; opacity: .75; font-size: 15.5px; }
.post__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 560; }
.post__go svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.post:hover .post__go svg { transform: translateX(6px); }
.post__media { display: block; margin: 0 -26px 6px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.05); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; background:
  radial-gradient(60% 60% at 85% 10%, rgba(143, 46, 43, .7), transparent 70%),
  radial-gradient(40% 50% at 0% 100%, rgba(255, 180, 0, .14), transparent 70%); }
.contact__layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__title { font-size: clamp(34px, 3.6vw, 54px); font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variation-settings: "wdth" 104; margin-bottom: 20px; }
.contact__title em { font-size: 1.05em; }
.contact__title em { color: var(--yellow); }
.contact__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.contact__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-light); font-size: 15px; font-weight: 560; transition: background-color .3s, color .3s, border-color .3s; }
.contact__list svg { width: 18px; height: 18px; color: var(--yellow); transition: color .3s; }
.contact__list a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--bordo-900); }
.contact__list a:hover svg { color: var(--bordo-900); }
.contact__list .contact__icon { width: 46px; padding: 0; justify-content: center; }
.contact__photo { position: relative; margin: 24px 0 0; border-radius: var(--radius); overflow: hidden; max-width: 520px; }
.contact__photo img { width: 100%; height: auto; aspect-ratio: 490 / 318; object-fit: cover; object-position: 50% 20%; }
.contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(31, 6, 5, .92)); }
.contact__photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; }
.contact__photo strong { font-size: 17px; }
.contact__photo span { font-size: 14px; color: rgba(244, 240, 234, .8); }

.form { position: relative; padding: clamp(18px, 2vw, 26px); border-radius: var(--radius); background: rgba(244, 240, 234, .05); border: 1px solid var(--line-light); backdrop-filter: blur(8px); }
.form__title { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.02em; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 10px; }
.field { position: relative; display: grid; gap: 5px; align-content: start; }
.field > label, .field legend { font-size: 14.5px; font-weight: 560; color: rgba(244, 240, 234, .92); }
.field abbr { color: var(--yellow); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 9px 14px; border-radius: 12px; border: 1px solid rgba(244, 240, 234, .28);
  background: rgba(31, 6, 5, .4); color: var(--paper); font: inherit; font-size: 16.5px; outline: none;
  transition: border-color .3s, background-color .3s; appearance: none;
}
.field ::placeholder { color: rgba(244, 240, 234, .45); }
.field textarea { resize: vertical; min-height: 72px; }
.field select { cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffb400' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); background: rgba(31, 6, 5, .6); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff8a7a; }
.field__err { display: block; font-size: 14px; color: #ffb3a8; }
.field__err:empty { display: none; }
.field--radio { border: 0; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.field--radio legend { padding: 0; float: left; }
.field__options { display: flex; flex-wrap: wrap; gap: 8px; }
.field__options input { position: absolute; opacity: 0; pointer-events: none; }
.field__options span { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 99px; border: 1px solid rgba(244, 240, 234, .28); font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.field__options span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; transition: border-width .2s; }
.field__options label:hover span { border-color: var(--yellow); }
.field__options input:checked + span { background: var(--yellow); color: var(--bordo-900); border-color: var(--yellow); font-weight: 600; }
.field__options input:checked + span::before { border-width: 6px; }
.field__options input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.form__foot { margin-top: 12px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.form__note { font-size: 13px; color: rgba(244, 240, 234, .6); max-width: 40ch; }
.form__note a { text-decoration: underline; }
.form__error { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 138, 122, .12); border: 1px solid rgba(255, 138, 122, .4); color: #ffd2cb; font-size: 14px; }
.form__error[hidden] { display: none; }
.form__success { position: absolute; inset: 0; border-radius: inherit; background: var(--bordo-800); display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 32px; }
.form__success[hidden] { display: none; }
.form__success svg { width: 76px; height: 76px; }
.form__success circle, .form__success path { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__success circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease-out) forwards; }
.form__success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h3 { font-size: 26px; letter-spacing: -.02em; }
.form__success p { color: rgba(244, 240, 234, .78); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(43, 9, 8, .3); border-top-color: var(--bordo-900); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--bordo-950); color: var(--paper); overflow: hidden; isolation: isolate; }
.footer__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 180, 0, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 180, 0, .06) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.footer__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: end; padding-block: 72px 56px; border-bottom: 1px solid var(--line-light); }
.footer__claim { font-size: clamp(28px, 3.2vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; }
.footer__claim em { color: var(--yellow); }
.footer__talk { display: grid; gap: 10px; justify-items: start; }
.footer__talk .mono { color: rgba(244, 240, 234, .6); }
.footer__talk a { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.footer__talk a svg { width: 26px; height: 26px; color: var(--yellow); }
.footer__talk a:hover { color: var(--yellow); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.footer__logo { width: 210px; height: 40px; fill: var(--paper); }
.footer__brand p { margin-top: 18px; max-width: 34ch; color: rgba(244, 240, 234, .7); }
.footer__addr { margin-top: 18px; display: flex; gap: 10px; font-style: normal; font-size: 14.5px; color: rgba(244, 240, 234, .7); line-height: 1.5; }
.footer__addr svg { flex: none; width: 20px; height: 20px; color: var(--yellow); margin-top: 1px; }
.footer__seals { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.footer__seals li { padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(255, 180, 0, .35); color: var(--yellow); font-size: 10.5px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { color: var(--yellow); margin-bottom: 8px; font-weight: 500; }
.footer__col a { color: rgba(244, 240, 234, .8); width: fit-content; transition: color .3s, transform .3s var(--ease-out); }
.footer__col a:hover { color: var(--paper); transform: translateX(4px); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.footer__social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--bordo-900); transform: none; }
.footer__social svg { width: 20px; height: 20px; }
.footer__col .footer__propose { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.footer__propose svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 22px 28px; border-top: 1px solid var(--line-light); color: rgba(244, 240, 234, .55); }
.footer__bottom a:hover { color: var(--yellow); }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; }
.footer__top-link svg { width: 16px; height: 16px; transform: rotate(-90deg); }

.whats { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float); width: 60px; height: 60px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-out); }
.whats:hover { transform: scale(1.08) rotate(-6deg); }
.whats svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
}
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { height: 46vh; min-height: 300px; max-height: 420px; margin-right: calc(var(--gutter) * -1); }
  .hero__tag { left: 6%; bottom: 8%; }
  .blueprint__layout { grid-template-columns: 1fr; gap: 0; }
  /* foto logo abaixo do texto, para a mudança ficar visível ao tocar nas etapas */
  .blueprint__copy { display: contents; }
  .blueprint__stage { order: 1; margin-top: 24px; }
  .blueprint__steps, .blueprint__foot { order: 2; }
  .services__track { grid-template-columns: 1fr 1fr; }
  .services__intro { grid-column: 1 / -1; padding: 0 0 8px; }
  .svc--feature, .svc--feature:last-child { grid-column: 1 / -1; }
  /* setores: sem abas, todos os setores visíveis em cartões */
  .sectors__head { grid-template-columns: 1fr; }
  .sectors__hint, .sectors__tabs { display: none; }
  .sectors__layout { grid-template-columns: 1fr; }
  .sectors__panels { gap: 16px; }
  .sector { grid-area: auto; opacity: 1; visibility: visible; }
  .works__grid { grid-template-columns: 1fr 1fr; }
  .work--a { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .work--b, .work--c { grid-column: auto; }
  .faq__layout, .contact__layout { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .posts { grid-template-columns: 1fr; }
  .post { min-height: 0; }
}
@media (max-width: 767px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .header__logo svg { width: 168px; height: 32px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__title { font-size: clamp(28px, 7.6vw, 36px); }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__coords { display: none; }
  .hero__dim { display: none; }
  .about__side { display: none; }
  .mvv { grid-template-columns: 1fr; }
  .mvv__card, .mvv__card + .mvv__card { padding: 32px 0; }
  .services__track { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; }
  .sector__img { min-height: 0; aspect-ratio: 16 / 10; }
  .blueprint__foot .btn { width: 100%; justify-content: center; }
  .blueprint__handle { width: 46px; height: 46px; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--lg, .bento__item--wide { grid-column: auto; grid-row: auto; }
  .bento__item--lg { min-height: 380px; }
  .bento__item--wide { padding-right: 30px; padding-bottom: 170px; }
  .esg-ring { top: auto; bottom: 24px; right: 24px; translate: none; }
  .works__grid { grid-template-columns: 1fr; }
  .work--a, .work--b, .work--c { min-height: 340px; }
  .method__line { left: 11px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step__dot { left: 11px; }
  .step__card, .step:nth-child(even) .step__card { grid-column: 1; margin: 0 0 0 40px; padding: 24px; }
  .faq__a p { padding-right: 0; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .case__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .case__hero { min-height: 260px; }
  .case__body { overflow: visible; max-height: none; }
  .footer__top { grid-template-columns: 1fr; }
  .whats { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .field--radio legend { float: none; width: 100%; }
  .case__nav { width: 44px; height: 44px; }
  .case__logo { height: 60px; }
  .marquee__track img { height: 96px; }
}


/* ---------- Ajustes (hero compacto, sobre, contato) ---------- */
@media (max-width: 1180px) {
  .hero__preview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .about__grid { grid-template-columns: 1fr; }
  .hero__team { right: 4%; top: 6%; }
}
@media (max-width: 767px) {
  .hero__preview { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 40px; }
  .pv { padding: 6px 10px 6px 6px; gap: 8px; }
  .pv img { width: 44px; height: 40px; }
  .pv b { font-size: 13px; }
  .pv svg { display: none; }
  .hero__team { display: none; }
  .hero__tag { left: 4%; bottom: 6%; }
  .about__photos { padding-bottom: 56px; }
}


/* ---------- Galeria / presença ---------- */
.gallery__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.gallery__head .lead { justify-self: end; }
.gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 12px; }
.gal { position: relative; overflow: hidden; border-radius: 16px; background: var(--paper-2); cursor: zoom-in; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .4s; }
.gal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(43, 9, 8, .35)); opacity: 0; transition: opacity .4s; }
.gal:hover img { transform: scale(1.05); }
.gal:hover::after { opacity: 1; }
.gal--w:nth-child(1) { grid-column: 1; grid-row: 1; }
.gal--w:nth-child(5) { grid-column: 1; grid-row: 2; }
.gal--t { grid-row: 1 / 3; }
.gal--t img { object-position: 50% 25%; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 5, 4, .94); color: var(--paper); }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; animation: caseIn .4s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 48px 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 140px); border-radius: 12px; object-fit: contain; }
.lightbox__fig figcaption { color: rgba(244, 240, 234, .7); text-align: center; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav { width: 52px; height: 52px; margin: auto; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--paper); transition: background-color .3s, color .3s; }
.lightbox__nav:hover { background: var(--yellow); color: var(--bordo-900); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__prev svg { transform: rotate(180deg); }

/* ---------- FAQ: foto ---------- */
.faq__photo { position: relative; margin: 12px 0 0; width: 100%; border-radius: var(--radius); overflow: hidden; }
.faq__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 30%; }
.faq__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(244, 240, 234, .92); color: var(--ink); font-size: 10px; }
.faq__photo figcaption .live { margin: 0; }
.faq__aside { position: static; }

/* ---------- Rodapé: crédito da agência ---------- */
.f-credit { display: inline-flex; align-items: center; gap: 10px; transition: opacity .25s; }
.f-credit:hover { opacity: .85; }
.f-credit span { font-size: 12px; color: rgba(244, 240, 234, .55); letter-spacing: .04em; }
.f-credit img { height: 18px; width: auto; }
.footer__bottom { align-items: center; }

@media (max-width: 1023px) {
  .gallery__head { grid-template-columns: 1fr; }
  .gallery__head .lead { justify-self: start; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gal--w:nth-child(1), .gal--w:nth-child(5) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .gal--t { grid-row: auto; aspect-ratio: 3 / 4; }
  .gal--t:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .lightbox[open] { grid-template-columns: 52px 1fr 52px; }
}
@media (max-width: 767px) {
  .f-credit { min-height: 44px; }
}

/* ---------- Utilitários ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn--ghost-light { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1px rgba(244, 240, 234, .4); }

/* ---------- Página: Nossas obras ---------- */
.ob-hero { position: relative; padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; overflow: hidden; }
.ob-hero__inner { position: relative; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--bordo-700); text-decoration: underline; text-underline-offset: 3px; }
.ob-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px 64px; align-items: end; }
.ob-hero__title { font-size: clamp(32px, 3.6vw, 54px); font-weight: 650; letter-spacing: -.035em; line-height: 1.02; max-width: 20ch; margin-bottom: 18px; }
.ob-hero__title em { color: var(--bordo-700); font-size: 1.04em; }
.ob-stats { margin: 0; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.ob-stats div { background: var(--paper); padding: 14px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ob-stats dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ob-stats dd { margin: 0; font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.04em; color: var(--bordo-700); font-variation-settings: "wdth" 80; }

.ob-list { padding-bottom: clamp(72px, 8vw, 120px); }
.ob-filters { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 0; margin-bottom: 20px; background: rgba(244, 240, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ob-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-filters button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 15.5px; font-weight: 560; transition: background-color .3s, color .3s, border-color .3s; }
.ob-filters button small { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--paper-2); font-family: var(--f-mono); font-size: 12px; }
.ob-filters button:hover { border-color: var(--bordo-700); }
.ob-filters button[aria-pressed="true"] { background: var(--bordo-700); border-color: var(--bordo-700); color: #fff; }
.ob-filters button[aria-pressed="true"] small { background: var(--yellow); color: var(--bordo-900); }
.ob-count { color: var(--ink-3); }

.ob-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ob[hidden] { display: none; }
.ob__btn { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; text-align: left; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.ob__btn:hover { border-color: rgba(103, 17, 16, .35); box-shadow: 0 26px 50px -28px rgba(43, 9, 8, .45); transform: translateY(-3px); }
.ob__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.ob__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ob__btn:hover .ob__media img { transform: scale(1.05); }
.ob__logo { position: absolute; top: 14px; left: 14px; z-index: 1; height: 58px; padding: 4px 8px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.ob__logo img { height: 100%; width: auto; }
.ob__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.ob__cat { color: var(--bordo-700); }
.ob__title { font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.ob__scope { color: var(--ink-2); font-size: 15.5px; }
.ob__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bordo-700); }
.ob__go svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.ob__btn:hover .ob__go svg { transform: translateX(5px); }
/* destaque: primeira obra ocupa duas colunas (só na visão "Todas") */
.ob-grid:not(.is-filtered) .ob--feature { grid-column: span 2; }
.ob-grid:not(.is-filtered) .ob--feature .ob__btn { flex-direction: row; }
.ob-grid:not(.is-filtered) .ob--feature .ob__media { flex: 1.35; aspect-ratio: auto; min-height: 340px; }
.ob-grid:not(.is-filtered) .ob--feature .ob__body { flex: 1; justify-content: center; padding: 28px; }
.ob-grid:not(.is-filtered) .ob--feature .ob__title { font-size: clamp(22px, 2vw, 30px); }

.ob-cta__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px 64px; align-items: end; }
.ob-cta .lead { margin-top: 16px; }
.ob-cta__actions { display: grid; gap: 10px; justify-items: stretch; }
.ob-cta__actions .btn { justify-content: center; }
.page-obras .footer__cta { display: none; }

@media (max-width: 1023px) {
  .ob-hero__grid, .ob-cta__inner { grid-template-columns: 1fr; }
  .ob-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ob-grid { grid-template-columns: 1fr; }
  .ob-grid:not(.is-filtered) .ob--feature { grid-column: auto; }
  .ob-grid:not(.is-filtered) .ob--feature .ob__btn { flex-direction: column; }
  .ob-grid:not(.is-filtered) .ob--feature .ob__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .ob-filters { position: static; }
  .ob-filters button { padding: 0 14px; font-size: 15px; }
}

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