/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #0055E5; border-radius: 99px; }

/* Acessibilidade: foco visível em todos os elementos interativos */
:focus-visible {
  outline: 3px solid #0055E5;
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================
   TOKENS
   ============================================= */
:root {
  --navy:    #081F4D;
  --blue:    #0055E5;
  --blue2:   #0EA5E9;
  --cyan:    #06B6D4;
  --white:   #FFFFFF;
  --bg:      #F8FAFF;
  --bg2:     #EEF2FF;
  --text:    #0F172A;
  --muted:   #64748B;
  --border:  #E2E8F0;
  --radius:  14px;
  --radius2: 22px;
  --shadow:  0 4px 24px rgba(0,85,229,0.08);
  --shadow2: 0 12px 48px rgba(0,85,229,0.14);
  --tr: 0.3s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   NAVBAR
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow var(--tr);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-logo img { height: 56px; width: auto; }

.nav-menu {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-menu a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: color var(--tr);
  letter-spacing: -0.01em;
}
.nav-menu a:hover { color: var(--blue); }

.nav-btn {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: -0.01em;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr) !important;
}
.nav-btn:hover {
  background: #0044CC !important;
  box-shadow: 0 6px 20px rgba(0,85,229,0.35) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  /* Acessibilidade: área de toque mínima de 44px */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--tr);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  padding: 100px 6% 72px;
  display: flex; align-items: center; justify-content: center; gap: 64px;
  flex-direction: column;
  background: linear-gradient(160deg, #F0F4FF 0%, #FFFFFF 55%, #F0F9FF 100%);
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,85,229,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left { flex: none; width: 100%; max-width: 720px; text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,85,229,0.07);
  border: 1px solid rgba(0,85,229,0.15);
  color: var(--blue);
  padding: 7px 16px; border-radius: 99px;
  font-size: 0.775rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  animation: pulseAnim 1.8s infinite;
}
@keyframes pulseAnim {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 22px;
  animation: fadeUp .7s .08s ease both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(130deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem; line-height: 1.7; color: var(--muted);
  max-width: 620px; margin: 0 auto 40px;
  animation: fadeUp .7s .16s ease both;
  font-weight: 400;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .7s .24s ease both;
}

.btn-main {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff;
  padding: 15px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: -0.01em;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
  box-shadow: 0 4px 20px rgba(0,85,229,0.3);
}
.btn-main:hover {
  background: #0044CC; transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,85,229,0.4);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--navy);
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.btn-ghost:hover {
  border-color: var(--blue); background: rgba(0,85,229,0.04);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex; gap: 40px; margin-top: 52px; justify-content: center;
  animation: fadeUp .7s .32s ease both;
}
.hero-stat strong {
  display: block;
  font-size: 1.9rem; font-weight: 800;
  color: var(--blue); letter-spacing: -0.03em; line-height: 1;
}
.hero-stat span {
  font-size: 0.78rem; color: var(--muted); margin-top: 5px; display: block;
  font-weight: 500;
}

/* ── Dashboard mockup ── */
.hero-right {
  flex: 1; display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 1;
  animation: fadeUp .8s .28s ease both;
}

.mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 24px;
  width: 100%; max-width: 500px;
  box-shadow: 0 24px 80px rgba(0,85,229,0.12), 0 4px 16px rgba(0,0,0,0.06);
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #F87171; }
.mock-dot:nth-child(2) { background: #FBBF24; }
.mock-dot:nth-child(3) { background: #34D399; }
.mock-label {
  margin-left: 8px; font-size: 0.72rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.05em;
}

.mock-kpis {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px;
}
.kpi {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 12px;
}
.kpi-l { font-size: 0.65rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.kpi-v { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.kpi-v.g { color: #16A34A; }
.kpi-v.b { color: var(--blue); }
.kpi-t { font-size: 0.65rem; margin-top: 3px; color: #16A34A; font-weight: 600; }
.kpi-t.r { color: #DC2626; }

.mock-chart {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 14px 10px;
  display: flex; align-items: flex-end; gap: 5px;
  height: 100px; margin-bottom: 10px; overflow: hidden;
}
.mbar {
  flex: 1; border-radius: 4px 4px 0 0;
  animation: barRise 1.2s ease both; transform-origin: bottom;
}
@keyframes barRise { from { transform:scaleY(0); opacity:0; } to { transform:scaleY(1); opacity:1; } }
.mbar:nth-child(1){ height:38%; background:#C7D2FE; animation-delay:.08s; }
.mbar:nth-child(2){ height:60%; background:#818CF8; animation-delay:.14s; }
.mbar:nth-child(3){ height:48%; background:#C7D2FE; animation-delay:.2s; }
.mbar:nth-child(4){ height:76%; background:var(--blue); animation-delay:.26s; }
.mbar:nth-child(5){ height:55%; background:#818CF8; animation-delay:.32s; }
.mbar:nth-child(6){ height:88%; background:var(--blue); animation-delay:.38s; }
.mbar:nth-child(7){ height:68%; background:#818CF8; animation-delay:.44s; }
.mbar:nth-child(8){ height:94%; background:linear-gradient(180deg,var(--cyan),var(--blue)); animation-delay:.5s; }

.mock-row { display: grid; grid-template-columns:1fr 1fr; gap:10px; }
.mock-mini {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.mini-title { font-size: 0.65rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }

.mini-bars { display: flex; flex-direction: column; gap: 6px; }
.mini-row { display: flex; align-items: center; gap: 7px; }
.mini-track { flex:1; height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; }
.mini-fill {
  height:100%; border-radius:99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: fillAnim 1.5s ease both;
}
@keyframes fillAnim { from { width:0 !important; } }
.mini-pct { font-size: 0.65rem; color: var(--muted); font-weight: 600; width: 26px; text-align:right; }

.donut-wrap { display:flex; align-items:center; justify-content:center; padding-top:4px; }
.donut {
  width:56px; height:56px; border-radius:50%;
  background: conic-gradient(var(--blue) 0% 68%, var(--border) 68% 100%);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.donut::before { content:''; position:absolute; inset:11px; border-radius:50%; background:var(--bg); }
.donut-n { position:relative; z-index:1; font-size:0.75rem; font-weight:800; color:var(--navy); }

/* =============================================
   SEÇÃO GENÉRICA
   ============================================= */
section { padding: 96px 6%; }

.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,85,229,0.07);
  padding: 5px 14px; border-radius: 99px;
  margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; color: var(--navy);
  margin-bottom: 14px;
}
.sec-title em {
  font-style: normal;
  background: linear-gradient(130deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.sec-sub {
  font-size: 1rem; line-height: 1.7; color: var(--muted);
  font-weight: 400;
}

.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .sec-sub { max-width: 560px; margin: 0 auto; }

/* =============================================
   PROBLEMAS
   ============================================= */
.problems { background: var(--bg); }

/* FIX 1: Grid fixo de 3 colunas no desktop, 1 coluna no mobile */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prob-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.prob-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
  border-color: rgba(0,85,229,0.2);
}
.prob-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink:0;
  background: #FEF2F2; border: 1px solid #FECACA;
  display: flex; align-items:center; justify-content:center;
  font-size: 1.15rem;
  /* Acessibilidade: aria-hidden nos emojis decorativos no HTML é recomendado */
}
.prob-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.prob-card p  { font-size: 0.83rem; line-height: 1.6; color: var(--muted); }

/* =============================================
   SOLUÇÕES
   ============================================= */
.solutions { background: var(--white); }

.sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.sol-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.sol-card::after {
  content: '';
  position: absolute; top:0; left:0; right:0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--tr);
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow2);
  border-color: rgba(0,85,229,0.15);
}
.sol-card:hover::after { transform: scaleX(1); }

.sol-ico {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  background: var(--bg2); display: flex; align-items:center; justify-content:center;
  font-size: 1.45rem;
}
.sol-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 9px;
}
.sol-card p { font-size: 0.85rem; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.sol-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.sol-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text); font-weight: 500;
}
.sol-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink:0;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diffs { background: var(--bg); }

.diff-wrap {
  max-width: 800px; margin: 0 auto;
}
.diff-items { display: flex; flex-direction: column; gap: 16px; }
.diff-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.diff-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.diff-n {
  font-size: 0.7rem; font-weight: 800; color: var(--blue);
  background: var(--bg2); padding: 5px 10px;
  border-radius: 7px; flex-shrink:0; letter-spacing: 0.04em;
}
.diff-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.diff-item p  { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* =============================================
   AUTORIDADE
   ============================================= */
.authority { background: var(--white); }

.auth-wrap {
  max-width: 700px; margin: 0 auto;
}
.auth-list { display: flex; flex-direction: column; gap: 12px; }
.auth-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--bg); border-radius: 10px;
  border-left: 3px solid var(--blue);
  transition: transform var(--tr);
}
.auth-item:hover { transform: translateX(5px); }
.auth-ico { font-size: 1.1rem; flex-shrink:0; }
.auth-item p { font-size: 0.88rem; color: var(--navy); font-weight: 500; }

/* =============================================
   PROCESSO
   ============================================= */
.process { background: var(--bg); }

.proc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.proc-grid::before {
  content: '';
  position: absolute; top: 36px; left: calc(100%/12); right: calc(100%/12);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 0;
}

/* FIX 3: Espaçamento uniforme via gap no grid, sem margin-bottom manual */
.proc-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 10px;
  position: relative; z-index: 1;
  /* removido margin-bottom: 48px — agora controlado pelo gap do grid pai */
}
.proc-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--bg);
  transition: background var(--tr), box-shadow var(--tr);
}
.proc-step:hover .proc-circle {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px rgba(0,85,229,0.3);
}
.proc-step:hover .proc-ico { filter: brightness(10); }
.proc-step:hover .proc-num { filter: brightness(10); }
.proc-ico { font-size: 1.2rem; }
.proc-num { font-size: 0.55rem; font-weight: 800; color: var(--blue); letter-spacing: .05em; }
.proc-name { font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.proc-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* =============================================
   CTA FINAL
   ============================================= */
.cta-sec {
  background: linear-gradient(135deg, var(--navy) 0%, #0D3080 60%, #0055E5 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(6,182,212,0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(0,85,229,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-sec .tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.cta-sec .sec-title { color: var(--white); max-width: 680px; margin: 0 auto 16px; }
.cta-sec .sec-title em {
  background: linear-gradient(130deg, #7DD3FC, #38BDF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-sec > .wrap > p {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.7;
}
.cta-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); color: var(--blue);
  padding: 15px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em;
  transition: transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.3); }
.btn-outline-w {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--white);
  padding: 14px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.btn-outline-w:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 500;
}
.trust-item .ck { color: #4ADE80; font-size: 0.9rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #F0F4FF;
  padding: 40px 6% 32px;
  border-top: 1px solid rgba(0,85,229,0.1);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; align-items: stretch;
}
.footer-brand { display: grid; grid-template-rows: auto 1fr; }
.footer-brand img { height: 60px; margin: 0; display: block; align-self: start; }
.footer-brand p {
  font-size: 0.85rem; color: #64748B;
  line-height: 1.65; max-width: 320px; margin-bottom: 0;
  align-self: end;
}
.soc { display: flex; gap: 10px; }
.soc-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(0,85,229,0.07); border: 1px solid rgba(0,85,229,0.15);
  display: flex; align-items:center; justify-content:center;
  font-size: 0.8rem; color: var(--blue);
  transition: background var(--tr), border-color var(--tr), color var(--tr);
  font-weight: 700;
}
.soc-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-col { display: flex; flex-direction: column; justify-content: space-between; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #94A3B8; margin-bottom: 18px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a {
  font-size: 0.85rem; color: #475569;
  transition: color var(--tr);
}
.footer-col ul a:hover { color: var(--blue); }
.footer-bot {
  border-top: 1px solid rgba(0,85,229,0.1);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bot p { font-size: 0.78rem; color: #94A3B8; }

/* =============================================
   WHATSAPP FLUTUANTE
   ============================================= */
.wa {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wa-tip {
  background: #EEF2FF;
  color: var(--navy);
  border: 1px solid rgba(0,85,229,0.15);
  font-size: 0.8rem; font-weight: 600;
  padding: 9px 15px; border-radius: 10px 10px 0 10px;
  box-shadow: 0 6px 24px rgba(0,85,229,0.12);
  white-space: nowrap;
  animation: popIn .6s 2.5s ease both; opacity:0;
}
@keyframes popIn {
  0%   { opacity:0; transform:translateY(8px); }
  60%  { opacity:1; transform:translateY(-2px); }
  100% { opacity:1; transform:translateY(0); }
}
.wa-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items:center; justify-content:center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: transform var(--tr), box-shadow var(--tr);
  animation: waPulse 2.2s infinite;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  animation: none;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* =============================================
   MODAL
   ============================================= */
.overlay {
  position: fixed; inset:0; background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px); z-index: 2000;
  display: flex; align-items:center; justify-content:center; padding: 20px;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.overlay.on { opacity:1; pointer-events:all; }
.modal {
  background: var(--white); border-radius: var(--radius2);
  padding: 44px 38px; max-width: 480px; width:100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  transform: translateY(18px); transition: transform .3s ease;
  position: relative;
}
.overlay.on .modal { transform: translateY(0); }
.modal-x {
  position: absolute; top:16px; right:18px;
  background:none; border:none; font-size:1.3rem;
  color: var(--muted); cursor:pointer; line-height:1;
  transition: color var(--tr);
  /* Acessibilidade: área mínima de toque */
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.modal-x:hover { color: var(--navy); }
.modal h3 {
  font-size: 1.45rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.03em; margin-bottom: 6px;
}
.modal > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 28px; line-height:1.6; }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.fg input, .fg select {
  width:100%; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.fg input:focus, .fg select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,85,229,0.1);
}
.f-submit {
  width:100%; margin-top:6px; padding: 14px;
  background: var(--blue); color:#fff; border:none;
  border-radius: 10px; font-family:inherit; font-size:.95rem;
  font-weight:700; cursor:pointer; letter-spacing:-0.01em;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.f-submit:hover {
  background: #0044CC; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,85,229,0.35);
}

/* =============================================
   WRAPPER CENTRAL
   ============================================= */
.wrap { position: relative; z-index: 1; }

/* =============================================
   ANIMAÇÕES DE ENTRADA
   ============================================= */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
.reveal { opacity:0; transform:translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:translateY(0); }

/* Acessibilidade: desativa animações para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================
   RESPONSIVE — 1024px (tablet landscape)
   ============================================= */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: repeat(3, 1fr); }
  .proc-grid::before { display: none; }
  /* Prob-grid mantém 3 colunas até 768px */
}

/* =============================================
   RESPONSIVE — 768px (tablet / mobile grande)
   ============================================= */
@media (max-width: 768px) {
  .sol-grid { grid-template-columns: 1fr !important; }

  /* Menu mobile — simples e direto */
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;

    position: fixed;
    top: 68px;
    right: 12px;
    left: auto;

    width: 240px;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
  .hamburger {
    display: flex;
    z-index: 1002;
    position: relative;
  }
  .nav-menu.open li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open li:last-child {
    border-bottom: none;
    padding: 20px 6%;
  }
  .nav-menu.open a {
    display: block;
    padding: 18px 6%;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
  }
  .nav-menu.open a:active { color: var(--blue); }
  .nav-menu.open .nav-btn {
    display: block !important;
    text-align: center !important;
    padding: 16px !important;
    background: var(--blue) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    width: 100% !important;
  }

  section { padding: 64px 5%; }

  /* FIX 1 continuação: prob-grid 1 coluna no mobile */
  .prob-grid { grid-template-columns: 1fr; }

  /* FIX 3: proc-grid 2 colunas em tablet, gap uniforme */
  .proc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .modal { padding: 32px 22px; }
}

/* =============================================
   RESPONSIVE — 480px (mobile pequeno)
   ============================================= */
@media (max-width: 480px) {
  /* FIX 3: proc-grid 1 coluna no mobile pequeno, gap uniforme */
  .proc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-main, .btn-ghost { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-white, .btn-outline-w { width: 100%; justify-content: center; }

  /* Trust row empilha melhor em telas pequenas */
  .trust-row { gap: 14px; flex-direction: column; align-items: center; }

  /* Footer bottom empilha */
  .footer-bot { flex-direction: column; text-align: center; }
}

/* Hero centralizado — ocultar mockup lateral */
.hero-right { display: none !important; }
.hero { min-height: auto !important; padding-bottom: 80px !important; }