/* ── Variables ── */
:root {
  --navy-deep:    #0b1628;
  --navy-card:    #14213d;
  --navy-hover:   #1a2d4a;
  --navy-primary: #1e3a5f;
  --blue-accent:  #378ADD;
  --blue-light:   #85B7EB;
  --gray-light:   #e8edf4;
  --gray-mid:     #94a3b8;
  --text-primary: #f1f5f9;
  --text-dark:    #0d1421;
  --border:       rgba(55,138,221,0.15);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--navy-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

.badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── Buttons ── */
.btn-primary {
  background: var(--blue-accent);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--blue-light);
  border-radius: 8px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--blue-accent); color: var(--blue-accent); }

/* ── Header ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(11,22,40,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.header-logo img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  mix-blend-mode: screen;
}
.logo-fallback {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-primary);
  border: 1.5px solid var(--blue-accent);
  align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-accent);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-fallback.show { display: flex; }
.header-logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.header-logo-text span {
  display: block;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--gray-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.header-nav a {
  font-size: 0.9rem;
  color: var(--gray-mid);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--text-primary); }
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.linkedin-icon {
  display: flex;
  align-items: center;
  color: var(--blue-light);
  transition: color 0.15s;
}
.linkedin-icon:hover { color: var(--blue-accent); }
.linkedin-icon svg { width: 20px; height: 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy-card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 899;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  color: var(--text-primary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

/* ── Hero ── */
#hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(55,138,221,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,138,221,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(55,138,221,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  background: rgba(55,138,221,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(55,138,221,0.25);
  margin-bottom: 1.5rem;
}
.hero-title {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.hero-title em {
  font-style: normal;
  color: var(--blue-accent);
}
.hero-sub {
  max-width: 560px;
  color: var(--gray-mid);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Numbers ── */
#numeros {
  background: var(--gray-light);
  padding: 3.5rem 0;
}
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.numero-item strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.numero-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.75;
}

/* ── O que resolvo ── */
#resolvo {
  background: var(--navy-deep);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p { color: var(--gray-mid); max-width: 520px; margin: 0 auto; }

.resolvo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.resolvo-card {
  background: var(--navy-card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: background 0.2s, border-color 0.2s;
}
.resolvo-card:hover {
  background: var(--navy-hover);
  border-color: var(--blue-accent);
}
.resolvo-icon {
  width: 44px;
  height: 44px;
  background: rgba(55,138,221,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-accent);
}
.resolvo-icon svg { width: 22px; height: 22px; }
.resolvo-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; font-weight: 600; }
.resolvo-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.55; }
.resolvo-benefit {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.resolvo-benefit::before {
  content: '→';
  color: var(--blue-accent);
}

/* ── Projetos ── */
#projetos {
  background: var(--gray-light);
}
#projetos .section-header h2 { color: var(--text-dark); }
#projetos .section-header p { color: #64748b; }

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filtro-chip {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
}
.filtro-chip:hover { border-color: var(--blue-accent); color: var(--blue-accent); }
.filtro-chip.active {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: #fff;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.projeto-card {
  background: var(--navy-card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.projeto-card:hover {
  background: var(--navy-hover);
  border-color: var(--blue-accent);
  transform: translateY(-2px);
}
.projeto-card.hidden { display: none; }
.projeto-nome {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.projeto-problema {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.55;
  flex-grow: 1;
}
.projeto-resultado {
  font-size: 0.82rem;
  color: var(--blue-light);
  padding: 0.5rem 0.75rem;
  background: rgba(55,138,221,0.08);
  border-radius: 6px;
  border-left: 2px solid var(--blue-accent);
  line-height: 1.45;
}
.projeto-link {
  font-size: 0.82rem;
  color: var(--blue-accent);
  font-weight: 500;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Badges */
.badge-financeiro   { background: rgba(55,138,221,0.15); color: #85B7EB; }
.badge-operacoes    { background: rgba(100,116,139,0.15); color: #94a3b8; }
.badge-fiscal       { background: rgba(234,179,8,0.15);  color: #fbbf24; }
.badge-inteligencia { background: rgba(139,92,246,0.15); color: #c4b5fd; }
.badge-rh           { background: rgba(29,158,117,0.15); color: #5DCAA5; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.22s;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: var(--gray-mid);
  font-size: 1.2rem;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }

.modal h2 { margin-bottom: 0.5rem; font-size: 1.3rem; padding-right: 2rem; }
.modal-context { font-size: 0.88rem; color: var(--gray-mid); margin-bottom: 1.25rem; line-height: 1.6; }
.modal-section-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}
.modal-construido { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.65; white-space: pre-line; }
.modal-beneficios { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.modal-beneficios li {
  font-size: 0.88rem;
  color: var(--text-primary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.modal-beneficios li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.8rem;
}
.modal-resultado {
  background: rgba(55,138,221,0.08);
  border: 1px solid rgba(55,138,221,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--blue-light);
  line-height: 1.5;
}
.modal-cta { margin-top: 1.5rem; }

/* ── Como Funciona ── */
#como-funciona {
  background: var(--navy-deep);
}
.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
.passos-grid::before {
  content: '';
  position: absolute;
  top: 2.6rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(55,138,221,0.3), rgba(55,138,221,0.1) 50%, rgba(55,138,221,0.3));
  pointer-events: none;
}
.passo {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.passo:hover { border-color: rgba(55,138,221,0.3); }

.passo-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-accent);
  background: rgba(55,138,221,0.1);
  border: 1px solid rgba(55,138,221,0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.passo-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 0.15rem;
}
.passo h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.passo p { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.65; }
.passo-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.passo-lista li {
  font-size: 0.8rem;
  color: var(--gray-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.passo-lista li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── CTA Final ── */
#cta {
  background: var(--navy-primary);
  padding: 5rem 0;
}
#cta .container { text-align: center; }
#cta h2 { max-width: 600px; margin: 0 auto 1rem; }
#cta p {
  color: rgba(241,245,249,0.65);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-small {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(241,245,249,0.45);
}

/* ── Sobre ── */
#sobre { padding: 5rem 0; }
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
.sobre-texto h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--off-white);
  margin: 0.5rem 0 1.25rem;
  line-height: 1.3;
}
.sobre-texto p {
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.sobre-lista {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.sobre-lista li {
  font-size: 0.88rem;
  color: var(--gray-mid);
  padding-left: 1.4rem;
  position: relative;
}
.sobre-lista li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
}
.sobre-contato {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.sobre-email {
  font-size: 0.84rem;
  color: var(--blue-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.sobre-email:hover { opacity: 1; }

/* Card lateral */
.sobre-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.sobre-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid var(--blue-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 0.5rem;
}
.sobre-info-nome {
  font-family: 'Sora', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--off-white);
}
.sobre-info-cargo {
  font-size: 0.75rem;
  color: var(--blue-light);
  letter-spacing: 0.03em;
}
.sobre-info-local {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.73rem;
  color: var(--gray-mid);
  margin-top: 0.25rem;
}
.sobre-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}
.sobre-stat-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.sobre-stat {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
}
.sobre-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem; font-weight: 300;
  color: var(--blue-accent);
  line-height: 1;
}
.sobre-stat-label {
  font-size: 0.65rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sobre-linkedin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--blue-light);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}
.sobre-linkedin:hover { border-color: var(--blue-accent); color: var(--off-white); }

@media (max-width: 768px) {
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-card { max-width: 340px; margin: 0 auto; }
}

/* ── Rodapé ── */
#rodape {
  background: #070f1d;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}
.rodape-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.rodape-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.rodape-logo img { width: 34px; height: 34px; border-radius: 50%; mix-blend-mode: screen; }
.rodape-nome {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.rodape-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.rodape-links a {
  font-size: 0.88rem;
  color: var(--gray-mid);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rodape-links a:hover { color: var(--blue-accent); }
.rodape-links svg { width: 16px; height: 16px; }
.rodape-links .linkedin-rodape svg { width: 22px; height: 22px; }

/* WhatsApp — verde característico harmonizado com a paleta */
.whatsapp-link { color: var(--gray-mid) !important; }
.whatsapp-link:hover { color: #4ade80 !important; }
.whatsapp-logo { width: 20px !important; height: 20px !important; transition: color 0.15s; }
.rodape-tagline {
  font-size: 0.82rem;
  color: var(--gray-mid);
  opacity: 0.7;
}
.rodape-domain {
  font-size: 0.78rem;
  color: rgba(148,163,184,0.4);
}
.rodape-lgpd {
  font-size: 0.72rem;
  color: rgba(148,163,184,0.35);
  margin-top: 0.35rem;
}
.rodape-lgpd a {
  color: rgba(133,183,235,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.rodape-lgpd a:hover { color: var(--blue-light); }

/* ── Botão flutuante WhatsApp ── */
.chat-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 850;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
}
.chat-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ── Overlay painel ── */
#chatOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 859;
}
#chatOverlay.open { display: block; }

/* ── Painel formulário ── */
.chat-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 390px;
  background: var(--navy-card);
  border-left: 1px solid var(--border);
  z-index: 860;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.chat-panel.open { transform: translateX(0); }

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--navy-primary);
}
.chat-header img { width: 34px; height: 34px; border-radius: 50%; mix-blend-mode: screen; }
.chat-header-info { flex-grow: 1; }
.chat-header-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.chat-header-status {
  font-size: 0.7rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}
.chat-header-status::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  display: block;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.chat-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.chat-close:hover {
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.4);
  color: #f87171;
}

/* ── Corpo do formulário ── */
.wf-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.wf-body::-webkit-scrollbar { width: 4px; }
.wf-body::-webkit-scrollbar-track { background: transparent; }
.wf-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.wf-intro {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.6;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.wf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wf-field label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-primary);
}
.wf-req { color: var(--blue-accent); }

.wf-field input,
.wf-field select,
.wf-field textarea {
  background: var(--navy-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.wf-field input:focus,
.wf-field select:focus,
.wf-field textarea:focus { border-color: var(--blue-accent); }
.wf-field input::placeholder,
.wf-field textarea::placeholder { color: var(--gray-mid); }
.wf-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.wf-field select option { background: #14213d; }
.wf-field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }

.wf-err {
  font-size: 0.78rem;
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  display: none;
}
.wf-err.show { display: block; }

.wf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
  width: 100%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}
.wf-submit:hover { opacity: 0.9; transform: translateY(-1px); }

.wf-note {
  font-size: 0.72rem;
  color: var(--gray-mid);
  text-align: center;
  line-height: 1.5;
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-right .btn-primary { display: none; }

  .numeros-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .numero-item strong { font-size: 1.5rem; }
  .numero-item p { font-size: 0.78rem; }

  .resolvo-grid { grid-template-columns: 1fr; }
  .passos-grid { grid-template-columns: 1fr; }

  .chat-panel { width: 100%; }
}

@media (max-width: 480px) {
  .numeros-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
