:root {
  --primary: #2563EB;
  --primary-dark: #1E3A8A;
  --green: #22C55E;
  --bg: #F8FAFC;
  --text: #334155;
  --text-dark: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --danger: #EF4444;
  --shadow: 0 24px 70px rgba(15, 23, 42, .11);
  --shadow-soft: 0 12px 35px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226,232,240,.78);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.brand strong { color: var(--primary); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  color: white; font-weight: 800;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
}
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 650; color: #475569; transition: .2s ease; }
.main-nav a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.menu-toggle span { display:block; width:24px; height:2px; margin:5px 0; background:#0F172A; border-radius:999px; }

.btn {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 0 18px; font-size: 14px; font-weight: 750;
  border: 1px solid transparent; transition: .18s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 24px rgba(37,99,235,.22); }
.btn-primary:hover { background: #1D4ED8; box-shadow: 0 14px 28px rgba(37,99,235,.27); }
.btn-ghost { color: var(--primary-dark); }
.btn-secondary { background: white; border-color: var(--border); color: var(--primary-dark); box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.btn-white { background: white; color: var(--primary-dark); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.full { width: 100%; }

.hero {
  position: relative; overflow: hidden; padding: 82px 0 74px;
  background:
    radial-gradient(circle at 85% 10%, rgba(37,99,235,.12), transparent 33%),
    radial-gradient(circle at 10% 30%, rgba(34,197,94,.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(30,58,138,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(30,58,138,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events:none;
}
.hero-grid { position:relative; display:grid; grid-template-columns: .9fr 1.1fr; align-items:center; gap:58px; }
.eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  padding:8px 12px; border-radius:999px;
  color: var(--primary-dark); background:#EFF6FF; border:1px solid #DBEAFE;
  font-size:13px; font-weight:700;
}
.dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px rgba(34,197,94,.12); }
.hero h1 { margin:20px 0 18px; font-size:clamp(43px,5vw,67px); line-height:1.02; letter-spacing:-2.8px; color:var(--text-dark); }
.hero h1 span { color: var(--primary); }
.hero-lead { max-width: 650px; margin:0; font-size:18px; color:#526173; line-height:1.72; }
.hero-actions { display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.trust-row { display:flex; flex-wrap:wrap; gap:18px; margin-top:22px; font-size:13px; font-weight:650; color:#64748B; }

.hero-visual { position:relative; min-height:480px; display:grid; place-items:center; }
.browser-card {
  width:100%; border:1px solid rgba(203,213,225,.9); border-radius:22px;
  background:white; box-shadow: 0 36px 80px rgba(30,58,138,.18); overflow:hidden;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.browser-top { height:42px; display:flex; align-items:center; gap:20px; padding:0 14px; border-bottom:1px solid var(--border); background:#F8FAFC; }
.browser-dots { display:flex; gap:6px; }
.browser-dots i { width:8px; height:8px; border-radius:50%; background:#CBD5E1; display:block; }
.browser-url { flex:1; max-width:220px; margin:auto; background:white; border:1px solid #E2E8F0; border-radius:7px; font-size:9px; padding:5px 10px; text-align:center; color:#64748B; }
.real-screen-card img { width:100%; height:auto; }
.float-card {
  position:absolute; z-index:3; display:flex; align-items:center; gap:10px; padding:11px 13px;
  border-radius:14px; background:rgba(255,255,255,.97); border:1px solid #E2E8F0; box-shadow:var(--shadow-soft);
}
.float-card-one { left:-34px; bottom:48px; }
.float-card-two { right:-24px; top:74px; }
.float-icon { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; color:#fff; background:#2563EB; font-size:11px; font-weight:800; }
.float-icon.green { background:#22C55E; }
.float-card div:last-child { display:flex; flex-direction:column; }
.float-card small { font-size:8px; color:#64748B; }
.float-card strong { font-size:10px; color:#0F172A; }

.proof-strip { background:white; border-top:1px solid #EEF2F7; border-bottom:1px solid #EEF2F7; }
.proof-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.proof-grid div { padding:22px 18px; text-align:center; border-right:1px solid #EEF2F7; }
.proof-grid div:last-child { border-right:0; }
.proof-grid strong { display:block; color:#0F172A; font-size:15px; }
.proof-grid span { display:block; color:#64748B; font-size:12px; margin-top:2px; }

.section { padding:96px 0; }
.section-soft { background:var(--bg); }
.section-dark-soft { background:linear-gradient(180deg,#F8FAFC,#F1F5F9); }
.section-heading { max-width:740px; text-align:center; margin:0 auto 44px; }
.section-heading.left { text-align:left; margin:0; }
.kicker { display:block; margin-bottom:10px; color:var(--primary); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.kicker-light { color:#BFDBFE; }
.section-heading h2, .two-col h2, .cta-box h2 { margin:0; color:var(--text-dark); font-size:clamp(30px,4vw,44px); line-height:1.12; letter-spacing:-1.5px; }
.section-heading p, .section-text { color:#64748B; font-size:17px; }

.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card { padding:26px; border:1px solid var(--border); border-radius:18px; background:white; box-shadow:0 8px 25px rgba(15,23,42,.035); transition:.2s ease; }
.feature-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-soft); border-color:#C7D9FF; }
.feature-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:13px; background:#EFF6FF; color:var(--primary); font-weight:800; font-size:16px; }
.feature-card h3 { margin:17px 0 8px; color:#0F172A; font-size:18px; }
.feature-card p { margin:0; color:#64748B; font-size:14px; line-height:1.7; }

.showcase { border:1px solid #DCE5F0; border-radius:24px; background:#fff; box-shadow:var(--shadow-soft); overflow:hidden; }
.showcase-tabs {
  display:flex; gap:7px; overflow-x:auto; padding:14px; background:#F8FAFC; border-bottom:1px solid #E2E8F0;
  scrollbar-width:thin;
}
.showcase-tab {
  flex:0 0 auto; border:1px solid #DCE5F0; background:#fff; color:#475569;
  border-radius:10px; padding:9px 13px; font-size:12px; font-weight:750; cursor:pointer;
}
.showcase-tab.active { background:#EFF6FF; color:#1D4ED8; border-color:#BFDBFE; }
.showcase-stage { display:grid; grid-template-columns:.34fr .66fr; gap:0; align-items:stretch; }
.showcase-copy { padding:36px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(145deg,#fff,#F8FAFC); }
.showcase-copy span { color:#2563EB; text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; }
.showcase-copy h3 { margin:10px 0; color:#0F172A; font-size:28px; line-height:1.14; }
.showcase-copy p { margin:0; color:#64748B; font-size:14px; line-height:1.7; }
.showcase-image-wrap { padding:18px; background:#EEF4FA; min-width:0; }
.showcase-image-wrap img {
  width:100%; height:auto; max-height:590px; object-fit:contain; object-position:center;
  border-radius:15px; border:1px solid #D7E1EB; box-shadow:0 14px 35px rgba(15,23,42,.10);
  background:#fff;
}

.two-col { display:grid; grid-template-columns:1fr .88fr; gap:90px; align-items:center; }
.steps { margin-top:30px; display:grid; gap:14px; }
.step { display:grid; grid-template-columns:42px 1fr; gap:14px; align-items:start; padding:15px 0; }
.step > span { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#DBEAFE; color:#1D4ED8; font-weight:800; }
.step strong { color:#0F172A; }
.step p { margin:4px 0 0; color:#64748B; font-size:14px; }

.phone-scene { min-height:550px; position:relative; display:grid; place-items:center; }
.phone {
  position:relative; z-index:2; width:292px; padding:8px;
  border-radius:40px; background:#0F172A; box-shadow:0 35px 70px rgba(15,23,42,.22);
}
.phone-screen { border-radius:32px; background:#fff; overflow:hidden; }
.phone-screen-real img { width:100%; height:auto; display:block; }
.soft-blob { position:absolute; border-radius:50%; filter:blur(2px); }
.blob-one { width:300px; height:300px; background:#DBEAFE; right:18px; top:20px; }
.blob-two { width:185px; height:185px; background:#DCFCE7; left:38px; bottom:24px; }

.audience-section { background:#fff; }
.audience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.audience-grid article { padding:24px; border:1px solid #E2E8F0; border-radius:18px; background:linear-gradient(180deg,#fff,#FAFCFF); }
.audience-grid article > span { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:#EFF6FF; color:#2563EB; font-weight:800; }
.audience-grid strong { display:block; margin-top:14px; color:#0F172A; }
.audience-grid p { margin:7px 0 0; color:#64748B; font-size:13px; line-height:1.65; }

.billing-toggle { width:max-content; margin:0 auto 34px; padding:5px; display:flex; gap:4px; border:1px solid var(--border); border-radius:13px; background:#F8FAFC; }
.billing-option { border:0; background:transparent; border-radius:9px; padding:9px 14px; color:#64748B; font-weight:750; cursor:pointer; }
.billing-option.active { background:#fff; color:#0F172A; box-shadow:0 3px 10px rgba(15,23,42,.08); }
.billing-option span { margin-left:5px; color:#15803D; font-size:10px; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; align-items:stretch; }
.price-card { position:relative; display:flex; flex-direction:column; padding:25px; border:1px solid var(--border); border-radius:20px; background:#fff; }
.price-card.featured { border:2px solid var(--primary); box-shadow:0 20px 45px rgba(37,99,235,.13); }
.popular { position:absolute; right:18px; top:-13px; padding:6px 10px; border-radius:999px; background:var(--primary); color:white; font-size:10px; font-weight:800; }
.price-head h3 { margin:0 0 5px; color:#0F172A; font-size:20px; }
.price-head p { margin:0; min-height:42px; color:#64748B; font-size:13px; }
.price { margin:20px 0; display:flex; align-items:flex-end; gap:5px; min-height:48px; }
.price strong { color:#0F172A; font-size:27px; letter-spacing:-1px; }
.price span { color:#64748B; font-size:12px; padding-bottom:5px; }
.price-card ul { list-style:none; margin:0 0 24px; padding:0; display:grid; gap:11px; flex:1; }
.price-card li { position:relative; padding-left:21px; color:#475569; font-size:13px; }
.price-card li::before { content:"✓"; position:absolute; left:0; top:0; color:#22C55E; font-weight:900; }
.pricing-note { margin:24px auto 0; max-width:760px; text-align:center; color:#64748B; font-size:13px; }

.cta-section { padding:0 0 96px; }
.cta-box {
  padding:48px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  border-radius:28px; color:white;
  background:radial-gradient(circle at 86% 20%, rgba(96,165,250,.32), transparent 25%), linear-gradient(135deg,#1E3A8A,#2563EB);
  box-shadow:0 28px 60px rgba(30,58,138,.20);
}
.cta-box h2 { color:white; max-width:700px; }
.cta-box p { margin:10px 0 0; color:#DBEAFE; }

.faq-wrap { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.faq-list { display:grid; gap:10px; }
.faq-list details { border:1px solid var(--border); border-radius:14px; background:#fff; overflow:hidden; }
.faq-list summary { list-style:none; cursor:pointer; padding:18px 20px; color:#0F172A; font-weight:750; display:flex; justify-content:space-between; gap:15px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; color:#2563EB; font-size:20px; font-weight:500; line-height:1; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { margin:0; padding:0 20px 18px; color:#64748B; font-size:14px; }

.site-footer { padding:48px 0 24px; background:#0F172A; color:#CBD5E1; }
.footer-grid { display:flex; justify-content:space-between; gap:40px; align-items:start; }
.footer-brand { color:white; }
.footer-grid p { color:#94A3B8; font-size:13px; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; font-size:13px; font-weight:650; }
.footer-links a:hover { color:white; }
.footer-bottom { margin-top:32px; padding-top:20px; border-top:1px solid rgba(148,163,184,.18); display:flex; justify-content:space-between; gap:20px; color:#94A3B8; font-size:11px; }

@media (max-width: 1020px) {
  .main-nav { display:none; }
  .menu-toggle { display:block; }
  .nav-actions { display:none; }
  .main-nav.open {
    position:absolute; left:20px; right:20px; top:70px; display:flex; flex-direction:column; align-items:stretch; gap:0;
    background:white; border:1px solid var(--border); border-radius:16px; padding:8px; box-shadow:var(--shadow);
  }
  .main-nav.open a { padding:13px 12px; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { text-align:center; }
  .hero-lead { margin-inline:auto; }
  .hero-actions, .trust-row { justify-content:center; }
  .hero-visual { width:min(820px,100%); margin:auto; min-height:420px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .showcase-stage { grid-template-columns:1fr; }
  .showcase-copy { padding:24px 26px; text-align:center; }
  .showcase-copy p { max-width:700px; margin-inline:auto; }
  .two-col { grid-template-columns:1fr 1fr; gap:45px; }
  .pricing-grid { grid-template-columns:repeat(2,1fr); }
  .audience-grid { grid-template-columns:repeat(2,1fr); }
  .faq-wrap { grid-template-columns:1fr; gap:35px; }
  .section-heading.left { text-align:center; margin:auto; }
}

@media (max-width: 700px) {
  .container { width:min(100% - 28px, 1160px); }
  .site-header .nav-wrap { min-height:66px; }
  .hero { padding:58px 0 46px; }
  .hero h1 { font-size:43px; letter-spacing:-2px; }
  .hero-lead { font-size:16px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .btn { width:100%; }
  .trust-row { flex-direction:column; gap:7px; }
  .hero-visual { min-height:280px; margin-top:14px; }
  .browser-card { transform:none; border-radius:15px; }
  .float-card { display:none; }

  .proof-grid { grid-template-columns:repeat(2,1fr); }
  .proof-grid div:nth-child(2) { border-right:0; }
  .proof-grid div:nth-child(-n+2) { border-bottom:1px solid #EEF2F7; }

  .section { padding:70px 0; }
  .section-heading { margin-bottom:30px; }
  .features-grid { grid-template-columns:1fr; }
  .showcase { border-radius:18px; }
  .showcase-tabs { padding:10px; }
  .showcase-stage { display:block; }
  .showcase-copy { padding:22px 18px; }
  .showcase-copy h3 { font-size:22px; }
  .showcase-image-wrap { padding:9px; }
  .showcase-image-wrap img { border-radius:11px; }

  .two-col { grid-template-columns:1fr; gap:25px; }
  .phone-scene { min-height:520px; }
  .phone { width:255px; }
  .audience-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .billing-toggle { width:100%; justify-content:center; }
  .billing-option { flex:1; }
  .cta-section { padding-bottom:70px; }
  .cta-box { padding:32px 24px; flex-direction:column; align-items:flex-start; }
  .cta-box .btn { width:100%; }
  .footer-grid, .footer-bottom { flex-direction:column; }
  .footer-links { gap:14px 20px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }


/* Official MIA Organiza brand */
.brand-official {
  gap: 0;
  line-height: 0;
}
.brand-official img {
  width: 154px;
  height: auto;
  display: block;
}
.footer-brand-official {
  display: inline-flex;
}
.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 13px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.footer-logo-badge img {
  width: 150px;
  height: auto;
  display: block;
}

@media (max-width: 700px) {
  .brand-official img {
    width: 142px;
  }
  .footer-logo-badge img {
    width: 142px;
  }
}


/* V4 — official high-resolution brand assets */
.brand-official img {
  width: 166px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}
.footer-brand-official {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.footer-brand-official img {
  width: 178px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.footer-logo-badge {
  display: contents;
}

@media (max-width: 700px) {
  .brand-official img {
    width: 150px;
  }
  .footer-brand-official img {
    width: 164px;
  }
}

/* V5: correct light/dark logo variants */
.site-header .brand-official img {
  filter: none;
}
.footer-brand-official img {
  filter: none;
}


/* V8 — transparência comercial e páginas jurídicas */
.pricing-legal-note {
  margin: 24px auto 0;
  max-width: 820px;
  padding: 18px 20px;
  border: 1px solid #DBEAFE;
  border-radius: 16px;
  background: #F8FBFF;
  color: #64748B;
  font-size: 12.5px;
  line-height: 1.65;
}
.pricing-legal-note p { margin: 0; }
.pricing-legal-note p + p { margin-top: 7px; }
.pricing-legal-note strong { color: #334155; }
.pricing-legal-note a { color: #2563EB; text-decoration: underline; text-underline-offset: 2px; }

.footer-grid-expanded {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(130px, .5fr) minmax(190px, .7fr);
  gap: 56px;
}
.footer-about { max-width: 520px; }
.footer-legal-id {
  margin-top: 18px;
  line-height: 1.8;
  color: #94A3B8 !important;
}
.footer-legal-id a { color: #CBD5E1; }
.footer-column { display: grid; align-content: start; gap: 10px; font-size: 13px; }
.footer-column strong { color: #F8FAFC; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.footer-column a { color: #94A3B8; }
.footer-column a:hover { color: white; }

/* Páginas jurídicas */
.legal-page { background: #F8FAFC; color: #334155; }
.legal-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #E2E8F0;
}
.legal-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-nav .brand-official img { width: 166px; max-height: 46px; object-fit: contain; object-position: left center; }
.legal-back { color: #2563EB; font-size: 13px; font-weight: 750; }
.legal-hero { padding: 72px 0 34px; }
.legal-hero .kicker { display: inline-block; margin-bottom: 10px; }
.legal-hero h1 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}
.legal-hero p {
  margin: 16px 0 0;
  max-width: 760px;
  color: #64748B;
  line-height: 1.75;
}
.legal-meta {
  margin-top: 18px;
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  color: #64748B;
  font-size: 12px;
}
.legal-wrap {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 90px;
}
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 18px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: white;
}
.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  color: #0F172A;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.legal-toc a {
  display: block;
  padding: 7px 0;
  color: #64748B;
  font-size: 12.5px;
}
.legal-toc a:hover { color: #2563EB; }
.legal-content {
  min-width: 0;
  padding: 34px 40px;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  background: white;
  box-shadow: 0 16px 45px rgba(15,23,42,.05);
}
.legal-content section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #EEF2F7;
}
.legal-content h2 {
  margin: 0 0 12px;
  color: #0F172A;
  font-size: 22px;
  letter-spacing: -.4px;
}
.legal-content h3 {
  margin: 22px 0 8px;
  color: #1E293B;
  font-size: 16px;
}
.legal-content p, .legal-content li {
  color: #475569;
  font-size: 14px;
  line-height: 1.78;
}
.legal-content ul { padding-left: 20px; }
.legal-content a { color: #2563EB; text-decoration: underline; text-underline-offset: 2px; }
.legal-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid #2563EB;
  border-radius: 10px;
  background: #EFF6FF;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}
.legal-table-wrap { overflow-x: auto; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 13px;
}
.legal-table th, .legal-table td {
  padding: 12px 14px;
  border: 1px solid #E2E8F0;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: #F8FAFC; color: #0F172A; }
.legal-contact-card {
  padding: 22px;
  border: 1px solid #DBEAFE;
  border-radius: 18px;
  background: linear-gradient(180deg,#F8FBFF,#fff);
}
.legal-footer {
  padding: 30px 0;
  border-top: 1px solid #1E293B;
  background: #0F172A;
  color: #94A3B8;
  font-size: 12px;
}
.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-footer a { color: #CBD5E1; }

@media (max-width: 850px) {
  .footer-grid-expanded { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 700px) {
  .footer-grid-expanded { grid-template-columns: 1fr; gap: 28px; }
  .footer-about { grid-column: auto; }
  .legal-nav { min-height: 66px; }
  .legal-nav .brand-official img { width: 150px; }
  .legal-hero { padding: 48px 0 26px; }
  .legal-content { padding: 26px 20px; border-radius: 18px; }
  .legal-wrap { gap: 20px; padding-bottom: 60px; }
  .legal-toc { display: none; }
}


/* V9 — acessibilidade (WCAG 2.2 AA como referência técnica) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 12px 16px;
  border-radius: 10px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(15,23,42,.25);
}
.skip-link:focus { transform: translateY(0); }

[id] { scroll-margin-top: 96px; }
main[tabindex="-1"]:focus { outline: none; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #1D4ED8;
  outline-offset: 3px;
  border-radius: 6px;
}
.site-footer :where(a, button):focus-visible,
.legal-footer :where(a, button):focus-visible {
  outline-color: #BFDBFE;
}

.btn { min-height: 44px; }
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.showcase-tab, .billing-option { min-height: 44px; }
.main-nav a { min-height: 36px; display: inline-flex; align-items: center; }

.showcase-tab[aria-selected="true"] {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #93C5FD;
}
.billing-option[aria-pressed="true"] {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 3px 10px rgba(15,23,42,.08);
}

.footer-column h2 {
  margin: 0 0 4px;
  color: #F8FAFC;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-bottom a { color: #CBD5E1; text-decoration: underline; text-underline-offset: 3px; }

.legal-toc h2 {
  margin: 0 0 10px;
  color: #0F172A;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.legal-meta { color: #64748B; }
.legal-table-wrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 760px) {
  .main-nav.open a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .feature-card:hover,
  .browser-card { transform: none !important; }
}

@media (forced-colors: active) {
  :where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid Highlight; }
  .btn, .showcase-tab, .billing-toggle, .price-card, .feature-card, .legal-content, .legal-toc {
    border: 1px solid CanvasText;
  }
}
