/* ============================================================
   Oriente Virtual — Site Institucional
   Design system inspirado em condyra.com.br (tipografia, cores,
   layout de seções e cartões), com conteúdo do sistema OV.
   ============================================================ */

:root {
  /* Paleta (referência: condyra.com.br) */
  --ov-blue: #3b5bff;
  --ov-blue-dark: #2c46e0;
  --ov-blue-darker: #22369c;
  --ov-navy: #0f1d3a;
  --ov-navy-deep: #0a1428;
  --ov-ink: #0f1d3a;
  --ov-text: #323a4a;
  --ov-text-muted: #5b6577;
  --ov-text-soft: #8892a3;
  --ov-bg: #fcfcfd;
  --ov-bg-alt: #f4f6fb;
  --ov-border: #e1e6ef;
  --ov-white: #ffffff;

  /* Acentos institucionais do sistema OV (DESIGN_SYSTEM.md) */
  --ov-accent-terracotta: #c48a6a;
  --ov-accent-cream: #f3f4c9;
  --ov-accent-success: #198038;
  --ov-accent-warning: #f1c21b;

  --ov-radius-sm: 8px;
  --ov-radius-md: 12px;
  --ov-radius-lg: 20px;
  --ov-shadow-card: 0 1px 2px rgba(15, 29, 58, 0.04), 0 8px 24px rgba(15, 29, 58, 0.06);
  --ov-shadow-card-hover: 0 4px 10px rgba(15, 29, 58, 0.06), 0 16px 36px rgba(15, 29, 58, 0.10);
  --ov-max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ov-text);
  background: var(--ov-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ov-ink);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

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

img, svg { display: block; max-width: 100%; }

ul { margin: 0; }

.container {
  max-width: var(--ov-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--ov-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ov-blue);
  outline-offset: 2px;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ov-blue);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--ov-bg-alt);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ov-text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ov-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(59, 91, 255, 0.32);
}
.btn-primary:hover { background: var(--ov-blue-dark); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); }

.btn-outline {
  background: transparent;
  color: var(--ov-ink);
  border-color: var(--ov-border);
}
.btn-outline:hover { border-color: var(--ov-blue); color: var(--ov-blue); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 253, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ov-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--ov-ink);
}

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

.brand picture {
  display: inline-flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ov-text);
}
.nav-links a:hover { color: var(--ov-blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.link-enter {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ov-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.link-enter:hover { color: var(--ov-blue); }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--ov-ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(760px 420px at 78% -10%, rgba(59, 91, 255, 0.35), rgba(59, 91, 255, 0) 60%),
    radial-gradient(600px 500px at 100% 60%, rgba(59, 91, 255, 0.18), rgba(59, 91, 255, 0) 60%),
    linear-gradient(160deg, var(--ov-navy) 0%, var(--ov-navy-deep) 65%, #060c1a 100%);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7c9;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero h1 .accent { color: #8fa4ff; }

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-foot {
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.hero-foot a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.hero-foot a:hover { color: #fff; }

/* Mockup do painel (ilustrativo, não é screenshot real do produto) */
.mock-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ov-radius-lg);
  padding: 18px;
  backdrop-filter: blur(6px);
}
.mock-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 240px at 30% 0%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mock-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.mock-body {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  color: var(--ov-ink);
}
.mock-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mock-kpi {
  background: var(--ov-bg-alt);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-kpi b { display: block; font-size: 18px; font-family: "Manrope", sans-serif; }
.mock-kpi span { font-size: 11px; color: var(--ov-text-soft); }
.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ov-bg-alt);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.mock-item span.tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.12);
  color: var(--ov-blue-darker);
}

/* ---------- Stats bar ---------- */
.stats-wrap { padding: 56px 0 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: -70px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 5;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: var(--ov-radius-md);
  box-shadow: var(--ov-shadow-card);
  padding: 28px 24px;
  text-align: center;
}
.stat-card b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--ov-blue);
}
.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ov-text-muted);
}

/* ---------- Pillars (A Plataforma) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: var(--ov-radius-md);
  padding: 26px 22px;
  box-shadow: var(--ov-shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pillar-card:hover { box-shadow: var(--ov-shadow-card-hover); transform: translateY(-2px); }
.pillar-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pillar-card p { font-size: 14.5px; color: var(--ov-text-muted); }

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef1ff;
  color: var(--ov-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-box svg { width: 22px; height: 22px; }

/* ---------- Módulos grid ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}
.module-card {
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: var(--ov-radius-md);
  padding: 24px;
  box-shadow: var(--ov-shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.module-card:hover { box-shadow: var(--ov-shadow-card-hover); transform: translateY(-2px); }
.module-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.module-card p { font-size: 14px; color: var(--ov-text-muted); }

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}
.diff-card {
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: var(--ov-radius-md);
  padding: 26px 24px;
  box-shadow: var(--ov-shadow-card);
}
.diff-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.diff-card p { font-size: 14.5px; color: var(--ov-text-muted); }

/* ---------- Preços ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  align-items: stretch;
}
.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 28px;
  padding: 4px;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: 999px;
}
.billing-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ov-text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.billing-option.is-active { background: var(--ov-blue); color: #fff; }
.billing-badge {
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ov-blue-darker);
  background: #e8ecff;
  border-radius: 999px;
}
.billing-option.is-active .billing-badge { background: rgba(255, 255, 255, 0.22); color: #fff; }
.price-annual { margin: -6px 0 10px; font-size: 13px; font-weight: 600; color: var(--ov-blue); }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ov-border);
  border-radius: var(--ov-radius-md);
  padding: 28px 24px;
  box-shadow: var(--ov-shadow-card);
}
.price-card-featured {
  border-color: var(--ov-blue);
  box-shadow: var(--ov-shadow-card-hover);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--ov-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-head h3 { font-size: 19px; font-weight: 700; }
.price-head p { margin-top: 4px; font-size: 14px; color: var(--ov-text-muted); }
.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 4px;
  font-family: "Manrope", sans-serif;
}
.price-from { margin-right: 6px; font-size: 13px; color: var(--ov-text-muted); }
.price-currency { font-size: 16px; font-weight: 700; color: var(--ov-text-muted); }
.price-consult { font-size: 24px; font-weight: 800; color: var(--ov-ink); }
.price-amount { font-size: 36px; font-weight: 800; color: var(--ov-ink); }
.price-period { font-size: 14px; color: var(--ov-text-muted); }
.price-variable {
  min-height: 18px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--ov-blue);
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ov-text);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eef1ff;
  box-shadow: inset 0 0 0 2px var(--ov-blue);
}
.price-addons {
  border-top: 1px solid var(--ov-border);
  padding-top: 16px;
  margin-bottom: 22px;
}
.price-addons-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ov-text-soft);
  margin-bottom: 10px;
}
.addon-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 14px;
  color: var(--ov-text);
  cursor: pointer;
}
.addon-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ov-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.price-card.is-selected { border-color: var(--ov-blue); box-shadow: 0 0 0 2px rgba(59, 91, 255, 0.25); }
.form-interest { margin: 14px 0 0; padding: 10px 14px; border-radius: 9px; font-size: 14px; background: #eef1ff; color: var(--ov-ink); }
.price-contact { margin: 16px 0 0; font-size: 13.5px; text-align: center; }
.price-contact a { font-weight: 600; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ov-text-soft);
}

/* ---------- Implantação ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding-top: 8px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ov-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--ov-text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ov-border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: "Manrope", sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ov-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .icon-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ov-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ov-blue);
  transition: transform 0.15s ease;
}
.faq-item.open .icon-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  font-size: 14.5px;
  color: var(--ov-text-muted);
}
.faq-a p { padding-bottom: 22px; max-width: 640px; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- CTA / Contato ---------- */
.cta-section {
  background:
    radial-gradient(600px 340px at 85% 0%, rgba(59, 91, 255, 0.30), rgba(59, 91, 255, 0) 60%),
    linear-gradient(160deg, var(--ov-navy) 0%, var(--ov-navy-deep) 70%, #060c1a 100%);
  color: #fff;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-grid h2 { color: #fff; font-size: 34px; font-weight: 800; }
.cta-grid p.lead { color: rgba(255, 255, 255, 0.72); margin-top: 16px; font-size: 16.5px; }
.cta-points { margin-top: 28px; }
.cta-points ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}
.cta-points svg { flex-shrink: 0; margin-top: 2px; color: #8fa4ff; }

.form-card {
  background: #fff;
  color: var(--ov-text);
  border-radius: var(--ov-radius-lg);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.form-card h3 { font-size: 19px; font-weight: 700; }
.form-card > p { font-size: 14px; color: var(--ov-text-muted); margin-top: 6px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ov-ink); }
.form-field input,
.form-field textarea {
  border: 1px solid var(--ov-border);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ov-text);
  background: #fff;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ov-blue);
  outline-offset: 1px;
  border-color: var(--ov-blue);
  box-shadow: 0 0 0 4px rgba(59, 91, 255, 0.15);
}
.form-field .optional { font-weight: 400; color: var(--ov-text-soft); }
.form-submit { margin-top: 20px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 9px; font-size: 14px; background: #eef1ff; color: var(--ov-ink); }
.kicker-light { color: #8fa4ff; }
.form-note { font-size: 12.5px; color: var(--ov-text-soft); margin-top: 14px; text-align: center; }
.form-note a { color: var(--ov-blue); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ov-navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-grid .brand { color: #fff; }
.footer-grid .brand-logo {
  height: 28px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 10px;
}
.footer-about { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 320px; color: rgba(255, 255, 255, 0.55); }
.footer-col h2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-style: normal; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .stats { grid-template-columns: 1fr; margin-top: 32px; }
  .stats-wrap { padding-top: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Visibilidade de .nav-links/.nav-toggle segue os utilitários responsivos do
   Bootstrap (d-none/d-lg-flex, d-lg-none) direto no HTML — aqui só o estado
   aberto do menu mobile, no mesmo breakpoint "lg" (991.98px) do Bootstrap. */
@media (max-width: 991.98px) {
  .nav-links.mobile-open {
    display: flex !important;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--ov-border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    z-index: 40;
  }
  .nav-links.mobile-open a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid var(--ov-border); width: 100%; }
  .nav-links.mobile-open a.nav-cta { margin-top: 12px; width: 100%; justify-content: center; color: #fff; }
}

/* Abaixo de 576px o botão fixo no header some (colide com a logo em telas
   muito estreitas) — a mesma ação fica disponível dentro do menu mobile
   (.nav-cta, exibido só em telas <lg dentro do dropdown). */
@media (max-width: 575.98px) {
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  .header-actions .btn-primary { padding: 10px 16px; font-size: 14px; }
  .hero h1 { font-size: 34px; }
  .mock-row { grid-template-columns: repeat(2, 1fr); }
  .mock-body { padding: 14px; }
  .mock-kpi { padding: 10px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-grid h2 { font-size: 28px; }
}

/* ---------- Páginas legais (termos e privacidade) ---------- */
.legal { background: var(--ov-bg); padding: 40px 0 96px; }
.legal-wrap { max-width: 800px; }
.legal-crumbs { font-size: 13.5px; color: var(--ov-text-muted); margin-bottom: 18px; }
.legal-crumbs a { color: var(--ov-blue); }
.legal h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.legal-meta { font-size: 14px; color: var(--ov-text-muted); margin: 0 0 20px; }
.legal-lead { font-size: 18px; color: var(--ov-text); margin: 0 0 28px; }
.legal-toc { background: var(--ov-bg-alt); border: 1px solid var(--ov-border); border-radius: var(--ov-radius-md); padding: 20px 24px; margin-bottom: 40px; }
.legal-toc h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ov-text-muted); margin: 0 0 10px; font-family: "Inter", sans-serif; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14.5px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { color: var(--ov-text); }
.legal-toc a:hover { color: var(--ov-blue); }
.legal section { margin-bottom: 36px; scroll-margin-top: 96px; }
.legal section h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.legal section p, .legal section li { font-size: 16.5px; line-height: 1.7; color: var(--ov-text); }
.legal section p { margin: 0 0 14px; }
.legal section ul { padding-left: 22px; margin: 0 0 14px; }
.legal section li { margin-bottom: 8px; }
.legal a { color: var(--ov-blue); text-decoration: underline; text-underline-offset: 2px; }
.legal code { font-size: 0.9em; background: var(--ov-bg-alt); padding: 1px 6px; border-radius: 6px; }
.legal section h3 { font-size: 18px; font-weight: 700; margin: 18px 0 6px; }
.guide-cta { background: var(--ov-bg-alt); border: 1px solid var(--ov-border); border-radius: var(--ov-radius-md); padding: 28px; margin: 8px 0 28px; text-align: center; }
.guide-cta h2 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.guide-cta p { margin: 0 0 16px; color: var(--ov-text); }
.legal .guide-cta a.btn { color: #fff; text-decoration: none; }
.legal-other { border-top: 1px solid var(--ov-border); padding-top: 20px; font-size: 15px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .legal h1 { font-size: 30px; }
  .legal-toc ol { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
