/* =============================================
   7Bic Technology — Stylesheet
   ============================================= */

:root {
  --purple-dark:  #1a0033;
  --purple-mid:   #3b0087;
  --purple-main:  #5b21b6;
  --purple-light: #7c3aed;
  --cyan:         #00d4ff;
  --cyan-dark:    #0099cc;
  --white:        #ffffff;
  --gray-100:     #f3f0ff;
  --gray-200:     #e5e0f0;
  --gray-400:     #9d8fbd;
  --gray-600:     #6b5c8a;
  --text:         #1e1135;

  --header-h: 86px;
  --total-h:  var(--header-h);
  --radius:   12px;
  --radius-lg: 20px;
  --shadow:   0 4px 24px rgba(91, 33, 182, 0.18);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--cyan); }

.green { color: #10b981; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-mid));
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan-dark), var(--purple-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION COMMON ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(0,212,255,0.12);
  color: var(--cyan-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
.section-sub { color: var(--gray-600); max-width: 540px; margin: 16px auto 0; }

/* Cores de variação usadas no widget de cotações */
.tick-rate {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tick-up   { color: #10b981; font-size: 0.75rem; font-weight: 700; }
.tick-down { color: #ef4444; font-size: 0.75rem; font-weight: 700; }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 4px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
  background: rgba(8, 0, 20, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 8px 32px rgba(0,0,0,0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  height: 78px;
  width: auto;
  flex-shrink: 0;
}

/* Pill de navegação */
.nav-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 99px;
  padding: 5px 6px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 99px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.11);
}

/* Botão CTA + burger */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan-dark) 100%);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 0 22px rgba(124,58,237,0.35);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,212,255,0.4);
  filter: brightness(1.12);
}

.btn-cliente {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid rgba(0,212,255,0.45);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(0,212,255,0.06);
  font-family: inherit;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  margin-right: 8px;
}
.btn-cliente:hover {
  background: rgba(0,212,255,0.13);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0,212,255,0.22);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0a0020 0%, #160040 45%, #05000f 100%);
  overflow: hidden;
  padding-top: var(--total-h);
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}


.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}

.hero-content { overflow: hidden; }

/* ── Badge "Seven Intelligence Company" ── */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.22);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-tag 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-tag {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.6); }
}

/* ── Terminal panel ── */
.hero-panel {
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.025),
    0 28px 72px rgba(0,0,0,0.45),
    0 0 80px rgba(91,33,182,0.18),
    0 0 32px rgba(0,212,255,0.07);
  margin-bottom: 30px;
}
.hero-panel-bar {
  height: 30px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(0,212,255,0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 7px;
}
.hpb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hpb-d1 { background: rgba(0,212,255,0.55); }
.hpb-d2 { background: rgba(167,139,250,0.45); }
.hpb-d3 { background: rgba(124,58,237,0.4); }
.hpb-id {
  margin-left: auto;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.hero-panel-body {
  padding: 20px 28px 24px;
  background: linear-gradient(135deg, rgba(91,33,182,0.09) 0%, rgba(0,212,255,0.03) 100%);
}

/* ── H1 ── */
.hero-content h1 {
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  white-space: nowrap;
}

/* INTELIGÊNCIA – gradiente animado + glow */
.hero-word {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  display: block;
  line-height: 0.88;
  background: linear-gradient(100deg, #00d4ff 0%, #a78bfa 52%, #7c3aed 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-grad 4s linear infinite;
  filter: drop-shadow(0 0 22px rgba(0,212,255,0.35));
}
@keyframes shimmer-grad {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}

/* "que transforma" e "em decisões" */
.hero-rest {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 500;
  display: block;
  line-height: 1.1;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.01em;
}

/* Palavra animada – chip estilo terminal */
.typewriter-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
  background: rgba(0,212,255,0.09);
  border: 1.5px solid rgba(0,212,255,0.38);
  border-radius: 6px;
  padding: 1px 10px 2px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.18em;
}
.cursor {
  display: inline-block;
  animation: blink 0.75s step-end infinite;
  color: var(--cyan);
  font-weight: 300;
  margin-left: 1px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── HERO DASHBOARD ── */
.hero-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.3s;
}
.dash-card:hover { border-color: rgba(0,212,255,0.3); }

.dash-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dash-title { color: var(--white); font-size: 0.88rem; font-weight: 600; display: block; }
.dash-sub   { color: rgba(255,255,255,0.45); font-size: 0.75rem; margin-top: 2px; }

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }

.chart-wrap { width: 100%; height: 90px; }
#chart-canvas { width: 100%; height: 100%; display: block; }

.chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.chart-val-label { color: rgba(255,255,255,0.45); font-size: 0.75rem; }
.chart-val-num   { font-size: 1rem; font-weight: 700; }

/* Metric cards row */
.dash-metrics-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.dash-metric-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.dash-metric-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,212,255,0.25); }
.metric-icon-wrap {
  width: 28px; height: 28px;
  background: rgba(124,58,237,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  color: var(--purple-light);
}
.metric-icon-wrap svg { width: 14px; height: 14px; }
.metric-icon-wrap.accent-icon { background: rgba(0,212,255,0.15); color: var(--cyan); }
.metric-icon-wrap.green-icon  { background: rgba(16,185,129,0.15); color: #10b981; }
.metric-val  { font-size: 1.15rem; font-weight: 800; color: var(--white); line-height: 1; }
.metric-val.green { color: #10b981; }
.metric-lbl  { font-size: 0.68rem; color: rgba(255,255,255,0.45); line-height: 1.2; }

/* AI card */
.dash-ai-card { }
.ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ai-hex {
  font-size: 1.4rem;
  color: var(--cyan);
  line-height: 1;
  animation: spin 8s linear infinite;
}
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.ai-title { color: var(--white); font-size: 0.88rem; font-weight: 700; display: block; }
.ai-status {
  color: #10b981;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ai-status .live-dot { background: #10b981; }
.ai-badge {
  margin-left: auto;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--purple-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.ai-bars { display: flex; flex-direction: column; gap: 10px; }
.ai-bar-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.ai-bar-label { font-size: 0.73rem; color: rgba(255,255,255,0.6); }
.ai-bar-track {
  width: 90px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.ai-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}
.ai-bar-fill.green-bar { background: linear-gradient(90deg, #059669, #10b981); }
.ai-bar-pct { font-size: 0.72rem; font-weight: 700; color: var(--cyan); min-width: 30px; text-align: right; }

.ai-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ai-token {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* =============================================
   NÚMEROS
   ============================================= */
#numeros {
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  padding: 48px 0;
}
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.numero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.numero-card:last-child { border-right: none; }
.numero-valor {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.numero-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
}

/* =============================================
   SOBRE
   ============================================= */
#sobre {
  padding: 100px 0;
  background: var(--white);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sobre-text .section-tag { margin-bottom: 16px; }
.sobre-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.sobre-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}
.sobre-text .btn { margin-top: 12px; }

.sobre-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sobre-card {
  background: var(--gray-100);
  border-left: 3px solid var(--purple-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sobre-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.sobre-icon {
  color: var(--purple-light);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.sobre-card h3 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1rem;
}
.sobre-card p { color: var(--gray-600); font-size: 0.92rem; }

/* =============================================
   SERVIÇOS
   ============================================= */
#servicos {
  padding: 100px 0;
  background: var(--gray-100);
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--purple-light);
}
.servico-card.destaque {
  border-color: var(--purple-light);
  background: linear-gradient(135deg, #faf8ff 0%, #f0e8ff 100%);
}
.servico-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-mid));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.06em;
}
.servico-icon {
  width: 52px; height: 52px;
  color: var(--purple-light);
  margin-bottom: 20px;
}
.servico-icon svg { width: 100%; height: 100%; }
.servico-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.servico-card p {
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.servico-lista { display: flex; flex-direction: column; gap: 8px; }
.servico-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
}
.servico-lista li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
#diferenciais {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--purple-dark) 0%, #2d0066 100%);
}
#diferenciais .section-tag { color: var(--cyan); background: rgba(0,212,255,0.12); }
#diferenciais h2 { color: var(--white); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.diferencial-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.diferencial-item:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-4px);
}
.diferencial-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0,212,255,0.3);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.diferencial-item h3 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}
.diferencial-item p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.7; }

/* =============================================
   CONTATO
   ============================================= */
#contato {
  padding: 100px 0;
  background: var(--white);
}
.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contato-text .section-tag { margin-bottom: 16px; }
.contato-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.contato-text > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 36px; }

.contato-info { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.info-item svg { width: 20px; height: 20px; color: var(--purple-light); flex-shrink: 0; }
.info-item a { color: var(--gray-600); transition: color 0.2s; }
.info-item a:hover { color: var(--purple-light); }
.info-phones { display: flex; flex-direction: column; gap: 4px; }
.info-phones a { font-size: 0.95rem; }

/* Form */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--gray-400); margin-top: -8px; }

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.footer-links h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li, .footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* ─── BREAKPOINT 1200px ─────────────────────── */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
}

/* ─── BREAKPOINT 1024px ─────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sobre-inner  { grid-template-columns: 1fr; gap: 40px; }
  .contato-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-dashboard { display: none; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-curr-widget { margin: 20px auto 0; }
}

/* ─── BREAKPOINT 768px ──────────────────────── */
@media (max-width: 768px) {
  .hide-sm { display: none !important; }

  /* Navbar mobile */
  .nav-pill {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px; right: 12px;
    border-radius: 16px;
    padding: 12px;
    background: rgba(8,0,22,0.97);
    backdrop-filter: blur(24px);
  }
  .nav-pill.open { display: block; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { padding: 10px 16px; border-radius: 10px; font-size: 1rem; }
  .btn-cta { display: none; }
  .btn-cliente { display: none; }
  .burger { display: flex; }
  #header { background: rgba(8,0,20,0.9); backdrop-filter: blur(20px); }

  /* Seção números */
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .numero-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .numero-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .numero-card:nth-last-child(-n+2) { border-bottom: none; }

  /* Outras grades */
  .servicos-grid     { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Hero */
  .hero-grid { padding-top: 70px; }

  /* Seções: padding menor */
  #sobre, #servicos, #diferenciais, #contato,
  #tecnologias, #como-funciona { padding: 70px 0; }
  #dash-empresa, #dash-financeiro { padding: 70px 0 90px; }

  /* Serviços: forçar 1 coluna no mobile */
  .servicos-grid { grid-template-columns: 1fr !important; }
  .servicos-grid .servico-card:last-child { max-width: 100% !important; margin: 0 !important; grid-column: auto !important; }

  /* Texto hero */
  .hero-word { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-rest { font-size: clamp(0.95rem, 3vw, 1.2rem); }
  .hero-panel-body { padding: 16px 20px 20px; }
  .section-header h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
}

/* ─── BREAKPOINT 480px ──────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .numeros-grid { grid-template-columns: 1fr; }
  .numero-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .numero-card:last-child { border-bottom: none; }
  .hero-curr-widget { min-width: unset; width: 100%; }
  .logo { height: 60px; }
}

/* =============================================
   HERO — WIDGET DE COTAÇÕES
   ============================================= */
.hero-curr-widget {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 20px 14px;
  margin-top: 20px;
  min-width: 260px;
  max-width: 320px;
}
.hcw-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.38);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hcw-rows { display: flex; flex-direction: column; gap: 0; }
.hcw-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.hcw-divider { height: 1px; background: rgba(255,255,255,0.09); }
.hcw-flag { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.hcw-name {
  flex: 1;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  font-weight: 600;
}
.hcw-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hcw-val-wrap .tick-rate {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* =============================================
   DASHBOARD EMPRESARIAL — CARROSSEL
   ============================================= */
#dash-empresa {
  padding: 110px 0 130px;
  background: linear-gradient(160deg, #0a001a 0%, #14003a 50%, #06000f 100%);
}
#dash-empresa .section-tag {
  background: rgba(0,212,255,0.12);
  color: var(--cyan);
  border-color: rgba(0,212,255,0.2);
}
#dash-empresa h2 { color: var(--white); }
#dash-empresa .section-sub { color: rgba(255,255,255,0.5); }

/* ── Wrapper ── */
.carousel-wrapper {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  background: rgba(8,0,22,0.92);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.06),
    0 40px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(0,212,255,0.05) inset;
}

/* ── Tabs ── */
.carousel-tabs {
  display: flex;
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.carousel-tabs::-webkit-scrollbar { display: none; }
.carousel-tab {
  flex: 1;
  min-width: 110px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
}
.carousel-tab:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.03); }
.carousel-tab.active {
  color: var(--white);
  border-bottom-color: var(--cyan);
  background: rgba(0,212,255,0.05);
}
.carousel-tab.active .tab-ico { filter: none; opacity: 1; }
.tab-ico { font-size: 1.2rem; opacity: 0.6; transition: opacity 0.2s; }
.carousel-tab.active .tab-ico { opacity: 1; }

/* ── Track ── */
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Slides ── */
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 28px 36px 28px;
  box-sizing: border-box;
  --sc: 0, 212, 255;
}

/* ── Cabeçalho do slide ── */
.slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.slide-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slide-head-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(var(--sc), 0.12);
  border: 1px solid rgba(var(--sc), 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.slide-head-title {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
}
.slide-head-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-top: 2px;
}
.slide-head-right {
  text-align: right;
}
.slide-head-kpi {
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(var(--sc), 0.95);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.slide-head-chg {
  font-size: 0.72rem;
  margin-top: 3px;
}

/* ── KPIs ── */
.slide-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.skpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid rgba(var(--sc), 0.45);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.skpi:hover {
  background: rgba(255,255,255,0.05);
  border-left-color: rgba(var(--sc), 0.8);
}
.skpi-green {
  border-left-color: rgba(16,185,129,0.7);
  background: rgba(16,185,129,0.04);
}
.skpi-warn {
  border-left-color: rgba(245,158,11,0.7);
  background: rgba(245,158,11,0.04);
}
.skpi-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.skpi-lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Área de gráficos ── */
.slide-charts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  height: 280px;
}
.schart-main, .schart-side {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(var(--sc), 0.1);
  border-radius: 14px;
  padding: 12px 16px 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(var(--sc), 0.06);
}
.schart-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: rgba(var(--sc), 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.schart-main canvas,
.schart-side canvas {
  position: absolute;
  top: 32px; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: calc(100% - 32px) !important;
}

/* ── Segurança: status row ── */
.seg-status-row {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.seg-st-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 4px 10px;
}

/* ── Dots de status ── */
.sec-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sec-green  { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.7); }
.sec-yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.7); }
.sec-red    { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.7); }

/* ── Setas de navegação ── */
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8,0,22,0.9);
  color: rgba(255,255,255,0.55);
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  line-height: 1;
  font-family: sans-serif;
  backdrop-filter: blur(8px);
}
.car-arrow:hover {
  border-color: rgba(0,212,255,0.5);
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 16px rgba(0,212,255,0.2);
}
.car-prev { left: 12px; }
.car-next { right: 12px; }

/* ── Responsivo carrossel ── */
@media (max-width: 900px) {
  .slide-charts { grid-template-columns: 1fr; height: auto; }
  .schart-main { height: 200px; }
  .schart-side { height: 160px; }
  .slide-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .carousel-slide { padding: 20px 16px 18px; }
  .carousel-tab { min-width: 72px; font-size: 0.6rem; padding: 12px 6px; }
  .tab-ico { font-size: 1rem; }
  .car-arrow { display: none; }
  .slide-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .slide-head-right { text-align: left; }
  .slide-kpis { grid-template-columns: 1fr; }
  .skpi-val { font-size: 1.1rem; }
  .hero-curr-widget { min-width: 100%; max-width: 100%; }
}

/* =============================================
   LOADING SCREEN
   ============================================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0a0020 0%, #160040 50%, #05000f 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: loaderFadeIn 0.5s ease both;
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loader-logo {
  width: 180px;
  height: auto;
  animation: logoPulse 1.6s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0,212,255,0.3)); }
  50%       { filter: drop-shadow(0 0 36px rgba(0,212,255,0.7)); }
}
.loader-bar-wrap {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  border-radius: 99px;
  animation: loaderProgress 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}
.loader-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   SCROLL REVEAL (JS driven)
   ============================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   SERVIÇOS — grid 3 colunas
   ============================================= */
.servicos-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}
/* Último card sozinho na linha → centraliza na coluna do meio */
@media (min-width: 1025px) {
  .servicos-grid .servico-card:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Último card sozinho em 2 colunas → span full width centralizado */
  .servicos-grid .servico-card:last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .servicos-grid { grid-template-columns: 1fr !important; }
  .servicos-grid .servico-card:last-child { max-width: 100%; margin: 0; }
}

/* =============================================
   DASHBOARD FINANCEIRO / VENDAS
   ============================================= */
#dash-financeiro {
  padding: 100px 0 110px;
  background: linear-gradient(160deg,#06000f 0%,#120030 50%,#0a001a 100%);
}
#dash-financeiro .section-tag  { background:rgba(0,212,255,.12); color:var(--cyan); }
#dash-financeiro h2,
#dash-financeiro .section-sub  { color:var(--white); }
#dash-financeiro .section-sub  { color:rgba(255,255,255,.5); }

.dfin-panel {
  background: rgba(8,0,22,.85);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,212,255,.05),
              0 40px 80px rgba(0,0,0,.55),
              inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
}

/* header */
.dfin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.35);
}
.dfin-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
}
.dfin-panel-icon { font-size: 1.2rem; }

/* KPIs */
.dfin-kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dfin-kpi {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.dfin-kpi:last-child { border-right: none; }
.dfin-kpi-label {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.dfin-kpi-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.dfin-kpi-chg { font-size: .72rem; margin-bottom: 10px; }
.dfin-kpi-bar {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.dfin-kpi-fill {
  height: 100%;
  width: var(--p,0%);
  background: linear-gradient(90deg, var(--purple-light), var(--purple-mid));
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.dfin-fill-cyan {
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
}

/* charts */
.dfin-charts {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dfin-chart-main {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.dfin-chart-side { padding: 22px 20px; }
.dfin-chart-label {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dfin-chart-badge {
  background: rgba(0,212,255,.12);
  color: var(--cyan);
  font-size: .6rem;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dfin-chart-wrap { position: relative; height: 180px; }
.dfin-donut-wrap  { height: 140px; }
.dfin-chart-wrap canvas { position: absolute; inset: 0; width:100% !important; height:100% !important; }

.dfin-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}
.dfin-leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.dfin-leg-item span {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* funil */
.dfin-funil { padding: 22px 24px; }
.dfin-funil-title {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.dfin-funil-steps { display: flex; flex-direction: column; gap: 10px; }
.dfin-funil-step  { display: flex; align-items: center; gap: 12px; }
.dfin-funil-bar-wrap {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  overflow: hidden;
}
.dfin-funil-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(var(--c),.7), rgba(var(--c),.3));
  border-radius: 6px;
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}
.dfin-funil-info {
  width: 220px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
}
.dfin-funil-label { font-size: .78rem; color: rgba(255,255,255,.45); }
.dfin-funil-num   { font-size: .85rem; font-weight: 800; color: var(--white); }

/* responsive */
@media (max-width: 1024px) {
  .dfin-kpis { grid-template-columns: repeat(2,1fr); }
  .dfin-kpi:nth-child(2) { border-right: none; }
  .dfin-kpi:nth-child(1),
  .dfin-kpi:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .dfin-charts { grid-template-columns: 1fr; }
  .dfin-chart-main { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .dfin-chart-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .dfin-donut-wrap { height: 160px; }
}
@media (max-width: 600px) {
  .dfin-kpis { grid-template-columns: 1fr; }
  .dfin-kpi { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .dfin-kpi:last-child { border-bottom: none; }
  .dfin-chart-side { grid-template-columns: 1fr; }
  .dfin-funil-info { width: 130px; }
  .dfin-funil-label { font-size: .7rem; }
  .dfin-panel-header { padding: 14px 16px; }
  .dfin-kpi { padding: 16px; }
  .dfin-chart-main, .dfin-chart-side, .dfin-funil { padding: 16px; }
}

/* =============================================
   TECNOLOGIAS
   ============================================= */
#tecnologias {
  padding: 80px 0;
  background: var(--gray-100);
}
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px 24px;
  min-width: 100px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}
.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(91,33,182,0.12);
  border-color: var(--purple-light);
}
.tech-icon { font-size: 2rem; line-height: 1; }
.tech-item span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-align: center;
  white-space: nowrap;
}

/* =============================================
   COMO TRABALHAMOS
   ============================================= */
#como-funciona {
  padding: 100px 0;
  background: linear-gradient(160deg, #0a001a 0%, #14003a 50%, #06000f 100%);
}
#como-funciona .section-tag { background: rgba(0,212,255,0.12); color: var(--cyan); }
#como-funciona h2, #como-funciona .section-sub { color: var(--white); }
#como-funciona .section-sub { color: rgba(255,255,255,0.5); }

.processo-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.processo-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  position: relative;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.processo-step:hover {
  background: rgba(0,212,255,0.07);
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
}
.pstep-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-light), var(--cyan-dark));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 99px;
}
.pstep-icon {
  font-size: 2.4rem;
  margin: 12px 0 14px;
}
.processo-step h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.processo-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}
.processo-connector {
  width: 48px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, rgba(0,212,255,0.4), rgba(124,58,237,0.4));
  position: relative;
}
.processo-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(124,58,237,0.5);
}

@media (max-width: 900px) {
  .processo-grid { flex-direction: column; gap: 0; }
  .processo-connector { width: 2px; height: 32px; background: linear-gradient(180deg, rgba(0,212,255,0.4), rgba(124,58,237,0.4)); }
  .processo-connector::after {
    right: unset; top: unset;
    bottom: -6px; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(124,58,237,0.5);
    border-left-color: transparent;
  }
  .processo-step { width: 100%; max-width: 420px; }
}

/* =============================================
   WHATSAPP FLUTUANTE
   ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 99px;
  padding: 14px 20px 14px 16px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wabounce 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
  animation: none;
}
.whatsapp-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-label { white-space: nowrap; }

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

@media (max-width: 480px) {
  .whatsapp-btn { bottom: 18px; right: 18px; padding: 14px; border-radius: 50%; }
  .whatsapp-label { display: none; }
}

/* =============================================
   CONTADOR ANIMADO
   ============================================= */
@keyframes countup {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}
.numero-valor.counting { animation: countup 0.1s ease; }

/* =============================================
   ÁREA DO CLIENTE — BOTÃO NAVBAR
   ============================================= */

/* Nav item mobile */
.nav-cliente-item { display: none; }
.nav-cliente-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}
.nav-cliente-link:hover { background: rgba(0,212,255,0.12); }

@media (max-width: 768px) {
  .nav-cliente-item { display: block; }
}

/* =============================================
   ÁREA DO CLIENTE — MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,0,14,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  position: relative;
  background: linear-gradient(145deg, rgba(18,0,42,0.97) 0%, rgba(8,0,24,0.99) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  padding: 44px 40px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 0 70px rgba(91,33,182,0.18),
    0 0 0 1px rgba(255,255,255,0.03);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s ease;
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border-color: rgba(0,212,255,0.3);
}
.modal-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0,212,255,0.09);
  border: 1px solid rgba(0,212,255,0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
}
.modal-title {
  font-size: 1.45rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.modal-sub {
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 26px;
}
.modal-input-wrap { margin-bottom: 12px; }
.modal-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-input::placeholder { color: rgba(255,255,255,0.25); }
.modal-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.modal-input.input-error {
  border-color: #ff5f7e;
  box-shadow: 0 0 0 3px rgba(255,95,126,0.1);
}
.modal-btn { margin-top: 0; }
.modal-error {
  color: #ff7090;
  font-size: 0.82rem;
  margin-top: 14px;
  text-align: center;
  line-height: 1.55;
}
.modal-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: modal-spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.modal-spinner[hidden] { display: none; }
@keyframes modal-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .modal-card { padding: 36px 24px 28px; }
}
