/* ============================================================
   Anônimos no Zap — Design System
   Cor dominante: navy (decisão de marca em PROJETO_ANONIMOS_NO_ZAP.md
   para evitar conflito com as diretrizes de marca da Meta ao usar
   o verde oficial #25D366 do WhatsApp como cor principal).
   ============================================================ */

:root {
  --navy-950: #141a24;
  --navy-900: #1f2937;
  --navy-800: #2b3444;
  --navy-700: #3a4557;
  --green-600: #159a4a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-100: #e8f7ef;
  --green-50: #f3fbf6;
  --gray-100: #f3f5f7;
  --gray-200: #e7eaee;
  --white: #ffffff;
  --text-body: #3f4753;
  --text-muted: #6b7280;
  --text-inverse: #f5f7fa;

  --font-heading: "Poppins", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 41, 55, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 41, 55, 0.16);

  --container: 1140px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  margin: 0 0 .6em;
  line-height: 1.2;
  font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

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

section { padding: clamp(32px, 5.5vw, 64px) 0; }
.section-tight { padding: clamp(24px, 3.5vw, 36px) 0; }
.bg-alt { background: var(--gray-100); }
.bg-green { background: var(--green-50); }
.bg-navy { background: var(--navy-900); color: var(--text-inverse); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.bg-navy .eyebrow { background: rgba(74, 222, 128, .14); color: var(--green-400); }

.section-head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--text-muted); font-size: 17px; }
.bg-navy .section-head p { color: #b9c2cf; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.bg-navy .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.bg-navy .btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); }
.brand-logo { height: 40px; width: auto; display: block; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 30px; align-items: center; }
.nav-desktop a {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--green-600); border-color: var(--green-500); }

.header-cta { display: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: #fff;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  padding: 24px 20px 40px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 17px;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--green-100); color: var(--green-600); }

@media (min-width: 1340px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 56px);
  background:
    radial-gradient(560px 360px at 85% -10%, var(--green-100), transparent 60%),
    radial-gradient(480px 320px at -10% 90%, var(--gray-100), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.pill svg { color: var(--green-500); }
.hero h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-600);
  position: relative;
}
.hero-lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--green-500); flex-shrink: 0; }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(78%, 300px);
  margin-top: 28px;
}
.phone-frame {
  background: var(--navy-900);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-screen {
  background: #e5ddd3;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}
.phone-topbar {
  background: var(--green-600);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.bubble-in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble-out { background: var(--green-100); align-self: flex-end; border-bottom-right-radius: 4px; color: var(--navy-900); }
.bubble b { color: var(--green-600); }
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-900);
}
.float-badge svg { color: var(--green-500); }
.float-badge--top { top: -18px; left: -22px; }
.float-badge--bottom { bottom: 18px; right: -26px; }
@media (max-width: 480px) {
  .float-badge--top { left: -8px; }
  .float-badge--bottom { right: -8px; }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--navy-900);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  text-align: center;
  padding: 36px 0;
}
@media (min-width: 560px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--green-400);
}
.stat-label { font-size: 13px; color: #cbd3dd; font-weight: 600; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow .15s, transform .15s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ---------- Cards / grids ---------- */
.cards-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  height: 100%;
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.icon-tile {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.bg-navy .icon-tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.icon-tile .card-icon { margin-bottom: 0; flex-shrink: 0; }
.icon-tile-text strong { display: block; font-size: 15px; color: var(--navy-900); margin-bottom: 2px; }
.bg-navy .icon-tile-text strong { color: #fff; }
.icon-tile-text span { font-size: 13.5px; color: var(--text-muted); }
.bg-navy .icon-tile-text span { color: #aeb8c4; }

/* ---------- Uso indevido / avisos ---------- */
.callout {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--gray-200);
}
.callout-good { background: var(--green-50); border-color: #cdeedd; }
.callout-warn { background: #fff7ed; border-color: #fde7c7; }
.callout h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.callout ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.callout li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.callout li svg { flex-shrink: 0; margin-top: 2px; }
.callout-good li svg { color: var(--green-600); }
.callout-warn li svg { color: #d97706; }

/* ---------- FAQ (accordion via <details>) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .2s; color: var(--green-600); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 14.5px; }
.faq-group-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy-900);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 40px 0 16px;
}
.faq-group-title:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(34,197,94,.35), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); position: relative; }
.cta-band p { color: #b9c2cf; max-width: 520px; margin: 0 auto 26px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aeb8c4; padding: 56px 0 100px; }
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 300px; color: #8b95a3; }
.footer-col h4 { color: #fff; font-family: var(--font-heading); font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: #aeb8c4; transition: color .15s; }
.footer-col a:hover { color: var(--green-400); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: #6f7a89;
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badges .pill { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #d7dee6; box-shadow: none; }
.footer-badges .pill svg { color: var(--green-400); }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-badges { margin-right: 76px; }
}

/* ---------- Floating WhatsApp button ---------- */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  font-size: 14px;
}
.float-cta span.long { display: none; }
@media (min-width: 640px) { .float-cta span.long { display: inline; } .float-cta span.short { display: none; } }

/* ---------- Legal / content pages ---------- */
.legal-wrap { max-width: 780px; margin: 0 auto; }
.legal-wrap h2 { font-size: 22px; margin-top: 40px; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p, .legal-wrap li { color: var(--text-body); font-size: 15.5px; }
.legal-wrap ul { padding-left: 4px; margin-bottom: 1em; }
.legal-wrap li { margin-bottom: 6px; padding-left: 22px; position: relative; }
.legal-wrap li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-500);
}
.legal-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.legal-toc {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 40px;
}
.legal-toc h4 { font-family: var(--font-heading); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--navy-900); margin-bottom: 10px; }
.legal-toc ol { padding-left: 18px; display: grid; gap: 6px; font-size: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .legal-toc ol { grid-template-columns: 1fr 1fr; } }
.legal-toc a { color: var(--text-body); }
.legal-toc a:hover { color: var(--green-600); }
.legal-placeholder { background: #fff7ed; color: #92400e; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(40px, 7vw, 72px) 0 clamp(32px, 5vw, 48px);
  background: radial-gradient(520px 300px at 90% 0%, var(--green-100), transparent 60%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4.4vw, 44px); }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 17px; }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--green-600); font-weight: 700; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
