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

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --header: 3.75rem;
  --bg: #0c1220;
  --surface: #131a27;
  --band: #131a27;
  --border: #2a3444;
  --text: #e8eef6;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --blue-hover: #60a5fa;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(12, 18, 32, 0.94);
  --header-line: transparent;
  --control-bg: rgba(19, 26, 39, 0.85);
  --flag-ring: rgba(255, 255, 255, 0.12);
  --pop-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  --btn-shadow: none;
  --intro-bg: #090e18;
  --spot: rgba(59, 130, 246, 0.16);
  --panel-border: rgba(42, 52, 68, 0.95);
  --panel-bg: rgba(19, 26, 39, 0.72);
  --panel-bg-hover: rgba(19, 26, 39, 0.92);
  --panel-shadow-hover: none;
  --hub-bg: radial-gradient(circle at 32% 28%, rgba(96, 165, 250, 0.3), transparent 55%),
    linear-gradient(160deg, #1c2740 0%, #0e1524 100%);
  --hub-shadow: 0 0 0 1px rgba(59, 130, 246, 0.65), 0 0 0 10px rgba(59, 130, 246, 0.07),
    0 14px 36px rgba(0, 0, 0, 0.4);
  --hub-shadow-active: 0 0 0 1px rgba(96, 165, 250, 0.95), 0 0 0 12px rgba(59, 130, 246, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.45);
  --node-bg: rgba(15, 22, 36, 0.94);
  --node-bg-active: rgba(28, 52, 96, 0.96);
  --node-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  --node-shadow-active: 0 14px 28px rgba(0, 0, 0, 0.42);
  --detail-bg: rgba(19, 26, 39, 0.88);
  --card-border: rgba(42, 52, 68, 0.95);
  --card-bg: #0a101c;
  --card-shadow-active: 0 18px 40px rgba(31, 111, 235, 0.28);
  --compare-from: #131a27;
  --compare-to: rgba(59, 130, 246, 0.1);
  --overlay: rgba(0, 0, 0, 0.65);
  --cookie-shadow: none;
  --code-bg: #0c1220;
  --code-color: #e8eef6;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --band: #e8f1fa;
  --border: #d7e2ee;
  --text: #1a2744;
  --muted: #5c6d84;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --header: 3.75rem;
  --shadow: 0 10px 28px rgba(26, 39, 68, 0.08);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-line: rgba(26, 39, 68, 0.04);
  --control-bg: #ffffff;
  --flag-ring: rgba(26, 39, 68, 0.12);
  --pop-shadow: 0 12px 28px rgba(26, 39, 68, 0.12);
  --btn-shadow: 0 6px 16px rgba(59, 130, 246, 0.22);
  --intro-bg: radial-gradient(900px 480px at 50% 18%, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #e7f1fb 100%);
  --spot: rgba(59, 130, 246, 0.18);
  --panel-border: rgba(215, 226, 238, 0.95);
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-bg-hover: #ffffff;
  --panel-shadow-hover: 0 14px 32px rgba(59, 130, 246, 0.14);
  --hub-bg: radial-gradient(circle at 32% 28%, rgba(147, 197, 253, 0.7), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #e4efff 100%);
  --hub-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4), 0 0 0 10px rgba(59, 130, 246, 0.08),
    0 14px 36px rgba(26, 39, 68, 0.1);
  --hub-shadow-active: 0 0 0 1px rgba(59, 130, 246, 0.7), 0 0 0 12px rgba(59, 130, 246, 0.12),
    0 16px 40px rgba(59, 130, 246, 0.16);
  --node-bg: #ffffff;
  --node-bg-active: #eff6ff;
  --node-shadow: 0 8px 20px rgba(26, 39, 68, 0.08);
  --node-shadow-active: 0 14px 28px rgba(59, 130, 246, 0.16);
  --detail-bg: #ffffff;
  --card-border: rgba(215, 226, 238, 0.95);
  --card-bg: #ffffff;
  --card-shadow-active: 0 18px 40px rgba(59, 130, 246, 0.22);
  --compare-from: #f7fafc;
  --compare-to: #eef5ff;
  --overlay: rgba(26, 39, 68, 0.4);
  --cookie-shadow: 0 -8px 24px rgba(26, 39, 68, 0.06);
  --code-bg: #e7eef8;
  --code-color: #1a2744;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

html[data-theme] body {
  background: var(--bg);
  color: var(--text);
}

::selection {
  background: rgba(59, 130, 246, 0.22);
  color: var(--text);
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-solid {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--header-line);
}

.site-nav {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  height: 1.85rem;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  list-style: none;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language switcher — flags only, country name via tooltip */
.lang-switch {
  position: relative;
  z-index: 60;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--control-bg);
  cursor: pointer;
  line-height: 0;
}

.lang-switch-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.lang-flag {
  display: block;
  width: 22px;
  height: 16px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--flag-ring);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  width: max-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--pop-shadow);
}

.lang-switch-menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
  line-height: 0;
  flex-shrink: 0;
}

.lang-switch-menu li:hover,
.lang-switch-menu li:focus {
  background: rgba(59, 130, 246, 0.12);
  outline: none;
}

.lang-switch-menu li.is-active {
  background: rgba(59, 130, 246, 0.22);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.45);
}

.lang-switch-menu .lang-flag {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--control-bg);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--blue);
  outline: none;
}

.theme-icon {
  display: none;
  width: 1.3rem;
  height: 1.3rem;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-icon-sun,
html:not([data-theme="light"]) .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme="light"]) .theme-icon-moon {
  display: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

.mobile-menu {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 1.5rem 1.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: var(--btn-shadow);
  color: #fff;
  font: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-hover);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

/* Intro — full viewport, mouse-reactive */
.intro {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--intro-bg);
}

.intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.intro-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    var(--spot),
    transparent 58%
  );
  transition: opacity 0.3s ease;
}

.intro-stage {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding-top: var(--header);
  text-align: center;
}

.intro-brand {
  width: 100%;
  will-change: transform;
}

.intro-title {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  font-size: clamp(2.4rem, 5.8vw, 4.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.intro-lead {
  margin: 1.25rem auto 0;
  width: 100%;
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.intro-panels {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  will-change: transform;
}

@media (min-width: 720px) {
  .intro-panels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.intro-panel {
  text-align: center;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel-bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.intro-panel:hover,
.intro-panel:focus-visible {
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--panel-bg-hover);
  box-shadow: var(--panel-shadow-hover);
  outline: none;
}

.intro-panel-num {
  display: block;
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.intro-panel strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.intro-panel > span:last-child {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.intro-scroll,
.section-scroll {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.intro-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
}

.section-scroll {
  position: relative;
  display: flex;
  margin: 1.75rem auto 0;
  width: fit-content;
}

.content-block .section-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  margin: 0;
  display: inline-flex;
  width: auto;
}

.intro-scroll:hover,
.section-scroll:hover {
  color: var(--text);
}

.intro-scroll svg,
.section-scroll svg {
  animation: intro-bounce 1.6s ease-in-out infinite;
}

@keyframes intro-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-scroll svg,
  .section-scroll svg {
    animation: none;
  }

  .intro-panel,
  .intro-brand,
  .intro-panels {
    transform: none !important;
  }
}

/* Content block 2 — full viewport like intro */
.content-block {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header) + 1.5rem) 0 3.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.content-block .container {
  width: 100%;
}

.content-hero .hero-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.content-hero .hero-copy p {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.75rem;
  }
}

/* Media */
.media {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-block .media {
  max-height: min(52vh, 420px);
  aspect-ratio: 16 / 10;
  width: 100%;
}

.media-sm {
  aspect-ratio: auto;
  height: clamp(120px, 18vw, 180px);
}

.pitch-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.media.is-ready .pitch-video {
  display: block;
}

.media.is-ready .media-empty {
  display: none;
}

.media-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Sections */
.section {
  position: relative;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.section-compact {
  padding: 2.5rem 0 2rem;
}

.section-muted {
  background: var(--band);
}

/* Credenciais — ABES, cases, modelos */
.cred-abes {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .cred-abes {
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
  }
}

.cred-abes-seal {
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 1024 / 600;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.cred-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.cred-abes-copy h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.cred-abes-copy p:last-child {
  margin-top: 0.45rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--muted);
}

.cred-block {
  margin-bottom: 1.75rem;
}

.cred-block:last-of-type {
  margin-bottom: 0;
}

.cred-block-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cred-block-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 40rem;
}

.cred-cases,
.cred-models {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .cred-cases,
  .cred-models {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cred-case,
.cred-model {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
}

.cred-case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.cred-case h4,
.cred-model h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.cred-case p {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.cred-model ul {
  list-style: none;
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cred-model li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}

.cred-model li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--blue);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-compact .section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 0.65rem;
  color: var(--muted);
}

/* Solution neural map — interactive CODxAI hub */
.sol-map {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 1rem auto 0;
  aspect-ratio: 800 / 560;
}

.sol-map.is-dim .sol-map-node:not(.is-active):not(.is-hover) button {
  opacity: 0.72;
}

.sol-map-svg {
  position: absolute;
  inset: 0 0 4.5rem;
  width: 100%;
  height: calc(100% - 4.5rem);
  pointer-events: none;
  overflow: visible;
}

.sol-map-edges path {
  fill: none;
  stroke: url(#sol-map-grad);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.35;
  transition: opacity 0.25s ease, stroke-width 0.25s ease;
}

.sol-map-edges path.is-lit {
  opacity: 1;
  stroke-width: 2.4;
  filter: url(#sol-map-glow);
}

.sol-map-dots circle {
  fill: #3b82f6;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.sol-map-dots circle.is-lit {
  opacity: 1;
}

.sol-map-hub {
  position: absolute;
  left: 50%;
  top: calc((100% - 4.5rem) / 2);
  z-index: 3;
  width: clamp(5.75rem, 14vw, 7.5rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--blue);
  background: var(--hub-bg);
  box-shadow: var(--hub-shadow);
  transition: box-shadow 0.25s ease;
}

.sol-map-hub:hover,
.sol-map-hub.is-active {
  box-shadow: var(--hub-shadow-active);
}

.sol-map-hub-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.35);
  animation: sol-map-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.sol-map-hub-label {
  position: relative;
  z-index: 1;
  font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

@keyframes sol-map-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.sol-map-nodes {
  list-style: none;
  position: absolute;
  inset: 0 0 4.5rem;
  margin: 0;
  padding: 0;
}

.sol-map-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 11.5rem;
}

.sol-map-node button {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: var(--node-bg);
  color: var(--text);
  font: inherit;
  font-size: clamp(0.75rem, 1.5vw, 0.88rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--node-shadow);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.25s ease;
}

.sol-map-node.is-hover button,
.sol-map-node.is-active button,
.sol-map-node button:focus-visible {
  border-color: rgba(59, 130, 246, 0.7);
  background: var(--node-bg-active);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--node-shadow-active);
  outline: none;
}

.sol-map-detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 3.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 14px;
  background: var(--detail-bg);
  box-shadow: var(--shadow);
  text-align: center;
}

.sol-map-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue);
}

.sol-map-detail p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .sol-map {
    aspect-ratio: auto;
    max-width: none;
    padding: 0.25rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .sol-map-svg {
    display: none;
  }

  .sol-map-hub {
    position: relative;
    left: auto;
    top: auto;
    width: 6.5rem;
    margin: 0 auto;
    transform: none;
  }

  .sol-map-nodes {
    position: relative;
    inset: auto;
    display: grid;
    gap: 0.65rem;
    padding-left: 1.15rem;
    border-left: 1px solid rgba(59, 130, 246, 0.35);
    margin-left: 0.85rem;
  }

  .sol-map-node {
    position: relative;
    left: auto;
    top: auto;
    max-width: none;
    width: 100%;
    transform: none;
  }

  .sol-map-node::before {
    content: "";
    position: absolute;
    left: -1.15rem;
    top: 50%;
    width: 0.85rem;
    height: 1px;
    background: rgba(59, 130, 246, 0.55);
    transform: translateY(-50%);
  }

  .sol-map-node button {
    text-align: left;
  }

  .sol-map-detail {
    position: relative;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sol-map-hub-ring {
    animation: none;
  }
}

/* Pillars — video blocks below Soluções */
.pillars-head {
  margin-top: 3rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pillar:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pillar-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.pillar-text h3 span {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

.pillar-text p {
  margin-top: 0.35rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.925rem;
  line-height: 1.55;
}

@media (min-width: 800px) {
  .pillar {
    grid-template-columns: 1.1fr 0.75fr;
    gap: 1.5rem;
    align-items: center;
  }
}

/* Carousel coverflow — diferenciais */
.carousel {
  margin-top: 0.5rem;
}

.carousel-coverflow {
  --card-w: min(38vw, 340px);
  --card-h: clamp(150px, 22vw, 210px);
}

.carousel-stage {
  position: relative;
  height: calc(var(--card-h) + 2.5rem);
  overflow: hidden;
  perspective: 1200px;
}

.carousel-coverflow .carousel-track {
  list-style: none;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}

.carousel-coverflow .carousel-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-w);
  height: var(--card-h);
  margin: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease,
    filter 0.45s ease;
  will-change: transform, opacity;
}

.carousel-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-card:hover,
.carousel-slide.is-active .carousel-card {
  border-color: rgba(59, 130, 246, 0.55);
}

.carousel-slide.is-active .carousel-card {
  box-shadow: var(--card-shadow-active);
}

.carousel-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(9, 14, 24, 0.94) 42%);
}

.carousel-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.carousel-caption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e2e8f0;
}

.carousel-slide.is-active .carousel-caption span {
  display: block;
}

.carousel-slide:not(.is-active) .carousel-caption span {
  display: none;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.85rem;
}

.carousel-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--blue);
  width: 1.15rem;
}

@media (max-width: 640px) {
  .carousel-coverflow {
    --card-w: min(72vw, 280px);
    --card-h: 170px;
  }
}

/* Comparativo interativo */
.compare-hint {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.compare-map {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compare-map.is-focused .compare-map-row:not(.is-active):not(:hover) {
  opacity: 0.42;
}

.compare-map-head,
.compare-map-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .compare-map-head,
  .compare-map-row {
    grid-template-columns: 1fr 3.75rem 1fr;
    gap: 0.75rem;
    align-items: center;
  }
}

.compare-map-head > div {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.25rem 0.35rem;
}

.compare-map-head > div:last-child {
  color: var(--blue);
}

.compare-map-arrow-head {
  display: none;
}

@media (min-width: 800px) {
  .compare-map-arrow-head {
    display: block;
  }
}

.compare-map-row {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.compare-map-row:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 10px;
}

.compare-map-from,
.compare-map-to {
  display: block;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.925rem;
  line-height: 1.5;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease, color 0.25s ease;
}

.compare-map-from {
  background: var(--compare-from);
  color: var(--muted);
}

.compare-map-to {
  background: var(--compare-to);
  border-color: rgba(59, 130, 246, 0.28);
  color: var(--text);
}

.compare-map-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.25rem;
  color: var(--blue);
}

.compare-map-arrow > span {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(59, 130, 246, 0.55);
  transition: background 0.25s ease, transform 0.25s ease;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

@media (max-width: 799px) {
  .compare-map-arrow > span {
    transform: rotate(90deg);
  }
}

.compare-map-row:hover .compare-map-from,
.compare-map-row.is-active .compare-map-from {
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text);
}

.compare-map-row:hover .compare-map-to,
.compare-map-row.is-active .compare-map-to {
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.compare-map-row:hover .compare-map-arrow > span,
.compare-map-row.is-active .compare-map-arrow > span {
  background: var(--blue);
}

.compare-map-row.is-active .compare-map-arrow > span {
  animation: compare-arrow-pulse 1.1s ease-in-out infinite;
}

@media (min-width: 800px) {
  .compare-map-row:hover .compare-map-to,
  .compare-map-row.is-active .compare-map-to {
    transform: translateX(4px);
  }
}

@keyframes compare-arrow-pulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(4px);
    opacity: 0.75;
  }
}

@media (max-width: 799px) {
  @keyframes compare-arrow-pulse {
    0%,
    100% {
      transform: rotate(90deg) translateX(0);
      opacity: 1;
    }
    50% {
      transform: rotate(90deg) translateX(4px);
      opacity: 0.75;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .compare-map-row.is-active .compare-map-arrow > span {
    animation: none;
  }
}

/* Contact */
.contact {
  display: grid;
  gap: 2.5rem;
}

.contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-intro {
  margin-top: 0.65rem;
  color: var(--muted);
  max-width: 28rem;
}

.contact-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-list dd {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--blue);
}

@media (min-width: 860px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form textarea {
  resize: vertical;
  min-height: 6rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.footer-links a {
  text-decoration: none;
}

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

.footer-copy {
  opacity: 0.8;
}

/* Modal / cookie — keep script IDs working */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
}

.modal:not(.hidden) {
  display: flex;
}

.modal-panel {
  width: min(40rem, calc(100% - 2rem));
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-head h2 {
  font-size: 1rem;
}

.modal-head button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
}

.modal-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-tab {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.legal-tab.bg-primary,
.legal-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.modal-body {
  padding: 1rem 1.25rem;
  overflow: auto;
  font-size: 0.875rem;
  color: var(--muted);
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--cookie-shadow);
}

.cookie p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 48rem;
}

.cookie button#cookie-privacy-link {
  background: none;
  border: none;
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.legal-code {
  background: var(--code-bg);
  color: var(--code-color);
  border-radius: 4px;
  padding: 0 0.25rem;
  font-size: 0.75rem;
}

.hidden {
  display: none !important;
}
