/* ==========================================================================
   Bravix Engenharia — Awwwards Luxury Architectural Design System (v5.5 Prime)
   Domain: bravixengenharia.com.br
   ========================================================================== */

:root {
  /* Architectural Palette */
  --bg-obsidian:    #07101C;
  --bg-steel-dark:  #0F2A4A;
  --bg-panel-dark:  #133357;
  --bg-light:       #F5F3EF;
  --bg-light-alt:   #ECE8E0;
  --bg-card-light:  #FFFFFF;

  /* Brand & Accent */
  --amber:          #E8A33D;
  --amber-hover:    #F4B552;
  --amber-deep:     #B87314;
  --amber-glow:     rgba(232, 163, 61, 0.25);

  /* Text Hierarchy */
  --text-light:     #F8FAFC;
  --text-muted:     #B0C0D2;
  --text-dim:       #7A8FA6;
  --text-dark:      #0B1728;
  --text-dark-sub:  #435368;

  /* Borders & Rules */
  --rule-dark:      rgba(255, 255, 255, 0.09);
  --rule-amber:     rgba(232, 163, 61, 0.45);
  --rule-light:     rgba(15, 42, 74, 0.11);

  /* High-Definition Agency Typography */
  --font-display:   'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Fluid Spacing & Radius */
  --gutter:         clamp(1.25rem, 4.5vw, 4rem);
  --section-pad:    clamp(4.25rem, 7vw, 6.75rem);
  --radius-xs:      6px;
  --radius-sm:      10px;
  --radius-md:      16px;

  /* Motion */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   1. RESET & HIGH-DEFINITION FONT RENDERING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-obsidian);
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-editorial), opacity 0.25s var(--ease-editorial);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--amber);
  color: var(--bg-obsidian);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xs);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.section {
  padding-block: var(--section-pad);
  padding-inline: var(--gutter);
  max-width: 1520px;
  margin-inline: auto;
}

/* ==========================================================================
   2. PRELOADER & SCROLL PROGRESS (#bravix-preloader / #progress)
   ========================================================================== */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), #FFE099);
  z-index: 9500;
  transition: width 0.08s linear;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 45%, #122E50 0%, #07101C 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s var(--ease-out-expo);
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.preloader-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.preloader-beam {
  display: block;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), #FFF3D1, transparent);
  animation: beamSweep 0.65s var(--ease-out-expo) forwards;
}

@keyframes beamSweep {
  0% { transform: scaleX(0); opacity: 0.2; }
  100% { transform: scaleX(1); opacity: 1; }
}

.preloader-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.preloader-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.preloader-meta span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--amber);
}

/* ==========================================================================
   3. COMMON TOKENS, SECTION LABELS & RESPONSIVE PILL BUTTON (.bravix-pill)
   ========================================================================== */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.section-label i {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--rule-amber);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 em {
  font-style: normal;
  color: var(--amber);
}

/* Responsive Pill Button ("Balão") Matching Social Component */
.bravix-pill,
.bravix-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0F2A4A;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(232, 163, 61, 0.5);
  box-shadow: 0 8px 24px rgba(7, 16, 28, 0.35);
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out-expo),
              color 0.25s var(--ease-out-expo),
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s var(--ease-out-expo),
              border-color 0.25s ease;
}

.bravix-pill:hover,
.bravix-social a:hover {
  background: #E8A33D;
  color: #0F2A4A;
  border-color: #E8A33D;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 163, 61, 0.32);
}

.bravix-pill svg,
.bravix-social svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.bravix-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out-expo);
}

.btn.primary {
  background: var(--amber);
  color: var(--bg-obsidian);
  box-shadow: 0 10px 28px rgba(232, 163, 61, 0.25);
}

.btn.primary:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(232, 163, 61, 0.38);
}

.btn.secondary {
  background: #0F2A4A;
  color: var(--text-light);
  border: 1px solid rgba(232, 163, 61, 0.45);
}

.btn.secondary:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.btn.full-w {
  width: 100%;
}

.btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  background: #0F2A4A;
  color: var(--text-light);
  border: 1px solid var(--rule-amber);
  transition: all 0.25s var(--ease-out-expo);
}

.btn-tech .tech-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.btn-tech:hover,
.btn-tech[aria-pressed="true"] {
  background: var(--amber);
  color: var(--bg-obsidian);
  border-color: var(--amber);
}

.btn-tech[aria-pressed="true"] .tech-indicator {
  background: var(--bg-obsidian);
}

.btn-tech.secondary-tech {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--rule-dark);
  color: var(--text-muted);
}

.btn-tech.secondary-tech:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

/* ==========================================================================
   4. HEADER NAVIGATION (#topo) — LARGER LOGO, ZERO "BRECHAS"
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 16, 28, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-inline: var(--gutter);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(7, 16, 28, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: clamp(56px, 5.2vw, 68px);
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s var(--ease-out-expo);
}

.brand:hover img {
  transform: scale(1.02);
}

#links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2rem);
}

#links a:not(.bravix-pill) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.35rem;
}

#links a:not(.bravix-pill):hover,
#links a:not(.bravix-pill).is-active {
  color: var(--text-light);
}

#links a:not(.bravix-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.28s var(--ease-out-expo);
}

#links a:not(.bravix-pill):hover::after,
#links a:not(.bravix-pill).is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta-mobile {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-cta {
  background: var(--amber);
  color: var(--bg-obsidian);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
}

.hamb {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 163, 61, 0.4);
  border-radius: 999px;
  background: #0F2A4A;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ==========================================================================
   5. FULL-BLEED CINEMATIC HERO (#inicio / .hero-cinema)
   ========================================================================== */
.hero-cinema {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--bg-obsidian);
}

.hero-cinema-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-cinema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  transition: opacity 0.42s ease, transform 4.5s var(--ease-out-expo);
  filter: contrast(1.05) saturate(1.04);
}

.hero-cinema-img.is-switching {
  opacity: 0.25;
  transform: scale(1.05);
}

.hero-cinema-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 16, 28, 0.92) 0%, rgba(7, 16, 28, 0.72) 48%, rgba(7, 16, 28, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 16, 28, 0.45) 0%, transparent 38%, rgba(7, 16, 28, 0.94) 100%);
}

.hero-architectural-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 30% 45%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-cinema-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.hero-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-top-meta .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.hero-top-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(15, 42, 74, 0.78);
  border: 1px solid var(--rule-amber);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.hero-headline-block {
  max-width: 980px;
  margin-block: auto;
}

.hero-headline-block h1 {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-headline-block h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-lead {
  max-width: 540px;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  color: #DCE6F2;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-bottom-bar {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.25rem;
  align-items: center;
  background: rgba(7, 16, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-scene-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.scene-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  transition: all 0.22s var(--ease-out-expo);
}

.scene-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 163, 61, 0.35);
}

.scene-tab.is-active {
  background: rgba(232, 163, 61, 0.16);
  border-color: var(--amber);
}

.scene-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
}

.scene-label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-light);
}

.hero-active-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.caption-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.caption-meta strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.caption-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  background: #0F2A4A;
  border: 1px solid rgba(232, 163, 61, 0.45);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.hero-inspect-btn:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
  border-color: var(--amber);
}

/* ==========================================================================
   6. MARQUEE
   ========================================================================== */
.marquee {
  background: var(--bg-steel-dark);
  padding-block: 0.8rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.marquee-group i {
  font-style: normal;
  color: var(--amber);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. SECTION 01: A EMPRESA & DIFERENCIAIS (#sobre / #diferenciais)
   ========================================================================== */
.intro {
  background: var(--bg-light);
  color: var(--text-dark);
  max-width: none;
}

.intro > * {
  max-width: 1440px;
  margin-inline: auto;
}

.intro .section-label {
  color: var(--bg-steel-dark);
}

.intro h2 {
  color: var(--text-dark);
}

.intro h2 em {
  color: var(--amber-deep);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  margin-bottom: 3rem;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--text-dark-sub);
  font-size: 1.02rem;
}

.diff-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.diff-card {
  background: var(--bg-card-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-sm);
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  box-shadow: 0 16px 36px rgba(11, 22, 38, 0.07);
}

.diff-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-deep);
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-dark);
}

.diff-card p {
  font-size: 0.92rem;
  color: var(--text-dark-sub);
  line-height: 1.55;
}

/* ==========================================================================
   8. SECTION 02: 7-LAYER AXONOMETRIC STRUCTURAL EXPLORER (#sistema-estrutural)
   ========================================================================== */
.explorer-section {
  background:
    radial-gradient(circle at 50% 25%, rgba(19, 51, 87, 0.5) 0%, rgba(7, 16, 28, 0.98) 72%),
    var(--bg-obsidian);
  max-width: none;
}

.explorer-section > * {
  max-width: 1440px;
  margin-inline: auto;
}

.explorer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.explorer-view-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.explorer-workspace {
  display: grid;
  grid-template-columns: 260px 1fr 350px;
  gap: 1.25rem;
  align-items: stretch;
}

.explorer-layer-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  background: rgba(15, 42, 74, 0.35);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.layer-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  text-align: left;
  transition: all 0.22s var(--ease-out-expo);
}

.layer-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.layer-btn.is-active {
  background: rgba(232, 163, 61, 0.16);
  border-color: var(--amber);
  box-shadow: inset 3px 0 0 var(--amber);
}

.layer-idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
}

.layer-btn-text strong {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Center Column: Axonometric SVG Stage */
.explorer-canvas-stage {
  background:
    radial-gradient(circle at 50% 50%, rgba(19, 51, 87, 0.48) 0%, rgba(7, 16, 28, 0.94) 85%);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  overflow: hidden;
}

.stage-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.7rem;
}

.stage-status-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(232, 163, 61, 0.14);
  border: 1px solid var(--rule-amber);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.structural-svg {
  width: 100%;
  height: auto;
  max-height: 470px;
  margin-block: auto;
  overflow: visible;
}

.iso-layer {
  cursor: pointer;
  transition: transform 0.65s var(--ease-out-expo),
              opacity 0.35s ease,
              filter 0.35s ease;
}

.iso-layer:hover {
  filter: drop-shadow(0 0 12px rgba(232, 163, 61, 0.5));
}

.structural-svg.has-selection .iso-layer.is-dimmed {
  opacity: 0.16;
  filter: grayscale(0.5);
}

.structural-svg.has-selection .iso-layer.is-highlighted {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(232, 163, 61, 0.68));
}

/* Exploded View Z-Axis Separation */
.structural-svg.is-exploded #svg-layer-cobertura {
  transform: translateY(-76px);
}

.structural-svg.is-exploded #svg-layer-tercas {
  transform: translateY(-48px);
}

.structural-svg.is-exploded #svg-layer-tesouras {
  transform: translateY(-24px);
}

.structural-svg.is-exploded #svg-layer-fechamentos {
  transform: translate(-18px, 6px);
}

.structural-svg.is-exploded #svg-layer-vigas {
  transform: translateY(10px);
}

.structural-svg.is-exploded #svg-layer-mezaninos {
  transform: translate(16px, 28px);
}

.structural-svg.is-exploded #svg-layer-pilares {
  transform: translateY(46px);
}

/* Right Column: Detail Panel */
.explorer-detail-panel {
  background: rgba(15, 42, 74, 0.45);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
}

.detail-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.detail-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bg-obsidian);
  background: var(--amber);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.explorer-detail-panel h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.22;
}

#layer-detail-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.detail-spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-block: 0.7rem;
  border-block: 1px solid var(--rule-dark);
  font-size: 0.84rem;
  color: var(--text-light);
}

.detail-spec-list li strong {
  color: var(--amber);
}

.detail-photo-card {
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-photo-wrap {
  position: relative;
  height: 150px;
}

.detail-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo-tag {
  position: absolute;
  bottom: 0.55rem;
  left: 0.55rem;
  background: rgba(7, 16, 28, 0.88);
  color: var(--amber);
  border: 1px solid var(--rule-amber);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

/* ==========================================================================
   9. SECTION 03: INTERACTIVE EDITORIAL SERVICES (#solucoes)
   ========================================================================== */
.solutions {
  background: var(--bg-obsidian);
  max-width: none;
  border-top: 1px solid var(--rule-dark);
}

.solutions > * {
  max-width: 1440px;
  margin-inline: auto;
}

.solutions-head {
  margin-bottom: 2.5rem;
}

.solutions-editorial-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.5rem;
  align-items: start;
}

.solution-list {
  border-top: 1px solid var(--rule-dark);
}

.solution {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 0.5rem 1.15rem;
  align-items: center;
  padding: 1.35rem 0.9rem;
  border-bottom: 1px solid var(--rule-dark);
  cursor: pointer;
  transition: background-color 0.25s ease, padding-left 0.3s var(--ease-out-expo);
}

.solution:hover,
.solution.is-active {
  background: rgba(232, 163, 61, 0.07);
  padding-left: 1.35rem;
}

.sol-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
}

.sol-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sol-main h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  transition: color 0.22s ease;
}

.solution:hover .sol-main h3,
.solution.is-active .sol-main h3 {
  color: var(--amber);
}

.sol-main p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sol-action {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  background: #0F2A4A;
  border: 1px solid var(--rule-amber);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.sol-action:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
}

/* Sticky Photographic Stage */
.solution-preview-stage {
  position: sticky;
  top: 108px;
}

.sol-preview-card {
  background: var(--bg-steel-dark);
  border: 1px solid var(--rule-amber);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sol-preview-media {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.sol-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.sol-preview-loc {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(7, 16, 28, 0.88);
  color: var(--amber);
  border: 1px solid var(--rule-amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.sol-preview-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sol-preview-body h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-light);
}

.sol-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sol-preview-list li {
  font-size: 0.88rem;
  color: #DCE6F2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sol-preview-list li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
}

/* ==========================================================================
   10. SECTION 04: ARCHITECTURAL EDITORIAL PORTFOLIO (#obras)
   ========================================================================== */
.projects {
  background: var(--bg-light);
  color: var(--text-dark);
  max-width: none;
}

.projects > * {
  max-width: 1440px;
  margin-inline: auto;
}

.projects .section-label {
  color: var(--bg-steel-dark);
}

.projects h2 {
  color: var(--text-dark);
}

.projects h2 em {
  color: var(--amber-deep);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.filter-chip {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: var(--bg-card-light);
  color: var(--text-dark-sub);
  border: 1px solid var(--rule-light);
  transition: all 0.22s ease;
}

.filter-chip:hover {
  border-color: var(--bg-steel-dark);
  color: var(--text-dark);
}

.filter-chip.is-active {
  background: var(--bg-steel-dark);
  color: var(--text-light);
  border-color: var(--bg-steel-dark);
}

.editorial-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.65rem;
}

.project-editorial {
  background: var(--bg-card-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}

.project-editorial.is-hidden {
  display: none;
}

.project-editorial:hover {
  transform: translateY(-5px);
  border-color: var(--amber-deep);
  box-shadow: 0 22px 48px rgba(11, 22, 38, 0.11);
}

.span-12 { grid-column: span 12; }
.span-7  { grid-column: span 7; }
.span-6  { grid-column: span 6; }
.span-5  { grid-column: span 5; }

.editorial-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-obsidian);
}

.span-12 .editorial-img-wrap { height: 460px; }
.span-7 .editorial-img-wrap,
.span-6 .editorial-img-wrap,
.span-5 .editorial-img-wrap { height: 330px; }

.editorial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.project-editorial:hover .editorial-img-wrap img {
  transform: scale(1.04);
}

.editorial-overlay-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}

.editorial-overlay-badge span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(7, 16, 28, 0.85);
  color: var(--text-light);
  backdrop-filter: blur(8px);
}

.editorial-caption {
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  flex: 1;
}

.editorial-caption-main {
  max-width: 680px;
}

.editorial-caption-main h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.editorial-caption-main p {
  font-size: 0.9rem;
  color: var(--text-dark-sub);
}

.project-gallery-btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  background: #0F2A4A;
  color: var(--text-light);
  border: 1px solid rgba(232, 163, 61, 0.4);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.project-gallery-btn:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
  border-color: var(--amber);
}

/* ==========================================================================
   11. SECTION 05: REFINED 5-STAGE EXECUTIVE METHOD (#processo)
   ========================================================================== */
.process {
  background: var(--bg-light-alt);
  color: var(--text-dark);
  max-width: none;
}

.process > * {
  max-width: 1440px;
  margin-inline: auto;
}

.process .section-label {
  color: var(--bg-steel-dark);
}

.process h2 {
  color: var(--text-dark);
}

.process h2 em {
  color: var(--amber-deep);
}

.process-header-row {
  margin-bottom: 2.5rem;
}

.process-architectural-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.timeline-card {
  background: var(--bg-card-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.28s var(--ease-out-expo), border-color 0.28s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-deep);
}

.timeline-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.timeline-step {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-deep);
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(15, 42, 74, 0.12));
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-dark-sub);
  line-height: 1.55;
}

/* ==========================================================================
   12. SECTION 06: 3-STEP SCOPE SIMULATOR & CONTACT FORM (#simulador / #contato)
   ========================================================================== */
.contact {
  background: var(--bg-light);
  color: var(--text-dark);
  max-width: none;
}

.contact > * {
  max-width: 1440px;
  margin-inline: auto;
}

.contact .section-label {
  color: var(--bg-steel-dark);
}

.scope-simulator {
  background: var(--bg-obsidian);
  color: var(--text-light);
  border: 1px solid var(--rule-amber);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 3.75rem;
  box-shadow: 0 24px 60px rgba(7, 16, 28, 0.18);
}

.sim-head {
  margin-bottom: 1.65rem;
}

.sim-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.sim-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  margin-top: 0.2rem;
}

.sim-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.65rem;
}

.sim-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.sim-step-header {
  margin-bottom: 0.85rem;
}

.sim-step-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
}

.sim-pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sim-pill {
  width: 100%;
  text-align: left;
  padding: 0.68rem 0.95rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.sim-pill:hover {
  border-color: var(--rule-amber);
  background: rgba(255, 255, 255, 0.08);
}

.sim-pill.is-selected {
  background: var(--amber);
  color: var(--bg-obsidian);
  border-color: var(--amber);
  font-weight: 700;
}

.sim-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule-dark);
}

.sim-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sim-summary-text span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.sim-summary-text strong {
  font-size: 0.98rem;
  color: var(--text-light);
}

.sim-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

.contact-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--bg-steel-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.contact-info h2 {
  color: var(--text-dark);
}

.contact-info h2 em {
  color: var(--amber-deep);
}

.contact-copy {
  color: var(--text-dark-sub);
  margin-block: 0.85rem 1.65rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.65rem;
}

.channel-card {
  background: var(--bg-card-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.channel-card.highlight-channel {
  border-color: var(--amber);
  box-shadow: 0 10px 26px rgba(15, 42, 74, 0.06);
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dark-sub);
  letter-spacing: 0.08em;
}

.channel-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bg-steel-dark);
}

.channel-value:hover {
  color: var(--amber-deep);
}

.channel-note {
  font-size: 0.82rem;
  color: var(--text-dark-sub);
}

/* Form Wrapper */
.contact-form-wrapper {
  background: var(--bg-card-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-md);
  padding: clamp(1.65rem, 3.2vw, 2.35rem);
  box-shadow: 0 20px 48px rgba(11, 22, 38, 0.07);
}

.form-header {
  margin-bottom: 1.35rem;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-dark-sub);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-xs);
  background: var(--bg-light);
  border: 1px solid rgba(15, 42, 74, 0.18);
  color: var(--text-dark);
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bg-steel-dark);
  outline: none;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.whatsapp-submit {
  background: var(--amber);
  color: var(--bg-obsidian);
}

.whatsapp-submit:hover {
  background: var(--amber-hover);
}

.email-submit {
  background: #0F2A4A;
  color: var(--text-light);
  border: 1px solid rgba(232, 163, 61, 0.45);
}

.email-submit:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.is-error {
  background: #FEE2E2;
  color: #991B1B;
}

.form-feedback.is-success {
  background: #DCFCE7;
  color: #166534;
}

/* ==========================================================================
   13. FOOTER, FLOATING WHATSAPP PILL & LIGHTBOX MODAL
   ========================================================================== */
.site-footer {
  background: #040911;
  color: var(--text-muted);
  padding: 3.75rem var(--gutter) 2rem;
}

.footer-top {
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 3rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-brand img {
  height: 62px;
  width: auto;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.footer-cnpj {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--amber);
}

.footer-social {
  margin-top: 1.15rem;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  max-width: 1440px;
  margin-inline: auto;
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.floating-wa {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 950;
}

/* Lightbox Dialog */
.obra-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(4, 9, 17, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.obra-lightbox[open],
.obra-lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  width: min(1080px, 100%);
  background: var(--bg-obsidian);
  border: 1px solid var(--rule-amber);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
}

.lightbox-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light);
}

.lightbox-close {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  background: #0F2A4A;
  color: var(--text-light);
  border: 1px solid var(--rule-amber);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.lightbox-close:hover {
  background: var(--amber);
  color: var(--bg-obsidian);
}

.lightbox-stage {
  height: min(62vh, 560px);
  background: #03070D;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-top: 0.25rem;
}

.lightbox-thumb {
  width: 88px;
  height: 58px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  flex-shrink: 0;
}

.lightbox-thumb.is-active {
  border-color: var(--amber);
  opacity: 1;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   14. RESPONSIVE MEDIA QUERIES (1440px, 1024px, 768px, 480px, 320px)
   ========================================================================== */
@media (max-width: 1200px) {
  .explorer-workspace {
    grid-template-columns: 240px 1fr;
  }

  .explorer-detail-panel {
    grid-column: span 2;
  }

  .process-architectural-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  #links {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: rgba(7, 16, 28, 0.98);
    border-bottom: 1px solid var(--rule-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter);
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
  }

  #links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .hamb {
    display: inline-flex;
  }

  .hero-bottom-bar,
  .intro-grid,
  .solutions-editorial-layout,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-active-caption {
    padding-left: 0;
    padding-top: 0.75rem;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .diff-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-preview-stage {
    position: static;
  }

  .span-7, .span-5, .span-6 {
    grid-column: span 6;
  }

  .sim-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 82px;
  }

  #links {
    top: 82px;
  }

  .brand img {
    height: 50px;
  }

  .nav-cta {
    display: none;
  }

  .nav-phone-pill {
    padding: 9px 15px;
    font-size: 0.82rem;
  }

  .hero-scene-switcher {
    grid-template-columns: repeat(2, 1fr);
  }

  .explorer-workspace {
    grid-template-columns: 1fr;
  }

  .explorer-layer-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .layer-btn {
    min-width: 190px;
    flex-shrink: 0;
  }

  .explorer-detail-panel {
    grid-column: span 1;
  }

  .span-12, .span-7, .span-6, .span-5 {
    grid-column: span 12;
  }

  .span-12 .editorial-img-wrap,
  .span-7 .editorial-img-wrap,
  .span-6 .editorial-img-wrap,
  .span-5 .editorial-img-wrap {
    height: 250px;
  }

  .process-architectural-timeline,
  .form-row,
  .form-actions,
  .footer-nav-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .diff-grid-4,
  .hero-scene-switcher {
    grid-template-columns: 1fr;
  }

  .nav-phone-pill span {
    font-size: 0.78rem;
  }

  .solution {
    grid-template-columns: 36px 1fr;
  }

  .sol-action {
    grid-column: 2 / 3;
    justify-self: start;
    margin-top: 0.35rem;
  }
}

@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;
  }
}
