/* ================================================================
   CONNECT TRANSFORME — Premium Design System
   Inspirado em: Linear, Vercel, Stripe
   Identidade: azul-noite + laranja + fibras ópticas
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  /* Cores base */
  --ink:        #05080f;
  --ink2:       #080d18;
  --ink3:       #0b1220;
  --surface:    rgba(255,255,255,0.034);
  --surface2:   rgba(255,255,255,0.055);
  --border:     rgba(255,255,255,0.075);
  --border2:    rgba(255,255,255,0.13);

  /* Brand */
  --orange:     #e8780a;
  --orange2:    #f5920f;
  --orange3:    #ff9f2e;
  --orange-glow:rgba(232,120,10,0.18);

  /* Azul (fibra óptica) */
  --blue:       #0066ff;
  --blue2:      #0088ff;
  --blue-glow:  rgba(0,102,255,0.15);

  /* Tipografia */
  --white:      #ffffff;
  --muted:      #7a8fac;
  --muted2:     #5a6e8a;

  /* Tokens */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .3s;

  /* Fontes */
  --head: 'Montserrat', sans-serif;
  --body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.orange { color: var(--orange); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }

/* ═══════════════════ GRADIENT TEXT ═══════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange3) 60%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  background: linear-gradient(135deg, var(--orange), var(--orange2), var(--orange3));
  background-size: 200% 200%; background-position: 0% 0%;
  color: #fff; font-family: var(--head); font-weight: 700;
  font-size: .9rem; letter-spacing: .02em;
  padding: .85rem 2.1rem; border-radius: 99px; border: none; cursor: pointer;
  transition: background-position .4s var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: 0 4px 24px rgba(232,120,10,.38), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; border-radius: 99px;
  background: linear-gradient(to bottom, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232,120,10,.5), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; color: var(--white);
  font-family: var(--head); font-weight: 600; font-size: .9rem;
  padding: .85rem 2.1rem; border-radius: 99px;
  border: 1.5px solid var(--border2); cursor: pointer;
  transition: border-color var(--dur), color var(--dur), transform var(--dur), background var(--dur);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); background: var(--orange-glow); }

.btn-lg { padding: 1.05rem 2.6rem; font-size: .98rem; }

.btn-wpp {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #22c55e; color: #fff;
  font-family: var(--head); font-weight: 700; font-size: .85rem;
  padding: .65rem 1.5rem; border-radius: 99px;
  box-shadow: 0 4px 18px rgba(34,197,94,.32);
  transition: transform var(--dur), box-shadow var(--dur);
}
.btn-wpp:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(34,197,94,.45); }

.btn-cta-nav {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; font-family: var(--head); font-weight: 700; font-size: .83rem;
  padding: .6rem 1.45rem; border-radius: 99px;
  box-shadow: 0 3px 16px rgba(232,120,10,.38);
  transition: transform var(--dur), box-shadow var(--dur);
  white-space: nowrap;
}
.btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,120,10,.5); }

/* ═══════════════════ SECTION LABELS ═══════════════════ */
.sec-badge {
  display: inline-block;
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
  padding: .35rem 1rem; border-radius: 99px;
  background: rgba(232,120,10,.1); border: 1px solid rgba(232,120,10,.22);
  margin-bottom: 1.1rem;
}
.sec-head { text-align: center; margin-bottom: 4rem; }
.sec-title {
  font-family: var(--head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; line-height: 1.1; margin-bottom: .8rem;
}
.sec-desc { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ═══════════════════ ORB (gradiente animado) ═══════════════════ */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(90px);
}
.orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(0,80,255,.1) 0%, transparent 70%);
  animation: orbDrift1 18s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  top: 100px; right: -50px;
  background: radial-gradient(circle, rgba(232,120,10,.07) 0%, transparent 70%);
  animation: orbDrift2 22s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  bottom: 0; left: 30%;
  background: radial-gradient(circle, rgba(0,100,255,.06) 0%, transparent 70%);
  animation: orbDrift3 16s ease-in-out infinite;
}
.orb-sol { width:600px; height:600px; top:-100px; right:-200px; background:radial-gradient(circle,rgba(232,120,10,.06) 0%,transparent 70%); animation:orbDrift2 20s ease-in-out infinite; }
.orb-pq  { width:700px; height:700px; top:0; left:-200px; background:radial-gradient(circle,rgba(0,80,255,.07) 0%,transparent 70%); animation:orbDrift1 24s ease-in-out infinite; }
.orb-sb  { width:500px; height:500px; bottom:0; right:-100px; background:radial-gradient(circle,rgba(0,100,255,.06) 0%,transparent 70%); animation:orbDrift3 18s ease-in-out infinite; }

@keyframes orbDrift1 {
  0%,100%{ transform:translate(0,0) scale(1); }
  33%    { transform:translate(80px,-60px) scale(1.05); }
  66%    { transform:translate(-40px,80px) scale(.96); }
}
@keyframes orbDrift2 {
  0%,100%{ transform:translate(0,0) scale(1); }
  33%    { transform:translate(-70px,50px) scale(1.04); }
  66%    { transform:translate(50px,-70px) scale(.97); }
}
@keyframes orbDrift3 {
  0%,100%{ transform:translate(0,0) scale(1); }
  50%    { transform:translate(60px,-40px) scale(1.06); }
}

/* ═══════════════════ DOT GRID ═══════════════════ */
.dot-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 100%);
}

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0; transition: padding var(--dur) var(--ease), background var(--dur);
}
.navbar.scrolled {
  padding: .7rem 0;
  background: rgba(5,8,15,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 1.1rem; font-weight: 900; color: #fff;
  box-shadow: 0 4px 16px rgba(232,120,10,.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--head); font-size: 1.1rem; font-weight: 900;
  letter-spacing: .1em; color: var(--white);
}
.logo-tagline {
  font-family: var(--head); font-size: .52rem; font-weight: 600;
  color: var(--orange); letter-spacing: .28em; text-transform: lowercase;
}

.nav-menu { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nm-link {
  font-size: .86rem; font-weight: 500; color: var(--muted);
  padding: .4rem .85rem; border-radius: var(--radius-sm);
  transition: color var(--dur), background var(--dur);
}
.nm-link:hover, .nm-link.active { color: var(--white); background: var(--surface); }

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

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem; margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--dur); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(150deg, #05080f 0%, #080d18 50%, #06091a 100%);
}

.fibers {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.hero-body {
  position: relative; z-index: 4;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  flex: 1; display: flex; align-items: center; gap: 4rem;
  padding-top: 6.5rem; padding-bottom: 13rem;
}

/* Hero left */
.hero-left { flex: 1; max-width: 600px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 99px; padding: .4rem 1rem .4rem .5rem;
  font-size: .78rem; font-weight: 500; color: var(--muted);
  margin-bottom: 1.8rem; backdrop-filter: blur(10px);
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 8px var(--orange), 0 0 16px rgba(232,120,10,.4);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

.hero-h1 {
  font-family: var(--head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.08rem; color: var(--muted); line-height: 1.75;
  margin-bottom: 2.4rem; max-width: 500px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* KPIs */
.hero-kpis { display: flex; align-items: center; gap: 2rem; }
.kpi { display: flex; flex-direction: column; }
.kpi-n {
  font-family: var(--head); font-size: 1.8rem; font-weight: 900;
  color: var(--white); line-height: 1;
  display: inline;
}
.kpi-l { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; }
.kpi-sep { width: 1px; height: 44px; background: var(--border); }

/* Hero right — structured layout */
.hero-right {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: floatHero 7s ease-in-out infinite;
}
@keyframes floatHero {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

.glass-card {
  background: rgba(255,255,255,0.042);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Main info card */
.hr-main-card {
  padding: 1.75rem 1.75rem 1.6rem;
}

/* Stats grid */
.hr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.hr-stat {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  padding: 1rem .6rem 1.1rem;
  transition: transform var(--dur), border-color var(--dur), background var(--dur);
}
.hr-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(232,120,10,.28);
  background: rgba(255,255,255,.07);
}

.hr-stat-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(0,100,255,.15); border: 1px solid rgba(0,100,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--blue2);
  margin-bottom: .1rem;
}
.hr-stat-ico.orange-ico {
  background: rgba(232,120,10,.15); border-color: rgba(232,120,10,.22);
  color: var(--orange2);
}

.hr-stat-val {
  font-family: var(--head); font-size: 1.05rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.hr-stat-val sup { font-size: .6rem; color: var(--orange); }
.hr-stat-lbl {
  font-size: .65rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; text-align: center;
}

/* legacy — keep for bar animation */
.main-card { padding: 1.8rem; }

.mc-header {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem;
}
.mc-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232,120,10,.45);
}
.mc-title { display: block; font-family: var(--head); font-size: .88rem; font-weight: 700; }
.mc-sub   { font-size: .72rem; color: var(--muted); }
.mc-status {
  margin-left: auto; display: flex; align-items: center; gap: .4rem;
  font-size: .72rem; color: #22c55e; font-weight: 600;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: blink 2s ease-in-out infinite;
}

.mc-bars { display: flex; flex-direction: column; gap: .85rem; }
.bar-row { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: var(--muted); }
.bar-row > span:first-child { width: 82px; line-height: 1.35; }
.bar { flex: 1; height: 5px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.bar-fill {
  height: 100%; width: var(--w); border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  box-shadow: 0 0 8px rgba(232,120,10,.5);
  animation: barGrow 1.5s var(--ease) forwards;
  transform-origin: left;
}
@keyframes barGrow { from{ width:0% } to{ width:var(--w) } }
.bar-pct { font-family: var(--head); font-weight: 700; color: var(--white); font-size: .78rem; }

/* float-card legacy — kept for compatibility but not used */
.float-card { display: none; }

/* Silhueta cidade */
.city-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; line-height: 0;
}
.city-wrap svg { width: 100%; display: block; }
.city-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, rgba(0,90,255,.06), transparent);
  pointer-events: none;
}

.scroll-down {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 5; color: var(--muted); font-size: 1rem;
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2.5s ease-in-out infinite;
  transition: border-color var(--dur), color var(--dur);
}
.scroll-down:hover { border-color: var(--orange); color: var(--orange); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ═══════════════════ TRUST BAR ═══════════════════ */
.trust-bar {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  overflow: hidden;
}
.tb-wrap {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center;
}
.tb-label {
  font-family: var(--head); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted2);
  white-space: nowrap;
}
.tb-items { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.tb-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: .4rem .9rem; border-radius: 99px; transition: all var(--dur);
}
.tb-item i { color: var(--orange); font-size: .75rem; }
.tb-item:hover { color: var(--white); border-color: var(--border2); background: var(--surface2); }

/* ═══════════════════ SOLUÇÕES ═══════════════════ */
.solucoes { padding: 7rem 0; position: relative; overflow: hidden; background: var(--ink); }

.filter-row {
  display: flex; gap: .45rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.filt {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-family: var(--head); font-size: .78rem;
  font-weight: 700; letter-spacing: .06em;
  padding: .5rem 1.3rem; border-radius: 99px; cursor: pointer;
  transition: all var(--dur);
}
.filt:hover { color: var(--white); border-color: var(--border2); background: var(--surface2); }
.filt.active {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 20px rgba(232,120,10,.4);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card de solução */
.sol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem;
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur), background var(--dur);
  cursor: default;
}
/* Shimmer no topo */
.sol-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  opacity: 0; transition: opacity var(--dur);
}
/* Brilho azul no fundo */
.sol-card::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,100,255,.06) 0%, transparent 70%);
  pointer-events: none; transition: all .5s var(--ease);
}
.sol-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,120,10,.25);
  background: rgba(255,255,255,.058);
  box-shadow: 0 24px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(232,120,10,.12);
}
.sol-card:hover::before { opacity: 1; }
.sol-card:hover::after { width: 250px; height: 250px; bottom: -80px; right: -80px; }
.sol-card.hidden { display: none; }

/* ── Fiscalização de Obras: wide card spanning 2 cols ── */
.sol-card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(232,120,10,.06), rgba(10,25,50,.8));
  border-color: rgba(232,120,10,.18);
}
.sol-card-wide:hover { border-color: rgba(232,120,10,.4); }
.scw-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1rem 0 1.2rem;
}
.scw-head {
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .65rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.scw-head i { font-size: .7rem; }
.scw-head-result { color: #22c55e; }
.scw-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .38rem;
}
.scw-list li {
  font-size: .78rem;
  color: var(--muted, #94a3b8);
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  line-height: 1.4;
}
.scw-list li i {
  color: var(--orange);
  font-size: .62rem;
  margin-top: .22rem;
  flex-shrink: 0;
}
.scw-head-result ~ .scw-list li i { color: #22c55e; }

/* Card em destaque */
.sol-card.featured {
  background: linear-gradient(145deg, rgba(232,120,10,.1), rgba(232,120,10,.04));
  border-color: rgba(232,120,10,.22);
}
.sol-card.featured::after {
  background: radial-gradient(circle, rgba(232,120,10,.08) 0%, transparent 70%);
}

.sc-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem;
}
.sc-ico {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff;
  box-shadow: 0 4px 20px rgba(232,120,10,.42);
  transition: transform var(--dur), box-shadow var(--dur);
}
.sol-card:hover .sc-ico { transform: scale(1.06); box-shadow: 0 6px 28px rgba(232,120,10,.55); }
.sc-tag {
  font-family: var(--head); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted2);
  background: var(--surface); border: 1px solid var(--border);
  padding: .28rem .7rem; border-radius: 99px;
}

.sol-card h3 {
  font-family: var(--head); font-size: .97rem; font-weight: 800;
  margin-bottom: .65rem; line-height: 1.3;
}
.sol-card p { font-size: .855rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }

.sc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--orange); font-family: var(--head); font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; transition: gap var(--dur), opacity var(--dur);
}
.sc-link:hover { gap: .7rem; }

/* ═══════════════════ POR QUE ═══════════════════ */
.porq {
  padding: 7rem 0; position: relative; overflow: hidden;
  background: var(--ink2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.porq-top { text-align: center; margin-bottom: 4rem; }

.porq-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

.pq-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  position: relative; overflow: hidden;
  transition: transform var(--dur), border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.pq-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform var(--dur);
}
.pq-card:hover { transform: translateY(-6px); border-color: rgba(232,120,10,.2); background: var(--surface2); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.pq-card:hover::before { transform: scaleX(1); }

.pq-num {
  font-family: var(--head); font-size: 3.5rem; font-weight: 900;
  color: rgba(255,255,255,.04); line-height: 1;
  position: absolute; top: 1rem; right: 1.25rem; letter-spacing: -.04em;
}
.pq-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; margin-bottom: 1.4rem;
  box-shadow: 0 4px 20px rgba(232,120,10,.4);
  transition: transform var(--dur), box-shadow var(--dur);
}
.pq-card:hover .pq-ico { transform: scale(1.08); box-shadow: 0 8px 28px rgba(232,120,10,.55); }
.pq-card h3 { font-family: var(--head); font-size: .95rem; font-weight: 800; margin-bottom: .6rem; }
.pq-card p  { font-size: .855rem; color: var(--muted); line-height: 1.65; }

/* ═══════════════════ NÚMEROS ═══════════════════ */
.numeros {
  padding: 5rem 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink3) 50%, var(--ink) 100%);
}
.num-fiber {
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  pointer-events: none;
}
.num-fiber svg { width: 100%; height: 100%; }

.num-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,.028); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.num-item {
  flex: 1; min-width: 200px;
  padding: 2.5rem 2rem; text-align: center;
}
.big-num {
  font-family: var(--head); font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--white); line-height: 1;
  display: inline;
}
.big-num-sym { font-family: var(--head); font-size: 2rem; font-weight: 900; color: var(--orange); }
.num-label {
  display: block; font-size: .75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em; margin-top: .6rem;
  font-family: var(--head); font-weight: 600;
}
.num-divider { width: 1px; height: 80px; background: var(--border); flex-shrink: 0; }

/* ═══════════════════ SOBRE ═══════════════════ */
.sobre { padding: 7rem 0; position: relative; overflow: hidden; background: var(--ink); }

.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.sb-left .sec-badge { display: inline-block; }
.sb-left h2 { font-family: var(--head); margin: 1rem 0 1.25rem; line-height: 1.15; }
.sb-left p  { color: var(--muted); line-height: 1.8; margin-bottom: .9rem; font-size: .97rem; }

.sb-items { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.75rem; }
.sb-item {
  display: flex; align-items: center; gap: .75rem;
  color: var(--muted); font-size: .88rem; transition: color var(--dur);
}
.sb-item i { color: var(--orange); width: 16px; flex-shrink: 0; }
.sb-item:hover { color: var(--white); }

/* Company card */
.sb-right { display: flex; flex-direction: column; gap: 1.5rem; }

.company-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.cc-fiber {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.cc-content { position: relative; z-index: 2; }
.cc-logo { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.cc-slogan { color: var(--muted); font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.cc-hr { height: 1px; background: var(--border); margin-bottom: 1.25rem; }
.cc-tags { display: flex; gap: .75rem; flex-wrap: wrap; }
.cc-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(232,120,10,.1); border: 1px solid rgba(232,120,10,.2);
  color: var(--orange); font-family: var(--head); font-size: .72rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 99px;
}

/* Pilares mini */
.pilares-mini {
  display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem;
}
.pm-item {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem .75rem;
  transition: all var(--dur);
}
.pm-item:hover { border-color: rgba(232,120,10,.25); background: var(--surface2); transform: translateY(-3px); }
.pm-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: #fff;
  box-shadow: 0 3px 12px rgba(232,120,10,.38);
}
.pm-item span { font-family: var(--head); font-size: .7rem; font-weight: 700; text-align: center; color: var(--muted); }

/* ═══════════════════ CTA FULL ═══════════════════ */
.cta-full {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #070c1c 0%, #0d1730 50%, #07101f 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 7rem 0; text-align: center;
}
.cta-orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,120,10,.06) 0%, transparent 65%);
  pointer-events: none; filter: blur(40px);
}
.cta-fiber-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.cta-box { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-eyebrow {
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  letter-spacing: .22em; color: var(--orange); margin-bottom: 1.1rem; display: block;
}
.cta-box h2 {
  font-family: var(--head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; margin-bottom: 1rem; line-height: 1.1;
}
.cta-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.8rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════ CONTATO ═══════════════════ */
.contato { padding: 7rem 0; background: var(--ink); }

.ct-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }

.ct-left { display: flex; flex-direction: column; gap: 0; }
.ct-info { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.1rem; }

.ct-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  transition: all var(--dur); position: relative;
}
.ct-card:hover { border-color: rgba(232,120,10,.22); background: var(--surface2); transform: translateX(4px); }
.ct-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
  box-shadow: 0 3px 14px rgba(232,120,10,.38);
}
.ct-lbl { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ct-val { display: block; font-family: var(--head); font-size: .9rem; font-weight: 700; margin-top: .1rem; }
.ct-ext { margin-left: auto; color: var(--muted2); font-size: .75rem; opacity: 0; transition: opacity var(--dur); }
.ct-card:hover .ct-ext { opacity: 1; }

.diretor-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(232,120,10,.08); border: 1px solid rgba(232,120,10,.18);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
}
.dir-ava {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; box-shadow: 0 3px 14px rgba(232,120,10,.38);
  overflow: hidden;
}
.dir-ava-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%; display: block;
}
.dir-info strong { display: block; font-family: var(--head); font-size: .92rem; font-weight: 700; }
.dir-info span   { font-size: .75rem; color: var(--muted); }
.dir-logo-wrap { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }

.btn-wpp-full {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #22c55e; color: #fff;
  font-family: var(--head); font-weight: 700; font-size: .92rem;
  padding: .9rem; border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
  transition: transform var(--dur), box-shadow var(--dur);
}
.btn-wpp-full:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,197,94,.45); }

/* Form */
.ct-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.fg { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.fg:last-child { margin-bottom: 0; }
.fg label {
  font-family: var(--head); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--white);
  font-family: var(--body); font-size: .9rem;
  padding: .82rem 1rem; outline: none; transition: all var(--dur); width: 100%;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(122,143,172,.4); }
.fg select option { background: var(--ink2); color: var(--white); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--orange);
  background: rgba(232,120,10,.06);
  box-shadow: 0 0 0 3px rgba(232,120,10,.14);
}
.fg textarea { resize: vertical; min-height: 105px; }
.form-success, .form-error {
  margin-top: 1rem; padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: .6rem;
}
.form-success { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.35); color: #10b981; }
.form-error   { background: rgba(239,68,68,.10);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }
.input-err { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239,68,68,.2) !important; }
.form-note {
  text-align: center; font-size: .73rem; color: var(--muted2);
  margin-top: .9rem;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 0;
}
.ft-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.ft-brand p { color: var(--muted); font-size: .87rem; line-height: 1.75; }

.ft-col { display: flex; flex-direction: column; gap: .6rem; }
.ft-col h5 {
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em; color: var(--white);
  margin-bottom: .5rem;
}
.ft-col a, .ft-col span {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--muted); transition: all var(--dur);
}
.ft-col a:hover { color: var(--orange); padding-left: .3rem; }
.ft-col i { color: var(--orange); width: 13px; flex-shrink: 0; }

.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0;
}
.ft-bottom p { font-size: .8rem; color: rgba(122,143,172,.4); }

/* ═══════════════════ WHATSAPP FLOAT ═══════════════════ */
.wa-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; background: #22c55e; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff;
  box-shadow: 0 6px 26px rgba(34,197,94,.45);
  transition: transform var(--dur), box-shadow var(--dur);
  animation: waPulse 3.5s ease-in-out infinite;
}
.wa-btn:hover { transform: scale(1.12); box-shadow: 0 10px 34px rgba(34,197,94,.6); }
@keyframes waPulse {
  0%,100%{ box-shadow:0 6px 26px rgba(34,197,94,.45); }
  50%    { box-shadow:0 6px 36px rgba(34,197,94,.65), 0 0 0 12px rgba(34,197,94,.07); }
}

/* ═══════════════════ ANIMATE IN ═══════════════════ */
[data-anim] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-anim].in { opacity: 1; transform: none; }

/* ═══════════════════ LOGO SVG INLINE ═══════════════════ */
/* Navbar logo: PNG version (client brand) */
.logo-png {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 10px;
  transition: filter var(--dur), opacity var(--dur);
  filter: drop-shadow(0 2px 12px rgba(232,120,10,.25));
}
.logo:hover .logo-png { filter: drop-shadow(0 4px 20px rgba(232,120,10,.5)); }

.logo-svg-inline {
  height: 70px;
  width: auto;
  display: block;
  flex-shrink: 0;
  overflow: visible;
  filter: drop-shadow(0 2px 12px rgba(232,120,10,.25));
  transition: filter var(--dur), opacity var(--dur);
}
.logo:hover .logo-svg-inline { filter: drop-shadow(0 4px 20px rgba(232,120,10,.45)); }

/* Legacy img fallback (used in company-card, footer, etc.) */
.logo-img {
  height: 38px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(232,120,10,.2));
}

/* ═══════════════════ BTN-FULL ═══════════════════ */
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); margin-top: .5rem; }

/* ═══════════════════ TIMELINE (SOBRE) ═══════════════════ */
.sb-timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative; padding-left: 2rem;
}
.sb-timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(232,120,10,.15));
  border-radius: 2px;
}

.tl-item {
  position: relative; padding: 0 0 2.2rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute; left: -2rem; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--orange), 0 0 16px rgba(232,120,10,.35);
  flex-shrink: 0;
  transition: box-shadow var(--dur);
}
.tl-item:hover .tl-dot { box-shadow: 0 0 0 3px var(--orange), 0 0 24px rgba(232,120,10,.55); }

.tl-content { flex: 1; }
.tl-year {
  display: inline-block;
  font-family: var(--head); font-size: .65rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.1);
  border: 1px solid rgba(232,120,10,.22); border-radius: 99px;
  padding: .18rem .7rem; margin-bottom: .5rem;
}
.tl-content h4 {
  font-family: var(--head); font-size: .97rem; font-weight: 800;
  margin-bottom: .45rem; color: var(--white);
}
.tl-content p {
  font-size: .855rem; color: var(--muted); line-height: 1.65;
}
.tl-content strong { color: var(--white); }

/* ═══════════════════ PROPÓSITO CARD ═══════════════════ */
.proposito-card {
  background: linear-gradient(135deg, rgba(232,120,10,.1), rgba(232,120,10,.02));
  border: 1px solid rgba(232,120,10,.22); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
}
.proposito-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,120,10,.5), transparent);
}
.prop-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.1);
  border: 1px solid rgba(232,120,10,.25); border-radius: 99px;
  padding: .35rem .9rem; margin-bottom: 1.4rem;
}
.prop-pillars {
  display: flex; align-items: stretch; gap: 1.25rem;
}
.prop-pillar { flex: 1; display: flex; flex-direction: column; gap: .55rem; }
.prop-pillar-sep {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232,120,10,.3), transparent);
}
.pp-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; margin-bottom: .35rem;
  box-shadow: 0 6px 22px rgba(232,120,10,.4);
}
.prop-pillar h4 {
  font-family: var(--head); font-size: 1.15rem; font-weight: 900;
  color: var(--white); line-height: 1.2;
}
.prop-pillar p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ═══════════════════ FEATURED CARDS (SOLUÇÕES) ═══════════════════ */
.featured-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 3.5rem;
}

.featured-card {
  background: linear-gradient(145deg, rgba(232,120,10,.09), rgba(8,13,24,.7));
  border: 1px solid rgba(232,120,10,.25);
  border-radius: var(--radius-xl); padding: 2.5rem 2.25rem;
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.featured-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.featured-card::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,120,10,.07) 0%, transparent 65%);
  pointer-events: none;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,.4), 0 0 0 1px rgba(232,120,10,.22);
  border-color: rgba(232,120,10,.4);
}

.feat-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--head); font-size: .65rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.12);
  border: 1px solid rgba(232,120,10,.25); border-radius: 99px;
  padding: .28rem .85rem; margin-bottom: 1.4rem;
}

.feat-ico {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 1.25rem;
  box-shadow: 0 6px 24px rgba(232,120,10,.45);
}

.featured-card h3 {
  font-family: var(--head); font-size: 1.2rem; font-weight: 900;
  margin-bottom: .75rem; line-height: 1.25;
}
.featured-card p {
  font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem;
}

.feat-list {
  list-style: none; display: flex; flex-direction: column; gap: .55rem;
  margin-bottom: 2rem;
}
.feat-list li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .86rem; color: var(--muted); transition: color var(--dur);
}
.feat-list li i { color: var(--orange); font-size: .75rem; flex-shrink: 0; }
.feat-list li:hover { color: var(--white); }

/* ═══════════════════ CASES ═══════════════════ */
.cases {
  padding: 7rem 0; position: relative; overflow: hidden;
  background: var(--ink2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   MAPA INTERATIVO DO BRASIL
═══════════════════════════════════════════ */
.brasil-map-wrap {
  background: linear-gradient(160deg, rgba(232,120,10,.04) 0%, rgba(0,102,255,.04) 50%, rgba(0,0,0,.2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
  position: relative; overflow: hidden;
}
.brasil-map-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue2), transparent);
}

.bm-header {
  text-align: center; margin-bottom: 2.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.bm-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.1);
  border: 1px solid rgba(232,120,10,.25); border-radius: 99px;
  padding: .35rem .9rem; margin-bottom: 1rem;
}
.bm-header h3 {
  font-family: var(--head); font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900; line-height: 1.15; margin-bottom: .8rem;
}
.bm-header p {
  font-size: .92rem; color: var(--muted); line-height: 1.7;
}

.bm-canvas {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 2rem; align-items: center;
}

.bm-svg {
  width: 100%; height: auto; max-height: 540px; display: block;
}

/* ───────────  Google Maps iframe + overlay  ─────────── */
.bm-map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #020810;
  box-shadow: 0 14px 36px rgba(0,0,0,.4), inset 0 0 0 1px rgba(232,120,10,.08);
}
/* Illustrated frame — SVG fills naturally, no fixed aspect-ratio needed */
.bm-illus-frame {
  aspect-ratio: unset;
  max-height: unset;
}
.bm-illus-svg {
  width: 100%; height: auto; display: block;
}
.bm-map-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.15) 0%, transparent 25%, transparent 75%, rgba(5,8,15,.4) 100%);
  pointer-events: none;
}
.bm-iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: brightness(.85) saturate(.6) hue-rotate(180deg) invert(.92);
  /* dark mode look — flips white→dark */
  pointer-events: none; /* lock map, markers handle interaction */
}
.bm-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
}
.bm-marker {
  position: absolute;
  width: 24px; height: 24px;
  background: transparent; border: none; cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  z-index: 2;
}
.bmm-pulse {
  position: absolute;
  width: 100%; height: 100%;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: bmPulse 2.4s ease-out infinite;
}
.bmm-dot {
  position: relative;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--orange3), var(--orange));
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(232,120,10,.85), 0 4px 12px rgba(0,0,0,.5);
  z-index: 1;
  transition: transform var(--dur), box-shadow var(--dur);
}
.bm-marker:hover .bmm-dot,
.bm-marker:focus .bmm-dot {
  transform: scale(1.25);
  box-shadow: 0 0 22px rgba(232,120,10,1), 0 4px 16px rgba(0,0,0,.6);
}
.bmm-label {
  position: absolute;
  top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--head); font-weight: 900; font-size: 10px;
  color: #fff; letter-spacing: .08em;
  background: rgba(5,8,15,.92);
  border: 1px solid rgba(232,120,10,.4);
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}

/* Link "Abrir no Google Maps" */
.bm-open-link {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--head); font-size: .72rem; font-weight: 700;
  color: #fff; letter-spacing: .04em;
  background: rgba(5,8,15,.85);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 99px;
  padding: .5rem .9rem;
  z-index: 3; pointer-events: auto;
  transition: all var(--dur);
  backdrop-filter: blur(6px);
}
.bm-open-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,120,10,.5);
}
.bm-open-link i { font-size: .68rem; }

/* Brazil silhouette */
.bm-silhouette {
  fill: rgba(255,255,255,0.025);
  stroke: rgba(0,170,255,0.18);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: bmSilhouettePulse 6s ease-in-out infinite;
}
@keyframes bmSilhouettePulse {
  0%,100% { stroke-opacity: .15; }
  50%     { stroke-opacity: .35; }
}

/* Inactive state dots */
.bm-dot-inactive {
  fill: rgba(255,255,255,0.18);
  transition: fill var(--dur), r var(--dur);
}
.bm-dot-inactive:hover { fill: rgba(255,255,255,0.4); }

/* Connection lines */
.bm-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  opacity: 0.4;
  animation: bmLineFlow 3s linear infinite;
}
@keyframes bmLineFlow {
  to { stroke-dashoffset: -100; }
}

/* Active state markers */
.bm-state {
  cursor: pointer;
  transition: fill var(--dur), opacity var(--dur);
}
.bm-state.active:hover { fill: rgba(232,120,10,.45); opacity: 1; }
#st-MT.bm-state.active:hover { fill: rgba(0,130,255,.38); }
.bm-state:hover .bm-dot { fill: #fff; }

/* ─── Map state pills header ─── */
.bm-states-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .65rem;
  margin-top: .6rem;
}
.bm-state-pill {
  background: rgba(232,120,10,.1);
  color: var(--orange);
  border: 1px solid rgba(232,120,10,.28);
  border-radius: 99px;
  padding: .28rem .85rem;
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.bm-state-sep {
  color: var(--muted);
  font-size: .9rem;
  opacity: .6;
}
.bm-states-sub {
  margin-top: .55rem;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
  opacity: .85;
}

.bm-pulse {
  fill: var(--orange);
  opacity: 0;
  transform-origin: center;
  animation: bmPulse 2.4s ease-out infinite;
}
@keyframes bmPulse {
  0%   { transform: scale(.4); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.bm-glow {
  fill: url(#bmActive);
  opacity: 0.5;
}

.bm-dot {
  fill: url(#bmActive);
  stroke: rgba(255,255,255,.9);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(232,120,10,.7));
  transition: fill var(--dur);
}

.bm-core {
  fill: #fff;
  pointer-events: none;
}

.bm-label {
  font-family: var(--head); font-weight: 900;
  font-size: 13px; fill: #fff;
  text-anchor: middle;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  letter-spacing: .04em;
}

/* Info Panel */
.bm-info {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  min-height: 360px;
  position: relative;
}

.bm-info-default { display: block; }
.bm-info-state   { display: none; }
.bm-info.show-SP .bm-info-default,
.bm-info.show-RJ .bm-info-default,
.bm-info.show-BA .bm-info-default,
.bm-info.show-MT .bm-info-default { display: none; }
.bm-info.show-SP .bm-info-state[data-state="SP"],
.bm-info.show-RJ .bm-info-state[data-state="RJ"],
.bm-info.show-BA .bm-info-state[data-state="BA"],
.bm-info.show-MT .bm-info-state[data-state="MT"] {
  display: block;
  animation: bmInfoIn .4s ease-out;
}
@keyframes bmInfoIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Default stats grid */
.bm-info-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.25rem;
}
.bms {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1rem .9rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.bms strong {
  font-family: var(--head); font-size: 1.5rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.bms strong sup { font-size: .5em; color: var(--orange); }
.bms span {
  font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.bm-its-bar {
  margin: 1rem 0 .75rem;
  padding: .9rem 1rem;
  background: rgba(232,120,10,.06);
  border: 1px solid rgba(232,120,10,.2);
  border-radius: var(--radius-sm);
}
.bm-its-label {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--head); font-size: .75rem; font-weight: 800;
  color: var(--orange); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .55rem;
}
.bm-its-tags {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem;
}
.bm-its-tags span {
  display: flex; align-items: center; gap: .3rem;
  font-size: .7rem; color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: .2rem .55rem; border-radius: 99px;
}
.bm-its-tags span i { color: var(--orange); font-size: .65rem; }
.bm-its-desc {
  font-size: .72rem; color: var(--muted); font-style: italic; margin: 0;
}
.bm-info-hint {
  display: flex; align-items: center; gap: .55rem;
  font-size: .8rem; color: var(--muted); font-style: italic;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px dashed var(--border);
}
.bm-info-hint i { color: var(--orange); }

/* Selected state info */
.bms-tag {
  display: inline-block;
  font-family: var(--head); font-size: .7rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.13);
  border: 1px solid rgba(232,120,10,.3); border-radius: 99px;
  padding: .3rem .85rem; margin-bottom: .9rem;
}
.bm-info-state h4 {
  font-family: var(--head); font-size: 1.3rem; font-weight: 900;
  color: var(--white); margin-bottom: .65rem; line-height: 1.2;
}
.bm-info-state > p {
  font-size: .88rem; color: var(--muted); line-height: 1.65;
  margin-bottom: 1.1rem;
}
.bms-numbers {
  display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.1rem;
}
.bms-numbers span {
  display: flex; align-items: baseline; gap: .35rem;
  background: rgba(0,102,255,.08); border: 1px solid rgba(0,102,255,.18);
  border-radius: var(--radius-sm); padding: .55rem .85rem;
  font-size: .8rem; color: var(--muted);
}
.bms-numbers strong {
  font-family: var(--head); font-weight: 900; font-size: 1.05rem;
  color: var(--white);
}
.bms-numbers strong sup { font-size: .55em; color: var(--orange); }
.bms-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.bms-tags span {
  font-family: var(--head); font-size: .72rem; font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 6px; padding: .35rem .65rem;
  letter-spacing: .04em;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .brasil-map-wrap { padding: 2rem 1.5rem; }
  .bm-canvas       { grid-template-columns: 1fr; gap: 1.5rem; }
  .bm-info         { min-height: auto; }
  .bm-info-stats   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .brasil-map-wrap { padding: 1.5rem 1rem; }
  .bm-info         { padding: 1.25rem 1rem; }
  .bms             { padding: .75rem .6rem; }
  .bms strong      { font-size: 1.2rem; }
}

/* ─── Cases Stats Bar (2000km destaque) ─── */
.cases-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: linear-gradient(135deg, rgba(232,120,10,.06), rgba(0,102,255,.04));
  border: 1px solid rgba(232,120,10,.18); border-radius: var(--radius-xl);
  padding: 2rem 2.25rem; margin-bottom: 3.5rem;
  position: relative; overflow: hidden;
}
.cases-stats::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue), transparent);
}
.cs-item { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.cs-num {
  font-family: var(--head); font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900; color: var(--white); line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--orange3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cs-num sup { font-size: .55em; color: var(--orange); -webkit-text-fill-color: var(--orange); }
.cs-lbl { font-size: .73rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ─── Case Major (3CORP) ─── */
.case-major {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(232,120,10,.2);
  border-radius: var(--radius-xl); padding: 2.5rem;
  margin-bottom: 3rem; position: relative; overflow: hidden;
}
.case-major::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.case-major::after {
  content: ''; position: absolute; bottom: -100px; right: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,120,10,.08), transparent 65%);
  pointer-events: none;
}
.cmj-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-size: .68rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.13);
  border: 1px solid rgba(232,120,10,.3); border-radius: 99px;
  padding: .35rem .9rem; margin-bottom: 1.1rem;
}
.case-major h3 {
  font-family: var(--head); font-size: 1.7rem; font-weight: 900;
  color: var(--white); margin-bottom: .55rem; letter-spacing: .01em;
}
.cmj-tagline { font-size: .92rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.75rem; }

.cmj-numbers { display: flex; flex-direction: column; gap: 1.25rem; }
.cmj-num-big {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1.1rem 1.4rem;
  background: rgba(232,120,10,.06); border: 1px solid rgba(232,120,10,.18);
  border-radius: var(--radius);
}
.cnb-val {
  font-family: var(--head); font-size: 2.4rem; font-weight: 900;
  color: var(--orange2); line-height: 1;
}
.cnb-val sup { font-size: .45em; color: var(--orange); }
.cnb-lbl { font-size: .82rem; color: var(--muted); }

.cmj-mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.cmj-mini {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .85rem .5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.cmj-mini i { font-size: 1rem; color: var(--blue2); margin-bottom: .15rem; }
.cmj-mini strong { font-family: var(--head); font-size: .92rem; font-weight: 800; color: var(--white); }
.cmj-mini small { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.cmj-right { display: flex; flex-direction: column; gap: 1.25rem; }
.cmj-roads-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.cmj-roads-label i { color: var(--orange); }
.road-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.road-tag {
  font-family: var(--head); font-size: .8rem; font-weight: 700;
  color: var(--white);
  background: rgba(0,102,255,.1); border: 1px solid rgba(0,102,255,.22);
  border-radius: 8px; padding: .45rem .85rem;
  letter-spacing: .04em; transition: all var(--dur);
  cursor: pointer; user-select: none;
}
.road-tag:hover {
  background: rgba(0,102,255,.18); border-color: rgba(0,102,255,.4);
  transform: translateY(-2px);
}
.road-tag.active {
  background: rgba(232,120,10,.18);
  border-color: var(--orange);
  color: var(--orange3);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(232,120,10,.25);
}
.cmj-map-road-label {
  position: absolute; top: 10px; left: 12px;
  background: rgba(5,8,15,.85); backdrop-filter: blur(6px);
  border: 1px solid rgba(232,120,10,.35);
  border-radius: 99px; padding: .3rem .75rem;
  font-family: var(--head); font-size: .68rem; font-weight: 700;
  color: var(--orange3); letter-spacing: .05em;
  z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.cmj-map-road-label.visible { opacity: 1; }

.cmj-coverage {
  display: flex; align-items: center; gap: .85rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1.1rem;
}
.cmj-coverage > i { font-size: 1.3rem; color: var(--orange); }
.cmj-coverage strong { display: block; font-family: var(--head); font-size: .9rem; color: var(--white); }
.cmj-coverage small { display: block; font-size: .73rem; color: var(--muted); margin-top: .1rem; }

/* Mini Brazil map under case */
.cmj-mini-map {
  position: relative; margin-top: auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
}
.cmj-iframe {
  width: 100%; height: 100%; border: 0;
  filter: brightness(.85) saturate(.6) hue-rotate(180deg) invert(.92);
  pointer-events: none;
}
.cmj-mini-overlay {
  position: absolute; top: 50%; left: 50%;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cmj-mini-pulse {
  position: absolute; inset: 0;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: bmPulse 2.4s ease-out infinite;
}
.cmj-mini-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: linear-gradient(135deg, var(--orange3), var(--orange));
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(232,120,10,.85);
}
.cmj-mini-link {
  position: absolute; bottom: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--head); font-size: .65rem; font-weight: 700;
  color: #fff; letter-spacing: .05em;
  background: rgba(5,8,15,.9);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 99px;
  padding: .35rem .7rem;
  z-index: 3; pointer-events: auto;
  transition: all var(--dur);
  backdrop-filter: blur(6px);
}
.cmj-mini-link:hover {
  background: var(--orange); border-color: var(--orange);
  transform: translateY(-2px);
}

/* ─── Tech Ecosystem Illustration ─── */
.tech-ecosystem {
  margin: 3rem 0 2.5rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.tech-ecosystem::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,100,255,.06) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 50%, rgba(232,120,10,.04) 0%, transparent 60%);
  pointer-events: none;
}
.te-header {
  text-align: center; margin-bottom: 2rem;
}
.te-header h3 {
  font-family: var(--head); font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin: .5rem 0 .4rem;
}
.te-header p {
  color: var(--muted); font-size: .9rem;
}
/* Hub diagram */
.te-hub-wrap {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 2rem;
}
.te-hub-svg {
  width: 100%; height: auto; display: block;
}

/* ─── Mobile Hub (SVG circular idêntico ao desktop) ─── */
.te-hub-mobile {
  display: none; /* só aparece no mobile via media query */
  width: 100%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 2rem;
}
.te-hub-svg-m {
  width: 100%; height: auto; display: block;
}

/* Interactive tech cards */
.te-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.te-card {
  background: rgba(10,18,32,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  display: flex; flex-direction: column; gap: .7rem;
  cursor: default;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.te-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: opacity .25s ease;
}
.te-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

/* Card color accents */
.te-fibra::before  { background: linear-gradient(90deg, #e8780a, #f5920f); }
.te-fibra:hover    { border-color: rgba(232,120,10,.5); box-shadow: 0 16px 40px rgba(232,120,10,.15); }
.te-fibra .te-icon { color: #e8780a; }
.te-fibra .te-stat { color: #e8780a; }

.te-cftv::before   { background: linear-gradient(90deg, #0099ff, #22aaff); }
.te-cftv:hover     { border-color: rgba(0,153,255,.45); box-shadow: 0 16px 40px rgba(0,153,255,.12); }
.te-cftv .te-icon  { color: #4db8ff; }
.te-cftv .te-stat  { color: #4db8ff; }

.te-its::before    { background: linear-gradient(90deg, #00ccff, #00aadd); }
.te-its:hover      { border-color: rgba(0,204,255,.45); box-shadow: 0 16px 40px rgba(0,204,255,.12); }
.te-its .te-icon   { color: #00ccff; }
.te-its .te-stat   { color: #00ccff; }

.te-wifi::before   { background: linear-gradient(90deg, #00e688, #00c870); }
.te-wifi:hover     { border-color: rgba(0,230,136,.45); box-shadow: 0 16px 40px rgba(0,230,136,.12); }
.te-wifi .te-icon  { color: #00e688; }
.te-wifi .te-stat  { color: #00e688; }

.te-cloud::before  { background: linear-gradient(90deg, #4db8ff, #80ccff); }
.te-cloud:hover    { border-color: rgba(77,184,255,.45); box-shadow: 0 16px 40px rgba(77,184,255,.12); }
.te-cloud .te-icon { color: #80ccff; }
.te-cloud .te-stat { color: #80ccff; }

/* Card inner elements */
.te-icon {
  font-size: 1.6rem; line-height: 1;
  transition: transform .25s ease;
}
.te-card:hover .te-icon { transform: scale(1.15); }
.te-card h4 {
  font-family: var(--head); font-size: .85rem; font-weight: 800;
  color: var(--white); line-height: 1.3; margin: 0;
}
.te-stat {
  font-family: var(--head); font-size: 1.4rem; font-weight: 900;
  line-height: 1;
}
.te-stat sup { font-size: .55em; font-weight: 700; opacity: .85; }
.te-card p {
  font-size: .78rem; color: var(--muted); line-height: 1.65;
  flex: 1;
}
.te-tags {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem;
}
.te-tags span {
  font-family: var(--head); font-size: .62rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px; color: var(--muted);
}

/* ─── Outros Cases Grid ─── */
.cases-subtitle {
  font-family: var(--head); font-size: 1rem; font-weight: 700;
  color: var(--muted); margin-bottom: 1.4rem;
  text-transform: uppercase; letter-spacing: .15em;
}
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin-bottom: 4rem;
}
.case-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all var(--dur); position: relative; overflow: hidden;
}
.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  opacity: 0; transition: opacity var(--dur);
}
.case-card:hover {
  border-color: rgba(232,120,10,.22); background: var(--surface2);
  transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.28);
}
.case-card:hover::before { opacity: 1; }

.cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.case-card h4 {
  font-family: var(--head); font-size: 1.05rem; font-weight: 900;
  color: var(--white); line-height: 1.2;
}
.cc-tag {
  font-family: var(--head); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue2); background: rgba(0,102,255,.1);
  border: 1px solid rgba(0,102,255,.18); border-radius: 6px;
  padding: .25rem .55rem; flex-shrink: 0; white-space: nowrap;
}
.case-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; flex: 1; }
.cc-stat {
  display: flex; align-items: baseline; gap: .55rem;
  padding-top: .9rem; border-top: 1px solid var(--border);
}
.cs-val {
  font-family: var(--head); font-size: 1.5rem; font-weight: 900; color: var(--orange2); line-height: 1;
}
.cs-val sup { font-size: .5em; color: var(--orange); }
.cc-stat small { font-size: .8rem; color: var(--muted); }

/* ─── Clients (Branded Logos) ─── */
.clients-section {
  margin-top: 2rem;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
}
.clients-subtitle { text-align: center; margin-bottom: 1.6rem; }
.brand-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem;
}
.brand-card {
  height: 76px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .75rem;
  transition: all var(--dur); cursor: default;
  position: relative; overflow: hidden;
}
.brand-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bc-color, transparent) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--dur); pointer-events: none;
}
.brand-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--bc-border, rgba(232,120,10,.3));
  box-shadow: 0 14px 30px rgba(0,0,0,.3), 0 0 0 1px var(--bc-border, rgba(232,120,10,.2));
}
.brand-card:hover::after { opacity: .15; }
.bc-logo {
  font-family: var(--head); font-weight: 900;
  font-size: 1.25rem; line-height: 1.1; text-align: center;
  color: var(--bc-color, var(--white)); letter-spacing: .03em;
  transition: color var(--dur), transform var(--dur);
  padding: 0 .5rem;
  width: 100%;
}
.bc-logo em {
  display: block; font-style: normal; font-weight: 700;
  font-size: .72em; opacity: .85; letter-spacing: .18em;
  margin-top: .15rem;
}
.brand-card:hover .bc-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--bc-color, #fff) 60%, transparent));
}

/* Dark-blue cards (azul escuro da marca) */
.brand-card.bc-white {
  background: #0a1628;
  border-color: rgba(255,255,255,.1);
}
.brand-card.bc-white:hover {
  border-color: rgba(232,120,10,.4);
  background: #0d1e38;
}
.bc-svg-img {
  max-width: 88%; max-height: 72%;
  width: 88%; height: 72%;
  object-fit: contain;
  transition: transform var(--dur), filter var(--dur);
}
/* Larger variant for square/compact logos (ex: Eixo SP) */
.bc-svg-img-lg {
  max-width: 80%; max-height: 88%;
  width: auto; height: 88%;
  object-fit: contain;
}
/* Extra-large variant — logos que precisam de mais espaço */
.bc-svg-img-xl {
  max-width: 96%; max-height: 90%;
  width: 96%; height: 90%;
  object-fit: contain;
}
/* Fênix: logo quadrada — escala para preencher o card como as demais */
.brand-fenix .bc-svg-img {
  height: 140% !important;
  max-height: 140% !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}
.brand-card.bc-white:hover .bc-svg-img {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.15));
}
/* Logo branca em card escuro (ex: Rota do Oeste) */
.bc-img-dark {
  max-width: 82%; max-height: 58%;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(1) drop-shadow(0 1px 4px rgba(0,0,0,.4));
  transition: transform var(--dur), filter var(--dur);
}
.brand-card:hover .bc-img-dark {
  transform: scale(1.06);
  filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,.5));
}

/* Brand-specific colors */
.brand-acciona    { --bc-color: #e30613; --bc-border: rgba(227,6,19,.4); }
.brand-3corp      { --bc-color: #4a9eff; --bc-border: rgba(74,158,255,.4); }
.brand-telvivo    { --bc-color: #660099; --bc-border: rgba(102,0,153,.5); }
.brand-arteris    { --bc-color: #d92027; --bc-border: rgba(217,32,39,.4); }
.brand-casasbahia { --bc-color: #ee2722; --bc-border: rgba(238,39,34,.4); }
.brand-rotaoeste  { --bc-color: #22c55e; --bc-border: rgba(34,197,94,.4); }
.brand-bahianorte { --bc-color: #f59e0b; --bc-border: rgba(245,158,11,.4); }
.brand-eixosp     { --bc-color: #38bdf8; --bc-border: rgba(56,189,248,.4); }
.brand-fibrateg   { --bc-color: #00b894; --bc-border: rgba(0,184,148,.4); }
.brand-staangela  { --bc-color: #94a3b8; --bc-border: rgba(148,163,184,.4); }
.brand-faoliva    { --bc-color: #c41533; --bc-border: rgba(196,21,51,.4); }
.brand-fenix      { --bc-color: #1a9a8a; --bc-border: rgba(26,154,138,.4); }
.brand-geneses    { --bc-color: #8ab700; --bc-border: rgba(138,183,0,.4); }
.brand-saogoncalo { --bc-color: #34d399; --bc-border: rgba(52,211,153,.4); }

/* ═══════════════════ HERO MOBILE CARD ═══════════════════ */
.hero-mobile-card {
  display: none; /* shown only on mobile via media query */
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 1.25rem 1.5rem 1.4rem;
  margin-bottom: 2rem;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-mobile-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,100,255,.5), rgba(232,120,10,.4), transparent);
}
.hmc-header {
  display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem;
}
.hmc-stats {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.04); border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.hmc-stat {
  display: flex; flex-direction: column; align-items: center; gap: .15rem; flex: 1;
}
.hmc-val {
  font-family: var(--head); font-size: 1.3rem; font-weight: 900; color: var(--white); line-height: 1;
}
.hmc-val sup { font-size: .65rem; color: var(--orange); }
.hmc-lbl { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hmc-div { width: 1px; height: 36px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* ═══════════════════ ORB-PQ2 ═══════════════════ */
.orb-pq2 { width:600px; height:600px; top:-100px; right:-150px; background:radial-gradient(circle,rgba(232,120,10,.055) 0%,transparent 70%); animation:orbDrift2 22s ease-in-out infinite; }

/* ═══════════════════ FUNDADOR / LIVRO ═══════════════════ */
.fundador {
  padding: 6rem 0; position: relative; overflow: hidden;
  background: var(--ink2);
  border-top: 1px solid var(--border);
}
.fundador::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,120,10,.3), transparent);
}

.fn-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

/* Bio card */
.fn-bio-card {
  display: flex; flex-direction: column; gap: .55rem;
}
.fn-bio-card .fn-avatar {
  margin-bottom: .2rem;
}
.fn-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
  box-shadow: 0 6px 28px rgba(232,120,10,.4);
  flex-shrink: 0; overflow: hidden;
  border: 3px solid rgba(232,120,10,.4);
}
.fn-avatar-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 50%; display: block;
}
.fn-role-badge {
  display: inline-block;
  font-family: var(--head); font-size: .65rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.1);
  border: 1px solid rgba(232,120,10,.22); border-radius: 99px;
  padding: .28rem .85rem;
  margin-bottom: .3rem;
}
.fn-bio-content {
  display: flex; flex-direction: column; gap: .6rem;
}
.fn-bio-content h3 {
  font-family: var(--head); font-size: 1.6rem; font-weight: 900;
  line-height: 1.1; color: var(--white);
}
.fn-bio-content p {
  font-size: .93rem; color: var(--muted); line-height: 1.8;
}
.fn-tags {
  display: flex; flex-direction: column; gap: .55rem; margin-top: .3rem;
}
.fn-tags span {
  display: flex; align-items: center; gap: .65rem;
  font-size: .88rem; color: var(--muted); transition: color var(--dur);
}
.fn-tags span i { color: var(--orange); width: 16px; flex-shrink: 0; }
.fn-tags span:hover { color: var(--white); }

/* Book wrap */
.fn-book-wrap {
  display: flex; justify-content: center;
}
.fn-book-card {
  display: flex; gap: 1.75rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem 1.75rem;
  box-shadow: 0 8px 36px rgba(0,0,0,.3);
  transition: transform var(--dur), box-shadow var(--dur);
  max-width: 480px;
}
.fn-book-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.38);
}

/* Real book cover image */
.book-cover-wrap {
  flex-shrink: 0;
  width: 160px;
  position: relative;
  perspective: 1000px;
}
.book-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px 8px 8px 4px;
  display: block;
  box-shadow:
    8px 8px 24px rgba(0,0,0,.55),
    -2px 0 0 rgba(0,0,0,.3),
    inset -3px 0 8px rgba(0,0,0,.15);
  transition: transform .4s ease, box-shadow .4s ease;
}
.book-cover-wrap:hover .book-cover-img {
  transform: rotateY(-6deg) translateY(-4px);
  box-shadow:
    12px 14px 36px rgba(0,0,0,.65),
    -2px 0 0 rgba(0,0,0,.3),
    inset -3px 0 8px rgba(0,0,0,.15);
}

/* CSS book cover (fallback only when img fails) */
.book-cover-css {
  display: none; /* hidden until img fails */
  flex-shrink: 0;
  width: 160px; height: 230px;
  background: linear-gradient(165deg, #1f4970 0%, #0e2f53 35%, #0a2440 70%, #0a1d34 100%);
  border-radius: 4px 8px 8px 4px;
  padding: 1.5rem 1.1rem 1rem;
  position: relative; overflow: hidden;
  flex-direction: column;
  align-items: center; text-align: center;
  box-shadow: 8px 8px 24px rgba(0,0,0,.55), -2px 0 0 rgba(0,0,0,.3), inset -3px 0 8px rgba(0,0,0,.2);
}
.book-cover-css.show { display: flex; }
.book-cover-css::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to right, rgba(0,0,0,.5), rgba(0,0,0,.05));
  border-radius: 4px 0 0 4px;
}
.book-light-top {
  position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,120,.55) 0%, rgba(255,200,80,.2) 40%, transparent 70%);
  pointer-events: none;
}
.book-text-stack {
  position: relative; z-index: 1;
  margin-top: .6rem; margin-bottom: auto;
  display: flex; flex-direction: column; gap: .55rem;
}
.book-title-txt {
  display: block; font-family: var(--head); font-size: .92rem; font-weight: 900;
  color: #ebe2c8; letter-spacing: .03em; line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.book-sub-txt {
  display: block; font-family: var(--head); font-size: .55rem; font-weight: 600;
  color: rgba(220,225,240,.78); letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.45;
}
.book-hands-art {
  position: relative; z-index: 1;
  width: 100%; height: 50px;
  margin: .3rem 0 .4rem;
  opacity: .85;
}
.book-hands-art svg { width: 100%; height: 100%; }
.book-author-txt {
  display: block; width: 100%;
  font-family: var(--head); font-size: .68rem; font-weight: 700;
  color: rgba(225,230,245,.82); letter-spacing: .15em; text-transform: uppercase;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: .55rem;
  margin-top: .3rem;
}

/* Book details */
.book-details {
  display: flex; flex-direction: column; gap: .85rem; flex: 1;
}
.book-genre-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--head); font-size: .63rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); background: rgba(232,120,10,.1);
  border: 1px solid rgba(232,120,10,.2); border-radius: 99px;
  padding: .25rem .75rem;
}
.book-details p {
  font-size: .875rem; color: var(--muted); line-height: 1.75;
}
.btn-amazon {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #f5920f; color: #fff;
  font-family: var(--head); font-weight: 700; font-size: .82rem;
  padding: .7rem 1.4rem; border-radius: 99px; align-self: flex-start;
  box-shadow: 0 4px 18px rgba(232,120,10,.38);
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
}
.btn-amazon:hover {
  transform: translateY(-2px); box-shadow: 0 8px 26px rgba(232,120,10,.52);
  background: var(--orange2);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST OPTIMIZATIONS
═══════════════════════════════════════ */

/* Tablet landscape / small desktop */
@media (max-width: 1200px) {
  .hero-right  { max-width: 440px; }
}

/* Show hero cards only on large screens */
@media (min-width: 1101px) {
  .hero-right { display: block !important; }
}

/* Hide hero cards — prevent any overlap on tablets/mobile */
@media (max-width: 1100px) {
  .hero-right    { display: none !important; }
  .hero-left     { max-width: 100%; }
  .hero-body     { gap: 0; }
  .sol-grid      { grid-template-columns: repeat(2,1fr); }
  .sol-card-wide { grid-column: span 2; }
  .porq-grid     { grid-template-columns: repeat(2,1fr); }
  .ft-top        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .clients-grid  { grid-template-columns: repeat(2,1fr); }
  .fn-grid       { gap: 2.5rem; }
}
/* Show mobile hero card only on mobile */
@media (max-width: 900px) {
  .hero-mobile-card { display: block; }
  .hero-kpis        { display: none; } /* replaced by the card stats above */
}

/* Tablet portrait */
@media (max-width: 900px) {
  .hero-body     { flex-direction: column; padding-bottom: 16rem; }
  .hero-left     { text-align: center; }
  .hero-btns     { justify-content: center; }
  .hero-kpis     { justify-content: center; }
  .sobre-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .ct-grid       { grid-template-columns: 1fr; }
  .num-divider   { display: none; }
  .num-item      { border-right: none !important; }
  .case-major    { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.75rem; }
  .case-major h3 { font-size: 1.4rem; }
  .cases-stats   { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.6rem; }
  .cases-grid    { grid-template-columns: repeat(2, 1fr); }
  .brand-grid    { grid-template-columns: repeat(4, 1fr); }
  .featured-row  { grid-template-columns: 1fr; }
  .fn-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .te-cards      { grid-template-columns: repeat(3, 1fr); }
  .fn-book-wrap  { justify-content: flex-start; }
  .fn-book-card  { max-width: 100%; }

  /* Section padding reduction */
  .solucoes, .porq, .sobre, .cases, .contato, .fundador { padding: 5rem 0; }
  .numeros { padding: 3.5rem 0; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu, .nav-actions { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(5,8,15,.97); backdrop-filter: blur(30px);
    padding: 1rem 1.5rem 2rem; gap: .2rem;
    z-index: 990; border-bottom: 1px solid var(--border);
  }
  .nm-link { font-size: .95rem; padding: .75rem 1rem; width: 100%; }
  .burger  { display: flex; z-index: 1001; }

  /* Logo scaling on mobile */
  .logo-svg-inline { height: 52px; }
  /* Force hero-right gone on all mobile */
  .hero-right { display: none !important; }

  /* Hero */
  .hero-h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: .97rem; }
  .hero-pill { font-size: .72rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
  .hero-kpis { gap: 1.2rem; flex-wrap: wrap; }

  /* Grids */
  .sol-grid      { grid-template-columns: 1fr; }
  .sol-card-wide { grid-column: span 1; }
  .scw-cols      { grid-template-columns: 1fr; }
  .porq-grid     { grid-template-columns: 1fr 1fr; }
  .ft-top        { grid-template-columns: 1fr; }
  .ft-bottom     { flex-direction: column; gap: .5rem; text-align: center; }
  .form-2col     { grid-template-columns: 1fr; }
  .pilares-mini  { grid-template-columns: repeat(2,1fr); }
  .tb-items      { gap: .25rem; }
  .clients-grid  { grid-template-columns: 1fr 1fr; }

  /* Cases */
  .case-major    { padding: 1.75rem 1.25rem; }
  .case-major h3 { font-size: 1.25rem; }
  .cnb-val       { font-size: 1.9rem; }
  .cmj-mini-row  { grid-template-columns: 1fr 1fr 1fr; }
  .cases-grid    { grid-template-columns: 1fr; }
  .cases-stats   { grid-template-columns: 1fr 1fr; padding: 1.4rem; }
  .brand-grid    { grid-template-columns: repeat(3, 1fr); }
  .te-cards      { grid-template-columns: repeat(2, 1fr); }
  .te-hub-wrap   { display: none; }          /* esconde SVG */
  .te-hub-mobile { display: block; }         /* mostra mobile hub */
  .prop-pillars  { flex-direction: column; gap: 1.25rem; }
  .prop-pillar-sep { width: 100%; height: 1px; }

  /* Book section */
  .fn-book-card  { flex-direction: column; align-items: center; gap: 1.5rem; }
  .book-cover-css { width: 100%; max-width: 200px; min-height: 220px; }
  .book-cover-wrap { width: 180px; height: 260px; }

  /* Section fonts */
  .sec-title { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
  .cta-box h2 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); }

  /* Section padding */
  .solucoes, .porq, .sobre, .cases, .contato, .fundador { padding: 4rem 0; }
  .cta-full { padding: 5rem 0; }
}

/* Small mobile */
@media (max-width: 520px) {
  .te-cards      { grid-template-columns: repeat(2, 1fr); }
  .porq-grid    { grid-template-columns: 1fr; }
  .kpi-sep      { display: none; }
  .cta-btns     { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary, .cta-btns .btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
  .clients-grid { grid-template-columns: 1fr; }
  .sb-timeline  { padding-left: 1.5rem; }
  .brand-grid   { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .brand-card   { height: 78px; }
  .cases-stats  { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .container    { padding: 0 1rem; }
  .fn-bio-card  { gap: 1rem; }
  .fn-book-card { padding: 1.5rem 1.25rem; }
  .featured-card { padding: 1.75rem 1.4rem; }
  .case-destaque { padding: 1.75rem 1rem; }
  .cd-stats     { flex-direction: column; }

  /* Trust bar */
  .tb-wrap      { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .tb-items     { gap: .25rem; }
  .tb-item      { font-size: .75rem; padding: .35rem .7rem; }
}

/* ─── São Gonçalo expanded case card ─── */
.case-card-sg {
  border-color: rgba(52,211,153,.25);
  background: linear-gradient(135deg, rgba(52,211,153,.05) 0%, transparent 100%);
  flex: 1; /* grows inside cases-featured-row */
}
.case-card-sg::before {
  background: linear-gradient(to bottom, #34d399, transparent);
}
.case-card-sg:hover { border-color: rgba(52,211,153,.45); }

/* ─── Featured row: stacked small cards + wide São Gonçalo ─── */
.cases-featured-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.1rem;
  align-items: stretch;
}
.cases-sm-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 0 0 calc(33.33% - 0.55rem);
  min-width: 0;
}

/* ─── Smaller secondary case cards ─── */
.case-card-sm {
  opacity: .85;
  padding: 1.1rem 1.1rem;
}
.case-card-sm h4 { font-size: .92rem; }
.case-card-sm p  { font-size: .78rem; }
.case-card-sm .cc-stat { padding-top: .65rem; }
.case-card-sm .cs-val  { font-size: 1.25rem; }

.sg-impact {
  font-size: .82rem !important;
  color: var(--muted);
  background: rgba(52,211,153,.06);
  border: 1px solid rgba(52,211,153,.18);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  line-height: 1.6 !important;
  flex: unset !important;
}
.sg-impact i { color: #34d399; margin-right: .35rem; }

.sg-tech-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.sg-tech-tags span {
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--head); font-size: .65rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .6rem;
  background: rgba(52,211,153,.07);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: 99px; color: #34d399;
}
.sg-tech-tags span i { font-size: .6rem; }

/* ─── Photo avatar initials fallback ─── */
.fn-avatar-initials {
  display: none; /* hidden by default — shown only via onerror */
  align-items: center; justify-content: center;
  font-family: var(--head); font-size: 2rem; font-weight: 900;
  color: #fff; letter-spacing: -.03em; line-height: 1;
  user-select: none;
}
.fn-avatar-initials em {
  font-style: normal; color: rgba(255,255,255,.65);
}
.fn-avatar-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%; display: block;
}

/* ─── Map: bm-map mobile ─── */
@media (max-width: 900px) {
  .bm-wrap { flex-direction: column; }
  .bm-map-frame { width: 100%; min-height: 340px; }
  .bm-info { width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .bm-illus-svg { max-height: 360px; }
}

/* ─── Tech ecosystem hub: hide on small mobile ─── */
@media (max-width: 640px) {
  .te-hub-wrap { display: none; }
  .tech-ecosystem { padding: 1.5rem 1rem; }
  .te-header h3 { font-size: 1.15rem; }
}

/* ─── Cases grid mobile ─── */
@media (max-width: 760px) {
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .cases-featured-row { flex-direction: column; }
  .cases-sm-stack { flex: unset; flex-direction: row; gap: 1rem; }
  .cases-sm-stack .case-card-sm { flex: 1; }
}
@media (max-width: 520px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-sm-stack { flex-direction: column; }
}

/* ─── Marker overlay mobile ─── */
@media (max-width: 600px) {
  .bmm-label { font-size: .6rem; padding: .15rem .35rem; }
  .bm-info-stats { grid-template-columns: 1fr 1fr; gap: .6rem; }
}

/* ─── Founder photo section mobile ─── */
@media (max-width: 520px) {
  .fn-avatar { width: 80px; height: 80px; font-size: 1.5rem; }
  .fn-avatar-initials { font-size: 1.5rem; }
}
