/* ============ RESET & BASE ============ */
:root {
  --bg: #f5f5f4;
  --bg-2: #ededec;
  --surface: #ffffff;
  --ink: #111214;
  --ink-2: #25272b;
  --muted: #6c7077;
  --line: #e4e4e2;
  --line-2: #d7d8d6;
  --accent: #303238;
  --accent-2: #151619;
  --accent-soft: #eeeeed;
  --accent-soft-2: #dfe0de;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 1px 2px rgba(17, 18, 20, 0.04),
                 0 8px 24px rgba(17, 18, 20, 0.05);
  --shadow-lg: 0 10px 40px rgba(17, 18, 20, 0.08);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'Rubik Mono One', monospace;
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ LOGO ============ */
.brand-logo {
  display: block;
  height: 28px;
  width: auto;
}
.brand-logo--light {
  height: 32px;
  filter: brightness(0) invert(1);
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 8px 0 18px;
  color: var(--ink);
}
.section-title--compact {
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 6px 0 14px;
}
.section-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 620px;
  margin: 0 auto;
}
.section-sub--left { margin: 0; max-width: 540px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #22202b; }
.btn--dark-sm { background: var(--ink); color: #fff; padding: 12px 18px; font-size: 13px; min-height: 44px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; }
.btn--sm { padding: 10px 16px; font-size: 13px; min-height: 40px; }
.btn--lg { padding: 18px 28px; font-size: 15px; min-height: 56px; }
.btn--nav { padding: 12px 20px; font-size: 13px; min-height: 44px; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 16px;
}
.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.nav__links {
  display: none;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-2);
}
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__burger {
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}
.btn--nav { display: none; }

/* ============ DRAWER MOBILE ============ */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 20px calc(20px + var(--safe-bottom));
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.drawer__close {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.drawer__links a {
  padding: 18px 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.drawer__cta { margin-top: 16px; align-self: stretch; }

/* ============ HERO ============ */
.hero {
  padding: 24px 16px 40px;
}
.hero__bento {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.card__arrow {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .2s, background .2s;
  color: var(--ink);
  z-index: 2;
}
.card__arrow:hover { transform: rotate(-12deg); background: var(--accent-soft); border-color: var(--accent-soft-2); }
.card__arrow--inline { position: static; display: inline-flex; margin-top: 12px; width: 40px; height: 40px; }

/* HERO CARD */
.card--hero {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  gap: 0;
}
.card--hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blur-orbs { position: absolute; inset: 0; filter: blur(60px); opacity: .55; }
.orb { position: absolute; border-radius: 50%; }
.orb-a { width: 360px; height: 360px; background: #d9dad8; top: -100px; right: -100px; }
.orb-b { width: 280px; height: 280px; background: #ececeb; bottom: 30%; right: 30%; }
.orb-c { width: 220px; height: 220px; background: #f6f6f4; bottom: -60px; right: -40px; }

.card--hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.92) 65%);
  z-index: 1;
}
.card--hero__content { position: relative; z-index: 2; margin-top: 20px; max-width: 560px; }
@media (min-width: 720px) { .card--hero__content { margin-top: 40px; } }
.display {
  font-size: clamp(34px, 6.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 16px;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 480px;
  margin: 0 0 22px;
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Client logos strip — infinite scroll */
.hero__clients {
  position: relative;
  z-index: 2;
  padding: 4px 0 0;
}
.hero__clients-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.hero__clients-track {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.hero__clients-row {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.hero__clients-row img {
  height: 26px;
  width: auto;
  opacity: 1;
  filter: grayscale(100%) brightness(0.65);
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* PITCH */
.card--pitch { display: flex; flex-direction: column; min-height: 200px; }
.card--pitch h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.card--pitch p { color: var(--muted); font-size: 14px; margin: 0; }

/* STATS */
.card--stat { min-height: 200px; display: flex; flex-direction: column; }
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efefed;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}
.pill--accent { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-soft-2); }
.stat__label { color: var(--muted); font-size: 13px; margin: 14px 0 8px; max-width: 240px; }
.stat__number {
  font-size: clamp(40px, 6.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__number--accent { color: var(--accent); }
.card--stat-accent {
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
}

/* TAGS */
.card--tags {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 40px 32px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft) 0%, var(--surface) 70%);
}
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 680px;
}
.tag {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  color: var(--ink-2);
  transition: transform .2s, color .2s, border-color .2s;
}
.tag:hover { transform: scale(1.05); color: var(--ink); border-color: var(--accent-soft-2); }
.tag--dot { position: relative; padding-right: 22px; color: var(--accent); border-color: var(--accent-soft-2); }
.tag--dot::after {
  content: "";
  position: absolute;
  right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.card--summary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 260px;
  background:
    linear-gradient(160deg, #fff 0%, var(--accent-soft) 100%);
}
.card--summary strong {
  display: block;
  font-size: clamp(48px, 7vw, 76px);
  line-height: .92;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: var(--ink);
}
.card--summary p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 320px;
}

/* ============ LOGOS ============ */
.logos {
  padding: 32px 16px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.logos__title {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 12px;
  opacity: 0.7;
}
.logos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 90px;
}
.logos__item img {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.logos__item span {
  text-align: center;
  line-height: 1.25;
}

/* ============ MÉTODO ============ */
.method {
  background: var(--surface);
  padding: 80px 20px;
  margin: 24px 12px;
  border-radius: 32px;
  border: 1px solid var(--line);
}
.method__hero { max-width: 780px; margin: 0 auto 56px; text-align: center; }

.method__feature {
  max-width: 1100px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff 100%);
  border: 1px solid var(--accent-soft-2);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.method__feature-copy h3 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  margin: 8px 0 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.method__feature-copy p { color: var(--muted); margin: 0 0 20px; }
.method__feature-visual {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.ring {
  position: absolute; inset: 0;
  border: 2px dashed var(--accent-soft-2);
  border-radius: 50%;
}
.ring--inner {
  inset: 18%;
  border-color: var(--line-2);
  border-style: solid;
  opacity: 0.5;
}
.center-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(17, 18, 20, 0.12), 0 0 0 14px rgba(17, 18, 20, 0.06);
}
.chip {
  position: absolute;
  padding: 8px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(28,16,60,0.06);
  white-space: nowrap;
}
.chip--1 { top: -10px; left: 50%; transform: translateX(-50%); }
.chip--2 { top: 50%; right: -10px; transform: translateY(-50%); }
.chip--3 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.chip--4 { top: 50%; left: -10px; transform: translateY(-50%); }

.method__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature {
  padding: 24px;
  background: var(--bg-2);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.feature__tag {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature h4 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============ SERVIÇOS ============ */
.services { padding: 60px 16px 16px; max-width: 1240px; margin: 0 auto; }
.services__head { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft-2);
}
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}
.service-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: none; }

.service-card--feature {
  background:
    linear-gradient(160deg, var(--accent-soft) 0%, #fff 100%);
  border-color: var(--accent-soft-2);
}
.badge-new {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ============ LEGAL OPS ============ */
.legalops {
  padding: 24px 16px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.legalops__banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 56px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
}
.legalops__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.legalops__banner-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(180deg, rgba(12,10,20,0.55) 0%, rgba(12,10,20,0.85) 55%, rgba(12,10,20,0.97) 100%);
  color: #fff;
}
.banner__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.legalops__banner-title {
  font-size: clamp(22px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
  max-width: 700px;
}
.legalops__banner-title em {
  font-style: italic;
  color: #f2f2f0;
}
.legalops__banner-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.6;
  max-width: 560px;
  opacity: 0.85;
  margin: 0 0 28px;
}
.legalops__banner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--light:hover {
  background: #f0e8ff;
  border-color: #f0e8ff;
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.12);
}
.legalops__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.screen {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
}
.screen:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.screen img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-2);
}
.screen figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.screen figcaption .pill { width: fit-content; }
.screen--dark { border-color: #1a1822; }
.screen--dark figcaption {
  background: #0c0a14;
  color: rgba(255,255,255,0.7);
  border-top-color: rgba(255,255,255,0.08);
}
.screen--dark figcaption .pill {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.legalops__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.legalops__list li { display: flex; gap: 10px; align-items: center; }
.legalops__list span { color: var(--accent); font-weight: 700; font-size: 16px; line-height: 1; }
.legalops__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.legalops__visual { display: grid; gap: 14px; position: relative; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
}
.panel__dot { width: 9px; height: 9px; background: var(--line-2); border-radius: 50%; }
.panel__title { margin-left: 8px; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.panel__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 4px;
}
.col h5 {
  margin: 0 0 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.lead {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.lead--muted { opacity: 0.5; text-align: center; }
.lead--accent {
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
  color: var(--accent);
  font-weight: 500;
}
.col--accent h5 { color: var(--accent); }
.panel__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 10px 4px 0;
  border-top: 1px solid var(--line);
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.panel--chat { padding: 14px; }
.chat-msg { margin-bottom: 10px; max-width: 85%; }
.chat-msg strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 600;
}
.chat-msg p {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  color: var(--ink-2);
}
.chat-msg--user { margin-left: auto; }
.chat-msg--user p {
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
  color: var(--ink);
  border-radius: 14px 14px 4px 14px;
}
.chat-typing {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.legalops__steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.step h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============ NÚMEROS ============ */
.numbers { padding: 60px 16px 40px; max-width: 1240px; margin: 0 auto; }
.numbers__head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.number {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: left;
}
.number strong {
  display: block;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.number span { color: var(--muted); font-size: 13px; }

/* ============ PRICING ============ */
.pricing { padding: 80px 16px 40px; max-width: 1240px; margin: 0 auto; }
.pricing__head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.plan header h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.plan header p { margin: 0; color: var(--muted); font-size: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price strong { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.plan__price span { color: var(--muted); font-size: 14px; }
.plan__strike { color: #b7afc2; font-size: 14px; margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.plan ul li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.plan ul li:first-child { border-top: none; }
.plan .btn { margin-top: auto; align-self: stretch; }

.plan--highlight {
  border: 2px solid var(--accent);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, #fff 30%);
  box-shadow: 0 12px 40px rgba(17, 18, 20, 0.10);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing__extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}
.extra {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.extra h4 { margin: 0; font-size: 14px; font-weight: 600; }
.extra p { margin: 0; color: var(--muted); font-size: 13px; }

/* ============ FAQ ============ */
.faq { padding: 60px 16px 40px; max-width: 880px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: 32px; }
.faq__list { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 8px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--accent-soft-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 12px;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0;
  padding: 0 12px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ CTA ============ */
.cta { padding: 60px 16px 80px; max-width: 1240px; margin: 0 auto; }
.cta__inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.cta__inner::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
}
.cta__inner > * { position: relative; z-index: 1; }
.cta__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cta__signature {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.cta__signature strong { color: var(--ink); font-weight: 600; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #fff; padding: 56px 16px 100px; }
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p {
  color: rgba(255,255,255,0.65);
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer__cols h5 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 12px;
  font-weight: 500;
}
.footer__cols a, .footer__cols span {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color .2s;
}
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* ============ STICKY CTA MOBILE ============ */
.sticky-cta {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  left: 16px;
  right: 16px;
  background: var(--ink);
  color: #fff;
  padding: 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(28,16,60,0.25);
  z-index: 40;
  transform: translateY(160%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ============================================
   TABLET — 720px+
   ============================================ */
@media (min-width: 720px) {
  .hero { padding: 32px 24px 56px; }
  .hero__bento {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }
  .card--hero { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 480px; }
  .card--summary { grid-column: 2 / 3; grid-row: 1 / 2; min-height: 280px; }
  .card--pitch { grid-column: 2 / 3; grid-row: 2 / 3; }
  .card--tags { grid-column: 1 / 3; grid-row: 3 / 4; }

  .method { padding: 100px 32px; margin: 32px 24px; }
  .method__feature { padding: 48px; grid-template-columns: 1.2fr 1fr; }
  .method__feature-visual { max-width: 280px; }
  .method__grid { grid-template-columns: repeat(2, 1fr); }

  .services { padding: 80px 24px 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature { grid-column: 1 / 3; }

  .legalops { padding: 24px 24px 100px; }
  .legalops__banner-overlay { padding: 80px 48px; }
  .legalops__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .legalops__steps { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }

  .numbers__grid { grid-template-columns: repeat(4, 1fr); }

  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__extras { grid-template-columns: repeat(3, 1fr); }

  .cta__inner { padding: 80px 40px; }

  .footer__inner { grid-template-columns: 1.2fr 2fr; padding-bottom: 40px; }
  .footer { padding: 60px 24px 32px; }
  .sticky-cta { display: none; }
}

/* ============================================
   DESKTOP — 1024px+
   ============================================ */
@media (min-width: 1024px) {
  .nav { top: 16px; padding: 0 24px; }
  .nav__inner { padding: 10px 10px 10px 24px; gap: 24px; }
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .btn--nav { display: inline-flex; }
  .drawer { display: none; }

  .hero__bento {
    grid-template-columns: 1.7fr 1fr;
    grid-template-rows: 1fr auto auto;
    gap: 18px;
  }
  .card--hero {
    grid-column: 1 / 2; grid-row: 1 / 3;
    min-height: 580px;
  }
  .card--summary {
    grid-column: 2 / 3; grid-row: 1 / 2;
    min-height: 380px;
  }
  .card--pitch { grid-column: 2 / 3; grid-row: 2 / 3; min-height: auto; }
  .card--tags { grid-column: 1 / 3; grid-row: 3 / 4; min-height: 100px; padding: 24px; }

  .method__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--feature { grid-column: auto; }

  .legalops__steps { grid-template-columns: repeat(4, 1fr); }
}

/* ============ MODAL / LEAD FORM ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12,10,20,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__panel {
  position: relative;
  width: calc(100% - 20px);
  max-width: 440px;
  background: #f7f7f5;
  border-radius: 28px;
  padding: 32px 24px calc(32px + var(--safe-bottom));
  box-shadow: 0 -24px 64px rgba(17,18,20,0.18);
  transform: translateY(60px);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  max-height: 90vh;
  overflow-y: auto;
  margin-bottom: 10px;
}
.modal.is-open .modal__panel { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background .18s, color .18s, transform .18s;
  line-height: 1;
}
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

/* Header */
.modal__head { text-align: center; margin-bottom: 24px; }
.modal__head .brand-logo { height: 20px; margin: 0 auto 16px; display: block; }

/* Step dots */
.modal__steps-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 16px;
}
.modal__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .3s, transform .3s;
}
.modal__dot--active { background: var(--accent); transform: scale(1.25); }
.modal__dot-line {
  width: 32px; height: 2px;
  background: var(--line);
  margin: 0 6px;
  transition: background .3s;
}

.modal__title {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 6px;
  transition: opacity .25s;
}
.modal__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  transition: opacity .25s;
}

/* Steps */
.lead-form { display: flex; flex-direction: column; gap: 0; }
.lead-step {
  display: none !important;
  flex-direction: column;
  gap: 16px;
}
.lead-step--active {
  display: flex !important;
  animation: stepIn .38s cubic-bezier(.22,1,.36,1) both;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Timer ---- */
.modal__timer {
  position: absolute;
  top: 14px; right: 56px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.modal__timer svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  width: 36px; height: 36px;
}
.modal__timer-track {
  stroke: var(--line);
  fill: none; stroke-width: 2.5;
}
.modal__timer-ring {
  stroke: var(--accent);
  fill: none; stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 94.2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke .4s;
}
.modal__timer-ring.is-urgent { stroke: #c0392b; }
.modal__timer-count {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color .4s;
}
.modal__timer-count.is-urgent { color: #c0392b; }

/* Field */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.field input {
  height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 0 18px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.field input::placeholder { color: #c0bbcf; }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Buttons inside steps */
.lead-step__next {
  width: 100%; justify-content: center; margin-top: 4px;
}
.lead-step__footer {
  display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
}
.lead-step__footer .lead-form__submit { width: 100%; justify-content: center; }
.lead-step__back {
  background: none; border: none; padding: 4px 0;
  font-size: 13px; color: var(--muted); cursor: pointer;
  text-align: center; width: 100%;
  transition: color .2s;
}
.lead-step__back:hover { color: var(--ink); }
.lead-form__submit:disabled { opacity: .65; cursor: progress; }

.lead-form__note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .modal { align-items: center; padding: 20px; }
  .modal__panel { border-radius: 28px; padding: 36px; max-height: 88vh; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal--up    { transform: translateY(28px); }
.reveal--right { transform: translateX(28px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* stagger for siblings */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* ============ CARD HOVER LIFT ============ */
.card {
  transition: transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s cubic-bezier(.22,1,.36,1),
              border-color .25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(17,18,20,.10);
  border-color: var(--accent-soft-2);
}
.card--hero:hover,
.card--tags:hover { transform: none; box-shadow: var(--shadow-soft); border-color: var(--line); }

/* ============ PLAN CARD HOVER ============ */
.plan {
  transition: transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s cubic-bezier(.22,1,.36,1),
              border-color .25s;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(17,18,20,.12);
  border-color: var(--accent-soft-2);
}
.plan--highlight:hover { box-shadow: 0 20px 52px rgba(17,18,20,.18); }

/* ============ NUMBER COUNTER HOVER ============ */
.number {
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}
.number:hover { transform: translateY(-4px); }

/* ============ FOOTER MOBILE ============ */
.footer__cols { grid-template-columns: 1fr 1fr; }
.footer__cols > div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; margin-top: 4px; }
.footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

@media (min-width: 720px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__cols > div:last-child { grid-column: auto; border-top: none; padding-top: 0; margin-top: 0; }
  .footer__bottom { flex-direction: row; align-items: center; }
}
