/* ══════════════════════════════════════
   JURISFORENSE — style.css
   Versão 2.0 — com estatísticas reais e seção de necessidade
══════════════════════════════════════ */

:root {
  --navy:       #0D1B2A;
  --navy2:      #132234;
  --teal:       #1D9E75;
  --teal2:      #16775A;
  --teal-light: #E1F5EE;
  --amber:      #C8972B;
  --red:        #E53E3E;
  --red-light:  #FFF5F5;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --gray1:      #F2F4F7;
  --gray2:      #E4E8EE;
  --gray3:      #9AA5B4;
  --gray4:      #4A5568;
  --text:       #1A202C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ── UTILIDADES ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.mb-24 { margin-bottom: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 5%;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.nav-logo span { color: var(--teal); }
.btn-nav {
  background: var(--teal); color: var(--white);
  border: none; padding: 9px 20px;
  border-radius: 5px; font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--teal2); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding-top: 68px;
}
.hero-grid {
  max-width: 1100px; margin: 0 auto; padding: 72px 5% 56px;
  position: relative;
}
.hero-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-grid::after {
  content: '';
  position: absolute; top: 0; left: calc(5% - 1px);
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0.4;
}
.hero-badge {
  display: inline-block;
  background: rgba(29,158,117,0.12);
  border: 1px solid rgba(29,158,117,0.3);
  color: var(--teal);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 18px;
  max-width: 620px;
}
.hero-h1 em { color: var(--teal); font-style: normal; }

.hero-sub {
  color: var(--gray3); font-size: 1rem;
  line-height: 1.7; max-width: 520px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 13px 26px; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal2); }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 13px 26px; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ── HERO STATS ── */
.hero-stats {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 32px 5%;
}
.stats-label {
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal);
  border-left: 2px solid var(--teal);
  padding-left: 10px; margin-bottom: 24px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.stat-item {
  padding: 0 28px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-item:not(:first-child) { padding-left: 28px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--white);
  font-weight: 700; line-height: 1; margin-bottom: 8px;
}
.stat-accent { color: var(--teal); }
.stat-desc { font-size: 0.78rem; color: var(--gray3); line-height: 1.5; margin-bottom: 6px; }
.stat-source { font-size: 0.65rem; color: #4A5568; font-style: italic; }

/* ── SEÇÕES BASE ── */
.section-light { background: var(--off-white); padding: 80px 0; }
.section-white { background: var(--white); padding: 80px 0; }
.section-dark  { background: var(--navy); padding: 80px 0; }

.section-tag {
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before {
  content: ''; display: inline-block;
  width: 18px; height: 2px; background: var(--teal);
}
.section-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 10px; line-height: 1.25;
}
.section-sub {
  color: var(--gray4); font-size: 0.9rem;
  line-height: 1.7; max-width: 540px;
  margin-bottom: 36px;
}

/* ── CARDS PROBLEMA ── */
.card-prob {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-top: 3px solid var(--teal);
  border-radius: 8px; padding: 22px 20px;
}
.card-ico { font-size: 1.6rem; margin-bottom: 14px; }
.card-t { font-weight: 500; font-size: 0.9rem; color: var(--navy); margin-bottom: 8px; }
.card-d { font-size: 0.82rem; color: var(--gray4); line-height: 1.6; }

/* ── CARDS SERVIÇOS ── */
.card-serv {
  background: var(--off-white);
  border: 1px solid var(--gray2);
  border-radius: 8px; padding: 22px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.card-serv:hover { border-color: var(--teal); transform: translateY(-2px); }
.card-num {
  font-size: 0.68rem; font-weight: 700;
  color: var(--teal); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 10px;
}

/* ── STEPS ── */
.steps-list { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.step {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.step:last-child { border-bottom: none; }
.step-num {
  min-width: 36px; height: 36px; border-radius: 50%;
  background: rgba(29,158,117,0.15);
  border: 1px solid var(--teal);
  color: var(--teal); font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-t { font-weight: 500; font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.step-d { font-size: 0.82rem; color: var(--gray3); line-height: 1.6; }

/* ── NECESSIDADE / REALIDADE ── */
.reality-box {
  background: var(--navy);
  border-radius: 10px; padding: 28px 28px 24px;
  margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.reality-box::before {
  content: '';
  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: 44px 44px; pointer-events: none;
}
.reality-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--white);
  font-weight: 700; margin-bottom: 20px;
}
.reality-title em { color: var(--teal); font-style: normal; }
.reality-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--teal);
  border-radius: 6px; padding: 16px 14px;
}
.ri-ico { font-size: 1.3rem; margin-bottom: 10px; }
.ri-t { font-weight: 500; font-size: 0.85rem; color: var(--white); margin-bottom: 6px; }
.ri-d { font-size: 0.78rem; color: var(--gray3); line-height: 1.5; margin-bottom: 6px; }
.ri-src { font-size: 0.65rem; color: #4A5568; font-style: italic; }

/* ── BLOCO TITLE ── */
.block-title {
  font-weight: 500; font-size: 0.9rem; color: var(--navy);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.block-title::before {
  content: ''; display: inline-block;
  width: 3px; height: 18px; border-radius: 2px;
}
.block-title--red::before  { background: var(--red); }
.block-title--green::before { background: var(--teal); }

/* ── CARDS DIFICULDADES ── */
.card-dif {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
}
.dif-n {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}

/* ── CARDS IMPORTÂNCIA ── */
.card-imp {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: 8px; padding: 20px 18px;
}
.imp-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--teal); margin-bottom: 8px;
}

/* ── STJ BOX ── */
.stj-box {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.stj-ico {
  min-width: 34px; height: 34px; border-radius: 50%;
  background: #FEF6E4;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.stj-text { font-size: 0.82rem; color: var(--gray4); line-height: 1.6; }
.stj-text strong { color: var(--navy); font-weight: 500; }
.stj-source { font-size: 0.68rem; color: var(--gray3); margin-top: 5px; font-style: italic; }

/* ── CTA FINAL ── */
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.btn-wpp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 15px 32px; border-radius: 6px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-wpp:hover { background: #1ebe59; }
.cta-note { color: #4A5568; font-size: 0.78rem; margin-top: 16px; }

/* ── FOOTER ── */
footer { background: #070F18; padding: 24px 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--white); font-weight: 700;
}
.footer-logo span { color: var(--teal); }
.footer-copy { font-size: 0.75rem; color: #4A5568; }

/* ── BOTÃO WPP FLUTUANTE ── */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  z-index: 99; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wpp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  .hero-h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .stat-item { padding: 0 0 20px 0 !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .reality-box .grid-3 { grid-template-columns: 1fr; }
  .section-light, .section-white, .section-dark { padding: 52px 0; }
  .stj-box { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
