:root {
  --bg-0: #020814;
  --bg-1: #07162c;
  --bg-2: #0c2343;
  --surface: rgba(10, 28, 54, 0.72);
  --surface-strong: rgba(8, 24, 46, 0.9);
  --line: rgba(132, 184, 240, 0.28);
  --line-bright: rgba(98, 189, 255, 0.6);
  --text: #e9f3ff;
  --text-soft: #a7c0de;
  --accent: #005eb8;
  --accent-2: #00a3e0;
  --shadow: 0 24px 56px rgba(1, 8, 19, 0.55);
  --shadow-soft: 0 14px 34px rgba(1, 8, 19, 0.35);
}

body {
  background:
    radial-gradient(1300px 780px at 8% -14%, rgba(0, 163, 224, 0.18), transparent 56%),
    radial-gradient(1100px 760px at 108% -20%, rgba(0, 94, 184, 0.22), transparent 58%),
    linear-gradient(160deg, #020814 0%, #07172f 44%, #081f3d 100%);
  line-height: 1.5;
}

.site-atmosphere {
  opacity: 0.82;
}

.site-atmosphere__flow {
  background: linear-gradient(122deg, rgba(0, 163, 224, 0.2), rgba(0, 94, 184, 0.16), rgba(0, 163, 224, 0.12));
}

.site-atmosphere__veil {
  background: radial-gradient(circle at 52% 44%, rgba(2, 8, 20, 0), rgba(2, 8, 20, 0.32) 58%, rgba(2, 8, 20, 0.68) 100%);
}

.site-header {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(1rem, 3.2vw, 3rem);
  padding-right: clamp(1rem, 3.2vw, 3rem);
}

#main-content p {
  line-height: 1;
}

#main-content h1,
#main-content h2,
#main-content h3 {
  line-height: 1;
}

#main-content .section-heading {
  gap: 0;
}

#main-content .section-heading p {
  margin-top: 0;
  line-height: 1;
}

.site-header.is-scrolled {
  background: rgba(2, 12, 26, 0.86);
  border-bottom-color: rgba(132, 184, 240, 0.24);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 6, 18, 0.5);
}

.main-nav a,
.footer-links a,
.footer-note,
.footer-bottom p,
.footer-title,
.brand-text,
.brand {
  color: #d9ebff;
}

.brand {
  gap: 0.5rem;
}

.brand-accent {
  margin-left: 0.18rem;
  color: #67d6ff;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.main-nav .menu-list > li > a {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.26rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav a.is-current {
  color: #eaf5ff;
}

.main-nav a.is-current::after {
  transform: scaleX(1);
}

/* Mantém apenas o caret em submenu; sem pseudo extra antes do texto */
.main-nav .menu-list > .menu-item.has-submenu > a::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 0 !important;
  height: 0 !important;
}

.menu-item {
  position: relative;
}

.menu-item .submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  width: 332px;
  padding: 0.52rem 0;
  margin: 0;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(132, 184, 240, 0.22);
  background: rgba(6, 21, 42, 0.96);
  box-shadow: 0 18px 34px rgba(1, 6, 16, 0.62);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 120;
}

.menu-item .submenu a {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0;
  color: #bfdcff;
}

.menu-item .submenu a::after {
  display: none;
}

.menu-item .submenu a:hover,
.menu-item .submenu a:focus-visible {
  background: rgba(32, 83, 145, 0.22);
  color: #f0f8ff;
}

.menu-item.has-submenu:hover .submenu,
.menu-item.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-caret {
  display: inline-block;
  margin-left: 0.28rem;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.9;
  transform: translateY(-1px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-item.has-submenu:hover .nav-caret,
.menu-item.has-submenu:focus-within .nav-caret {
  transform: translateY(-2px);
  opacity: 1;
}

.menu-item-senaipark > a {
  color: #67d6ff;
  font-weight: 800;
}

.brand-mark {
  box-shadow: 0 0 18px rgba(103, 216, 255, 0.66);
}

.btn {
  color: #ffffff;
  background: linear-gradient(135deg, #005eb8, #0074c8 55%, #00a3e0 100%);
  box-shadow: 0 14px 30px rgba(0, 78, 146, 0.42);
}

.btn-secondary {
  color: #dbefff;
  border-color: rgba(132, 184, 240, 0.36);
  background: rgba(9, 26, 50, 0.56);
}

.hero-cinematic {
  min-height: 100svh;
  padding-top: clamp(7rem, 9vw, 8.7rem);
  padding-bottom: clamp(4rem, 6vw, 5.6rem);
  border-bottom: 1px solid rgba(132, 184, 240, 0.2);
  background:
    radial-gradient(980px 420px at 8% -12%, rgba(61, 171, 255, 0.12), transparent 62%),
    radial-gradient(760px 360px at 92% 8%, rgba(35, 118, 255, 0.1), transparent 64%),
    linear-gradient(180deg, rgba(8, 24, 48, 0.985), rgba(5, 18, 38, 0.985));
}

.hero-video {
  opacity: 0.44;
  filter: none;
  display: none;
}

.hero-particles {
  opacity: 0.38;
}

.hero-gradient-flow,
.hero-light,
.hero-title::before {
  opacity: 0.92;
}

.hero-vignette {
  background: radial-gradient(circle at 56% 46%, rgba(2, 8, 20, 0), rgba(2, 8, 20, 0.52) 64%, rgba(2, 8, 20, 0.88) 100%);
}

.hero-title {
  text-wrap: balance;
  gap: 0;
}

.hero-title span {
  background: none;
  color: #ffffff;
  text-shadow: none;
}

.hero-lead {
  color: #b7cde8;
  max-width: 58ch;
}

.hero-actions .btn:not(.btn-secondary)::after {
  background: radial-gradient(circle at 30% 50%, rgba(233, 248, 255, 0.66), rgba(0, 163, 224, 0.36) 52%, rgba(0, 163, 224, 0) 74%);
}

.portal-hero-scout {
  gap: 0.55rem;
}

.portal-hero-scout .c-chip {
  background: rgba(7, 24, 46, 0.74);
  color: #b9d8f8;
  border-color: rgba(132, 184, 240, 0.24);
  box-shadow: 0 10px 20px rgba(1, 8, 19, 0.28);
}

.hero-kinetic-band {
  position: relative;
  z-index: 3;
  margin-top: clamp(1.8rem, 2.8vw, 2.6rem);
  border-top: 1px solid rgba(132, 184, 240, 0.22);
  border-bottom: 1px solid rgba(132, 184, 240, 0.22);
  background: linear-gradient(90deg, rgba(5, 19, 38, 0.86), rgba(8, 26, 50, 0.95));
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding: 0.76rem 0;
}

.hero-kinetic-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 100%;
  animation: kineticSlide 18s linear infinite;
}

.hero-kinetic-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(132, 184, 240, 0.22);
  background: rgba(10, 32, 60, 0.78);
  color: #d7ebff;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.42rem 0.78rem;
}

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

.eyebrow,
.card-kicker,
.case-sector,
.c-badge,
.metric-label,
.credibility-text,
p,
.u-muted {
  color: #a8c1df;
}

h1,
h2,
h3,
.metric-value,
.credibility-number,
.c-card__title,
.c-stat-card__value {
  color: #e9f3ff;
}

.glass,
.metric-card,
.card,
.case-card,
.about-block,
.cta-box,
.credibility-strip,
.c-simple-card,
.c-stat-card,
.c-filter-shell,
.c-partner-logo {
  background: linear-gradient(160deg, rgba(9, 28, 54, 0.8), rgba(6, 20, 40, 0.78));
  border-color: rgba(132, 184, 240, 0.2);
  box-shadow: var(--shadow-soft);
}

.c-filter-shell {
  top: 84px;
}

.c-filter-search__input {
  background: rgba(6, 22, 43, 0.88);
  color: #e5f2ff;
  border-color: rgba(132, 184, 240, 0.28);
}

.c-chip {
  background: rgba(6, 24, 45, 0.86);
  color: #c6ddf8;
  border-color: rgba(132, 184, 240, 0.24);
}

.c-chip.is-active,
.c-chip:hover,
.c-chip:focus-visible {
  background: linear-gradient(120deg, rgba(0, 94, 184, 0.24), rgba(0, 163, 224, 0.2));
  color: #f1f9ff;
}

.c-card {
  border-color: rgba(132, 184, 240, 0.24);
  background: linear-gradient(160deg, rgba(8, 26, 50, 0.94), rgba(5, 19, 38, 0.92));
}

.c-card__overlay {
  background: linear-gradient(180deg, rgba(2, 9, 20, 0.06) 4%, rgba(3, 10, 22, 0.58) 54%, rgba(2, 8, 19, 0.94) 100%);
}

.c-card__eyebrow,
.c-card__meta,
.c-card__excerpt {
  color: #c4dcf8;
}

.c-card__cta {
  color: #8fd8ff;
}

.c-simple-card {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.c-simple-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98, 189, 255, 0.48);
  box-shadow: 0 22px 38px rgba(0, 10, 24, 0.56);
}

.c-simple-card__media {
  border-color: rgba(132, 184, 240, 0.2);
}

.chip-like {
  background: rgba(7, 25, 48, 0.84);
  color: #d0e5ff;
  border-color: rgba(132, 184, 240, 0.3);
}

#timeline,
#cases,
#conteudo,
#cta-final,
#contato {
  position: relative;
}

#timeline::before,
#cases::before,
#conteudo::before,
#cta-final::before,
#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(0, 94, 184, 0.08), rgba(0, 163, 224, 0.06));
}

#timeline > .container,
#cases > .container,
#conteudo > .container,
#cta-final > .container,
#contato > .container {
  position: relative;
  z-index: 1;
}

.cta-box {
  border-radius: 28px;
  border: 1px solid rgba(132, 184, 240, 0.24);
  background: linear-gradient(165deg, rgba(8, 24, 48, 0.94), rgba(5, 19, 38, 0.92));
}

.cta-box h2 {
  color: #edf6ff;
}

.site-footer {
  background: linear-gradient(180deg, rgba(4, 15, 30, 0.9), rgba(3, 12, 24, 0.96));
  border-top: 1px solid rgba(132, 184, 240, 0.2);
}

.accessibility-tools__panel {
  background: rgba(6, 22, 44, 0.94);
  color: #dcecff;
}

.accessibility-tools {
  position: fixed !important;
  right: 1rem !important;
  bottom: 1rem !important;
  z-index: 9999 !important;
}

.accessibility-tools__toggle {
  width: 36px !important;
  height: 36px !important;
  background: #ffffff !important;
  color: #0a2f8a !important;
  border: 1px solid rgba(161, 194, 224, 0.78) !important;
  box-shadow: 0 14px 28px rgba(0, 18, 44, 0.28) !important;
}

.accessibility-tools__icon {
  width: 36px !important;
  height: 36px !important;
  background-image: var(--a11y-icon-url) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 128% !important;
}

@media (max-width: 900px) {
  .hero-kinetic-chip {
    font-size: 0.72rem;
  }

  .hero-kinetic-band {
    margin-top: 1.35rem;
  }
}

@media (max-width: 760px) {
  .hero-video,
  .hero-particles {
    opacity: 0.22;
  }

  .site-atmosphere {
    opacity: 0.62;
  }

  .hero-title span {
    text-shadow: none;
  }

  .hero-copy {
    background: linear-gradient(180deg, rgba(4, 18, 36, 0.72), rgba(3, 14, 30, 0.64));
    border: 1px solid rgba(132, 184, 240, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0.7rem;
  }

  .hero-lead {
    color: #e6f3ff;
    background: rgba(3, 12, 26, 0.44);
    border-radius: 8px;
    padding: 0.42rem 0.5rem;
    max-width: 100%;
    line-height: 1.34 !important;
  }

  .c-filter-shell {
    position: static;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .main-nav {
    background: rgba(3, 13, 26, 0.98);
    border-top-color: rgba(132, 184, 240, 0.28);
    border-bottom-color: rgba(132, 184, 240, 0.28);
  }

  .main-nav .menu-list > li > a {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .menu-item .submenu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.32rem;
    border-radius: 10px;
    border: 1px solid rgba(132, 184, 240, 0.22);
    box-shadow: none;
    background: rgba(7, 24, 47, 0.92);
  }

  .menu-item .submenu a {
    font-size: 0.8rem;
    padding: 0.54rem 0.82rem 0.54rem 1rem;
    color: #b5d0ee;
  }

  .menu-item .submenu li {
    border-top: 0;
  }

  .nav-caret {
    margin-left: 0.35rem;
    font-size: 0.78rem;
    transform: translateY(-1px);
  }
}

/* Menu mobile clean: menos ruido, melhor leitura e toque */
@media (max-width: 900px) {
  .main-nav {
    background: rgba(3, 10, 22, 0.985) !important;
    border-top: 1px solid rgba(132, 184, 240, 0.22) !important;
    border-bottom: 0 !important;
  }

  .main-nav .menu-list {
    padding: 0.35rem 0.7rem 1rem !important;
  }

  .main-nav .menu-item {
    border-top: 1px solid rgba(132, 184, 240, 0.14) !important;
  }

  .main-nav .menu-item:first-child {
    border-top: 0 !important;
  }

  .main-nav .menu-item > a {
    display: block;
    padding: 0.92rem 0.78rem !important;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: 0.005em !important;
    color: #dcebff !important;
  }

  .main-nav .menu-item.has-submenu > a {
    padding-right: 0.78rem !important;
  }

  .main-nav .menu-item > a::after {
    display: none !important;
    content: none !important;
  }

  .main-nav .submenu-toggle {
    display: none !important;
  }

  .main-nav .menu-item > .submenu {
    margin-top: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .main-nav .menu-item.is-open > a {
    background: rgba(32, 83, 145, 0.12) !important;
    color: #f2f8ff !important;
  }

  .main-nav .menu-item .submenu a {
    padding: 0.64rem 0.78rem 0.64rem 1.36rem !important;
    font-size: 0.9rem !important;
    color: #b7d2ef !important;
    border-top: 1px solid rgba(132, 184, 240, 0.12) !important;
    background: transparent !important;
  }

  .main-nav .menu-item .submenu a:hover,
  .main-nav .menu-item .submenu a:focus-visible {
    color: #f2f8ff !important;
    background: rgba(32, 83, 145, 0.16) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kinetic-track {
    animation: none;
  }
}

.floating-cta {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(132, 184, 240, 0.34);
  background: linear-gradient(135deg, rgba(0, 94, 184, 0.92), rgba(0, 163, 224, 0.9));
  color: #f2f9ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(0, 8, 20, 0.52);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(0, 8, 20, 0.6);
}

.floating-cta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8f4ff;
  box-shadow: 0 0 14px rgba(216, 244, 255, 0.85);
}

.wow-proof {
  position: relative;
}

.wow-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1100px 560px at 30% 0%, rgba(0, 163, 224, 0.12), transparent 64%);
}

.wow-proof .container {
  position: relative;
  z-index: 1;
}

.wow-proof__heading {
  max-width: 860px;
}

.wow-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wow-proof__panel {
  position: relative;
  border-radius: 18px;
  padding: 1.35rem;
  border: 1px solid rgba(132, 184, 240, 0.24);
  background: linear-gradient(160deg, rgba(7, 22, 44, 0.84), rgba(5, 17, 34, 0.9));
  box-shadow: 0 14px 28px rgba(0, 9, 22, 0.44);
}

.wow-proof__panel--before {
  border-color: rgba(132, 184, 240, 0.2);
}

.wow-proof__panel--after {
  border-color: rgba(98, 189, 255, 0.42);
  box-shadow: 0 18px 34px rgba(0, 11, 26, 0.52), 0 0 22px rgba(36, 176, 255, 0.2);
}

.wow-proof__label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  border: 1px solid rgba(132, 184, 240, 0.34);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.wow-proof__panel h3 {
  margin-top: 0.72rem;
  font-size: clamp(1.15rem, 1.8vw, 1.46rem);
}

.wow-proof__panel p {
  margin-top: 0.55rem;
}

.wow-proof__meter {
  margin-top: 0.82rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(8, 28, 54, 0.82);
  border: 1px solid rgba(132, 184, 240, 0.24);
  overflow: hidden;
}

.wow-proof__meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 94, 184, 0.94), rgba(102, 199, 255, 0.96));
}

.wow-proof__kpi {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: #d6ebff;
  font-weight: 700;
}

.wow-proof__case {
  margin-top: 1rem;
  padding: 1.4rem;
  border-radius: 20px;
}

.wow-proof__case h3 {
  margin-top: 0.45rem;
}

.wow-proof__case p {
  margin-top: 0.66rem;
}

/* Curated showcase inspired by portfolio listings */
.showcase-head {
  margin-top: 1rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.showcase-head__kicker {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #c7e3ff;
}

.showcase-head__stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(132, 184, 240, 0.28);
  background: rgba(9, 31, 58, 0.82);
  color: #dff1ff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.showcase-pill:hover,
.showcase-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(36, 176, 255, 0.24);
}

#cases .c-filter-shell {
  position: static;
  top: auto;
  margin-bottom: 0.95rem;
}

.showcase-grid .c-simple-card {
  min-height: 100%;
}

.showcase-grid .c-simple-card:first-child {
  grid-column: span 2;
}

.showcase-grid .c-simple-card:first-child .c-simple-card__media {
  height: 240px;
}

.case-card-meta {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.case-card-meta__item {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(132, 184, 240, 0.26);
  padding: 0.22rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d9efff;
  background: rgba(6, 26, 50, 0.84);
}

@media (max-width: 900px) {
  .wow-proof__grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid .c-simple-card:first-child {
    grid-column: auto;
  }

  .showcase-grid .c-simple-card:first-child .c-simple-card__media {
    height: 170px;
  }

  .floating-cta {
    right: 0.8rem;
    bottom: 0.8rem;
    padding-inline: 0.8rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 760px) {
  .floating-cta span:last-child {
    display: none;
  }

  .floating-cta {
    min-width: 44px;
    justify-content: center;
    padding-inline: 0.68rem;
  }
}

/* Hi-Tech Upgrade */
:root {
  --neon-a: #66c7ff;
  --neon-b: #24b0ff;
  --neon-c: #8ad9ff;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(116, 183, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 183, 240, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08) 72%);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 199, 255, 0.78), transparent);
}

.site-header.is-scrolled::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 94, 184, 0), rgba(102, 199, 255, 0.9), rgba(0, 94, 184, 0));
}

.hero-title::before {
  filter: blur(26px);
  background: radial-gradient(circle at 46% 50%, rgba(36, 176, 255, 0.34), rgba(0, 94, 184, 0.2) 42%, transparent 72%);
}

.hero-title span {
  letter-spacing: 0.01em;
}

.hero-kinetic-chip {
  box-shadow: inset 0 0 0 1px rgba(102, 199, 255, 0.16), 0 0 20px rgba(36, 176, 255, 0.16);
}

.menu-item .submenu,
.c-filter-shell,
.c-simple-card,
.c-stat-card,
.c-card,
.cta-box {
  backdrop-filter: blur(10px) saturate(1.08);
}

.c-card {
  isolation: isolate;
}

.c-card::before,
.c-simple-card::before,
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(102, 199, 255, 0.16), rgba(36, 176, 255, 0) 42%);
  opacity: 0.72;
}

.c-card::after,
.c-simple-card::after,
.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(102, 199, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(11, 40, 74, 0.46);
  pointer-events: none;
}

.c-card:hover,
.c-simple-card:hover {
  box-shadow: 0 24px 40px rgba(0, 10, 24, 0.62), 0 0 30px rgba(36, 176, 255, 0.18);
}

.c-card__cta {
  color: var(--neon-c);
}

.c-chip.is-active,
.c-chip:hover,
.c-chip:focus-visible {
  box-shadow: 0 0 18px rgba(36, 176, 255, 0.2);
}

.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 94, 184, 0), rgba(102, 199, 255, 0.72), rgba(0, 94, 184, 0));
}

/* Dribbble Ultra Pack */
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(137, 198, 255, 0.16);
  box-shadow: inset 0 0 42px rgba(24, 107, 184, 0.18), 0 0 34px rgba(22, 106, 185, 0.14);
}

.hero-orbit-a {
  width: min(68vw, 920px);
  aspect-ratio: 1;
  right: -14%;
  top: -18%;
  animation: orbitSpinA 34s linear infinite;
}

.hero-orbit-b {
  width: min(52vw, 680px);
  aspect-ratio: 1;
  left: -10%;
  bottom: -16%;
  animation: orbitSpinB 28s linear infinite;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(185, 226, 255, 0.045) 0px,
    rgba(185, 226, 255, 0.045) 1px,
    rgba(2, 9, 21, 0) 3px,
    rgba(2, 9, 21, 0) 6px
  );
  mix-blend-mode: soft-light;
  opacity: 0.38;
}

@keyframes orbitSpinA {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinB {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(122px, auto);
  gap: 1rem;
}

.showcase-grid .c-simple-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.showcase-grid .c-simple-card:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 2;
}

.showcase-grid .c-simple-card:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: span 1;
}

.showcase-grid .c-simple-card:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: span 1;
}

.showcase-grid .c-simple-card:nth-child(1) .c-simple-card__media {
  height: 240px;
}

.showcase-grid .c-simple-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(87, 185, 255, 0.22), rgba(87, 185, 255, 0) 56%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.showcase-grid .c-simple-card:hover::before,
.showcase-grid .c-simple-card:focus-within::before {
  opacity: 1;
}

.showcase-grid .c-simple-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(122, 196, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(10, 42, 78, 0.45);
  display: none; /* Removendo borda azul escura via CSS */
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .showcase-grid .c-simple-card:nth-child(1),
  .showcase-grid .c-simple-card:nth-child(2),
  .showcase-grid .c-simple-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .showcase-grid .c-simple-card:nth-child(1) .c-simple-card__media {
    height: 170px;
  }
}

/* Fix visual do Portfolio em destaque: cards uniformes */
.home-principal #cases .showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
}

.home-principal #cases .showcase-grid .c-simple-card:nth-child(1),
.home-principal #cases .showcase-grid .c-simple-card:nth-child(2),
.home-principal #cases .showcase-grid .c-simple-card:nth-child(3),
.home-principal #cases .showcase-grid .c-simple-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.home-principal #cases .showcase-grid .c-simple-card .c-simple-card__media {
  height: 190px;
}

@media (max-width: 1100px) {
  .home-principal #cases .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-principal #cases .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-orbit,
  .hero-scanline {
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit-a,
  .hero-orbit-b {
    animation: none;
  }
}

/* Home principal: secoes full-width com fundos intercalados */
.home-principal {
  position: relative;
}

.home-principal .home-band {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transition: filter 280ms ease, opacity 280ms ease, transform 360ms ease;
}

.home-principal .home-band > * {
  transition: transform 360ms ease, opacity 280ms ease;
}

.home-principal .home-band.is-story-active > * {
  transform: translateY(0);
  opacity: 1;
}

.home-principal .home-band:not(.is-story-active) > * {
  transform: translateY(8px);
  opacity: 0.95;
}

.home-principal .home-band.is-story-past > * {
  transform: translateY(-6px);
  opacity: 0.9;
}


@media (min-width: 1024px) {
  html:has(body.home) {
    scroll-behavior: smooth;
  }

  body.home {
    scroll-snap-type: none;
  }

  body.home .home-principal .home-band {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    min-height: auto;
  }

  body.home .site-footer {
    scroll-snap-align: none;
  }

  body.home .home-principal .home-band--hero {
    min-height: 100svh;
  }
}

.home-principal .home-band > * {
  position: relative;
  z-index: 2;
}

.home-principal .home-band .container {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1rem, 3.2vw, 3rem);
  padding-right: clamp(1rem, 3.2vw, 3rem);
}

.home-principal .portal-grid-3,
.home-principal .cards-grid-3 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-principal .home-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.home-principal .home-band--hero::before {
  background:
    radial-gradient(860px 360px at 16% 8%, rgba(255, 122, 0, 0.2), transparent 64%),
    radial-gradient(760px 300px at 88% 10%, rgba(0, 94, 184, 0.22), transparent 62%);
}

.home-principal .home-band--deep::before {
  background:
    linear-gradient(180deg, rgba(0, 55, 110, 0.74), rgba(0, 42, 93, 0.7));
  border-top: 1px solid rgba(141, 198, 255, 0.18);
  border-bottom: 1px solid rgba(141, 198, 255, 0.18);
}

.home-principal .home-band--light::before {
  background:
    linear-gradient(180deg, rgba(0, 94, 184, 0.34), rgba(0, 74, 153, 0.3));
  border-top: 1px solid rgba(176, 217, 255, 0.16);
  border-bottom: 1px solid rgba(176, 217, 255, 0.16);
}

.home-principal .home-band--cta::before {
  background:
    radial-gradient(640px 240px at 50% 0%, rgba(255, 122, 0, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(0, 55, 110, 0.82), rgba(0, 38, 84, 0.88));
  border-top: 1px solid rgba(255, 183, 120, 0.28);
}

@media (max-width: 900px) {
  .home-principal .home-band {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* Paleta de cor alinhada a referencia principal (lovable) */
:root {
  --bg-0: #fafafa;
  --bg-1: #f5f9ff;
  --bg-2: #eef5ff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(173, 196, 220, 0.62);
  --line-bright: rgba(255, 106, 0, 0.44);
  --text: #0f3558;
  --text-soft: #4f6780;
  --accent: #005eb8;
  --accent-2: #ff6a00;
}

body {
  background:
    radial-gradient(1200px 620px at 10% -16%, rgba(0, 94, 184, 0.1), transparent 58%),
    radial-gradient(980px 540px at 102% -12%, rgba(255, 106, 0, 0.1), transparent 56%),
    linear-gradient(160deg, #fafafa 0%, #f5f9ff 48%, #eef5ff 100%);
  color: var(--text);
}

.site-atmosphere {
  opacity: 0.35;
}

.site-header,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(173, 196, 220, 0.58);
  box-shadow: 0 10px 26px rgba(18, 54, 87, 0.12);
}

.main-nav a,
.footer-links a,
.footer-note,
.footer-bottom p,
.footer-title,
.brand-text,
.brand {
  color: #173b5f;
}

.brand-accent {
  color: #ff6a00;
}

.main-nav a::after {
  background: linear-gradient(90deg, rgba(0, 94, 184, 0), rgba(0, 94, 184, 0.92), rgba(255, 106, 0, 0.92), rgba(255, 106, 0, 0));
}

.menu-item .submenu {
  border: 1px solid rgba(173, 196, 220, 0.52);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(18, 54, 87, 0.14);
}

.menu-item .submenu a {
  color: #325372;
}

.menu-item .submenu a:hover,
.menu-item .submenu a:focus-visible {
  background: rgba(0, 94, 184, 0.1);
  color: #163a5f;
}

.btn {
  color: #fff;
  background: linear-gradient(135deg, #005eb8, #0054a5 54%, #ff6a00 100%);
  box-shadow: 0 12px 26px rgba(0, 94, 184, 0.24);
}

.btn-secondary {
  color: #173b5f;
  border-color: rgba(173, 196, 220, 0.65);
  background: rgba(255, 255, 255, 0.88);
}

.home-principal .home-band--hero::before {
  background:
    radial-gradient(860px 360px at 16% 8%, rgba(255, 106, 0, 0.12), transparent 64%),
    radial-gradient(760px 300px at 88% 10%, rgba(0, 94, 184, 0.12), transparent 62%);
}

.home-principal .home-band--news::before {
  background: linear-gradient(180deg, rgba(229, 239, 250, 0.98), rgba(220, 233, 247, 0.98));
}

.home-principal .home-band--solutions::before {
  background:
    radial-gradient(980px 420px at 8% -12%, rgba(61, 171, 255, 0.16), transparent 62%),
    radial-gradient(760px 360px at 92% 8%, rgba(35, 118, 255, 0.12), transparent 64%),
    repeating-linear-gradient(
      115deg,
      rgba(126, 192, 255, 0.05) 0px,
      rgba(126, 192, 255, 0.05) 1px,
      rgba(9, 30, 58, 0) 1px,
      rgba(9, 30, 58, 0) 24px
    ),
    linear-gradient(180deg, rgba(8, 24, 48, 0.98), rgba(5, 18, 38, 0.98));
}

.home-principal .home-band--timeline::before {
  background: linear-gradient(180deg, rgba(234, 245, 255, 0.98), rgba(228, 241, 255, 0.98));
}

.home-principal .home-band--cases::before {
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(238, 247, 255, 0.98));
}

.home-principal .home-band--partners::before {
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.98), rgba(227, 239, 253, 0.98));
}

.home-principal .home-band--location::before {
  background: linear-gradient(180deg, rgba(242, 250, 255, 0.98), rgba(233, 244, 255, 0.98));
}

.home-principal .home-band--cta::before {
  background:
    radial-gradient(640px 240px at 50% 0%, rgba(255, 106, 0, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(232, 245, 255, 0.98), rgba(222, 239, 255, 0.98));
}


.card,
.case-card,
.about-block,
.cta-box,
.glass,
.c-filter-shell,
.c-simple-card,
.wow-proof__panel,
.wow-proof__case {
  border-color: none;
  background: none;
  box-shadow: none;
}

.card p,
.case-card p,
.about-block p,
.cta-box p,
.wow-proof__panel p,
.wow-proof__case p,
.c-filter-meta,
.credibility-text {
  color: #4f6780 !important;
}

.card h3,
.case-card h3,
.about-block h3,
.cta-box h2,
.wow-proof__panel h3,
.wow-proof__case h3,
.section-heading h2,
.credibility-number {
  color: #133a5f !important;
}

/* Top bar mantida no estilo anterior (escuro) */
.site-header {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.site-header.is-scrolled {
  background: rgba(2, 12, 26, 0.86) !important;
  border-bottom-color: rgba(132, 184, 240, 0.24) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 6, 18, 0.5) !important;
}

.main-nav a,
.brand,
.footer-links a,
.footer-note,
.footer-bottom p,
.footer-title {
  color: #d9ebff !important;
}

.brand-accent {
  color: #67d6ff !important;
}

/* Restaura trilha hover azul+laranja na topbar */
.main-nav .menu-list > .menu-item > a::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.26rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 94, 184, 0), rgba(0, 94, 184, 0.92), rgba(255, 106, 0, 0.92), rgba(255, 106, 0, 0)) !important;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 220ms ease;
}

.main-nav .menu-list > .menu-item > a:hover::after,
.main-nav .menu-list > .menu-item > a:focus-visible::after,
.main-nav .menu-list > .menu-item > a.is-current::after {
  transform: scaleX(1);
}

.menu-item .submenu {
  border: 1px solid rgba(132, 184, 240, 0.22) !important;
  background: rgba(6, 21, 42, 0.96) !important;
  box-shadow: 0 18px 34px rgba(1, 6, 16, 0.62) !important;
}

.menu-item .submenu a {
  color: #bfdcff !important;
}

.menu-item .submenu a:hover,
.menu-item .submenu a:focus-visible {
  background: rgba(32, 83, 145, 0.22) !important;
  color: #f0f8ff !important;
}

/* Vistoria de contraste: endurece legibilidade no conteudo (sem mexer no hover da topbar) */
#main-content {
  color: #163a5f;
}

#main-content .eyebrow {
  color: #2f5f86;
}

#main-content .eyebrow::before {
  background: linear-gradient(90deg, rgba(0, 94, 184, 0), rgba(0, 94, 184, 0.92), rgba(255, 106, 0, 0.9));
}

.card,
.case-card,
.about-block,
.cta-box,
.glass,
.c-filter-shell,
.c-simple-card,
.wow-proof__panel,
.wow-proof__case,
.c-stat-card,
.c-partner-logo,
.c-empty-state {
  color: #173b5f !important;
}

.card p,
.case-card p,
.about-block p,
.cta-box p,
.glass p,
.c-simple-card p,
.wow-proof__panel p,
.wow-proof__case p,
.c-empty-state,
.section-heading p,
.case-card-meta {
  color: #4a637d !important;
}

.card h2,
.card h3,
.case-card h2,
.case-card h3,
.about-block h2,
.about-block h3,
.cta-box h2,
.c-simple-card h2,
.c-simple-card h3,
.wow-proof__panel h2,
.wow-proof__panel h3,
.wow-proof__case h2,
.wow-proof__case h3,
.section-heading h2,
.section-heading h3,
.credibility-number,
.c-stat-card__value {
  color: #123a5f !important;
}

.c-stat-card__value.metric-value--white {
  color: #ffffff !important;
}

.hero-metrics .c-stat-card__value {
  color: #ffffff !important;
}

.hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.hero-metrics .c-stat-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

@media (max-width: 760px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.58rem;
  }

  .hero-metrics .c-stat-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }

  .hero-metrics .c-stat-card__label {
    line-height: 1.25;
  }
}

.text-link,
.c-simple-card .text-link,
.wow-proof__case a,
.card a,
.case-card a,
.about-block a {
  color: #005eb8 !important;
}

.c-chip {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #184264 !important;
  border-color: rgba(173, 196, 220, 0.76) !important;
}

.c-chip:hover,
.c-chip:focus-visible,
.c-chip.is-active {
  background: rgba(0, 94, 184, 0.12) !important;
  color: #0f3558 !important;
  border-color: rgba(0, 94, 184, 0.5) !important;
}

.showcase-pill {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #194265 !important;
  border-color: rgba(173, 196, 220, 0.76) !important;
}

.showcase-head__kicker {
  color: #2f5f86 !important;
}

/* Coerencia visual da secao de cases */
#cases .cases-heading {
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

#cases .cases-heading__title {
  margin: 0;
  display: grid;
  gap: 0.12rem;
  line-height: 0.98 !important;
}

#cases .cases-heading__title-primary {
  color: #0a4a8a;
}

#cases .cases-heading__title-accent {
  color: #ff6a00;
}

#cases .cases-heading__description {
  max-width: 72ch;
  color: #5a7896 !important;
}

#cases .showcase-head {
  margin-top: 0.2rem;
  margin-bottom: 0.55rem;
}

#cases .c-filter-shell {
  margin-top: 0.25rem;
  margin-bottom: 0.95rem;
}

#cases .c-chip {
  font-weight: 700;
}

#cases .c-chip.is-active {
  border-color: rgba(255, 106, 0, 0.54) !important;
  background: linear-gradient(135deg, rgba(0, 94, 184, 0.18), rgba(255, 106, 0, 0.16)) !important;
  color: #0f3558 !important;
}

#cases .c-filter-meta {
  color: #5a7896 !important;
}

#cases .showcase-grid {
  align-items: stretch;
  gap: 0.85rem;
}

#cases .showcase-grid .c-simple-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}

#cases .showcase-grid .case-card__title {
  line-height: 1.16 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#cases .showcase-grid .case-card__excerpt {
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#cases .showcase-grid .case-card__result {
  min-height: 2.2em;
}

#cases .showcase-grid .case-card__source {
  margin-top: 0.05rem;
}

#cases .showcase-grid .case-card-meta {
  margin-top: 0.4rem;
}

#cases .showcase-grid .case-card-meta__item {
  font-size: 0.7rem;
}

#cases .showcase-grid .case-card__cta {
  margin-top: auto;
  font-weight: 700;
}

/* Alternancia de fundo por secao no projeto principal */
.home-principal .home-band:not(.home-band--hero):not(.home-band--cta):nth-of-type(odd)::before {
  background: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.home-principal .home-band:not(.home-band--hero):not(.home-band--cta):nth-of-type(even)::before {
  background: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* NOVA override: azul do fim do hero ate meia pagina */
body {
  background: #ffffff !important;
}

.site-atmosphere {
  display: none !important;
}

.home-principal .home-band::before,
.home-principal .home-band:not(.home-band--hero):not(.home-band--cta):nth-of-type(odd)::before,
.home-principal .home-band:not(.home-band--hero):not(.home-band--cta):nth-of-type(even)::before {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Evita hairline entre seções por subpixel/render */
.home-principal .home-band {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .home-principal .home-band + .home-band {
    margin-top: -1px;
  }
}

.site-footer {
  background: #0b4580 !important;
  border-top: 0 !important;
  backdrop-filter: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem 0 0 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding: clamp(2.2rem, 3.5vw, 3rem) 0 clamp(1.45rem, 2.3vw, 1.95rem) !important;
}

.site-footer .footer-col-info {
  display: flex;
  flex-direction: column;
}

.site-footer .footer__info--image {
  margin-bottom: 1.5rem;
}

.site-footer .footer__info--image img {
  max-width: 200px;
}

.site-footer .footer__info--contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer .footer__info--contacts a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer .footer__info--contacts span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-menu-cols {
  display: flex;
  gap: 3rem;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.site-footer .footer-links a {
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.site-footer .portal-carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
  gap: 20px;
}

.site-footer .portal-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.site-footer .portal-carousel__item {
  scroll-snap-align: start;
  flex: 0 0 100%;
  min-width: 100%;
}

.site-footer .portal-carousel__item p {
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.site-footer .portal-carousel__item a {
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-carousel-nav {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.site-footer .footer-carousel-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.site-footer .footer-carousel-nav button.is-active {
  background: #fff;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .site-footer .footer-menu-cols {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-footer .footer-col-locations,
  .site-footer .footer-col-menu,
  .site-footer .footer-col-info {
    width: 100%;
  }
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(147, 188, 226, 0.36);
  padding: 1rem 0 1.35rem !important;
}

.site-footer .footer-title {
  color: #ff6a00 !important;
  font-size: clamp(1.36rem, 1.75vw, 1.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.85rem !important;
}

.site-footer .footer-note,
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-links li,
.site-footer .footer-bottom p {
  color: #d7e8f8 !important;
}

.site-footer .footer-note {
  margin-top: 0 !important;
  max-width: 46ch;
  line-height: 1.42;
  font-size: 1rem;
}

.site-footer .footer-links {
  font-size: 1rem;
}

.site-footer .footer-links li + li {
  margin-top: 0.52rem;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #ffffff !important;
}

.site-footer .footer-bottom p {
  text-align: center;
  font-size: 0.92rem;
  color: #b4cde4 !important;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer .footer-bottom p {
    text-align: left;
  }
}

#contato::before {
  background: transparent;
}

.contact-conversation {
  padding-top: clamp(3.2rem, 6vw, 5.4rem);
  padding-bottom: clamp(2.4rem, 3.4vw, 3.6rem);
  padding-left: clamp(0.4rem, 1.5vw, 1.2rem);
  padding-right: clamp(1rem, 3vw, 2.4rem);
}

.contact-conversation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.7rem, 2.8vw, 2.6rem);
  align-items: start;
  margin-inline: auto;
}

@media (min-width: 981px) {
  .contact-conversation {
    padding-top: clamp(4.8rem, 6.5vw, 6.4rem);
    padding-bottom: clamp(3.2rem, 4.8vw, 4.8rem);
    padding-left: 20ch;
    padding-right: clamp(1.2rem, 2.8vw, 2.8rem);
  }

  .contact-conversation__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    margin-inline: 0 auto;
  }

  .contact-conversation__intro,
  .contact-conversation__form,
  .contact-conversation__empty-column {
    max-width: 100%;
    justify-self: stretch;
  }

  .contact-conversation__title span {
    font-size: clamp(3.4rem, 5vw, 5.4rem);
  }

  .contact-conversation__lead {
    margin: 1.35rem 0 2.35rem;
    max-width: 30ch;
    color: #fff !important;
    line-height: 1.45 !important;
  }

  .contact-conversation__details {
    gap: 1.2rem;
  }

  .contact-conversation__detail {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: start;
  }

  .contact-conversation__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .contact-conversation__detail p {
    margin: 0 0 0.18rem;
  }

  .contact-conversation__detail a,
  .contact-conversation__detail span {
    color: #d7e8f8 !important;
  }

  .contact-conversation__form {
    max-width: 100%;
    padding: 2rem 2rem 1.9rem;
    border-color: rgba(255, 106, 0, 0.4);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 34px rgba(9, 34, 67, 0.12);
    gap: 1.05rem;
  }

  .contact-conversation__form label {
    font-size: 1.03rem;
    color: #0c3f73;
  }

  .contact-conversation__form input,
  .contact-conversation__form textarea {
    padding: 0.86rem 0.95rem;
    color: #1f4f7f;
    border-color: rgba(120, 151, 182, 0.5);
    background: #fff;
  }

  .contact-conversation__form input {
    min-height: 50px;
  }

  .contact-conversation__form textarea {
    min-height: 146px;
  }

  .contact-conversation__form input::placeholder,
  .contact-conversation__form textarea::placeholder {
    color: #7d95ad;
  }

  .contact-conversation__form input:focus-visible,
  .contact-conversation__form textarea:focus-visible {
    border-color: rgba(10, 74, 138, 0.56);
    box-shadow: 0 0 0 3px rgba(10, 74, 138, 0.12);
    outline: none;
  }

  .contact-conversation__form button {
    margin-top: 0.36rem;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 22px rgba(255, 106, 0, 0.24);
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .contact-conversation__form button::after {
    margin-left: 0;
  }

  .contact-conversation__form button:hover,
  .contact-conversation__form button:focus-visible {
    transform: translateY(-1px);
  }
}

.contact-conversation__intro {
  max-width: 100%;
}

.contact-conversation__title {
  margin: 0;
  line-height: 0.92 !important;
  text-transform: uppercase;
}

.contact-conversation__title span {
  display: block;
  font-size: clamp(2.35rem, 4.8vw, 4.9rem);
  letter-spacing: 0.01em;
  font-weight: 800;
}

.contact-conversation__title span:first-child {
  color: #0a4a8a;
}

.contact-conversation__title span:last-child {
  color: #ff6a00;
}

.contact-conversation__lead {
  margin: 1.1rem 0 2rem;
  color: #fff !important;
  max-width: 33ch;
  font-size: clamp(1.05rem, 1.18vw, 1.36rem);
  line-height: 1.36 !important;
}

.contact-conversation__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.08rem;
}

.contact-conversation__detail {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.86rem;
  align-items: center;
}

.contact-conversation__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
}

.contact-conversation__icon svg {
  width: 19px;
  height: 19px;
}

.contact-conversation__detail p {
  margin: 0 0 0.1rem;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.08rem;
}

.contact-conversation__detail a,
.contact-conversation__detail span {
  color: #d7e8f8 !important;
  text-decoration: none;
  font-size: 1.01rem;
  line-height: 1.42;
}

.contact-conversation__form {
  padding: clamp(1.25rem, 2vw, 1.8rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 106, 0, 0.46);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(9, 34, 67, 0.12);
  display: grid;
  gap: 1rem;
  max-width: 100%;
  justify-self: stretch;
  width: 100%;
}

.contact-conversation__form label {
  display: grid;
  gap: 0.45rem;
  color: #0d4277;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-conversation__form input,
.contact-conversation__form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(133, 160, 188, 0.44);
  background: rgba(255, 255, 255, 0.78);
  color: #214f7e;
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 500;
  padding: 0.78rem 0.85rem;
}

.contact-conversation__form input {
  min-height: 46px;
}

.contact-conversation__form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-conversation__form input::placeholder,
.contact-conversation__form textarea::placeholder {
  color: #8aa0b7;
  font-size: 1.02rem;
  font-weight: 500;
}

.contact-conversation__form button {
  margin-top: 0.28rem;
  min-height: 48px;
  border-radius: 11px;
  border: 0;
  background: #ff6a00;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.contact-conversation__form button::after {
  content: '↗';
  font-size: 1.02rem;
  margin-left: 0.45rem;
}

.contact-conversation__form button:hover,
.contact-conversation__form button:focus-visible {
  filter: brightness(1.05);
}

@media (max-width: 980px) {
  .contact-conversation__grid {
    grid-template-columns: 1fr;
  }

  .contact-conversation__lead {
    max-width: 100%;
  }

  .contact-conversation__intro,
  .contact-conversation__form,
  .contact-conversation__empty-column {
    max-width: 100%;
    justify-self: stretch;
  }
}

#parceiros .section-heading {
  text-align: center;
  margin-inline: auto;
  max-width: 980px;
}

#parceiros .section-heading h2 {
  color: #0a4a8a !important;
  letter-spacing: 0.03em;
  line-height: 1.02 !important;
  margin-bottom: 0.58rem;
}

#parceiros .section-heading > p {
  color: #59748f !important;
  font-size: clamp(1.18rem, 2vw, 2rem);
  line-height: 1.34 !important;
}

/* Credenciamentos: mesmo padrao visual dos cards de solucao */
.c-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.partner-card-clean {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(133, 160, 188, 0.25);
  box-shadow: 0 4px 14px rgba(9, 34, 67, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 1 / 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

.partner-card-clean::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ff6a00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.partner-card-clean:hover {
  border-color: rgba(132, 184, 240, 0.155) !important;
  box-shadow: 0 15px 29px rgba(0, 9, 24, 0.22), 0 0 13px rgba(255, 138, 42, 0.088) !important;
  transform: translateY(-6px);
}

.partner-card-clean:hover::after {
  transform: scaleX(1);
}

.partner-card-clean__link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1.5rem;
  z-index: 1;
}

.partner-card-clean__logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card-clean__logo svg {
  width: 100%;
  height: auto;
  max-height: 100%;
}

@media (max-width: 1200px) {
  .c-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .c-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Topbar mais estreita */
.site-header {
  padding: 0.54rem 0 !important;
}

.brand-logo {
  height: clamp(28px, 3.9vw, 44px) !important;
}

.main-nav .menu-list > li > a {
  line-height: 1.05;
}

@media (min-width: 901px) {
  .main-nav .menu-list > li > a {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
  }
}

.c-card,
.c-simple-card,
.metric-card,
.portal-carousel__item {
  border-color: none;
  box-shadow: none;
}

.c-card:hover,
.c-simple-card:hover,
.metric-card:hover,
.portal-carousel__item:hover {
  border-color: rgba(132, 184, 240, 0.155) !important;
  box-shadow: 0 15px 29px rgba(0, 9, 24, 0.22), 0 0 13px rgba(255, 138, 42, 0.088) !important;
}

.home-principal {
  position: relative;
  isolation: isolate;
}

.home-principal::after {
  display: none !important;
}

.home-principal::before {
  display: none !important;
}

.news-stream {
  --news-gap: clamp(0.9rem, 1.6vw, 1.2rem);
  --news-card-radius: 14px;
  --news-duration: 160s;
  --news-card-width: 260px;
  --news-card-media-h: 190px; /* Igual ao Portfolio em destaque */
  --news-card-body-min-h: 220px;
  --news-section-surface: #dbe8f4;
  background: var(--news-section-surface);
  min-height: 100svh;
  padding-top: clamp(4.6rem, 8vw, 7rem);
  padding-bottom: clamp(8rem, 14vw, 14rem);
}

.home-principal .home-band--news {
  min-height: 100svh;
}

.news-stream .container {
  max-width: min(1120px, calc(100% - 2.2rem));
}

.news-stream__header {
  margin-bottom: clamp(3.4rem, 5.6vw, 4.8rem);
}

.news-stream__title {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(2.2rem, 5.8vw, 4rem);
  line-height: 0.92 !important;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.34ch;
  font-weight: 800;
}

.news-stream__title-primary {
  color: #003f80;
}

.news-stream__title-accent {
  color: #ff6d00;
}

.news-stream__viewport {
  position: relative;
  overflow: hidden; /* Obrigatório: cards somem fora do container */
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.35rem clamp(0.6rem, 1.2vw, 1rem);
  box-sizing: border-box;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.news-stream__viewport.is-dragging {
  cursor: grabbing;
}

.news-stream__viewport.is-dragging .news-card,
.news-stream__viewport.is-dragging .news-card * {
  -webkit-user-select: none;
  user-select: none;
}

.news-stream__track {
  display: flex;
  gap: var(--news-gap);
  align-items: stretch;
  width: max-content;
  padding-inline: clamp(1rem, 3vw, 2.4rem);
  will-change: transform;
  animation: newsStreamSlide var(--news-duration) linear infinite;
}

.news-stream__viewport:hover .news-stream__track,
.news-stream__viewport:focus-within .news-stream__track {
  animation-play-state: paused;
}

.news-card {
  flex: 0 0 var(--news-card-width);
  display: grid;
  grid-template-rows: var(--news-card-media-h) 1fr;
  min-height: calc(var(--news-card-media-h) + var(--news-card-body-min-h));
  border-radius: var(--news-card-radius);
  overflow: hidden;
  background: var(--news-section-surface) !important;
  border: 1px solid rgba(16, 60, 109, 0.04);
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news-card:hover,
.news-card:focus-within,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 109, 0, 0.42);
  box-shadow: 0 20px 38px rgba(7, 35, 70, 0.22);
}

.news-card__media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 46, 91, 0) 0%, rgba(3, 46, 91, 0.18) 100%);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1);
  transition: transform 320ms ease;
}

.news-card:hover .news-card__media img,
.news-card:focus-within .news-card__media img {
  transform: scale(1.04);
}

.news-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  align-items: start;
  gap: 0.6rem;
  padding: 0.95rem 0.95rem 1rem;
  background: var(--news-section-surface) !important;
}

.news-card__category {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 800;
  color: #ff6d00;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__title {
  margin: 0;
  color: #08396f;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.02rem, 1.26vw, 1.18rem);
  line-height: 1.16 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__excerpt {
  margin: 0;
  color: #38587b;
  font-size: 0.9rem;
  line-height: 1.46 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__cta {
  margin-top: 0.3rem;
  width: fit-content;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6d00 0%, #ff8a2a 100%);
  border-radius: 999px;
  padding: 0.46rem 0.86rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.news-card__cta::after {
  content: '→';
}

.news-card__cta:hover,
.news-card__cta:focus-visible {
  background: linear-gradient(135deg, #ff7f1f 0%, #ff9a42 100%);
}

#timeline.nova-about {
  background: #f3f7fb;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(2.4rem, 4.8vw, 3.8rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

#timeline .nova-about__intro {
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

#timeline .nova-about__title {
  margin: 0 0 1rem;
  color: #ff6d00;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.94 !important;
}

#timeline .nova-about__title-accent {
  color: #005eb8;
}

#timeline .nova-about__lead {
  margin: 0;
  max-width: 34ch;
  color: #355f8e;
  font-size: clamp(1.05rem, 1.9vw, 1.95rem);
  line-height: 1.45 !important;
}

#timeline .nova-about__copy .btn {
  margin-top: 1.6rem;
  border-radius: 10px;
  background: #003f80;
  color: #ffffff;
}

#timeline .nova-timeline {
  margin-top: clamp(1.8rem, 3.4vw, 3rem);
  overflow: visible;
}

#timeline .nova-timeline__head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

#timeline .nova-timeline__head p {
  margin: 0;
  color: #5d7da0;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  white-space: nowrap;
  width: 100%;
}

#timeline .nova-timeline__head p span,
#timeline .nova-timeline__head p strong {
  display: inline;
}

#timeline .nova-timeline__head p strong {
  color: #003f80;
  font-weight: 700;
}

#timeline .nova-timeline {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

#timeline .nova-timeline__rail {
  /* Mobile timeline: keep both arrows visible and viewport stable */
  position: relative;
  isolation: isolate;
  padding-inline: 0.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.2rem;
}

#timeline .nova-timeline__control {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #ff6a00;
  color: #ffffff;
  font-size: 0;
  line-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 6px 10px rgba(255, 106, 0, 0.24);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  position: relative;
  z-index: 6;
  top: auto;
  transform: none;
}

#timeline .nova-timeline__control::before {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  display: block;
}

#timeline .nova-timeline__control--prev {
  left: auto;
}

#timeline .nova-timeline__control--prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}

#timeline .nova-timeline__control--next {
  right: auto;
}

#timeline .nova-timeline__control--next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}

#timeline .nova-timeline__control:hover,
#timeline .nova-timeline__control:focus-visible {
  transform: scale(1.04);
  filter: brightness(1.04);
  box-shadow: 0 10px 18px rgba(255, 106, 0, 0.34);
}

#timeline .nova-timeline__control:disabled {
  opacity: 0.72;
  filter: saturate(0.88);
  box-shadow: 0 4px 8px rgba(255, 106, 0, 0.15);
  cursor: default;
}

#timeline .nova-timeline__viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 1rem;
  padding-inline: 0.55rem;
  scrollbar-width: none;
}

#timeline .nova-timeline__viewport::-webkit-scrollbar {
  display: none;
}

#timeline .nova-timeline__line {
  display: none;
}

#timeline .nova-timeline__track {
  position: relative;
  width: max-content;
  min-width: max-content;
  display: flex;
  gap: clamp(1.2rem, 2vw, 2rem);
  min-height: 286px;
  padding-inline: clamp(0.5rem, 1vw, 1rem);
}

#timeline .nova-timeline__track::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  right: -1.95rem;
  top: 50%;
  height: 2px;
  background: rgba(128, 157, 189, 0.55);
  z-index: 0;
  pointer-events: none;
}

#timeline .nova-timeline__item {
  position: relative;
  flex: 0 0 clamp(220px, 24vw, 280px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

#timeline .nova-timeline__item h3 {
  display: none;
}

#timeline .nova-timeline__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #ff6d00;
  box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.12);
  z-index: 2;
}

#timeline .nova-timeline__item::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  background: rgba(128, 157, 189, 0.7);
  transform: translateX(-50%);
}

#timeline .nova-timeline__item:nth-child(odd) {
  align-content: start;
  padding-top: 0.2rem;
}

#timeline .nova-timeline__item:nth-child(odd)::after {
  top: calc(50% + 4px);
  height: 56px;
}

#timeline .nova-timeline__item:nth-child(odd) .nova-timeline__year,
#timeline .nova-timeline__item:nth-child(odd) > p:last-child {
  transform: translateY(-6px);
}

#timeline .nova-timeline__item:nth-child(even) {
  align-content: end;
  padding-bottom: 0.2rem;
}

#timeline .nova-timeline__item:nth-child(even)::after {
  bottom: calc(50% + 4px);
  height: 56px;
}

#timeline .nova-timeline__year {
  margin: 0;
  color: #ff6d00;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.05rem, 3.2vw, 3.1rem);
  line-height: 0.92 !important;
  font-weight: 700;
}

#timeline .nova-timeline__item > p:last-child {
  margin: 0.4rem 0 0;
  color: #4e7298;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35 !important;
  max-width: 195px;
}

#mapa.nova-map {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(4.8rem, 7vw, 6rem) 0 clamp(1rem, 1.8vw, 1.8rem);
  scroll-margin-top: 96px;
  background: #eef3f8;
  overflow: hidden;
}

#mapa.nova-map::before {
  display: none;
}

#mapa .nova-map__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: center;
  min-height: calc(100svh - clamp(6.2rem, 8.8vw, 7.8rem));
  padding-top: 0;
}

#mapa .nova-map__header {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-bottom: clamp(0.55rem, 1vw, 0.9rem);
}

#mapa .nova-map__header h2 {
  margin: 0;
  color: #003f80;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.96 !important;
  letter-spacing: 0.01em;
}

#mapa .nova-map__title-accent {
  color: #ff6a00;
}

#mapa .nova-map__header p {
  margin: 0.8rem 0 0;
  color: #3e6188;
  max-width: 64ch;
  font-weight: 500;
  line-height: 1.45 !important;
}

#mapa .nova-map3d {
  --mx: 0.5;
  --my: 0.5;
  position: relative;
  width: min(100%, calc(min(56vh, 500px) * 2.593));
  height: auto;
  max-height: none;
  margin-inline: auto;
  border-radius: 0;
  overflow: visible;
  contain: none;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}

#mapa .nova-map3d__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 983.5 / 379.3;
}

#mapa .nova-map3d__stage::after {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(
    circle at calc(var(--mx) * 100%) calc(var(--my) * 100%),
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0) 56%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 280ms ease;
}

#mapa .nova-map3d__image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
  filter: saturate(1.08) contrast(1.02) brightness(1.03);
  transform: none;
  transition: filter 220ms ease;
  animation: none;
}

#mapa .nova-map3d__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  border-radius: 0;
}

#mapa .nova-map__point {
  --point-size: 24px;
  position: absolute;
  width: var(--point-size);
  height: var(--point-size);
  margin-left: calc(var(--point-size) * -0.5);
  margin-top: calc(var(--point-size) * -1);
  border-radius: 50% 50% 50% 0;
  border: 0;
  background: linear-gradient(160deg, #ff8a2c 0%, #ff6d00 65%, #f85a00 100%);
  box-shadow:
    0 0 0 0 rgba(255, 109, 0, 0.52),
    0 12px 20px rgba(4, 35, 70, 0.35);
  pointer-events: auto;
  cursor: pointer;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease, opacity 0.24s ease;
  opacity: 0;
  animation: mapPointPulse 2.8s ease-in-out infinite;
}

#mapa .nova-map__point.is-visible {
  opacity: 1;
}

#mapa .nova-map__point::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #ffffff;
}

#mapa .nova-map__point::after {
  display: none;
}

#mapa .nova-map__point:hover,
#mapa .nova-map__point:focus-visible,
#mapa .nova-map__point.is-active {
  transform: rotate(-45deg) scale(1.12);
  filter: saturate(1.05);
  box-shadow:
    0 0 0 12px rgba(255, 109, 0, 0.22),
    0 18px 24px rgba(15, 47, 84, 0.28);
}

#mapa .nova-map__popup {
  position: absolute;
  left: 0;
  top: 0;
  width: min(360px, calc(100% - 2rem));
  background: rgba(250, 253, 255, 0.98);
  border-radius: 16px;
  border: 1px solid rgba(115, 151, 186, 0.35);
  box-shadow: 0 24px 42px rgba(12, 42, 79, 0.28);
  overflow: hidden;
  transform: none;
  z-index: 4;
  pointer-events: auto;
}

#mapa .nova-map__popup::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: rgba(250, 253, 255, 0.98);
  border-right: 1px solid rgba(115, 151, 186, 0.35);
  border-bottom: 1px solid rgba(115, 151, 186, 0.35);
  transform: translateX(-50%) rotate(45deg);
}

#mapa .nova-map__popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #ff6d00;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(255, 109, 0, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
}

#mapa .nova-map__popup-close:hover,
#mapa .nova-map__popup-close:focus-visible {
  filter: brightness(0.92);
  transform: scale(1.04);
}

#mapa .nova-map__popup-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

#mapa .nova-map__popup-body {
  padding: 1rem 1rem 1.08rem;
}

#mapa .nova-map__popup-kicker {
  margin: 0;
  color: #ff6d00;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

#mapa .nova-map__popup-body h3 {
  margin: 0.38rem 0 0;
  color: #003f80;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#mapa .nova-map__popup-service {
  margin: 0.45rem 0 0;
  color: #3e6188;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4 !important;
}

#mapa .nova-map__popup-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.32rem;
}

#mapa .nova-map__popup-list li {
  font-size: 0.82rem;
  color: #30567f;
  line-height: 1.35 !important;
}

#mapa .nova-map__popup-list strong {
  color: #0f4b8a;
}

#mapa .nova-map__point.is-active {
  animation: none;
}

@keyframes mapPointPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 109, 0, 0.36),
      0 12px 20px rgba(4, 35, 70, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(255, 109, 0, 0.08),
      0 16px 24px rgba(4, 35, 70, 0.32);
  }
}

@media (max-width: 980px) {
  #mapa.nova-map {
    min-height: auto;
    padding-top: clamp(4.2rem, 12vw, 5.2rem);
  }

  #mapa .nova-map__container {
    min-height: auto;
  }

  #mapa .nova-map3d {
    width: min(100%, calc(min(52vh, 430px) * 2.593));
  }

  #mapa.nova-map {
    overflow: visible;
  }

  #mapa .nova-map__popup {
    position: relative;
    left: auto !important;
    top: auto !important;
    margin: 0.9rem 0 0;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 14px 26px rgba(12, 42, 79, 0.18);
    z-index: 5;
  }

  #mapa .nova-map__popup::after {
    display: none;
  }
}

@media (max-width: 680px) {
  #mapa .nova-map__header h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  #mapa .nova-map__header p {
    font-size: 0.95rem;
  }

  #mapa .nova-map__point {
    --point-size: 20px;
    transform: translate(var(--mobile-offset-x, 0), var(--mobile-offset-y, 0)) rotate(-45deg);
  }

  #mapa .nova-map3d {
    width: 100%;
    border-radius: 0;
  }

  #mapa .nova-map__popup-image {
    height: 120px;
  }

  #mapa .nova-map__point:hover,
  #mapa .nova-map__point:focus-visible,
  #mapa .nova-map__point.is-active {
    transform: translate(var(--mobile-offset-x, 0), var(--mobile-offset-y, 0)) rotate(-45deg) scale(1.12);
  }
}
/* ==========================================================================
   SOLUTIONS V2 (Nova Versão)
   ========================================================================== */

#solucoes.section {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.solutions-v2__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(3rem, 5vw, 4rem);
  flex-wrap: wrap;
  gap: 2rem;
}

.solutions-v2__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.solutions-v2__title-primary {
  color: #ff6a00;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.solutions-v2__title-accent {
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.solutions-v2__subtitle {
  color: #a4c2df;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  margin-top: 1rem;
}

.solutions-v2__header-right {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solutions-v2__desc {
  color: #b0cbe8;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.solutions-v2__btn-specialist {
  display: inline-flex;
  background: rgba(14, 84, 156, 0.4);
  border: 1px solid rgba(133, 160, 188, 0.3);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.solutions-v2__btn-specialist:hover {
  background: #ff6a00;
  border-color: #ff6a00;
}

.solutions-v2__track {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.solution-card-v2 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d2745;
  border: 1px solid rgba(133, 160, 188, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  height: auto;
  flex-shrink: 0;
}

.solution-card-v2__link.c-card__link {
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card-v2:hover {
  border-color: rgba(255, 106, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.solution-card-v2__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity 0.5s ease;
  mix-blend-mode: luminosity;
}

.solution-card-v2:hover .solution-card-v2__bg {
  opacity: 0.25;
}

.solution-card-v2__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 28, 54, 0) 0%, rgba(8, 28, 54, 0.9) 100%);
}

.solution-card-v2__content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.solution-card-v2__icon {
  margin-bottom: 1rem;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(133, 160, 188, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

.solution-card-v2:hover .solution-card-v2__icon {
  border-color: rgba(255, 106, 0, 0.6);
}

.solution-card-v2__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.solution-card-v2__title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.solution-card-v2__excerpt {
  color: #a4c2df;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.solution-card-v2__cta-wrapper {
  margin-top: auto;
  padding-top: 1rem;
}

.solution-card-v2__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6a00;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: gap 0.3s ease;
}

.solution-card-v2:hover .solution-card-v2__cta {
  gap: 0.8rem;
}

.solution-card-v2 .card-interactive__glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 0, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.solution-card-v2:hover .card-interactive__glow {
  opacity: 1;
}

.solutions-v2__footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 39, 69, 0.6);
  border: 1px solid rgba(133, 160, 188, 0.15);
  border-radius: 16px;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.solutions-v2__footer-bar-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #a4c2df;
}

.solutions-v2__footer-bar-content svg {
  color: #598fc2;
}

.solutions-v2__btn-all {
  color: #ff6a00;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.solutions-v2__btn-all:hover {
  color: #ff8c3a;
}

@media (max-width: 1200px) {
  .solutions-v2__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .solutions-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solutions-v2__header {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .solutions-v2__grid {
    grid-template-columns: 1fr;
  }

  .solution-card-v2 {
    aspect-ratio: auto;
    min-height: 380px;
  }
}

.solutions-clean__header {
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.solutions-clean__title {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.34ch;
  font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 0.95 !important;
  text-transform: uppercase;
  letter-spacing: 0.012em;
}

.solutions-clean__title-primary {
  color: #003f80;
}

.solutions-clean__title-accent {
  color: #ff6a00;
}

.solutions-clean__subtitle {
  margin: 0.9rem 0 0;
  color: #466684;
  font-size: clamp(1.02rem, 1.6vw, 1.85rem);
}

.solutions-clean__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
}

.solutions-clean__card {
  border-radius: 14px;
  border: 1px solid rgba(173, 196, 220, 0.5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(18, 54, 87, 0.12);
  padding: 1.45rem 1.3rem 1.35rem;
  display: grid;
  gap: 0.72rem;
  min-height: 208px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.solutions-clean__card:hover,
.solutions-clean__card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.44);
  box-shadow: 0 14px 24px rgba(18, 54, 87, 0.16);
}

.solutions-clean__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f4ede7;
  color: #ff6a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.62rem;
}

.solutions-clean__card-title {
  margin: 0;
  color: #003f80;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.24rem, 1.85vw, 1.9rem);
  line-height: 1.1 !important;
}

.solutions-clean__card-excerpt {
  margin: 0;
  color: #466684;
  font-size: 1.02rem;
  line-height: 1.45 !important;
}

.solutions-clean__card-link {
  margin-top: auto;
  width: fit-content;
  text-decoration: none;
  color: #ff6a00;
  font-size: 0.95rem;
  font-weight: 700;
}

.solutions-clean__card-link:hover,
.solutions-clean__card-link:focus-visible {
  color: #ff7d23;
}

#solucoes .c-card__eyebrow {
  display: none !important;
}

#solucoes .section-heading h2 {
  color: #dff1ff !important;
  text-shadow: 0 8px 22px rgba(57, 160, 255, 0.22);
}

#solucoes .section-heading > p {
  color: #a6c6e6 !important;
}

#solucoes .c-card__title {
  color: transparent !important;
  background: linear-gradient(110deg, #ff6a00 0%, #ff8e2b 46%, #ffc07a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 6px 14px rgba(255, 106, 0, 0.22);
}

#solucoes .c-card__meta {
  color: #ffffff !important;
}

#solucoes .c-card__excerpt {
  color: #ffffff !important;
}

#solucoes .c-card__cta {
  color: #ff6a00 !important;
}

/* No carrossel de soluções, os cards devem surgir sem atraso ao arrastar. */
#solucoes #solutions-grid .c-card--reveal,
#solucoes #solutions-grid .c-card--reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none !important;
}

#solucoes {
  --solutions-card-w: 260px;
  --solutions-card-h: 410px;
}

#solucoes #solutions-grid.news-stream__track {
  gap: 1rem;
}

#solucoes #solutions-grid.news-stream__track > .c-card {
  flex: 0 0 var(--solutions-card-w);
}

#solucoes .c-card {
  animation: solutionsCardFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  min-height: var(--solutions-card-h);
}

#solucoes .c-card__link {
  min-height: var(--solutions-card-h);
}

#solucoes .c-card:nth-child(2n) {
  animation-delay: 0.35s;
}

#solucoes .c-card:nth-child(3n) {
  animation-delay: 0.7s;
}

#solucoes .c-card:hover,
#solucoes .c-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 42px rgba(9, 34, 67, 0.3), 0 0 20px rgba(255, 106, 0, 0.16);
}

#solucoes .c-card::before {
  content: '';
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0) 62%),
    radial-gradient(200px circle at calc(100% - var(--mx, 50%)) calc(100% - var(--my, 50%)), rgba(0, 94, 184, 0.2), rgba(0, 94, 184, 0) 64%);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 220ms ease;
}

#solucoes .c-card:hover::before,
#solucoes .c-card:focus-within::before {
  opacity: 0.88;
}

#solucoes .c-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.14);
}

@keyframes solutionsCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes solutionsCardBreath {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(9, 34, 67, 0.18), 0 0 0 rgba(255, 106, 0, 0);
  }
  50% {
    box-shadow: 0 18px 34px rgba(9, 34, 67, 0.24), 0 0 18px rgba(255, 106, 0, 0.14);
  }
}

#solucoes .c-card {
  animation: solutionsCardFloat 6s ease-in-out infinite, solutionsCardBreath 4.8s ease-in-out infinite;
}

@media (max-width: 1200px) {
  #solucoes {
    --solutions-card-w: 320px;
    --solutions-card-h: 400px;
  }
}

@media (max-width: 900px) {
  #solucoes {
    --solutions-card-w: 320px;
    --solutions-card-h: 400px;
  }
}

@media (max-width: 680px) {
  #solucoes {
    --solutions-card-w: min(86vw, 320px);
    --solutions-card-h: 368px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #solucoes .c-card,
  #solucoes .c-card:nth-child(2n),
  #solucoes .c-card:nth-child(3n) {
    animation: none !important;
  }

  #solucoes .c-card::before,
  #solucoes .c-card::after {
    display: none !important;
  }
}


@keyframes newsStreamSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .news-stream {
    --news-card-width: 320px;
    --news-duration: 130s;
    --news-card-media-h: 190px;
    --news-card-body-min-h: 210px;
  }

  .solutions-clean__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #timeline .nova-about__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #timeline .nova-about__lead {
    max-width: 100%;
  }

}

@media (max-width: 680px) {
  .news-stream {
    --news-card-width: min(86vw, 320px);
    --news-duration: 110s;
    --news-card-media-h: 170px;
    --news-card-body-min-h: 198px;
  }

  .news-stream .container {
    max-width: calc(100% - 1rem);
  }

  .solutions-clean__grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .home-principal .home-band--news,
  .news-stream {
    min-height: 100svh !important;
  }

  .news-stream {
    --news-card-width: min(88vw, 340px);
    --news-card-media-h: 320px;
    --news-card-body-min-h: 380px;
    --news-gap: 0.8rem;
    display: flex;
    align-items: stretch;
    padding-top: clamp(2.2rem, 6vw, 3rem);
    padding-bottom: clamp(2.2rem, 6vw, 3rem);
  }

  .news-stream .container {
    width: 100%;
    max-width: calc(100% - 1rem);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.8rem);
  }

  .news-stream__header {
    margin-bottom: clamp(1.6rem, 4.6vw, 2.4rem);
  }

  .news-stream__title {
    font-size: clamp(2.5rem, 10.5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: 0.015em;
    line-height: 0.95 !important;
  }

  .news-stream__track {
    padding-inline: 0.75rem;
  }

  .news-card {
    border-radius: 16px;
    border: 1px solid rgba(31, 83, 140, 0.18);
    background: linear-gradient(180deg, rgba(243, 249, 255, 0.98), rgba(232, 242, 252, 0.98)) !important;
    box-shadow: 0 14px 28px rgba(7, 35, 70, 0.14);
  }

  .news-card__media::after {
    background: linear-gradient(180deg, rgba(5, 39, 74, 0.04) 0%, rgba(5, 39, 74, 0.24) 100%);
  }

  .news-card__body {
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
    gap: 0.64rem;
    padding: 1rem 1rem 1.08rem;
  }

  .news-card__category {
    font-size: 0.82rem;
    letter-spacing: 0.07em;
  }

  .news-card__title {
    font-size: clamp(1.2rem, 4.9vw, 1.42rem);
    line-height: 1.22 !important;
    -webkit-line-clamp: 3;
  }

  .news-card__excerpt {
    font-size: 1.01rem;
    line-height: 1.56 !important;
    -webkit-line-clamp: 5;
  }

  .news-card__cta {
    margin-top: 0;
    align-self: end;
    transform: translateY(-2.75rem);
    padding: 0.56rem 1.02rem;
    font-size: 0.92rem;
    font-weight: 800;
  }
}

@media (max-width: 680px) {
  .news-stream {
    --news-card-width: min(90vw, 332px);
    --news-card-media-h: 300px;
    --news-card-body-min-h: 352px;
  }
}

/* Home numbers override: 4 cards quadrados com texto branco */
.credibility-strip .credibility-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credibility-strip .credibility-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  aspect-ratio: 1 / 1;
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(132, 184, 240, 0.24);
  background: linear-gradient(160deg, rgba(9, 28, 54, 0.86), rgba(6, 20, 40, 0.82));
}

.credibility-strip .credibility-number,
.credibility-strip .credibility-text {
  color: #ffffff !important;
}

@media (max-width: 1080px) {
  .credibility-strip .credibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .credibility-strip .credibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile fix: seção Sobre/Timeline sem estourar largura da tela */
@media (max-width: 900px) {
  #timeline.nova-about {
    min-height: auto;
    padding-top: clamp(3.2rem, 9vw, 4.4rem);
    padding-bottom: clamp(3rem, 9vw, 4.2rem);
    overflow: hidden;
  }

  #timeline > .container {
    max-width: calc(100% - 1rem);
  }

  #timeline .nova-about__intro {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  #timeline .nova-about__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 0.98 !important;
  }

  #timeline .nova-about__lead {
    max-width: 32ch;
    font-size: clamp(0.96rem, 4.1vw, 1.12rem);
    line-height: 1.5 !important;
    color: #3f678f;
  }

  #timeline .nova-about__copy .btn {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    padding: 0.52rem 0.88rem;
    font-size: 0.92rem !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  #timeline .nova-timeline {
    margin-top: 1.1rem;
  }

  #timeline .nova-timeline__head p {
    font-size: 0.88rem;
  }

  #timeline .nova-timeline__control {
    width: 22px;
    height: 22px;
  }

  #timeline .nova-timeline__control--prev {
    left: auto;
  }

  #timeline .nova-timeline__control--next {
    right: auto;
  }

  #timeline .nova-timeline__viewport {
    padding-inline: 0.45rem;
  }

  #timeline .nova-timeline__track {
    gap: 1rem;
    min-height: 250px;
    padding-inline: 0.42rem;
  }

  #timeline .nova-timeline__item {
    flex: 0 0 min(78vw, 260px);
    min-width: 190px;
  }

  #timeline .nova-timeline__item:nth-child(even) .nova-timeline__year {
    margin-top: 0.55rem;
  }

  #timeline .nova-timeline__track::before {
    left: -1.25rem;
    right: -1.25rem;
  }

  #timeline .nova-timeline__year {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  #timeline .nova-timeline__item > p:last-child {
    max-width: 20ch;
    font-size: 0.92rem;
    line-height: 1.48 !important;
    color: #456b91;
  }

  #timeline .nova-timeline__item:nth-of-type(4) > p:last-child {
    max-width: 24ch;
  }
}

/* Override mobile: reforco de contraste no subtitulo do hero */
@media (max-width: 900px) {
  .hero-cinematic {
    min-height: 100svh !important;
    padding-top: clamp(5.6rem, 16vw, 7.2rem) !important;
    padding-bottom: clamp(3.6rem, 10vw, 5.2rem) !important;
    align-items: center !important;
  }

  .hero-grid {
    align-items: center !important;
  }

  .hero-actions .btn,
  .hero-actions .btn:not(.btn-secondary) {
    background: #005eb8 !important;
    color: #ff7a00 !important;
    border-color: #005eb8 !important;
    font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
    text-shadow: 0 0 8px rgba(255, 122, 0, 0.28);
    box-shadow:
      0 10px 22px rgba(0, 50, 100, 0.28),
      0 0 0 1px rgba(255, 122, 0, 0.36) inset,
      0 0 14px rgba(255, 122, 0, 0.22) !important;
  }

  .hero-actions .btn:hover,
  .hero-actions .btn:focus-visible,
  .hero-actions .btn:not(.btn-secondary):hover,
  .hero-actions .btn:not(.btn-secondary):focus-visible {
    background: #0054a5 !important;
    color: #ff8f2a !important;
    box-shadow:
      0 12px 24px rgba(0, 50, 100, 0.3),
      0 0 0 1px rgba(255, 143, 42, 0.48) inset,
      0 0 16px rgba(255, 143, 42, 0.28) !important;
  }

  .hero-copy {
    position: static;
    border-radius: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .hero-lead {
    color: #f1f8ff !important;
    background: rgba(1, 7, 16, 0.56) !important;
    border-radius: 8px;
    padding: 0.44rem 0.54rem !important;
    max-width: 100% !important;
    line-height: 1.36 !important;
  }
}

@media (min-width: 901px) {
  .hero-actions .btn,
  .hero-actions .btn:not(.btn-secondary) {
    background: linear-gradient(135deg, #005eb8, #0a4a8a) !important;
    color: #ffffff !important;
    border-color: #0a4a8a !important;
    font-family: 'Space Grotesk', 'Segoe UI', Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
    box-shadow:
      0 10px 22px rgba(0, 50, 100, 0.28),
      0 0 0 1px rgba(255, 122, 0, 0.28) inset !important;
  }

  .hero-actions .btn:hover,
  .hero-actions .btn:focus-visible,
  .hero-actions .btn:not(.btn-secondary):hover,
  .hero-actions .btn:not(.btn-secondary):focus-visible {
    background: linear-gradient(135deg, #0a4a8a, #003f80) !important;
    color: #ffffff !important;
  }
}

/* Fundos por seção (estável desktop + mobile) */
.home-principal .home-band--news::before {
  background: linear-gradient(180deg, rgba(229, 239, 250, 0.98), rgba(220, 233, 247, 0.98)) !important;
}

.home-principal .home-band--solutions::before {
  background:
    radial-gradient(980px 420px at 8% -12%, rgba(61, 171, 255, 0.18), transparent 62%),
    radial-gradient(760px 360px at 92% 8%, rgba(35, 118, 255, 0.14), transparent 64%),
    repeating-linear-gradient(
      115deg,
      rgba(126, 192, 255, 0.055) 0px,
      rgba(126, 192, 255, 0.055) 1px,
      rgba(9, 30, 58, 0) 1px,
      rgba(9, 30, 58, 0) 24px
    ),
    linear-gradient(180deg, rgba(8, 24, 48, 0.995), rgba(5, 18, 38, 0.995)) !important;
}

#solucoes {
  background:
    radial-gradient(980px 420px at 8% -12%, rgba(61, 171, 255, 0.12), transparent 62%),
    radial-gradient(760px 360px at 92% 8%, rgba(35, 118, 255, 0.1), transparent 64%),
    linear-gradient(180deg, rgba(8, 24, 48, 0.985), rgba(5, 18, 38, 0.985)) !important;
}

.home-principal .home-band--timeline::before {
  background: linear-gradient(180deg, rgba(234, 245, 255, 0.98), rgba(228, 241, 255, 0.98)) !important;
}

.home-principal .home-band--partners::before {
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.98), rgba(227, 239, 253, 0.98)) !important;
}

.home-principal .home-band--cases::before {
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(238, 247, 255, 0.98)) !important;
}

#solucoes .solutions-clean__title-primary {
  color: #e8f4ff !important;
  text-shadow: 0 6px 16px rgba(35, 118, 255, 0.24);
}

#solucoes .solutions-clean__title-accent {
  color: #ff7a1f !important;
}

#solucoes .solutions-clean__subtitle {
  color: #b3d0ea !important;
}

@media (max-width: 900px) {
  #solucoes .solutions-clean__title {
    font-size: clamp(2rem, 9.2vw, 3rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0.01em;
  }

  #solucoes .solutions-clean__subtitle {
    font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
  }
}

/* RESET CONTROLADO: Últimas Notícias (mobile) */
@media (max-width: 900px) {
  .home-principal .home-band--news,
  .news-stream {
    min-height: 100svh !important;
  }

  .news-stream {
    --news-card-width: min(88vw, 332px);
    --news-card-media-h: 208px;
    --news-card-body-min-h: 240px;
    --news-gap: 0.85rem;
    padding-top: clamp(2.2rem, 6vw, 3rem) !important;
    padding-bottom: clamp(2.2rem, 6vw, 3rem) !important;
    display: flex;
    align-items: stretch;
  }

  .news-stream .container {
    width: 100%;
    max-width: calc(100% - 1rem);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.95rem, 2.8vw, 1.5rem);
  }

  .news-stream__header {
    margin-bottom: clamp(1rem, 3vw, 1.6rem) !important;
  }

  .news-stream__title {
    font-size: clamp(2.2rem, 9vw, 3rem) !important;
    line-height: 0.96 !important;
    font-weight: 800 !important;
  }

  .news-stream__track {
    padding-inline: 0.7rem !important;
  }

  .news-card {
    border-radius: 16px;
    border: 1px solid rgba(31, 83, 140, 0.18);
    box-shadow: 0 14px 28px rgba(7, 35, 70, 0.14);
  }

  .news-card__body {
    grid-template-rows: auto auto 1fr auto;
    gap: 0.62rem;
    padding: 0.95rem 0.95rem 1rem;
  }

  .news-card__category {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .news-card__title {
    font-size: clamp(1.08rem, 4.6vw, 1.3rem);
    line-height: 1.22 !important;
    -webkit-line-clamp: 3;
  }

  .news-card__excerpt {
    font-size: 0.94rem;
    line-height: 1.5 !important;
    -webkit-line-clamp: 4;
  }

  .news-card__cta {
    align-self: end;
    margin-top: 0 !important;
    transform: none !important;
    padding: 0.5rem 0.9rem;
    font-size: 0.86rem;
    font-weight: 700;
  }
}

@media (max-width: 680px) {
  .news-stream {
    --news-card-width: min(90vw, 324px);
    --news-card-media-h: 194px;
    --news-card-body-min-h: 226px;
  }
}

/* Mobile hero: sem botoes e sem fundo no subtitulo */
@media (max-width: 900px) {
  .hero-actions {
    display: none !important;
  }

  .hero-lead {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}

/* Refino mobile da primeira dobra: leitura + respiro + menos competição visual */
@media (max-width: 900px) {
  .site-header {
    padding-top: 0.68rem !important;
    padding-bottom: 0.68rem !important;
  }

  .brand-logo {
    height: clamp(30px, 5.8vw, 40px) !important;
  }

  .hero-cinematic {
    padding-bottom: clamp(4.6rem, 12vw, 6rem) !important;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9.6vw, 2.85rem) !important;
    line-height: 0.97 !important;
    max-width: none;
  }

  .hero-title span {
    display: block;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hero-lead {
    color: #eef6ff !important;
    line-height: 1.42 !important;
    max-width: 34ch !important;
  }

  .hero-metrics .c-stat-card {
    min-height: 140px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-metrics .c-stat-card__label {
    line-height: 1.3 !important;
  }

  .hero-kinetic-band {
    margin-top: 0.95rem !important;
    opacity: 0.84;
    background: linear-gradient(90deg, rgba(5, 19, 38, 0.74), rgba(8, 26, 50, 0.8)) !important;
  }

  .hero-kinetic-chip {
    color: #c7dcf2;
    border-color: rgba(132, 184, 240, 0.16);
    background: rgba(10, 32, 60, 0.58);
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.92rem, 8.8vw, 2.4rem) !important;
  }
}

/* Ajuste final mobile da primeira dobra */
@media (max-width: 900px) {
  /* 1) Mais respiro entre métricas e faixa inferior */
  .hero-cinematic {
    padding-bottom: clamp(5.2rem, 14vw, 6.6rem) !important;
  }

  /* 2) Subtítulo com melhor leitura */
  .hero-lead {
    color: #f3f8ff !important;
    font-weight: 500;
  }

  /* 3) Métricas mais coesas */
  .hero-metrics {
    gap: 0.54rem;
  }

  .hero-metrics .c-stat-card {
    min-height: 140px;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  /* 4) Linha do header menos agressiva */
  .site-header::after {
    opacity: 0.52;
  }

  /* 5) Faixa laranja menos concorrente */
  .hero-kinetic-band {
    opacity: 0.72;
    border-top-color: rgba(132, 184, 240, 0.14);
    border-bottom-color: rgba(132, 184, 240, 0.14);
  }

  .hero-kinetic-chip {
    color: rgba(214, 230, 245, 0.86);
    border-color: rgba(132, 184, 240, 0.12);
  }

  /* 6) Botão de acessibilidade mais discreto */
  .accessibility-tools__toggle {
    width: 34px !important;
    height: 34px !important;
    opacity: 0.88;
  }

  .accessibility-tools__icon {
    width: 34px !important;
    height: 34px !important;
  }
}

/* Hotfix final: continuidade entre seções + acessibilidade sempre visível */
.home-principal .home-band {
  position: relative;
  overflow: clip;
}

.home-principal .home-band::before {
  inset: -1px 0;
}

/* A seção Sobre Nós é compartilhada com /historia; a faixa da home não pode alterar o clone. */
.home-principal .home-band--timeline {
  overflow: visible !important;
  background: #e8edf3 !important;
}

.home-principal .home-band--timeline::before {
  content: none !important;
  display: none !important;
}

.home-principal .home-band--timeline > * {
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.accessibility-tools {
  z-index: 2147483000 !important;
}

.accessibility-tools__toggle {
  background: #ffffff !important;
  border: 1px solid rgba(129, 166, 214, 0.88) !important;
  box-shadow: 0 12px 26px rgba(0, 23, 56, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
}

.accessibility-tools__icon {
  width: 36px !important;
  height: 36px !important;
  background-image: var(--a11y-icon-url) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 128% !important;
  background-color: transparent !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.72));
}

@media (min-width: 901px) {
  .accessibility-tools__toggle {
    width: 36px !important;
    height: 36px !important;
  }

  .accessibility-tools__icon {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Mobile: secoes conectadas sem "respiro" artificial entre bandas */
@media (max-width: 900px) {
  .site-footer {
    margin-top: 0 !important;
  }

  .home-principal .home-band,
  .home-principal .home-band--news,
  .home-principal .home-band--solutions,
  .home-principal .home-band--timeline,
  .home-principal .home-band--partners,
  .home-principal .home-band--cases,
  .news-stream {
    min-height: auto !important;
  }

  .news-stream {
    padding-top: clamp(1.4rem, 4.6vw, 2rem) !important;
    padding-bottom: clamp(1.2rem, 4vw, 1.8rem) !important;
  }

  .home-principal .home-band + .home-band {
    margin-top: -2px !important;
  }

  .home-principal .home-band::before {
    inset: -1px 0 !important;
  }

  .home-principal .home-band > * {
    transform: none !important;
    opacity: 1 !important;
  }
}
