:root {
  --navy: #003041;
  --navy-2: #062634;
  --navy-3: #0d4254;
  --orange: #eb6608;
  --orange-dark: #c94f00;
  --warm: #f5f1ea;
  --sand: #e8dfd3;
  --mist: #eef2f2;
  --white: #ffffff;
  --ink: #17313a;
  --muted: #60747b;
  --line: rgba(0, 48, 65, .14);
  --shadow: 0 24px 60px rgba(0, 35, 48, .14);
  --radius-lg: 28px;
  --radius-md: 18px;

  /* ---------- Containers (REV-02) ----------
     Default .container is the institutional/content width. Opt into
     .container-wide only for editorial imagery/mosaics that earn the extra
     room — never apply it blanket across sections. .container-reading caps
     long-form prose for a comfortable line length. */
  --container-content: 1120px;
  --container-wide: 1200px;
  --container-reading: 720px;
  --page-gutter-desktop: 32px;
  --page-gutter-mobile: 22px;
  --container: min(var(--container-content), calc(100% - (var(--page-gutter-desktop) * 2)));
  /* Shared editorial axis (REV-02.1): the exact left inset a centered
     --container-content box has at the current viewport. Apply this as
     padding-inline on any full-bleed section (hero, hero-inner) whose
     content must start on the same vertical line as the logo/.container
     content, without wrapping that content in its own centered .container
     (centering + a narrower max-width on the same element is what caused
     the ~250px hero indent bug in the first place). */
  --edge-inset: max(var(--page-gutter-desktop), calc((100% - var(--container-content)) / 2));

  /* ---------- Typographic scale (tokens) — REV-02 density/scale pass ----------
     Every heading/body/caption in the site must resolve to one of these
     tiers. Never hand-roll a font-size on an individual element —
     add/adjust a tier here, or apply .text-statement where the content is
     a manifesto-style editorial line rather than a functional section label.
     REV-02 recalibrates REV-01's scale down: REV-01 sized for 80% browser
     zoom without realizing it; these values target comfortable 100% zoom
     on 1280–1440px laptops, per RMIRANDA-V3-DENSIDADE-ESCALA-REV-02. */
  --fs-display: clamp(3rem, 4.3vw, 3.75rem);          /* Display / H1 — Home hero only (48–60px desktop) */
  --lh-display: 1.05;
  --ls-display: -.04em;

  --fs-display-internal: clamp(2.875rem, 3.6vw, 3.5rem); /* H1 interno — hero das páginas internas (46–56px desktop) */
  --lh-display-internal: 1.08;
  --ls-display-internal: -.035em;

  --fs-display-compact: clamp(1.6rem, 2.6vw, 2.1rem); /* Display, compact — short heroes (confirmação, política) */
  --lh-display-compact: 1.12;
  --ls-display-compact: -.03em;

  --fs-section-title: clamp(2.25rem, 2.6vw, 2.75rem); /* Section Title / H2 — 36–44px desktop */
  --lh-section-title: 1.15;
  --ls-section-title: -.025em;

  --fs-statement: clamp(2rem, 2.2vw, 2.375rem);       /* Statement — título manifesto, 32–38px desktop */
  --lh-statement: 1.28;
  --ls-statement: -.01em;

  --fs-h3-strategic: clamp(1.25rem, 1.3vw, 1.5rem);   /* H3 estratégico — títulos de navegação/decisão, 20–24px */
  --lh-h3-strategic: 1.3;

  --fs-card-title: clamp(1.125rem, 1.1vw, 1.375rem);  /* Card Title / H3 funcional — 18–22px */
  --lh-card-title: 1.32;

  --fs-lead: clamp(1.0625rem, 1vw, 1.1875rem);        /* Lead — intro paragraphs under a heading, 17–19px */
  --lh-lead: 1.55;

  --fs-body: 1rem;                                     /* Body — card/paragraph copy, piso de 16px */
  --lh-body: 1.6;

  --fs-caption: clamp(.8125rem, .5vw, .875rem);       /* Caption — media labels, notes, timestamps, 13–14px */
  --lh-caption: 1.45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.container-wide { width: min(var(--container-wide), calc(100% - 64px)); margin-inline: auto; }
.container-reading { width: min(var(--container-reading), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; background: var(--orange); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
body.scroll-locked { overflow: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
/* Sticky header, any page: flat opaque white — never translucent+blurred.
   A translucent white with backdrop-filter lets whatever is scrolled behind
   it (a dark section, a hero-inner gradient) bleed through and read as
   grayish instead of white, which is what made internal pages look
   different from the Home header once "stuck". */
.site-header.scrolled, .site-header.is-solid { background: #ffffff; border-color: var(--line); box-shadow: 0 10px 30px rgba(0,25,35,.08); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; place-items: center; width: auto; height: auto; padding: 8px 12px; background: white; border-radius: 0 0 10px 10px; transition: background .3s ease; }
.brand img { display: block; width: 180px; height: auto; }
.scrolled .brand, .is-solid .brand { background: transparent; }
.main-nav { align-self: center; display: flex; align-items: center; gap: 20px; color: white; font-size: .875rem; font-weight: 700; }
.main-nav > a:not(.button) { position: relative; padding: 14px 0; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.main-nav > a:not(.button):hover::after, .main-nav > a.is-active::after { width: 100%; }
.main-nav > a.nav-secondary { opacity: .72; font-weight: 600; }
.scrolled .main-nav, .is-solid .main-nav { color: var(--navy); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); padding: 12px; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: white; }

/* ---------- Nav dropdown (Empreendimentos) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown > a { position: relative; padding: 14px 0; }
.nav-dropdown > a::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.nav-dropdown:hover > a::after, .nav-dropdown:focus-within > a::after, .nav-dropdown > a.is-active::after { width: 100%; }
.nav-dropdown-panel { position: absolute; top: 100%; left: 50%; z-index: 5; display: grid; gap: 4px; min-width: 220px; padding: 10px; margin-top: 6px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .15s, visibility .15s, transform .15s; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-panel a { padding: 10px 14px; border-radius: 8px; color: var(--navy); font-weight: 700; font-size: .84rem; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a:focus-visible { background: var(--warm); }

/* ---------- Status badge (empreendimento) ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--warm); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.status-badge.is-pending { background: var(--mist); color: var(--muted); }
.status-badge.is-pending::before { background: var(--muted); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: .875rem; transition: transform .2s, background .2s, color .2s, border-color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 12px 24px rgba(235,102,8,.22); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { color: white; border-color: rgba(255,255,255,.58); background: rgba(0,0,0,.08); backdrop-filter: blur(5px); }
.button-ghost:hover { background: white; color: var(--navy); }
.button-outline { color: var(--navy); border-color: var(--navy); }
.button-outline:hover { color: white; background: var(--navy); }
.button-small { min-height: 44px; padding-inline: 18px; font-size: .8125rem; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero (home, full) ---------- */
.hero { position: relative; min-height: clamp(600px, 88svh, 720px); display: flex; align-items: center; justify-content: flex-start; overflow: hidden; color: white; background: var(--navy); padding-inline: var(--edge-inset); }
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(0,30,43,.94) 0%, rgba(0,36,51,.76) 34%, rgba(0,36,51,.18) 64%, rgba(0,0,0,.08) 100%), linear-gradient(0deg, rgba(0,30,43,.36), transparent 48%); }
/* .hero-content is also given class="container" in the markup for legacy
   reasons (shared padding-top etc.) — explicitly zero its inherited
   margin-inline:auto here so the 620px cap left-aligns against the .hero's
   own --edge-inset padding instead of re-centering within it (REV-02.1). */
.hero-content { position: relative; z-index: 2; width: auto; max-width: 620px; margin-inline: 0; padding-top: 96px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff8b3d; }
.hero h1 { max-width: 620px; margin: 0 0 20px; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.hero-support { max-width: 580px; margin: 0 0 22px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: rgba(255,255,255,.84); }
.media-note { margin: 16px 0 0; font-size: var(--fs-caption); line-height: var(--lh-caption); color: rgba(255,255,255,.58); }
.hero-scroll { position: absolute; z-index: 3; right: 5vw; bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll i { display: block; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; position: relative; }
.hero-scroll i::after { content: ""; position: absolute; left: 50%; top: 44%; width: 8px; height: 8px; border-right: 2px solid white; border-bottom: 2px solid white; transform: translate(-50%,-50%) rotate(45deg); }

/* Home hero image: the source photo is a tall/portrait facade shot — pull the
   crop up so 1280–1440px viewports read the architecture, not just the garage
   door (REV-02, item 5). */
body[data-page-event="view_home"] .hero-media { object-position: center 22%; }
@media (max-width: 720px) {
  body[data-page-event="view_home"] .hero-media { object-position: 62% center; }
}

/* ---------- Hero inner (secondary pages) ---------- */
.hero-inner { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; color: white; background: linear-gradient(145deg, var(--navy), #0a4257); padding-bottom: 56px; padding-inline: var(--edge-inset); }
.hero-inner .hero-media { opacity: .48; }
.hero-inner .hero-shade { background: linear-gradient(90deg, rgba(0,24,34,.92) 10%, rgba(0,36,51,.55) 60%, rgba(0,36,51,.25) 100%); }
.hero-inner .hero-content { padding-top: 128px; }
.hero-inner h1 { margin: 0 0 16px; font-size: var(--fs-display-internal); line-height: var(--lh-display-internal); letter-spacing: var(--ls-display-internal); max-width: 760px; }
.hero-inner h1.text-display-compact { font-size: var(--fs-display-compact); line-height: var(--lh-display-compact); letter-spacing: var(--ls-display-compact); }
.hero-inner .hero-support { margin-bottom: 8px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.breadcrumb { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 128px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.62); }
.hero-inner .breadcrumb { padding-top: 128px; margin-bottom: 14px; }
.breadcrumb a:hover { color: white; }
.breadcrumb span[aria-hidden] { opacity: .5; }
.breadcrumb .is-current { color: white; }

/* ---------- Anchor nav (navegação interna por âncoras) ---------- */
.anchor-nav-bar { background: white; border-bottom: 1px solid var(--line); }
.anchor-nav { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; color: var(--navy); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { background: var(--warm); }

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 4; margin-top: -1px; background: var(--white); box-shadow: 0 -8px 32px rgba(0,30,43,.07); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { min-height: 120px; display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact-number { color: var(--orange); font-size: 2.25rem; font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.fact-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-weight: 900; }
.fact strong, .fact small { display: block; }
.fact strong { color: var(--navy); font-size: .95rem; }
.fact small { color: var(--muted); font-size: var(--fs-caption); line-height: var(--lh-caption); }
.facts-grid.indicators-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Section basics ---------- */
/* Spacing scale with intent (REV-02) — pick by narrative role, not by habit.
   REV-01's 92/64/116/40px read fine at 80% zoom but were oversized at 100%;
   recalibrated down per RMIRANDA-V3-DENSIDADE-ESCALA-REV-02 item 9. 116px
   "impacto" stays available as an exception via inline override, not default. */
.section { padding: 80px 0; }              /* standard: 72–88px desktop */
.section-tight { padding: 56px 0; }        /* compact/prova: 48–64px desktop */
.section-xl { padding: 96px 0; }           /* editorial de impacto: 88–104px desktop */
.section-transition { padding: 34px 0; }   /* transição: 28–40px desktop */
.h3-strategic { color: var(--navy); font-size: var(--fs-h3-strategic); line-height: var(--lh-h3-strategic); font-weight: 800; }
.section-heading { margin-bottom: 40px; }
/* Safety net (REV-02): a bare <h2> anywhere in main falls back to the H2
   token by default, so a future wrapper class can never silently regress to
   the browser default (this happened twice in REV-01 — .centered-heading
   and .proof-copy both shipped without this). More specific rules below
   still win for statement-style or legal H2s. */
main h2 { margin: 0; color: var(--navy); font-size: var(--fs-section-title); line-height: var(--lh-section-title); letter-spacing: var(--ls-section-title); }
.section-heading h2, .engineering-copy h2, .location-copy h2, .possibility-copy h2, .final-cta h2, .page-heading h2, .centered-heading h2, .proof-copy h2 { margin: 0; color: var(--navy); font-size: var(--fs-section-title); line-height: var(--lh-section-title); letter-spacing: var(--ls-section-title); }
/* Statement — manifesto-style editorial lines (never a bespoke section-title size) */
.text-statement { margin: 0; color: var(--navy); font-size: var(--fs-statement) !important; line-height: var(--lh-statement) !important; letter-spacing: var(--ls-statement); font-weight: 800; }
.section-heading h3 { margin: 0; color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); font-weight: 800; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 56px; }
.split-heading > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.centered-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading h2 { margin-bottom: 20px; }
.centered-heading > p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.section-note { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: var(--fs-caption); line-height: var(--lh-caption); text-align: center; }
.legal-copy h2 { margin: 40px 0 14px; color: var(--navy); font-size: var(--fs-section-title); line-height: var(--lh-section-title); letter-spacing: var(--ls-section-title); }
.legal-copy h2:first-of-type { margin-top: 0; }
.legal-copy p { margin: 0 0 24px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.legal-copy .legal-version-note { margin-bottom: 32px; font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* ---------- Life / editorial cards (home) ---------- */
.section-life { background: var(--warm); }
.life-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; }
.life-card { min-height: 360px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: white; border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0,40,54,.06); }
.life-card-large { grid-row: span 2; min-height: 742px; }
.life-art { position: relative; min-height: 230px; overflow: hidden; background: #d9e5e3; }
.life-art img { width: 100%; height: 100%; object-fit: cover; }
.life-card-large .life-art { min-height: 460px; }
.life-copy { padding: 30px; }
.life-copy h3 { margin: 8px 0 12px; color: var(--navy); font-size: var(--fs-statement); line-height: var(--lh-statement); letter-spacing: var(--ls-statement); font-weight: 800; }
.life-copy p { margin: 0; color: var(--muted); }
.card-index { color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.life-card-dark { display: flex; align-items: center; color: white; background: var(--navy); }
.life-card-dark h3, .life-card-dark p { color: white; }
.life-card-dark p { color: rgba(255,255,255,.68); }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 24px; color: white; font-weight: 800; }
.text-link span { color: var(--orange); font-size: 1.3rem; }
.text-link-dark { color: var(--navy); }

/* ---------- Possibility / lead section ---------- */
.section-possibility { position: relative; overflow: hidden; color: white; background: var(--navy); }
.section-possibility::before { content: ""; position: absolute; inset: -30% auto auto -5%; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.possibility-grid { position: relative; display: grid; grid-template-columns: 1fr .78fr; gap: 100px; align-items: center; }
.possibility-copy h2 { color: white; }
.possibility-copy > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.72); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.check-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

/* ---------- Forms ---------- */
.lead-card, .form-panel { padding: 34px; color: var(--ink); background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lead-card-head { display: flex; justify-content: space-between; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lead-card-head span { color: var(--navy); font-size: 1.1rem; font-weight: 900; }
.lead-card-head strong { color: var(--orange); font-size: .72rem; }
form label:not(.consent) { display: grid; gap: 8px; margin-bottom: 17px; color: var(--navy); font-size: .79rem; font-weight: 800; }
form input[type="text"], form input[type="tel"], form input[type="email"], form select, form textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #cbd5d6; border-radius: 10px; color: var(--ink); background: white; outline: 0; resize: vertical;
}
form textarea { min-height: 110px; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235,102,8,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 18px 0; color: var(--muted); font-size: .7rem; font-weight: 500; }
.consent input { margin-top: 3px; accent-color: var(--orange); }
/* Honeypot anti-spam: fora da tela e fora da leitura de tecnologia assistiva. */
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.consent a { text-decoration: underline; }
.form-feedback { min-height: 1.2em; margin: 12px 0 0; color: #27734c; font-size: .76rem; font-weight: 700; text-align: center; }
.form-feedback[data-state="error"] { color: #b23b1f; }
.field-error { display: none; margin-top: -10px; margin-bottom: 14px; color: #b23b1f; font-size: .72rem; font-weight: 700; }
.has-error .field-error { display: block; }
.has-error input, .has-error select, .has-error textarea { border-color: #b23b1f; }

/* ---------- Engineering / trust block ---------- */
.section-engineering { background: white; }
.engineering-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: stretch; }
.engineering-visual { position: relative; min-height: 620px; }
.render-card { position: absolute; overflow: hidden; margin: 0; border-radius: var(--radius-md); background: var(--mist); box-shadow: var(--shadow); }
.render-card img { width: 100%; height: 100%; object-fit: cover; }
.render-card-main { left: 0; top: 0; width: 80%; height: 440px; }
.render-card-main figcaption { position: absolute; inset: auto 12px 12px; padding: 8px 10px; border-radius: 8px; color: rgba(255,255,255,.82); background: rgba(0,35,48,.82); font-size: .62rem; }
.render-card-small { right: 0; bottom: 0; width: 48%; height: 310px; border: 10px solid white; }
.engineering-stamp { position: absolute; left: 0; bottom: 40px; width: 220px; height: 142px; display: grid; align-content: center; padding: 24px; color: white; background: var(--orange); border-radius: var(--radius-md); }
.engineering-stamp strong { font-size: 1.35rem; }
.engineering-stamp span { font-size: .8rem; }
.engineering-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.editorial-figure { margin: 0; height: 100%; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.editorial-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Proof block (confiança / liderança como prova, não faixa vazia) ---------- */
.proof-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: stretch; }
.proof-grid-reverse { grid-template-columns: 1.22fr .78fr; }
.proof-photo { margin: 0; height: 100%; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.proof-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.proof-copy blockquote { margin: 22px 0 0; padding-left: 20px; border-left: 3px solid var(--orange); color: var(--navy); font-size: 1.05rem; font-style: italic; line-height: 1.5; }
.proof-copy blockquote cite { display: block; margin-top: 10px; color: var(--muted); font-size: .84rem; font-style: normal; font-weight: 700; }
.proof-links { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof-links a { color: var(--navy); font-weight: 800; font-size: .95rem; }
.proof-links a span { color: var(--orange); margin-left: 6px; }
.proof-list { display: grid; margin: 32px 0 8px; }
.proof-list article { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.proof-list article > span { color: var(--orange); font-size: .72rem; font-weight: 900; }
.proof-list h3, .proof-list p { margin: 0; }
.proof-list h3 { color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); }
.proof-list p { color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---------- Location / map ---------- */
.section-location { padding-top: 0; }
.location-card { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 440px; overflow: hidden; border-radius: var(--radius-lg); background: var(--warm); }
.location-map { position: relative; overflow: hidden; min-height: 420px; background: #dbe7e5; }
.location-map::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 85px, rgba(0,48,65,.045) 86px 88px), repeating-linear-gradient(0deg, transparent 0 75px, rgba(0,48,65,.045) 76px 78px); transform: rotate(-10deg) scale(1.2); }
.road { position: absolute; background: var(--sand); border: 1px solid rgba(0,48,65,.08); }
.road-a { width: 130%; height: 58px; left: -10%; top: 48%; transform: rotate(-12deg); }
.road-b { width: 58px; height: 140%; left: 62%; top: -20%; transform: rotate(18deg); }
.road-c { width: 90%; height: 34px; left: -10%; top: 20%; transform: rotate(24deg); }
.map-pin { position: absolute; left: 48%; top: 42%; width: 66px; height: 66px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); box-shadow: 0 18px 30px rgba(235,102,8,.28); }
.map-pin i { position: absolute; inset: 20px; border: 5px solid white; border-radius: 50%; }
.map-label { position: absolute; left: calc(48% + 58px); top: 45%; padding: 10px 14px; border-radius: 8px; color: white; background: var(--navy); font-size: .78rem; font-weight: 800; }
.location-copy { display: grid; align-content: center; padding: 56px; }
.location-copy p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.location-copy .button { justify-self: start; margin-top: 18px; }
.location-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.location-list li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-size: .88rem; font-weight: 600; }
.location-list li::before { content: "•"; color: var(--orange); font-weight: 900; }

/* ---------- Other paths (home) / router grid (contato) ---------- */
.other-paths { padding-top: 36px; background: white; }
.paths-grid, .router-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.router-grid { grid-template-columns: repeat(4, 1fr); }
.path-card { min-height: 330px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px; padding: 36px; border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: transform .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path-build { color: white; background: linear-gradient(145deg, var(--navy), #145166); }
.path-land { color: var(--navy); background: linear-gradient(145deg, #efdfca, #f8f4ed); }
.path-number { align-self: start; font-size: .74rem; font-weight: 900; opacity: .7; }
.path-card p { margin: 0 0 8px; color: var(--orange); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.path-card h3 { max-width: 440px; margin: 0; font-size: var(--fs-statement); line-height: var(--lh-statement); letter-spacing: var(--ls-statement); font-weight: 800; }
.path-arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.4rem; flex: 0 0 auto; }

.router-card { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 260px; padding: 30px 26px; color: var(--navy); background: var(--warm); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, background .25s; }
.router-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: white; }
.router-card .router-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: white; color: var(--orange); font-weight: 900; box-shadow: 0 6px 16px rgba(0,48,65,.08); }
.router-card h3 { margin: 0; font-size: var(--fs-card-title); line-height: var(--lh-card-title); letter-spacing: -.01em; }
.router-card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.router-card .path-arrow { justify-self: start; width: 42px; height: 42px; font-size: 1.15rem; border-color: var(--navy); color: var(--navy); }

/* ---------- Final CTA ---------- */
.final-cta { padding: 90px 0; color: white; background: var(--navy); }
.final-cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.final-cta h2 { max-width: 760px; color: white; }
.final-cta .button-row { flex: 0 0 auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 24px; color: rgba(255,255,255,.72); background: var(--navy-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr 1fr; gap: 40px; }
.footer-brand img { width: 158px; height: auto; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { margin: 0 0 18px; color: white; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a, .site-footer p { display: block; margin: 0 0 10px; font-size: .875rem; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .68rem; }
.footer-bottom a { display: inline; margin: 0; }

/* ---------- Badges / certifications strip ---------- */
.badges-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 40px 0; }
.badges-strip img { height: 44px; width: auto; filter: grayscale(1) opacity(.72); transition: filter .2s; }
.badges-strip img:hover { filter: none; }
.badges-strip.on-dark img { filter: brightness(0) invert(1) opacity(.75); }
.badges-strip.on-dark img:hover { opacity: 1; }
/* pbqp-h.svg and iso.svg are white-fill only (no dark/colored paths), so on a light
   background they need a dark chip behind them to stay visible at all. */
.badges-strip img.badge-chip { padding: 8px 14px; background: var(--navy); border-radius: 10px; filter: none; opacity: 1; }
.badges-strip.on-dark img.badge-chip { background: rgba(255,255,255,.12); filter: none; opacity: 1; }

/* ---------- Gallery + lightbox ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.gallery-tab { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: .78rem; font-weight: 800; background: white; cursor: pointer; }
.gallery-tab.is-active, .gallery-tab:hover { color: white; background: var(--navy); border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; grid-column: span 1; grid-row: span 1; min-height: 220px; overflow: hidden; border-radius: var(--radius-md); background: var(--mist); cursor: zoom-in; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-tall { grid-row: span 2; min-height: 460px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.045); }
.media-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; color: rgba(255,255,255,.9); background: rgba(0,35,48,.78); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 700; letter-spacing: .02em; }
.gallery-hidden { display: none !important; }

/* Felicitá — "Uma nova etapa sendo construída": a foto é um retrato de obra (900x1366)
   e o .gallery-item genérico usa height:100% no <img>, o que a esticava à largura total
   do container e gerava ~1680px de altura. Este modificador mostra a fotografia inteira,
   sem cortar topo/base do prédio, dentro de uma altura editorial fixa — a cor de fundo
   do item vira uma "moldura" ao redor da foto em vez de esticá-la. */
.felicita-obra-photo { display: flex; align-items: center; justify-content: center; min-height: 0; height: auto; padding: 32px; }
.felicita-obra-photo img { width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(3,15,20,.92); }
.lightbox.is-open { display: flex; }
.lightbox-figure { position: relative; max-width: min(1100px, 92vw); max-height: 86vh; }
.lightbox-figure img { max-width: 100%; max-height: 78vh; border-radius: 12px; margin-inline: auto; }
.lightbox-caption { margin-top: 14px; color: rgba(255,255,255,.78); font-size: var(--fs-caption); line-height: var(--lh-caption); text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.lightbox-close { top: -60px; right: 0; }
.lightbox-prev { left: -64px; top: 40%; }
.lightbox-next { right: -64px; top: 40%; }

/* ---------- Planta / floor plan viewer ---------- */
.plan-viewer { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.plan-frame { position: relative; padding: 22px; background: var(--mist); border-radius: var(--radius-lg); }
.plan-frame img { width: 100%; border-radius: 12px; }
.plan-frame button.plan-zoom { position: absolute; right: 34px; bottom: 34px; }
.plan-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.plan-data { display: grid; gap: 14px; }
.plan-data .fact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan-data .fact-row:first-child { border-top: 0; }
.plan-data .fact-row strong { display: block; color: var(--navy); }
.plan-data .fact-row small { display: block; color: var(--muted); font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* ---------- Amenities grid (Hibisco - vida além do apê) ---------- */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenity-card { display: grid; gap: 10px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); }
.amenity-card span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--warm); color: var(--orange); font-weight: 900; font-size: .78rem; }
.amenity-card p { margin: 0; color: var(--navy); font-size: .84rem; font-weight: 700; }

/* Amenidades agrupadas por experiência (REV-01) — substitui a parede de 16 cards */
.amenity-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.amenity-group { border-top: 2px solid var(--orange); padding-top: 18px; }
.amenity-group h4 { margin: 0 0 14px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.amenity-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.amenity-group li { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: white; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; background: none; border: 0; color: var(--navy); font-size: 1rem; font-weight: 800; cursor: pointer; }
.faq-question .faq-icon { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem; transition: transform .2s; }
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); color: var(--orange); border-color: var(--orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ---------- Timeline (evolução da obra) ---------- */
.timeline { display: grid; gap: 0; margin-top: 20px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { border-top: 0; }
.timeline-date { color: var(--orange); font-weight: 900; font-size: var(--fs-caption); line-height: var(--lh-caption); }
.timeline-body h3 { margin: 0 0 8px; color: var(--navy); }
.timeline-body p { margin: 0 0 14px; color: var(--muted); }
.timeline-gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.timeline-gallery img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }

/* ---------- Portfolio (Obras) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { display: grid; grid-template-rows: 220px auto; overflow: hidden; border-radius: var(--radius-lg); background: white; box-shadow: 0 10px 30px rgba(0,40,54,.06); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 22px 24px; }
.portfolio-body .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.portfolio-body .tag { padding: 4px 10px; border-radius: 999px; background: var(--warm); color: var(--navy); font-size: .68rem; font-weight: 800; }
.portfolio-body h3 { margin: 0 0 6px; color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); }
.portfolio-body p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.portfolio-card.is-placeholder { display: grid; place-items: center; min-height: 100%; padding: 40px; text-align: center; background: var(--mist); box-shadow: none; border: 1px dashed var(--line); }
.portfolio-card.is-placeholder p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.portfolio-media-pending { display: grid; place-items: center; width: 100%; height: 100%; background: var(--warm); }
.portfolio-media-pending img { width: 108px; opacity: .85; }

/* ---------- Cards with icon (Rmiranda "jeito de construir") ---------- */
.icon-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icon-card-grid.icon-card-grid-flex { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.icon-card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.icon-card span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--warm); color: var(--orange); font-weight: 900; }
.icon-card h3 { margin: 0 0 10px; color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); }
.icon-card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---------- Solution rows (editorial, no cards) ---------- */
.solution-list { display: grid; }
.solution-row { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.solution-list > .solution-row:last-child { border-bottom: 1px solid var(--line); }
.solution-index { color: var(--orange); font-size: 1.6rem; font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.solution-body { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px; }
.solution-body h3 { grid-column: 1; margin: 0 0 10px; color: var(--navy); font-size: var(--fs-h3-strategic); line-height: var(--lh-h3-strategic); font-weight: 800; }
.solution-body p { grid-column: 1; margin: 0; max-width: 520px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.solution-body .text-link { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; color: var(--navy); }

/* ---------- Method progression (vertical, no cards) ---------- */
.method-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: stretch; }
.method-visual { margin: 0; height: 100%; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.method-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.method-line { position: relative; display: grid; gap: 0; max-width: 780px; margin: 0 auto; }
.method-grid .method-line { max-width: none; margin: 0; }
.method-line::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.method-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 26px; padding: 0 0 40px; }
.method-step:last-child { padding-bottom: 0; }
.method-step-index { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; font-size: 1rem; }
.method-step h3 { margin: 6px 0 8px; color: var(--navy); font-size: var(--fs-h3-strategic); line-height: var(--lh-h3-strategic); font-weight: 800; }
.method-step p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); max-width: 520px; }

/* ---------- Showcase (empreendimentos em vitrine, sem card pequeno) ---------- */
.showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); }
.showcase-media { position: relative; height: 100%; min-height: 400px; overflow: hidden; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase:hover .showcase-media img { transform: scale(1.03); }
.showcase-copy { display: grid; align-content: center; gap: 14px; padding: 40px; color: white; }
.showcase-copy .status-badge { justify-self: start; background: rgba(255,255,255,.12); color: white; }
.showcase-copy .status-badge::before { background: var(--orange); }
.showcase-copy h3 { margin: 0; font-size: var(--fs-statement); line-height: var(--lh-statement); letter-spacing: var(--ls-statement); font-weight: 800; }
.showcase-copy p { margin: 0; color: rgba(255,255,255,.74); font-size: var(--fs-body); line-height: var(--lh-body); }
.showcase-copy .button { justify-self: start; margin-top: 8px; }
.showcase-reverse { grid-template-columns: .85fr 1.15fr; }
.showcase-reverse .showcase-media { order: 2; }
.showcase-reverse .showcase-copy { order: 1; }
.showcase-felicita { background: linear-gradient(150deg, #17313a, #0a4257); }

/* ---------- People (Rmiranda) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.people-card { padding: 26px; text-align: left; background: var(--warm); border-radius: var(--radius-lg); }
.people-avatar { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; font-size: 1.2rem; }
.people-card h3 { margin: 0 0 4px; color: var(--navy); }
.people-card span { display: block; margin-bottom: 12px; color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.people-card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }

.leadership-card { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.leadership-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-lg); }
.leadership-card h3 { margin: 0 0 4px; color: var(--navy); font-size: var(--fs-h3-strategic); line-height: var(--lh-h3-strategic); }
.leadership-card .leadership-role { display: block; margin-bottom: 20px; color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.leadership-card p { color: var(--muted); margin: 0 0 22px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.leadership-card blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--orange); color: var(--navy); font-size: 1.2rem; font-style: italic; line-height: 1.5; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: step; }
.process-step { position: relative; padding: 30px 24px 24px; background: white; border: 1px solid var(--line); }
.process-step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.process-step:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.process-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; font-size: .82rem; }
.process-step h3 { margin: 0 0 8px; color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); }
.process-step p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.process-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Content hub (Conteúdos) ---------- */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card { padding: 30px; background: var(--warm); border-radius: var(--radius-lg); }
.content-card span.tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: white; color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.content-card h3 { margin: 0 0 8px; color: var(--navy); font-size: var(--fs-card-title); line-height: var(--lh-card-title); }
.content-card p { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.content-empty { padding: 64px 40px; text-align: center; background: var(--mist); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.content-empty p { max-width: 460px; margin: 10px auto 0; color: var(--muted); }

/* ---------- Confirmation page ---------- */
.confirm-section { display: grid; place-items: center; min-height: 68vh; padding: 160px 0 90px; text-align: center; background: var(--warm); }
.confirm-card { max-width: 560px; padding: 54px 44px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.confirm-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%; background: #e7f4ec; color: #1f8b52; font-size: 1.6rem; font-weight: 900; }
.confirm-card h1 { margin: 0 0 14px; color: var(--navy); font-size: var(--fs-display-compact); line-height: var(--lh-display-compact); letter-spacing: var(--ls-display-compact); }
.confirm-card p { margin: 0 0 28px; color: var(--muted); }
.confirm-card .button-row { justify-content: center; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; padding: 12px 16px; background: white; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(0,30,43,.1); }
.sticky-cta .button { width: 100%; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: max(24px, calc(env(safe-area-inset-right) + 16px));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(0, 35, 48, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; display: block; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 35, 48, .34); }
.whatsapp-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
/* Evita sobrepor o banner de cookies (mesmo canto, z-index maior) enquanto ele estiver visível */
.cookie-banner.is-visible ~ .whatsapp-float { display: none; }

/* ---------- Cookie consent ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; display: none; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 24px; color: white; background: var(--navy-2); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; max-width: 640px; font-size: var(--fs-caption); line-height: var(--lh-caption); color: rgba(255,255,255,.82); }
.cookie-banner p a { text-decoration: underline; color: white; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* Header nav collapses earlier than the content-grid breakpoint (REV-02):
   at the new, denser header scale the full desktop nav ("Construção
   Unifamiliar", "Áreas e Incorporação" etc.) no longer has room between
   ~1020–1220px, so it would wrap/collide right in the 1024–1366px laptop
   range the density brief calls out. Give it its own, higher threshold. */
@media (max-width: 1220px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 12px auto; display: none; gap: 16px; padding: 18px; color: var(--navy); background: white; border-radius: 16px; box-shadow: var(--shadow); max-height: calc(100vh - 100px); overflow-y: auto; }
  .main-nav.open { display: grid; }
  .main-nav > a:not(.button) { display: block; }
  .main-nav .button { width: 100%; margin-top: 6px; }
  .nav-dropdown { position: static; }
  .nav-dropdown > a { display: block; }
  .nav-dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; background: none; padding: 2px 0 6px 16px; }
  .nav-dropdown-panel a { padding: 8px 0; font-weight: 600; font-size: .82rem; color: var(--muted); }
}

@media (max-width: 1020px) {
  .hero { min-height: 620px; }
  .hero-inner { min-height: 380px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 46px 0; }
  .section-xl { padding: 76px 0; }
  .section-transition { padding: 28px 0; }
  .facts-grid { grid-template-columns: repeat(2,1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading, .possibility-grid, .engineering-grid, .plan-viewer, .proof-grid, .method-grid { grid-template-columns: 1fr; gap: 54px; }
  .proof-photo { max-width: 320px; height: 320px; margin-inline: auto; }
  .method-visual { order: -1; height: 260px; min-height: 0; }
  .editorial-figure { height: 340px; }
  .life-grid { grid-template-columns: 1fr 1fr; }
  .life-card-large { grid-column: 1 / -1; grid-row: auto; min-height: 620px; }
  .engineering-visual { max-width: 720px; width: 100%; }
  .editorial-figure { min-height: 340px; }
  .location-card { grid-template-columns: 1fr; }
  .location-map { min-height: 340px; }
  .final-cta-inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-wide { grid-column: span 2; }
  .felicita-obra-photo { padding: 24px; }
  .felicita-obra-photo img { max-height: 460px; }
  .router-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid, .icon-card-grid, .people-grid, .content-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .process-grid-3 { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(odd) { border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .process-step:nth-child(even) { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-groups { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .showcase, .showcase-reverse { grid-template-columns: 1fr; }
  .showcase-media, .showcase-reverse .showcase-media { order: 1; min-height: 320px; }
  .showcase-copy, .showcase-reverse .showcase-copy { order: 2; padding: 36px; }
  .solution-body { grid-template-columns: 1fr; }
  .solution-body .text-link { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - (var(--page-gutter-mobile) * 2), var(--container-content));
    --edge-inset: var(--page-gutter-mobile);
    --radius-lg: 22px;
  }
  .header-inner { min-height: 72px; }
  .brand { width: auto; height: auto; padding: 8px 12px; }
  .brand img { width: 150px; }
  .hero { min-height: 760px; align-items: end; }
  .hero-media { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,30,43,.98) 0%, rgba(0,30,43,.83) 55%, rgba(0,30,43,.14) 100%); }
  .hero-content { padding: 150px 0 92px; }
  .hero .button-row { display: grid; }
  .hero-scroll { display: none; }
  .hero-inner { min-height: 320px; padding-bottom: 32px; }
  .breadcrumb, .hero-inner .breadcrumb { padding-top: 110px; }
  .facts { overflow-x: auto; }
  .facts-grid { width: 720px; grid-template-columns: repeat(4, 1fr); }
  .facts-grid.indicators-grid { width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { min-height: 106px; padding: 18px; border-right: 1px solid var(--line) !important; border-bottom: 0 !important; }
  .indicators-grid .fact:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .indicators-grid .fact:nth-child(even) { border-right: 0 !important; }
  .indicators-grid .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line) !important; }
  .fact-number { font-size: 1.8rem; }
  .section { padding: 48px 0; }
  .section-tight { padding: 38px 0; }
  .section-xl { padding: 60px 0; }
  .section-transition { padding: 24px 0; }
  .split-heading { gap: 24px; }
  .life-grid { grid-template-columns: 1fr; }
  .life-card-large { grid-column: auto; min-height: 560px; }
  .life-card-large .life-art { min-height: 350px; }
  .life-copy { padding: 24px; }
  .section-possibility::before { display: none; }
  .possibility-grid { gap: 42px; }
  .lead-card, .form-panel { padding: 24px; }
  .lead-card-head { display: grid; gap: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .engineering-visual { min-height: 480px; }
  .render-card-main { width: 92%; height: 330px; }
  .render-card-small { width: 48%; height: 220px; }
  .engineering-stamp { bottom: 18px; width: 180px; height: 110px; padding: 18px; }
  .location-copy { padding: 36px 24px; }
  .paths-grid, .router-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 280px; padding: 28px; grid-template-columns: 1fr auto; }
  .path-number { display: none; }
  .leadership-card { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .leadership-card img { max-width: 260px; margin-inline: auto; }
  .leadership-card img { max-width: 220px; margin-inline: auto; }
  .leadership-card blockquote { text-align: left; }
  .final-cta { padding: 72px 0; }
  .final-cta .button-row { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { display: grid; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-wide, .gallery-item.is-tall { grid-column: span 1; grid-row: span 1; min-height: 200px; }
  .felicita-obra-photo { padding: 16px; }
  .felicita-obra-photo img { max-height: 360px; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .amenity-groups { grid-template-columns: 1fr 1fr; gap: 28px; }
  .portfolio-grid, .icon-card-grid, .people-grid, .content-grid { grid-template-columns: 1fr; }
  .process-grid, .process-grid-3 { grid-template-columns: 1fr; }
  .process-step, .process-step:first-child, .process-step:last-child, .process-step:nth-child(odd), .process-step:nth-child(even) { border-radius: var(--radius-md); }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .sticky-cta[data-active="true"] { display: block; }
  .whatsapp-float { width: 52px; height: 52px; right: max(16px, calc(env(safe-area-inset-right) + 10px)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); }
  .whatsapp-float svg { width: 27px; height: 27px; }
  /* Nas páginas com CTA fixo no rodapé (Felicitá/Hibisco), sobe o botão para não cobrir o CTA */
  .whatsapp-float.whatsapp-float--raised { bottom: 84px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .confirm-section { padding: 130px 0 60px; }
  .confirm-card { padding: 36px 26px; }
  .solution-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .method-line::before { left: 19px; }
  .method-step { grid-template-columns: 40px 1fr; gap: 18px; }
  .method-step-index { width: 40px; height: 40px; font-size: .88rem; }
}

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