/* ===========================
   CMC TECNOLOGIA — style.css
   =========================== */

:root {
  --bg:        #060a12;
  --bg2:       #0b1120;
  --bg3:       #0f1829;
  --surface:   #121d32;
  --surface2:  #192540;
  --surface3:  #1f2e4d;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.11);
  --border3:   rgba(0,200,255,0.2);
  --accent:    #00d4ff;
  --accent2:   #0099dd;
  --accent3:   #006fa3;
  --accent-glow: rgba(0,212,255,0.15);
  --text:      #dde6f5;
  --text2:     #7d95b5;
  --text3:     #445570;
  --white:     #ffffff;
  --green:     #20e3a0;
  --yellow:    #fbbf24;
  --red:       #f87171;
  --header-h:  108px;
  --radius:    16px;
  --radius-sm: 10px;
  --font-d: 'Plus Jakarta Sans', sans-serif;
  --font-b: 'Plus Jakarta Sans', sans-serif;
  --shadow:    0 24px 64px rgba(0,0,0,0.6);
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.accent { color: var(--accent); }
.section-tag {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover {
  background: #33dcff;
  box-shadow: 0 0 36px rgba(0,212,255,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6,10,18,0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: all 0.35s ease;
}
.header.scrolled {
  background: rgba(6,10,18,0.95);
  border-color: var(--border2);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  transition: opacity 0.2s;
}
.logo-text {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  margin-left: 10px;
}
.logo-text em {
  font-style: normal;
  color: var(--text3);
}
.logo:hover .logo-img { opacity: 0.85; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 12px;
  color: #000;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  white-space: nowrap;
}
.logo-name em { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: var(--surface); }
.nav-link.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 8px 18px !important;
  margin-left: 6px;
}
.nav-cta:hover { background: #33dcff !important; box-shadow: 0 0 20px rgba(0,212,255,0.4); }
.nav-cliente {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border3);
  background: var(--accent-glow);
  margin-left: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cliente:hover {
  background: rgba(0,212,255,0.25);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.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(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 80px) 28px 100px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Foto de fundo do hero — cor original, só escurecida levemente */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('empresas/trabalhadores.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

/* Gradiente por cima da foto para fundir com o resto do site */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,10,18,0.45) 0%,
    rgba(6,10,18,0.2) 50%,
    rgba(6,10,18,0.85) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* overlay de glows e grid ficam atrás do conteúdo mas sobre a foto */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
  top: -300px; left: -200px;
  animation: driftA 14s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,80,180,0.12) 0%, transparent 70%);
  bottom: -150px; right: -50px;
  animation: driftB 18s ease-in-out infinite alternate;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: 50%; right: 30%;
  animation: driftA 22s ease-in-out infinite alternate-reverse;
}
@keyframes driftA { from{transform:translate(0,0)} to{transform:translate(80px,50px)} }
@keyframes driftB { from{transform:translate(0,0)} to{transform:translate(-50px,-70px)} }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  border: 1px solid var(--border2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  background: rgba(255,255,255,0.05);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: rgba(221,230,245,0.85);
  max-width: 490px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat span { font-size: 12px; color: var(--text2); margin-top: 4px; font-weight: 400; }
.stat-div { width: 1px; height: 40px; background: var(--border2); }

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── ZABBIX PANEL ── */
.zabbix-panel {
  background: #0f1520;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,212,255,0.06);
  font-family: 'Courier New', monospace;
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.zabbix-topbar {
  background: #1a2235;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ztop-left { display: flex; align-items: center; gap: 8px; }
.ztop-logo {
  width: 20px; height: 20px;
  background: #d40000;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  font-family: sans-serif;
}
.ztop-title { font-size: 12px; color: #8fa0b8; font-family: sans-serif; }
.ztop-title span { color: var(--accent); }
.ztop-right { display: flex; align-items: center; gap: 12px; }
.ztop-time { font-size: 11px; color: var(--accent); letter-spacing: 0.05em; }
.ztop-user { font-size: 11px; color: #445570; font-family: sans-serif; }
.zabbix-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #445570;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.zbx-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.zbx-summary-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border-right: 1px solid rgba(255,255,255,0.05);
  gap: 2px;
}
.zbx-summary-box:last-child { border-right: none; }
.zbx-sum-num { font-size: 18px; font-weight: 700; line-height: 1; font-family: sans-serif; }
.zbx-sum-label { font-size: 9px; color: #445570; font-family: sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
.zbx-summary-box.ok   .zbx-sum-num { color: var(--green); }
.zbx-summary-box.warn .zbx-sum-num { color: var(--yellow); }
.zbx-summary-box.crit .zbx-sum-num { color: var(--red); }
.zbx-summary-box.info .zbx-sum-num { color: var(--accent); }
.zbx-table-wrap { padding: 0; }
.zbx-table-head {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr 1.2fr;
  padding: 6px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 6px;
}
.zbx-table-head span { font-size: 9px; color: #445570; font-family: sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.zbx-table-row {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr 1.2fr;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.zbx-table-row:hover { background: rgba(255,255,255,0.03); }
.zbx-table-row:last-child { border-bottom: none; }
.zbx-host { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #8fa0b8; font-family: sans-serif; }
.zbx-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.zbx-dot.green  { background: var(--green);  box-shadow: 0 0 5px var(--green); }
.zbx-dot.yellow { background: var(--yellow); box-shadow: 0 0 5px var(--yellow); }
.zbx-dot.red    { background: var(--red);    box-shadow: 0 0 5px var(--red); }
.zbx-status { font-size: 10px; font-weight: 700; font-family: sans-serif; }
.zbx-status.ok   { color: var(--green); }
.zbx-status.warn { color: var(--yellow); }
.zbx-status.crit { color: var(--red); }
.zbx-uptime { font-size: 10px; color: #445570; font-family: sans-serif; }
.zbx-issue { font-size: 10px; font-family: sans-serif; }
.zbx-issue.none { color: #2a3a52; }
.zbx-issue.warn { color: var(--yellow); }
.zbx-issue.crit { color: var(--red); }
.zbx-metrics {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.15);
}
.zbx-metric-row { display: flex; align-items: center; gap: 10px; }
.zbx-metric-label { font-size: 9px; color: #445570; font-family: sans-serif; white-space: nowrap; width: 130px; flex-shrink: 0; letter-spacing: 0.03em; }
.zbx-spark-wrap { flex: 1; height: 28px; }
.zbx-spark { width: 100%; height: 28px; display: block; }
.zbx-metric-val { font-size: 10px; color: #8fa0b8; font-family: sans-serif; white-space: nowrap; width: 52px; text-align: right; flex-shrink: 0; }
.server-card { display: none; }

/* ── SOBRE ── */
.sobre {
  padding: 110px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sobre .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.sobre-text h2 {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.sobre-text p { color: var(--text2); font-size: 16px; line-height: 1.8; font-weight: 300; }
.sobre-cards { display: flex; flex-direction: column; gap: 14px; }
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.3s;
}
.mini-card:hover { border-left-color: var(--accent); transform: translateX(6px); background: var(--surface2); }
.mini-icon-wrap {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border3);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}
.mini-card h4 {
  font-family: var(--font-d);
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 15px;
}
.mini-card p { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* ── SERVIÇOS ── */
.servicos {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
#svcGlobe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-header p { color: var(--text2); font-size: 16px; font-weight: 300; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(0,212,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0,212,255,0.1);
}
.service-card:hover::after { opacity: 1; }
.service-card.featured {
  background: linear-gradient(135deg, rgba(0,140,210,0.18) 0%, rgba(0,212,255,0.05) 100%);
  border-color: rgba(0,212,255,0.3);
}
.svc-num {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.svc-icon-svg {
  width: 50px; height: 50px;
  background: var(--accent-glow);
  border: 1px solid var(--border3);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  transition: all 0.3s;
}
.service-card:hover .svc-icon-svg { background: rgba(0,212,255,0.2); transform: scale(1.05); }
.service-card h3 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--white);
}
.service-card p { font-size: 13.5px; color: var(--text2); line-height: 1.65; font-weight: 300; }

/* ── EQUIPE CTA ── */
.equipe-cta {
  padding: 90px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.equipe-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.equipe-cta-text { flex: 1; min-width: 280px; }
.equipe-cta-text h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.equipe-cta-text p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 500px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(37,211,102,0.3);
}
.btn-wa:hover {
  background: #20bb5a;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.45);
}

/* ── DEPOIMENTOS ── */
.depoimentos {
  padding: 110px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.depo-header {
  text-align: center;
  margin-bottom: 48px;
}
.depo-header h2 {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.depo-card {
  max-width: 780px;
  margin: 0 auto 48px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 22px;
  padding: 48px;
  position: relative;
}
.depo-quote-mark { color: var(--accent); margin-bottom: 20px; }
.depo-card p { font-size: 16px; color: var(--text2); line-height: 1.85; margin-bottom: 32px; font-weight: 300; font-style: italic; }
.depo-author { display: flex; align-items: center; gap: 16px; }
.depo-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}
.depo-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--border2);
}
.depo-author strong { display: block; font-weight: 700; color: var(--white); font-size: 15px; }
.depo-author span { font-size: 13px; color: var(--text3); }

/* ── CARROSSEL DE CLIENTES ── */
.carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollTrack 32s linear infinite;
}
.carousel-wrap:hover .carousel-track { animation-play-state: paused; }
@keyframes scrollTrack {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-item {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 14px 20px;
}
.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.55;
  transition: all 0.3s;
}
.carousel-item:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* ── CONTATO ── */
.contato { padding: 110px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,100,180,0.2) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 24px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.cta-box p { color: var(--text2); font-size: 17px; margin-bottom: 2.8rem; font-weight: 300; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: var(--bg2); }
.footer-top {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
}
.footer-logo { margin-bottom: 14px; display: inline-flex; }
.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
}
.footer-desc { font-size: 14px; color: var(--text3); line-height: 1.7; margin-bottom: 24px; max-width: 280px; font-weight: 300; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text2);
  text-decoration: none;
  transition: all 0.25s;
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; transform: translateY(-2px); }
.footer-col h5 {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a {
  font-size: 14px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--accent); }
.footer-info { display: flex; flex-direction: column; gap: 14px; }
.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text3);
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.2s;
}
.footer-info-row:hover { color: var(--accent); }
.footer-info-row svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text3); }
.footer-bottom a { font-size: 13px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ── CHATBOT ── */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.chat-toggle {
  width: 60px; height: 60px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(0,212,255,0.5), 0 0 0 0 rgba(0,212,255,0.3);
  transition: all 0.3s;
  position: relative;
  animation: chatPulse 3s infinite;
}
@keyframes chatPulse {
  0%,70%,100% { box-shadow: 0 8px 32px rgba(0,212,255,0.5), 0 0 0 0 rgba(0,212,255,0.3); }
  35% { box-shadow: 0 8px 32px rgba(0,212,255,0.5), 0 0 0 12px rgba(0,212,255,0); }
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-toggle svg { color: #000; transition: all 0.3s; position: absolute; }
.close-icon { opacity: 0; transform: rotate(-90deg) scale(0.8); }
.chat-widget.open .chat-icon { opacity: 0; transform: rotate(90deg) scale(0.8); }
.chat-widget.open .close-icon { opacity: 1; transform: rotate(0deg) scale(1); }
.chat-widget.open .chat-toggle { animation: none; }
.chat-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  background: #f87171;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  display: none;
}
.chat-badge.show { display: block; animation: badgePop 0.4s ease; }
@keyframes badgePop { from{transform:scale(0)} to{transform:scale(1)} }
.chat-window {
  width: 360px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 520px;
}
.chat-widget.open .chat-window { display: flex; animation: slideUp 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes slideUp { from{opacity:0;transform:translateY(24px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }
.chat-head {
  background: var(--surface2);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}
.chat-avatar-wrap { position: relative; }
.chat-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 13px;
  color: #000;
}
.chat-online-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 11px; height: 11px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--surface2);
  box-shadow: 0 0 6px var(--green);
}
.chat-head strong { display: block; font-weight: 700; font-size: 15px; color: var(--white); }
.chat-status { font-size: 12px; color: var(--green); font-weight: 500; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface2) transparent;
}
.chat-msg {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  animation: msgIn 0.22s ease;
}
@keyframes msgIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.chat-msg.bot {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  align-self: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--text3);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.chat-options {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border);
  background: var(--bg3);
}
.chat-opt {
  background: var(--surface);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: var(--font-b);
  line-height: 1.4;
}
.chat-opt:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); transform: translateX(3px); }
.chat-action-btns { display: flex; flex-direction: column; gap: 7px; }
.chat-link, .chat-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s;
  font-family: var(--font-d);
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: 100%;
}
.chat-link { background: #25d366; color: #fff; }
.chat-link:hover { background: #20bb5a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.chat-form-link { background: var(--surface2); color: var(--text); border: 1.5px solid var(--border2); }
.chat-form-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-sub { margin: 0 auto 2.4rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: 1; }
  .sobre .container { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .brand-col { grid-column: 1/-1; }
  .cta-box { padding: 50px 36px; }
  .mini-card { flex-direction: column; align-items: center; text-align: center; }
  .mini-icon-wrap { flex-shrink: 0; }
}
@media (max-width: 640px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(6,10,18,0.97);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    backdrop-filter: blur(20px);
  }
  
  .equipe-cta-inner { flex-direction: column; text-align: center; }
    .btn-wa { width: 100%; justify-content: center; }

  .carousel-wrap {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .cta-glow { display: none; }
  .svc-card-body p { display: none; }
  .service-card.expanded .svc-card-body p { display: block; }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { padding: 16px 10px; text-align: center; }
.svc-card-top { justify-content: center; }
.svc-card-body h3 { font-size: 11px; }
.svc-icon-box { width: 40px; height: 40px; margin: 0 auto 8px; }
.svc-icon-box i { font-size: 20px; }
  .footer-top-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .chat-window { width: calc(100vw - 40px); }
  .cta-box { padding: 40px 24px; }
  .depo-card { padding: 32px 24px; }
  .hero-title { font-size: 2.2rem; }
  .service-card.expanded {
  grid-column: 1 / -1;
}
.service-card.expanded .svc-card-body h3 { font-size: 15px; }
}