/* =========================================================
   PMV Advogados — folha de estilo principal
   Paleta e medidas centralizadas nas variáveis abaixo
   ========================================================= */

:root{
  /* Marca */
  --brand-500:#2166d8;
  --brand-600:#1a56b8;
  --brand-700:#13479c;
  --brand-800:#0f3c85;
  --brand-050:#e9f0fb;
  --brand-100:#dce8f9;

  /* Texto */
  --ink:#10203a;
  --ink-2:#1d2d45;
  --muted:#5d6b7e;
  --muted-2:#7b8798;
  --muted-3:#9aa5b4;

  /* Superfícies */
  --white:#ffffff;
  --bg:#f7f9fc;
  --bg-2:#f3f6fa;
  --bg-3:#eef3fa;
  --border:#e4e9f1;
  --border-2:#dde4ee;

  /* Estados */
  --good:#2f855a;
  --bad:#c0392f;
  --star:#f5a623;

  /* Layout */
  --container:1180px;
  --radius:10px;
  --radius-lg:14px;
  --shadow-sm:0 1px 2px rgba(16,32,58,.05);
  --shadow:0 4px 18px rgba(16,32,58,.07);

  --font-head:"Plus Jakarta Sans","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter","Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.6;
  color:var(--ink-2);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}

h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);margin:0;letter-spacing:-.02em}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}

.ic{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic-fill{fill:currentColor;stroke:none}

/* ===================== Cabeçalho ===================== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(247,249,252,.9);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:60px;gap:24px}

.logo{display:flex;align-items:center;gap:9px}
.logo-mark{
  width:26px;height:26px;border-radius:8px;
  background:var(--brand-600);color:#fff;
  display:grid;place-items:center;font-size:15px;
}
.logo-text{font-family:var(--font-head);font-weight:800;font-size:17px;color:var(--ink);letter-spacing:-.03em}
.logo-text span{color:var(--brand-600)}

.nav{display:flex;align-items:center;gap:26px}
.nav a{font-size:13.5px;color:var(--ink-2);font-weight:500;transition:color .15s}
.nav a:hover{color:var(--brand-600)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid transparent;border-radius:8px;cursor:pointer;
  font-family:var(--font-head);font-weight:700;font-size:13px;letter-spacing:-.01em;
  padding:9px 16px;transition:background .15s,color .15s,border-color .15s;
}
.btn-primary{background:var(--brand-600);color:#fff}
.btn-primary:hover{background:var(--brand-700)}
.btn-light{background:#fff;color:var(--brand-700);border-color:#fff}
.btn-light:hover{background:#eef3fb}
.btn-ghost-light{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35)}
.btn-ghost-light:hover{background:rgba(255,255,255,.2)}
.btn-lg{padding:12px 22px;font-size:14px}
.btn .ic{font-size:15px}

.nav-toggle{display:none;background:none;border:1px solid var(--border-2);border-radius:8px;padding:7px 9px;color:var(--ink);cursor:pointer}

/* ===================== Hero ===================== */
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(900px 340px at 50% -60px,rgba(33,102,216,.14),transparent 70%),
    linear-gradient(180deg,#eaf1fc 0%,#f4f8fd 46%,#ffffff 100%);
  padding:72px 0 56px;
  text-align:center;
}
.badge-pill{
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;border:1px solid var(--brand-100);
  color:var(--brand-700);border-radius:999px;
  padding:6px 15px;font-size:10.5px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;
  box-shadow:var(--shadow-sm);
}
.badge-pill .ic{font-size:12px}

.hero h1{
  margin:26px auto 0;max-width:720px;
  font-size:clamp(32px,4.2vw,50px);font-weight:800;line-height:1.16;
}
.hero h1 em{font-style:normal;color:var(--brand-500)}

.hero-sub{
  margin:22px auto 0;max-width:470px;
  color:var(--muted);font-size:15.5px;line-height:1.62;
}

.search{display:flex;justify-content:center;gap:10px;margin:30px auto 0;flex-wrap:wrap}
.search-field{
  display:flex;align-items:center;gap:9px;
  background:#fff;border:1px solid var(--border-2);border-radius:9px;
  padding:0 14px;height:42px;width:330px;max-width:100%;
  box-shadow:var(--shadow-sm);
}
.search-field .ic{font-size:15px;color:var(--muted-3)}
.search-field input{border:0;outline:0;background:none;width:100%;font-size:13.5px;color:var(--ink-2)}
.search-field input::placeholder{color:var(--muted-3)}
.search .btn{height:42px;padding:0 22px}

.hero-features{
  display:flex;justify-content:center;flex-wrap:wrap;
  gap:56px;margin-top:42px;
}
.feature{display:flex;align-items:center;gap:12px;text-align:left}
.feature-icon{
  width:38px;height:38px;border-radius:10px;
  background:var(--brand-050);color:var(--brand-600);
  display:grid;place-items:center;font-size:18px;
}
.feature-title{font-family:var(--font-head);font-weight:700;font-size:14.5px;color:var(--ink);line-height:1.3}
.feature-sub{font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);font-weight:600;margin-top:2px}

/* ===================== Marquee ===================== */
.marquee{
  background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  overflow:hidden;padding:9px 0;
}
.marquee-track{display:flex;width:max-content;animation:marquee 46s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-group{display:flex;align-items:center;gap:34px;padding-right:34px}
.marquee-item{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;color:var(--muted-2);white-space:nowrap}
.marquee-item .ic{font-size:12px;color:var(--muted-3)}
@keyframes marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media (prefers-reduced-motion:reduce){.marquee-track{animation:none}}

/* ===================== Seções genéricas ===================== */
.section{padding:64px 0}
.section-tint{background:var(--bg-2)}
.section-soft{background:var(--bg)}
.section-head{text-align:center;max-width:640px;margin:0 auto 34px}
.section-head h2{font-size:clamp(24px,2.6vw,30px);font-weight:800;line-height:1.25}
.section-head p{margin:10px 0 0;color:var(--muted);font-size:14px}
.section-meta{margin:6px 0 0;font-size:12px;color:var(--muted-3)}

/* ===================== Filtros ===================== */
.filters{background:#fff;padding:34px 0 26px;text-align:center}
.filters h3{font-size:16px;font-weight:800;margin-bottom:18px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
.chip{
  background:#fff;border:1px solid var(--border-2);border-radius:8px;
  padding:8px 15px;font-size:12.5px;font-weight:600;color:var(--ink-2);
  cursor:pointer;transition:all .15s;font-family:var(--font-head);
}
.chip:hover{border-color:var(--brand-100);color:var(--brand-600)}
.chip.is-active{background:var(--brand-600);border-color:var(--brand-600);color:#fff}
.chip-wrap{position:relative;display:inline-flex}
.chip-soon{background:var(--bg-2);border-color:var(--border);color:var(--muted-3);cursor:not-allowed}
.chip-soon:hover{border-color:var(--border);color:var(--muted-3)}
.chip-tag{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  font-size:9px;color:var(--muted-3);white-space:nowrap;
}

/* ===================== Cards de guias ===================== */
.guides{display:flex;flex-direction:column;gap:20px}
.guide{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:24px 26px 22px;box-shadow:var(--shadow-sm);
  transition:box-shadow .18s,border-color .18s;
}
.guide:hover{box-shadow:var(--shadow);border-color:var(--border-2)}
.guide-top{display:flex;gap:18px;align-items:flex-start}

.guide-rank{width:52px;flex:none;text-align:center;padding-top:2px}
.guide-rank b{display:block;font-family:var(--font-head);font-size:30px;font-weight:800;color:var(--brand-600);line-height:1}
.guide-rank span{display:block;font-size:12px;color:var(--muted-2);margin-top:4px;font-weight:600}

.guide-head{flex:1;min-width:0}
.guide-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.guide-title{font-size:17px;font-weight:800;line-height:1.3}
.pill{
  border:1px solid var(--brand-100);background:var(--brand-050);color:var(--brand-700);
  border-radius:999px;padding:2px 10px;font-size:10.5px;font-weight:700;font-family:var(--font-head);
}
.stars{display:flex;gap:2px;margin-top:7px;color:var(--star);font-size:13px}
.stars .off{color:#dfe4ec}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.tag{
  border:1px solid var(--border-2);border-radius:6px;background:#fff;
  padding:2px 9px;font-size:10.5px;color:var(--muted);font-weight:600;
}

.guide-points{
  display:grid;grid-template-columns:1fr 1fr;gap:6px 48px;
  margin-top:18px;
}
.point{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.point .ic{font-size:14px;margin-top:2px}
.point.pro .ic{color:var(--good)}
.point.con .ic{color:var(--bad)}

.guide-foot{display:flex;justify-content:flex-end;margin-top:16px}

.guides-cta{display:flex;justify-content:center;margin-top:30px}
.guides-empty{
  display:none;text-align:center;color:var(--muted-2);font-size:14px;
  background:#fff;border:1px dashed var(--border-2);border-radius:var(--radius-lg);padding:34px 20px;
}
.guides-empty.is-visible{display:block}

/* ===================== Tabela comparativa ===================== */
.table-wrap{
  border:1px solid var(--border);border-radius:var(--radius-lg);
  background:#fff;overflow:hidden;box-shadow:var(--shadow-sm);
}
.table-scroll{overflow-x:auto}
table.compare{width:100%;border-collapse:collapse;min-width:700px}
table.compare th,table.compare td{
  padding:14px 18px;font-size:13.5px;text-align:center;
  border-bottom:1px solid var(--border);
}
table.compare thead th{
  font-family:var(--font-head);font-weight:700;color:var(--ink);font-size:13.5px;
  background:#fff;
}
table.compare th:first-child,table.compare td:first-child{text-align:left;color:var(--ink-2);font-weight:500}
table.compare tbody td{color:var(--muted)}
table.compare tbody tr:last-child td{border-bottom:0}
table.compare tr.row-strong td{background:var(--brand-050);color:var(--brand-700);font-weight:700}
table.compare tr.row-strong td:first-child{color:var(--ink)}

/* ===================== Metodologia ===================== */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.step{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:22px 22px 24px;box-shadow:var(--shadow-sm);
}
.step-top{display:flex;align-items:center;gap:10px}
.step-icon{
  width:32px;height:32px;border-radius:9px;background:var(--brand-050);
  color:var(--brand-600);display:grid;place-items:center;font-size:16px;
}
.step-num{font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--muted-2)}
.step h3{font-size:15px;font-weight:800;margin-top:16px}
.step p{margin:9px 0 0;font-size:13px;color:var(--muted);line-height:1.6}

.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px}
.pillar{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:20px;text-align:center;box-shadow:var(--shadow-sm);
}
.pillar b{display:block;font-family:var(--font-head);font-size:21px;font-weight:800;color:var(--brand-600);letter-spacing:-.02em}
.pillar span{display:block;margin-top:5px;font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted-2);font-weight:600}

/* ===================== Recursos ===================== */
.resources{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.resource{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:22px;box-shadow:var(--shadow-sm);
}
.resource-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.resource-icon{
  width:32px;height:32px;border-radius:9px;background:var(--brand-050);
  color:var(--brand-600);display:grid;place-items:center;font-size:16px;
}
.status{
  border-radius:999px;padding:3px 10px;font-size:10px;font-weight:700;font-family:var(--font-head);
  border:1px solid var(--brand-100);background:var(--brand-050);color:var(--brand-700);
}
.status-soon{border-color:var(--border);background:var(--bg-2);color:var(--muted-3)}
.resource h3{font-size:14.5px;font-weight:800;margin-top:18px;line-height:1.35}
.resource p{margin:8px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
.resource.is-soon h3{color:var(--muted-2)}
.resource.is-soon p{color:var(--muted-3)}
.resource.is-soon .resource-icon{background:var(--bg-2);color:var(--muted-3)}

/* ===================== Pontos de atenção ===================== */
.alerts{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:900px;margin:0 auto}
.alert{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:22px;box-shadow:var(--shadow-sm);
}
.alert-icon{
  width:30px;height:30px;border-radius:9px;background:var(--brand-050);
  color:var(--brand-600);display:grid;place-items:center;font-size:16px;
}
.alert p{margin:16px 0 0;font-size:13.5px;color:var(--ink-2);line-height:1.6}

.disclaimer{
  max-width:720px;margin:30px auto 0;text-align:center;
  font-size:11.5px;line-height:1.75;color:#8b9ab0;
}

/* ===================== FAQ ===================== */
.faq{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:11px}
.faq-item{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:none;border:0;cursor:pointer;text-align:left;
  padding:15px 18px;font-size:13.5px;font-weight:600;color:var(--ink-2);font-family:var(--font-body);
}
.faq-q .ic{font-size:16px;color:var(--muted-2);transition:transform .2s}
.faq-item.is-open .faq-q .ic{transform:rotate(180deg)}
.faq-item.is-open .faq-q{color:var(--brand-700)}
.faq-a{display:none;padding:0 18px 17px;font-size:13.5px;color:var(--muted);line-height:1.65}
.faq-item.is-open .faq-a{display:block}

/* ===================== CTA ===================== */
.cta{
  background:var(--brand-700);color:#fff;text-align:center;padding:64px 0 54px;
}
.cta h2{color:#fff;font-size:clamp(23px,2.8vw,31px);font-weight:800;max-width:820px;margin:0 auto;line-height:1.3}
.cta p{max-width:520px;margin:18px auto 0;color:rgba(255,255,255,.82);font-size:14.5px;line-height:1.65}
.cta-actions{display:flex;justify-content:center;gap:14px;margin-top:28px;flex-wrap:wrap}
.cta-notes{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin-top:32px}
.cta-note{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;color:rgba(255,255,255,.8)}
.cta-note .ic{font-size:13px}

/* ===================== Rodapé ===================== */
.site-footer{background:#fff;border-top:1px solid var(--border);padding:44px 0 30px}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1.1fr 1.3fr;gap:32px;
  padding-bottom:28px;
}
.footer-brand .logo{margin-bottom:14px}
.footer-about{margin:0;font-size:12.5px;color:var(--muted);line-height:1.65;max-width:270px}

.footer-col h4{
  font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted-2);font-weight:700;margin-bottom:14px;
}
.footer-links{display:flex;flex-direction:column;gap:9px}
.footer-links a{font-size:12.5px;color:var(--muted)}
.footer-links a:hover{color:var(--brand-600)}

.footer-contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.footer-contact li{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;color:var(--muted);line-height:1.6}
.footer-contact .ic{font-size:14px;color:var(--brand-600);margin-top:2px}
.footer-contact a{color:var(--muted)}
.footer-contact a:hover{color:var(--brand-600)}
.footer-contact address{font-style:normal}

.footer-legal{
  border-top:1px solid var(--border);padding-top:20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.footer-legal p{
  display:flex;align-items:flex-start;gap:9px;margin:0;
  font-size:11.5px;color:var(--muted-2);line-height:1.65;max-width:720px;
}
.footer-legal p b{color:var(--ink-2);font-weight:600}
.footer-legal .ic{font-size:14px;color:var(--muted-3);margin-top:1px}
.footer-copy{font-size:11.5px;color:var(--muted-3);white-space:nowrap}

/* ===================== Responsivo ===================== */
@media (max-width:1020px){
  .steps,.resources{grid-template-columns:repeat(2,1fr)}
  .pillars{grid-template-columns:repeat(2,1fr)}
  .hero-features{gap:32px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px 32px}
  .footer-copy{white-space:normal}
}
@media (max-width:760px){
  .nav{
    display:none;position:absolute;top:60px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--border);padding:8px 24px 16px;
  }
  .nav.is-open{display:flex}
  .nav a{padding:11px 0;border-bottom:1px solid var(--border)}
  .nav .btn{margin-top:12px}
  .nav-toggle{display:inline-flex}
  .hero{padding:52px 0 44px}
  .hero-features{flex-direction:column;align-items:center;gap:20px}
  .feature{width:250px}
  .guide-top{gap:12px}
  .guide-rank{width:44px}
  .guide-points{grid-template-columns:1fr;gap:6px}
  .steps,.resources,.pillars,.alerts{grid-template-columns:1fr}
  .guide-foot{justify-content:stretch}
  .guide-foot .btn{width:100%}
  .section{padding:48px 0}
  .footer-grid{grid-template-columns:1fr;gap:26px}
  .footer-about{max-width:none}
  .footer-legal{flex-direction:column;align-items:flex-start;gap:12px}
}
