/* ============================================================
   MELIUS PROJETOS — Landing Page
   Design system, base + sections (single source of truth)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "ArchivoCond"; src: url("fonts/Archivo-Condensed-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

/* Oriole — ban thin weights (< 500). Use 500 (Medium) as floor. */
@font-face { font-family: "Oriole"; src: url("fonts/Oriole-Medium.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oriole"; src: url("fonts/Oriole-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oriole"; src: url("fonts/Oriole-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oriole"; src: url("fonts/Oriole-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #050506;
  --bg-2: #08080a;
  --surface: #0e0e11;
  --surface-2: #131318;
  --border: #1a1a20;
  --border-2: #26262e;
  --text: #f6f6f7;
  --text-2: #b4b4bc;
  --text-3: #74747e;
  --text-4: #4a4a52;

  --accent: #3800E5;
  --accent-2: #4F1FFF;
  --accent-soft: rgba(56, 0, 229, 0.14);

  /* Glow palette — warm/cool/accent for dramatic section lighting */
  --glow-warm: 255, 220, 175;       /* warm white — sunset, drama, metric */
  --glow-cool: 200, 215, 255;       /* cool white — clinical, calm, BIM */
  --glow-accent: 110, 80, 255;      /* lighter accent for glow (not pure #3800E5) */
  --glow-violet: 140, 110, 255;     /* tonal bridge */
  --pbim-teal: 13, 185, 220;        /* teal accent — pbim pillar & spec icons */

  /* Liquid glass */
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
  --glass-blur: blur(28px) saturate(1.2);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --container: 1280px;
  --section-pad-y: 96px;

  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-display: "Oriole", "Archivo", serif;
  --font-cond: "ArchivoCond", "Archivo", sans-serif;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scroll-snap-type: y proximity;
  overflow-x: hidden;
}
section {
  scroll-snap-align: start;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: white; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;             /* Medium — floor for Oriole */
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
p { margin: 0; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

/* ---------- Liquid glass component ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  position: relative;
}
.glass::after {
  /* subtle top sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 30%);
  pointer-events: none;
}

/* Unified card hover — applied to all interactive glass cards.
   Lifts slightly, brightens glass, adds soft accent halo + deeper shadow. */
.stat-card,
.testimonial,
.why-cell,
.process-card,
.case-card,
.member {
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.stat-card:hover,
.testimonial:hover,
.why-cell:hover,
.process-card:hover,
.case-card:hover,
.member:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(56,0,229,0.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(56,0,229,0.5);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--text-2); }

/* ---------- Section frame ---------- */
section {
  padding: var(--section-pad-y) 0;
  position: relative;
}
section.compact { min-height: auto; padding: 64px 0; }
/* Page-label / page-band etc. always compact regardless */
body[data-page] section.page-label,
body[data-page] section.blog-featured,
body[data-page] section.blog-list,
body[data-page] section.editorial-hero,
body[data-page] section.prose-section,
body[data-page] section.team-section,
body[data-page] section.cta-final {
  min-height: auto;
  display: block;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.section-head h2 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--text);
  text-shadow: 0 0 12px rgba(255,255,255,0.22), 0 0 28px rgba(255,255,255,0.10);
}
.section-head .lede {
  font-size: 17px;
  color: var(--text-2);
  max-width: 660px;
  line-height: 1.55;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .2s, border-color .2s, transform .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: transparent;
}
.nav.hidden {
  transform: translateY(-100%);
}
.nav-cta .btn-primary {
  background: rgba(56, 0, 229, 0.42);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-color: rgba(130, 90, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 24px -8px rgba(56,0,229,0.4);
}
.nav-cta .btn-primary:hover {
  background: rgba(56, 0, 229, 0.62);
  transform: translateY(-1px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  position: relative;
}
.nav-hover-pill {
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
  pointer-events: none;
  opacity: 0;
  transition:
    left .22s cubic-bezier(0.25, 1, 0.5, 1),
    width .22s cubic-bezier(0.25, 1, 0.5, 1),
    top .22s cubic-bezier(0.25, 1, 0.5, 1),
    opacity .15s ease;
}
.nav-menu a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .15s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a.active {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.nav-menu a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border-2);
  margin: 0 4px;
  flex-shrink: 0;
}
.nav-satellite { color: var(--text); }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

/* Nav dropdown — liquid glass */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown {
  position: absolute;
  top: 100%;           /* sem gap — hover chain mantida */
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.96);
  min-width: 224px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0.22s;
  z-index: 100;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 16px 40px -8px rgba(0,0,0,0.35);
}
/* Mobile: hover CSS puro (dropdown permanece dentro do nav-menu) */
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0s;
}
/* Desktop: JS porta o dropdown para fora do nav-menu (fix backdrop-filter) */
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0s;
}
.nav-dropdown a {
  padding: 9px 14px;
  border-radius: calc(var(--radius) - 6px);
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(246,246,247,0.72);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  color: var(--text);
}
.nav-dropdown-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  margin: 4px 8px;
  border: none;
  position: relative;
  z-index: 1;
}
.nav-dropdown-all {
  color: rgba(246,246,247,0.38) !important;
  font-size: 12px !important;
}
.nav-dropdown-all:hover { color: rgba(246,246,247,0.65) !important; }

/* Nav sub-menu (fly-out direito — especialidades de Projetos BIM) */
.nav-dropdown-item-wrap {
  position: relative;
  display: block; /* block, não flex — evita container visual distinto */
}
.nav-dropdown-item-wrap > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
/* Ponte invisível que cobre o gap entre o item e o sub-menu */
.nav-dropdown-item-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 12px;
  height: 100%;
}
.nav-dropdown-item-chevron {
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.15s, transform 0.18s;
}
.nav-dropdown-item-wrap:hover .nav-dropdown-item-chevron {
  opacity: 0.75;
  transform: translateX(2px);
}
.nav-dropdown-sub {
  position: absolute;
  left: calc(100% + 8px);
  top: -6px;
  min-width: 196px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px) scale(0.96);
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0.22s;
  z-index: 110;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 16px 40px -8px rgba(0,0,0,0.35);
}
/* Mobile: CSS hover (sub-menu fica dentro do dropdown) */
.nav-dropdown-item-wrap:hover .nav-dropdown-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0s;
}
/* Desktop: JS porta o sub-menu para fora do dropdown (fix backdrop-filter) */
.nav-dropdown-sub.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition: opacity 0.22s cubic-bezier(0.16,1,0.3,1), transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0s 0s;
}
.nav-dropdown-sub a {
  padding: 9px 14px;
  border-radius: calc(var(--radius) - 6px);
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(246,246,247,0.72);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  display: block;
  position: relative;
  z-index: 1;
}
.nav-dropdown-sub a:hover {
  background: rgba(255,255,255,0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20);
  color: var(--text);
}
.nav-dropdown-sub .nav-dropdown-sep {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  margin: 4px 8px;
}
.nav-dropdown-sub-all {
  color: rgba(246,246,247,0.38) !important;
  font-size: 12px !important;
}
.nav-dropdown-sub-all:hover { color: rgba(246,246,247,0.65) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.hero::before {
  /* Top spotlight — pure white, weaker, shifted right to avoid BIM image area */
  content: "";
  position: absolute;
  top: -500px;
  left: 70%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1000px;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 75% 75% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
.hero::after {
  /* Secondary subtle warm wash bottom-right for depth — kept pure */
  content: "";
  position: absolute;
  bottom: -250px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 560px;
}
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 660px;
  display: flex;
  align-items: center;
}
.hero-bim-img {
  position: absolute;
  top: 50%;
  left: -8%;
  transform: translateY(-50%) translateZ(0);
  width: 118%;
  max-width: 900px;
  max-height: 110%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: brightness(0.96) contrast(1.02);
  will-change: transform;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}


/* Opção 3 — Industry band between hero and manifesto */
.industry-band {
  padding: 100px 0;
  min-height: auto;
  display: block;
}
.industry-band-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.industry-band-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.industry-band-stat b {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text);
}
.industry-band-stat span {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--text);
  margin-top: 8px;
}
.industry-band-stat sup { font-size: 0.7em; }
.industry-band-text {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
}
.industry-band-text strong { color: var(--text); font-weight: 500; }
.industry-band-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.industry-band-source {
  margin-top: 16px;
  text-align: right;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  .industry-band-inner { grid-template-columns: 1fr; gap: 24px; }
}
.hero-headline .break { display: block; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-headline strong {
  font-weight: 600;
}
@keyframes glow-in {
  from { text-shadow: none; }
  to { text-shadow: 0 0 12px rgba(255,255,255,0.38), 0 0 32px rgba(255,255,255,0.18), 0 0 64px rgba(255,255,255,0.07); }
}
.hero-l1 {
  display: block;
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-cursor {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  background: var(--text);
  vertical-align: middle;
  margin: 0 1px;
  animation: hero-cursor-blink 0.55s step-end infinite;
}
@keyframes hero-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-highlight {
  /* animation triggered via JS after typewriter completes */
}
@keyframes hero-period-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 520px;
  font-weight: 400;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   GLOBAL ATMOSPHERE — diffuse lights (pitch deck DNA)
   Each section gets a soft, positioned radial glow that breaks
   up flat-black backgrounds and adds drama. Lights are layered
   behind content using ::before with low-opacity radials.
   ============================================================ */

/* Industry band — WARM dramatic (drama on the 30% metric) */
@keyframes glow-breathe-warm {
  0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.14); }
}
@keyframes glow-breathe-warm-secondary {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* Specialty pages — breathing glows (warm + spec-color, fase oposta) */
@keyframes glow-breathe-spec-a {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.12); }
}
@keyframes glow-breathe-spec-b {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 0.95; transform: scale(1.10); }
}

.industry-band { position: relative; }
.industry-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.32) 0%, rgba(var(--glow-warm), 0.10) 30%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
  animation: glow-breathe-warm 5s ease-in-out infinite;
}
.industry-band .container { position: relative; z-index: 1; }

/* Pain — COOL (anxiety, clinical) */
.pain { position: relative; }
.pain::before {
  content: "";
  position: absolute;
  bottom: -250px;
  left: -200px;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.pain::after {
  content: "";
  position: absolute;
  top: 80px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.pain .container { position: relative; z-index: 1; }

/* Testimonials — WARM (social warmth, trust) */
.testimonials { position: relative; }
.testimonials::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 1100px;
  height: 900px;
  background: radial-gradient(ellipse, rgba(var(--glow-warm), 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.testimonials::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.testimonials .container { position: relative; z-index: 1; }

/* Solutions — ACCENT (product showcase, brand) */
.solutions { position: relative; padding-top: 72px; padding-bottom: 72px; }
.solutions .container { position: relative; z-index: 1; }
.solutions .section-head { margin-bottom: 44px; }
.solutions .section-head .lede { font-size: 14px; max-width: none; }

/* Why Melius — COOL (revelation moment) */
@keyframes glow-breathe-cool-left {
  0%, 100% { opacity: 0.8; transform: translateY(-50%) scale(1);    }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.18); }
}
@keyframes glow-breathe-cool-right {
  0%, 100% { opacity: 0.8; transform: translateY(-50%) scale(1);    }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.18); }
}
.why { position: relative; }
.why::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse 55% 60% at 20% 50%, rgba(80, 130, 255, 0.55) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
  animation: glow-breathe-cool-left 6s ease-in-out infinite;
}
.why::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(ellipse 55% 60% at 80% 50%, rgba(80, 130, 255, 0.55) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
  animation: glow-breathe-cool-right 6s ease-in-out infinite -3s;
}
.why .container { position: relative; z-index: 1; }

/* Process — WARM (forward motion, momentum) */
.process { position: relative; padding-top: 112px; padding-bottom: 112px; }
.process::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.process::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.process .container { position: relative; z-index: 1; }

/* Cases — ACCENT (showcase drama) */
.cases { position: relative; }
.cases::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -250px;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(var(--glow-accent), 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.cases::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--glow-accent), 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.cases > * { position: relative; z-index: 1; }

/* Team — WARM (humanization, intimacy) */
.team { position: relative; }
.team::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.team::after {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.11) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.team .container { position: relative; z-index: 1; }

/* FAQ — COOL (settle before footer) */
.faq { position: relative; }
.faq::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -250px;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.faq::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.faq .container { position: relative; z-index: 1; }

/* Manifesto 2 — ACCENT (strongest brand moment) */
.manifesto--alt { position: relative; }
.manifesto--alt::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1000px;
  background: radial-gradient(ellipse 35% 45% at 50% 50%, rgba(var(--glow-accent), 0.26) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(25px);
}
.manifesto--alt::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1600px;
  height: 1100px;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(var(--glow-accent), 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.manifesto--alt .container { position: relative; z-index: 1; }

/* Logos marquee — COOL gentle wash */
.logos-marquee { position: relative; }
.logos-marquee::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 500px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--glow-cool), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.logos-marquee > * { position: relative; z-index: 1; }

/* ============================================================
   END atmosphere block
   ============================================================ */

/* ============================================================
   STATS — glass cards centered
   ============================================================ */
.stats-section {
  padding: 64px 0;
  min-height: auto;
  display: block;
}
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  cursor: default;
}
.stat-card b {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.stat-card span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

/* ============================================================
   MANIFESTO — glass card with statement
   ============================================================ */
.manifesto {
  padding: 120px 0;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(150,140,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
  margin: 0;
}
.manifesto-text strong {
  font-weight: 600;
  color: var(--text);
}
.manifesto--alt { }

/* ============================================================
   LOGOS MARQUEE
   ============================================================ */
.logos-marquee {
  padding: 80px 0;
  min-height: auto;
  display: block;
  }
.logos-marquee-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  gap: 28px;
}
.logos-marquee-head .eyebrow {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.logos-marquee-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}
.logos-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.logos-stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logos-stat-num--plus::after {
  content: "+";
  font-size: 20px;
  vertical-align: super;
  line-height: 0;
}
.logos-stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.logos-stat-div {
  width: 1px;
  height: 30px;
  background: var(--border);
}
.marquee-track {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track.is-dragging { cursor: grabbing; }
.marquee-row {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: none;
  align-items: center;
}
.marquee-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  flex-shrink: 0;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  cursor: pointer;
  object-fit: contain;
}
.marquee-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}

.marquee-row span {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  transition: color .2s;
  flex: 0 0 auto;
}
.marquee-row:hover { animation-play-state: paused; }
.marquee-row span:hover { color: var(--text); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PAIN — scenarios wireframe grid (Linear-inspired)
   ============================================================ */
.scenarios-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.scenario-sep {
  background: var(--border);
  align-self: stretch;
}
.scenario-col {
  padding: 48px 36px 44px;
  display: flex;
  flex-direction: column;
  cursor: default;
}
.scenario-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--text-4);
  text-transform: uppercase;
  margin-bottom: 36px;
  align-self: flex-start;
  display: inline-block;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(246,246,247,0.04);
  border: 1px solid rgba(246,246,247,0.09);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(246,246,247,0.06), 0 1px 3px rgba(0,0,0,0.25);
}
.scenario-icon {
  flex: none;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 28px;
  overflow: visible;
  position: relative;
  isolation: isolate; /* stacking context próprio — garante ::before atrás de tudo */
}

/* Glow âmbar atrás do ícone — surge no hover */
.scenario-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 215px;
  height: 178px;
  transform: translate(-50%, -54%) scale(0.5);
  background: radial-gradient(ellipse at center,
    rgba(255, 205, 60, 0.44) 0%,
    rgba(255, 175, 20, 0.22) 38%,
    rgba(255, 130, 0,  0.08) 65%,
    transparent 100%
  );
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: -1; /* negativo dentro do isolation = atrás de todos os filhos */
}
.scenario-col:hover .scenario-icon::before {
  opacity: 1;
  transform: translate(-50%, -54%) scale(1.12);
  animation: icon-glow-breathe 3.2s ease-in-out 0.6s infinite;
}
@keyframes icon-glow-breathe {
  0%, 100% { opacity: 1;    transform: translate(-50%, -54%) scale(1.12); }
  50%       { opacity: 0.80; transform: translate(-50%, -54%) scale(1.26); }
}

.scenario-icon svg {
  overflow: visible;
  width: 148px;
  height: 168px;
  color: rgba(246,246,247,0.58);
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
  will-change: transform;
}
.scenario-col:hover .scenario-icon svg {
  transform: none; /* substituído por animações semânticas por ícone */
}

/* ============================================================
   LABEL GLOW
   ============================================================ */
.scenario-label {
  transition: color 0.3s ease, text-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.scenario-col:hover .scenario-label {
  color: rgba(246, 246, 247, 0.95);
  background: rgba(246,246,247,0.10);
  border-color: rgba(246,246,247,0.20);
  box-shadow: inset 0 1px 0 rgba(246,246,247,0.14), 0 0 14px rgba(246,246,247,0.10), 0 1px 3px rgba(0,0,0,0.2);
  text-shadow: 0 0 8px rgba(246,246,247,0.50), 0 0 22px rgba(246,246,247,0.18);
}

/* ============================================================
   KEYFRAMES — animações semânticas
   ============================================================ */

/* ── Transform context (SVG groups precisam disso para transform funcionar do seu centro) ── */
.slab-group, .slab-primary { transform-box: fill-box; transform-origin: center; }
.option-a  { transform-box: fill-box; transform-origin: center; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.45s ease, filter 0.3s ease; }
.struct-node { transform-box: fill-box; transform-origin: center; }

/* ── CENÁRIO 01 — Clash: onda de choque, laje em impacto, pipe arrancado ── */
@keyframes clash-shockwave {
  0%   { transform: scale(0.45); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: scale(4.0); opacity: 0; }
}
@keyframes slab-impact {
  0%   { transform: translate(0, 0) rotate(0deg); }
  10%  { transform: translate(-4px, 1.5px) rotate(-0.7deg); }
  22%  { transform: translate(3.2px, -1.2px) rotate(0.5deg); }
  36%  { transform: translate(-2.2px, 0.9px) rotate(-0.3deg); }
  52%  { transform: translate(1.5px, -0.5px) rotate(0.15deg); }
  72%  { transform: translate(-0.6px, 0.2px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes pipe-strike {
  0%   { transform: translate(0, 0) rotate(0deg); filter: none; }
  18%  { transform: translate(-13px, 13px) rotate(-2.8deg); filter: drop-shadow(0 0 12px rgba(246,246,247,0.85)); }
  32%  { transform: translate(-8px, 8px) rotate(-1.6deg);   filter: drop-shadow(0 0 6px rgba(246,246,247,0.5)); }
  55%  { transform: translate(-11px, 11px) rotate(-2.2deg); filter: drop-shadow(0 0 9px rgba(246,246,247,0.6)); }
  100% { transform: translate(-9px, 9px) rotate(-1.8deg);   filter: drop-shadow(0 0 5px rgba(246,246,247,0.3)); }
}

/* ── CENÁRIO 02 — Budget: gap pulsante marcha, folhas explodem ── */
@keyframes gap-march {
  to { stroke-dashoffset: -42; }
}

/* ── CENÁRIO 03 — Retrabalho: fantasma atravessa o slab primário (overlap direto) ── */
@keyframes ghost-phase-through {
  0%   { transform: translate(16px, 12px) scale(0.95); opacity: 0.20; filter: none; }
  20%  { transform: translate(8px, 6px) scale(0.98);   opacity: 0.58; filter: drop-shadow(0 0 7px rgba(246,246,247,0.28)); }
  44%  { transform: translate(0px, 0px) scale(1.02);   opacity: 0.90; filter: drop-shadow(0 0 18px rgba(246,246,247,0.60)); }
  50%  { transform: translate(-2px, -1px) scale(1.03); opacity: 0.95; filter: drop-shadow(0 0 22px rgba(246,246,247,0.68)); }
  56%  { transform: translate(-4px, -3px) scale(1.02); opacity: 0.82; filter: drop-shadow(0 0 14px rgba(246,246,247,0.48)); }
  78%  { transform: translate(-13px, -9px) scale(0.97); opacity: 0.40; filter: drop-shadow(0 0 5px rgba(246,246,247,0.18)); }
  100% { transform: translate(16px, 12px) scale(0.95); opacity: 0.20; filter: none; }
}
@keyframes slab-disturbed {
  0%, 36%, 64%, 100% { transform: translate(0, 0) scale(1); filter: none; opacity: 1; }
  44%  { transform: translate(1.8px, 1.2px) scale(0.965); filter: drop-shadow(0 0 5px rgba(246,246,247,0.18)); opacity: 0.82; }
  50%  { transform: translate(-0.6px, 0.8px) scale(0.960); filter: drop-shadow(0 0 10px rgba(246,246,247,0.28)); opacity: 0.78; }
  58%  { transform: translate(0.8px, -0.5px) scale(0.980); filter: drop-shadow(0 0 4px rgba(246,246,247,0.12)); opacity: 0.92; }
}

/* ── CENÁRIO 04 — Decisão: conflito contínuo sincronizado + heartbeat urgente no nó ── */
@keyframes plan-struggle {
  0%   { transform: scale(1) translateX(0); opacity: 1; filter: none; }
  26%  { transform: scale(0.89) translateX(-10px); opacity: 0.28; filter: none; }
  46%  { transform: scale(0.96) translateX(-4px);  opacity: 0.70; filter: none; }
  68%  { transform: scale(0.86) translateX(-12px); opacity: 0.18; filter: none; }
  88%  { transform: scale(0.93) translateX(-5px);  opacity: 0.52; filter: none; }
  100% { transform: scale(1) translateX(0); opacity: 1; filter: none; }
}
@keyframes improvise-dominate {
  0%   { transform: scale(1) translateX(0); opacity: 0.45; filter: none; }
  26%  { transform: scale(1.12) translateX(7px); opacity: 1;    filter: drop-shadow(0 0 16px rgba(246,246,247,0.75)); }
  46%  { transform: scale(1.05) translateX(3px); opacity: 0.70; filter: drop-shadow(0 0 7px rgba(246,246,247,0.32)); }
  68%  { transform: scale(1.15) translateX(8px); opacity: 1;    filter: drop-shadow(0 0 20px rgba(246,246,247,0.80)); }
  88%  { transform: scale(1.07) translateX(4px); opacity: 0.78; filter: drop-shadow(0 0 10px rgba(246,246,247,0.42)); }
  100% { transform: scale(1) translateX(0); opacity: 0.45; filter: none; }
}
@keyframes node-heartbeat {
  0%, 100% { transform: scale(1);    filter: none; }
  10%       { transform: scale(1.09); filter: drop-shadow(0 0 7px rgba(246,246,247,0.65)); }
  20%       { transform: scale(1);    filter: none; }
  32%       { transform: scale(1.16); filter: drop-shadow(0 0 12px rgba(246,246,247,0.90)) drop-shadow(0 0 24px rgba(246,246,247,0.40)); }
  46%       { transform: scale(1);    filter: none; }
}

/* ── Idle hints (sempre rodando, quase imperceptíveis — ícone "vivo" antes do hover) ── */
@keyframes idle-ring-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  50%       { transform: scale(1.14); opacity: 0.52; }
}
@keyframes idle-ghost-approach {
  0%, 100% { transform: translate(16px, 12px) scale(0.95); opacity: 0.20; }
  50%       { transform: translate(11px,  8px) scale(0.97); opacity: 0.28; }
}
@keyframes idle-option-uncertain {
  0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0.45; }
  38%       { transform: translateX(0.9px) rotate(0.2deg); opacity: 0.40; }
  72%       { transform: translateX(-0.6px) rotate(-0.15deg); opacity: 0.50; }
}

/* ============================================================
   BASE STATES + IDLE
   ============================================================ */
.clash-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: idle-ring-breathe 3.4s ease-in-out infinite;
}
.pipe-group {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.3s ease;
}
.sheet-1 { transform-box: fill-box; transform-origin: center; transition: transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sheet-2 { transform-box: fill-box; transform-origin: center; transition: transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) 0.04s; }
.sheet-3 { transform-box: fill-box; transform-origin: center; transition: transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) 0.09s; }
.gap-line { transition: stroke-opacity 0.3s ease; }

.ghost-slab {
  transform-box: fill-box;
  transform-origin: center;
  animation: idle-ghost-approach 5.5s ease-in-out infinite;
}
.option-b {
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: idle-option-uncertain 5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, filter 0.3s ease;
}

/* ============================================================
   HOVER — CENÁRIO 01 (Clash: onda de choque + impacto físico)
   ============================================================ */
.scenario-col:hover .clash-ring {
  animation: clash-shockwave 1.15s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.scenario-col:hover .slab-group {
  animation: slab-impact 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1;
}
.scenario-col:hover .pipe-group {
  animation: pipe-strike 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ============================================================
   HOVER — CENÁRIO 02 (Budget: folhas explodem + gap dashes marcham)
   ============================================================ */
.scenario-col:hover .sheet-1 { transform: translateY(-22px) rotate(-2.2deg); }
.scenario-col:hover .sheet-2 { transform: translateY(-4px)  rotate(0.5deg); }
.scenario-col:hover .sheet-3 { transform: translateY(18px)  rotate(1.8deg); }
.scenario-col:hover .gap-line {
  stroke-opacity: 1;
  animation: gap-march 1.4s linear infinite;
}

/* ============================================================
   HOVER — CENÁRIO 03 (Retrabalho: fantasma atravessa + slab primário perturbado)
   ============================================================ */
.scenario-col:hover .ghost-slab {
  animation: ghost-phase-through 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.scenario-col:hover .slab-primary {
  animation: slab-disturbed 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================================
   HOVER — CENÁRIO 04 (Decisão: conflito contínuo + heartbeat urgente)
   ============================================================ */
.scenario-col:hover .option-a {
  animation: plan-struggle 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.scenario-col:hover .option-b {
  animation: improvise-dominate 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.scenario-col:hover .struct-node {
  animation: node-heartbeat 1.6s ease-in-out infinite;
}

.scenario-text h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.scenario-col:hover .scenario-text h3 {
  color: #ffffff;
}
.scenario-text p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.pain-transition {
  margin-top: 16px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pain-transition:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(0,0,0,0.7);
}
.pain-transition-data {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pain-transition-stat {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--text);
  flex-shrink: 0;
}
.pain-transition-data p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 420px;
}
.pain-transition-data p strong { color: var(--text); font-weight: 500; }
.pain-transition-good {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pain-transition-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
}
.pain-transition-good p {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--text);
}
.pain-transition-good p strong {
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255,255,255,0.22), 0 0 28px rgba(255,255,255,0.10);
}
@media (max-width: 1100px) {
  /* Scenarios — 2 colunas no tablet */
  .scenarios-grid { grid-template-columns: 1fr 1fr; }
  .scenario-sep { display: none; }
  .scenario-col {
    padding: 36px 28px;
    border-bottom: 1px solid var(--border);
  }
  /* col1 (nth-child 1) e col3 (nth-child 5) ficam na coluna esquerda */
  .scenarios-grid > .scenario-col:nth-child(4n+1) { border-right: 1px solid var(--border); }
  /* remove bottom border nos dois últimos */
  .scenarios-grid > .scenario-col:last-child,
  .scenarios-grid > .scenario-col:nth-last-child(3) { border-bottom: none; }

  .pain-transition { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .pain-transition-good { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
}

/* ============================================================
   TESTIMONIALS — featured + 2 secondary
   ============================================================ */
/* Testimonials — 2x2 grid; photo sits OUTSIDE the bubble */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.testimonial {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transition: transform .25s ease;
}
.testimonial:hover { transform: translateY(-2px); background: transparent; border: none; box-shadow: none; }
.testimonial::after { display: none; }
.testimonial-photo {
  --image-slot-bg: rgba(255,255,255,0.04);
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  flex-shrink: 0;
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-bubble {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 88px;
  transition: border-color .25s ease, box-shadow .25s ease;
  animation: testimonial-float 5.5s ease-in-out infinite;
}
.testimonial:hover .testimonial-bubble {
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(0,0,0,0.7);
  animation-play-state: paused;
}
.testimonial:nth-child(1) .testimonial-bubble { animation-delay: 0s; }
.testimonial:nth-child(2) .testimonial-bubble { animation-delay: -1.4s; }
.testimonial:nth-child(3) .testimonial-bubble { animation-delay: -3.1s; }
.testimonial:nth-child(4) .testimonial-bubble { animation-delay: -4.6s; }
@keyframes testimonial-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
}
.testimonial blockquote strong {
  color: var(--text);
  font-weight: 600;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-author strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
}
.testimonial-author small {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
}

/* ============================================================
   SOLUTIONS — verticals with clickable products
   ============================================================ */
/* ============================================================
   SOLUTIONS — Raycast-style color cards
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.sol-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s ease;
}
.sol-card:hover { transform: translateY(-5px); }

.sol-card--violet  { background: linear-gradient(155deg, #1c1245 0%, #0f0921 100%); border-color: rgba(108,70,255,0.32); }
.sol-card--teal    { background: linear-gradient(155deg, #0e2236 0%, #080e1c 100%); border-color: rgba(38,155,200,0.28); }
.sol-card--emerald { background: linear-gradient(155deg, #0d2419 0%, #070e0a 100%); border-color: rgba(38,180,100,0.26); }

/* Ambient aura — always present, breathes at rest, intensifies on hover */
.sol-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0.45;
  animation: sol-ambient-breathe 5s ease-in-out infinite;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}
.sol-card--violet::before  { background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(110,80,255,0.45) 0%, transparent 70%); }
.sol-card--teal::before    { background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(38,155,200,0.38) 0%, transparent 70%); }
.sol-card--emerald::before { background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(38,180,100,0.34) 0%, transparent 70%); }
.sol-card:nth-child(2)::before { animation-delay: -1.8s; }
.sol-card:nth-child(3)::before { animation-delay: -3.5s; }
.sol-card:hover::before    { animation: none; opacity: 0.7; }
.sol-card:hover            { border-color: rgba(255,255,255,0.16); }

@keyframes sol-ambient-breathe {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.60; }
}

/* Mouse-tracking spotlight — diffuse multi-layer */
.sol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 180px 140px at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.04) 0%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 360px 300px at var(--mx, 50%) var(--my, 50%),
      var(--sol-spot) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 520px 420px at var(--mx, 50%) var(--my, 50%),
      var(--sol-spot-outer) 0%,
      transparent 60%
    );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.sol-card:hover::after { opacity: 0.6; }
.sol-card--violet  { --sol-spot: rgba(150,120,255,0.18); --sol-spot-outer: rgba(110,80,255,0.07); }
.sol-card--teal    { --sol-spot: rgba(60,185,230,0.15);  --sol-spot-outer: rgba(38,155,200,0.05); }
.sol-card--emerald { --sol-spot: rgba(55,210,120,0.14);  --sol-spot-outer: rgba(38,180,100,0.05); }

.sol-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.sol-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sol-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-3);
}
.sol-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246,246,247,0.82);
  flex-shrink: 0;
}
.sol-icon--violet  { background: rgba(110,80,255,0.2);  color: rgba(148,108,255,1); }
.sol-icon--teal    { background: rgba(38,155,200,0.16); color: rgba(56,185,220,1);  }
.sol-icon--emerald { background: rgba(38,180,100,0.16); color: rgba(52,205,118,1);  }
.sol-icon--spec    { background: var(--spec-icon-bg);   color: var(--spec-color);   }

.sol-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(246,246,247,0.55);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.sol-arrow:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(246,246,247,1);
  transform: translate(1px,-1px);
}

.sol-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.sol-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-2);
  flex: 1;
  position: relative;
  z-index: 1;
}
.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.sol-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-2);
  white-space: nowrap;
}
.sol-visual {
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  position: relative;
  z-index: 1;
}
.sol-visual--01 { color: rgba(110,80,255,0.88); }
.sol-visual--02 { color: rgba(38,155,200,0.88); }
.sol-visual--03 { color: rgba(38,180,100,0.88); }

/* V01 — andares se separam no hover */
.floor-a, .floor-b, .floor-c {
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  transform-box: fill-box;
  transform-origin: center bottom;
}
.floor-b { transition-delay: 0.04s; }
.floor-c { transition-delay: 0.08s; }
.sol-card:hover .floor-c { transform: translateY(-12px); }
.sol-card:hover .floor-b { transform: translateY(-6px); }

/* V02 — nós de fluxo acendem em onda da esquerda para direita */
@keyframes flow-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.sol-card:hover .node-a    { animation: flow-pulse 1.8s ease-in-out 0s    infinite; }
.sol-card:hover .node-b    { animation: flow-pulse 1.8s ease-in-out 0.3s  infinite; }
.sol-card:hover .node-c    { animation: flow-pulse 1.8s ease-in-out 0.6s  infinite; }
.sol-card:hover .node-d    { animation: flow-pulse 1.8s ease-in-out 0.9s  infinite; }
.sol-card:hover .flow-lines { animation: flow-pulse 1.8s ease-in-out 0.15s infinite; }

/* V03 — barras sobem proporcional à altura */
.bar-1, .bar-2, .bar-3, .bar-4 {
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  transform-box: fill-box;
  transform-origin: center bottom;
}
.bar-2 { transition-delay: 0.03s; }
.bar-3 { transition-delay: 0s; }
.bar-4 { transition-delay: 0.09s; }
.sol-card:hover .bar-1 { transform: translateY(-6px); }
.sol-card:hover .bar-2 { transform: translateY(-4px); }
.sol-card:hover .bar-3 { transform: translateY(-10px); }
.sol-card:hover .bar-4 { transform: translateY(-2px); }

/* ============================================================
   SOLUTIONS HUB — horizontal card layout (solucoes.html)
   ============================================================ */
.solutions-grid--horizontal {
  grid-template-columns: 1fr;
  gap: 16px;
}
.solutions-grid--horizontal .sol-card {
  flex-direction: row;
  padding: 0;
  gap: 0;
  align-items: stretch;
  min-height: 200px;
}
.sol-card-text {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}
.solutions-grid--horizontal .sol-visual {
  flex: 0 0 260px;
  border-top: none;
  border-left: 1px solid rgba(255,255,255,0.07);
  margin-top: 0;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .solutions-grid--horizontal .sol-card { flex-direction: column; min-height: auto; }
  .solutions-grid--horizontal .sol-visual {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex: none;
  }
}

/* ============================================================
   WHY MELIUS
   ============================================================ */
/* Statement — full-width typographic manifesto moment */
@keyframes why-emerge {
  from { opacity: 0; transform: translateY(32px); filter: blur(12px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);    }
}
.why-statement-line {
  display: block;
  opacity: 0;
}
.why-statement-line--a {
  font-family: var(--font-sans);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--text-3);
  margin-bottom: 8px;
}
.why-statement-line--b { color: var(--text); }
.why-hl {
  color: var(--text);
  text-shadow: 0 0 12px rgba(246,246,247,0.55), 0 0 32px rgba(246,246,247,0.18);
}
/* opacity revealed by typewriter JS — no CSS animation */

/* Cursor que acompanha a digitação */
.why-cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.78em;
  background: rgba(246, 246, 247, 0.85);
  border-radius: 1px;
  vertical-align: middle;
  margin-left: 1px;
  box-shadow: 0 0 6px rgba(246,246,247,0.5), 0 0 16px rgba(246,246,247,0.15);
  animation: why-cursor-blink 0.8s step-end infinite;
}
@keyframes why-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Ponto final piscante após digitação concluída */
.why-period-blink {
  animation: why-period-blink 1.2s step-end infinite;
}
@keyframes why-period-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Section label */
.why-header {
  margin-bottom: 36px;
}

/* Bento wrapper */
@property --why-glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.why-bento-wrap {
  position: relative;
  margin: 0 0 80px;
}
.why-bento-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  padding: 1px;
  background: conic-gradient(
    from var(--why-glow-angle),
    transparent 0%,
    transparent 58%,
    rgba(246,246,247,0.0)  65%,
    rgba(246,246,247,0.50) 70%,
    rgba(246,246,247,0.85) 73%,
    rgba(246,246,247,0.50) 76%,
    rgba(246,246,247,0.0)  83%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: why-border-travel 24s linear infinite;
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 1;
}
@keyframes why-border-travel {
  to { --why-glow-angle: 360deg; }
}

/* Outer bento frame */
.why-bento {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Top row: statement (3fr) + pillar 01 (2fr) */
.why-bento-top {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-bottom: 1px solid var(--border);
}

/* Statement cell */
.why-bento-statement {
  background: rgba(14, 14, 17, 0.55);
  padding: 44px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Mesh gradient blobs — ambient color source, keep subtle */
.why-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.why-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.why-blob--1 {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -80px;
  background: radial-gradient(circle at center, rgba(246,246,247,0.06) 0%, transparent 65%);
  filter: blur(88px);
  animation: blob-drift-1 17s ease-in-out infinite;
}
.why-blob--2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -60px;
  background: radial-gradient(circle at center, rgba(246,246,247,0.05) 0%, transparent 65%);
  filter: blur(80px);
  animation: blob-drift-2 23s ease-in-out infinite -5s;
}
.why-blob--3 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 42%;
  background: radial-gradient(circle at center, rgba(246,246,247,0.07) 0%, transparent 65%);
  filter: blur(100px);
  animation: blob-drift-3 29s ease-in-out infinite -8s;
}
.why-blob--4 {
  width: 220px;
  height: 220px;
  bottom: 5%;
  left: 12%;
  background: radial-gradient(circle at center, rgba(246,246,247,0.03) 0%, transparent 65%);
  filter: blur(64px);
  animation: blob-drift-4 19s ease-in-out infinite -13s;
}

/* Diagonal beam canvas */
.why-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
@keyframes blob-drift-1 {
  0%, 100% { transform: translate(0,  0)   scale(1);    }
  25%       { transform: translate(52px, 32px)  scale(1.08); }
  50%       { transform: translate(28px, 60px)  scale(0.96); }
  75%       { transform: translate(-14px, 36px) scale(1.04); }
}
@keyframes blob-drift-2 {
  0%, 100% { transform: translate(0, 0)    scale(1);    }
  30%       { transform: translate(-44px, -52px) scale(1.06); }
  60%       { transform: translate(-72px, -18px) scale(1.11); }
  80%       { transform: translate(-30px, -58px) scale(0.97); }
}
@keyframes blob-drift-3 {
  0%, 100% { transform: translate(0, 0)   scale(1);    }
  40%       { transform: translate(38px, -44px) scale(1.13); }
  70%       { transform: translate(-18px, -26px) scale(0.93); }
}
@keyframes blob-drift-4 {
  0%, 100% { transform: translate(0, 0)  scale(1);    }
  35%       { transform: translate(24px, 42px)  scale(1.09); }
  65%       { transform: translate(50px, 16px)  scale(0.95); }
}
.why-bento-statement .why-statement-text {
  position: relative;
  z-index: 1;
}
.why-bento-statement h2 {
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.27;
  margin: 0;
  text-align: left;
}

/* Bottom row: pillars 02 + 03 (equal) */
.why-bento-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Pillar cards */
.why-bento-card {
  display: flex;
  flex-direction: column;
  background: rgba(14, 14, 17, 0.55);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.why-bento-card::after {
  content: attr(data-n);
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(246,246,247,0.055);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-bento-card:hover::after {
  opacity: 0.22;
  transform: scale(1.04) translate(2px, 2px);
}
.why-bento-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.why-bento-top .why-bento-card {
  border-left: 1px solid var(--border);
  background: rgba(14, 14, 17, 0.55);
}
.why-bento-bottom .why-bento-card + .why-bento-card {
  border-left: 1px solid var(--border);
}

/* Text zone */
.why-bento-text {
  padding: 36px 36px 40px;
  position: relative;
  z-index: 1;
  transform-origin: left center;
  transform: translateY(5px) scale(0.985);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-bento-card:hover .why-bento-text {
  transform: translateY(0) scale(1);
}
.why-bento-text h3 {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}
.why-bento-text p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   PROCESS — Linear-style horizontal timeline with animated nodes
   ============================================================ */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 24px;
}

/* Rail background — from first to last node center */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80%;
  height: 1px;
  background: rgba(246,246,247,0.12);
  z-index: 0;
}

/* Animated white fill with glowing leading edge */
.process-rail-fill {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 0;
  height: 1px;
  background: rgba(246,246,247,0.55);
  z-index: 1;
  transition: width 0.54s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.process-rail-fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  width: 13px;
  height: 9px;
  border-radius: 50%;
  background: rgba(246,246,247,0.95);
  filter: blur(3px);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.process-rail-fill.done::after { opacity: 0; }

/* Each step column — node left-aligned, matching title start */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  padding-right: 20px;
}

/* Node ring */
.process-step-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(246,246,247,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  flex-shrink: 0;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Inner dot */
.process-step-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(246,246,247,0.22);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

/* Content block */
.process-step-body {
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.process-step p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.62;
}

/* Active — white glow */
.process-step.active .process-step-node {
  border-color: rgba(246,246,247,0.55);
  box-shadow: 0 0 0 3px rgba(246,246,247,0.06), 0 0 12px rgba(246,246,247,0.18);
}
.process-step.active .process-step-dot {
  background: rgba(246,246,247,0.88);
  box-shadow: 0 0 6px rgba(246,246,247,0.45);
  transform: scale(1.15);
}
.process-step.active .process-step-body {
  opacity: 1;
  transform: translateY(0);
}

/* Last node — accent purple glow */
.process-step.active--last .process-step-node {
  border-color: rgba(110,80,255,0.75);
  box-shadow: 0 0 0 4px rgba(56,0,229,0.12), 0 0 20px rgba(79,31,255,0.45);
}
.process-step.active--last .process-step-dot {
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(79,31,255,0.65);
}

/* ============================================================
   VERTICAL PAGES — solucoes-*.html
   ============================================================ */
.vertical-hero {
  padding: 104px 0 64px;
  position: relative;
}
.vertical-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}
.vertical-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  width: fit-content;
}
.vertical-hero-badge .sol-icon { width: 24px; height: 24px; border-radius: 6px; }
.vertical-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.vertical-hero p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 560px;
}
/* Spec hero — layout em duas colunas com imagem de render */
.vertical-hero--spec .vertical-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: none;
  align-items: center;
}
.spec-hero-image {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--spec-color-rgb, 13,148,136), 0.18);
  background: var(--surface);
  position: relative;
}
.spec-hero-illo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.spec-hero-image image-slot { width: 100%; height: 100%; display: block; }

.vertical-hero--teal    { --vertical-accent: rgba(38,155,200,0.22); --vertical-glow: rgba(38,155,200,0.55); }
.vertical-hero--violet  { --vertical-accent: rgba(110,80,255,0.22); --vertical-glow: rgba(110,80,255,0.55); }
.vertical-hero--emerald { --vertical-accent: rgba(38,180,100,0.22); --vertical-glow: rgba(38,180,100,0.55); }
.vertical-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse 60% 60% at 70% 40%, var(--vertical-glow, rgba(110,80,255,0.55)) 0%, transparent 70%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.vertical-hero .container { position: relative; z-index: 1; }

.vertical-products {
  padding: 0 0 96px;
}
.vertical-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vertical-product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.vertical-product-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.vertical-product h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.vertical-product p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  flex: 1;
}
.vertical-product-deliverables {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.vertical-product-deliverables span {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vertical-product-deliverables span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}
.vertical-product--teal    .vertical-product-deliverables span::before { color: rgba(56,185,220,1); }
.vertical-product--violet  .vertical-product-deliverables span::before { color: rgba(148,108,255,1); }
.vertical-product--emerald .vertical-product-deliverables span::before { color: rgba(52,205,118,1); }

/* Vertical product responsive */
@media (max-width: 720px) {
  .vertical-products-grid { grid-template-columns: 1fr; }
  .vertical-product { padding: 24px; }
  .vertical-hero { padding: 80px 0 40px; }
}

/* ─── Specialty pages: Bento grid ─────────────────────────────────────────── */
.spec-bento-section {
  padding: 0 0 96px;
  position: relative;
}
.spec-bento-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
}
.spec-bento-row2       { grid-column: 1 / 4; }
.spec-card--types      { grid-column: 4 / 11; }
.spec-card--image      { grid-column: 1 / 6; }
.spec-card--statement  { grid-column: 6 / 11; }
.spec-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.25s ease,
              box-shadow 0.3s ease;
}
.spec-card.revealed {
  opacity: 1;
  transform: none;
}
.spec-bento-grid > .spec-card:nth-child(2) { transition-delay: 0.1s; }
.spec-bento-grid > .spec-card:nth-child(4) { transition-delay: 0.12s; }
.spec-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px -16px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.07) inset;
  transition-duration: 0.22s, 0.22s, 0.18s, 0.25s;
}
.spec-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin: 0 0 12px;
}
.spec-card h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 16px;
}
.spec-card h2 em {
  font-style: normal;
  font-weight: 700;
}
.spec-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.spec-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  padding: 4px 11px;
}
/* Type cards (Card 2) */
.spec-card--types {
  display: flex;
  flex-direction: column;
}
.spec-card--types::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 320px at var(--glow-x, 50%) var(--glow-y, 30%),
    rgba(var(--spec-color-rgb, 13, 148, 136), 0.13) 0%,
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.spec-card--types:hover::before { opacity: 1; }
.spec-card--types > * { position: relative; z-index: 1; }
.spec-card--image {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}
.spec-bento-grid--no-coord > .spec-card--types     { grid-column: 1 / 11; }
.spec-bento-grid--no-coord > .spec-card--image     { grid-column: 1 / 6; }
.spec-bento-grid--no-coord > .spec-card--statement { grid-column: 6 / 11; }
.spec-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  flex: 1;
}
.spec-type-card {
  background: rgba(var(--spec-color-rgb, 13,148,136), 0.05);
  border: 1px solid rgba(var(--spec-color-rgb, 13,148,136), 0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spec-type-card:hover {
  background: rgba(var(--spec-color-rgb, 13,148,136), 0.1);
  border-color: rgba(var(--spec-color-rgb, 13,148,136), 0.28);
  transform: translateY(-2px);
}
.spec-type-icon {
  color: var(--spec-color, rgba(56,185,220,1));
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.spec-type-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.35;
}
/* Statement card — editorial pull quote em Oriole, último card do row2 */
.spec-card--statement {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.spec-card--statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 55%,
    rgba(var(--spec-color-rgb, 13,148,136), 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.spec-statement-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  position: relative;
}
.spec-statement-hl {
  text-shadow: 0 0 14px rgba(246,246,247,0.60), 0 0 40px rgba(246,246,247,0.22);
  transition: text-shadow 0.4s ease;
}
.spec-card--statement:hover .spec-statement-hl {
  text-shadow: 0 0 20px rgba(255,255,255,0.95), 0 0 60px rgba(255,255,255,0.45);
}
@media (max-width: 1100px) {
  .spec-bento-grid { grid-template-columns: 1fr 1fr; }
  .spec-bento-row2, .spec-card--types,
  .spec-card--image, .spec-card--statement { grid-column: auto; }
  .spec-bento-grid--no-coord > .spec-card--types { grid-column: 1 / -1; }
  .spec-bento-grid--no-coord > .spec-card--image,
  .spec-bento-grid--no-coord > .spec-card--statement { grid-column: auto; }
  .spec-type-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* will-change + translateZ(0) em elementos grandes criam texturas GPU que o iOS descarta
     ao rolar para fora da viewport — causando re-rasterização ao voltar. content-visibility
     permite ao browser renderizar apenas quando o elemento entra na viewport, sem layer GPU. */
  .spec-bento-section {
    padding: 0 0 64px;
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
  }
  .spec-bento-grid { grid-template-columns: 1fr; }
  .spec-bento-grid--no-coord > .spec-card--types { grid-column: auto; }
  /* spec-card: sem backdrop-filter, animação, box-shadow ou alpha blending */
  .spec-card {
    padding: 24px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0d0d15;
    border-color: rgba(255,255,255,0.07);
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .spec-card:hover { transform: none; box-shadow: none; }
  /* Pseudo-elementos com radial-gradient rgba() e transition = camadas GPU extras */
  .spec-card--types::before { display: none; }
  .spec-card--statement::before { display: none; }
  .spec-bento-row2 > * { opacity: 1; transform: none; transition: none; }
  .spec-bento-coord-photo { height: 220px; flex: none; transition: none; }
  /* Desabilita transform e transition nos type-cards — evita promoção de layer */
  .spec-type-card { transition: none; }
  .spec-type-card:hover { transform: none; }
  .spec-card--statement { padding: 28px 24px; }
  .spec-statement-text { font-size: 30px; }
  .spec-statement-hl { text-shadow: none; transition: none; }
  /* Esconde card de imagem no mobile — remove 180px+ de height e um Shadow DOM inteiro */
  .spec-card--image { display: none; }
  /* Coord photo card: remove opacity+transform transitions — evitam promoção de layer compositor */
  .spec-bento-coord-photo { transition: none; }
  /* Coord overlay: remove transform transition */
  .spec-coord-overlay { transition: none; }
  /* LinkedIn button: backdrop-filter cria layer GPU cara — substitui por fundo sólido */
  .spec-coord-linkedin { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,5,6,0.85); transition: none; }
  /* Glows: elimina filter:blur() e animação — sem layer GPU, sem re-rasterização por frame */
  .vertical-hero--spec::before,
  .vertical-hero--spec::after,
  .spec-bento-section::before,
  .spec-bento-section::after,
  .spec-specialty-nav::before {
    display: none;
  }
}

/* ============================================================
   SPECIALTY PAGES — tokens de cor por especialidade
   ============================================================ */

/* Estruturas: cinza */
[data-specialty="estruturas"] {
  --spec-color: rgb(158, 158, 166);
  --spec-color-rgb: 158, 158, 166;
  --spec-bg-gradient: linear-gradient(155deg, #1c1c20 0%, #0c0c0f 100%);
  --spec-icon-bg: rgba(158, 158, 166, 0.16);
  --spec-border: rgba(158, 158, 166, 0.28);
  --spec-glow-spot: rgba(158, 158, 166, 0.12);
  --spec-glow-outer: rgba(158, 158, 166, 0.04);
  --vertical-glow: rgba(158, 158, 166, 0.50);
  --vertical-accent: rgba(158, 158, 166, 0.18);
}

/* MEP Tubulações: azul */
[data-specialty="mep-tubulacoes"] {
  --spec-color: rgb(56, 135, 240);
  --spec-color-rgb: 56, 135, 240;
  --spec-bg-gradient: linear-gradient(155deg, #081a38 0%, #040c1a 100%);
  --spec-icon-bg: rgba(56, 135, 240, 0.18);
  --spec-border: rgba(56, 135, 240, 0.30);
  --spec-glow-spot: rgba(70, 150, 255, 0.16);
  --spec-glow-outer: rgba(56, 135, 240, 0.06);
  --vertical-glow: rgba(56, 135, 240, 0.55);
  --vertical-accent: rgba(56, 135, 240, 0.22);
}

/* MEP Elétrica: amarelo */
[data-specialty="mep-eletrica"] {
  --spec-color: rgb(225, 185, 35);
  --spec-color-rgb: 225, 185, 35;
  --spec-bg-gradient: linear-gradient(155deg, #28220c 0%, #110f05 100%);
  --spec-icon-bg: rgba(225, 185, 35, 0.18);
  --spec-border: rgba(225, 185, 35, 0.30);
  --spec-glow-spot: rgba(240, 200, 50, 0.16);
  --spec-glow-outer: rgba(225, 185, 35, 0.06);
  --vertical-glow: rgba(225, 185, 35, 0.55);
  --vertical-accent: rgba(225, 185, 35, 0.22);
}

/* Combate a Incêndios: vermelho */
[data-specialty="spda-incendios"] {
  --spec-color: rgb(215, 50, 50);
  --spec-color-rgb: 215, 50, 50;
  --spec-bg-gradient: linear-gradient(155deg, #2e0808 0%, #120404 100%);
  --spec-icon-bg: rgba(215, 50, 50, 0.18);
  --spec-border: rgba(215, 50, 50, 0.32);
  --spec-glow-spot: rgba(230, 65, 65, 0.16);
  --spec-glow-outer: rgba(215, 50, 50, 0.06);
  --vertical-glow: rgba(215, 50, 50, 0.55);
  --vertical-accent: rgba(215, 50, 50, 0.22);
}

/* Infraestruturas: marrom */
[data-specialty="infra"] {
  --spec-color: rgb(178, 118, 68);
  --spec-color-rgb: 178, 118, 68;
  --spec-bg-gradient: linear-gradient(155deg, #281a0c 0%, #100a04 100%);
  --spec-icon-bg: rgba(178, 118, 68, 0.18);
  --spec-border: rgba(178, 118, 68, 0.30);
  --spec-glow-spot: rgba(192, 132, 80, 0.16);
  --spec-glow-outer: rgba(178, 118, 68, 0.06);
  --vertical-glow: rgba(178, 118, 68, 0.55);
  --vertical-accent: rgba(178, 118, 68, 0.22);
}

/* ─── Specialty pages: atmospheric glows ────────────────────────────────── */

/* Container lift — glows ficam atrás, conteúdo fica na frente */
.vertical-hero--spec .container,
.spec-bento-section .container,
.spec-specialty-nav .container {
  position: relative;
  z-index: 1;
}

/* HERO — warm (topo-esquerdo, atrás da coluna de texto) */
.vertical-hero--spec::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
    rgba(var(--glow-warm), 0.12) 0%,
    transparent 58%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: glow-breathe-spec-a 6s ease-in-out infinite;
}

/* HERO — spec-color (direita-centro, atrás da imagem de render) */
.vertical-hero--spec::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -100px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle,
    rgba(var(--spec-color-rgb, 13,148,136), 0.09) 0%,
    transparent 58%);
  pointer-events: none;
  z-index: 0;
  filter: blur(55px);
  animation: glow-breathe-spec-b 7s ease-in-out infinite -3.5s;
}

/* BENTO — spec-color (topo-centro, desce sobre o grid) */
.spec-bento-section::before {
  content: '';
  position: absolute;
  top: -40px;
  left: calc(50% - 500px);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse 60% 55% at 50% 0%,
    rgba(var(--spec-color-rgb, 13,148,136), 0.07) 0%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  animation: glow-breathe-spec-b 7s ease-in-out infinite;
}

/* BENTO — warm (canto inferior-esquerdo, fecha a composição) */
.spec-bento-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
    rgba(var(--glow-warm), 0.07) 0%,
    transparent 58%);
  pointer-events: none;
  z-index: 0;
  filter: blur(65px);
  animation: glow-breathe-spec-a 6s ease-in-out infinite -2s;
}

/* NAV — spec-color (centro, estático — só quebra o flat black) */
.spec-specialty-nav::before {
  content: '';
  position: absolute;
  top: calc(50% - 150px);
  left: calc(50% - 350px);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse 55% 50% at 50% 50%,
    rgba(var(--spec-color-rgb, 13,148,136), 0.05) 0%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* ============================================================
   SPECIALTY PAGES V2 — elementos adicionais
   ============================================================ */

/* Hero stat line */
.vertical-hero-stat {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-3);
  margin: 20px 0 0;
  letter-spacing: 0.01em;
}
.vertical-hero-stat strong {
  color: var(--text-2);
  font-weight: 600;
}

/* Visual SVG — flutua absolutamente no canto superior direito, sem impacto no layout */
.spec-card-visual {
  position: absolute;
  top: 36px;
  right: 36px;
  height: auto;
  display: flex;
  align-items: center;
  color: rgba(var(--spec-color-rgb, 13,148,136), 0.6);
  pointer-events: none;
}
.spec-card:has(.spec-card-visual) {
  padding-right: 204px;
}
.spec-card-visual--img {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(var(--spec-color-rgb, 13,148,136), 0.06);
}
.spec-card-visual--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SVG float — gentle breathing animation */
@keyframes spec-visual-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}
.spec-card-visual svg {
  animation: spec-visual-float 5s ease-in-out infinite;
  display: block;
}

/* Stat display no Card 3 */
.spec-why-stat {
  margin-bottom: 20px;
}
.spec-why-stat-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  display: block;
}
.spec-why-stat-unit {
  font-size: 0.52em;
  opacity: 0.55;
}
.spec-why-stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 7px;
  line-height: 1.5;
  max-width: 180px;
}

/* Faixa de stats da Melius */
.spec-stat-band {
  padding: 0 0 64px;
}
.spec-stat-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-stat-band-item {
  background: var(--surface);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.spec-stat-band-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.spec-stat-band-label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

/* Navegação entre especialidades */
.spec-specialty-nav {
  padding: 56px 0 64px;
  position: relative;
}
.vertical-hero--spec {
  padding-top: 140px;
}
.spec-hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.spec-hero-text h1,
.spec-hero-text p { margin: 0; }
.spec-specialty-nav > .container > .eyebrow {
  display: block;
  margin-bottom: 16px;
}
.spec-specialty-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.spec-specialty-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.spec-specialty-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}
.spec-specialty-card.is-current {
  border-color: rgba(var(--spec-color-rgb, 13,148,136), 0.40);
  background: rgba(var(--spec-color-rgb, 13,148,136), 0.08);
  color: var(--text);
  pointer-events: none;
  cursor: default;
}
.spec-specialty-icon {
  color: var(--text-4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.spec-specialty-card:hover .spec-specialty-icon {
  color: var(--text-3);
}
.spec-specialty-card.is-current .spec-specialty-icon {
  color: rgba(var(--spec-color-rgb, 13,148,136), 0.85);
}

@media (max-width: 1100px) {
  .spec-stat-band-item { padding: 24px; }
}
@media (max-width: 720px) {
  .spec-card:has(.spec-card-visual) { padding-right: 36px; }
  .spec-card-visual { display: none; }
  .spec-stat-band-grid { grid-template-columns: 1fr 1fr; }
  .spec-stat-band-item { padding: 18px 20px; }
  .spec-specialty-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .spec-specialty-strip::-webkit-scrollbar { display: none; }
  .spec-specialty-card { flex-shrink: 0; }
  .spec-why-stat-num { font-size: 36px; }
}

/* ============================================================
   SPECIALTY PAGES — seção de coordenador
   ============================================================ */
.spec-coord-section {
  padding-bottom: 64px;
}
.spec-coord-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 12px;
}
.spec-coord-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 2 / 3;
}
/* Photo card inside spec-bento-row2 — flex: 1 para preencher espaço disponível */
.spec-bento-coord-photo {
  aspect-ratio: auto;
  flex: 1;
  min-height: 160px;
  transition: box-shadow 0.35s ease, border-color 0.35s ease,
              opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.spec-bento-coord-photo:hover {
  border-color: rgba(246,246,247,0.18);
  box-shadow: 0 0 0 1px rgba(246,246,247,0.07),
              0 0 28px rgba(246,246,247,0.10);
}
.spec-bento-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease,
              opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.spec-bento-image-card:hover {
  box-shadow: 0 14px 40px -10px rgba(0,0,0,0.55);
}
.spec-bento-image-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 150px;
  flex-shrink: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.spec-bento-image-col .spec-bento-image-card {
  flex: 1;
}

/* Col 1 row 1 — coluna de foto e logos de formação */
.spec-bento-row2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Estado inicial oculto para reveal stagger */
.spec-bento-row2 > * {
  opacity: 0;
  transform: translateY(20px);
}
.spec-bento-row2 > *.revealed {
  opacity: 1;
  transform: none;
}

.spec-bento-row2--statement-only {
  grid-template-columns: 1fr;
  height: auto;
}
.spec-bento-row2--statement-only .spec-card--statement {
  grid-column: 1 / -1;
  min-height: unset;
  padding: 28px 64px;
  justify-content: center;
  align-items: center;
}

/* Card de logos das instituições */
.spec-bento-logos-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.3s ease,
              opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.spec-bento-logos-card:hover {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}
.spec-bento-logos-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/* Overlay da foto — sobe no hover */
.spec-coord-overlay {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spec-coord-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.spec-coord-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(5,5,6,0.92) 0%, rgba(5,5,6,0) 100%);
}
.spec-coord-role {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin: 0 0 6px;
}
.spec-coord-name {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.2;
}
.spec-coord-cred {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0;
}
.spec-coord-linkedin {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 6px;
  background: rgba(5,5,6,0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.spec-coord-linkedin:hover {
  color: var(--text);
  background: rgba(5,5,6,0.75);
}
.spec-coord-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spec-coord-meta {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.spec-coord-meta-role {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--spec-color, rgba(56,185,220,1));
  margin: 0;
}
.spec-coord-meta-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.spec-coord-meta-creds {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.spec-coord-meta-cred {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}
.spec-coord-logos {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.spec-coord-logos img {
  max-height: 26px;
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
}

/* Coord section — image-slot placeholder */
.spec-coord-photo-card image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1100px) {
  .spec-coord-grid { grid-template-columns: 240px 1fr; }
  .vertical-hero--spec .vertical-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .spec-hero-image { height: 240px; }
}
@media (max-width: 720px) {
  .spec-coord-section { padding-bottom: 48px; }
  .spec-coord-grid { grid-template-columns: 1fr; }
  .spec-coord-photo-card { aspect-ratio: 3 / 4; }
  .spec-bento-coord-photo { height: 220px; }
}

/* ============================================================
   CASES — horizontal scrollable carousel
   ============================================================ */
.cases {
  padding: 40px 0 56px;
}
.cases .section-head {
  margin-bottom: 20px;
  max-width: none;
}
.cases-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(32px, calc((100vw - var(--container)) / 2 + 32px));
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  padding: 8px 0 12px;
  scroll-behavior: smooth;
  user-select: none;
}
.cases-scroller:active { cursor: grabbing; }
.cases-scroller::-webkit-scrollbar { display: none; }

.cases-track-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: max(32px, calc((100vw - var(--container)) / 2 + 32px));
}

.case-card {
  flex: 0 0 min(58vw, 1080px);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 360px;
  pointer-events: auto;
}
.cases-scroller.is-dragging .case-card { pointer-events: none; }
.cases-footer { margin-top: 12px; }
.cases-controls { display: flex; gap: 8px; }
.cases-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.cases-controls button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.case-img {
  position: relative;
  overflow: hidden;
  background: #07070a;
  min-height: 360px;
}
.case-img image-slot {
  width: 100%; height: 100%;
  --image-slot-bg: #07070a;
}
.case-meta {
  position: absolute;
  top: 20px; left: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.case-meta span {
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.6);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
}
.case-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}
.case-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
.case-blocks {
  display: flex; flex-direction: column; gap: 10px;
}
.case-block .label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text-3);
}
.case-block p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.case-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
.case-blocks {
  display: flex; flex-direction: column; gap: 18px;
}
.case-block { display: flex; flex-direction: column; gap: 6px; }
.case-block .label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text-3);
}
.case-block p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.case-block p.result-text { color: var(--text); font-weight: 500; }
.case-stats {
  display: flex;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.case-stats > div { display: flex; flex-direction: column; gap: 2px; }
.case-stats strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cases-controls {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.cases-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.cases-controls button:hover { background: rgba(255,255,255,0.05); color: var(--text); }

/* Gallery slider (Jardim dos Alecrins) */
.case-gallery-slides { position: absolute; inset: 0; }
.case-gallery-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.case-gallery-slide.active { opacity: 1; pointer-events: auto; }
.case-gallery-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.case-gallery-btn[data-dir="-1"] { left: 12px; }
.case-gallery-btn[data-dir="1"] { right: 12px; }
.case-gallery-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.38); }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.case-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.member {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  min-height: 300px;
}
/* box-shadow controlado via JS para garantir que a transição anime */
.team-grid .member {
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transition: opacity 0.6s ease,
              transform .3s cubic-bezier(0.34,1.56,0.64,1),
              border-color .4s ease,
              box-shadow 1.8s linear;
}
.team-grid .member.revealed {
  opacity: 1;
}
.team-grid .member:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}
/* Suppress glass sheen — photo handles left side visually */
.member.glass::after { display: none; }
.member-photo {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
/* Subtle right-edge fade — photo bleeds into card body */
.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 65%, rgba(14,14,17,0.55) 100%);
  pointer-events: none;
}
.member-photo image-slot { width: 100%; height: 100%; --image-slot-bg: #0a0a0c; }
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.member:hover .member-photo img { transform: scale(1.05); }
.member-body {
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-role {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
  font-weight: 600;
}
.member-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.member-bio {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 4px;
}
.member-creds {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.cred {
  font-family: var(--font-sans);
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-2);
}
.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background .2s, border-color .2s, transform .15s;
}
.member-linkedin:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.member-linkedin svg {
  color: rgba(246,246,247,0.85);
}

/* ============================================================
   CTA FINAL — light/inverted
   ============================================================ */
.cta-final {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: #efece4;
  color: #08080a;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(56,0,229,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-wrap {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  z-index: 1;
}
.cta-final .eyebrow { color: rgba(8,8,10,0.55); }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #08080a;
}
.cta-final p {
  font-family: var(--font-sans);
  font-size: 17px;
  color: rgba(8,8,10,0.65);
  max-width: 560px;
  line-height: 1.55;
}
.cta-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.cta-actions .btn-primary { padding: 16px 28px; font-size: 15px; }
.cta-final .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #08080a;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(8,8,10,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s;
}
.cta-final .btn-whatsapp:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(8,8,10,0.35);
  transform: translateY(-1px);
}

/* ============================================================
   FAQ — glass cards
   ============================================================ */
.faq-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-side h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.faq-side p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 320px;
}
.faq-side a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 4px;
  width: max-content;
  transition: border-color .2s;
}
.faq-side a:hover { border-color: var(--text); }

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  list-style: none;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--text); }
.faq-q .toggle {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-3);
  transition: transform .25s ease, color .2s;
  user-select: none;
}
.faq-item[open] .toggle {
  transform: rotate(45deg);
  color: var(--text-2);
}
.faq-a-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  min-height: auto;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 360px; }
.footer-brand .brand-logo { height: 80px; margin-bottom: 16px; }
.footer-brand p {
  font-family: var(--font-sans);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-family: var(--font-sans);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  gap: 24px;
}
.footer-bottom .links { display: flex; gap: 24px; }

/* ============================================================
   SATELLITE PAGES (Sobre, Verticais, Blog)
   ============================================================ */

/* Sobre — atmospheric glows */
body[data-page="sobre"] .editorial-hero { position: relative; }
body[data-page="sobre"] .editorial-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.14) 0%, rgba(var(--glow-warm), 0.04) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
body[data-page="sobre"] .editorial-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
body[data-page="sobre"] .editorial-hero .container { position: relative; z-index: 1; }

body[data-page="sobre"] .prose-section { position: relative; }
body[data-page="sobre"] .prose-section::before {
  content: "";
  position: absolute;
  top: 30%;
  right: -250px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
body[data-page="sobre"] .prose-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--glow-accent), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
body[data-page="sobre"] .prose-section .container { position: relative; z-index: 1; }

/* Page label header — top eyebrow strip */
.page-label {
  padding: 130px 0 48px;
  position: relative;
}
.page-label-inner {
  width: 100%;
  margin: 0 auto;
}
body[data-page="sobre"] .page-label-inner { max-width: 760px; }
body[data-page="blog"]  .page-label-inner { max-width: 1080px; }
.page-label span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-2);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.page-label span a {
  color: inherit;
  text-decoration: none;
}
.page-label span a:hover { color: var(--text); }

/* Page label as colored band (for vertical pages) */
.page-label-band {
  padding: 100px 0 0;
  position: relative;
}
.page-label-band .band {
  background: var(--accent);
  padding: 16px 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #ffffff;
}

/* Editorial hero — image left, title right (about page) */
.editorial-hero {
  padding: 24px 0 64px;
}
.editorial-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 32px;
  align-items: center;
}
.editorial-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.editorial-hero-img image-slot {
  --image-slot-bg: rgba(255,255,255,0.02);
  width: 100%;
  height: 100%;
}
.editorial-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}
.editorial-hero-title .dim {
  color: var(--text-4);
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(116,116,126,0.65);
}

/* Prose section — long-form body */
.prose-section {
  padding: 0 0 96px;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  text-align: justify;
}
.prose strong { color: var(--text); font-weight: 500; }
.prose p { margin: 0; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--text);
  text-align: left;
  margin: 32px 0 0;
}

/* Team section — bigger visual gallery */
.team-section {
  padding: 0 0 120px;
}
.team-section-head {
  margin-bottom: 40px;
}
.team-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}
.team-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.team-card-photo {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: inherit;
  overflow: hidden;
}
.team-card-photo image-slot {
  --image-slot-bg: rgba(255,255,255,0.02);
  width: 100%;
  height: 100%;
}
.team-card-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 16px;
  background: rgba(10,10,14,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-card-info strong {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.team-card-info small {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.team-card:hover {
  transform: translateY(-3px);
}

/* Vertical specialties — same glass card grid for the 3 service pages */
.specialties-section {
  padding: 0 0 120px;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.specialty-card {
  padding: 28px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.specialty-card .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text-2);
  align-self: flex-end;
  opacity: 0.85;
}
.specialty-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

@media (max-width: 1100px) {
  .editorial-hero-inner { grid-template-columns: 1fr; gap: 24px; max-width: 600px; }
  .team-gallery { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .team-gallery { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG
   ============================================================ */

.page-label.compact { padding: 96px 0 20px; }

/* Blog page — light theme break from the dark LP */
body[data-page="blog"] {
  background: #efece4;
  color: #08080a;
}
body[data-page="blog"] .nav.scrolled {
  background: rgba(239, 236, 228, 0.38);
  border-bottom-color: rgba(8,8,10,0.07);
}
body[data-page="blog"] .nav-menu {
  background: rgba(8,8,10,0.04);
  border-color: rgba(8,8,10,0.08);
}
body[data-page="blog"] .nav-menu a { color: rgba(8,8,10,0.65); }
body[data-page="blog"] .nav-menu a:hover,
body[data-page="blog"] .nav-menu a[aria-current="page"],
body[data-page="blog"] .nav-satellite { color: #08080a; }
body[data-page="blog"] .nav-menu a[aria-current="page"] { background: rgba(8,8,10,0.08); }
body[data-page="blog"] .nav-divider { background: rgba(8,8,10,0.15); }
body[data-page="blog"] .brand-logo {
  /* invert white logo to dark */
  filter: invert(1);
}
body[data-page="blog"] .page-label span { color: #08080a; }
body[data-page="blog"] footer { background: #e7e3d6; border-top-color: rgba(8,8,10,0.08); color: #08080a; }
body[data-page="blog"] footer .footer-brand p,
body[data-page="blog"] footer .footer-col a,
body[data-page="blog"] footer .footer-bottom { color: rgba(8,8,10,0.65); }
body[data-page="blog"] footer .footer-col a:hover { color: #08080a; }
body[data-page="blog"] footer .footer-col h4 { color: rgba(8,8,10,0.55); }
body[data-page="blog"] footer .footer-bottom { border-top-color: rgba(8,8,10,0.08); }
body[data-page="blog"] footer .brand-logo { filter: invert(1); }

/* Featured row — tighter, narrower */
.blog-featured {
  padding: 0 0 24px;
}
.blog-featured-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.blog-featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.blog-featured-grid .blog-card { min-height: 0; }
.blog-featured-grid .blog-card.hero {
  height: 340px;
  min-height: 0;
  max-height: none;
}
.blog-featured-grid .blog-card.hero .blog-card-img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 0;
}
.blog-featured-aside {
  height: 340px;
}
.blog-featured-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-featured-aside .blog-card { flex: 1; }

.blog-list { padding: 8px 0 80px; }
.blog-list-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Light theme card variants */
body[data-page="blog"] .blog-card {
  background: #ffffff;
  border: 1px solid rgba(8,8,10,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #08080a;
}
body[data-page="blog"] .blog-card:hover {
  border-color: rgba(8,8,10,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
}
body[data-page="blog"] .blog-card-cat { color: rgba(8,8,10,0.55); }
body[data-page="blog"] .blog-card h3 { color: #08080a; }
body[data-page="blog"] .blog-card p { color: rgba(8,8,10,0.65); }
body[data-page="blog"] .blog-card-meta { color: rgba(8,8,10,0.5); }
body[data-page="blog"] .blog-card-img { background: rgba(8,8,10,0.04); }

/* Keep accent feature card same purple */
body[data-page="blog"] .blog-card.feature-accent {
  background: linear-gradient(180deg, var(--accent) 0%, #2a00b0 100%);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
body[data-page="blog"] .blog-card.feature-accent .blog-card-img { background: rgba(0,0,0,0.2); }
body[data-page="blog"] .blog-card.feature-accent .blog-card-cat,
body[data-page="blog"] .blog-card.feature-accent .blog-card-meta { color: rgba(255,255,255,0.7); }
body[data-page="blog"] .blog-card.feature-accent h3 { color: #fff; }
body[data-page="blog"] .blog-card.feature-accent p { color: rgba(255,255,255,0.85); }

/* Light filters */
body[data-page="blog"] .blog-filter {
  background: #fff;
  border-color: rgba(8,8,10,0.08);
  color: rgba(8,8,10,0.65);
}
body[data-page="blog"] .blog-filter:hover { border-color: rgba(8,8,10,0.18); color: #08080a; }
body[data-page="blog"] .blog-filter.active {
  background: #08080a;
  border-color: #08080a;
  color: #fff;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(0,0,0,0.7);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.blog-card-img image-slot {
  --image-slot-bg: rgba(255,255,255,0.02);
  width: 100%;
  height: 100%;
}
.blog-card.hero .blog-card-img {
  aspect-ratio: auto;
  flex: 1;
  min-height: 0;
}
/* Featured aside cards — horizontal layout (image left, text right) */
.blog-featured-aside .blog-card {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.blog-featured-aside .blog-card .blog-card-img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.blog-featured-aside .blog-card .blog-card-body {
  padding: 14px 16px;
}
.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.blog-card-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}
.blog-card.hero h3 { font-size: clamp(18px, 1.6vw, 22px); }
.blog-card p {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: auto;
}
.blog-card-meta {
  display: flex;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}
.blog-card-meta .sep { opacity: 0.4; }

.blog-card.feature-accent {
  background: linear-gradient(180deg, var(--accent) 0%, #2a00b0 100%);
  border-color: rgba(255,255,255,0.08);
}
.blog-card.feature-accent .blog-card-img { background: rgba(0,0,0,0.2); }
.blog-card.feature-accent .blog-card-cat,
.blog-card.feature-accent .blog-card-meta { color: rgba(255,255,255,0.7); }
.blog-card.feature-accent h3 { color: #ffffff; }
.blog-card.feature-accent p { color: rgba(255,255,255,0.85); }

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.blog-filter {
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.blog-filter:hover { color: var(--text); border-color: rgba(255,255,255,0.16); }
.blog-filter.active { background: rgba(255,255,255,0.1); color: var(--text); border-color: rgba(255,255,255,0.2); }

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-grid { grid-template-columns: 1fr; }
  .blog-featured-grid .blog-card.hero { grid-row: auto; min-height: 360px; }
}
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero-visual { min-height: 380px; }
  .hero-bim-img { left: -20%; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .scenario-sep { display: none; }
  .scenarios-grid > .scenario-col:nth-child(4n+1) { border-right: none; }
  .scenarios-grid > .scenario-col:nth-last-child(3) { border-bottom: 1px solid var(--border); }
  .scenario-col { border-bottom: 1px solid var(--border); }
  .scenario-col:last-child { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-bento-top { grid-template-columns: 1fr 1fr; }
  .why-bento-statement { padding: 40px 36px 36px; }
  .why-bento-statement h2 { font-size: clamp(16px, 2vw, 28px); }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .process-timeline::before { display: none; }
  .process-rail-fill { display: none; }
  .case-card { flex: 0 0 88vw; grid-template-columns: 1fr; }
  .case-img { min-height: 280px; }
  .team-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { min-height: auto; padding: 80px 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-menu { display: none; }
  .stats-cards { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 28px; }
  .process-step { align-items: flex-start; }
  .process-step-node { margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .manifesto-card { padding: 48px 28px; }
  .case-card { flex: 0 0 92vw; }
  .case-img { min-height: 220px; }
  .case-body { padding: 20px; }
  .case-body h3 { font-size: 21px; }
  .cases-controls { display: none; }
  .cases-track-inner { padding-inline: 20px; }
  .testimonial { grid-template-columns: 64px 1fr; gap: 14px; }
  .testimonial-photo { width: 64px; height: 64px; }
  .testimonial-bubble { padding: 18px 20px; min-height: 64px; }
  .member { grid-template-columns: 160px 1fr; }
  .member-name { font-size: 20px; }
}

/* ============================================================
   MOBILE NAV — hamburger + full-screen drawer
   ============================================================ */

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

@media (max-width: 720px) {
  /* Show hamburger; hide desktop pill menu and CTA button */
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Nav menu → liquid glass drawer */
  .nav-menu {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 4px;
    padding: 24px 20px 48px;
    background: rgba(8, 8, 12, 0.82);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    overflow-y: auto;
    z-index: 49;
  }
  .nav.open .nav-menu {
    display: flex;
    animation: mobileNavIn .25s ease forwards;
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Logo menor no mobile */
  .brand-logo { height: 44px; }
  .nav-menu a {
    font-size: 17px;
    font-weight: 500;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    width: 100%;
    background: transparent;
  }
  .nav-menu a:hover,
  .nav-menu a.active,
  .nav-menu a[aria-current="page"] {
    background: rgba(255,255,255,0.06);
    color: var(--text);
  }
  .nav-divider { width: 100%; height: 1px; margin: 8px 0; }

  /* Dropdown — accordion inside mobile drawer */
  .nav-dropdown-wrap { flex-direction: row; align-items: center; flex-wrap: wrap; width: 100%; }
  .nav-dropdown-wrap > a.nav-satellite { flex: 1; width: auto; }

  /* Accordion toggle button (injected by nav-dropdown.js) */
  .nav-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    padding: 0;
  }
  .nav-accordion-toggle:hover { background: rgba(255,255,255,0.06); color: var(--text); }
  .nav-accordion-toggle svg { transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
  .nav-accordion-toggle.is-open svg { transform: rotate(180deg); }

  /* Hidden by default; revealed via max-height accordion */
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    /* Background próprio: cobre o compositing punch-through do overflow:hidden */
    background: rgba(14, 14, 20, 0.96);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
    min-width: auto;
    width: 100%;
    max-height: 0;
    margin-top: 4px;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-dropdown.accordion-open { max-height: 480px; padding: 6px 0 8px; }
  .nav-dropdown::before { display: none; }
  .nav-dropdown > * { position: static; }
  .nav-dropdown a { font-size: 15px; padding: 10px 20px; color: var(--text-2); box-shadow: none; }
  .nav-dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.06); box-shadow: none; }
  .nav-dropdown-sep { display: none; }
  .nav-dropdown-all { display: none; }
  /* Neutraliza os seletores hover/is-open do desktop que disparam no toque iOS */
  .nav-dropdown-wrap:hover .nav-dropdown,
  .nav-dropdown-wrap:hover .nav-dropdown.accordion-open,
  .nav-dropdown.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Sub-menu — flat list aninhado no drawer mobile */
  .nav-dropdown-item-wrap { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-item-wrap > a { width: 100%; }
  .nav-dropdown-item-chevron { display: none; }
  .nav-dropdown-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.10);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0 0 0 12px;
    margin: 2px 0 4px 16px;
    min-width: auto;
    width: calc(100% - 16px);
    transition: none;
  }
  .nav-dropdown-sub::before { display: none; }
  .nav-dropdown-sub > * { position: static; }
  .nav-dropdown-sub a { font-size: 14px; padding: 8px 10px; color: var(--text-4); box-shadow: none; }
  .nav-dropdown-sub a:hover { color: var(--text); background: none; box-shadow: none; }
  .nav-dropdown-sub .nav-dropdown-sep { display: none; }
  .nav-dropdown-sub-all { display: none !important; }

  /* CTA inside drawer — liquid glass */
  .nav-mobile-cta {
    display: inline-flex !important;
    margin-top: 16px;
    align-self: stretch;
    justify-content: center;
    font-size: 15px;
    border-radius: var(--radius-sm);
    background: rgba(56, 0, 229, 0.48) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(110, 80, 255, 0.45) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 20px rgba(56,0,229,0.28) !important;
  }
  .nav-mobile-cta:active {
    background: rgba(56, 0, 229, 0.65) !important;
  }

  /* ---- Hero ---- */
  /* Ensure hero clears the fixed nav (overrides section{padding:80px 0} from 1100px) */
  .hero { padding-top: 96px; overflow-x: clip; }
  /* Copy first, image below on mobile */
  .hero-copy { order: -1; }
  .hero-visual { min-height: 300px; }
  /* Center the BIM image; wider than container to fill sides */
  .hero-bim-img {
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 130%;
    max-width: none;
    /* Remove filter no mobile: elimina passo GPU extra por frame durante parallax */
    filter: none;
  }
  /* Hero CTA buttons — stack full-width on small screens */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* ---- Stats ---- */
  .stats-cards { margin-top: 40px; }
  /* Remove backdrop-filter + box-shadow do glass no mobile */
  .glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0d0d15;
    box-shadow: none;
  }
  /* Pseudo-elements do hero geram camadas GPU desnecessárias no mobile */
  .hero::before, .hero::after { filter: none; }

  /* ---- Pain / Scenarios ---- */
  .scenario-col { padding: 28px 20px; }
  .scenario-icon { height: 170px; padding-bottom: 18px; }
  .scenario-icon svg { width: 120px; height: 140px; }
  .scenario-text h3 { font-size: 17px; }

  /* ---- Why ---- */
  .why-bento-wrap { margin: 0 0 64px; }
  .why-bento-top { grid-template-columns: 1fr; min-height: auto; }
  .why-bento-top .why-bento-card { border-left: none; border-top: 1px solid var(--border); }
  .why-bento-bottom { grid-template-columns: 1fr; }
  .why-bento-bottom .why-bento-card + .why-bento-card { border-left: none; border-top: 1px solid var(--border); }
  .why-bento-statement { padding: 36px 28px 32px; }
  .why-bento-text { padding: 22px 24px 28px; }

  /* ---- Solutions ---- */
  .sol-card { padding: 22px; }

  /* ---- Process ---- */
  .process-step h3 { font-size: 15px; }
  /* Scroll snap causa cálculos pesados no iOS durante fast scroll */
  html { scroll-snap-type: none; }
  section { scroll-snap-align: none; }
}

/* ============================================================
   SOLUÇÕES PAGE
   ============================================================ */
.sol-page-intro {
  padding: 20px 0 0;
}
.sol-intro-head {
  margin-bottom: 24px;
}
.sol-intro-head h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 10px 0 14px;
}
.sol-intro-head h1 em { font-weight: 300; }
.sol-intro-head p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 500px;
}

/* Tab bar */
.sol-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sol-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
  position: relative;
}
.sol-tab:last-child { border-right: none; }
.sol-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sol-tab-accent);
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: left;
}
.sol-tab.is-active::after { transform: scaleX(1); }
.sol-tab.is-active { background: rgba(255,255,255,0.03); }
.sol-tab:hover:not(.is-active) { background: rgba(255,255,255,0.02); }
.sol-tab--teal   { --sol-tab-accent: rgba(60,185,230,0.8); }
.sol-tab--violet { --sol-tab-accent: rgba(150,120,255,0.8); }
.sol-tab--emerald{ --sol-tab-accent: rgba(55,210,120,0.8); }
.sol-tab-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-4);
}
.sol-tab.is-active .sol-tab-num { color: var(--sol-tab-accent); }
.sol-tab-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.sol-tab.is-active .sol-tab-name { color: var(--text); }
.sol-tab-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
}

/* Panels */
.sol-panel {
  padding: 56px 0 var(--section-pad-y);
  position: relative;
  overflow: hidden;
}
.sol-panel::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -60px;
  width: 500px;
  height: 340px;
  background: radial-gradient(ellipse, var(--sol-panel-glow) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(24px);
}
.sol-panel--teal    { --sol-panel-glow: rgba(38,155,200,0.14); }
.sol-panel--violet  { --sol-panel-glow: rgba(110,80,255,0.13); }
.sol-panel--emerald { --sol-panel-glow: rgba(38,180,100,0.12); }
.sol-panel-desc {
  margin-bottom: 32px;
  max-width: 580px;
}
.sol-panel-desc p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Product cards */
.sol-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sol-product {
  padding: 26px 26px 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.sol-product-n {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sol-product-accent, var(--text-4));
  margin-bottom: 10px;
}
.sol-product h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.sol-product p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.sol-panel--teal    .sol-product { --sol-product-accent: rgba(60,185,230,0.75); }
.sol-panel--violet  .sol-product { --sol-product-accent: rgba(150,120,255,0.75); }
.sol-panel--emerald .sol-product { --sol-product-accent: rgba(55,210,120,0.75); }

@media (max-width: 1100px) {
  .sol-tabs { grid-template-columns: 1fr; border-radius: var(--radius-sm); }
  .sol-tab  { border-right: none; border-bottom: 1px solid var(--border); }
  .sol-tab:last-child { border-bottom: none; }
  .sol-tab::after { top: 0; bottom: auto; height: 2px; }
  .sol-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sol-products-grid { grid-template-columns: 1fr; }
  .sol-tab { padding: 16px 20px; }
}

/* ============================================================
   SOBRE PAGE — enhanced sections
   ============================================================ */

/* --- Hero: full-width image + statement below --- */
body[data-page="sobre"] .editorial-hero {
  padding: 24px 0 56px;
}
body[data-page="sobre"] .editorial-hero .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
body[data-page="sobre"] .editorial-hero-img {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
body[data-page="sobre"] .editorial-hero-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(13px, 1.4vw, 17px);
  white-space: nowrap;
}

/* --- Prose lead --- */
.prose-lead {
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  line-height: 1.5 !important;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  text-align: left !important;
}

/* --- Stats strip --- */
.sobre-stats {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.sobre-stats::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.sobre-stats .container { position: relative; z-index: 1; }
.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sobre-stats-item {
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sobre-stats-item + .sobre-stats-item {
  border-left: 1px solid var(--border);
}
.sobre-stats-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  color: var(--text);
  letter-spacing: -0.02em;
}
.sobre-stats-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-top: 6px;
}

/* --- Valores / Pilares --- */
.sobre-valores {
  position: relative;
}
.sobre-valores::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -300px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(var(--glow-accent), 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.sobre-valores::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--glow-cool), 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(35px);
}
.sobre-valores .container { position: relative; z-index: 1; }

.sobre-val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sobre-val-card {
  background: rgba(14, 14, 17, 0.55);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sobre-val-card + .sobre-val-card {
  border-left: 1px solid var(--border);
}
.sobre-val-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
.sobre-val-card::after {
  content: attr(data-n);
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 700;
  color: var(--text);
  opacity: 0.055;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sobre-val-card:hover::after {
  opacity: 0.22;
  transform: scale(1.04) translate(2px, 2px);
}
.sobre-val-text {
  padding: 36px 36px 56px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(5px) scale(0.985);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sobre-val-card:hover .sobre-val-text {
  transform: translateY(0) scale(1);
}
.sobre-val-n {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-4);
  letter-spacing: 0.1em;
}
.sobre-val-text h3 {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.sobre-val-text p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* --- Timeline --- */
.sobre-timeline-section {
  position: relative;
}
.sobre-timeline-section::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--glow-violet), 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.sobre-timeline-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--glow-warm), 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.sobre-timeline-section .container { position: relative; z-index: 1; }

/* Horizontal timeline */
.sobre-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}
/* Horizontal rail */
.sobre-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  right: 5px;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border) 4%, var(--border) 96%, transparent 100%);
  z-index: 0;
}
.sobre-tl-item {
  position: relative;
  padding-right: 20px;
  padding-top: 0;
}
.sobre-tl-item:last-child { padding-right: 0; }
.sobre-tl-node {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.sobre-tl-node.active {
  background: var(--text);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(246,246,247,0.08), 0 0 12px rgba(246,246,247,0.06);
}
.sobre-tl-item--current .sobre-tl-node.active {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(79,31,255,0.15), 0 0 16px rgba(79,31,255,0.2);
}
.sobre-tl-year {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 6px;
}
.sobre-tl-body h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.sobre-tl-body p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive 1100px --- */
@media (max-width: 1100px) {
  .sobre-val-grid { grid-template-columns: 1fr; }
  .sobre-val-card + .sobre-val-card { border-left: none; border-top: 1px solid var(--border); }
  .sobre-timeline { grid-template-columns: repeat(3, 1fr); }
}

/* --- Responsive 720px --- */
@media (max-width: 720px) {
  body[data-page="sobre"] .editorial-hero-title { white-space: normal; font-size: 15px; }
  .prose-lead { font-size: 17px !important; }
  .sobre-val-text { padding: 28px 24px 40px; }
  .sobre-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 24px;
  }
  .sobre-timeline::before {
    top: 5px; left: 0; right: auto; bottom: 5px;
    width: 1px; height: auto;
    background: linear-gradient(to bottom, transparent 0%, var(--border) 6%, var(--border) 94%, transparent 100%);
  }
  .sobre-tl-item { padding-right: 0; padding-bottom: 40px; }
  .sobre-tl-item:last-child { padding-bottom: 0; }
  .sobre-tl-node { position: absolute; left: -29px; top: 0; margin-bottom: 0; }
}

/* ════════════════════════════════════════════
   PROJETOS BIM — página produto (pbim-*)
   ════════════════════════════════════════════ */

/* ── Hero — layout split ── */
.vertical-hero--pbim .vertical-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: none;
}
.pbim-hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.vertical-hero--pbim::after {
  content: '';
  position: absolute;
  top: 0;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--pbim-teal), 0.14) 0%, transparent 58%);
  pointer-events: none;
}
.pbim-hero-video {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: rgba(var(--pbim-teal), 0.04);
  border: 1px solid rgba(var(--pbim-teal), 0.12);
}
.pbim-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero pillar strip ── */
.pbim-hero-pillars {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.pbim-pillar {
  background: var(--bg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
.pbim-pillar.revealed {
  opacity: 1;
  transform: none;
}
.pbim-pillar::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.pbim-pillar:hover {
  background: rgba(255,255,255,0.02);
}
.pbim-pillar:hover::before {
  opacity: 1;
}
.pbim-stat-card {
  display: inline-block;
  align-self: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-3);
}
.pbim-stat-card strong {
  color: var(--text);
  font-weight: 600;
}
.pbim-pillar-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(var(--pbim-teal), 0.1);
  border: 1px solid rgba(var(--pbim-teal), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: rgba(var(--pbim-teal), 0.85);
}
.pbim-pillar h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pbim-pillar > p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Specialty directory ── */
.pbim-specs-section {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pbim-specs-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(var(--glow-cool), 0.11) 0%, transparent 65%);
  pointer-events: none;
}
.pbim-specs-header {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.pbim-specs-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.pbim-specs-header > p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-2);
}
.pbim-spec-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.pbim-spec-card {
  --spec-rgb: var(--pbim-teal);
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
  min-height: 180px;
}
.pbim-spec-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--spec-rgb), 0.12) 0%, transparent 65%);
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.75;
}
.pbim-spec-card:nth-child(4) { grid-column: 1 / span 2; }
.pbim-spec-card:nth-child(5) { grid-column: 3 / span 2; }
.pbim-spec-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(var(--spec-rgb), 0.3);
}
.pbim-spec-card:hover::before {
  transform: scale(1.3);
  opacity: 1;
}
.pbim-spec-card--estruturas     { --spec-rgb: 158, 158, 166; }
.pbim-spec-card--mep-tubulacoes  { --spec-rgb: 56, 135, 240; }
.pbim-spec-card--mep-eletrica   { --spec-rgb: 225, 185, 35; }
.pbim-spec-card--spda-incendios  { --spec-rgb: 215, 50, 50; }
.pbim-spec-card--infraestruturas { --spec-rgb: 178, 118, 68; }
.pbim-spec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--spec-rgb), 0.1);
  border: 1px solid rgba(var(--spec-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--spec-rgb), 0.85);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.pbim-spec-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.pbim-spec-phrase {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  flex: 1;
}
.pbim-spec-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-4);
  margin-top: 16px;
  align-self: flex-end;
}

/* ── Responsive 720px ── */
@media (max-width: 720px) {
  .vertical-hero--pbim .vertical-hero-inner {
    grid-template-columns: 1fr;
  }
  .pbim-hero-video {
    height: 220px;
  }
  .pbim-hero-pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pbim-hero-pillars .pbim-pillar + .pbim-pillar {
    border-top: 1px solid var(--border);
  }
  .pbim-spec-list {
    grid-template-columns: 1fr 1fr;
  }
  .pbim-spec-card,
  .pbim-spec-card:nth-child(4),
  .pbim-spec-card:nth-child(5) {
    grid-column: span 1;
  }
  .pbim-spec-phrase {
    display: none;
  }
}

/* ============================================================
   MOBILE OPTIMIZATION
   Todos os overrides 720px centralizados — não editar acima.
   ============================================================ */

/* --- Fundação global --- */
@media (max-width: 720px) {
  /* Padding de seção: 96px desktop → 56px mobile */
  section { padding: 56px 0; }

  /* Espaço para a sticky bar */
  body { padding-bottom: 72px; }

  /* Tap targets mínimos */
  .btn { min-height: 44px; }
  .nav-hamburger { min-height: 44px; min-width: 44px; }
  .faq-q { min-height: 44px; display: flex; align-items: center; }

  /* Hero CTA: botão largura total */
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Dores: mostrar 2 de 4 */
  .scenarios-grid .scenario-col:nth-child(n+5) { display: none; }

  /* Depoimentos: mostrar 2 */
  .testimonials-grid .testimonial:nth-child(n+3) { display: none; }

  /* Por que a Melius: esconder no mobile */
  .why { display: none; }

  /* Processo: lista compacta vertical */
  .process-timeline { gap: 0; }
  .process-step { padding: 20px 0; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .process-step-node { margin-bottom: 12px; }

  /* Equipe: foto menor (160px → 80px) */
  .member { grid-template-columns: 80px 1fr; }

  /* CTA final: botão largura total */
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* FAQ: 4 visíveis */
  .faq-list .faq-item:nth-child(n+5) { display: none; }

  /* PBIM stat card: ocupar largura total */
  .pbim-stat-card { align-self: stretch; text-align: center; width: 100%; }

  /* PBIM pillar: padding reduzido */
  .pbim-pillar { padding: 20px 16px; }

  /* Imagens: permitir scroll vertical sobre elas */
  img { touch-action: pan-y; }
}

/* --- Sticky CTA: base (fora do media query — display:none por padrão) --- */
.mobile-sticky-cta {
  display: none;
}

/* --- Sticky CTA: mobile only --- */
@media (max-width: 720px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 6, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  .mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    background: rgba(56, 0, 229, 0.52);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(110, 80, 255, 0.50);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 4px 16px rgba(56,0,229,0.30);
  }
  .mobile-sticky-btn:active {
    background: rgba(56, 0, 229, 0.72);
  }
  .mobile-sticky-wapp {
    flex-shrink: 0;
  }
}
