/* OnDoxis — site institucional. Marca: marca/manual-de-marca.html (não relitigar). */

:root {
  --navy: #101f3b;
  --blue1: #5c7bef;
  --blue2: #2c54cc;
  --flap: #3e70ee;
  --paper: #fcfcfa;
  --panel: #f2f4f8;
  --hair: #dfe2e9;
  --hair-2: #e7eaf0;
  --muted: #5a6377;
  --muted-2: #7a87b0;
  --ink: #101f3b;
  --dark: #0e1420;
  --dark-2: #172035;
  --on-dark: #f2f5fc;
  --on-dark-mut: #a7b0c4;
  --hair-dark: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --wrap: 1080px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 250, 0.82);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand img.logo { height: 26px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.link { font-size: 15px; color: var(--muted); font-weight: 500; }
.nav a.link:hover { color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 9px 17px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--dark-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--hair); }
.btn-ghost:hover { border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 72px; }
.hero .eyebrow { margin-bottom: 20px; display: inline-block; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); max-width: 16ch; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--blue2); }
.hero p.lead {
  margin-top: 26px; font-size: 20px; color: var(--muted);
  max-width: 52ch; line-height: 1.6;
}
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { margin-top: 20px; font-size: 14px; color: var(--muted-2); }

/* ---------- Section scaffolding ---------- */
section { padding: 80px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(29px, 4vw, 42px); letter-spacing: -0.018em; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); line-height: 1.6; }
.rule { border: none; border-top: 1px solid var(--hair); }

/* ---------- Pilares (linhas de apoio, não cards) ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); }
.pillar { padding: 4px 20px 4px 0; }
.pillar + .pillar { border-left: 1px solid var(--hair); padding-left: 20px; }
.pillar .ic { color: var(--blue2); margin-bottom: 18px; display: block; }
.pillar h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: 0; }
.pillar p { margin-top: 9px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Faixa escura ---------- */
.dark { background: var(--dark); color: var(--on-dark-mut); }
.dark h2 { color: var(--on-dark); }
.dark .eyebrow { color: var(--blue1); }
.dark .section-head p { color: var(--on-dark-mut); }

.domains { display: flex; flex-wrap: wrap; align-items: center; }
.domain-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; color: #c9d2e0; font-weight: 500; padding: 8px 0;
}
.domain-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue1); display: inline-block; }
.domain-chip + .domain-chip { padding-left: 24px; margin-left: 24px; border-left: 1px solid var(--hair-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 56px; }
.split .col h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; color: var(--on-dark); margin-bottom: 12px; letter-spacing: -0.015em; }
.split .col p { color: var(--on-dark-mut); font-size: 16px; line-height: 1.62; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.step .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue2); border-top: 2px solid var(--blue2); padding-top: 14px; display: block; }
.step h3 { font-family: var(--sans); font-size: 20px; font-weight: 500; margin-top: 16px; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.58; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 96px 0; }
.cta-final h2 { font-size: clamp(31px, 4.6vw, 48px); max-width: 20ch; margin: 0 auto; letter-spacing: -0.02em; }
.cta-final p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.cta-final .cta-row { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta-final .mailto { font-family: var(--sans); font-weight: 600; color: var(--blue2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-mut); padding: 60px 0 40px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img.logo { height: 26px; width: auto; display: block; }
.site-footer .tagline { margin-top: 16px; font-size: 14px; max-width: 34ch; color: #8b96ad; line-height: 1.55; }
.site-footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
.site-footer .col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f7b93; margin-bottom: 15px; font-weight: 500; }
.site-footer .col a, .site-footer .col span { display: block; font-size: 15px; color: #c4cdda; margin-bottom: 10px; }
.site-footer .col a:hover { color: #fff; }
.site-footer .bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--hair-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6f7b93; }
.site-footer .bottom a { color: #97a2b8; }
.site-footer .bottom a:hover { color: #fff; }

/* ---------- Documentos legais ---------- */
.legal { padding: 54px 0 100px; }
.legal .doc { max-width: 720px; margin: 0 auto; }
.legal .back { font-size: 14px; color: var(--muted); font-weight: 500; display: inline-block; margin-bottom: 30px; }
.legal .back:hover { color: var(--navy); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; }
.legal .meta { margin-top: 12px; color: var(--muted-2); font-size: 14px; font-family: var(--mono); }
.legal .banner {
  margin: 30px 0 8px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--hair); border-left: 3px solid var(--blue2);
  color: #3a4358; font-size: 14.5px; line-height: 1.6;
}
.legal .banner strong { color: var(--navy); }
.legal h2 { font-size: 23px; margin-top: 44px; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-top: 28px; color: var(--navy); }
.legal p, .legal li { color: #2b3346; font-size: 16px; line-height: 1.72; margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a[href^="mailto"], .legal a[href$=".html"] { color: var(--blue2); font-weight: 500; }
.legal .ph { background: #edf1fb; color: var(--blue2); padding: 1px 7px; border-radius: 5px; font-family: var(--mono); font-weight: 500; font-size: 13.5px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .pillar, .pillar + .pillar { border-left: none; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 24px; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .nav .link { display: none; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  section { padding: 58px 0; }
  .domain-chip + .domain-chip { padding-left: 0; margin-left: 0; border-left: none; flex-basis: 100%; }
}
