:root {
  --bg: #f4f7f8;
  --bg-mist: #e8eef0;
  --surface: #ffffff;
  --border: #d5e0e3;
  --ink: #122027;
  --ink-soft: #4b5d63;
  --muted: #7a8d92;
  --primary: #0e4a5c;
  --primary-strong: #0a3644;
  --primary-soft: #dceef2;
  --accent: #12b76a;
  --accent-soft: #e3f8ee;
  --cyan: #3ec4d4;
  --hero: #071418;
  --hero-2: #0c242b;
  --warn: #b4780f;
  --shadow: 0 18px 50px -24px rgba(7, 20, 24, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(15, 35, 40, 0.28);
  --wrap: 1120px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: Sora, sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 30;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--hero) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  position: relative;
  transition: transform 0.2s;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
}

.nav-burger span::before {
  top: -6px;
}

.nav-burger span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: #1aa3b8;
  color: #fff;
}

.btn-primary:hover {
  background: #148ea1;
}

.btn-sm {
  padding: 9px 14px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.btn-text svg {
  width: 16px;
  height: 16px;
}

.btn-text:hover {
  color: var(--cyan);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% 10%, rgba(26, 163, 184, 0.18), transparent 50%),
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  color: #fff;
  padding: 72px 0 140px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 80px;
  background: radial-gradient(circle, rgba(62, 196, 212, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-bike {
  position: absolute;
  right: -20px;
  bottom: 48px;
  width: min(420px, 46vw);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(231, 238, 239, 0.78);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(231, 238, 239, 0.62);
  max-width: 46ch;
}

.hero-trust svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--cyan);
  margin-top: 1px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.mock-laudo {
  position: absolute;
  left: 0;
  top: 48px;
  width: 300px;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.mock-laudo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mock-brand {
  font-family: Sora, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

.mock-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.mock-chip-ok {
  background: var(--accent-soft);
  color: #0d7a48;
}

.mock-laudo h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.mock-meta,
.mock-laudo p,
.mock-finding p,
.mock-qr-row p {
  font-size: 12px;
  color: var(--ink-soft);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mock-stats b {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 18px;
}

.mock-stats span {
  font-size: 10px;
  color: var(--muted);
}

.mock-finding,
.mock-qr-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
}

.mock-finding strong,
.mock-qr-row strong {
  display: block;
  font-size: 12.5px;
  margin-bottom: 2px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex: none;
}

.mock-qr {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 6px;
  background:
    repeating-conic-gradient(#122027 0% 25%, #fff 0% 50%) 0 0 / 6px 6px;
}

.mock-phone {
  position: absolute;
  right: 8px;
  top: 0;
  width: 258px;
  z-index: 1;
  background: #10191c;
  border: 8px solid #1b272b;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  color: #e7eeef;
}

.phone-notch {
  width: 78px;
  height: 10px;
  background: #1b272b;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 2px;
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  padding: 4px 14px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.phone-signal {
  width: 28px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-head {
  padding: 4px 16px 12px;
}

.phone-head small {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-head strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 18px;
  margin: 4px 0 2px;
}

.phone-head p {
  font-size: 11px;
  color: rgba(231, 238, 239, 0.55);
}

.phone-list {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.phone-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #172226;
  border: 1px solid #243338;
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 6px;
  font-size: 11.5px;
}

.phone-list li.live {
  border-color: rgba(62, 196, 212, 0.45);
  box-shadow: 0 0 0 1px rgba(62, 196, 212, 0.15);
}

.phone-list i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
  flex: none;
}

.phone-list i.ok {
  background: #12b76a;
  color: #fff;
}

.phone-list i.pending {
  background: #1aa3b8;
  color: #fff;
}

.phone-list i.idle {
  background: #243338;
  color: #7a8d92;
}

.phone-dock {
  margin: 10px 10px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0c242b;
  color: rgba(231, 238, 239, 0.72);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Proof bar overlapping hero */
.proof-overlap {
  margin-top: -72px;
  position: relative;
  z-index: 2;
}

.proof-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
}

.proof-item {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
}

.proof-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}

.proof-icon svg {
  width: 22px;
  height: 22px;
}

.proof-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.proof-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.proof-item a,
.steps a,
.feature a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof-item a:hover,
.steps a:hover,
.feature a:hover {
  color: var(--primary-strong);
}

/* Bands */
.band {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: 72px;
}

.band-mist {
  background: var(--bg-mist);
}

.band-mist::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: 40px;
  border-radius: 50%;
  border: 1px solid rgba(14, 74, 92, 0.08);
  box-shadow: 0 0 0 48px rgba(14, 74, 92, 0.04);
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1aa3b8;
}

.kicker-on-dark {
  color: var(--cyan);
}

.band h2,
.cta-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  max-width: 18ch;
}

.lede,
.cta-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

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

.tile {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-soft);
}

.tile-warn {
  background: #fff;
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.tile-icon svg {
  width: 20px;
  height: 20px;
}

.tile h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.tile p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Steps */
.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: 1px;
  background: #c9d6d9;
}

.steps li {
  position: relative;
}

.steps li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1aa3b8;
  top: -33px;
  left: 0;
  box-shadow: 0 0 0 6px var(--bg);
}

.band-mist .steps li::before {
  box-shadow: 0 0 0 6px var(--bg-mist);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.step-icon svg {
  width: 18px;
  height: 18px;
}

.step-index {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1aa3b8;
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.steps p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Laudo de exemplo */
.laudo-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.laudo-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.laudo-viewer {
  position: relative;
  display: grid;
  gap: 14px;
}

.laudo-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.laudo-paper {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.laudo-paper:hover {
  box-shadow: 0 22px 56px -22px rgba(7, 20, 24, 0.5);
}

.laudo-page {
  display: none;
  width: 100%;
  height: auto;
  vertical-align: top;
}

#lp1:checked ~ .laudo-paper .page-1,
#lp2:checked ~ .laudo-paper .page-2,
#lp3:checked ~ .laudo-paper .page-3,
#lp4:checked ~ .laudo-paper .page-4 {
  display: block;
}

.laudo-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.laudo-thumbs label {
  display: block;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.62;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.laudo-thumbs img {
  display: block;
  width: 100%;
  height: auto;
}

.laudo-thumbs label:hover {
  opacity: 0.9;
}

#lp1:checked ~ .laudo-thumbs label[for="lp1"],
#lp2:checked ~ .laudo-thumbs label[for="lp2"],
#lp3:checked ~ .laudo-thumbs label[for="lp3"],
#lp4:checked ~ .laudo-thumbs label[for="lp4"] {
  opacity: 1;
  border-color: #1aa3b8;
}

/* Features */
.feature-stage {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.feature-lede {
  margin: 16px 0 28px;
  max-width: 46ch;
}

.feature-copy {
  display: grid;
  gap: 22px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mock-admin {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f3f7f8;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-soft);
}

.admin-dots {
  width: 36px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f87171 0 8px, transparent 8px 14px, #fbbf24 14px 22px, transparent 22px 28px, #34d399 28px 36px);
}

.admin-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.admin-col small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.admin-card {
  background: #f6fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.admin-card b {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.admin-card span {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.admin-card.active {
  border-color: #1aa3b8;
  background: #eef8fa;
}

.admin-card.ok {
  border-color: #86d7ae;
  background: var(--accent-soft);
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hero-2), var(--hero));
  color: #fff;
  padding: 88px 0;
  scroll-margin-top: 72px;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(#000, transparent);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.cta-copy p {
  color: rgba(231, 238, 239, 0.74);
  margin-top: 16px;
  max-width: 46ch;
}

.credentials {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 22px 10px;
  backdrop-filter: blur(8px);
}

.credentials h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cred-row:last-child {
  border-bottom: 0;
}

.cred-label {
  color: rgba(231, 238, 239, 0.55);
  font-size: 13px;
}

.cred-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #061012;
  color: rgba(231, 238, 239, 0.72);
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  font-size: 14px;
  color: rgba(231, 238, 239, 0.68);
  padding: 4px 0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-note {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(231, 238, 239, 0.45);
  max-width: 80ch;
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .feature-stage,
  .laudo-layout,
  .cta-inner,
  .proof-card,
  .tile-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 120px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 460px;
    max-width: 420px;
  }

  .mock-laudo {
    width: 240px;
  }

  .mock-phone {
    width: 220px;
  }

  .steps {
    gap: 20px;
    padding-top: 0;
  }

  .steps::before,
  .steps li::before {
    display: none;
  }

  .band,
  .cta-band {
    padding: 72px 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .nav-burger {
    display: grid;
  }

  .header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--hero);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle:checked ~ .header-nav {
    display: flex;
  }

  .header-nav .btn {
    width: 100%;
  }

  .hero-bike {
    width: 260px;
    height: 260px;
    right: -60px;
    opacity: 0.7;
  }

  .hero-visual {
    min-height: 400px;
  }

  .mock-laudo {
    width: 210px;
    top: 48px;
  }

  .mock-phone {
    width: 196px;
  }

  .proof-item {
    padding: 16px;
  }
}

/* Paginas legais (Privacidade, Termos) */
.legal-hero {
  padding: 56px 0 28px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-back svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  max-width: 26ch;
}

.legal-updated {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.legal-body {
  padding: 8px 0 72px;
}

.legal-wrap {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul,
.legal-section ol {
  margin: 10px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

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

.legal-contact {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.legal-contact p {
  color: var(--ink-soft);
}

.legal-contact a {
  color: var(--primary);
  font-weight: 600;
}

.legal-cross-link {
  margin-top: 6px;
  font-size: 14px;
}

.legal-cross-link a {
  color: var(--primary);
  font-weight: 600;
}
