/* ============================================================
   law (applaw.com.br) — Landing Page V2
   Identidade Oficial 60/30/10: Papel Frio / Índigo Tinta / Ocre Cobre
   ============================================================ */

:root, [data-theme="papel"] {
  /* 60% Base — Papel Frio */
  --law-paper: #F4F5F7;
  --law-surface: #FFFFFF;
  --law-sunken: #EBEEF3;
  --law-line: #DFE3EA;
  --law-line-strong: #9AA5B8;

  /* 30% Apoio — Índigo Tinta */
  --law-ink: #182742;
  --law-ink-deep: #101B30;
  --law-muted: #56637A;
  --law-brand-wash: #E6EAF2;

  /* 10% Destaque — Ocre Cobre (exclusivo CTA principal, grifo de marca e ponta chanfrada) */
  --law-accent: #C26A27;
  --law-accent-hover: #A1551C;
  --law-accent-wash: rgba(194, 106, 39, 0.12);
  --law-accent-highlight: rgba(194, 106, 39, 0.34);
  --law-accent-highlight-dark: rgba(194, 106, 39, 0.90);

  /* Semânticos discretos do editor forense (restritos aos exemplos jurídicos) */
  --law-grifo: #FDEFC0;
  --law-ref-mov: #1D4ED8;
  --law-ref-mov-wash: #E8EFFD;
  --law-ref-doc: #0B7470;
  --law-ref-doc-wash: #E2F3F1;
  --law-warn: #A1551C;
  --law-ok: #0B7470;
  --law-ok-wash: #E2F3F1;
  --law-danger: #B42318;
  --law-danger-wash: #FDE8E6;

  /* Tipografia */
  --law-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --law-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --law-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  /* Raios e sombras */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgba(16, 27, 48, 0.04), 0 8px 24px rgba(16, 27, 48, 0.05);
  --shadow-modal: 0 0 0 1px rgba(16, 27, 48, 0.08), 0 20px 48px rgba(16, 27, 48, 0.18);
  --container-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--law-paper);
  color: var(--law-ink);
  font-family: var(--law-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--law-ref-mov);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   Motivo Visual Oficial: Marca-Texto Chanfrado (.law-mark)
   Regra: no máximo 1 trecho grifado por título/bloco.
   ============================================================ */
.law-mark {
  position: relative;
  display: inline-block;
  padding: 0 0.16em;
  z-index: 1;
  background: transparent;
  color: inherit;
}

.law-mark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.44em;
  background: var(--law-accent-highlight);
  clip-path: polygon(0.14em 0%, 100% 0%, calc(100% - 0.14em) 100%, 0% 100%);
  transform-origin: left center;
  z-index: -1;
}

.law-mark-reveal::before {
  transform: scaleX(0);
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.law-mark-reveal.is-visible::before {
  transform: scaleX(1);
}

/* Link com micro-grifo chanfrado no hover */
.law-link {
  position: relative;
  text-decoration: none;
  color: var(--law-ink);
  padding: 0 0.08em;
  font-weight: 500;
}

.law-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 0.30em;
  background: var(--law-accent-highlight);
  clip-path: polygon(0.10em 0%, 100% 0%, calc(100% - 0.10em) 100%, 0% 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.law-link:hover::after,
.law-link:focus-visible::after {
  transform: scaleX(1);
}

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

.section {
  padding: 76px 0;
  border-top: 1px solid var(--law-line);
}

.section-tight {
  padding: 48px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--law-ink-deep);
  font-weight: 600;
}

.section-header p {
  margin: 0;
  color: var(--law-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  color: var(--law-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--law-accent);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
  min-height: 44px;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--law-accent);
  color: #FFFFFF;
  border-color: var(--law-accent);
}

.btn-primary:hover {
  background: var(--law-accent-hover);
  border-color: var(--law-accent-hover);
}

.btn-secondary {
  background: var(--law-surface);
  color: var(--law-ink);
  border-color: var(--law-line-strong);
}

.btn-secondary:hover {
  background: var(--law-sunken);
  border-color: var(--law-ink);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
  min-height: 36px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--law-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--law-muted);
}

.nav-links a:hover {
  color: var(--law-ink);
}

.header-cta {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--law-ink-deep);
  font-weight: 600;
}

.hero-sub {
  margin: 0 0 28px;
  font-size: 1.125rem;
  line-height: 1.62;
  color: var(--law-muted);
  max-width: 68ch;
}

.hero-sub strong {
  color: var(--law-ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-waitlist-link {
  font-size: 0.9rem;
  color: var(--law-ink);
  display: inline-block;
  align-self: flex-start;
}

.microcopy {
  margin: 4px 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--law-muted);
  max-width: 66ch;
}

.microcopy strong {
  color: var(--law-ink);
}

/* Mobile Pre-reserve Card */
.mobile-reserve-card {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  max-width: 560px;
}

.mobile-reserve-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--law-accent);
  margin-bottom: 10px;
}

.mobile-reserve-card h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--law-ink-deep);
}

.mobile-reserve-card > p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--law-muted);
}

/* Screenshot Frame */
.shot-frame {
  margin: 0;
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.shot-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--law-line);
}

.shot-frame figcaption {
  padding: 12px 6px 4px;
  font-size: 0.85rem;
  color: var(--law-muted);
  text-align: center;
}

/* Trust Bar */
.trust-bar {
  border-top: 1px solid var(--law-line);
  padding: 28px 0;
  background: var(--law-surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--law-ink-deep);
}

.trust-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--law-muted);
}

/* Cards Grid */
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--law-ink-deep);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--law-muted);
  line-height: 1.58;
}

/* Forensic Example Chips (kept strictly inside card examples) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--law-mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.chip-mov {
  background: var(--law-ref-mov-wash);
  color: var(--law-ref-mov);
}

.chip-doc {
  background: var(--law-ref-doc-wash);
  color: var(--law-ref-doc);
}

.chip-grifo {
  background: var(--law-grifo);
  color: var(--law-ink-deep);
}

.chip-muted {
  background: var(--law-sunken);
  color: var(--law-muted);
}

/* App Inside Tabs */
.tabs-shell {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--law-line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 9px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--law-line);
  background: var(--law-paper);
  color: var(--law-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--law-ink);
  border-color: var(--law-line-strong);
}

.tab-btn[aria-selected="true"] {
  background: var(--law-ink);
  color: #FFFFFF;
  border-color: var(--law-ink);
}

.tab-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.tab-panel-copy h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--law-ink-deep);
}

.tab-panel-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--law-muted);
  max-width: 70ch;
}

.tab-panel img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--law-line);
}

/* Steps (5-step Cycle) */
.steps-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-card {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--law-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--law-accent);
}

.step-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--law-ink-deep);
}

.step-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--law-muted);
  line-height: 1.55;
}

/* Split Layouts */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-point {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.privacy-point h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--law-ink-deep);
}

.privacy-point p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--law-muted);
}

/* Forms */
.form-card {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--law-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--law-line-strong);
  background: var(--law-surface);
  color: var(--law-ink);
  font-size: 0.95rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--law-ink);
  outline: 2px solid rgba(24, 39, 66, 0.14);
  outline-offset: 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--law-muted);
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--law-ink);
  flex-shrink: 0;
}

.form-feedback {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback.is-success {
  background: var(--law-ok-wash);
  border: 1px solid rgba(11, 116, 112, 0.35);
  color: var(--law-ink-deep);
}

.form-feedback.is-error {
  background: var(--law-danger-wash);
  border: 1px solid rgba(180, 35, 24, 0.35);
  color: var(--law-danger);
}

/* Law Teams Mockup & Callout */
.chat-mockup {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.chat-mockup-header {
  padding: 12px 16px;
  background: var(--law-ink);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-mockup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--law-brand-wash);
  color: var(--law-ink);
  font-family: var(--law-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-bubble {
  background: var(--law-paper);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--law-ink);
}

.infra-callout {
  margin-top: 24px;
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-left: 4px solid var(--law-ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infra-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--law-brand-wash);
  color: var(--law-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.infra-callout h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--law-ink-deep);
}

.infra-callout p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--law-muted);
}

/* Founder Card */
.founder-card {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--law-ink-deep);
}

.founder-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--law-muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--law-ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--law-accent);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-md);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--law-ink-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--law-mono);
  font-size: 1.15rem;
  color: var(--law-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--law-accent);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--law-muted);
  line-height: 1.62;
}

.faq-answer p {
  margin: 0;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 14px;
}

.download-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--law-surface);
  border: 1px solid var(--law-line-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.download-tile:hover {
  border-color: var(--law-accent);
  background: var(--law-surface);
}

.download-tile strong {
  font-size: 1rem;
  color: var(--law-ink-deep);
}

.download-tile span {
  font-size: 0.85rem;
  color: var(--law-muted);
}

.founder-strip {
  margin-top: 24px;
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.founder-strip p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--law-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--law-line);
  padding: 40px 0 56px;
  background: var(--law-paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--law-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  font-size: 0.875rem;
  color: var(--law-muted);
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}

/* Modal Pós-Download */
.law-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 27, 48, 0.58);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.law-modal {
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}

.law-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--law-line);
  background: var(--law-paper);
  color: var(--law-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.law-modal h2 {
  margin: 0 36px 16px 0;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--law-ink-deep);
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-step {
  background: var(--law-paper);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.modal-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--law-ink-deep);
}

.modal-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--law-muted);
}

.modal-step .btn {
  margin-top: 10px;
}

.modal-consultivo {
  background: var(--law-brand-wash);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-consultivo p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--law-ink-deep);
}

/* Privacy Notice Banner (Opt-in Analytics) */
.privacy-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 400px;
  width: calc(100vw - 40px);
  background: var(--law-ink-deep);
  color: var(--law-paper);
  border: 1px solid rgba(244, 245, 247, 0.16);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-modal);
  font-size: 0.84rem;
  line-height: 1.5;
}

.privacy-notice p {
  margin: 0 0 12px;
}

.privacy-notice a {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--law-accent);
  text-underline-offset: 2px;
}

.privacy-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.privacy-notice button {
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(244, 245, 247, 0.25);
  background: transparent;
  color: var(--law-paper);
}

.privacy-notice button[data-consent-accept] {
  background: var(--law-accent);
  border-color: var(--law-accent);
  color: #FFFFFF;
}

/* Legal Page (privacidade.html) */
.legal-main {
  padding: 56px 0 80px;
}

.legal-article {
  max-width: 760px;
  background: var(--law-surface);
  border: 1px solid var(--law-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.legal-article h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--law-ink-deep);
}

.legal-meta {
  margin: 0 0 28px;
  font-size: 0.875rem;
  color: var(--law-muted);
}

.legal-article h2 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
  color: var(--law-ink-deep);
}

.legal-article p,
.legal-article li {
  font-size: 0.96rem;
  color: var(--law-muted);
  line-height: 1.68;
}

.legal-article strong {
  color: var(--law-ink);
}

.legal-article ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .container {
    padding: 0 18px;
  }

  .trust-grid,
  .cards-grid-2,
  .steps-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .legal-article {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .law-mark-reveal::before {
    transform: scaleX(1);
    transition: none;
  }
  .law-link::after {
    transition: none;
  }
}
