/* ============ IR ENGENHARIA — design tokens ============ */
:root {
  --bg: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #181818;
  --bg-3: #1f1f1f;
  --line: #2a2a2a;
  --line-2: #3a3a3a;
  --ink: #f4f1ea;
  --ink-mute: #b9b3a6;
  --ink-dim: #7a7567;
  --gold: #e5a82c;
  --gold-deep: #b88019;
  --danger: #c84a32;
  --ok: #4ea872;
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.6);

  --font-display: "Saira Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 4px;
  --radius-lg: 8px;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* type */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.kicker { color: var(--ink-mute); font-size: 14px; line-height: 1.6; }

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; }

.section-pad { padding-block: clamp(72px, 10vw, 140px); }

.divider-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  margin: 0;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo .word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
  border-left: 1px solid var(--line-2);
  padding-left: 12px;
  line-height: 1.1;
}
.nav-logo .word small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  font-weight: 400;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--ink-mute);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}
.nav-cta:hover { background: var(--gold); color: #000; }


/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-gold:hover { background: #f5b833; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ico { width: 18px; height: 18px; }
.btn-lg { padding: 20px 32px; font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 70% 20%, #1a1a1a 0%, #0a0a0a 65%);
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('assets/bg-blueprint.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.35;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%, #000 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(78,168,114,0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(78,168,114,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(78,168,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,168,114,0); }
}
.hero-tag .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.hero h1 .highlight {
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}
.hero h1 .number {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.hero h1 .strike {
  color: var(--ink-dim);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 4px;
}
.hero-sub {
  margin-top: 36px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 620px;
}
.hero-cta-row {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-microcopy {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero-microcopy .dot { color: var(--gold); }

/* hero side panel */
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.4));
  padding: 28px;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-card::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.hero-card .card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}
.hero-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-card p { margin: 0 0 22px; color: var(--ink-mute); font-size: 14px; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.hero-stat {
  padding: 18px 0;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: 0; padding-left: 18px; }
.hero-stat:first-child { padding-right: 18px; }
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-stat .num span { color: var(--gold); }
.hero-stat .lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 6px;
}

/* ============ STAT MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  padding: 22px 0;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.marquee-item .gold { color: var(--gold); }
.marquee-item::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  display: inline-block;
  margin-left: 18px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ SECTION HEADERS ============ */
.section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head .left .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.section-head .left .num::before { content: "/ "; color: var(--ink-dim); }
.section-head .left .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head h2 .gold { color: var(--gold); }

/* ============ PAIN CARDS ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .pain-grid { grid-template-columns: 1fr; }
}
.pain-card {
  background: var(--bg);
  padding: 30px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain-card:hover { background: var(--bg-1); }
.pain-card .quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}
.pain-card .quote::before { content: "“"; color: var(--gold); margin-right: 4px; }
.pain-card .quote::after { content: "”"; color: var(--gold); margin-left: 2px; }
.pain-card .index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.pain-card .reveal {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.2s ease, margin 0.2s ease;
}
.pain-card.open { background: var(--bg-1); }
.pain-card.open .reveal {
  max-height: 240px;
  opacity: 1;
  margin-top: 6px;
}
.pain-card .toggle {
  position: absolute;
  top: 24px; right: 24px;
  width: 28px; height: 28px;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.pain-card.open .toggle { transform: rotate(45deg); }

/* ============ TWO PILLARS (Solution) ============ */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg);
  padding: 44px 40px;
  position: relative;
}
.pillar.dark { background: var(--bg-1); }
.pillar .pillar-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  text-transform: uppercase;
  line-height: 1.05;
}
.pillar p { color: var(--ink-mute); font-size: 15.5px; line-height: 1.65; margin: 0 0 16px; }
.pillar ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.pillar ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink);
}
.pillar ul li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
}

/* ============ BENEFITS LIST ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.benefit:nth-child(2n) { border-right: 0; }
.benefit:last-child:nth-child(odd) { grid-column: span 2; }
@media (max-width: 800px) {
  .benefit { border-right: 0; }
  .benefit:last-child:nth-child(odd) { grid-column: span 1; }
}
.benefit .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-top: 4px;
}
.benefit h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}
.benefit p { color: var(--ink-mute); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ============ NUMBERS BAND ============ */
.numbers-band {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.numbers-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-blueprint.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 880px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
.number-cell {
  padding: 56px 28px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.number-cell:last-child { border-right: 0; }
@media (max-width: 880px) {
  .number-cell:nth-child(2n) { border-right: 0; }
  .number-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.number-cell .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.number-cell .big .gold { color: var(--gold); }
.number-cell .lab {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ SERVICES ============ */
.services-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  gap: 0;
}
.service-tab {
  flex: 1;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.service-tab .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.service-tab .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink-mute);
}
.service-tab.active { border-bottom-color: var(--gold); }
.service-tab.active .name { color: var(--ink); }
.service-tab.active .num { color: var(--gold); }
.service-tab:hover .name { color: var(--ink); }
.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .service-content { grid-template-columns: 1fr; } }
.service-content .left { padding: 44px 40px; border-right: 1px solid var(--line); }
.service-content .right { padding: 44px 40px; background: var(--bg-1); }
@media (max-width: 880px) {
  .service-content .left { border-right: 0; border-bottom: 1px solid var(--line); }
}
.service-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.service-content p { color: var(--ink-mute); font-size: 15px; line-height: 1.65; margin: 0 0 24px; }
.service-content ul { list-style: none; margin: 0; padding: 0; }
.service-content ul li {
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
}
.service-content ul li:last-child { border-bottom: 1px solid var(--line-2); }
.service-content ul li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 6px;
  background: var(--gold);
}
.service-content .right .deliverable-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 18px;
}
.deliverable {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.deliverable .ext {
  width: 44px;
  text-align: center;
  padding: 4px 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.deliverable .name { flex: 1; color: var(--ink-mute); }
.deliverable .size { color: var(--ink-dim); }

/* ============ COMPARATOR ============ */
.compare {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border: 1px solid var(--line);
}
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare-head { padding: 22px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-head:last-child { border-right: 0; }
.compare-head .lab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.compare-head .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin-top: 6px;
}
.compare-head.us .name { color: var(--gold); }
.compare-row {
  display: contents;
}
.compare-cell {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-cell:last-child { border-right: 0; }
.compare-cell.label-cell {
  color: var(--ink);
  font-weight: 500;
  background: var(--bg-1);
}
.compare-cell .check { color: var(--ok); font-weight: 700; }
.compare-cell .x { color: var(--danger); font-weight: 700; }
.compare-cell.us-cell { color: var(--ink); }
.compare-cell.them-cell { color: var(--ink-mute); }
@media (max-width: 820px) {
  .compare-cell { border-right: 0; }
}

/* ============ CALCULATOR + FORM (split) ============ */
.lead-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .lead-block { grid-template-columns: 1fr; } }

.calc, .form-multi { background: var(--bg); padding: 40px 36px; }
.calc h3, .form-multi h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.calc .calc-sub, .form-multi .form-sub {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 30px;
}

.calc-field {
  margin-bottom: 24px;
}
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.calc-field label .val { color: var(--gold); font-weight: 600; }
.calc-pills {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-2);
}
.calc-pill {
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line-2);
  padding: 12px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
  transition: all 0.18s;
}
.calc-pill:last-child { border-right: 0; }
.calc-pill:hover { color: var(--ink); }
.calc-pill.active { background: var(--gold); color: #0a0a0a; }
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line-2);
  outline: none;
  margin: 6px 0 4px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--gold);
  border: 3px solid #0a0a0a;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--gold);
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--gold);
  border: 3px solid #0a0a0a;
  cursor: pointer;
}
.calc-slider-marks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.calc-result {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--gold);
  position: relative;
  background: linear-gradient(180deg, rgba(229,168,44,0.06), transparent);
}
.calc-result .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.calc-result .range {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  margin-top: 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.calc-result .range .currency { color: var(--ink-mute); font-size: 22px; margin-right: 4px; }
.calc-result .note { font-size: 12px; color: var(--ink-dim); margin-top: 12px; line-height: 1.5; }

/* ============ MULTI-STEP FORM ============ */
.steps-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.steps-bar .step {
  flex: 1;
  height: 3px;
  background: var(--line);
  position: relative;
}
.steps-bar .step.done { background: var(--gold); }
.steps-bar .step.active { background: var(--gold); }
.steps-bar .step.active::after {
  content: "";
  position: absolute;
  inset: -3px 0;
  border: 1px solid var(--gold);
}
.step-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.step-meta .gold { color: var(--gold); }
.step-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  text-transform: none;
  margin: 0 0 22px;
  line-height: 1.25;
  letter-spacing: 0;
}
.choices {
  display: grid;
  gap: 8px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 14.5px;
  color: var(--ink);
}
.choice:hover { border-color: var(--gold); background: rgba(229,168,44,0.04); }
.choice.selected { border-color: var(--gold); background: rgba(229,168,44,0.08); }
.choice .dot {
  width: 14px; height: 14px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.18s;
}
.choice.selected .dot { border-color: var(--gold); }
.choice.selected .dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--gold);
}
.choice .meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.1em; }

.input-group { display: grid; gap: 14px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 540px) { .input-row { grid-template-columns: 1fr; } }
.input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s;
}
.input:focus { border-color: var(--gold); }
.input::placeholder { color: var(--ink-dim); }
textarea.input { resize: vertical; min-height: 90px; font-family: var(--font-body); }

.step-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.step-back {
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 0;
}
.step-back:hover { color: var(--gold); }

.step-success {
  text-align: center;
  padding: 30px 6px 6px;
}
.step-success .icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
}
.step-success h4 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.step-success p { color: var(--ink-mute); margin: 0 0 22px; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial.video { background: var(--bg-1); position: relative; min-height: 320px; }
.testimonial.video .play {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  margin-bottom: 14px;
}
.testimonial.video .play::after {
  content: "";
  border-left: 14px solid var(--gold);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.testimonial.video .pholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    var(--bg-1);
  z-index: 0;
}
.testimonial.video > * { position: relative; z-index: 1; }
.testimonial .quote-tx {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.testimonial .quote-tx .gold { color: var(--gold); }
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--line-2);
}
.testimonial .author .name { font-size: 13px; font-weight: 600; }
.testimonial .author .role { font-size: 11px; color: var(--ink-dim); font-family: var(--font-mono); letter-spacing: 0.1em; }

/* whatsapp print style */
.wapp {
  background: var(--bg-1);
  padding: 22px 22px;
  position: relative;
}
.wapp .head {
  display: flex; gap: 12px; align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.wapp .head .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--gold);
  border: 1px solid var(--line);
}
.wapp .head .meta .nm { font-size: 12px; font-weight: 600; }
.wapp .head .meta .tm { font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim); }
.wapp .bubble {
  background: #1a4938;
  color: #e9f5ed;
  padding: 10px 12px;
  border-radius: 8px 8px 2px 8px;
  font-size: 13px;
  line-height: 1.45;
  margin-left: auto;
  max-width: 92%;
  margin-bottom: 8px;
  position: relative;
}
.wapp .bubble.them {
  background: var(--bg-3);
  color: var(--ink);
  border-radius: 8px 8px 8px 2px;
  margin-left: 0;
}
.wapp .bubble .tm {
  display: block; text-align: right; font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 4px;
  font-family: var(--font-mono);
}

/* ============ GUARANTEE ============ */
.guarantee {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(229,168,44,0.06), transparent 60%);
}
@media (max-width: 820px) { .guarantee { grid-template-columns: 1fr; } }
.guarantee .seal {
  padding: 50px 40px;
  border-right: 1px solid rgba(229,168,44,0.3);
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
}
@media (max-width: 820px) { .guarantee .seal { border-right: 0; border-bottom: 1px solid rgba(229,168,44,0.3); } }
.guarantee .seal-num {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 38px;
  color: var(--gold); margin-bottom: 18px;
  position: relative;
}
.guarantee .seal-num::before, .guarantee .seal-num::after {
  content: ""; position: absolute;
  width: 12px; height: 2px; background: var(--gold);
}
.guarantee .seal-num::before { top: -2px; left: -2px; }
.guarantee .seal-num::after { bottom: -2px; right: -2px; }
.guarantee .seal small {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.guarantee .seal h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 28px; text-transform: uppercase;
  margin: 6px 0 0; line-height: 1.1;
}
.guarantee .body { padding: 50px 40px; }
.guarantee .body p { color: var(--ink-mute); font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.guarantee .body p strong { color: var(--ink); }

/* ============ OBJECTIONS / FAQ ============ */
.acc-list { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
.acc-q:hover { color: var(--gold); }
.acc-q .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  min-width: 40px;
}
.acc-q .toggle {
  margin-left: auto;
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.acc-item.open .acc-q .toggle { transform: rotate(45deg); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.65;
}
.acc-item.open .acc-a {
  max-height: 400px;
  padding: 0 0 26px 60px;
}
@media (max-width: 640px) {
  .acc-item.open .acc-a { padding-left: 0; }
}

/* ============ FINAL CTA ============ */
.final-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('assets/bg-blueprint.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.5) 30%, var(--bg) 70%);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 auto 30px;
  text-transform: uppercase;
  text-align: center;
  max-width: 1100px;
  text-wrap: balance;
}
.final-cta h2 .gold { color: var(--gold); }
.final-cta p { text-align: center; color: var(--ink-mute); max-width: 780px; margin: 0 auto 44px; font-size: 17px; line-height: 1.6; }
.final-cta .cta-row {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.final-cta .ps {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.final-cta .ps p {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-mute);
  text-align: left;
  margin: 0 0 16px;
}
.final-cta .ps p strong { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-right: 6px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-1);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col p, .footer-col a {
  display: block;
  color: var(--ink-mute);
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.55;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-logo img { height: 56px; opacity: 0.95; }
.footer-logo .tag { font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim); margin-top: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* ============ FLOATING WHATSAPP ============ */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 60;
  box-shadow: 0 14px 40px -8px rgba(37,211,102,0.5);
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-wa svg { width: 28px; height: 28px; fill: #0a0a0a; }
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ misc ============ */
.brand-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.brand-strip .bar { width: 24px; height: 2px; background: var(--gold); }

.note-line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-top: 22px;
}

/* tweaks panel custom (minimal override of starter look) */
.ir-headline-tweak { display: grid; gap: 6px; }

/* fade-in on scroll */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }


/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.portrait-frame {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.4));
  padding: 0;
}
.portrait-corner { position: absolute; width: 22px; height: 22px; }
.portrait-corner.tl { top: -1px; left: -1px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.portrait-corner.tr { top: -1px; right: -1px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.portrait-corner.bl { bottom: -1px; left: -1px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.portrait-corner.br { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.portrait-img {
  aspect-ratio: 3 / 4;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(229,168,44,0.04) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255,255,255,0.02) 30px 31px),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255,255,255,0.02) 30px 31px);
}
.portrait-placeholder { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ink-dim); }
.portrait-placeholder svg { color: var(--ink-dim); }
.ph-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.portrait-meta { padding: 18px 22px; }
.pm-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.pm-line:last-child { border-bottom: 0; }
.pm-line span {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em;
  color: var(--ink-dim); text-transform: uppercase;
}
.pm-line strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 13px; }

.about-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px);
  margin: 14px 0 18px;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.about-body p { color: var(--ink-mute); font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin: 26px 0;
}
@media (max-width: 720px) { .about-creds { grid-template-columns: repeat(2, 1fr); } }
.cred { padding: 18px 16px; border-right: 1px solid var(--line); }
.cred:last-child { border-right: 0; }
.cred .num { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--ink); }
.cred .num span { color: var(--gold); }
.cred .lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 6px; text-transform: uppercase; }
.about-values { margin-top: 24px; border-top: 1px solid var(--line); }
.val-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.val-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); min-width: 32px; padding-top: 3px; }
.val-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.val-item span { color: var(--ink-mute); font-size: 14px; line-height: 1.55; }

/* ============ BIM SECTION ============ */
.bim-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px) { .bim-grid { grid-template-columns: 1fr; } }
.bim-viewer {
  border: 1px solid var(--line);
  background: #060606;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bim-chrome-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  flex-wrap: wrap;
  gap: 8px;
}
.bim-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.bim-tab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.15s ease;
}
.bim-tab:hover { color: var(--ink); border-color: var(--line-2); }
.bim-tab.active { color: var(--gold); border-color: var(--gold); background: rgba(229,168,44,0.06); }
.bt-dot { width: 7px; height: 7px; display: inline-block; }
.bim-chrome-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-dim); text-transform: uppercase;
  display: inline-flex; gap: 8px;
}
.bim-canvas {
  position: relative;
  height: 480px;
  perspective: 1200px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0c0c0c 0%, #050505 80%);
}
.bim-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(229,168,44,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,168,44,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.bim-axes { position: absolute; bottom: 18px; left: 18px; display: flex; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; }
.bim-axes .ax.x { color: #e5a82c; }
.bim-axes .ax.y { color: #5fb3e8; }
.bim-axes .ax.z { color: #e84a4a; }
.bim-scene {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transition: transform 0.05s linear;
}
.b-slab {
  position: absolute;
  width: 240px; height: 160px;
  left: -120px; top: -80px;
  background: rgba(229,168,44,0.08);
  border: 1px solid rgba(229,168,44,0.6);
  transform: translateZ(0);
}
.b-slab.top { transform: translateZ(120px); background: rgba(229,168,44,0.04); border-color: rgba(229,168,44,0.45); }
.b-col {
  position: absolute;
  width: 14px; height: 14px;
  left: calc(var(--x) - 7px);
  top: calc(var(--y) - 7px);
  background: rgba(229,168,44,0.18);
  border: 1px solid rgba(229,168,44,0.85);
  transform-style: preserve-3d;
}
.b-col::after {
  content: ""; position: absolute;
  width: 14px; height: 120px;
  background: linear-gradient(180deg, rgba(229,168,44,0.35), rgba(229,168,44,0.15));
  border: 1px solid rgba(229,168,44,0.85);
  transform-origin: bottom; transform: rotateX(-90deg);
  bottom: 0; left: -1px;
}
.b-beam {
  position: absolute;
  width: var(--w); height: 8px;
  left: calc(var(--x) - var(--w) / 2);
  top: calc(var(--y) - 4px);
  background: rgba(229,168,44,0.4);
  border: 1px solid rgba(229,168,44,0.85);
  transform: translateZ(118px) rotate(var(--rot));
}
.b-pipe {
  position: absolute;
  width: var(--w); height: 4px;
  left: calc(var(--x) - var(--w) / 2);
  top: calc(var(--y) - 2px);
  border-radius: 2px;
  transform: translateZ(var(--z)) rotate(var(--rot));
}
.b-pipe.blue { background: rgba(95,179,232,0.6); border: 1px solid rgba(95,179,232,0.95); }
.b-pipe.red { background: rgba(232,74,74,0.6); border: 1px solid rgba(232,74,74,0.95); }
.b-duct {
  position: absolute;
  width: var(--w); height: 18px;
  left: calc(var(--x) - var(--w) / 2);
  top: calc(var(--y) - 9px);
  background: rgba(180,180,200,0.18);
  border: 1px solid rgba(200,200,220,0.6);
  transform: translateZ(var(--z)) rotate(var(--rot));
}
.b-wall {
  position: absolute;
  width: var(--w); height: 4px;
  left: calc(var(--x) - var(--w) / 2);
  top: calc(var(--y) - 2px);
  background: rgba(185,179,166,0.1);
  border: 1px solid rgba(185,179,166,0.4);
  transform: rotate(var(--rot));
}
.b-wall::after {
  content: ""; position: absolute;
  width: 100%; height: 110px;
  background: rgba(185,179,166,0.06);
  border: 1px solid rgba(185,179,166,0.3);
  transform-origin: bottom; transform: rotateX(-90deg);
  bottom: 0;
}

.bim-chrome-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  flex-wrap: wrap; gap: 8px;
}
.bim-controls { display: flex; gap: 6px; flex-wrap: wrap; }
.bcc {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink-mute); padding: 5px 9px; cursor: pointer; text-transform: uppercase;
}
.bcc:hover { color: var(--gold); border-color: var(--gold); }
.lvbadge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--gold); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px;
}
.lvd { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: lvpulse 1.6s infinite; }
@keyframes lvpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.bim-side { padding: 4px 0; }
.bim-feat { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.bim-feat:first-of-type { border-top: 1px solid var(--line); }
.bf-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); min-width: 28px; padding-top: 4px; }
.bim-feat h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 0 0 5px; }
.bim-feat p { color: var(--ink-mute); font-size: 13.5px; line-height: 1.6; margin: 0; }
.bim-stack { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.bim-stack > span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink-dim); text-transform: uppercase;
}
.bim-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  padding: 5px 9px; border: 1px solid var(--line);
  color: var(--ink-mute);
}

.bim-disclaimer {
  margin-top: 24px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-dim); text-transform: uppercase; line-height: 1.7;
  text-align: center;
}

/* ============ PROJECTS ============ */
.proj-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.proj-filter {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink-mute); padding: 8px 14px; cursor: pointer; text-transform: uppercase;
  transition: all 0.15s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.proj-filter:hover { color: var(--ink); border-color: var(--line-2); }
.proj-filter.active { color: var(--gold); border-color: var(--gold); background: rgba(229,168,44,0.05); }
.pf-count { color: var(--ink-dim); }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card {
  background: var(--bg);
  border: 0;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease;
  display: flex; flex-direction: column;
}
.proj-card:hover { background: var(--bg-1); }
.proj-card.featured { grid-column: span 2; }
@media (max-width: 980px) { .proj-card.featured { grid-column: span 1; } }
.proj-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-1);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.proj-card.featured .proj-img { aspect-ratio: 16 / 9; }
.proj-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image:
    linear-gradient(135deg, rgba(229,168,44,0.05) 0%, transparent 50%);
}
.pi-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
}
.proj-img-placeholder svg { width: 70%; height: auto; position: relative; z-index: 1; }
.proj-img-tag, .proj-img-feat {
  position: absolute; top: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  padding: 4px 8px;
  text-transform: uppercase;
  z-index: 2;
}
.proj-img-tag { right: 12px; background: rgba(0,0,0,0.6); border: 1px solid var(--line-2); color: var(--ink-mute); }
.proj-img-feat { left: 12px; background: var(--gold); color: #000; font-weight: 600; }
.proj-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.proj-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.proj-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.proj-area { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.proj-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); margin: 0 0 6px; line-height: 1.15; }
.proj-loc { color: var(--ink-mute); font-size: 13px; margin-bottom: 14px; }
.proj-disc { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.pd {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em;
  padding: 4px 8px; border: 1px solid var(--line-2);
  color: var(--ink-mute); text-transform: uppercase;
}

.proj-cta {
  margin-top: 32px; padding: 26px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  flex-wrap: wrap;
}
.proj-cta p { margin: 0; color: var(--ink-mute); font-size: 14.5px; max-width: 560px; }

.proj-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.86); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; cursor: pointer;
}
.pm-card {
  background: var(--bg-1); border: 1px solid var(--line);
  max-width: 580px; width: 100%; padding: 32px;
  position: relative;
  cursor: default;
  max-height: 90vh; overflow-y: auto;
}
.pm-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1;
}
.pm-close:hover { border-color: var(--gold); color: var(--gold); }
.pm-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; display: flex; gap: 8px; }
.pm-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); margin: 0 0 6px; }
.pm-loc { color: var(--ink-mute); font-size: 13px; margin-bottom: 18px; }
.pm-img { aspect-ratio: 16 / 9; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; margin-bottom: 16px; }
.pm-disc { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.pm-note {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-dim); line-height: 1.6; margin-bottom: 18px;
  padding-top: 14px; border-top: 1px solid var(--line);
}


/* ============ v2 patches (m² pricing, social, logo seal, image slots, single section heads) ============ */

.section-head-single {
  display: block;
  margin-bottom: 56px;
}
.section-head-single h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 1100px;
}
.section-head-single .section-sub {
  margin: 18px 0 0;
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 760px;
  text-transform: none;
  letter-spacing: 0;
}
.section-head-single .section-sub strong {
  color: var(--gold);
  font-weight: 600;
}

/* nav-cta whatsapp icon spacing */
.nav-cta svg { margin-right: 4px; }

/* specialty spacing fix */
.pm-line strong.spec {
  letter-spacing: 0.02em;
  white-space: normal;
}

/* social row in footer */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  color: var(--ink-mute);
  transition: all 0.18s ease;
  margin: 0;
}
.social-row a:hover {
  color: #0a0a0a;
  background: var(--gold);
  border-color: var(--gold);
}

/* seal-mark — replaces "IR" text seal */
.seal-mark {
  width: 110px;
  height: 110px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  padding: 14px;
}
.seal-mark::before, .seal-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: var(--gold);
}
.seal-mark::before { top: -2px; left: -2px; }
.seal-mark::after { bottom: -2px; right: -2px; }
.seal-mark img {
  max-width: 100%;
  max-height: 100%;
  filter: brightness(0) saturate(100%) invert(72%) sepia(72%) saturate(595%) hue-rotate(1deg) brightness(95%) contrast(91%);
}

/* image-slot styling inside our shells */
image-slot {
  background: var(--bg-1);
  border: 1px dashed var(--line-2);
  --slot-bg: var(--bg-1);
  --slot-fg: var(--ink-dim);
  --slot-accent: var(--gold);
}
.portrait-img image-slot {
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
}

/* BIM renders gallery */
.bim-renders {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.bim-renders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .bim-renders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bim-renders-grid { grid-template-columns: 1fr; } }

/* projects edit hint */
.proj-edit-hint, .depo-edit-hint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* video-style testimonial: ensure quote text reads over image-slot */
.testimonial.video > .play,
.testimonial.video > .quote-tx,
.testimonial.video > .author {
  position: relative;
  z-index: 1;
}
.testimonial.video > .quote-tx,
.testimonial.video > .author {
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.85) 40%);
  padding: 10px;
  margin: 0 -10px;
}

/* portrait-img: when image-slot fills it, remove the placeholder bg */
.portrait-img:has(image-slot) {
  background: var(--bg-1);
  padding: 0;
}


/* portrait photo (substitui image-slot) */
.portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* allow longer values in pm-line (Especialidade, Base) to wrap nicely */
.pm-line { gap: 16px; flex-wrap: wrap; }
.pm-line strong { text-align: right; }
.pm-line strong.spec { white-space: normal; }


/* ============ BIM Sketchfab frame ============ */
.bim-sketchfab-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #000;
  overflow: hidden;
}
.bim-sketchfab-frame iframe {
  position: absolute;
  inset: 0;
}
@media (max-width: 760px) {
  .bim-sketchfab-frame { aspect-ratio: 4 / 3; }
}

a.bcc {
  text-decoration: none;
  display: inline-block;
}


/* BIM Sketchfab loading overlay (sits behind the iframe) */
.bim-sketchfab-frame {
  position: relative;
  background: var(--bg-1);
}
.bim-sf-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  color: var(--ink-mute);
  z-index: 0;
  text-align: center;
  padding: 24px;
}
.bim-sf-spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--line-2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: sfspin 1s linear infinite;
}
@keyframes sfspin { to { transform: rotate(360deg); } }
.bim-sf-loading-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
}
.bim-sf-loading-text span {
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ink-dim);
  font-size: 10.5px;
}


/* ============ #padrãoIR — brand signature ============ */
.hashtag-ir {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #0a0a0a !important;
  background: var(--gold);
  padding: 4px 10px 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.hashtag-ir::before { content: ""; }

/* IR signature in guarantee section */
.ir-signature {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(229,168,44,0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ir-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.005em;
  color: var(--gold);
  line-height: 1;
}
.ir-tag-tx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 320px;
}

/* footer .tag pode receber estilo de hashtag se contiver # */
.footer-logo .tag {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}


/* ============ Scroll to top button ============ */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 92px; /* above float-wa */
  width: 46px;
  height: 46px;
  background: var(--bg-1);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 59;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, color 0.18s ease;
  border-radius: 0;
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--gold);
  color: #0a0a0a;
}
.scroll-top:focus { outline: 1px solid var(--gold); outline-offset: 2px; }

@media (max-width: 540px) {
  .scroll-top {
    right: 18px;
    bottom: 86px;
    width: 42px;
    height: 42px;
  }
}


/* ============ Consultoria — #padrãoIR signature ============ */
.csl-signature {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px dashed rgba(229,168,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.csl-sig-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.005em;
  color: var(--gold);
  line-height: 1;
}
.csl-sig-tx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 360px;
  text-align: left;
}

/* hero meta — #padrãoIR replaces BR/2026 */
.ficha-tag {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  color: var(--gold) !important;
  text-transform: none !important;
}


/* ============ MOBILE NAVIGATION ============ */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1002;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.open { border-color: var(--gold); }
.nav-burger.open span { background: var(--gold); }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  display: none;
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }

.mobile-cta {
  display: none;
}

@media (max-width: 880px) {
  .nav-burger { display: inline-flex; }
  .desktop-only { display: none !important; }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    background: var(--bg);
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 24px 24px 80px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    box-sizing: border-box;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 16px 6px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a.mobile-cta {
    display: block;
    margin-top: 22px;
    padding: 16px 18px;
    background: var(--gold);
    color: #0a0a0a !important;
    text-align: center;
    border: 0;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .nav-links a.mobile-cta:hover { background: #f5b833; }
}

/* ============ GENERAL RESPONSIVE TUNING ============ */
@media (max-width: 720px) {
  :root { --pad: 20px; }

  /* Hero: tighter scaling */
  .hero { padding-top: clamp(40px, 8vw, 60px); padding-bottom: clamp(60px, 10vw, 90px); }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 15.5px; margin-top: 24px; }
  .hero-cta-row { margin-top: 28px; gap: 10px; }
  .hero-cta-row .btn { flex: 1 1 100%; }
  .hero-card { padding: 22px; }
  .hero-stat .num { font-size: 30px; }
  .hero-microcopy { font-size: 10px; }

  /* Section heads */
  .section-head, .section-head-single { margin-bottom: 36px; }
  .section-head h2, .section-head-single h2 { font-size: clamp(26px, 6.6vw, 38px); }

  /* Pad reduction */
  .section-pad { padding-block: clamp(48px, 12vw, 80px); }

  /* Marquee smaller */
  .marquee-item { font-size: 16px; }
  .marquee-track { gap: 36px; padding: 16px 0; }

  /* Pain cards */
  .pain-card { padding: 22px; min-height: 0; }
  .pain-card .quote { font-size: 18px; }

  /* Pillars */
  .pillar { padding: 30px 22px; }
  .pillar .pillar-num { font-size: 56px; }
  .pillar h3 { font-size: 22px; }

  /* Benefits */
  .benefit { padding: 22px 16px; grid-template-columns: 48px 1fr; gap: 14px; }
  .benefit h4 { font-size: 17px; }
  .benefit p { font-size: 13.5px; }

  /* Numbers band */
  .number-cell { padding: 36px 18px; }

  /* Service tabs scroll */
  .services-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .service-tab { min-width: 200px; padding: 18px 22px; }
  .service-content .left, .service-content .right { padding: 28px 22px; }
  .service-content h3 { font-size: 24px; }

  /* Compare collapses better */
  .compare { grid-template-columns: 1fr; }
  .compare-head { padding: 16px 18px; }
  .compare-cell { padding: 14px 18px; border-right: 0; }
  .compare-cell.label-cell { background: var(--bg-2); font-weight: 600; padding-top: 18px; }

  /* Calculator + Form */
  .calc, .form-multi { padding: 28px 22px; }
  .calc h3, .form-multi h3 { font-size: 22px; }
  .calc-result .range { font-size: 28px; }
  .calc-pill { font-size: 11px; padding: 10px 4px; }

  /* Projects */
  .proj-body { padding: 18px; }
  .proj-card h4 { font-size: 17px; }
  .proj-filters { gap: 4px; }
  .proj-filter { padding: 7px 11px; font-size: 10px; }

  /* About */
  .portrait-frame { max-width: 320px; margin: 0 auto; }
  .about-h3 { font-size: 22px; }
  .about-body p { font-size: 14.5px; }

  /* BIM */
  .bim-canvas, .bim-sketchfab-frame { aspect-ratio: 4 / 3; height: auto !important; }
  .bim-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .bim-tab { white-space: nowrap; min-width: max-content; }
  .bim-side { padding-top: 8px; }
  .bim-feat h4 { font-size: 15px; }
  .bim-feat p { font-size: 13px; }

  /* Testimonials stack */
  .testimonial { padding: 22px 18px; }
  .testimonial.video { min-height: 260px; }
  .testimonial .quote-tx { font-size: 16px; }

  /* Guarantee */
  .guarantee .seal, .guarantee .body { padding: 32px 22px; }
  .guarantee .seal h3 { font-size: 22px; }

  /* FAQ / Objections */
  .acc-q { padding: 18px 0; font-size: 16px; gap: 14px; }
  .acc-q .num { min-width: 32px; font-size: 10px; }
  .acc-item.open .acc-a { padding: 0 0 22px 0; }

  /* Final CTA */
  .final-cta { padding: clamp(60px, 12vw, 90px) 0; }
  .final-cta h2 { font-size: clamp(28px, 8vw, 44px); }
  .final-cta .cta-row .btn { flex: 1 1 100%; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid { gap: 28px; grid-template-columns: 1fr 1fr; }
  .footer-col p, .footer-col a { font-size: 12.5px; }
  .footer-logo img { height: 44px; }
  .footer-bottom { font-size: 10px; gap: 8px; }
  .footer-bottom span:last-child { font-size: 9.5px; }

  /* Float buttons */
  .float-wa { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .float-wa svg { width: 24px; height: 24px; }
  .scroll-top { width: 40px; height: 40px; bottom: 78px; right: 18px; }

  /* Consultoria page */
  .csl-hero { padding: clamp(100px, 16vw, 140px) 0 clamp(50px, 9vw, 70px); }
  .csl-hero h1 { font-size: clamp(32px, 8.4vw, 50px); }
  .csl-hero p.sub { font-size: 15.5px; }
  .csl-hero-meta { padding: 22px; }
  .csl-what, .csl-services, .csl-method, .csl-who, .csl-price, .csl-cta {
    padding: clamp(50px, 11vw, 80px) 0;
  }
  .csl-what h2, .csl-method h2, .csl-cta h2 {
    font-size: clamp(26px, 7vw, 40px);
  }
  .csl-svc { padding: 24px 22px; }
  .csl-svc h3 { font-size: 21px; }
  .csl-step { padding: 22px; }
  .csl-step .step-num { font-size: 44px; }
  .csl-tier { padding: 28px 22px; }
  .csl-tier.best { padding-top: 48px; }
  .csl-tier h3 { font-size: 22px; }
  .csl-tier .pr { font-size: 26px; }
  .csl-cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .csl-signature { gap: 12px; }
  .csl-sig-tx { text-align: center; }

  /* Blog */
  .blog-hero { padding: clamp(100px, 16vw, 140px) 0 clamp(40px, 8vw, 60px); }
  .blog-hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .blog-hero-meta { padding: 22px; }
  .blog-hero-meta h3 { font-size: 19px; }
  .bhm-list li { padding-left: 34px; font-size: 13.5px; }
  .blog-card a { grid-template-columns: 1fr !important; }
  .blog-card .bc-media { aspect-ratio: 16 / 9 !important; min-height: 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .bc-body { padding: 22px; }
  .bc-body h2 { font-size: 22px; }
  .bcta-buttons { flex-direction: column; }
  .bcta-buttons .btn { width: 100%; justify-content: center; }

  /* Article */
  .article-hero { padding: clamp(100px, 16vw, 140px) 0 clamp(36px, 7vw, 60px); }
  .article-hero h1 { font-size: clamp(28px, 7.4vw, 44px); }
  .article-lead { font-size: 15.5px; }
  .article-meta { gap: 14px; font-size: 10px; padding: 14px 0; }
  .article-toc { padding: 22px; margin: 28px 0; }
  .article-toc ol li a { padding: 12px 12px 12px 44px; font-size: 13.5px; }
  .article-section { padding: 26px 0; }
  .article-section h2 { font-size: clamp(20px, 5.8vw, 26px); gap: 10px; }
  .article-section h2::before { font-size: 11px; }
  .article-section p { font-size: 15px; }
  .article-section ul li, .article-section ol li { font-size: 14.5px; }
  .article-cta-inline { padding: 22px; }
  .article-cta-inline .txt { font-size: 16px; }
  .article-cta-inline .btn { width: 100%; justify-content: center; }
  .article-author { padding: 20px; }
  .article-author .av { width: 64px; height: 64px; }
  .related-card { padding: 18px; }
  .related-card h4 { font-size: 15.5px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 9.5px; padding: 14px 0; }
  .breadcrumb .sep { margin: 0 8px; }

  /* Ensure horizontal-scroll containers don't break */
  body { overflow-x: hidden; }
}

/* ============ TABLET (720–980) ============ */
@media (max-width: 980px) and (min-width: 721px) {
  .blog-cards { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: span 2; }
}

/* ============ VERY SMALL PHONES ============ */
@media (max-width: 380px) {
  .nav-logo .word { font-size: 12px; }
  .nav-logo img { height: 30px; }
  .hero h1 { font-size: 32px; }
  .section-head h2, .section-head-single h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ============ PERFORMANCE / ACCESSIBILITY ============ */

/* Honor user's reduced motion preference — disables marquee, pulse, ping, bob */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimize below-fold rendering with content-visibility (skips paint until near-viewport) */
.numbers-band,
.services-tabs ~ .service-content,
.compare,
.lead-block,
.testimonials,
.guarantee,
.acc-list,
.proj-grid,
.bim-grid,
.related-grid,
.blog-cards {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* Prevent layout shift on iframes (sketchfab) */
.bim-sketchfab-frame iframe {
  background: #000;
}


/* Inline SVG R logo — replaces PNG to avoid network/cache issues on mobile browsers */
.nav-logo .logo-r {
  height: 36px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .nav-logo .logo-r { height: 30px; }
}


/* ============ BLOG CARD MOBILE FIXES ============ */
@media (max-width: 720px) {
  .bc-meta {
    flex-wrap: wrap;
    gap: 6px 16px;
  }
  .bc-tag {
    font-size: 9px !important;
    padding: 4px 8px !important;
    letter-spacing: 0.16em !important;
  }
  .bc-body {
    padding: 18px 16px;
  }
  .bc-body h2 {
    font-size: 19px !important;
    margin-top: 4px;
  }
  .bc-body p {
    font-size: 13.5px;
  }
  .bc-cta {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bc-meta { font-size: 9.5px; }
  .bc-tag { top: 10px !important; left: 10px !important; }
}
