/* ═══════════════════════════════════════════════════
   BITCONNECT — style.css
   Identidade visual: dark tech + roxo vibrante
   ═══════════════════════════════════════════════════ */

/* ─── RESET & TOKENS ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #C800DF;
  --secondary:     #E60076;
  --success:       #16A34A;
  --warning:       #D97706;
  --danger:        #DC2626;
  --surface:       #FFFFFF;
  --text:          #111827;
  --neutral:       #FFFFFF;
  --purple:        var(--primary);
  --purple-soft:   var(--secondary);
  --purple-faint:  rgba(200, 0, 223, 0.12);
  --purple-glow:   rgba(200, 0, 223, 0.22);
  --orange:        var(--warning);
  --orange-soft:   #F59E0B;
  --orange-faint:  rgba(217, 119, 6, 0.10);
  --dark:          #07070f;
  --dark2:         #0d0c1a;
  --dark3:         #13121f;
  --dark4:         #1c1a30;
  --white:         var(--surface);
  --gray:          #9b9bb5;
  --gray2:         #62627a;
  --border:        rgba(200, 0, 223, 0.16);
  --border2:       rgba(255, 255, 255, 0.07);
  --vivo:          #cc0a2b;
  --green:         var(--success);
  --radius-sm:     12px;
  --radius-md:     18px;
  --radius-lg:     24px;
  --motion-fast:   180ms cubic-bezier(.2, .8, .2, 1);
  --font-primary:  'Jost', sans-serif;
  --font-display:  'Jost', sans-serif;
  --font-mono:     'Overpass Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 18px;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-h,
.page-hero h1,
.hero h1 {
  font-family: var(--font-display);
}

/* ─── HEADER & NAV ───────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14) 0%, transparent 20%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.10) 0%, transparent 24%),
    linear-gradient(135deg, #6a0d7f 0%, var(--primary) 52%, var(--secondary) 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar {
  background: var(--purple);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 5%;
  letter-spacing: 0.3px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img { height: 58px; width: auto; display: block; }

.logo-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-name em {
  color: var(--purple);
  font-style: normal;
}

.logo-vivo {
  font-size: 9px;
  font-weight: 700;
  background: var(--vivo);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a,
.nav-menu button {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition: color .2s;
}

.nav-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu button:hover { color: #ffffff; }

.nav-menu .has-sub { position: relative; }

.nav-menu .nav-sub-trigger::after {
  content: '\25BE';
  font-size: 10px;
  margin-left: 4px;
}

.nav-menu .submenu {
  display: none;
  position: fixed;
  top: 92px;
  left: 50%;
  right: auto;
  width: 80vw;
  min-height: 50vh;
  max-width: 1536px;
  padding: clamp(28px, 3vw, 46px);
  list-style: none;
  grid-template-columns: minmax(270px, 0.82fr) 1px repeat(2, minmax(210px, 1fr));
  grid-template-rows: auto repeat(4, minmax(72px, auto));
  align-content: center;
  gap: 20px 32px;
  transform: translate(-50%, -8px);
  background: #f5f4f6;
  border: 1px solid rgba(38, 17, 51, 0.08);
  border-top: none;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 28px 60px rgba(26, 19, 34, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  overflow-y: auto;
  transition: opacity var(--motion-fast), transform var(--motion-fast);
}

.nav-menu .submenu::after {
  content: '';
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
  height: 100%;
  background: rgba(38, 17, 51, 0.12);
}

.nav-menu .submenu li {
  min-width: 0;
}

.nav-menu .submenu .mega-feature {
  grid-column: 1;
  grid-row: 1 / -1;
}

.nav-menu .submenu .mega-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  color: var(--text);
  border: 1px solid rgba(38, 17, 51, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 145, 77, 0.10) 100%),
    url('img/empresa-office.jpg') center bottom / cover no-repeat;
  box-shadow: 0 18px 36px rgba(38, 17, 51, 0.08);
}

.nav-menu .submenu .mega-feature-icon,
.nav-menu .submenu .mega-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.nav-menu .submenu .mega-feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 22px;
}

.nav-menu .submenu .mega-feature-copy strong,
.nav-menu .submenu .mega-feature-copy small {
  display: block;
}

.nav-menu .submenu .mega-feature-copy strong {
  max-width: 250px;
  color: #111827;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
}

.nav-menu .submenu .mega-feature-copy small {
  max-width: 260px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 16px;
  line-height: 1.45;
}

.nav-menu .submenu .mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 34px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.nav-menu .submenu .mega-menu-heading {
  grid-column: 3 / 5;
  color: rgba(17, 24, 39, 0.74);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu .submenu .mega-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 16px;
  gap: 18px;
  align-items: flex-start;
  padding: 12px 0;
  min-height: 78px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  white-space: normal;
  border-radius: 12px;
  transition: color var(--motion-fast), transform var(--motion-fast);
}

.nav-menu .submenu .mega-card-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 21px;
}

.nav-menu .submenu .mega-card strong,
.nav-menu .submenu .mega-card small {
  display: block;
}

.nav-menu .submenu .mega-card strong {
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.nav-menu .submenu .mega-card small {
  max-width: 270px;
  color: rgba(17, 24, 39, 0.64);
  font-size: 15px;
  line-height: 1.38;
}

.nav-menu .submenu .mega-card-arrow {
  align-self: start;
  margin-top: 7px;
  color: var(--primary);
  font-size: 13px;
  transition: transform var(--motion-fast);
}

.nav-menu .submenu .mega-card:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.nav-menu .submenu .mega-card:hover .mega-card-arrow {
  transform: translateX(3px);
}

.nav-menu .submenu .mega-menu-action {
  grid-column: 1 / -1;
}

.nav-menu .submenu .mega-menu-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 12px;
  background: rgba(255, 145, 77, 0.14);
  border: 1px solid rgba(255, 145, 77, 0.24);
}

.nav-menu .submenu .mega-menu-action a:hover {
  background: rgba(255, 145, 77, 0.22);
}

.nav-menu .has-sub:hover .submenu,
.nav-menu .has-sub.submenu-open .submenu,
.nav-menu .has-sub:focus-within .submenu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--motion-fast);
}

.btn-sm  { font-size: 13px; padding: 9px 18px; }
.btn-md  { font-size: 14px; padding: 12px 26px; }
.btn-lg  { font-size: 16px; padding: 15px 34px; border-radius: 14px; }

.btn-ghost {
  color: var(--gray);
  border: 1px solid var(--border2);
  background: transparent;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-purple { background: var(--primary); color: #fff; }
.btn-purple:hover { background: var(--secondary); transform: translateY(-1px); }

.btn-outline-purple {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline-purple:hover { background: var(--purple-faint); }

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 26px 0 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18) 0%, transparent 20%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.12) 0%, transparent 24%),
    linear-gradient(135deg, #6a0d7f 0%, var(--primary) 52%, var(--secondary) 100%);
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 78% at 74% 28%, rgba(244, 196, 255, 0.18) 0%, transparent 56%),
    radial-gradient(ellipse 42% 54% at 10% 84%, rgba(87, 14, 193, 0.34) 0%, transparent 55%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 90%);
}

.hero-inner {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 0 0 82px 10%;
}

.hero-text {
  max-width: 620px;
  padding: 36px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge-parceiro {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}


/* Botão branco exclusivo para o hero */
.btn-hero-primary {
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 700;
}
.btn-hero-primary:hover {
  background: rgba(255,255,255,.90);
  color: var(--secondary);
  transform: translateY(-1px);
}

.btn-hero-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.55);
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--purple-soft);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--purple-faint);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.blink {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin-bottom: 24px;
  max-width: 640px;
}

.hero h1 em {
  font-style: normal;
  color: #ffe3f8;
}

.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-photo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-photo-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(38, 17, 51, 0.5) 100%);
  z-index: 2;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  opacity: 0.97;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 32%, #000 52%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 32%, #000 52%);
}

.hero-ring {
  position: absolute;
  top: -12%;
  right: -6%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
}

.hcard {
  position: absolute;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
}

.hcard-main {
  width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(123, 47, 255, .22);
  z-index: 2;
}

.hcard-a {
  width: 165px;
  top: 8%;
  right: 6%;
  animation: floatA 4s ease-in-out infinite;
  z-index: 2;
}

.hcard-b {
  width: 160px;
  bottom: 8%;
  left: 6%;
  animation: floatB 5s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

.card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray2);
  margin-bottom: 8px;
}

.card-value {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}

.card-value em {
  font-style: normal;
  color: var(--purple-soft);
}

.card-sub {
  font-size: 11px;
  color: var(--gray2);
  margin-top: 6px;
}

.card-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.badge-active {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .2);
  padding: 3px 10px;
  border-radius: 99px;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, .06);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--purple);
  border-radius: 99px;
}

.progress-lbl {
  font-size: 10px;
  color: var(--gray2);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-soft);
  background: var(--purple-faint);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 99px;
}

.pill::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--purple);
  border-radius: 50%;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.card-coverage-label {
  font-size: 11px;
  color: var(--gray2);
  margin-bottom: 6px;
}

.card-coverage-bar {
  display: flex;
  gap: 3px;
}

/* ─── STATS BAR ──────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  padding: 0 10% 28px;
  background: transparent;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(32, 21, 58, 0.12);
}

.stat {
  text-align: center;
  padding: 34px 22px;
  border-right: 1px solid rgba(79, 67, 120, 0.12);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--primary);
}

.stat-num em {
  font-style: normal;
  color: var(--secondary);
}

.stat-label {
  font-size: 13px;
  color: #675f7b;
  line-height: 1.6;
}

/* ─── SOBRE ──────────────────────────────────────── */
section#sobre {
  background: #f5f3ff;
}
section#sobre .section-h { color: #111; }
section#sobre .section-h em { color: var(--purple); }
section#sobre .section-p { color: #555; }
section#sobre .eyebrow { color: var(--purple); }
section#sobre .section-link { color: var(--purple); }
section#sobre .section-p a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
section#sobre .section-p a:hover { text-decoration: underline; }

.group-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 24px;
}
.group-logos-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray2);
}
.group-logos-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.group-logos img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.group-logos img:hover { opacity: 1; }

.sobre {
  padding: 110px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-soft);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.section-h {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-h em {
  font-style: normal;
  color: var(--purple-soft);
}

.section-p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 28px;
}

.sobre-visual {
  position: relative;
  height: 440px;
}

.sobre-card-bg {
  position: absolute;
  inset: 0;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.sobre-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(123, 47, 255, .22) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sobre-content {
  position: relative;
  z-index: 1;
  padding: 36px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.tl-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border2);
  position: relative;
}
.tl-item:last-child { border-bottom: none; }

.tl-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-soft);
  background: var(--purple-faint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  width: 78px;
  flex-shrink: 0;
  text-align: center;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.tl-dot {
  width: 10px;
  height: 10px;
  background: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 10px rgba(123,47,255,.65);
  outline: 2px solid rgba(123,47,255,.2);
  outline-offset: 3px;
}

.tl-txt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

.tl-txt strong { color: var(--text); font-size: 15px; display: block; margin-bottom: 5px; }

.sobre-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  width: 38px;
  height: 38px;
  background: var(--purple);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.badge-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.badge-sub {
  font-size: 11px;
  color: var(--gray2);
  margin-top: 2px;
}

/* ─── SOLUÇÕES ───────────────────────────────────── */
.solucoes {
  padding: 110px 10%;
  background: var(--dark2);
}

.solutions-brief {
  position: relative;
  overflow: hidden;
}

.solutions-brief::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 145, 77, 0.12) 0%, transparent 24%),
    radial-gradient(circle at 86% 68%, rgba(94, 22, 125, 0.10) 0%, transparent 28%);
}

.solutions-brief-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.solutions-brief .section-h {
  max-width: 680px;
  margin-bottom: 18px;
}

.solutions-brief .section-p {
  max-width: 660px;
}

.solutions-brief-list {
  display: grid;
  gap: 14px;
}

.solutions-brief-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(94, 22, 125, 0.10);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(26, 19, 34, 0.06);
}

.solutions-brief-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
}

.solutions-brief-item span {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(26, 19, 34, 0.76);
}

.solutions-brief-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(94, 22, 125, 0.12);
}

.section-header {
  text-align: center;
  max-width: 775px;
  margin: 0 auto 64px;
}

.solutions-tabs {
  display: flex;
  justify-content: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 52px;
}

.sol-tab {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: all .2s;
}

.sol-tab.active {
  background: var(--purple);
  color: #fff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sol-card {
  display: block;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: all .25s;
  position: relative;
}

.sol-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--purple);
  opacity: 0;
  transition: opacity .25s;
}

.sol-card:hover {
  border-color: rgba(123, 47, 255, .4);
  transform: translateY(-4px);
}

.sol-card:hover::after { opacity: 1; }

.sol-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
}

.sol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}

.sol-card:hover .sol-img img {
  transform: scale(1.07);
}

.sol-body { padding: 26px; }

.sol-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.sol-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── POR QUE BITCONNECT ─────────────────────────── */
.porque {
  padding: 110px 10%;
  background: var(--dark2);
}

.porque-inner { }

.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pq-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 32px;
}

.pq-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  display: block;
}

.pq-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-faint);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--primary);
}

.pq-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.pq-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}

/* ─── CTA FINAL ──────────────────────────────────── */
.cta-final {
  padding: 110px 10%;
  position: relative;
  overflow: hidden;
  background: var(--dark3);
  border-top: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 90% at 50% 50%, rgba(123, 47, 255, .16) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 775px;
  margin: 0 auto;
}

.cta-inner .section-h {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.cta-inner .section-p {
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding: 72px 10% 32px;
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-about p {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 270px;
}

.footer-cnpj {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: var(--gray2);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13px;
  color: var(--gray2);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--gray2);
  margin-bottom: 10px;
  list-style: none;
}

.footer-contact li svg,
.footer-contact li i { color: var(--primary); flex-shrink: 0; font-size: 14px; }
.footer-contact a { color: var(--gray2); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-bottom p { font-size: 12px; color: var(--gray2); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray2);
  text-decoration: none;
  font-size: 15px;
  transition: all .2s;
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── IMAGENS INTEGRADAS ─────────────────────────── */

/* Sobre: foto de equipe como fundo do card */
.sobre-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  opacity: 0.18;
}

/* Sobre: badge com logo real */
.sobre-badge-img {
  width: 180px;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* ─── DESIGN SYSTEM INSTITUCIONAL ─── */

/* Área do cliente nav */
.btn-area-cliente {
  font-size: 13px; font-weight: 600; color: var(--gray);
  text-decoration: none; border: 1px solid var(--border2);
  padding: 8px 16px; border-radius: 7px; transition: all .2s;
}
.btn-area-cliente:hover { color: #fff; border-color: var(--purple); }

/* Breadcrumb */
.breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:24px; }
.bc-item { font-size:13px; color:var(--gray2); text-decoration:none; transition: color .2s; }
.bc-item:hover { color:var(--gray); }
.bc-item.active { color:var(--purple-soft); cursor:default; }
.bc-sep { font-size:11px; color:var(--gray2); }

/* Page Hero (inner pages) */
.page-hero {
  padding: 72px 10% 64px; position:relative; overflow:hidden;
  border-bottom: 1px solid var(--border); background: var(--dark);
}
.page-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 70% 100% at 70% 55%, rgba(123,47,255,.20) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 90%, rgba(80,0,200,.12) 0%, transparent 60%);
}
.page-hero::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(123,47,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero-inner { position:relative; z-index:2; }
.page-hero h1 {
  font-size: clamp(32px, 4vw, 56px); font-weight:800;
  letter-spacing:-1.5px; line-height:1.08; margin:18px 0 20px;
}
.page-hero h1 em { font-style:normal; color:var(--purple-soft); }
.page-hero .hero-lead { font-size:17px; color:var(--gray); line-height:1.75; max-width:560px; }
.page-hero .eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px; border-radius:100px;
  background:var(--purple-faint); border:1px solid var(--border);
}

/* Section link */
.section-link {
  display:inline-flex; align-items:center; gap:6px;
  font-size:14px; font-weight:700; color:var(--primary);
  text-decoration:none; margin-top:20px; transition:gap var(--motion-fast), color var(--motion-fast);
}
.section-link:hover { gap:10px; color:var(--secondary); }

/* Orange button */
.btn-orange { background:var(--primary); color:#fff; }
.btn-orange:hover { background:var(--secondary); transform:translateY(-1px); }

.header-cta {
  box-shadow: 0 12px 28px rgba(200, 0, 223, 0.28);
}

/* Active nav */
.nav-menu a.nav-active,
.nav-menu button.nav-active { color:#ffffff; }

/* ─── ABOUT PAGE ─────────────────────── */
.values-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  margin-top:48px;
}
.value-card {
  background:var(--dark3); border:1px solid var(--border);
  border-radius:20px; padding:32px 28px;
  transition:border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.value-card:hover { border-color:var(--purple); transform:translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.24), 0 0 40px rgba(123,47,255,.15); }
.value-icon {
  width:52px; height:52px; background:var(--purple-faint);
  border:1px solid var(--border); border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:24px; margin-bottom:20px; color:var(--primary);
}
.value-title { font-size:18px; font-weight:700; margin-bottom:10px; }
.value-desc { font-size:14px; color:var(--gray); line-height:1.7; }

.about-stats-bar {
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  background:var(--dark2); padding: 0 10%;
}
.about-stats-inner {
  display:grid; grid-template-columns:repeat(4,1fr);
}
.about-stat {
  text-align:center; padding:48px 24px;
  border-right:1px solid var(--border);
}
.about-stat:last-child { border-right:none; }
.about-stat-num { font-size:clamp(32px,3vw,48px); font-weight:900; letter-spacing:-1.5px; line-height:1; }
.about-stat-num em { font-style:normal; color:var(--secondary); }
.about-stat-label { font-size:13px; color:var(--gray); margin-top:8px; }

.about-split {
  display:grid; grid-template-columns:1fr 1fr; gap:80px;
  align-items:center; overflow:visible;
}
.about-split.rev .about-img-col { order:2; }
.about-split.rev .about-txt-col { order:1; }
.about-img-col { position:relative; }
.about-img-col::before {
  content:''; position:absolute; inset:-32px; pointer-events:none; z-index:0;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(123,47,255,.13) 0%, transparent 70%);
}
.about-photo { width:100%; border-radius:20px; object-fit:cover; aspect-ratio:4/3; border:1px solid var(--border); display:block; position:relative; z-index:1; box-shadow: 0 24px 64px rgba(0,0,0,0.45); }

/* ─── SOLUTIONS PAGE ─────────────── */
.sol-page-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.sol-page-card {
  background:var(--dark3); border:1px solid var(--border);
  border-radius:20px; overflow:hidden; display:flex; flex-direction:column;
  transition:border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.sol-page-card:hover { border-color:var(--primary); transform:translateY(-5px); box-shadow: 0 12px 50px rgba(0,0,0,0.28), 0 0 50px rgba(200,0,223,.16); }
.sol-page-img { width:100%; height:180px; object-fit:cover; }
.sol-page-body { padding:28px 28px 32px; flex:1; display:flex; flex-direction:column; }
.sol-page-icon { font-size:28px; margin-bottom:12px; }
.sol-page-name { font-size:20px; font-weight:700; margin-bottom:10px; }
.sol-page-desc { font-size:14px; color:var(--gray); line-height:1.7; flex:1; margin-bottom:20px; }
.sol-page-feats { list-style:none; display:flex; flex-direction:column; gap:6px; margin-bottom:24px; }
.sol-page-feats li { font-size:13px; color:var(--gray); display:flex; align-items:center; gap:8px; }
.sol-page-feats li::before { content:''; width:6px; height:6px; background:var(--primary); border-radius:50%; flex-shrink:0; }

.product-detail-grid {
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px;
  align-items:start;
}
.product-detail-card {
  background:var(--dark3); border:1px solid var(--border);
  border-radius:20px; padding:32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.product-detail-card h2 {
  font-size:26px; margin-bottom:18px;
}
.product-detail-card p {
  color:var(--gray); line-height:1.75; margin-bottom:18px;
}
.product-detail-list {
  list-style:none; display:grid; gap:12px;
}
.product-detail-list li {
  display:flex; gap:10px; align-items:flex-start;
  color:var(--gray); line-height:1.6;
}
.product-detail-list li::before {
  content:''; width:8px; height:8px; border-radius:50%;
  background:var(--primary); flex-shrink:0; margin-top:8px;
}
.product-side-img {
  width:100%; border-radius:20px; display:block;
  aspect-ratio:4/3; object-fit:cover; border:1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.product-side-panel {
  margin-top:20px; background:var(--dark3); border:1px solid var(--border);
  border-radius:20px; padding:28px;
}
.product-side-panel h3 {
  font-size:18px; margin-bottom:14px;
}

/* ─── CONTACT PAGE ───────────────── */
.contact-page-grid {
  display:grid; grid-template-columns:1.35fr 1fr; gap:64px;
  padding:80px 10%; align-items:start;
}
.ci-title { font-size:20px; font-weight:700; margin-bottom:20px; }

.ci-cards { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:4px; }
.ci-card-wide { grid-column: 1 / -1; }

.ci-card {
  display:flex; gap:14px; align-items:flex-start;
  background:var(--dark3); border:1px solid var(--border);
  border-radius:14px; padding:18px 16px;
  transition: border-color .2s;
}
.ci-card:hover { border-color: rgba(200,0,223,.32); }

.ci-ico {
  width:40px; height:40px; background:var(--purple-faint); border:1px solid var(--border);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:var(--primary); font-size:17px;
}
.ci-lbl { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--gray2); margin-bottom:4px; }
.ci-val { font-size:14px; color:var(--white); line-height:1.4; }
.ci-val a { color:var(--white); text-decoration:none; }
.ci-val a:hover { color:var(--primary); }

.contact-map {
  border-radius:14px; overflow:hidden;
  border:1px solid var(--border);
}
.contact-map iframe { display:block; }
.ci-map-label {
  display:flex; align-items:center; gap:8px;
  font-size:13px; color:var(--gray2); margin-top:10px;
  padding-left:2px;
}
.ci-map-label i { color:var(--primary); font-size:13px; }

.contact-form-wrap {
  background:var(--dark3); border:1px solid var(--border); border-radius:24px; padding:40px;
}
.cfw-title { font-size:20px; font-weight:700; margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:16px; }
.form-label { display:block; font-size:13px; font-weight:600; color:var(--gray); margin-bottom:6px; }
.form-input, .form-select, .form-textarea {
  width:100%; background:var(--dark4); border:1px solid var(--border);
  border-radius:12px; padding:12px 16px; font-family:var(--font-primary);
  font-size:14px; color:var(--white); outline:none; transition:border-color .2s;
  -webkit-appearance:none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--primary); }
.form-input::placeholder, .form-textarea::placeholder { color:var(--gray2); }
.form-textarea { resize:vertical; min-height:120px; }
.form-select option { background:var(--dark3); }

/* ─── CAREERS PAGE ───────────────── */
.perks-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.perk-card {
  background:var(--dark3); border:1px solid var(--border); border-radius:16px;
  padding:28px 24px; text-align:center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
}
.perk-card:hover { border-color:var(--primary); transform:translateY(-3px); box-shadow: 0 8px 36px rgba(0,0,0,0.22), 0 0 36px rgba(200,0,223,.16); }
.perk-icon { font-size:32px; margin-bottom:12px; }
.perk-title { font-size:16px; font-weight:700; margin-bottom:8px; }
.perk-desc { font-size:13px; color:var(--gray); line-height:1.6; }

.careers-form-wrap {
  background:var(--dark3); border:1px solid var(--border); border-radius:24px;
  padding:40px; max-width:720px; margin:48px auto 0;
}

/* ─── SECTION ALT (dark2 bg) ─────── */
.sec-alt { background:var(--dark2); padding:80px 10%; position:relative; overflow:hidden; }
.sec-alt::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(ellipse 55% 80% at 90% 45%, rgba(123,47,255,.07) 0%, transparent 70%);
}
.sec-alt .section-header {
  max-width: 775px;
  margin: 0 auto 48px;
  padding: 0;
  text-align: center;
}

/* ─── PAGE SECTION ───────────────── */
.page-section { padding:80px 10%; position:relative; overflow:hidden; }
.page-section::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(ellipse 50% 70% at 8% 55%, rgba(123,47,255,.05) 0%, transparent 65%);
}
.page-section-inner { position:relative; z-index:1; }

/* ─── CTA BANNER ─────────────────── */
.cta-banner {
  background:var(--dark3); border-top:1px solid var(--border);
  border-bottom:1px solid var(--border); padding:88px 10%;
  text-align:center; position:relative; overflow:hidden;
}
.cta-banner::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(123,47,255,.18) 0%, transparent 70%);
}
.cta-banner::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(123,47,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-banner-inner { position:relative; z-index:2; max-width:775px; margin:0 auto; }

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Tablet largo: hero 55/45, foto ainda visível */
@media (max-width: 1024px) {
  .nav-menu .submenu {
    width: 88vw;
    padding: 24px;
    grid-template-columns: minmax(230px, 0.78fr) 1px repeat(2, minmax(170px, 1fr));
    gap: 16px 22px;
  }

  .nav-menu .submenu .mega-feature-card {
    padding: 22px;
  }

  .nav-menu .submenu .mega-feature-copy strong {
    font-size: 20px;
  }

  .nav-menu .submenu .mega-card strong {
    font-size: 16px;
  }

  .nav-menu .submenu .mega-card small {
    font-size: 14px;
  }

  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); gap: 34px; padding: 0 8% 74px; }
  .hero-text  { padding-top: 24px; }
  .hero-lead  { max-width: 500px; }
  .hero-actions { flex-wrap: wrap; }
  .hero { min-height: 540px; }
}

/* Tablet estreito: layout empilhado, foto oculta */
@media (max-width: 768px) {
  .hero { padding-top: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 8% 56px; }
  .hero-text  { padding: 20px 0 0; text-align: center; }
  .hero-lead  { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero { min-height: 460px; }

  .sobre { grid-template-columns: 1fr; gap: 48px; }
  .sobre-visual { height: 340px; }

  .solutions-grid,
  .porque-grid { grid-template-columns: 1fr 1fr; }

  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat        { border-right: none; border-bottom: 1px solid rgba(79, 67, 120, 0.12); }
  .stats-bar   { margin-top: -22px; }

  .footer-top  { grid-template-columns: 1fr 1fr; }

  .values-grid, .about-stats-inner, .perks-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .sol-page-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }

  .solutions-brief-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .nav-menu  { display: none; }
  .hamburger { display: flex; }
  .nav-right { display: none; }
  nav { height: 78px; padding: 0 6%; }
  .logo-img { height: 52px; }

  .hero-inner { padding: 0 6% 48px; }
  .hero h1 { font-size: clamp(34px, 11vw, 52px); }
  .hero-lead { font-size: 16px; }
  .hero { min-height: 360px; }
  .solutions-grid,
  .porque-grid,
  .stats-inner { grid-template-columns: 1fr; }

  .footer-top  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  .values-grid, .perks-grid { grid-template-columns: 1fr; }
  .about-stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ci-cards { grid-template-columns: 1fr; }
  .sol-page-grid { grid-template-columns: 1fr; }

  .solutions-brief-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-menu .submenu {
    display: grid;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 4px 0 6px 12px;
    padding: 8px 0 4px 10px;
    grid-template-columns: 1fr;
    align-content: stretch;
    gap: 6px;
    transform: none;
    border: none;
    border-left: 1px solid rgba(255, 145, 77, 0.28);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
  }

  .nav-menu .submenu::after,
  .nav-menu .submenu .mega-feature,
  .nav-menu .submenu .mega-menu-heading {
    display: none;
  }

  .nav-menu .submenu .mega-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 58px;
    padding: 6px 0;
    border: none;
    color: rgba(255, 255, 255, 0.84);
  }

  .nav-menu .submenu .mega-card-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav-menu .submenu .mega-card strong {
    color: #ffffff;
    font-size: 14px;
  }

  .nav-menu .submenu .mega-card small {
    display: none;
  }

  .nav-menu .submenu .mega-card-arrow {
    display: none;
  }

  .nav-menu .submenu .mega-menu-action a {
    justify-content: flex-start;
    min-height: 36px;
    padding: 8px 0;
    background: transparent;
    border: none;
  }
}

/* MS Connect-inspired refresh */
:root {
  --primary:       #5E167D;
  --secondary:     #8B2FC9;
  --warning:       #FF914D;
  --surface:       #FFFFFF;
  --text:          #1A1322;
  --neutral:       #E9E0EE;
  --purple:        #5E167D;
  --purple-soft:   #8B2FC9;
  --purple-faint:  rgba(94, 22, 125, 0.08);
  --purple-glow:   rgba(139, 47, 201, 0.18);
  --orange:        #FF914D;
  --orange-soft:   #FFB07E;
  --orange-faint:  rgba(255, 145, 77, 0.16);
  --dark:          #261133;
  --dark2:         #311341;
  --dark3:         #3C164D;
  --dark4:         #4A1B5E;
  --white:         #FFFFFF;
  --gray:          #655B73;
  --gray2:         #8A8197;
  --border:        rgba(94, 22, 125, 0.14);
  --border2:       rgba(255, 255, 255, 0.14);
  --radius-sm:     14px;
  --radius-md:     22px;
  --radius-lg:     32px;
  --motion-fast:   220ms cubic-bezier(.2, .8, .2, 1);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
  color: var(--text);
}

header {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.10) 0%, transparent 22%),
    radial-gradient(circle at 84% 24%, rgba(255, 145, 77, 0.12) 0%, transparent 22%),
    linear-gradient(135deg, #261133 0%, #4a165d 56%, #6f2393 100%);
  border-bottom: 1px solid rgba(255, 145, 77, 0.18);
}

nav {
  height: 92px;
}

.logo-img {
  height: 54px;
}

.nav-menu {
  gap: 30px;
}

.nav-menu > li > a,
.nav-menu > li > button {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.nav-menu > li > a::before,
.nav-menu > li > button::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-fast);
}

.nav-menu > li > a:hover::before,
.nav-menu > li > button:hover::before,
.nav-menu > li > a.nav-active::before,
.nav-menu > li > button.nav-active::before {
  transform: scaleX(1);
}

.btn-orange {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 145, 77, 0.7);
}

.btn-orange:hover {
  background: rgba(255, 145, 77, 0.12);
  border-color: var(--orange);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-cta {
  box-shadow: none;
}

.btn-purple {
  background: linear-gradient(135deg, #5e167d 0%, #7a27ad 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(94, 22, 125, 0.18);
}

.btn-purple:hover {
  background: linear-gradient(135deg, #6a1c8d 0%, #8b2fc9 100%);
}

.btn-outline-purple {
  color: var(--primary);
  border: 1px solid rgba(94, 22, 125, 0.22);
  background: #ffffff;
}

.btn-outline-purple:hover {
  background: var(--purple-faint);
  border-color: rgba(94, 22, 125, 0.34);
}

.hero {
  min-height: 820px;
  padding: 24px 0 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 145, 77, 0.12) 0%, transparent 18%),
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 22%),
    linear-gradient(135deg, #261133 0%, #4a165d 52%, #78279f 100%);
}

.hero-bg-glow {
  background:
    radial-gradient(ellipse 58% 78% at 78% 22%, rgba(214, 138, 255, 0.18) 0%, transparent 56%),
    radial-gradient(ellipse 46% 56% at 8% 84%, rgba(77, 16, 98, 0.38) 0%, transparent 58%);
}

.hero-grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
}

.hero-inner {
  padding: 0 0 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  padding-top: 24px;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 20px;
  letter-spacing: -2px;
  color: #ffffff;
}

.hero h1 em {
  color: #f2d7ff;
}

.hero-lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--primary);
}

.btn-hero-primary:hover {
  background: #f8f3fb;
  color: #4c145f;
}

.btn-hero-ghost {
  background: transparent;
  border: 1px solid rgba(255, 145, 77, 0.6);
  color: #ffffff;
}

.btn-hero-ghost:hover {
  background: rgba(255, 145, 77, 0.12);
  border-color: var(--orange);
}

.hero-photo {
  object-position: 78% center;
  opacity: 0.97;
}

.stats-bar {
  margin-top: -42px;
  padding-bottom: 36px;
}

.stats-inner {
  border: 1px solid rgba(94, 22, 125, 0.10);
  border-radius: 30px;
  box-shadow: 0 24px 48px rgba(26, 19, 34, 0.10);
}

.stat {
  padding: 36px 24px;
  border-right: 1px solid rgba(94, 22, 125, 0.08);
}

.stat-num {
  color: var(--primary);
}

.stat-num em {
  color: var(--orange);
}

.stat-label {
  color: #6f657f;
}

section#sobre,
.page-section,
.contact-page-grid {
  background: transparent;
}

.solucoes,
.porque,
.sec-alt {
  background: #faf6fc;
}

.section-h,
.sol-name,
.pq-title,
.value-title,
.sol-page-name,
.product-detail-card h2,
.product-side-panel h3,
.cfw-title,
.ci-title,
.perk-title {
  color: var(--text);
}

.section-h em,
.page-hero h1 em,
.about-stat-num em {
  color: var(--orange);
}

.eyebrow,
section#sobre .eyebrow,
.page-hero .eyebrow {
  color: var(--primary);
}

.section-p,
.sol-desc,
.pq-desc,
.value-desc,
.sol-page-desc,
.product-detail-card p,
.product-detail-list li,
.about-stat-label,
.page-hero .hero-lead,
.ci-map-label,
.perk-desc {
  color: var(--gray);
}

.sobre-card-bg,
.sol-card,
.pq-card,
.value-card,
.sol-page-card,
.product-detail-card,
.product-side-panel,
.ci-card,
.contact-form-wrap,
.careers-form-wrap,
.perk-card {
  background: #ffffff;
  border: 1px solid rgba(94, 22, 125, 0.10);
  box-shadow: 0 16px 36px rgba(26, 19, 34, 0.06);
}

.sol-card:hover,
.value-card:hover,
.sol-page-card:hover,
.product-detail-card:hover,
.product-side-panel:hover,
.perk-card:hover,
.pq-card:hover,
.ci-card:hover {
  border-color: rgba(255, 145, 77, 0.55);
  box-shadow: 0 22px 42px rgba(26, 19, 34, 0.10);
}

.sol-card::after {
  background: linear-gradient(90deg, var(--primary), var(--orange));
}

.pq-icon,
.value-icon,
.ci-ico {
  background: rgba(94, 22, 125, 0.06);
  border: 1px solid rgba(94, 22, 125, 0.10);
  color: var(--primary);
}

.footer-contact li i,
.footer-contact li svg,
.ci-map-label i {
  color: var(--orange);
}

.about-photo,
.contact-map,
.product-side-img,
.sol-page-img {
  border-color: rgba(94, 22, 125, 0.10);
}

.product-detail-list li::before {
  background: linear-gradient(135deg, var(--primary), var(--orange));
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.12);
}

.product-section {
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 145, 77, 0.08) 0%, transparent 24%),
    radial-gradient(circle at 92% 28%, rgba(94, 22, 125, 0.08) 0%, transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
}

.product-detail-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.product-detail-grid > aside {
  position: sticky;
  top: 118px;
}

.product-detail-card,
.product-side-panel {
  position: relative;
  overflow: hidden;
}

.product-detail-card {
  min-height: 100%;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 24px;
}

.product-detail-card::before,
.product-side-panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--orange), var(--primary));
}

.product-detail-card h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.product-detail-card p {
  max-width: 720px;
  font-size: 16px;
}

.product-detail-list {
  gap: 10px;
  margin-top: 22px;
}

.product-detail-list li {
  min-height: 54px;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(94, 22, 125, 0.08);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 22, 125, 0.035), rgba(255, 145, 77, 0.04));
}

.product-detail-list li::before {
  width: 9px;
  height: 9px;
  margin-top: 8px;
}

.product-side-img {
  min-height: 340px;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(26, 19, 34, 0.16);
}

.product-side-panel {
  margin: -30px 24px 0;
  padding: 28px 28px 30px;
  border-radius: 20px;
  box-shadow: 0 22px 44px rgba(26, 19, 34, 0.12);
}

.product-side-panel h3 {
  font-size: 20px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .product-detail-grid > aside {
    position: static;
  }

  .product-side-img {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .product-side-panel {
    margin: -22px 14px 0;
  }
}

@media (max-width: 640px) {
  .product-detail-card {
    padding: 26px 22px;
  }

  .product-detail-list li {
    min-height: 0;
    padding: 12px 13px;
  }

  .product-side-panel {
    margin: -18px 10px 0;
    padding: 24px 22px;
  }
}

.sobre-card-photo {
  opacity: 0.74;
}

.section-link {
  color: var(--primary);
}

.section-link:hover {
  color: #7c2da8;
}

.solutions-tabs {
  background: rgba(94, 22, 125, 0.05);
  border: 1px solid rgba(94, 22, 125, 0.10);
  border-radius: 999px;
  padding: 5px;
}

.sol-tab {
  color: var(--gray);
  border-radius: 999px;
}

.sol-tab.active {
  background: var(--primary);
  color: #ffffff;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 145, 77, 0.14) 0%, transparent 18%),
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 20%),
    linear-gradient(135deg, #261133 0%, #4a165d 58%, #6f2393 100%);
  border-bottom: none;
}

.page-hero::before {
  background:
    radial-gradient(ellipse 70% 100% at 72% 52%, rgba(139, 47, 201, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 6% 90%, rgba(72, 22, 93, 0.22) 0%, transparent 60%);
}

.page-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: auto;
  padding: 0;
  margin-bottom: 24px;
}

.page-hero h1,
.page-hero .hero-lead,
.page-hero .eyebrow,
.breadcrumb,
.bc-item,
.bc-sep {
  position: relative;
  z-index: 2;
}

.page-hero h1,
.page-hero .hero-lead {
  color: #ffffff;
}

.page-hero .hero-lead {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 145, 77, 0.18);
  color: #ffffff;
}

.bc-item,
.bc-sep {
  color: rgba(255, 255, 255, 0.64);
}

.bc-item.active {
  color: var(--orange);
}

.about-stats-bar,
.cta-final,
.cta-banner,
footer {
  background: var(--dark);
  border-color: rgba(255, 145, 77, 0.14);
}

.about-stat {
  border-right-color: rgba(255, 145, 77, 0.12);
}

.about-stat-num,
.cta-inner .section-h,
.cta-inner .section-p,
.cta-banner-inner .section-h,
.footer-col h4,
.footer-bottom p {
  color: #ffffff;
}

.about-stat-label,
.footer-about p,
.footer-col a,
.footer-contact li,
.footer-contact a,
.cta-banner-inner .section-p {
  color: rgba(255, 255, 255, 0.68);
}

/* Eyebrow dentro de seções escuras (CTA final / CTA banner) */
.cta-final .eyebrow,
.cta-banner .eyebrow {
  color: var(--orange);
}

.cta-banner .btn-ghost {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
}
.cta-banner .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Valores de contato (contato.html) — cards ficaram claros no redesign,
   texto continuava herdando branco do tema antigo */
.ci-val,
.ci-val a {
  color: var(--text);
}
.ci-val a:hover {
  color: var(--primary);
}

.social-link {
  border-color: rgba(255, 145, 77, 0.18);
  color: rgba(255, 255, 255, 0.68);
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.form-label,
.ci-lbl {
  color: #5e546d;
}

.form-input,
.form-select,
.form-textarea {
  background: #fbf9fd;
  color: var(--text);
  border-color: rgba(94, 22, 125, 0.12);
}

.form-select option {
  background: #ffffff;
  color: var(--text);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9d94ab;
}

.hero-lead,
.page-hero .hero-lead,
.section-p,
.product-detail-card p {
  font-size: 20px;
  line-height: 1.85;
}

.sol-desc,
.pq-desc,
.value-desc,
.solutions-brief-item span,
.sol-page-desc,
.product-detail-list li,
.perk-desc,
.footer-about p,
.footer-col a,
.footer-contact li,
.footer-contact a {
  font-size: 18px;
  line-height: 1.75;
}

.sol-page-feats li,
.about-stat-label,
.ci-map-label,
.ci-lbl,
.form-label {
  font-size: 17px;
}

.ci-val,
.form-input,
.form-select,
.form-textarea {
  font-size: 18px;
}

.footer-bottom p {
  font-size: 16px;
}

.nav-menu > li > a,
.nav-menu > li > button,
.nav-menu a,
.nav-menu button {
  font-size: 18px;
  font-weight: 500;
}

.header-cta {
  font-size: 17px;
  font-weight: 700;
  padding: 13px 28px;
}

.stat-num {
  font-size: clamp(40px, 3.2vw, 54px);
  line-height: 1;
}

.stat-label {
  font-size: 20px;
  line-height: 1.55;
}

.timeline {
  max-width: 980px;
}

.tl-item {
  gap: 28px;
  padding: 32px 0;
}

.tl-year {
  width: 118px;
  font-size: 18px;
  padding: 8px 14px;
}

.tl-dot {
  width: 14px;
  height: 14px;
  margin-top: 10px;
}

.tl-txt {
  font-size: 20px;
  line-height: 1.8;
}

.tl-txt strong {
  font-size: 22px;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 6%;
  }

  .logo-img {
    height: 48px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-menu > li > a,
  .nav-menu > li > button,
  .nav-menu a,
  .nav-menu button {
    font-size: 16px;
  }

  .header-cta {
    font-size: 15px;
    padding: 11px 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 0 8% 58px;
  }

  .hero-text {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .tl-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 16px;
  }

  .tl-year {
    width: auto;
    min-width: 118px;
    margin-top: 0;
  }

  .tl-dot {
    margin-top: 15px;
  }

  .tl-txt {
    grid-column: 1 / -1;
  }

  nav {
    height: 84px;
  }

  .logo-img {
    height: 50px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .stats-inner,
  .solutions-tabs {
    border-radius: 24px;
  }

  .hero {
    min-height: 360px;
  }

  .hero-photo-layer::after {
    background: linear-gradient(180deg, rgba(38, 17, 51, 0.35) 0%, rgba(38, 17, 51, 0.8) 100%);
  }

  .hero-photo {
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
  }
}

/* ─── BACK TO TOP ─────────────────────────────────── */
.to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(200, 0, 223, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--purple-soft);
}

@media (max-width: 640px) {
  .to-top {
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
