/* 
  Razviel For Brands - Dedicated CSS 
  This file contains all styles for the Brands page to maintain a strict ZERO INLINE CSS architecture.
*/

/* --- Global Section Padding --- */
.brands-section {
  padding: var(--space-8) 0;
}
.brands-section-large {
  padding: var(--space-10) 0;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.margin-auto { margin: 0 auto; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }
.font-sm { font-size: 0.875rem; }
.font-xl { font-size: 2.5rem; }
.font-600 { font-weight: 600; }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success-color); }
.text-accent { color: var(--accent-color); }
.text-warning { color: var(--warning-color); }
.bg-surface { background: var(--bg-surface); }
.radius-sm { border-radius: 4px; }
.radius-md { border-radius: 8px; }
.radius-t { border-radius: 6px 6px 0 0; }
.radius-full { border-radius: 999px; }
.border-subtle { border: 1px solid var(--border-subtle); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.pb-2 { padding-bottom: var(--space-2); }
.pb-4 { padding-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-10); }

.w-8px { width: 8px; }
.h-8px { height: 8px; }
.w-15 { width: 15%; }
.w-28 { width: 28%; }
.w-42 { width: 42%; }
.h-40px { height: 40px; }
.h-400px { height: 400px; }
.h-600px { height: 600px; }

.flex-row { flex-direction: row; }
.row-span-2 { grid-row: span 2; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.opacity-10 { opacity: 0.1; }

.border-success { border: 1px solid var(--success-color); }
.border-warning { border: 1px solid var(--warning-color); }
.border-subtle-accent { border-color: rgba(99, 102, 241, 0.075); }
.border-subtle-light { border-color: rgba(255,255,255,0.05); }

.gradient-to-t-primary { background: linear-gradient(to top, var(--bg-primary), transparent); }
.gradient-to-b-warning { background: linear-gradient(to bottom, var(--warning-color), transparent); }
.split-after-bg { background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.025) 0%, var(--bg-surface) 100%); }

.bg-transparent { background: transparent !important; }
.bg-success { background: var(--success-color); }

.font-lg { font-size: 1.125rem; }
.font-title-lg { font-size: clamp(2rem, 4vw, 3rem); }
.italic { font-style: italic; }

/* Product Scene overrides */
.mockup-success-bg { background: rgba(16, 185, 129, 0.013); border-color: rgba(16, 185, 129, 0.05); }
.mockup-warning-top { border-top: 4px solid var(--warning-color); }
.bg-success-light { background: rgba(16, 185, 129, 0.025); }
.bg-accent-light { background: rgba(99, 102, 241, 0.025); }
.border-accent { border: 1px solid var(--accent-color); }
.border-bottom-none { border-bottom: none; }
.h-20 { height: 20%; }
.h-30 { height: 30%; }
.h-40 { height: 40%; }
.h-50 { height: 50%; }
.h-60 { height: 60%; }
.h-80 { height: 80%; }
.h-90 { height: 90%; }
.h-100 { height: 100%; }
.h-200px { height: 200px; }
.bg-warning { background: var(--warning-color); }
.border-top-warning { border-top-color: var(--warning-color); }
.circle-empty-accent { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent-color); }

/* --- Brands Hero Specific --- */
.hero-brands {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  text-align: center;
}
.hero-brands-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero-brands-subhead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto var(--space-6);
  line-height: 1.6;
}
.hero-brands-qualification {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-8);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  display: inline-block;
}
.hero-brands-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.hero-brands-microcopy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-10);
}

/* --- Brands Hero Growth Rail Redesign --- */
.hero-brands-rail {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.hero-rail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero-rail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-brands-headline-refined {
    font-size: 2.5rem;
  }
}
.hero-eyebrow {
  letter-spacing: 0.15em;
}
.hero-brands-headline-refined {
  font-size: 3.75rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 600px;
}
.hero-brands-subhead-refined {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 560px;
}
.hero-brands-headline.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.hero-brands-subhead.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.justify-start {
  justify-content: flex-start;
}
.margin-0 {
  margin: 0;
}

/* --- Cinematic Hero Scene (Right) --- */
.hero-scene-visual {
  position: relative;
  width: 100%;
}
.hero-scene-slab {
  background: rgba(10, 10, 15, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: var(--space-6);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
}

/* Chaos Zone */
.scene-chaos-zone {
  width: 35%;
  position: relative;
  border-right: 1px dashed rgba(255,255,255,0.05);
}
.scene-axis-line {
  position: absolute;
  bottom: 0; left: 20px; top: 0;
  width: 2px;
  background: linear-gradient(to top, rgba(255,255,255,0.05), rgba(255, 107, 107, 0.1));
}
.scene-milestone {
  position: absolute;
  left: 35px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.scene-milestone-dot {
  position: absolute;
  left: -19px; top: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.scene-milestone-dot.warn {
  background: var(--warning-color);
  box-shadow: 0 0 10px var(--warning-color);
}
.scene-fragments {
  position: absolute;
  top: 0; left: 60px; right: 0; bottom: 0;
}
.scene-fragment {
  position: absolute;
  font-size: 0.65rem;
  padding: 4px 8px;
  background: rgba(255, 107, 107, 0.013);
  border: 1px solid rgba(255, 107, 107, 0.037);
  color: rgba(255, 107, 107, 0.15);
  border-radius: 4px;
  white-space: nowrap;
  animation: float-drift 8s infinite alternate ease-in-out;
}
.frag-1 { bottom: 15%; left: 10%; animation-delay: 0s; }
.frag-2 { bottom: 25%; left: 40%; animation-delay: 1s; }
.frag-3 { bottom: 35%; left: 5%; animation-delay: 2s; }
.frag-4 { bottom: 45%; left: 30%; animation-delay: 0.5s; }
.frag-5 { bottom: 55%; left: 50%; animation-delay: 1.5s; }
.frag-6 { bottom: 65%; left: 10%; animation-delay: 2.5s; }
.frag-7 { bottom: 75%; left: 60%; animation-delay: 0.8s; }
.frag-8 { bottom: 85%; left: 20%; animation-delay: 1.2s; }
.frag-9 { bottom: 90%; left: 45%; animation-delay: 2.2s; }
.frag-10 { bottom: 80%; left: 5%; animation-delay: 0.3s; }

/* Absorption Core */
.scene-absorption-core {
  width: 20%;
  position: relative;
}
.absorption-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.037) 0%, transparent 70%);
  animation: pulse-glow 4s infinite alternate;
}
.absorption-beam {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  box-shadow: 0 0 20px var(--primary-color);
}

/* Infra Zone */
.scene-infra-zone {
  width: 40%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.scene-infra-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  align-items: flex-end;
}
.infra-output {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(46, 204, 113, 0.037);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-primary);
  box-shadow: inset 0 0 15px rgba(46,204,113,0.03);
  transition: all 0.3s ease;
}
.infra-output:hover {
  background: rgba(46, 204, 113, 0.013);
  transform: translateX(-5px);
  border-color: rgba(46, 204, 113, 0.075);
}

/* --- Growth Problem Redesign --- */
.growth-problem {
  padding: var(--space-12) 0;
}
.growth-panel {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-10) var(--space-8);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.growth-panel-glow {
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 50%;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.037) 0%, transparent 70%);
  pointer-events: none;
}
.growth-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-10);
  position: relative;
  z-index: 2;
}
.growth-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.growth-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.growth-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}
.growth-drag-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .growth-drag-panel {
    grid-template-columns: 1fr;
  }
}

/* Left: Drag Rail */
.drag-rail-zone {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-8);
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.drag-rail-container {
  position: relative;
  padding: var(--space-4) 0;
  margin-top: var(--space-6);
}
.drag-line {
  position: absolute;
  top: 14px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255, 107, 107, 0.125));
  z-index: 1;
}
.drag-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.drag-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}
.drag-milestone {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.drag-dot {
  width: 12px; height: 12px;
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  margin-bottom: var(--space-3);
  transition: all 0.3s ease;
}
.drag-label {
  font-size: 0.75rem;
  line-height: 1.4;
}
.node-warn {
  border-color: var(--warning-color);
  box-shadow: 0 0 10px rgba(255, 183, 77, 0.075);
}
.node-error {
  border-color: var(--danger-color);
  background: rgba(255, 107, 107, 0.05);
}
.pulse-error {
  animation: pulse-glow-error 2s infinite alternate;
}
@keyframes pulse-glow-error {
  0% { box-shadow: 0 0 5px rgba(255, 107, 107, 0.05); }
  100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.2); }
}

/* Right: Infra Contrast */
.infra-contrast-zone {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.013), rgba(46, 204, 113, 0.013));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}
.infra-contrast-glow {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.037) 0%, transparent 70%);
  pointer-events: none;
}
.infra-contrast-content {
  position: relative;
  z-index: 2;
}
.infra-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stack-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(46, 204, 113, 0.05);
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.badge-subtle {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- Support Explosion Section --- */
.support-explosion {
  padding: var(--space-10) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
}
.explosion-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  max-width: 1100px;
  margin: 0 auto;
}
.explosion-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.explosion-card.span-4 { grid-column: span 4; }
.explosion-card.span-8 { grid-column: span 8; }
.explosion-card.span-6 { grid-column: span 6; }
.explosion-card.span-3 { grid-column: span 3; }
.explosion-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--accent-color);
}
.explosion-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.explosion-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.explosion-warning {
  color: var(--warning-color);
  background: rgba(245, 158, 11, 0.025);
}
.explosion-danger {
  color: #ef4444; /* red-500 */
  background: rgba(239, 68, 68, 0.025);
}

/* --- Operating Layer Section --- */
.operating-layer {
  padding: var(--space-10) 0;
  text-align: center;
}
.op-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: var(--space-8) auto;
  position: relative;
}
.op-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 2;
  width: 250px;
}
.op-center {
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--accent-color);
  border-radius: 24px;
  padding: var(--space-6) var(--space-8);
  box-shadow: 0 0 64px rgba(99, 102, 241, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.op-center::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--accent-color), transparent, var(--success-color));
  border-radius: 26px;
  z-index: -1;
  opacity: 0.3;
}
.op-node {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.op-line-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.op-closing {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-10);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Value Layers Bento Section --- */
.value-layers {
  padding: var(--space-10) 0;
}
.bento-grid-11 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
}
.vl-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.vl-card.span-12 { grid-column: span 12; }
.vl-card.span-8 { grid-column: span 8; }
.vl-card.span-6 { grid-column: span 6; }
.vl-card.span-4 { grid-column: span 4; }
.vl-card.span-3 { grid-column: span 3; }
.vl-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.vl-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.vl-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Brands Product Scenes --- */
.brands-scene {
  padding: var(--space-10) 0;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.brands-scene.reverse {
  flex-direction: row-reverse;
}
.scene-content {
  flex: 1;
  max-width: 500px;
}
.scene-visual {
  flex: 1.2;
  position: relative;
}
.scene-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.scene-copy {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.scene-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1rem;
}
.scene-link:hover .arrow {
  transform: translateX(4px);
}
.scene-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-6);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

/* --- Closing Sections --- */
.split-screen {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.split-side {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-6);
}
.split-side.after {
  background: rgba(99, 102, 241, 0.013);
  border-color: var(--accent-color);
}
.objection-section {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--border-subtle);
}
.comparison-grid {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.comp-card {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-6);
}
.comp-card.razviel {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.025) 0%, transparent 100%);
  border-color: var(--accent-color);
}
.ideal-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.cta-brands {
  padding: var(--space-12) 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.037) 0%, var(--bg-primary) 70%);
}
.cta-brands-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}
/* --- Infrastructure Diagram --- */
.infra-diagram {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-10);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.infra-left, .infra-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.infra-left { align-items: flex-start; }
.infra-right { align-items: flex-end; }
.infra-center {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.infra-pulse-line {
  width: 1px;
  flex: 1;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  margin: var(--space-4) 0;
}
.pulse-dot {
  position: absolute;
  top: -10px;
  left: -2px;
  width: 5px;
  height: 20px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulseDrop 2s infinite linear;
}
.pulse-dot.reverse {
  animation: pulseRise 2s infinite linear;
}
@keyframes pulseDrop { 0% { top: -10px; } 100% { top: 100%; } }
@keyframes pulseRise { 0% { top: 100%; } 100% { top: -10px; } }

.infra-nodes-scattered {
  position: relative;
  width: 100%;
  height: 300px;
}
.infra-node {
  position: absolute;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.node-1 { top: 10%; left: 10%; opacity: 0.5; }
.node-2 { top: 30%; left: 40%; opacity: 0.7; }
.node-3 { top: 15%; left: 70%; opacity: 0.4; }
.node-4 { top: 50%; left: 5%; opacity: 0.8; }
.node-5 { top: 45%; left: 80%; opacity: 0.6; }
.node-6 { top: 70%; left: 30%; opacity: 0.5; }
.node-7 { top: 85%; left: 60%; opacity: 0.7; }
.node-8 { top: 60%; left: 60%; opacity: 0.4; }
.node-9 { top: 80%; left: 10%; opacity: 0.6; }

.infra-nodes-organized {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  max-width: 280px;
}
.infra-sys-node {
  background: rgba(16, 185, 129, 0.013);
  border: 1px solid rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.infra-sys-node:hover {
  background: rgba(16, 185, 129, 0.025);
  border-color: rgba(16, 185, 129, 0.1);
  transform: translateX(-4px);
}
.inline-block { display: inline-block; }
.mr-2 { margin-right: 8px; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.z-2 { z-index: 2; }
.border-right-subtle { border-right: 1px solid var(--border-subtle); }

/* --- Executive Operating Panel --- */
.exec-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.exec-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.exec-zone {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}
.exec-zone:hover {
  background: rgba(255,255,255,0.02);
}
.exec-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Telemetry Strip --- */
.telemetry-strip {
  display: flex;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.telemetry-signal {
  flex: 1;
  padding: var(--space-6);
  text-align: center;
  position: relative;
}
.telemetry-signal::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.telemetry-signal:hover::after {
  opacity: 1;
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.comparison-table {
  display: flex;
  flex-direction: column;
}
.comp-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}
.comp-row:not(.comp-header):hover {
  background: rgba(255,255,255,0.02);
}
.comp-header {
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border-light);
}
.comp-cell {
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
}
.comp-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}
.comp-highlight-header {
  background: rgba(99, 102, 241, 0.025);
  border-left: 1px solid rgba(99, 102, 241, 0.075);
  border-right: 1px solid rgba(99, 102, 241, 0.075);
  border-top: 1px solid rgba(99, 102, 241, 0.075);
  border-radius: 8px 8px 0 0;
}
.comp-highlight-cell {
  background: rgba(99, 102, 241, 0.013);
  border-left: 1px solid rgba(99, 102, 241, 0.075);
  border-right: 1px solid rgba(99, 102, 241, 0.075);
}

/* --- New Refactor Classes --- */

/* Old Support Model - Transformation Operating Panel */
.transformation-panel {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-8);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.trans-bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
.trans-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) {
  .trans-layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

/* Left side (Fragmented) */
.trans-left, .trans-right {
  position: relative;
  height: 100%;
}
.trans-chip {
  position: absolute;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 107, 107, 0.05);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.013);
  transition: all 0.3s ease;
}
.trans-chip:hover {
  border-color: rgba(255, 107, 107, 0.125);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.05);
  transform: scale(1.05);
}

@keyframes float-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -15px) rotate(2deg); }
  66% { transform: translate(-10px, 15px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Center (Razviel Core Hub) */
.trans-core-hub {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.core-hub-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150%; height: 150%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.063) 0%, transparent 60%);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite alternate;
}
.core-hub-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  border: 1px solid rgba(99, 102, 241, 0.075);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.05);
  z-index: 0;
}
.core-hub-content {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: var(--space-4);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

/* Flow Lines */
.flow-lines {
  position: absolute;
  top: 50%;
  width: 100px;
  height: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 0;
}
.flow-in {
  right: 100%;
  margin-right: -20px;
}
.flow-out {
  left: 100%;
  margin-left: -20px;
}
.flow-path {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.flow-dot {
  position: absolute;
  top: -1px; left: -10px;
  width: 30px; height: 3px;
  background: linear-gradient(to right, transparent, rgba(255, 107, 107, 0.2), transparent);
  animation: flow-run 2s linear infinite;
}
.flow-dot-success {
  background: linear-gradient(to right, transparent, var(--success-color), transparent);
}
@keyframes flow-run {
  0% { left: -30px; }
  100% { left: 100%; }
}

/* Right (Managed Modules) */
.trans-module {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: inset 0 0 10px rgba(46, 204, 113, 0.013);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}
.trans-module:hover {
  background: rgba(46, 204, 113, 0.013);
  border-color: rgba(46, 204, 113, 0.075);
  transform: translateX(-5px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.025);
}

/* Human Node Focus (Operating Capsule) */
.capsule-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.capsule-core {
  position: relative;
  z-index: 10;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-6) var(--space-8);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
  text-align: center;
  width: 340px;
}
.capsule-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150%; height: 150%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}
.capsule-status-list {
  list-style: none;
  padding: 0; margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.capsule-status-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.02);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}
.capsule-orbital {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}
.capsule-orbital .orbital-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warning-color);
}
.orbital-1 { top: 10%; left: 10%; animation-delay: 0s; }
.orbital-2 { top: 20%; right: 5%; animation-delay: 1s; }
.orbital-3 { top: 50%; left: -5%; animation-delay: 2s; }
.orbital-4 { bottom: 20%; left: 10%; animation-delay: 0.5s; }
.orbital-5 { bottom: 10%; right: 15%; animation-delay: 1.5s; }
.orbital-6 { top: 80%; right: -5%; animation-delay: 0.8s; }
.orbital-7 { top: -5%; right: 30%; animation-delay: 2.2s; }

/* Os dois orbitais que saem da caixa (-5%) sao desenho de tela larga. Abaixo
   de 900px o container encolhe e eles passam a estourar a viewport: aqui se
   encostam na borda em vez de sair dela. */
@media (max-width: 900px) {
  .orbital-3 { left: 0; }
  .orbital-6 { right: 0; }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Elastic Subscription (Horizontal Rail) */
.capacity-rail-container {
  max-width: 1000px;
  margin: var(--space-12) auto;
  position: relative;
}
.capacity-rail-line {
  height: 4px;
  background: var(--border-strong);
  border-radius: 4px;
  position: relative;
  margin-bottom: var(--space-8);
}
.capacity-rail-fill {
  position: absolute;
  top: 0; left: 0; height: 100%;
  width: 70%;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.125);
}
.capacity-rail-nodes {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -6px;
  left: 0; width: 100%;
}
.rail-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.node-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 4px solid var(--accent-color);
  margin-bottom: var(--space-3);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}
.node-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.node-dot.dim {
  border-color: var(--border-strong);
  background: var(--bg-primary);
}
.node-label.dim {
  color: var(--text-muted);
}
.benefit-tag {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  padding: var(--space-2) var(--space-4);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* --- Adoption Section (Start with 20%) --- */
.adoption-section {
  padding: var(--space-10) 0;
}
.adoption-flow-panel {
  position: relative;
  background: rgba(15, 15, 20, 0.125);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: var(--space-10);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}
.adoption-flow-track {
  position: absolute;
  top: var(--space-12); bottom: var(--space-12);
  left: 60px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), var(--accent-color), var(--success-color));
}
.adoption-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  position: relative;
  z-index: 2;
}
.adoption-step {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}
.step-indicator {
  width: 40px;
  display: flex;
  justify-content: center;
  position: relative;
}
.step-dot {
  width: 12px; height: 12px;
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
}
.js-observe-fade.visible .step-dot {
  border-color: var(--accent-color);
  background: var(--bg-primary);
  box-shadow: 0 0 10px var(--accent-color);
}
.adoption-step:last-child .step-dot {
  border-color: var(--success-color);
  box-shadow: 0 0 10px var(--success-color);
}
.step-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.05);
  animation: pulse-glow 2s infinite alternate;
  z-index: 1;
}
.step-card {
  flex: 1;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
  transform: translateY(-2px) translateX(4px);
  border-color: var(--border-subtle);
}
@media (max-width: 768px) {
  .adoption-flow-track { left: 40px; }
  .adoption-step { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .step-indicator { justify-content: flex-start; padding-left: 14px; }
  .adoption-flow-panel { padding: var(--space-6); }
}

/* --- Value Layers Bento --- */
.bento-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 200px;
}
.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}
.bento-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bento-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.125rem;
  max-width: 90%;
}
@media (max-width: 768px) {
  .bento-card {
    grid-column: span 12 !important;
    min-height: auto;
  }
}

/* ==========================================================================
   r68 — /brands no telefone (390px)
   --------------------------------------------------------------------------
   A pagina passou a ser destino de primeira classe (mega-menu, rodape e duas
   secoes da home), entao perde a isencao do passe espacial: tem de se comportar
   a 390 como as outras treze rotas. Dois padroes, escolhidos caso a caso:

     (1) desenho largo = objeto  -> moldura propria com overflow-x: auto. O
         desenho rola dentro da caixa dele; a pagina nao anda de lado.
     (2) grade que devia empilhar -> colapso para uma coluna.

   Texto nunca e o que rola. Titulo cortado e sempre (2); diagrama de faixa e
   sempre (1).

   TODO seletor abaixo esta preso a um ancestral que so existe em
   js/components/brands/* — css/brands.css e carregado por ~25 paginas e
   nenhuma regra daqui pode alcanca-las.
   ========================================================================== */

@media (max-width: 900px) {

  /* --- Hero: (2) a grade ja colapsa a 900, mas a trilha 1fr continuava presa
     ao min-content da cena cinematica (391px) e arrastava a coluna de texto
     junto — dai o titulo e o eyebrow cortados. min-width: 0 solta a trilha. A
     cena ja e a propria moldura (o .hero-scene-slab tem overflow: hidden); so
     o rotulo dela, com tracking largo, nao cabia mais na coluna. ------------- */
  .hero-brands-rail .hero-rail-copy,
  .hero-brands-rail .hero-scene-visual { min-width: 0; }
  .hero-brands-rail .scene-infra-zone > .text-right {
    letter-spacing: 0.02em;
    font-size: 0.6875rem;
  }

  /* --- Growth: (1) a faixa Fits/Strains/Sprawls/Breaks tem 4 nos de 120px =
     480px de min-content. Era ela que empurrava o documento para 578px. Agora
     rola dentro da moldura .drag-rail-scroll. ------------------------------- */
  .growth-problem .drag-rail-zone,
  .growth-problem .infra-contrast-zone { min-width: 0; }
  .growth-problem .drag-rail-scroll { overflow-x: auto; }
  .growth-problem .drag-rail-container { min-width: 480px; }
  .growth-problem .infra-contrast-glow { max-width: 100%; }

  /* --- Operating layer: (1) o diagrama e 10 entradas -> nucleo -> 10 saidas
     ligados por um SVG absoluto; empilhar quebraria o desenho. --------------- */
  .operating-layer .op-diagram-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    margin: var(--space-8) 0;
  }
  .operating-layer .op-diagram { min-width: 720px; margin: 0 auto; }
  .operating-layer .op-column { height: auto; }

  /* --- Value layers: (2) os cartoes de duas colunas empilham. O painel de
     vidro, que no desktop sangra 120% para fora do cartao de proposito, volta
     ao fluxo em vez de sangrar para fora da viewport; o cartao ainda recorta o
     que sobrar. O !important e para vencer o style inline do componente. ----- */
  .value-layers-bento .bento-card {
    overflow: hidden;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .value-layers-bento .bento-card > div {
    flex: none !important;
    width: auto !important;
    height: auto !important;
  }
  .value-layers-bento .bento-card .glass-panel {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    margin-top: var(--space-4);
  }

  /* --- Human node: a capsula tem largura fixa de 340px e o brilho decorativo
     150% dela. Os dois passam a caber na coluna. ---------------------------- */
  .human-node-focus .capsule-core { width: 100%; max-width: 340px; }
  .human-node-focus .capsule-glow { width: 100%; height: 100%; }

  /* --- Elastic subscription: (2) os 7 nos do trilho e as 5 etiquetas sao
     linhas que deviam quebrar, nao rolar — sao texto. ----------------------- */
  .elastic-subscription .capacity-rail-nodes {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6) var(--space-5);
  }
  .elastic-subscription .capacity-benefits { flex-wrap: wrap; }

  /* --- Before/after: (2) esquerda | eixo | direita empilha. ---------------- */
  .before-after-section .infra-diagram {
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-6);
  }
  .before-after-section .infra-left,
  .before-after-section .infra-right { align-items: stretch; }
  .before-after-section .infra-center { width: 100%; }
  .before-after-section .infra-pulse-line {
    width: 100%;
    height: 1px;
    flex: none;
    margin: var(--space-4) 0;
  }
  .before-after-section .infra-nodes-organized { max-width: 100%; }

  /* --- Delegation: (2) o painel de 4 zonas vira uma coluna; a divisoria
     vertical passa a horizontal. -------------------------------------------- */
  .delegation-section .exec-panel { grid-template-columns: 1fr; }
  .delegation-section .exec-zone { padding: var(--space-6); }
  .delegation-section .exec-zone.border-right-subtle {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  /* --- Category positioning: (1) tabela de 5 colunas. Tabela larga rola
     dentro da propria moldura. ---------------------------------------------- */
  .category-positioning .comparison-table-wrapper { overflow-x: auto; }
  .category-positioning .comparison-table { min-width: 700px; }
}

/* 560 e o degrau de tipografia do sistema: toda tipografia acima de 2rem
   desce um degrau aqui. O titulo do hero (3.75rem, 2.5rem abaixo de 900)
   ainda tinha "infrastructure." mais larga que a coluna a 390 — era ele o
   ultimo transbordo do documento. */
@media (max-width: 560px) {
  .hero-brands-rail .hero-brands-headline-refined { font-size: 2rem; }
}

/* O bento de 12 colunas ja empilha um cartao por linha abaixo de 768 (cada
   cartao ocupa "span 12"), mas as 11 goteiras de 32px continuavam somando 352px
   de largura minima — a 360 isso sozinho estourava a viewport. Uma coluna so:
   mesmo desenho empilhado, sem as goteiras fantasma. */
@media (max-width: 768px) {
  .value-layers-bento .bento-grid { grid-template-columns: 1fr !important; }
  .value-layers-bento .bento-grid > * { grid-column: auto !important; }
}
