/* ==========================================================================
   Northbridge Digital Group — Architectural & Editorial Design System
   Paleta: Navy #07111F | Azul Profundo #10294A | Elétrico #326BFF | Gelo #F1F5FA | Branco Quente #FAFBFC
   ========================================================================== */

:root {
  --bg-navy: #07111f;
  --bg-navy-elevated: #0c1b31;
  --bg-deep-blue: #10294a;
  --bg-ice: #f1f5fa;
  --bg-warm-white: #fafbfc;

  --text-on-dark: #fafbfc;
  --text-muted-on-dark: #b6c6dc;
  --text-subtle-on-dark: #88a0bf;

  --text-on-light: #07111f;
  --text-muted-on-light: #2d425e;
  --text-subtle-on-light: #4d6482;

  --accent-electric: #326bff;
  --accent-electric-btn: #1d4ed8;
  --accent-electric-hover: #1e40af;
  --accent-on-light: #1d4ed8;
  --accent-on-light-hover: #1e3a8a;
  --accent-cyan: #38bdf8;

  --border-dark: rgba(140, 174, 219, 0.18);
  --border-dark-strong: rgba(56, 189, 248, 0.38);
  --border-light: #d5e0ee;
  --border-light-strong: #b4c7e0;

  --shadow-dark: 0 22px 48px rgba(3, 8, 17, 0.45);
  --shadow-light: 0 16px 38px rgba(7, 17, 31, 0.07);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --container-max: 1240px;
  --header-height: 78px;
  --font-sans: 'Segoe UI', Inter, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Cascadia Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background-color: var(--bg-navy);
  color: var(--text-on-dark);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  background-color: var(--bg-navy);
  color: var(--text-on-dark);
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--accent-cyan);
  outline-offset: 3px;
}

.section-light :focus-visible,
.section-ice :focus-visible {
  outline-color: var(--accent-on-light);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--accent-electric-btn);
  color: var(--bg-warm-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-dark);
}

.skip-link:focus {
  top: 14px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.25rem);
}

.section-navy {
  background-color: var(--bg-navy);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-deep {
  background: linear-gradient(180deg, var(--bg-navy) 0%, var(--bg-deep-blue) 100%);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-ice {
  background-color: var(--bg-ice);
  color: var(--text-on-light);
  border-bottom: 1px solid var(--border-light);
}

.section-light {
  background-color: var(--bg-warm-white);
  color: var(--text-on-light);
  border-bottom: 1px solid var(--border-light);
}

/* Editorial Section Header */
.section-header {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.section-light .section-meta,
.section-ice .section-meta {
  color: var(--accent-on-light);
}

.section-meta-line {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  opacity: 0.85;
}

/* ==========================================================================
   Scroll Progress Bar & Fluid Scroll-Reveal Motion System
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 2500;
  background: linear-gradient(90deg, #326bff 0%, #38bdf8 65%, #e0f2fe 100%);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

html.js-enabled:not(.motion-paused) [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-enabled:not(.motion-paused) [data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}

html.js-enabled:not(.motion-paused) [data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}

html.js-enabled:not(.motion-paused) [data-reveal="scale"] {
  transform: translate3d(0, 18px, 0) scale(0.96);
}

html.js-enabled:not(.motion-paused) [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js-enabled:not(.motion-paused) [data-reveal-delay="1"] {
  transition-delay: 85ms;
}

html.js-enabled:not(.motion-paused) [data-reveal-delay="2"] {
  transition-delay: 170ms;
}

html.js-enabled:not(.motion-paused) [data-reveal-delay="3"] {
  transition-delay: 255ms;
}

html.js-enabled:not(.motion-paused) [data-reveal-delay="4"] {
  transition-delay: 340ms;
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-progress-bar {
    display: none;
  }
}

.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.75rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.225rem);
  line-height: 1.65;
  color: var(--text-muted-on-dark);
}

.section-light .section-lead,
.section-ice .section-lead {
  color: var(--text-muted-on-light);
}

/* ==========================================================================
   Cabeçalho Sticky & Navegação Acessível
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background-color: rgba(7, 17, 31, 0.96);
  box-shadow: 0 10px 30px rgba(3, 8, 17, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(1rem, 2.2vw, 2.25rem);
  height: 100%;
  gap: 1.5rem;
}

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

.brand-logo {
  width: 245px;
  height: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted-on-dark);
  padding: 0.4rem 0.15rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-on-dark);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-sm);
  background-color: rgba(16, 41, 74, 0.45);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.lang-switch-current {
  color: var(--text-on-dark);
  font-weight: 700;
}

.lang-switch-sep {
  color: var(--text-muted-on-dark);
  opacity: 0.65;
}

.lang-switch-link {
  color: var(--accent-cyan);
  font-weight: 600;
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  transition: color 180ms ease, background-color 180ms ease;
}

.lang-switch-link:hover,
.lang-switch-link:focus-visible {
  color: var(--text-on-dark);
  background-color: rgba(50, 107, 255, 0.24);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.25;
  padding: 0.875rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--accent-electric-btn);
  color: var(--bg-warm-white);
  border-color: var(--accent-electric-btn);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--accent-electric-hover);
  border-color: var(--accent-electric-hover);
  color: var(--bg-warm-white);
}

.btn-secondary-dark {
  background-color: rgba(16, 41, 74, 0.55);
  color: var(--text-on-dark);
  border-color: var(--border-dark-strong);
}

.btn-secondary-dark:hover,
.btn-secondary-dark:focus-visible {
  background-color: rgba(50, 107, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--text-on-dark);
}

.btn-secondary-light {
  background-color: var(--bg-warm-white);
  color: var(--text-on-light);
  border-color: var(--border-light-strong);
}

.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  background-color: var(--bg-ice);
  border-color: var(--accent-on-light);
  color: var(--accent-on-light-hover);
}

.btn-header {
  padding: 0.625rem 1.15rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(16, 41, 74, 0.5);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
}

.menu-toggle-icon {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Hero — Tecnologia Viva (Canvas Interativo + Ponte Arquitetônica Aberta)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3.75rem, 7vw, 6.25rem);
  padding-bottom: clamp(4.75rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 64% 58% at 74% 38%, rgba(50, 107, 255, 0.24) 0%, rgba(56, 189, 248, 0.09) 42%, transparent 74%),
    radial-gradient(ellipse 46% 42% at 12% 84%, rgba(56, 189, 248, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #050c18 0%, #07111f 52%, #0c1f3a 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  overflow: hidden;
}

.hero-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-context {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 1.35rem;
}

.hero-context-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.85);
}

.hero-slogan-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.7vw, 4.15rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.4rem;
  max-width: 16.5ch;
}

.hero-title-accent {
  color: #38bdf8;
  background: linear-gradient(115deg, #60a5fa 0%, #38bdf8 55%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-complement {
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.58;
  font-weight: 500;
  color: #e2e8f0;
  padding-left: 1.15rem;
  border-left: 2px solid #38bdf8;
  margin-bottom: 1.2rem;
  max-width: 54ch;
}

.hero-description {
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.68;
  color: var(--text-muted-on-dark);
  margin-bottom: 2.2rem;
  max-width: 52ch;
}

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

.hero-actions .btn-primary {
  box-shadow: 0 14px 36px rgba(29, 78, 216, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Open Architectural Stage (No cramped boxed template vibe) */
.hero-visual-wrapper {
  position: relative;
}

.bridge-stage {
  position: relative;
  background: linear-gradient(160deg, rgba(16, 41, 74, 0.42) 0%, rgba(7, 17, 31, 0.72) 100%);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  box-shadow:
    0 32px 72px rgba(2, 7, 16, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.bridge-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.bridge-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.motion-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(7, 17, 31, 0.75);
  border: 1px solid var(--border-dark);
  color: var(--text-muted-on-dark);
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
}

.motion-toggle-btn:hover {
  color: var(--text-on-dark);
  border-color: var(--accent-cyan);
}

.bridge-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Bridge SVG Subtle Animations (transform & opacity only) */
@keyframes bridgePulseNode {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes bridgePacketOne {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(340px, -42px, 0);
    opacity: 0;
  }
}

@keyframes bridgePacketTwo {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-320px, 40px, 0);
    opacity: 0;
  }
}

.bridge-node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: bridgePulseNode 4.2s ease-in-out infinite;
}

.bridge-node-pulse-delay {
  animation-delay: 2.1s;
}

.bridge-packet-forward {
  animation: bridgePacketOne 6.5s linear infinite;
}

.bridge-packet-reverse {
  animation: bridgePacketTwo 7.5s linear infinite;
  animation-delay: 1.8s;
}

.bridge-stage.is-paused .bridge-node-pulse,
.bridge-stage.is-paused .bridge-packet-forward,
.bridge-stage.is-paused .bridge-packet-reverse,
.bridge-stage.is-tab-hidden .bridge-node-pulse,
.bridge-stage.is-tab-hidden .bridge-packet-forward,
.bridge-stage.is-tab-hidden .bridge-packet-reverse {
  animation-play-state: paused;
}

.bridge-pillars-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.bridge-legend-item {
  padding-left: 0.75rem;
  border-left: 2px solid rgba(56, 189, 248, 0.45);
}

.bridge-legend-code {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.bridge-legend-title {
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
}

/* ==========================================================================
   Problema Empresarial — Faixas Editoriais Abertas (Sem Caixas Pesadas)
   ========================================================================== */
.problem-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-light);
}

.problem-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-block: clamp(1.85rem, 3.2vw, 2.75rem);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 260ms ease;
}

.problem-side,
.solution-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle-on-light);
  margin-bottom: 0.6rem;
}

.solution-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-on-light);
  margin-bottom: 0.6rem;
}

.problem-title {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-on-light);
  margin-bottom: 0.55rem;
}

.problem-desc {
  color: var(--text-muted-on-light);
  font-size: 0.99rem;
  line-height: 1.65;
}

.problem-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.4rem;
  color: var(--accent-on-light);
  opacity: 0.75;
}

.solution-side {
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-on-light);
}

/* ==========================================================================
   Soluções — Arquitetura em Camadas com Borda Luminosa no Hover
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(16, 41, 74, 0.5) 0%, rgba(10, 24, 46, 0.85) 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  overflow: hidden;
  transition: border-color 280ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #326bff, #38bdf8, transparent);
  opacity: 0;
  transition: opacity 280ms ease;
}

.solution-card:hover {
  border-color: rgba(56, 189, 248, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(3, 9, 19, 0.45);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card-top {
  margin-bottom: 1.5rem;
}

.solution-index-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.solution-number {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.solution-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.solution-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.7rem;
}

.solution-summary {
  color: var(--text-muted-on-dark);
  font-size: 1rem;
  margin-bottom: 0.95rem;
}

.solution-highlights {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: var(--bg-ice);
}

.solution-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-highlights li::before {
  content: '•';
  color: var(--accent-cyan);
  font-weight: 700;
}

.solution-details {
  border-top: 1px solid var(--border-dark);
  padding-top: 0.85rem;
}

.solution-details-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  cursor: pointer;
  padding: 0.25rem 0;
}

.solution-details-summary::-webkit-details-marker {
  display: none;
}

.solution-details-summary:hover {
  color: var(--text-on-dark);
}

.solution-details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: transform 180ms ease;
}

.solution-details[open] .solution-details-icon {
  transform: rotate(45deg);
}

.solution-specs {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.85rem;
}

.solution-spec-item {
  font-size: 0.94rem;
}

.solution-spec-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.solution-spec-text {
  color: var(--text-muted-on-dark);
}

.solution-card-footer {
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.solution-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent-cyan);
}

.solution-cta-link:hover {
  color: var(--text-on-dark);
}

/* ==========================================================================
   Seção 03 — Demonstração Interativa "Da presença à operação"
   ========================================================================== */
.demo-shell {
  background-color: var(--bg-navy);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-dark);
}

.demo-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.demo-illustrative-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.demo-tab {
  background-color: rgba(16, 41, 74, 0.5);
  color: var(--text-muted-on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.demo-tab:hover {
  color: var(--text-on-dark);
  border-color: var(--border-dark-strong);
}

.demo-tab.is-active {
  background-color: var(--accent-electric-btn);
  color: var(--bg-warm-white);
  border-color: var(--accent-electric-btn);
}

.demo-tab.is-active:hover,
.demo-tab.is-active:focus-visible {
  background-color: var(--accent-electric-hover);
  border-color: var(--accent-electric-hover);
  color: var(--bg-warm-white);
}

.demo-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.demo-scenario-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

.demo-scenario-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.demo-scenario-desc {
  color: var(--text-muted-on-dark);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.flow-step-card {
  background: rgba(16, 41, 74, 0.45);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.flow-step-card.is-connected {
  border-color: var(--accent-cyan);
  background: rgba(16, 41, 74, 0.78);
}

.flow-step-card.is-optional {
  opacity: 0.75;
}

.flow-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.flow-step-stage {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.flow-step-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(50, 107, 255, 0.22);
  color: var(--bg-ice);
}

.flow-step-name {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.flow-step-detail {
  font-size: 0.88rem;
  color: var(--text-muted-on-dark);
}

.demo-schematic {
  background: rgba(7, 17, 31, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.demo-schematic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
}

.demo-schematic-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-subtle-on-dark);
}

.demo-schematic-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-on-dark);
}

.flow-schematic-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.flow-schematic-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(16, 41, 74, 0.45);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.9rem;
}

.flow-schematic-index {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.demo-schematic-metric {
  background: rgba(50, 107, 255, 0.12);
  border-left: 3px solid var(--accent-electric);
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
}

.demo-metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.demo-metric-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

/* ==========================================================================
   Método — Trilha Vertical Contínua (Sem Caixas Quadradas Pesadas)
   ========================================================================== */
.method-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 920px;
  padding-left: 2.25rem;
}

.method-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-on-light) 0%, rgba(29, 78, 216, 0.2) 100%);
}

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0 0 2.4rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.2rem;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.method-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.method-step-badge {
  position: absolute;
  left: -2.25rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-warm-white);
  border: 2px solid var(--border-light-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 320ms ease, background-color 320ms ease, box-shadow 320ms ease;
}

.method-step.is-inview .method-step-badge,
.method-step:hover .method-step-badge {
  border-color: var(--accent-on-light);
  background-color: var(--accent-on-light);
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.14);
}

.method-step-num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-on-light);
}

.method-step.is-inview .method-step-num,
.method-step:hover .method-step-num {
  color: #ffffff;
}

.method-step-label {
  display: none;
}

.method-step-title {
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-on-light);
  margin-bottom: 0.45rem;
}

.method-step-desc {
  color: var(--text-muted-on-light);
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 1rem;
  max-width: 68ch;
}

.method-deliverable {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.method-deliverable-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-on-light);
}

.method-deliverable-text {
  font-weight: 600;
  color: var(--text-on-light);
}

/* ==========================================================================
   Por que escolher a Northbridge — Editorial Aberto sem Caixas Repetitivas
   ========================================================================== */
.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.why-intro-panel {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-cyan);
}

.why-intro-quote {
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.why-intro-note {
  font-size: 0.98rem;
  color: var(--text-muted-on-dark);
  line-height: 1.65;
}

.why-pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.why-pillar {
  padding-block: 1.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  transition: padding-left 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms ease;
}

.why-pillar:hover {
  padding-left: 0.65rem;
  border-bottom-color: rgba(56, 189, 248, 0.45);
}

.why-pillar-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.why-pillar-num {
  display: none;
}

.why-pillar-title {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
}

.why-pillar-desc {
  color: var(--text-muted-on-dark);
  font-size: 0.98rem;
  line-height: 1.66;
}

/* ==========================================================================
   Seção 06 — Founder (Retrato Oficial + Vivência Empresarial)
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}

.founder-portrait-card {
  position: relative;
  background: linear-gradient(180deg, #050c17 0%, #0a192f 100%);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  max-width: 470px;
  margin-inline: auto;
}

.founder-image {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1027;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.35rem;
  background-color: rgba(7, 17, 31, 0.95);
  border-top: 1px solid var(--border-dark);
}

.founder-role-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
}

.founder-org-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.founder-content .section-title {
  margin-bottom: 1.25rem;
}

.founder-bio {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 1.35rem;
}

.founder-context-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted-on-dark);
  margin-bottom: 1.85rem;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.founder-fact-card {
  background: rgba(16, 41, 74, 0.5);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}

.founder-fact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
}

.founder-fact-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
}

.founder-fact-desc {
  font-size: 0.88rem;
  color: var(--text-muted-on-dark);
}

/* ==========================================================================
   Tecnologia Aplicada — Sem Badges Monospace em Caixa (Visual Limpo)
   ========================================================================== */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.application-card {
  background-color: var(--bg-warm-white);
  border-top: 2px solid var(--accent-on-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  border-radius: 0 0 12px 12px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}

.application-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(7, 17, 31, 0.08);
}

.application-badge {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-on-light);
  margin-bottom: 0.7rem;
}

.application-title {
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-on-light);
  margin-bottom: 0.7rem;
}

.application-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-muted-on-light);
  margin-bottom: 1.35rem;
}

.application-focus-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1.05rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-subtle-on-light);
}

/* ==========================================================================
   Seção 08 — FAQ Acessível (details / summary nativos)
   ========================================================================== */
.faq-list {
  max-width: 880px;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background-color: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent-electric);
  background-color: var(--bg-warm-white);
  box-shadow: var(--shadow-light);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.45rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-on-light);
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-indicator {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--bg-warm-white);
  border: 1px solid var(--border-light-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-on-light);
  font-weight: 700;
  transition: transform 180ms ease;
}

.faq-item[open] .faq-indicator {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.45rem 1.35rem 1.45rem;
  color: var(--text-muted-on-light);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* ==========================================================================
   Seção 09 — Contato e Assistente Local de Briefing
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

.contact-direct-card {
  background: rgba(16, 41, 74, 0.55);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-direct-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.contact-email-link {
  display: inline-block;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--text-on-dark);
  word-break: break-all;
  margin-bottom: 1rem;
}

.contact-email-link:hover {
  color: var(--accent-cyan);
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-transparency-box {
  background: rgba(7, 17, 31, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
}

.contact-transparency-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0.35rem;
}

/* Briefing Assistant Form */
.briefing-card {
  background-color: var(--bg-navy-elevated);
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-dark);
}

.briefing-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.briefing-card-sub {
  font-size: 0.92rem;
  color: var(--text-muted-on-dark);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-grid .form-field {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-ice);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: rgba(7, 17, 31, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  transition: border-color 180ms ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
}

.form-textarea {
  min-height: 105px;
  resize: vertical;
}

.briefing-preview-wrapper {
  margin-top: 1.1rem;
  margin-bottom: 1.25rem;
}

.briefing-preview-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.briefing-preview-box {
  background-color: rgba(7, 17, 31, 0.9);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted-on-dark);
  white-space: pre-wrap;
  max-height: 170px;
  overflow-y: auto;
}

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

.briefing-helper-note {
  display: block;
  font-size: 0.82rem;
  color: var(--text-subtle-on-dark);
  margin-top: 0.65rem;
}

.briefing-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(56, 189, 248, 0.14);
  border: 1px solid var(--accent-cyan);
  color: var(--text-on-dark);
  font-size: 0.88rem;
}

.briefing-feedback.is-visible {
  display: block;
}

/* ==========================================================================
   Rodapé e Páginas Auxiliares
   ========================================================================== */
.site-footer {
  background-color: #050c17;
  color: var(--text-muted-on-dark);
  padding-block: 3.5rem 2.25rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-tagline {
  margin-top: 0.9rem;
  max-width: 42ch;
  font-size: 0.94rem;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle-on-dark);
}

/* Auxiliary Legal & 404 Pages */
.legal-main {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background-color: var(--bg-warm-white);
  color: var(--text-on-light);
  min-height: calc(100vh - var(--header-height) - 220px);
}

.legal-container {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.legal-article h1 {
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-subtle-on-light);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-article h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--text-on-light);
}

.legal-article p,
.legal-article li {
  color: var(--text-muted-on-light);
  margin-bottom: 0.9rem;
}

.legal-article ul {
  padding-left: 1.35rem;
  margin-bottom: 1.15rem;
}

.section-meta-electric {
  color: var(--accent-on-light);
}

.legal-inline-link {
  color: var(--accent-on-light);
  font-weight: 600;
}

.legal-inline-link:hover {
  color: var(--accent-on-light-hover);
  text-decoration: underline;
}

.contact-privacy-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.contact-privacy-link:hover {
  color: var(--text-on-dark);
}

.legal-back-bar {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.footer-bottom-compact {
  padding-top: 0;
  border-top: 0;
}

.contact-direct-desc {
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.notfound-main {
  min-height: calc(100vh - 210px);
  display: flex;
  align-items: center;
}

.notfound-container {
  max-width: 720px;
}

.notfound-lead {
  margin-bottom: 2rem;
}

.sr-clipboard-fallback {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Hero Discreet Stagger Entry (650ms, transform & opacity only) */
@keyframes heroFadeUp {
  from {
    opacity: 0.01;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.js-enabled:not(.motion-paused) .hero-copy {
  animation: heroFadeUp 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.js-enabled:not(.motion-paused) .hero-visual-wrapper {
  animation: heroFadeUp 780ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
}

/* ==========================================================================
   Responsividade (Desktop, Tablet 768px, Mobile 390px / 360px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .demo-body,
  .why-layout,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #07111f;
    border-bottom: 1px solid var(--border-dark-strong);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 220ms ease, opacity 220ms ease;
    box-shadow: var(--shadow-dark);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-link {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 0.45rem 0;
  }

  .nav-panel .nav-actions {
    width: 100%;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-dark);
  }

  .problem-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 1.5rem;
  }

  .problem-connector {
    display: none;
  }

  .why-intro-panel {
    position: static;
  }

  .solutions-grid,
  .flow-steps-grid,
  .applications-grid,
  .founder-facts,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .section {
    padding-block: 2.75rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .hero {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .hero-description {
    margin-bottom: 1.35rem;
  }

  .solution-card,
  .application-card,
  .why-intro-panel,
  .why-pillar,
  .contact-direct-card,
  .briefing-card,
  .demo-shell {
    padding: 1.25rem;
  }

  .solution-card-top {
    margin-bottom: 1rem;
  }

  .solution-card-footer {
    margin-top: 1rem;
    padding-top: 0.9rem;
  }

  .founder-grid,
  .why-layout,
  .contact-grid {
    gap: 1.65rem;
  }

  .founder-portrait-card {
    max-width: 340px;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 205px;
  }

  .section {
    padding-block: 2.35rem;
  }

  .bridge-stage {
    padding: 1rem;
  }

  .bridge-pillars-legend {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .method-timeline {
    padding-left: 1.85rem;
  }

  .method-step {
    padding-bottom: 1.75rem;
    margin-bottom: 1.65rem;
  }

  .method-step-badge {
    left: -1.85rem;
  }

  .faq-question {
    padding: 0.95rem 1.1rem;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 1.1rem 1rem 1.1rem;
  }

  .hero-actions,
  .briefing-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn,
  .briefing-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Acessibilidade: Prefers Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   Northbridge Digital AI Concierge / Voiceflow Fallback Widget
   ============================================================ */
.nb-bot-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: inherit;
}

.nb-bot-launcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nb-bot-launcher:hover,
.nb-bot-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(29, 78, 216, 0.45);
}

.nb-bot-panel {
  width: min(370px, calc(100vw - 32px));
  max-height: min(540px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: #0b1220;
  color: #f1f5f9;
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.72);
  overflow: hidden;
}

.nb-bot-panel[hidden] {
  display: none;
}

.nb-bot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f172a, #172554);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nb-bot-head strong {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
}

.nb-bot-sub {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 2px;
}

.nb-bot-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.nb-bot-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.nb-bot-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nb-bot-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.87rem;
  line-height: 1.48;
  white-space: pre-wrap;
}

.nb-bot-msg p {
  margin: 0;
}

.nb-bot-msg-bot {
  align-self: flex-start;
  background: #131e33;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.nb-bot-msg-user {
  align-self: flex-end;
  background: #1d4ed8;
  color: #fff;
}

.nb-bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.nb-bot-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(30, 58, 138, 0.35);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.nb-bot-action-primary {
  background: #2563eb;
  border-color: transparent;
  color: #fff;
}

.nb-bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: #0d1628;
}

.nb-bot-chip {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  font-size: 0.76rem;
  cursor: pointer;
}

.nb-bot-chip:hover {
  border-color: #60a5fa;
  color: #fff;
}

.nb-bot-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: #090f1c;
}

.nb-bot-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.86rem;
}

.nb-bot-send {
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.nb-bot-send:hover {
  background: #3b82f6;
}

.nb-bot-chips[hidden] {
  display: none;
}

.nb-bot-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
}

.nb-bot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: nbBotPulse 1.1s infinite ease-in-out;
}

.nb-bot-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.nb-bot-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes nbBotPulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
