/* ============================================
   und3r networks — Field Service
   Design: Industrial Precision Tech
   Paleta: Azul Aço + Verde Operacional
   ============================================ */

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

:root {
  --bg-0: #0c1929;
  --bg-1: #101f33;
  --bg-2: #152640;
  --bg-3: #192d4a;

  --steel: #0066cc;
  --steel-light: #0080ff;
  --steel-glow: rgba(0, 102, 204, 0.35);

  --green: #00e676;
  --green-dim: #00b05a;
  --green-glow: rgba(0, 230, 118, 0.2);

  --white: #f0f8ff;
  --grey-hi: #c8dced;
  --grey-mid: #7a9ab8;
  --grey-lo: #3a5570;

  --border: rgba(0, 102, 204, 0.2);
  --border-active: rgba(0, 102, 204, 0.6);

  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  --t1: 120ms ease;
  --t2: 280ms cubic-bezier(.4,0,.2,1);
  --t3: 500ms cubic-bezier(.4,0,.2,1);
}

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

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,102,204,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { color: var(--grey-hi); margin-bottom: 1rem; }
a { color: var(--steel-light); text-decoration: none; transition: color var(--t1); }
a:hover { color: var(--green); }

.tag {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.tag::before { content: ''; width: 20px; height: 1px; background: var(--green); display: block; }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(2, 11, 20, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand { display: flex; align-items: center; }
.navbar-logo { height: 38px; width: auto; }
.navbar-brand-text { display: flex; flex-direction: column; gap: 1px; }
.navbar-brand-text strong { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.04em; }
.navbar-brand-text span { font-family: var(--ff-mono); font-size: 0.6rem; color: var(--steel-light); letter-spacing: 0.15em; text-transform: uppercase; }
.navbar-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 500; color: var(--grey-mid); letter-spacing: 0.05em; text-transform: uppercase; transition: color var(--t1); }
.nav-link:not(.nav-cta):hover { color: var(--white); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--steel-light);
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  transition: all var(--t2);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta:hover { background: var(--steel); color: var(--white); box-shadow: 0 0 20px var(--steel-glow); }

.menu-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; gap: 5px; padding: 4px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--grey-hi); display: block; }

/* HERO */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), var(--green), transparent);
  animation: scanLine 5s ease-in-out infinite;
  z-index: 3;
  opacity: 0.4;
}
@keyframes scanLine {
  0% { top: 5%; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { top: 95%; opacity: 0; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(0,102,204,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(0,230,118,0.04) 0%, transparent 50%);
  z-index: 0;
}
/* Imagem como metade direita do fundo */
.hero-bg-img {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.75) contrast(1.05) saturate(0.85);
}
.hero-bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-0) 0%,
    rgba(12,25,41,0.55) 35%,
    transparent 100%
  );
  z-index: 2;
}
.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,25,41,0.65) 0%,
    transparent 40%
  );
  z-index: 2;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  width: 100%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,230,118,0.07);
  border: 1px solid rgba(0,230,118,0.22);
  padding: 0.35rem 0.875rem;
  margin-bottom: 2rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.hero-label span {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-text h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.hero-text h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel-light);
}
.hero-subtitle {
  font-size: 0.92rem;
  color: var(--grey-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; flex-direction: column; justify-content: center; }

/* Hero image is now a full-background element; visual col shows stats card */
.hero-img-wrap { display: none; }

.hero-stats-card {
  background: rgba(12, 25, 41, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-active);
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: 0 0 40px rgba(0,102,204,0.2);
}

.hero-card {
  background: linear-gradient(135deg, rgba(7,21,36,0.95), rgba(10,28,46,0.98));
  border: 1px solid var(--border-active);
  padding: 2rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 0 50px var(--steel-glow);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--steel-light);
  border-left: 1px solid var(--steel-light);
  opacity: 0.5;
}
.hero-card::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 12px; height: 12px;
  border-bottom: 1px solid var(--steel-light);
  border-right: 1px solid var(--steel-light);
  opacity: 0.5;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: var(--green); box-shadow: 0 0 6px var(--green); }
.hero-card-title {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--grey-lo);
  letter-spacing: 0.1em;
  margin-left: auto;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.metric {
  background: rgba(0,102,204,0.06);
  border: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
}
.metric-value {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--steel-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.metric-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-list { display: flex; flex-direction: column; gap: 0.5rem; }
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.875rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
}
.status-item-label { color: var(--grey-mid); }
.status-badge {
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.25);
  color: var(--green);
  padding: 0.12rem 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--t2);
  text-decoration: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-primary { background: var(--steel); color: var(--white); }
.btn-primary:hover { background: var(--steel-light); color: var(--white); box-shadow: 0 0 30px var(--steel-glow); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--grey-hi); border: 1px solid var(--grey-lo); }
.btn-secondary:hover { border-color: var(--grey-hi); color: var(--white); transform: translateY(-1px); }
.btn-large { padding: 1rem 2.5rem; font-size: 0.85rem; }

/* SECTIONS */
.section-head { margin-bottom: 4rem; }
.section-head.center { text-align: center; }
.section-head.center .tag { justify-content: center; }
.section-head.center .section-lead { margin: 0 auto; }
.section-title { color: var(--white); margin-bottom: 1rem; }
.section-lead { font-size: 0.92rem; color: var(--grey-mid); max-width: 600px; line-height: 1.85; margin: 0; }

/* PROBLEMA */
.problema { padding: 8rem 0; background: var(--bg-1); }
.problema-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.problema-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--steel);
  padding: 2rem 1.75rem;
  transition: all var(--t2);
}
.problema-card:hover { border-color: var(--border-active); border-left-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.card-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,102,204,0.25);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.problema-card:hover .card-num { -webkit-text-stroke: 1px rgba(0,230,118,0.4); }
.problema-card h3 { font-size: 0.95rem; color: var(--grey-hi); font-family: var(--ff-mono); font-weight: 500; }

/* SOLUÇÃO */
.solucao { padding: 8rem 0; background: var(--bg-0); }
.solucao-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.solucao-card {
  background: var(--bg-1);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all var(--t2);
  position: relative;
  overflow: hidden;
}
.solucao-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), var(--green));
  transform: scaleX(0);
  transition: transform var(--t3);
}
.solucao-card:hover::after { transform: scaleX(1); }
.solucao-card:hover { background: var(--bg-2); }
.card-icon {
  width: 54px; height: 54px;
  margin: 0 auto 1.75rem;
  background: rgba(0,102,204,0.08);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-light);
  transition: all var(--t2);
}
.solucao-card:hover .card-icon {
  background: rgba(0,230,118,0.08);
  border-color: rgba(0,230,118,0.35);
  color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}
.card-icon svg { width: 24px; height: 24px; }
.solucao-card h3 { font-family: var(--ff-display); font-size: 1.15rem; color: var(--white); margin-bottom: 0.875rem; font-weight: 700; }
.solucao-card p { font-size: 0.83rem; color: var(--grey-mid); line-height: 1.75; margin: 0; }

/* SERVIÇOS */
.servicos { padding: 8rem 0; background: var(--bg-1); }
.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.servico-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: all var(--t2);
  position: relative;
  overflow: hidden;
}
.servico-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,102,204,0.1);
  line-height: 1;
}
.servico-card:hover { border-color: var(--border-active); box-shadow: 0 0 30px rgba(0,102,204,0.1); }
.servico-tag {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--steel-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
  opacity: 0.75;
}
.servico-card h3 { font-family: var(--ff-display); font-size: 1.2rem; color: var(--white); margin-bottom: 1.5rem; font-weight: 700; }
.servico-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.servico-card li { font-size: 0.8rem; color: var(--grey-mid); padding-left: 1.2rem; position: relative; line-height: 1.6; }
.servico-card li::before { content: '›'; position: absolute; left: 0; color: var(--steel-light); font-weight: bold; }

/* COBERTURA */
.cobertura { padding: 8rem 0; background: var(--bg-0); }
.cobertura-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.cidades-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 2rem 0; }
.cidade-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--grey-mid);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-1);
}
.cidade-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green);
}
.cidade-item.capital { border-color: rgba(0,230,118,0.25); color: var(--grey-hi); }

.mapa-frame {
  position: relative;
  border: 1px solid var(--border-active);
  overflow: hidden;
}
.mapa-top-bar {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: rgba(0,102,204,0.12);
  border-bottom: 1px solid var(--border-active);
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--steel-light);
  letter-spacing: 0.15em;
  gap: 0.5rem;
}
.mapa-top-bar::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.mapa-frame img { width: 100%; height: 400px; object-fit: cover; display: block; filter: saturate(0.5) brightness(0.75) contrast(1.1); }
.mapa-nota { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--grey-lo); margin-top: 0.75rem; text-align: center; margin-bottom: 0; }

/* PROVA SOCIAL */
.prova-social {
  padding: 7rem 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Grid de logos dos clientes */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}

.cliente-card {
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background var(--t2);
}

.cliente-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t3);
}

.cliente-card:hover { background: var(--bg-2); }
.cliente-card:hover::before { transform: scaleX(1); }

.cliente-card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

.cliente-card img {
  max-width: 130px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--t2), filter var(--t2), transform var(--t2);
  display: block;
}

.cliente-card:hover img {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0,230,118,0.4));
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .clientes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .cliente-card { padding: 2rem 1.5rem; }
}

/* CONTRATAÇÃO */
.contratacao { padding: 8rem 0; background: var(--bg-0); }
.contratacao-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.contratacao-card {
  background: var(--bg-1);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all var(--t2);
  position: relative;
}
.contratacao-card:hover { background: var(--bg-2); }
.contratacao-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transition: transform var(--t2);
}
.contratacao-card:hover::before { transform: scaleX(1); }
.contratacao-icon {
  width: 40px; height: 40px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.card-label { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--grey-mid); display: block; letter-spacing: 0.05em; }
.contratacao-card:hover .card-label { color: var(--white); }

/* CONTATO */
.contato { padding: 8rem 0; background: var(--bg-1); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contato-detail { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }
.contato-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--grey-mid);
  padding: 1rem 1.25rem;
  background: var(--bg-0);
  border: 1px solid var(--border);
  transition: all var(--t1);
}
.contato-item:hover { border-color: var(--border-active); color: var(--grey-hi); }
.contato-item-icon { color: var(--steel-light); flex-shrink: 0; font-size: 1rem; }

.contato-form {
  background: var(--bg-0);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-header {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--grey-lo);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: var(--grey-lo);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  padding: 0.875rem 1rem;
  outline: none;
  transition: all var(--t2);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--steel-light); box-shadow: 0 0 0 2px rgba(0,128,255,0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-lo); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
.footer { background: var(--bg-0); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--ff-mono); font-size: 0.72rem; color: var(--grey-lo); }
.footer-brand strong { font-family: var(--ff-display); color: var(--grey-mid); font-weight: 700; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--grey-lo); letter-spacing: 0.05em; transition: color var(--t1); }
.footer-links a:hover { color: var(--steel-light); }

/* SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal][data-delay="5"] { transition-delay: 0.5s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contratacao-grid { grid-template-columns: repeat(3, 1fr); }
  .solucao-grid { grid-template-columns: 1fr; background: none; gap: 1.5rem; }
  .solucao-card { border: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .cobertura-layout { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .navbar-menu { display: none; }
  .menu-toggle { display: flex; }
  .navbar-menu.active {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    z-index: 499;
  }
  .navbar-menu.active .nav-link {
    padding: 0.875rem 2.5rem;
    border-bottom: 1px solid var(--border);
    clip-path: none;
  }
  .hero { min-height: 100svh; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0 4rem; }
  .hero-bg-img { width: 100%; opacity: 0.4; }
  .hero-bg-img::before { background: linear-gradient(to bottom, var(--bg-0) 0%, rgba(12,25,41,0.3) 50%, var(--bg-0) 100%); }
  .hero-visual { order: 1; }
  .hero-stats-card { backdrop-filter: blur(10px); }
  .problema-grid { grid-template-columns: 1fr 1fr; }
  .servicos-grid { grid-template-columns: 1fr; }
  .contratacao-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .cidades-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .problema-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .contratacao-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   WHATSAPP — Item de contato + FAB flutuante
   ============================================ */

/* Item na seção de contato */
.contato-item--wpp {
  text-decoration: none;
  border-color: rgba(37, 211, 102, 0.3) !important;
  background: rgba(37, 211, 102, 0.04);
  cursor: pointer;
}

.contato-item--wpp .contato-item-icon {
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-item--wpp span:last-child {
  color: var(--grey-hi);
  transition: color var(--t1);
}

.contato-item--wpp:hover {
  border-color: rgba(37, 211, 102, 0.7) !important;
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.12);
}

.contato-item--wpp:hover span:last-child {
  color: #25d366;
}

/* ---- FAB FLUTUANTE ---- */
.wpp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.875rem 1.375rem 0.875rem 1.125rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.3);
  transition: all 280ms cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  max-width: 56px; /* começa como círculo */
}

/* Expande ao hover mostrando o label */
.wpp-fab:hover {
  max-width: 260px;
  background: #20bc5a;
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55), 0 2px 12px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #fff;
}

.wpp-fab svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.wpp-fab-label {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease 60ms, transform 200ms ease 60ms;
  letter-spacing: 0.01em;
}

.wpp-fab:hover .wpp-fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* Ping de notificação */
.wpp-fab-ping {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4444;
  border: 2px solid #25d366;
  animation: wppPing 2.5s ease-in-out infinite;
}

.wpp-fab:hover .wpp-fab-ping {
  display: none;
}

@keyframes wppPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Entrada suave na página */
@keyframes wppSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wpp-fab {
  animation: wppSlideIn 0.5s cubic-bezier(.4,0,.2,1) 1s both;
}

@media (max-width: 768px) {
  .wpp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.875rem;
    border-radius: 50%;
    max-width: 56px;
  }
  .wpp-fab:hover {
    max-width: 56px;
    border-radius: 50%;
  }
  .wpp-fab-label { display: none; }
  .wpp-fab-ping { top: 4px; right: 4px; }
}
