/* tokens carregados via wp_enqueue_style (functions.php) */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============================================================
   GRIFO CONSTRUTORA — SITE INSTITUCIONAL
   Layout language:
   - 1280px content frame, 64px gutters on desktop
   - generous vertical rhythm (96–128px between sections)
   - bone page bg, navy "weight" sections, cream interludes
   - gold = small accents only (eyebrow, rule, key CTA)
   ============================================================ */

:root {
  --frame-max: 1280px;
  --gutter: 64px;
  --section-pad-y: 120px;
}

.frame { max-width: var(--frame-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 220ms var(--ease-out);
  white-space: nowrap;
}
.btn .arr {
  display:inline-block; transition: transform 220ms var(--ease-out);
}
.btn:hover .arr { transform: translateX(3px); }

.btn-gold { background: var(--grifo-gold); color: var(--grifo-bone); }
.btn-gold:hover { background: var(--grifo-gold-bright); }
.btn-primary { background: var(--grifo-navy); color: var(--grifo-bone); }
.btn-primary:hover { background: var(--grifo-navy-soft); }
.btn-ghost { background: transparent; color: var(--grifo-navy); border-color: var(--grifo-navy); }
.btn-ghost:hover { border-color: var(--grifo-gold); color: var(--grifo-gold); }
.btn-ghost-light { background: transparent; color: var(--grifo-bone); border-color: rgba(245,241,234,.4); }
.btn-ghost-light:hover { border-color: var(--grifo-gold); color: var(--grifo-gold); }

/* small inline link */
.link-gold {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grifo-navy); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--grifo-gold);
  transition: color 220ms var(--ease-out);
}
.link-gold:hover { color: var(--grifo-gold); }
.link-gold-light { color: var(--grifo-bone); border-bottom-color: var(--grifo-gold); }
.link-gold-light:hover { color: var(--grifo-gold); }

/* ===== Eyebrow & rules ===== */
.eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--grifo-gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: var(--grifo-gold);
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.dark { color: var(--grifo-gold-bright); }

/* ===== Top announcement bar ===== */
.topbar {
  background: var(--grifo-navy-deep);
  color: rgba(245,241,234,.7);
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 9px 0;
}
.topbar .frame {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: rgba(245,241,234,.85); text-decoration: none; }
.topbar a:hover { color: var(--grifo-gold-bright); }
.topbar .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grifo-gold); margin-right: 10px;
  vertical-align: middle;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,241,234,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-2);
}
body.nav-locked { overflow: hidden; }
.nav .frame {
  display: flex; align-items: center; gap: 40px;
  padding-top: 14px; padding-bottom: 14px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo img { height: 38px; }
.nav__logo--png img { height: auto; width: 168px; display: block; }
.nav__logo .wm { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.10em; color: var(--grifo-navy); line-height: 1; }
.nav__logo .sub { font-family: var(--font-display); font-size: 8.5px; letter-spacing: 0.32em; color: var(--grifo-graphite); display: block; margin-top: 3px; }

.nav__menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex: 1; justify-content: center;
}
.nav__menu a {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grifo-navy); text-decoration: none;
  padding: 10px 2px; position: relative;
  transition: color 220ms var(--ease-out);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--grifo-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav__menu a:hover { color: var(--grifo-gold); }
.nav__menu a:hover::after, .nav__menu a.active::after { transform: scaleX(1); }
.nav__menu a.active { color: var(--grifo-navy); }

.nav__cta {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--grifo-navy); color: var(--grifo-bone);
  padding: 13px 20px; border-radius: 4px; text-decoration: none;
  transition: background 220ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__cta:hover { background: var(--grifo-gold); }

.nav__burger {
  display: none;
  background: transparent; border: 0;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--grifo-navy); border-radius: 1px;
  transition: transform 220ms var(--ease-out), opacity 220ms;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — title + intro / 3 cards / photo strip
   ============================================================ */
.hero {
  background: var(--grifo-bone);
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 64px;
  align-items: stretch;
  margin-bottom: 48px;
}
.hero__head {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 600px;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--grifo-navy);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--grifo-gold);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.86em;
  display: inline-block;
}
.hero__intro {
  margin-bottom: 24px;
  max-width: 440px;
}
.hero__intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--grifo-graphite);
  margin: 0;
}
.hero__nav {
  display: flex; gap: 10px; align-items: center;
  margin-top: 24px;
}
.hero__navbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: transparent; color: var(--grifo-navy);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}
.hero__navbtn:hover { border-color: var(--grifo-navy); }
.hero__navbtn--primary {
  background: var(--grifo-navy); color: var(--grifo-bone);
  border-color: var(--grifo-navy);
}
.hero__navbtn--primary:hover { background: var(--grifo-gold); border-color: var(--grifo-gold); color: var(--grifo-navy-deep); }

/* RIGHT — Photo mosaic, now full width of right column */
.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero__photos {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
  min-height: 600px;
  flex: 1;
}
.hero__photo {
  background: var(--grifo-navy-soft);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  opacity: 0;
  animation: heroPhotoIn 800ms var(--ease-out) forwards;
}
.hero__photo--0 { grid-row: 1 / span 2; }
.hero__photo--1 { grid-column: 2; grid-row: 1; animation-delay: 80ms; }
.hero__photo--2 { grid-column: 2; grid-row: 2; animation-delay: 160ms; }
.hero__photo svg { width: 100%; height: 100%; display: block; }

/* Card: pinned to bottom of column so card+nav align with photos baseline */
.hero__cardwrap {
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  max-width: 440px;
}
.hero__nav {
  margin-top: 20px !important;
}
.hero-card {
  position: relative;
  padding: 28px 26px 22px;
  display: flex; flex-direction: column;
  border-radius: 2px;
  opacity: 0;
  animation: heroCardCross 1100ms cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-card__lab {
  font-family: var(--font-display); font-weight: 700;
  font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-card h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; line-height: 1.25;
  margin: 0 0 12px;
}
.hero-card p {
  font-size: 14px; line-height: 1.55;
  margin: 0 0 22px;
}
.hero-card--gold {
  background: var(--grifo-gold);
  color: var(--grifo-navy-deep);
  box-shadow: 0 32px 60px -24px rgba(13,26,42,.55);
}
.hero-card--gold .hero-card__lab { color: var(--grifo-navy-deep); }
.hero-card--gold h3 { color: var(--grifo-navy-deep); }
.hero-card--gold p { color: rgba(13,26,42,.85); }

/* Card footer: count + arrows */
.hero-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(13,26,42,.18);
  padding-top: 16px;
  margin-top: auto;
}
.hero-card__count {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--grifo-navy-deep);
}
.hero-card__count .sep { margin: 0 6px; opacity: .4; }
.hero-card__count .tot { opacity: .55; }
.hero-card__nav {
  display: flex; gap: 8px;
}
.hero-card__nav button {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(13,26,42,.4);
  border-radius: 999px;
  color: var(--grifo-navy-deep);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 220ms var(--ease-out);
}
.hero-card__nav button:hover {
  background: var(--grifo-navy-deep);
  color: var(--grifo-gold);
  border-color: var(--grifo-navy-deep);
}

/* Carousel dots / progress */
.hero__progress {
  display: flex; gap: 8px; align-items: center;
  margin-left: 18px;
}
.hero__dot {
  position: relative;
  width: 36px; height: 3px;
  background: var(--border-2);
  cursor: pointer;
  display: block;
  border-radius: 2px;
  overflow: hidden;
}
.hero__dot.is-active { background: rgba(13,26,42,.18); }
.hero__dot-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--grifo-navy);
  display: block;
}
.hero__dot.is-active .hero__dot-fill {
  animation: heroFill 7s linear forwards;
}

@keyframes heroFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================================
   HERO ANIMATIONS — 5 modes, switched via .hero--anim-* class
   Defaults removed from base elements; each mode declares its own.
   ============================================================ */
.hero__photo, .hero-card { animation: none; opacity: 0; }
.hero__title, .hero__eyebrow, .hero__intro p { animation: none; }

/* ---------- 1. REVEAL — slow fade + zoom-out + blur clear ---------- */
@keyframes hRevealText {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes hRevealPhoto {
  from { opacity: 0; transform: scale(1.08); filter: blur(10px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}
@keyframes hRevealCard {
  from { opacity: 0; transform: scale(.96); filter: blur(4px); }
  to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}
.hero--anim-reveal .hero__title,
.hero--anim-reveal .hero__eyebrow,
.hero--anim-reveal .hero__intro p {
  animation: hRevealText 1300ms cubic-bezier(.22,.61,.36,1) both;
}
.hero--anim-reveal .hero__photo {
  animation: hRevealPhoto 1500ms cubic-bezier(.22,.61,.36,1) both;
}
.hero--anim-reveal .hero__photo--1 { animation-delay: 100ms; }
.hero--anim-reveal .hero__photo--2 { animation-delay: 200ms; }
.hero--anim-reveal .hero-card {
  animation: hRevealCard 1300ms cubic-bezier(.22,.61,.36,1) 200ms both;
}

/* ---------- 2. SLIDE — horizontal slide + fade ---------- */
@keyframes hSlideText {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hSlidePhoto {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hSlideCard {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero--anim-slide .hero__title,
.hero--anim-slide .hero__eyebrow,
.hero--anim-slide .hero__intro p {
  animation: hSlideText 900ms cubic-bezier(.16,.84,.34,1) both;
}
.hero--anim-slide .hero__eyebrow { animation-delay: 0ms; }
.hero--anim-slide .hero__title    { animation-delay: 80ms; }
.hero--anim-slide .hero__intro p  { animation-delay: 160ms; }
.hero--anim-slide .hero__photo {
  animation: hSlidePhoto 1100ms cubic-bezier(.16,.84,.34,1) both;
}
.hero--anim-slide .hero__photo--1 { animation-delay: 100ms; }
.hero--anim-slide .hero__photo--2 { animation-delay: 200ms; }
.hero--anim-slide .hero-card {
  animation: hSlideCard 900ms cubic-bezier(.16,.84,.34,1) 240ms both;
}

/* ---------- 3. CURTAIN — clip-path reveal from left ---------- */
@keyframes hCurtainText {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes hCurtainPhoto {
  from { opacity: 1; clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes hCurtainCard {
  from { opacity: 0; clip-path: inset(50% 0 50% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.hero--anim-curtain .hero__title,
.hero--anim-curtain .hero__eyebrow,
.hero--anim-curtain .hero__intro p {
  animation: hCurtainText 1100ms cubic-bezier(.77,0,.18,1) both;
}
.hero--anim-curtain .hero__eyebrow { animation-delay: 0ms; }
.hero--anim-curtain .hero__title    { animation-delay: 100ms; }
.hero--anim-curtain .hero__intro p  { animation-delay: 220ms; }
.hero--anim-curtain .hero__photo {
  animation: hCurtainPhoto 1200ms cubic-bezier(.77,0,.18,1) both;
}
.hero--anim-curtain .hero__photo--1 { animation-delay: 120ms; }
.hero--anim-curtain .hero__photo--2 { animation-delay: 240ms; }
.hero--anim-curtain .hero-card {
  animation: hCurtainCard 900ms cubic-bezier(.77,0,.18,1) 320ms both;
}

/* ---------- 4. STACK — letters/lines rise with subtle stagger ---------- */
@keyframes hStackUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero--anim-stack .hero__eyebrow {
  animation: hStackUp 800ms cubic-bezier(.2,.8,.2,1) 0ms both;
}
.hero--anim-stack .hero__title {
  animation: hStackUp 1000ms cubic-bezier(.2,.8,.2,1) 120ms both;
}
.hero--anim-stack .hero__intro p {
  animation: hStackUp 900ms cubic-bezier(.2,.8,.2,1) 280ms both;
}
.hero--anim-stack .hero__photo {
  animation: hStackUp 1200ms cubic-bezier(.2,.8,.2,1) both;
}
.hero--anim-stack .hero__photo--0 { animation-delay: 80ms; }
.hero--anim-stack .hero__photo--1 { animation-delay: 220ms; }
.hero--anim-stack .hero__photo--2 { animation-delay: 360ms; }
.hero--anim-stack .hero-card {
  animation: hStackUp 1000ms cubic-bezier(.2,.8,.2,1) 480ms both;
}

/* ---------- 5. MASK — color sweep mask reveal ---------- */
@keyframes hMaskText {
  0%   { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  100% { opacity: 1; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes hMaskFade {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.hero--anim-mask .hero__title,
.hero--anim-mask .hero__eyebrow,
.hero--anim-mask .hero__intro p {
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 90%);
  mask-image: linear-gradient(90deg, #000 50%, transparent 90%);
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  animation: hMaskText 1200ms cubic-bezier(.5,.05,.2,1) both;
}
.hero--anim-mask .hero__eyebrow { animation-delay: 0ms; }
.hero--anim-mask .hero__title    { animation-delay: 100ms; }
.hero--anim-mask .hero__intro p  { animation-delay: 240ms; }
.hero--anim-mask .hero__photo {
  animation: hMaskFade 1300ms cubic-bezier(.5,.05,.2,1) both;
}
.hero--anim-mask .hero__photo--1 { animation-delay: 120ms; }
.hero--anim-mask .hero__photo--2 { animation-delay: 240ms; }
.hero--anim-mask .hero-card {
  animation: hMaskFade 1100ms cubic-bezier(.5,.05,.2,1) 360ms both;
}

/* ============================================================
   Animation picker — small floating chip
   ============================================================ */
.anim-picker {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: var(--grifo-navy);
  color: var(--grifo-bone);
  padding: 14px 16px 16px;
  border-radius: 4px;
  box-shadow: 0 24px 48px -16px rgba(13,26,42,.4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 260px;
}
.anim-picker__lab {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grifo-gold);
}
.anim-picker__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.anim-picker__btn {
  background: transparent;
  border: 1px solid rgba(245,242,235,.3);
  color: var(--grifo-bone);
  padding: 7px 11px;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: all 200ms var(--ease-out);
}
.anim-picker__btn:hover { border-color: var(--grifo-gold); }
.anim-picker__btn.is-active {
  background: var(--grifo-gold);
  color: var(--grifo-navy-deep);
  border-color: var(--grifo-gold);
}
@media (max-width: 600px) {
  .anim-picker { right: 12px; bottom: 12px; padding: 10px 12px; }
  .anim-picker__btn { font-size: 9.5px; padding: 6px 9px; }
}

/* Spacer below the overlapping cards so following section doesn't collide */
.hero__rule {
  margin: 100px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border-2);
}

.hero__rule-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.hero__rule-row .lhs {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-graphite);
}
.hero__rule-row .ticker {
  display: flex; gap: 36px;
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grifo-navy);
}
.hero__rule-row .ticker span::before {
  content: "✦ "; color: var(--grifo-gold); margin-right: 4px;
}

/* ============================================================
   HERO FULLBLEED (Variant B) — photo-centric hero
   ============================================================ */
.hero-fb {
  position: relative;
  background: var(--grifo-navy-deep);
  color: var(--grifo-bone);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero-fb__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-fb__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scaleX(-1);
  filter: saturate(0.92) contrast(1.05);
}
.hero-fb__bg svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.hero-fb__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(11, 22, 42, 0.94) 0%,
      rgba(11, 22, 42, 0.82) 36%,
      rgba(11, 22, 42, 0.5) 64%,
      rgba(11, 22, 42, 0.22) 100%),
    linear-gradient(180deg,
      rgba(11, 22, 42, 0.55) 0%,
      transparent 28%,
      transparent 68%,
      rgba(11, 22, 42, 0.7) 100%);
}
.hero-fb__grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.6) 0, transparent 1px),
    repeating-radial-gradient(circle at 80% 70%, rgba(0,0,0,0.4) 0, transparent 1.2px);
  background-size: 3px 3px, 4px 4px;
}

/* Internal nav bar */
.hero-fb__nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 28px;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
}

/* Standalone top nav (same look as hero-fb__nav, but as its own dark band
   used on all pages other than the index fullbleed hero) */
.site-topnav {
  position: relative;
  background: var(--grifo-navy-deep);
  background-image:
    radial-gradient(120% 140% at 90% -20%, rgba(217,167,88,0.10), transparent 55%),
    radial-gradient(120% 160% at -10% 120%, rgba(217,167,88,0.06), transparent 60%);
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}
.site-topnav .hero-fb__nav {
  border-bottom: 1px solid rgba(245, 241, 234, 0.10);
  padding: 18px 36px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-topnav__ribbon {
  background: #0b1424;
  color: rgba(245,241,234,.7);
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 9px 0;
  border-bottom: 1px solid rgba(245,241,234,.06);
}
.site-topnav__ribbon .frame {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1320px; margin: 0 auto; padding: 0 36px;
}
.site-topnav__ribbon a { color: rgba(245,241,234,.85); text-decoration: none; }
.site-topnav__ribbon a:hover { color: var(--grifo-gold-bright); }
.site-topnav__ribbon .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grifo-gold); margin-right: 10px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .site-topnav .hero-fb__nav { padding: 18px 24px; gap: 18px; flex-wrap: wrap; }
  .site-topnav__ribbon .frame { padding: 0 24px; }
  .site-topnav__ribbon > .frame > span:last-child { display: none; }
  .site-topnav__ribbon .frame { justify-content: center; }
}
@media (max-width: 720px) {
  .site-topnav .hero-fb__nav { padding: 14px 18px; gap: 12px; }
  .site-topnav__ribbon { font-size: 9.5px; letter-spacing: 0.14em; padding: 8px 0; }
  .site-topnav__ribbon .frame { padding: 0 18px; }
}
.hero-fb__logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--grifo-bone);
}
.hero-fb__logo img { height: 38px; width: auto; }
.hero-fb__logo--png img { height: 56px; width: auto; display: block; }
.hero-fb__logo .wm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: 0.1em; line-height: 1;
  color: var(--grifo-bone);
}
.hero-fb__logo .sub {
  font-family: var(--font-display); font-size: 8px;
  letter-spacing: 0.32em; color: var(--grifo-gold);
  margin-top: 4px; line-height: 1;
}
.hero-fb__menu {
  display: flex; gap: 18px;
  margin: 0 0 0 auto;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-fb__menu a {
  color: rgba(245, 241, 234, 0.78);
  text-decoration: none;
  padding: 6px 0;
  transition: color 180ms;
  position: relative;
  white-space: nowrap;
}
.hero-fb__menu a:hover { color: var(--grifo-bone); }
.hero-fb__menu a.active { color: var(--grifo-gold); }
.hero-fb__menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--grifo-gold);
}
.hero-fb__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grifo-gold);
  color: var(--grifo-navy-deep);
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  transition: transform 200ms, background 200ms;
}
.hero-fb__cta:hover {
  background: var(--grifo-gold-bright);
  transform: translateY(-1px);
}

/* Inner content */
.hero-fb__inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 56px 96px;
}
.hero-fb__left {
  max-width: 620px;
}
.hero-fb__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(217, 167, 88, 0.15);
  border: 1px solid rgba(217, 167, 88, 0.42);
  color: var(--grifo-gold);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-fb__star { color: var(--grifo-gold); }
.hero-fb__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--grifo-bone);
  margin: 0 0 24px;
  text-wrap: balance;
  /* Opt out of any inherited hero animations */
  animation: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  opacity: 1;
}
.hero-fb__title em {
  font-style: normal;
  color: var(--grifo-gold);
}
.hero-fb__lead {
  font-size: 16px; line-height: 1.6;
  color: rgba(245, 241, 234, 0.82);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-fb__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-fb__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 180ms, background 180ms, border-color 180ms;
}
.hero-fb__btn--gold {
  background: var(--grifo-gold);
  color: var(--grifo-navy-deep);
}
.hero-fb__btn--gold:hover {
  background: var(--grifo-gold-bright);
  transform: translateY(-1px);
}
.hero-fb__btn--ghost {
  background: rgba(245, 241, 234, 0.06);
  color: var(--grifo-bone);
  border: 1px solid rgba(245, 241, 234, 0.28);
}
.hero-fb__btn--ghost:hover {
  background: rgba(245, 241, 234, 0.12);
  border-color: rgba(245, 241, 234, 0.5);
}

/* Inline metrics */
/* ============================================================
   HERO METRICS — faixa de prova social, edge-to-edge, navy
   ============================================================ */
.hero-metrics {
  background: var(--grifo-navy-deep);
  color: var(--grifo-bone);
  padding: 36px 0;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
}
.hero-metrics__frame {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: space-between;
}
.hero-metrics__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-metrics__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: #ffffff;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}
.hero-metrics__num span {
  color: var(--grifo-gold-bright);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 12px;
}
.hero-metrics__lab {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.72);
}

/* Floating sector cards bottom-right */
.hero-fb__cards {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}
.hero-fb__card {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
  text-decoration: none;
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.06em;
  transition: transform 200ms;
  white-space: nowrap;
}
.hero-fb__card .num {
  font-family: var(--font-body); font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.hero-fb__card .ttl {
  font-size: 14px; letter-spacing: 0.02em;
  text-transform: none;
}
.hero-fb__card--commercial {
  background: var(--grifo-navy);
  color: var(--grifo-bone);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.hero-fb__card--commercial .num { color: var(--grifo-gold); }
.hero-fb__card--residential {
  background: var(--grifo-bone);
  color: var(--grifo-navy-deep);
  border-top-left-radius: 6px;
  margin-bottom: 44px;
}
.hero-fb__card--residential .num { color: var(--grifo-gold); }
.hero-fb__card:hover { transform: translateY(-2px); }

/* Tablet */
@media (max-width: 1280px) {
  .hero-fb__menu { gap: 14px; font-size: 10.5px; letter-spacing: 0.10em; }
  .hero-fb__cta { font-size: 10.5px; padding: 10px 14px; letter-spacing: 0.12em; }
}
@media (max-width: 1024px) {
  .hero-fb__nav { padding: 18px 24px; gap: 18px; flex-wrap: wrap; }
  .hero-fb__menu { display: none; }
  .hero-fb__cta { font-size: 10px; padding: 10px 14px; }
  .hero-fb__inner { padding: 44px 32px 110px; }
  .hero-fb__title { font-size: clamp(36px, 6.5vw, 56px); }
  .hero-metrics__frame { gap: 48px; flex-wrap: wrap; }
  .hero-metrics__num { font-size: 52px; }
  .hero-metrics__num span { font-size: 18px; margin-top: 10px; }
  .hero-metrics__lab { font-size: 12px; letter-spacing: 0.2em; }
  .hero-fb__card { padding: 14px 22px; font-size: 12px; }
  .hero-fb__card--residential { margin-bottom: 36px; }
}

/* Mobile */
@media (max-width: 720px) {
  .hero-fb__nav {
    padding: 14px 18px; gap: 12px;
    border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  }
  .hero-fb__logo img { height: 30px; }
  .hero-fb__logo .wm { font-size: 16px; }
  .hero-fb__logo .sub { font-size: 7px; letter-spacing: 0.26em; }
  .hero-fb__cta {
    margin-left: auto;
    font-size: 9.5px; letter-spacing: 0.12em;
    padding: 9px 14px;
  }
  .hero-fb__cta svg { display: none; }
  .hero-fb__inner { padding: 36px 22px 88px; }
  .hero-fb__eyebrow { font-size: 10px; padding: 6px 12px; margin-bottom: 20px; letter-spacing: 0.12em; }
  .hero-fb__title { font-size: clamp(30px, 8.4vw, 42px); margin-bottom: 18px; }
  .hero-fb__lead { font-size: 14.5px; margin-bottom: 24px; }
  .hero-fb__actions { gap: 10px; margin-bottom: 36px; flex-direction: column; align-items: stretch; }
  .hero-fb__btn { justify-content: center; padding: 14px 18px; font-size: 11.5px; }
  .hero-metrics { padding: 8px 0; }
  .hero-metrics__frame { gap: 0; flex-direction: column; width: 100%; }
  .hero-metrics__item {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(245, 241, 234, 0.12);
    text-align: center;
    align-items: center;
  }
  .hero-metrics__item:last-child { border-bottom: 0; }
  .hero-metrics__num { font-size: 44px; }
  .hero-metrics__num span { font-size: 15px; margin-top: 6px; }
  .hero-metrics__lab { font-size: 11px; letter-spacing: 0.18em; }

  .hero-fb__cards { flex-direction: column; align-items: flex-end; right: 0; }
  .hero-fb__card { padding: 12px 18px; font-size: 11px; gap: 8px; }
  .hero-fb__card .num { font-size: 14px; }
  .hero-fb__card .ttl { font-size: 12px; }
  .hero-fb__card svg { display: none; }
  .hero-fb__card--commercial { border-radius: 4px 0 0 0; }
  .hero-fb__card--residential { margin-bottom: 0; border-radius: 4px 0 0 0; }
}

/* When fullbleed hero is active, hide regular topbar+nav */
body.hero-variant--fullbleed > .topbar,
body.hero-variant--fullbleed > .nav {
  display: none;
}

/* ============================================================
   POSITIONING / NUMBERS section (white)
   ============================================================ */
.position {
  background: var(--grifo-bone);
  padding: 64px 0 96px;
}
@media (max-width: 1024px) { .position { padding: 56px 0 80px; } }
@media (max-width: 720px) { .position { padding: 40px 0 56px; } }
.position__top {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.position__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(34px, 3.6vw, 46px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--grifo-navy);
  margin: 16px 0 0; text-wrap: balance;
}
.position__title em {
  font-style: normal;
  color: var(--grifo-gold);
}
.position__copy {
  display: flex; flex-direction: column; gap: 24px; padding-top: 12px;
}
.position__copy p { color: var(--grifo-graphite); font-size: 16px; line-height: 1.7; margin: 0; }
.position__copy .btn-row { display: flex; gap: 12px; margin-top: 8px; }

/* Position cards (3 service tiles, replacing metrics) */
.position__cards {
  border-top: 1px solid var(--border-2);
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pos-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.pos-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grifo-navy);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.pos-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -28px rgba(13, 26, 42, 0.35);
  border-color: var(--grifo-navy);
}
.pos-card:hover::before { opacity: 1; }
.pos-card__lab {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grifo-graphite);
}
.pos-card__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; line-height: 1.22;
  color: var(--grifo-navy);
  margin: 4px 0 6px;
  letter-spacing: -0.005em;
}
.pos-card__body {
  font-size: 14.5px; line-height: 1.6;
  color: var(--grifo-graphite);
  margin: 0 0 12px;
  flex: 1;
}
.pos-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grifo-navy);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--grifo-gold);
  align-self: flex-start;
  transition: color 220ms, gap 220ms;
}
.pos-card__link:hover {
  color: var(--grifo-gold);
  gap: 12px;
}

/* Gold variant — featured method card */
.pos-card--gold {
  background: var(--grifo-gold);
  border-color: var(--grifo-gold);
}
.pos-card--gold::before { background: var(--grifo-navy-deep); }
.pos-card--gold .pos-card__lab { color: var(--grifo-navy-deep); opacity: 0.78; }
.pos-card--gold .pos-card__title { color: var(--grifo-navy-deep); }
.pos-card--gold .pos-card__body { color: rgba(13, 26, 42, 0.84); }
.pos-card--gold .pos-card__link {
  color: var(--grifo-navy-deep);
  border-bottom-color: var(--grifo-navy-deep);
}
.pos-card--gold .pos-card__link:hover { color: var(--grifo-navy-soft); }
.pos-card--gold:hover {
  box-shadow: 0 24px 40px -24px rgba(13, 26, 42, 0.5);
  border-color: var(--grifo-gold-bright);
  background: var(--grifo-gold-bright);
}

/* Numbers */
.metrics {
  border-top: 1px solid var(--border-2);
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
}
.metric {
  padding-right: 32px;
  border-right: 1px solid var(--border-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.metric:last-child { border-right: none; padding-right: 0; }
.metric:not(:first-child) { padding-left: 32px; }
.metric__lab {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-graphite);
  margin: 0;
}
.metric__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--grifo-navy);
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  margin: 0;
}
.metric__num .plus {
  color: var(--grifo-gold);
  font-size: 0.6em;
}
.metric__num .unit {
  font-size: 0.32em;
  color: var(--grifo-graphite);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 2px;
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 0.6em;
}
.metric__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--grifo-graphite);
  margin: 0;
  max-width: 220px;
}

/* ============================================================
   SECTORS — 4 cards (Hospitalar / Educacional / Comercial / Residencial)
   ============================================================ */
.sectors {
  background: var(--grifo-bone);
  padding: 0 0 var(--section-pad-y);
}
.sectors__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.sectors__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--grifo-navy);
  margin: 16px 0 0; text-wrap: balance;
}
.sectors__sub {
  font-size: 16px; line-height: 1.6;
  color: var(--grifo-graphite); margin: 0;
  padding-bottom: 8px;
}

.sectors__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-2); border: 1px solid var(--border-2);
}
.sectors__more-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.sectors__more-row > span {
  font-size: 16px; line-height: 1.6; color: var(--grifo-graphite);
}
.sectors__more-row .link-gold { white-space: nowrap; }
@media (max-width: 640px) {
  .sectors__more-row { margin-top: 20px; }
  .sectors__more-row > span { font-size: 14.5px; }
}
.sector {
  background: #fff; padding: 32px 28px 30px;
  display: flex; flex-direction: column;
  min-height: 320px;
  position: relative;
  cursor: pointer;
  transition: background 220ms var(--ease-out);
}
.sector:hover { background: var(--grifo-cream); }
.sector__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--grifo-gold); margin-bottom: 18px;
}
.sector__icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--grifo-navy);
}
.sector__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sector__name {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; color: var(--grifo-navy);
  margin: 0 0 8px;
}
.sector__copy {
  font-size: 14px; line-height: 1.55;
  color: var(--grifo-graphite); margin: 0 0 20px;
  flex: 1;
}
.sector__more {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-navy);
  display: inline-flex; align-items: center; gap: 8px;
}
.sector__more .arr { transition: transform 220ms var(--ease-out); }
.sector:hover .sector__more .arr { transform: translateX(4px); color: var(--grifo-gold); }

/* ============================================================
   SHOWCASE — dark "projects" band (matches reference dark slab)
   ============================================================ */
.showcase {
  background: var(--grifo-navy-deep);
  color: var(--grifo-bone);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.showcase__bg {
  position: absolute;
  right: -120px; top: 40px;
  width: 560px; opacity: 0.06;
  pointer-events: none;
}
.showcase__head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px;
  align-items: end;
  margin-bottom: 56px;
  position: relative;
}
.showcase__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--grifo-bone);
  margin: 18px 0 0; text-wrap: balance;
}
.showcase__sub {
  font-size: 15.5px; line-height: 1.65;
  color: rgba(245,241,234,.7); margin: 0;
}

.showcase__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; margin-bottom: 24px;
  border-top: 1px solid rgba(245,241,234,.14);
  border-bottom: 1px solid rgba(245,241,234,.14);
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,241,234,.6);
}
.showcase__bar .filters { display: flex; gap: 24px; }
.showcase__bar .filters button {
  background: none; border: 0;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: rgba(245,241,234,.6); cursor: pointer; padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all 220ms var(--ease-out);
}
.showcase__bar .filters button:hover { color: var(--grifo-bone); }
.showcase__bar .filters button.is-active {
  color: var(--grifo-gold-bright); border-bottom-color: var(--grifo-gold);
}
.showcase__nav { display: flex; gap: 8px; }
.showcase__nav button {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid rgba(245,241,234,.2);
  color: var(--grifo-bone); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 220ms var(--ease-out);
}
.showcase__nav button:hover { border-color: var(--grifo-gold); color: var(--grifo-gold-bright); }

.showcase__grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px;
}
.case-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: var(--grifo-navy-soft);
}
.case-card svg { width: 100%; height: 100%; display: block; }
.case-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Real-photo replacements for the Photo component placeholders.
   Each photo slot container expects its child to fill the box. */
.case__photo > img,
.ar-sector__photo > img,
.sol__photo > img,
.re-case__photo > img,
.manifesto__photo > img,
.news-card__img > img,
.cases-press__img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,26,42,.92) 100%);
}
.case-card__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 28px 26px;
  color: var(--grifo-bone);
}
.case-card__tags {
  display: flex; gap: 10px; margin-bottom: 10px;
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-gold-bright);
}
.case-card__tags .pill {
  border: 1px solid rgba(245,241,234,.4);
  padding: 4px 10px; border-radius: 999px;
  color: rgba(245,241,234,.85);
}
.case-card__tags .pill.gold { border-color: var(--grifo-gold); color: var(--grifo-gold-bright); }
.case-card__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: 26px; line-height: 1.2;
  margin: 0 0 6px; color: var(--grifo-bone);
}
.case-card__loc {
  font-size: 14px; color: rgba(245,241,234,.7); margin: 0 0 14px;
}
.case-card__metric {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-gold-bright);
  background: rgba(245,241,234,.06);
  border: 1px solid rgba(160,122,44,.4);
  padding: 8px 14px; border-radius: 2px;
}
.case-card__metric strong {
  font-size: 18px; color: var(--grifo-bone); letter-spacing: 0;
}

.case-card.featured { grid-row: span 1; }

/* ============================================================
   MANIFESTO — "Get to know us" / culture section
   ============================================================ */
.manifesto {
  background: var(--grifo-bone);
  padding: var(--section-pad-y) 0;
}
.manifesto__grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  align-items: stretch;
}
.manifesto__lhs {
  padding-top: 24px;
}
.manifesto__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.0;
  letter-spacing: -0.02em; color: var(--grifo-navy);
  margin: 18px 0 32px; text-wrap: balance;
}
.manifesto__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.manifesto__item {
  border-top: 1px solid var(--border-2);
  padding: 0;
  position: relative;
}
.manifesto__item:last-child { border-bottom: 1px solid var(--border-2); }
.manifesto__item button,
.manifesto__item a {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grifo-navy); text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  transition: color 220ms var(--ease-out), padding 220ms var(--ease-out);
}
.manifesto__item button:hover,
.manifesto__item a:hover { color: var(--grifo-gold); }
.manifesto__item .arr { transition: transform 220ms; color: inherit; display: inline-flex; }
.manifesto__item button:hover .arr,
.manifesto__item a:hover .arr { transform: translateX(4px); }
.manifesto__item.is-active { background: linear-gradient(to right, transparent, transparent); }
.manifesto__item.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--grifo-gold);
  border-radius: 0;
}
.manifesto__item.is-active button {
  color: var(--grifo-navy);
  padding-left: 16px;
  font-weight: 700;
}
.manifesto__item.is-active .arr { transform: translateX(4px); color: var(--grifo-gold); }

/* RHS panel — content area that swaps when items are clicked */
.manifesto__rhs--panel {
  background: var(--grifo-navy-deep);
  color: var(--grifo-bone);
  border-radius: 4px;
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.manifesto__rhs--panel::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grifo-gold);
}
.manifesto__panel {
  display: flex; flex-direction: column;
  gap: 18px;
  animation: fadeUp 360ms var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.manifesto__panel-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.manifesto__panel-meta .lab {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-gold-bright);
}
.manifesto__panel-meta .idx {
  font-family: var(--font-display); font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 234, 0.5);
}
.manifesto__panel-close {
  appearance: none;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 6px 0;
  color: rgba(245, 241, 234, 0.55);
  transition: color 220ms;
}
.manifesto__panel-close:hover { color: var(--grifo-gold-bright); }
.manifesto__panel-close span[aria-hidden] {
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 50%;
  transition: border-color 220ms, color 220ms;
}
.manifesto__panel-close:hover span[aria-hidden] {
  border-color: var(--grifo-gold-bright);
  color: var(--grifo-gold-bright);
}
.manifesto__panel-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--grifo-bone);
  margin: 0;
  text-wrap: balance;
}
.manifesto__panel-body {
  font-size: 16px; line-height: 1.65;
  color: rgba(245, 241, 234, 0.78);
  margin: 0;
  max-width: 56ch;
}
.manifesto__rhs--panel .link-gold {
  color: var(--grifo-bone);
  border-bottom-color: var(--grifo-gold);
  align-self: flex-start;
  margin-top: 8px;
}
.manifesto__rhs--panel .link-gold:hover { color: var(--grifo-gold-bright); }

/* Mosaic — initial state (3 photos in 2-col grid, fills column height) */
.manifesto__rhs--mosaic {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  height: 100%;
  align-content: stretch;
}
.manifesto__rhs--mosaic .manifesto__photo {
  height: 100%;
  min-height: 240px;
  background: var(--grifo-navy-soft);
  overflow: hidden; border-radius: 2px;
}
.manifesto__rhs--mosaic .manifesto__photo--tall { grid-row: span 2; }
.manifesto__rhs--mosaic .manifesto__photo svg { width: 100%; height: 100%; display: block; }

/* Old fallback styles — kept to prevent breakage */
.manifesto__photo {
  height: 360px; background: var(--grifo-navy-soft);
  overflow: hidden; border-radius: 2px;
}
.manifesto__photo--tall { grid-row: span 2; height: auto; min-height: 480px; }
.manifesto__photo svg { width: 100%; height: 100%; }

.manifesto__caption {
  background: #fff;
  padding: 24px 24px 24px;
  margin-top: 16px;
  border-top: 2px solid var(--grifo-gold);
  grid-column: 1 / span 2;
}
.manifesto__caption .lab {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-gold); margin-bottom: 8px;
}
.manifesto__caption h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; margin: 0 0 8px;
  color: var(--grifo-navy);
}
.manifesto__caption p {
  font-size: 14px; line-height: 1.6; color: var(--grifo-graphite);
  margin: 0 0 14px;
}

/* ============================================================
   NEWS / CASES PREVIEW
   ============================================================ */
.news {
  background: var(--grifo-bone);
  padding: 0 0 var(--section-pad-y);
}
.news__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 40px;
}
.news__head .lhs h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--grifo-navy);
  margin: 16px 0 8px; text-wrap: balance;
}
.news__head .lhs p {
  font-size: 15px; color: var(--grifo-graphite); margin: 0;
}
.news__head .btn { background: var(--grifo-navy-deep); color: var(--grifo-bone); }
.news__head .btn:hover { background: var(--grifo-navy); }

.news__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border-2);
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.news-card:hover { box-shadow: var(--shadow-2); }
.news-card__img {
  height: 220px; background: var(--grifo-navy-soft);
  overflow: hidden; position: relative;
}
.news-card__img svg { width: 100%; height: 100%; }
.news-card__img .badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--grifo-bone); color: var(--grifo-navy);
  padding: 5px 10px; border-radius: 2px;
}
.news-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-gold); margin-bottom: 8px;
}
.news-card__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: 19px; line-height: 1.3; color: var(--grifo-navy);
  margin: 0 0 8px;
}
.news-card__excerpt {
  font-size: 14px; line-height: 1.55;
  color: var(--grifo-graphite); margin: 0 0 16px; flex: 1;
}
.news-card__more {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-navy); display: inline-flex; gap: 8px; align-items: center;
}
.news-card:hover .news-card__more { color: var(--grifo-gold); }

/* dots */
.news__dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border-2);
}
.news__dots span {
  width: 24px; height: 2px; background: var(--border-2);
  transition: background 220ms;
}
.news__dots span.is-active { background: var(--grifo-gold); }

/* ============================================================
   CTA BAND (final, navy)
   ============================================================ */
.ctaband {
  position: relative; overflow: hidden;
  background: var(--grifo-navy);
  color: var(--grifo-bone);
  padding: var(--section-pad-y) 0;
}
.ctaband__watermark {
  position: absolute; right: -100px; bottom: -120px;
  width: 540px; opacity: 0.07; pointer-events: none;
}
.ctaband__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: start; position: relative;
}
.ctaband__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--grifo-bone);
  margin: 18px 0 28px; text-wrap: balance;
}
.ctaband__lead {
  font-size: 17px; line-height: 1.6;
  color: rgba(245,241,234,.78); margin: 0 0 32px;
  max-width: 480px;
}
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ctaband__rhs {
  background: rgba(245,241,234,.04);
  border: 1px solid rgba(245,241,234,.14);
  padding: 32px 28px;
  border-top: 2px solid var(--grifo-gold);
}
.ctaband__rhs .lab {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-gold-bright); margin-bottom: 16px;
}
.ctaband__rhs h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; line-height: 1.25; color: var(--grifo-bone);
  margin: 0 0 14px;
}
.ctaband__rhs p {
  font-size: 14px; line-height: 1.55;
  color: rgba(245,241,234,.7); margin: 0 0 20px;
}
.ctaband__contacts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgba(245,241,234,.14); padding-top: 18px;
}
.ctaband__contacts li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px;
  color: rgba(245,241,234,.85);
}
.ctaband__contacts li .lab {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; color: var(--grifo-gold-bright);
  margin: 0;
  flex-shrink: 0;
}
.ctaband__contacts li > *:last-child {
  text-align: right;
  max-width: 70%;
}
.ctaband__contacts a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.ctaband__contacts a:hover {
  color: var(--grifo-gold-bright);
  border-bottom-color: var(--grifo-gold-bright);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--grifo-navy-deep);
  color: rgba(245,241,234,.7);
  padding: 80px 0 28px;
}
.footer__top {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px;
  margin-bottom: 64px;
}
.footer__brand img { height: 140px; margin: -30px 0 -8px -30px; }
.footer__brand p {
  font-size: 14px; line-height: 1.65;
  max-width: 320px; margin: 0 0 24px;
  color: var(--grifo-bone);
}
.footer__brand .signature {
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grifo-gold-bright);
}
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__h {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grifo-gold-bright); margin: 0 0 18px;
}
.footer__cols ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.footer__cols a { text-decoration: none; color: rgba(245,241,234,.78); transition: color 220ms; }
.footer__cols a:hover { color: var(--grifo-gold-bright); }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid rgba(245,241,234,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: rgba(245,241,234,.5);
  flex-wrap: wrap; gap: 16px;
}
.footer__bottom .social { display: flex; gap: 14px; }
.footer__bottom .social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(245,241,234,.2);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; color: rgba(245,241,234,.6);
  transition: all 220ms;
}
.footer__bottom .social a:hover { color: var(--grifo-gold-bright); border-color: var(--grifo-gold); }


/* ============================================================
   RESPONSIVE — tablet & mobile
   Breakpoints: 1024px (tablet), 720px (mobile), 480px (small)
   ============================================================ */

@media (max-width: 1180px) {
  :root { --gutter: 40px; --section-pad-y: 96px; }
  .nav__menu { gap: 20px; }
  .nav__menu a { font-size: 10.5px; letter-spacing: 0.14em; }
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  :root { --gutter: 32px; --section-pad-y: 88px; }

  /* Nav: collapse to hamburger */
  /* Disable backdrop-filter on mobile — it creates a containing block
     that traps position:fixed children inside .nav */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--grifo-bone); }
  .nav .frame { gap: 16px; justify-content: space-between; }
  .nav__menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; gap: 0;
    background: var(--grifo-navy);
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
    z-index: 9998;
    overflow-y: auto;
    justify-content: flex-start;
    visibility: hidden;
  }
  .nav--open .nav__menu { transform: translateX(0); visibility: visible; }
  .nav__menu li { width: 100%; border-bottom: 1px solid rgba(245,241,234,.14); }
  .nav__menu li:last-child { border-bottom: 0; }
  .nav__menu a {
    display: block; padding: 22px 0;
    font-size: 18px; letter-spacing: 0.14em;
    color: var(--grifo-bone);
    font-family: var(--font-display); font-weight: 700;
  }
  .nav__menu a:hover, .nav__menu a.active { color: var(--grifo-gold-bright); }
  .nav__menu a::after { display: none; }
  .nav__cta {
    margin-left: auto;
    padding: 11px 14px; font-size: 10px; letter-spacing: 0.14em;
  }
  .nav__burger {
    display: flex;
    margin-left: 8px;
    position: relative; z-index: 9999;
  }
  .nav--open .nav__burger { position: fixed; top: 14px; right: 20px; }
  .nav--open .nav__burger span { background: var(--grifo-bone); }

  /* Topbar: hide secondary on tablet */
  .topbar .frame > span:last-child { display: none; }
  .topbar .frame { justify-content: center; }

  /* Hero */
  .hero__layout { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .hero__head { min-height: auto; }
  .hero__title { font-size: clamp(40px, 7vw, 64px); }
  .hero__intro { padding-top: 0; max-width: none; }
  .hero__photos { height: 380px; grid-template-columns: 1.4fr 1fr; }
  .hero__cardwrap { width: 70%; }
  .hero__rule-row { flex-wrap: wrap; gap: 16px; }
  .hero__rule-row .ticker { gap: 20px; flex-wrap: wrap; }

  /* Position */
  .position__top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .position__cards { grid-template-columns: 1fr; gap: 16px; padding-top: 36px; }
  .pos-card { padding: 28px 24px 24px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .metric { padding: 0; border-right: 0; padding-right: 0; }
  .metric:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--border-2); }

  /* Sectors */
  .sectors__head { grid-template-columns: 1fr; gap: 16px; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }

  /* Showcase */
  .showcase__head { grid-template-columns: 1fr; gap: 24px; }
  .showcase__grid { grid-template-columns: 1fr; }
  .case-card { height: 320px; }
  .showcase__bar { flex-wrap: wrap; gap: 16px; }
  .showcase__bar .filters { flex-wrap: wrap; gap: 16px; }

  /* Manifesto */
  .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto__lhs { padding-top: 0; }
  .manifesto__rhs--mosaic { grid-template-columns: 1fr 1fr; height: auto; }
  .manifesto__rhs--mosaic .manifesto__photo { min-height: 280px; }
  .manifesto__rhs--mosaic .manifesto__photo--tall { grid-row: auto; min-height: 280px; }
  .manifesto__rhs--panel { padding: 40px 36px; height: auto; }
  .manifesto__photo { height: 280px; }
  .manifesto__photo--tall { min-height: 280px; }

  /* News */
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid > a:nth-child(3) { grid-column: 1 / -1; }
  .news__grid > a:nth-child(3) .news-card__img { height: 240px; }
  .news__head { flex-direction: column; align-items: flex-start; }

  /* CTA */
  .ctaband__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  :root { --gutter: 20px; --section-pad-y: 56px; }

  body { font-size: 15px; -webkit-text-size-adjust: 100%; }

  /* Topbar */
  .topbar { font-size: 9.5px; letter-spacing: 0.14em; padding: 8px 0; }
  .topbar .frame > span:first-child { white-space: normal; line-height: 1.4; }

  /* Nav */
  .nav .frame { padding-top: 12px; padding-bottom: 12px; }
  .nav__logo img { height: 30px; }
  .nav__logo .wm { font-size: 16px; }
  .nav__logo .sub { font-size: 7px; letter-spacing: 0.26em; }
  .nav__cta { display: none; }
  .nav__menu { padding: 88px 22px 32px; }
  .nav__menu a { padding: 18px 0; font-size: 16px; letter-spacing: 0.12em; }
  .nav__menu::after {
    content: "Fale com um especialista";
    display: block;
    background: var(--grifo-gold); color: var(--grifo-navy-deep);
    text-align: center;
    font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 16px; border-radius: 4px; margin-top: 24px;
  }

  /* Hero */
  .hero { padding-top: 24px; }
  .hero__layout { gap: 24px; margin-bottom: 8px; }
  .hero__title { font-size: clamp(30px, 8.4vw, 42px); line-height: 1.05; }
  .hero__title em { font-size: 0.9em; }
  .hero__intro { margin-bottom: 8px; }
  .hero__intro p { font-size: 14.5px; line-height: 1.6; }
  .hero__nav { flex-wrap: wrap; gap: 6px 12px; }
  .hero__nav a { font-size: 11px; }
  .hero-card { padding: 22px 20px; }
  .hero-card h3 { font-size: 19px; line-height: 1.2; }
  .hero-card p { font-size: 13.5px; }
  /* Hide photo mosaic on mobile — card stands alone */
  .hero__stage { min-height: 0; }
  .hero__photos { display: none; }
  .hero__cardwrap { position: relative; bottom: 0; width: 100%; max-width: none; margin-top: 4px; }
  .hero__rule { margin-top: 32px; padding-top: 20px; }
  .hero__rule-row { gap: 12px; }
  .hero__rule-row .lhs { font-size: 10px; }
  .hero__rule-row .ticker { font-size: 10px; gap: 14px 18px; }

  /* Position */
  .position__top { gap: 24px; margin-bottom: 36px; }
  .position__title { font-size: 28px; line-height: 1.1; }
  .position__copy { gap: 18px; padding-top: 0; }
  .position__copy p { font-size: 14.5px; line-height: 1.65; }
  .position__copy .btn-row { flex-wrap: wrap; gap: 10px; }
  .position__cards { padding-top: 28px; gap: 12px; }
  .pos-card { padding: 24px 20px 22px; gap: 10px; }
  .pos-card__title { font-size: 19px; }
  .pos-card__body { font-size: 13.5px; }
  .pos-card__link { font-size: 10.5px; }
  .metrics { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .metric,
  .metric:nth-child(odd),
  .metric:not(:first-child) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-2);
  }
  .metric:first-child { padding: 0 0 24px; }
  .metric:last-child { border-bottom: 0; padding-bottom: 0; }
  .metric__num { font-size: 46px; margin: 8px 0 6px; }
  .metric__desc { max-width: none; font-size: 13px; }

  /* Sectors */
  .sectors__head { gap: 12px; margin-bottom: 32px; }
  .sectors__title { font-size: 26px; line-height: 1.15; }
  .sectors__sub { font-size: 14.5px; }
  .sectors__grid { grid-template-columns: 1fr; gap: 12px; }
  .sector { min-height: auto; padding: 26px 22px; }
  .sector__icon { width: 34px; height: 34px; margin-bottom: 16px; }
  .sector__name { font-size: 19px; }
  .sector__desc { font-size: 13.5px; line-height: 1.55; }
  .sector__list { font-size: 12px; }

  /* Showcase */
  .showcase__head { gap: 16px; margin-bottom: 28px; }
  .showcase__title { font-size: 26px; line-height: 1.15; }
  .showcase__sub { font-size: 14px; }
  .showcase__bar { padding: 12px 0; font-size: 10px; gap: 10px; }
  .showcase__bar .filters { gap: 10px 14px; }
  .showcase__nav { display: none; }
  .showcase__grid { gap: 14px; margin-top: 28px; }
  .case-card { height: 260px; }
  .case-card__title { font-size: 19px; line-height: 1.2; }
  .case-card__content { padding: 18px 18px 20px; }
  .case-card__metric { font-size: 10px; padding: 6px 10px; }
  .case-card__metric strong { font-size: 13px; }
  .case-card__meta { font-size: 10px; }

  /* Manifesto */
  .manifesto__grid { gap: 32px; }
  .manifesto__title { font-size: 28px; line-height: 1.1; }
  .manifesto__lead { font-size: 14.5px; }
  .manifesto__rhs:not(.manifesto__rhs--panel) { grid-template-columns: 1fr; gap: 12px; }
  .manifesto__rhs--mosaic { grid-template-columns: 1fr; gap: 12px; }
  .manifesto__rhs--mosaic .manifesto__photo { min-height: 200px; }
  .manifesto__rhs--mosaic .manifesto__photo--tall { grid-row: auto; min-height: 240px; }
  .manifesto__rhs--panel { padding: 32px 24px; }
  .manifesto__panel-title { font-size: 22px; line-height: 1.2; }
  .manifesto__panel-body { font-size: 14.5px; line-height: 1.6; }
  .manifesto__panel-meta .lab { font-size: 10px; letter-spacing: 0.2em; }
  .manifesto__photo { height: 200px; }
  .manifesto__photo--tall { min-height: 240px; }
  .manifesto__caption { padding: 22px 20px; }
  .manifesto__caption h3 { font-size: 18px; line-height: 1.25; }
  .manifesto__caption p { font-size: 13.5px; }
  .manifesto__list { gap: 0; }
  .manifesto__item button,
  .manifesto__item a { font-size: 12px; padding: 14px 0; letter-spacing: 0.12em; }
  .manifesto__item.is-active button { padding-left: 12px; }
  .manifesto__item h4 { font-size: 15px; }

  /* News */
  .news__head { gap: 16px; margin-bottom: 28px; }
  .news__head .lhs h2 { font-size: 26px; line-height: 1.15; }
  .news__head .lhs p { font-size: 14.5px; }
  .news__head .btn { width: 100%; justify-content: center; }
  .news__grid { grid-template-columns: 1fr; gap: 16px; }
  .news__grid > a:nth-child(3) { grid-column: auto; }
  .news__grid > a:nth-child(3) .news-card__img { height: 200px; }
  .news-card__img { height: 190px; }
  .news-card__body { padding: 18px 0 0; }
  .news-card__title { font-size: 17px; line-height: 1.3; }
  .news-card__excerpt { font-size: 13.5px; }
  .news-card__meta { font-size: 10px; }

  /* CTA */
  .ctaband__grid { gap: 32px; }
  .ctaband__title { font-size: 28px; line-height: 1.1; }
  .ctaband__lead { font-size: 14.5px; line-height: 1.6; }
  .ctaband__actions { flex-direction: column; gap: 10px; }
  .ctaband__actions .btn { width: 100%; justify-content: center; }
  .ctaband__rhs { padding: 24px 20px; }
  .ctaband__rhs h3 { font-size: 18px; line-height: 1.25; }
  .ctaband__contacts li {
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(245,241,234,.08);
  }
  .ctaband__contacts li:last-child { border-bottom: 0; padding-bottom: 0; }
  .ctaband__contacts .lbl { font-size: 10px; }
  .ctaband__contacts .val { font-size: 14px; }

  /* Footer */
  .footer { padding: 48px 0 22px; }
  .footer__top { gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer__brand img { height: 100px; margin: -22px 0 -6px -22px; }
  .footer__brand p { font-size: 13px; }
  .footer__col h4 { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 14px; }
  .footer__col a { font-size: 13px; padding: 4px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 10px; padding-top: 24px; }

  /* Typography fine-tuning */
  .eyebrow { font-size: 10px; letter-spacing: 0.2em; gap: 10px; }
  .eyebrow::before { width: 16px; }

  /* Section heads consistency */
  section { /* ensure no horizontal overflow */ }
  .frame { padding: 0 var(--gutter); }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .topbar { font-size: 8.5px; letter-spacing: 0.12em; }
  .hero__title { font-size: clamp(26px, 8.6vw, 36px); }
  .hero-card h3 { font-size: 18px; }
  .position__title { font-size: 24px; }
  .sectors__title, .showcase__title, .manifesto__title,
  .news__head .lhs h2, .ctaband__title { font-size: 24px; }
  .metric__num { font-size: 40px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .footer__brand img { height: 80px; margin: -18px 0 -4px -18px; }
}

/* Touch-friendly hover suppression on mobile */
@media (hover: none) {
  .sector:hover { background: #fff; }
  .news-card:hover { box-shadow: var(--shadow-1); }
}


/* ============================================================
   PAGE HERO — shared across internal pages
   (solucoes, cases, clientes, areas-de-atuacao, manifesto,
    fale-conosco, trabalhe-conosco)
   Per-page CSS files may add modifiers/extra blocks.
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--grifo-navy-deep);
  color: var(--grifo-bone);
  padding: 120px 0 96px;
  overflow: hidden;
}
.page-hero__watermark {
  position: absolute;
  right: -120px;
  top: 40px;
  width: 540px;
  opacity: 0.05;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  max-width: 880px;
}
.page-hero__eyebrow {
  margin-bottom: 28px;
  color: var(--grifo-gold-bright);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--grifo-bone);
  margin: 0 0 28px;
  text-wrap: balance;
}
.page-hero__title em {
  font-style: normal;
  color: var(--grifo-gold-bright);
}
.page-hero__lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.8);
  max-width: 720px;
  margin: 0 0 40px;
}
.page-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grifo-bone);
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.22);
  border-radius: 999px;
  text-decoration: none;
  transition: all 200ms var(--ease-out);
}
.page-hero__pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grifo-gold);
}
.page-hero__pill:hover {
  border-color: var(--grifo-gold);
  background: rgba(160, 122, 44, 0.12);
  color: var(--grifo-gold-bright);
}
.page-hero__pill:hover .dot { background: var(--grifo-gold-bright); }

@media (max-width: 1180px) {
  .page-hero { padding: 96px 0 80px; }
}
@media (max-width: 1024px) {
  .page-hero { padding: 80px 0 64px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero__lead { font-size: 16px; }
  .page-hero__pills { gap: 8px; }
  .page-hero__pill { font-size: 10px; padding: 8px 12px; letter-spacing: 0.12em; }
}

/* ============================================================
   AVATAR INITIALS — used in testimonials / placeholders
   ============================================================ */
.avatar-init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grifo-navy-deep);
  color: var(--grifo-gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.avatar-init::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(245, 241, 234, 0.1), transparent 50%),
    linear-gradient(135deg, var(--grifo-navy-deep), var(--grifo-navy));
}
.avatar-init > span { position: relative; z-index: 1; }
.avatar-init { overflow: hidden; }
.avatar-init > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.avatar-init--circle { border-radius: 50%; }
.avatar-init--rect   { border-radius: 4px; }

/* ============================================================
   MOBILE NAV — hamburger + slide-in drawer
   (used by NavFullbleed + HeroFullbleed)
   ============================================================ */
.nav-burger {
  display: none; /* desktop: hidden */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.22);
  border-radius: 4px;
  cursor: pointer;
  z-index: 220;
  position: relative;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grifo-bone);
  border-radius: 2px;
  transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  visibility: hidden;
  opacity: 0;
  transition: opacity 260ms var(--ease-out), visibility 260ms var(--ease-out);
}
.nav-drawer.is-open { visibility: visible; opacity: 1; }
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 24, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.nav-drawer__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--grifo-navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 40px;
  overflow-y: auto;
  transform: translateY(-16px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-drawer.is-open .nav-drawer__panel { transform: translateY(0); }
.nav-drawer__panel a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.82);
  text-decoration: none;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
  transition: color 200ms var(--ease-out);
}
.nav-drawer__panel a:hover { color: var(--grifo-bone); }
.nav-drawer__panel a.active { color: var(--grifo-gold); }
.nav-drawer__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 18px 20px !important;
  background: var(--grifo-gold);
  color: var(--grifo-navy-deep) !important;
  border-bottom: none !important;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.14em !important;
  transition: background 200ms var(--ease-out);
}
.nav-drawer__cta:hover { background: var(--grifo-gold-bright); color: var(--grifo-navy-deep) !important; }

/* Show hamburger / hide desktop menu + CTA at tablet & below */
@media (max-width: 1024px) {
  .nav-burger { display: inline-flex; }
  .hero-fb__menu { display: none; }
  .hero-fb__cta { display: none; }
}
