/* Juradv — landing page. Mobile-first. */

/* ---------- Tokens ---------- */
:root {
  --navy: #0d1b2e;
  --navy-2: #162438;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --blue-soft: #eff5ff;
  --whats: #1fa855;
  --whats-d: #178a45;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Sora', 'DM Sans', system-ui, sans-serif;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 820px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; font: 600 1rem/1.2 var(--font); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: #1d4fd8; }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 6px 18px rgba(31, 168, 85, .3); }
.btn-whats:hover { background: var(--whats-d); }
.btn-whats-outline { background: #fff; color: var(--whats-d); border-color: #b7e4c7; }
.btn-whats-outline:hover { background: #f0fbf4; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(15, 23, 42, .05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { width: 98px; height: 30px; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; gap: 16px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(15, 23, 42, .08); }
.menu-open .main-nav { display: flex; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li a { display: block; padding: 12px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.main-nav li a:hover { color: var(--blue); text-decoration: none; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; }
  .main-nav ul { flex-direction: row; gap: 26px; }
  .main-nav li a { padding: 6px 0; border: 0; font-size: .95rem; color: var(--muted); }
}

/* ---------- Tipografia de seção ---------- */
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border-radius: 999px; }
h1, h2, h3 { font-family: var(--font-title); letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.grad { background: linear-gradient(90deg, var(--blue) 0%, #0ea5e9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 56ch; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section-sub.left { max-width: 52ch; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); background:
  radial-gradient(900px 480px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
  radial-gradient(700px 400px at -10% 20%, rgba(14, 165, 233, .1), transparent 60%), var(--bg); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--whats); width: 18px; height: 18px; stroke-width: 2.4; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* Ilustração do sistema */
.mock { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 70px rgba(13, 27, 46, .16); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-body { display: flex; min-height: 280px; }
.mock-side { display: none; width: 56px; padding: 14px 0; background: var(--navy); flex-direction: column; align-items: center; gap: 12px; }
.mock-logo { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 9px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font: 700 .95rem var(--font-title); }
.mock-nav { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.mock-nav.on { background: var(--blue-2); }
.mock-main { flex: 1; min-width: 0; padding: 16px; background: var(--bg-soft); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.mock-stats small { display: block; font-size: .68rem; color: var(--muted); line-height: 1.25; min-height: 2.5em; }
.mock-stats strong { font: 700 1.5rem var(--font-title); }
.mock-list { margin-top: 12px; display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: .78rem; }
.mock-row p { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row em { font-style: normal; font-weight: 600; color: var(--muted); font-size: .72rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.red { background: #ef4444; } .dot.amber { background: #f59e0b; } .dot.blue { background: var(--blue-2); } .dot.green { background: #10b981; }
@media (min-width: 520px) { .mock-side { display: flex; } .mock-stats small { font-size: .72rem; } }

/* ---------- Recursos ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdcf5; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; color: var(--blue); background: var(--blue-soft); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- DJEN ---------- */
.split { display: grid; gap: 44px; align-items: center; }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--whats); stroke-width: 3; }
.flow { padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.flow-step { display: flex; align-items: center; gap: 14px; }
.flow-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.flow-step strong { display: block; font-family: var(--font-title); font-size: 1rem; }
.flow-step small { color: var(--muted); font-size: .88rem; }
.flow-line { width: 2px; height: 26px; margin: 6px 0 6px 23px; background: repeating-linear-gradient(to bottom, #b6c8ee 0 5px, transparent 5px 9px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem var(--font-title); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.note-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; text-align: center; color: var(--muted); font-size: .95rem; }
.note-link .icon { color: var(--blue); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 1080px; margin-inline: auto; }
.plans-single { max-width: 460px; }
.plan { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-name { font-size: 1.25rem; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0; }
.plan-price strong { font: 700 clamp(1.9rem, 4vw, 2.4rem) var(--font-title); letter-spacing: -.02em; }
.plan-price span { color: var(--muted); }
.plan-list { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; font-size: .96rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .icon { margin-top: 2px; width: 18px; height: 18px; color: var(--whats); stroke-width: 2.6; }
.plans-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: .94rem; }
.plans-msg { grid-column: 1 / -1; padding: 32px; text-align: center; background: #fff; border: 1px dashed #c3d0e8; border-radius: 20px; color: var(--muted); }
.plans-msg-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } .plans-single { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); } .plans-single { grid-template-columns: 1fr; } }

.skeleton { gap: 14px; min-height: 360px; }
.skeleton i { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, #eef2f8 25%, #f8fafd 50%, #eef2f8 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton i:nth-child(1) { width: 55%; height: 24px; }
.skeleton i:nth-child(2) { width: 85%; }
.skeleton i:nth-child(3) { width: 40%; height: 38px; margin-block: 14px; }
.skeleton i:nth-child(4) { width: 100%; height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c9d8f5; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta { background: linear-gradient(135deg, var(--navy) 0%, #1e3352 100%); color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin-top: 14px; color: #c4d4e8; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: #c4d4e8; padding-top: 48px; }
.footer-inner { display: grid; gap: 28px; padding-bottom: 36px; }
.footer-brand img { margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #c4d4e8; }
.footer-links a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social a:hover { background: rgba(255, 255, 255, .18); }
.footer-copy { padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8ea4c2; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr 1fr auto; align-items: start; } .social { justify-content: flex-end; } }

/* ---------- WhatsApp flutuante ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: var(--whats); box-shadow: 0 10px 28px rgba(31, 168, 85, .45); transition: transform .2s; }
.fab:hover { transform: scale(1.06); text-decoration: none; }
.fab .icon { width: 30px; height: 30px; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
