:root {
  --bg: oklch(10% 0.025 300);
  --surface: oklch(14% 0.03 300);
  --surface-raised: oklch(18% 0.035 300);
  --fg: oklch(97% 0.012 300);
  --muted: oklch(75% 0.03 300);
  --border: oklch(36% 0.045 300);
  --accent: oklch(28% 0.065 295);
  --accent-readable: oklch(82% 0.08 260);
  --shell-width: 1120px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 Manrope, ui-sans-serif, system-ui, sans-serif; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-readable); outline-offset: 4px; }
.shell { width: min(var(--shell-width), calc(100% - 48px)); margin-inline: auto; }

.topbar { min-height: 88px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; font-size: 22px; font-weight: 800; letter-spacing: -0.07em; }
.brand img { display: block; width: 42px; height: 42px; }
.brand span, .eyebrow, .accent { color: var(--accent-readable); }
.topbar nav, .nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(12px, 1.7vw, 24px); color: var(--muted); font-size: 14px; }
.topbar nav a:hover, .nav a:hover, footer a:hover { color: var(--fg); }
.desktop-actions { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg); background: transparent; font: inherit; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:hover { border-color: var(--fg); }
.btn-primary, .primary { border-color: var(--accent); background: var(--accent); }
.btn-primary:hover, .primary:hover { background: var(--surface-raised); }

.hero, .section { padding: 88px 0; border-bottom: 1px solid var(--border); }
.hero { padding-top: 112px; padding-bottom: 90px; }

/* ━━━ HERO HOME (página principal) — tudo centralizado ━━━ */
.hero-home .eyebrow,
.hero-home h1,
.hero-home p,
.hero-home .actions { text-align: center; }
.hero-home h1 { margin-inline: auto; }
.hero-home .actions { justify-content: center; }

/* ━━━ HERO SETOR (páginas de setores) — tudo à esquerda ━━━ */
.hero-setor .eyebrow,
.hero-setor h1,
.hero-setor p,
.hero-setor .actions { text-align: left; }
.hero-setor h1 { margin-inline: 0; }
.hero-setor .actions { justify-content: flex-start; }

.eyebrow, .mono { margin: 0; font: 12px/1.4 "SF Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 16px 0; font-size: clamp(44px, 7vw, 82px); line-height: 1; letter-spacing: -0.065em; }
.hero p { max-width: 700px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section h2 { max-width: 760px; margin: 0 0 14px; font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.06em; }
.section-intro { max-width: 680px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.card, .grid article, .section details { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.card h3, .grid h3, h3 { margin: 0 0 10px; font-size: 20px; }
.card p, .grid p, .section details p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { position: absolute; top: 22px; left: 24px; counter-increment: step; content: "0" counter(step); color: var(--accent-readable); font: 12px "SF Mono", ui-monospace, monospace; }
blockquote { margin: 0; }
cite { display: block; margin-top: 16px; color: var(--muted); font-size: 14px; font-style: normal; }
.metrics, .metric { display: grid; gap: 8px; }
.metrics { gap: 20px; }
.metric strong { font-size: 20px; }
.metric span { color: var(--muted); font-size: 14px; }

.section-sidebar { position: fixed; z-index: 8; top: 50%; right: 12px; display: grid; gap: 12px; opacity: 0; pointer-events: none; transform: translate(10px, -50%); transition: opacity .25s ease, transform .25s ease; }
.section-sidebar.is-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.section-sidebar a { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; min-height: 18px; color: var(--muted); font: 11px "SF Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.section-sidebar a::before { content: ""; width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid var(--muted); border-radius: 50%; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.section-sidebar a span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transform: translateX(4px); transition: max-width .2s ease, opacity .2s ease, transform .2s ease; }
.section-sidebar a:hover, .section-sidebar a.is-active { color: var(--fg); }
.section-sidebar a:hover::before, .section-sidebar a.is-active::before { border-color: var(--accent-readable); background: var(--accent-readable); transform: scale(1.15); }
.section-sidebar a.is-active span, .section-sidebar a:focus-visible span { max-width: 110px; opacity: 1; transform: translateX(0); }
.sidebar-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--fg); cursor: pointer; }
.sidebar-toggle span, .sidebar-toggle span::before, .sidebar-toggle span::after { display: block; width: 17px; height: 1px; background: currentColor; content: ""; }
.sidebar-toggle span { position: relative; margin: auto; }
.sidebar-toggle span::before { position: absolute; top: -6px; }
.sidebar-toggle span::after { position: absolute; top: 6px; }

footer { border-top: 1px solid var(--border); color: var(--muted); font: 13px "SF Mono", ui-monospace, monospace; }

/* ━━━ TRUST STRIP (topo do footer) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer-trust { padding: 24px 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.site-footer-trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer-trust-text { color: var(--muted); font: 14px/1.5 Manrope, ui-sans-serif, system-ui, sans-serif; max-width: 520px; }
.site-footer-trust-text strong { color: var(--fg); }
.site-footer-trust-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-raised); color: var(--muted); font: 12px "SF Mono", ui-monospace, monospace; letter-spacing: .04em; }

/* ━━━ MAIN FOOTER GRID ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer { padding: 48px 0 0; background: var(--bg); }
.site-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.site-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer-brand .brand { font-size: 22px; font-weight: 800; letter-spacing: -0.07em; }
.site-footer-brand .brand img { width: 36px; height: 36px; }
.site-footer-desc { max-width: 320px; color: var(--muted); font: 14px/1.6 Manrope, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.site-footer-cnpj { color: var(--muted); font-size: 12px; opacity: .7; }
.site-footer-col h4 { margin: 0 0 16px; color: var(--fg); font: 700 13px Manrope, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: uppercase; }
.site-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer-col a { color: var(--muted); font: 14px/1.4 Manrope, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; transition: color .2s; }
.site-footer-col a:hover { color: var(--fg); }
.site-footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer-contact a { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 14px/1.4 Manrope, ui-sans-serif, system-ui, sans-serif; }
.site-footer-contact a:hover { color: var(--fg); }
.site-footer-contact .label { color: var(--accent-readable); font: 11px "SF Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

/* ━━━ COPYRIGHT BAR (base do footer) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer-copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 20px 0 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.site-footer-copyright-links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer-copyright-links a { color: var(--muted); transition: color .2s; }
.site-footer-copyright-links a:hover { color: var(--fg); }

/* ━━━ RESPONSIVE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 800px) {
  .site-footer-trust-inner { flex-direction: column; align-items: flex-start; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-copyright { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
  [data-od-id="top-navigation"] {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 0;
  }
  [data-od-id="top-navigation"] > .desktop-nav,
  [data-od-id="top-navigation"] > .desktop-actions { display: none !important; }
  [data-od-id="top-navigation"] > .brand { grid-column: 2; justify-self: center; }
  [data-od-id="top-navigation"] > .sidebar-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    place-items: center;
  }
  .section-sidebar {
    top: 88px;
    right: auto;
    left: 16px;
    display: grid;
    gap: 8px;
    width: min(260px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    transform: translateX(calc(-100% - 24px));
  }
  .section-sidebar.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .section-sidebar:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(-100% - 24px));
  }
  .section-sidebar a,
  .section-sidebar a.is-active { flex-direction: row; min-height: 44px; padding: 0 10px; color: var(--muted); }
  .section-sidebar a span { max-width: 220px; opacity: 1; transform: none; }
  .section-sidebar a:hover,
  .section-sidebar a.is-active { color: var(--fg); }
}

@media (max-width: 540px) {
  [data-od-id="top-navigation"] {
    width: 100%;
    margin-inline: 0;
    padding-inline: 16px;
  }
}

@media (min-width: 541px) and (max-width: 1024px) {
  [data-od-id="top-navigation"] {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 24px;
  }
  [data-od-id="top-navigation"] > .brand { grid-column: 1; justify-self: start; }
  [data-od-id="top-navigation"] > .desktop-nav {
    display: flex !important;
    grid-column: 2;
    justify-content: flex-start;
    gap: clamp(10px, 1.5vw, 20px);
    font-size: clamp(11px, 1.4vw, 14px);
  }
  [data-od-id="top-navigation"] > .desktop-actions {
    display: flex !important;
    grid-column: 3;
    gap: 6px !important;
  }
  [data-od-id="top-navigation"] > .desktop-actions .btn {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }
  [data-od-id="top-navigation"] > .sidebar-toggle { display: none; }
}
