/* Quatrion — sistema visual do site.
   Paleta oficial: grafite #16181D · osso #EDE9E2 · cobre #A8763E (cobre só como fio, < 5% da superfície).
   Tipografia: IBM Plex Serif (títulos) · Instrument Sans (texto) · DM Mono (rótulos). */

:root {
  --grafite: #16181D;
  --grafite-2: #101115;
  --osso: #EDE9E2;
  --osso-2: #E4DFD6;
  --papel: #F4F1EC;
  --cobre: #A8763E;
  --cobre-texto: #7D5628;
  --tinta-2: #3E4046;
  --cinza-l: #5C5D61;
  --cinza-d: #A3A09A;
  --texto-d: #C9C5BD;
  --linha-l: #CFC9BF;
  --linha-l2: #C4BEB3;
  --linha-d: #2B2D33;

  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--grafite);
  color: var(--osso);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--cobre); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--osso); color: var(--grafite); padding: 12px 18px; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Superfícies */
.dark { background: var(--grafite); color: var(--osso); }
.light { background: var(--osso); color: var(--grafite); }
.paper { background: var(--osso-2); color: var(--grafite); }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--flush-top { padding-top: 0; }

/* Tipografia */
.eyebrow { font: 400 13px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--cinza-l); }
.dark .eyebrow { color: var(--cinza-d); }
.display { font: 300 clamp(3.1rem, 8.2vw, 8.25rem)/.98 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.title { font: 300 clamp(2.6rem, 6vw, 5.5rem)/1.02 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.h2 { font: 300 clamp(2.2rem, 4.4vw, 4rem)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.h2--xl { font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: 1.04; }
.h3 { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--serif); }
.h4 { font: 400 1.625rem/1.2 var(--serif); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--tinta-2); max-width: 640px; text-wrap: pretty; }
.dark .lead { color: var(--texto-d); }
.muted { color: var(--tinta-2); }
.dark .muted { color: var(--texto-d); }
.quiet { color: var(--cinza-l); }
.dark .quiet { color: var(--cinza-d); }
.mono { font-family: var(--mono); }
.num { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; color: var(--cinza-l); }
.dark .num { color: var(--cobre); }
.serif-italic { font: italic 300 clamp(1.375rem, 2.2vw, 1.875rem)/1.4 var(--serif); text-wrap: balance; }
.tags { font: 400 12.5px/1.8 var(--mono); color: var(--cinza-l); }
.dark .tags { color: var(--cinza-d); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 720px; }

/* Fios */
.rule { border: 0; border-top: 1px solid var(--linha-l); margin: 0; }
.dark .rule { border-top-color: var(--linha-d); }
.rule--cobre { border-top-color: var(--cobre) !important; }
.tick { width: 40px; height: 1px; background: var(--cobre); }

/* Botões e links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 32px; font: 500 17px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease; }
.btn--light { background: var(--osso); color: var(--grafite); }
.btn--light:hover { background: #fff; color: var(--grafite); }
.btn--dark { background: var(--grafite); color: var(--osso); }
.btn--dark:hover { background: #000; color: var(--osso); }
.btn--line { border-color: currentColor; background: transparent; min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; text-decoration: none; }
.link-arrow span[aria-hidden] { transition: transform .2s ease; }
.link-arrow:hover span[aria-hidden] { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Cabeçalho */
.site-header { background: var(--grafite); color: var(--osso); border-bottom: 1px solid var(--linha-d); position: relative; z-index: 20; }
.site-header .bar { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { height: 60px; width: auto; }
@media (max-width: 480px) { .site-header .bar { height: 84px; } .brand img { height: 46px; } }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { text-decoration: none; color: #B9B6AF; padding-block: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--osso); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--cobre); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid #3A3D44; color: var(--osso); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--linha-d); padding: 8px var(--gutter) 24px; }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--linha-d); text-decoration: none; font-size: 18px; }
.mobile-nav a[aria-current="page"] { color: var(--cobre); }
.mobile-nav.open { display: block; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 480px) { .header-actions .btn--line { display: none; } }

/* Abertura de página interna */
.page-hero { padding-block: clamp(80px, 11vw, 160px) clamp(64px, 8vw, 112px); }
.page-hero .stack { gap: 28px; max-width: 980px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 400 12.5px/1.4 var(--mono); letter-spacing: .08em; color: var(--cinza-d); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--osso); }

/* Home: herói */
.hero { padding-block: clamp(96px, 14vw, 200px) clamp(72px, 9vw, 128px); text-align: center; }
.hero .stack { align-items: center; gap: 36px; }
.hero .lead { margin-inline: auto; }
.layers-strip { margin-top: clamp(96px, 12vw, 168px); border-top: 1px solid var(--cobre); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); text-align: left; }
.layers-strip a { padding: 20px 24px 0 0; display: flex; gap: 14px; align-items: baseline; text-decoration: none; color: var(--texto-d); font-size: 16px; }
.layers-strip a:hover { color: var(--osso); }

/* Bloco de cabeçalho de seção */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.sec-head .stack { gap: 24px; }
.sec-head > p { max-width: 440px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.gap-xl { gap: clamp(56px, 7vw, 96px); }
.gap-l { gap: clamp(40px, 5vw, 64px); }
.gap-m { gap: 28px; }
.gap-s { gap: 16px; }

/* Quatro camadas (símbolo anotado) */
.camadas { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,400px) minmax(0,1fr); column-gap: 72px; row-gap: 96px; align-items: start; }
.camadas .sym { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.camada { display: flex; flex-direction: column; gap: 14px; }
.camada p { font-size: 17px; line-height: 1.55; }
.camada--1 { grid-column: 1; grid-row: 1; text-align: right; align-items: flex-end; }
.camada--2 { grid-column: 3; grid-row: 1; }
.camada--3 { grid-column: 1; grid-row: 2; text-align: right; align-items: flex-end; }
.camada--4 { grid-column: 3; grid-row: 2; }
@media (max-width: 960px) {
  .camadas { grid-template-columns: minmax(0,1fr); row-gap: 48px; }
  .camadas .sym { grid-column: 1; grid-row: auto; max-width: 260px; justify-self: center; }
  .camada--1, .camada--2, .camada--3, .camada--4 { grid-column: 1; grid-row: auto; text-align: left; align-items: flex-start; }
}

/* Etapas */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--cobre); }
.steps li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.steps h3 { font: 400 28px/1.15 var(--serif); }
.steps p { font-size: 16px; line-height: 1.55; }
.steps .result { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--linha-l); font-size: 14px; color: var(--cinza-l); }
.dark .steps .result { border-top-color: #2E3037; color: var(--cinza-d); }

/* Lista de soluções */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 72px minmax(0,1.3fr) minmax(0,1.2fr) minmax(0,1fr) 40px; gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--linha-l); text-decoration: none; color: inherit; transition: background .2s ease; }
a.row:hover { background: rgba(22,24,29,.035); }
a.row:hover .arrow { transform: translateX(4px); }
.row--head { padding: 0 0 14px; border-bottom-color: var(--grafite); font: 400 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cinza-l); }
.row .name { font: 400 26px/1.2 var(--serif); }
.row .prob { font-size: 16px; line-height: 1.55; color: var(--tinta-2); }
.row .offer { font-size: 16px; line-height: 1.55; }
.row .arrow { font-size: 22px; text-align: right; transition: transform .2s ease; }
@media (max-width: 960px) {
  .row { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .row--head { display: none; }
  .row .arrow { display: none; }
}

/* Grades */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr)); }
.grid--rules { gap: 0 48px; }
.grid--240 { --min: 240px; }
.grid--200 { --min: 200px; }
.grid--360 { --min: 360px; }
.grid--rules > * { border-top: 1px solid var(--grafite); padding-block: 28px; }
.dark .grid--rules > * { border-top-color: var(--cobre); }
.cell { display: flex; flex-direction: column; gap: 12px; }
.cell p { font-size: 17px; line-height: 1.6; }

/* Cartões discretos */
.card { background: var(--osso); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.paper .card { background: var(--osso); }
.light .card { background: var(--papel); }

/* Tabela editorial */
.table-box { overflow-x: auto; }
.table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 17px; line-height: 1.6; }
.table th[scope="col"] { text-align: left; font: 400 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cinza-l); padding: 0 24px 14px 0; border-bottom: 1px solid var(--grafite); vertical-align: bottom; }
.table td, .table th[scope="row"] { text-align: left; vertical-align: top; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--linha-l2); }
.table th[scope="row"] { font: 400 22px/1.25 var(--serif); }
.table td:last-child, .table th:last-child { padding-right: 0; }

/* Bloco escuro de destaque */
.callout { background: var(--grafite); color: var(--osso); padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.callout > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.callout ul { flex: 1 1 420px; list-style: none; border-top: 1px solid var(--cobre); }
.callout li { padding: 16px 0; border-bottom: 1px solid #34363D; font-size: 18px; }
.callout .h3 { font-weight: 300; }

/* Listas com marcador fino */
.list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--linha-l); }
.list li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--linha-l); position: relative; font-size: 17px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 0; top: 29px; width: 14px; height: 1px; background: var(--cobre); }
.dark .list { border-top-color: var(--linha-d); }
.dark .list li { border-bottom-color: var(--linha-d); }

/* Página de solução */
.sol-layout { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.sol-aside { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 20px; }
.sol-aside nav { display: flex; flex-direction: column; border-top: 1px solid var(--grafite); }
.sol-aside nav a { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--linha-l); text-decoration: none; font-size: 15px; color: var(--tinta-2); }
.sol-aside nav a:hover { color: var(--grafite); }
.sol-main { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 104px); }
.sol-block { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 32px; }
.sol-block > .num { display: flex; gap: 16px; align-items: center; }
.sol-block > .num::after { content: ""; flex: 1; height: 1px; background: var(--linha-l); }
.pull { font: 300 clamp(1.75rem, 3vw, 2.5rem)/1.2 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
@media (max-width: 960px) {
  .sol-layout { grid-template-columns: minmax(0, 1fr); }
  .sol-aside { position: static; }
  .sol-aside nav { display: none; }
}

/* Parceiros */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); border-top: 1px solid var(--linha-l); border-left: 1px solid var(--linha-l); }
.logos li { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 132px; padding: 24px; border-right: 1px solid var(--linha-l); border-bottom: 1px solid var(--linha-l); background: var(--papel); }
.logos img { max-height: 34px; max-width: 132px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .25s ease, opacity .25s ease; }
.logos li:hover img { filter: none; opacity: 1; }
.logos span { font: 400 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cinza-l); text-align: center; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.logo-strip img { max-height: 26px; max-width: 120px; width: auto; height: auto; filter: grayscale(1) contrast(1.05); opacity: .7; }

/* Evidências: padrão de caso */
.case-std { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 1px solid var(--grafite); }
.case-std > div { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.case-std h3 { font: 400 22px/1.2 var(--serif); }
.case-std p { font-size: 15.5px; line-height: 1.55; }
.case-std .no { color: var(--cinza-l); font-size: 14.5px; padding-top: 10px; border-top: 1px solid var(--linha-l); }

/* Formulário */
.form-layout { display: flex; flex-wrap: wrap; gap: clamp(56px, 8vw, 120px); align-items: flex-start; }
.form-layout > section:first-child { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.form-panel { flex: 1 1 500px; min-width: 0; background: var(--papel); padding: clamp(28px, 4vw, 56px); }
.form { display: flex; flex-direction: column; gap: 28px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span, .legend { font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #55565B; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--grafite); background: transparent; border: 0; border-bottom: 1px solid #8F8B84; border-radius: 0; padding: 10px 0 12px; min-height: 48px; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--grafite) 50%), linear-gradient(135deg, var(--grafite) 50%, transparent 50%); background-position: calc(100% - 14px) 22px, calc(100% - 8px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--grafite); box-shadow: 0 1px 0 0 var(--grafite); }
.field input::placeholder, .field textarea::placeholder { color: #75736E; }
.field .err { font-size: 13.5px; color: #8A2B1F; min-height: 0; }
.field[data-invalid] input, .field[data-invalid] select { border-bottom-color: #8A2B1F; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--grafite); font-size: 15px; transition: background .15s ease, color .15s ease; }
.pill input:checked + span { background: var(--grafite); color: var(--osso); }
.pill input:focus-visible + span { outline: 2px solid var(--cobre); outline-offset: 2px; }
.notice { background: var(--grafite); color: var(--osso); padding: 24px 28px; display: flex; gap: 18px; align-items: flex-start; max-width: 460px; }
.notice svg { flex: none; margin-top: 3px; }
.notice p { font-size: 15px; line-height: 1.55; }
.done { display: flex; flex-direction: column; gap: 22px; }
.done pre { white-space: pre-wrap; font: 400 13.5px/1.6 var(--mono); background: var(--osso); padding: 20px; max-height: 420px; overflow: auto; margin: 0; }
.done .actions { gap: 12px 20px; }
.small { font-size: 13.5px; line-height: 1.55; color: #55565B; }

/* Política (texto longo) */
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.policy .toc { position: sticky; top: 24px; font-size: 14px; }
.policy .toc ol { list-style: none; counter-reset: toc; }
.policy .toc li { counter-increment: toc; margin: 0 0 9px; }
.policy .toc a { text-decoration: none; color: var(--tinta-2); display: inline-flex; gap: 10px; }
.policy .toc a::before { content: counter(toc, decimal-leading-zero); font: 400 11px/2 var(--mono); color: var(--cobre-texto); }
.policy main, .policy .doc { max-width: 760px; overflow-wrap: anywhere; }
.doc section { margin-bottom: 56px; scroll-margin-top: 24px; }
.doc h2 { font: 400 28px/1.25 var(--serif); margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--linha-l); }
.doc h2 .n { display: block; font: 400 12px/1 var(--mono); color: var(--cobre-texto); letter-spacing: .1em; margin-bottom: 12px; }
.doc h3 { font: 600 17px/1.4 var(--sans); margin: 28px 0 10px; }
.doc p { margin-bottom: 16px; font-size: 17px; line-height: 1.65; }
.doc ul { padding-left: 20px; margin-bottom: 16px; }
.doc li { margin-bottom: 6px; font-size: 17px; line-height: 1.6; }
.doc li::marker { color: var(--cobre); }
.doc .table { font-size: 15px; min-width: 560px; overflow-wrap: normal; }
.doc .table th[scope="row"], .doc .table td:first-child { font: 600 15px/1.5 var(--sans); }
.ficha { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; margin: 8px 0 24px; padding: 24px; background: var(--osso-2); font-size: 16px; }
.ficha dt { font: 400 12px/1.8 var(--mono); color: var(--cinza-l); letter-spacing: .04em; }
.ficha dd { margin: 0; }
.resumo { background: var(--grafite); color: var(--osso); padding: 32px 36px; margin-bottom: 56px; }
.resumo h2 { font: 400 22px/1.3 var(--serif); margin-bottom: 16px; }
.resumo ul { padding-left: 18px; }
.resumo li { margin-bottom: 8px; font-size: 16.5px; line-height: 1.55; }
.resumo li::marker { color: var(--cobre); }
.pend { background: #F3E3CF; outline: 1px dashed var(--cobre); padding: 0 4px; font-family: var(--mono); font-size: .88em; }
@media (max-width: 900px) {
  .policy { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .policy .toc { position: static; border-bottom: 1px solid var(--linha-l); padding-bottom: 24px; }
  .ficha { grid-template-columns: 1fr; gap: 2px; }
  .ficha dd { margin-bottom: 12px; }
}

/* Chamada final */
.cta { padding-block: clamp(112px, 14vw, 200px); text-align: center; }
.cta .stack { align-items: center; gap: 32px; max-width: 980px; margin: 0 auto; }
.cta .lead { margin-inline: auto; }

/* Rodapé */
.site-footer { background: var(--grafite-2); color: var(--osso); border-top: 1px solid var(--cobre); padding: 72px 0 40px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.site-footer .brand-col { display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.site-footer .brand-col img { height: 56px; width: auto; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 40px 64px; flex: 1 1 min(520px, 100%); min-width: 0; max-width: 700px; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer .col a { text-decoration: none; color: #D6D2CA; }
.site-footer .col a:hover { color: var(--osso); text-decoration: underline; }
.site-footer .col .eyebrow { font-size: 11.5px; letter-spacing: .14em; margin-bottom: 6px; }
.site-footer .bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linha-d); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; font-size: 13px; color: var(--cinza-d); }
.site-footer .bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer .bottom a { color: #D6D2CA; }

/* Impressão */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .burger, .mobile-nav, .cta, .policy .toc { display: none !important; }
  .dark { background: #fff !important; color: #000 !important; }
  .section, .page-hero { padding-block: 24px !important; }
  .fx main * { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .fx .camadas-track::after { display: none; }
}

/* Complementos */
[hidden] { display: none !important; }
.center-text { text-align: center; margin-inline: auto; max-width: 820px; }
.sec-head--center .stack { align-items: center; }
.sec-head--center > p, .sec-head--center .muted { max-width: 640px; }
.callout .muted { color: var(--texto-d); }
.callout .eyebrow { color: var(--cinza-d); }
.callout .btn { align-self: flex-start; }
a.card { text-decoration: none; color: inherit; transition: background .2s ease; }
a.card:hover { background: var(--papel); }
a.card .link-arrow { margin-top: auto; }
.crumbs--light { color: var(--cinza-l); }
.crumbs--light a:hover { color: var(--grafite); }
.next-steps { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--cobre); max-width: 460px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--linha-l); }
.next-steps li .num { padding-top: 4px; }
.next-steps li div { display: flex; flex-direction: column; gap: 6px; }
.next-steps strong { font-weight: 600; font-size: 17px; }
.next-steps li div span { font-size: 16px; line-height: 1.5; color: var(--tinta-2); }
.table th[scope="row"] .num { display: inline-block; margin-bottom: 4px; }
.light .quiet.h2 { color: var(--cinza-l); }
.form-layout > section:first-child .lead { max-width: 460px; }
.display, .title, .h2, .h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.site-footer .brand-col img { align-self: flex-start; }
.camada--1 .tags, .camada--3 .tags { max-width: 300px; }
.grid--quad { --min: 220px; }
@media (max-width: 960px) { .camadas .sym { width: 100%; } }

/* ============ Entrada para diretoria (diretoria.html, prefixo hb-: "Home B" do canvas) ============
   Versão clássica da home para decisores: hierarquia centrada, numeração romana, fios grafite, texto em serifa.
   Cabeçalho, rodapé e páginas internas são os mesmos da home geral. */
.hb { font-family: var(--serif); }
.hb .eyebrow { font: 500 12.5px/1.3 var(--sans); letter-spacing: .2em; color: #55565B; }
.hb .callout .eyebrow { color: var(--cinza-d); }
.hb .btn { min-height: 52px; padding: 0 28px; font-size: 16px; }
.hb-abertura { padding-block: clamp(64px, 8vw, 112px) clamp(80px, 10vw, 136px); }
.hb-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.hb-hero-main { gap: 32px; }
.hb-h1 { font: 400 clamp(3rem, 6.2vw, 5.75rem)/1.02 var(--serif); letter-spacing: -.02em; }
.hb-sub { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.35; color: var(--tinta-2); max-width: 620px; text-wrap: pretty; }
.hb-hero-aside { border-left: 1px solid var(--grafite); padding-left: 40px; display: flex; flex-direction: column; gap: 28px; }
.hb-hero-aside p { font-size: 18px; line-height: 1.7; }
.hb-drop::first-letter { float: left; font: 400 5.4em/.82 var(--serif); padding: 6px 12px 0 0; color: var(--grafite); }
.hb-hero-aside .actions { gap: 16px 28px; padding-top: 4px; }
.hb-link { display: inline-flex; align-items: center; min-height: 44px; font: italic 400 17px/1.3 var(--serif); }
.hb-sec { padding-block: clamp(88px, 11vw, 152px); }
.hb-sec--top0 { padding-top: 0; }
.hb-gap { gap: clamp(48px, 6vw, 80px); }
.hb-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hb-head--cobre { border-top: 1px solid var(--cobre); padding-top: 40px; }
.hb-h2 { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; max-width: 900px; }
.hb-h3 { font: 400 26px/1.25 var(--serif); }
.hb-centro { align-self: center; text-align: center; }
.hb-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb-cols3 > * { padding: 0 36px; border-left: 1px solid var(--linha-l); }
.hb-cols3 > :first-child { padding-left: 0; border-left: 0; }
.hb-cols3 > :last-child { padding-right: 0; }
.hb-cols3 p { line-height: 1.65; }
.hb-simbolo { width: 56px; height: 56px; }
.hb .table { min-width: 720px; }
.hb .table th[scope="col"] { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; color: #55565B; }
.hb .table th[scope="row"] { font-size: 26px; line-height: 1.2; }
.hb .table td, .hb .table th[scope="row"] { padding-block: 28px; }
.hb .table tbody tr:last-child > * { border-bottom-color: var(--grafite); }
.hb-rom { display: block; font: 400 12px/1.4 var(--sans); letter-spacing: .14em; color: #55565B; margin-bottom: 8px; }
.hb-risco { font-style: italic; color: var(--tinta-2); }
.hb-nota { max-width: 760px; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.45; color: #2C2E34; }
.hb-steps { border-top-color: var(--grafite); border-bottom: 1px solid var(--grafite); }
.hb-steps li { padding: 32px 24px 32px 0; gap: 12px; }
.hb-steps h3 { font-size: 26px; }
.hb-rom-cobre { font: 400 15px/1.4 var(--serif); letter-spacing: .1em; color: var(--cobre-texto); }
.hb-sol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; border-top: 1px solid var(--grafite); }
.hb-q { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--linha-l2); text-decoration: none; color: inherit; }
.hb-q-pergunta { font: italic 400 22px/1.35 var(--serif); transition: color .2s ease; }
.hb-q:hover .hb-q-pergunta { color: var(--cobre-texto); }
.hb-q-nome { font-size: 17px; line-height: 1.5; }
.hb-q-oferta { font: 400 13px/1.5 var(--sans); letter-spacing: .06em; color: #55565B; }
.hb-q::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--cobre); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.hb-q:is(:hover, :focus-visible)::after { transform: none; }
.hb-comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
.hb-comp > * { padding: 28px 0; border-top: 1px solid var(--grafite); gap: 10px; }
.hb-comp > :nth-last-child(-n+2) { border-bottom: 1px solid var(--grafite); }
.hb-comp h3 { font: 400 24px/1.25 var(--serif); }
.hb-casos { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.hb-final { padding-block: 0 clamp(96px, 12vw, 168px); }
.hb-final .stack { align-items: center; text-align: center; gap: 28px; }
.hb-filete { align-self: stretch; height: 5px; border-top: 1px solid var(--grafite); border-bottom: 1px solid var(--grafite); }
.hb-final .hb-titulo { margin-top: 48px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.02em; max-width: 900px; }
.hb-final .serif-italic { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--tinta-2); max-width: 620px; text-wrap: pretty; }
.hb-final .btn { min-height: 56px; padding: 0 36px; margin-top: 8px; }
.hb-final .quiet { font-size: 16px; }
.hb-final .quiet a { color: var(--grafite); }
@media (max-width: 960px) {
  .hb-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hb-hero-aside { border-left: 0; border-top: 1px solid var(--grafite); padding-left: 0; padding-top: 32px; }
  .hb-cols3 { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .hb-cols3 > * { padding: 0; border-left: 0; }
  .hb-sol, .hb-comp { grid-template-columns: minmax(0, 1fr); }
  .hb-comp > :nth-last-child(2) { border-bottom: 0; }
}
/* No celular a tabela das camadas vira lista: cada camada com o que está em jogo e o risco embaixo. */
@media (max-width: 640px) {
  .hb .table, .hb .table tbody, .hb .table tr, .hb .table th[scope="row"], .hb .table td { display: block; min-width: 0; }
  .hb .table thead { display: none; }
  .hb .table tbody { border-top: 1px solid var(--grafite); }
  .hb .table th[scope="row"], .hb .table td { border-bottom: 0; padding: 0 0 10px; }
  .hb .table th[scope="row"] { padding-top: 28px; }
  .hb .table td:last-child { padding-bottom: 28px; border-bottom: 1px solid var(--linha-l2); }
}

/* ============ Movimento ============
   Tudo aqui depende de .fx (fx-init.js), que só liga sem "reduzir movimento".
   Curvas: entrada cubic-bezier(.2,.7,.2,1); desenho de fio cubic-bezier(.65,0,.35,1). */

/* 1. Transição entre páginas: o cabeçalho fica, o conteúdo troca com um deslize curto.
   O nome da solução viaja da lista para o título (nomes gerados em transicoes.css). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(root) { animation: vt-sai .2s ease both; }
::view-transition-new(root) { animation: vt-entra .5s cubic-bezier(.2,.7,.2,1) .05s both; }
@keyframes vt-sai { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(14px); } }

/* 4. Entrada do conteúdo (lista espelhada em site.js, REVELAR) */
.fx main :is(.display, .title, .h2):not(.vt) {
  clip-path: inset(0 -.2em 100% -.2em); transform: translateY(.16em);
  transition: clip-path 1.05s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform 1.05s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
}
.fx main :is(.display, .title, .h2):not(.vt).in { clip-path: inset(-.3em -.2em -.35em -.2em); transform: none; }
.fx main :is(p.eyebrow, .lead, .sec-head > p, .serif-italic, .pull, .cell, .row, .card, .list li, .next-steps li, .case-std > div, .logos li, .steps li, .layers-strip a, .hero .actions, .page-hero .actions, .table tbody tr, .hb-q) {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s ease var(--d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), background .2s ease, color .2s ease;
}
.fx main :is(p.eyebrow, .lead, .sec-head > p, .serif-italic, .pull, .cell, .row, .card, .list li, .next-steps li, .case-std > div, .logos li, .steps li, .layers-strip a, .hero .actions, .page-hero .actions, .table tbody tr, .hb-q).in { opacity: 1; transform: none; }
/* Rede de segurança: se site.js não carregar, nada fica escondido. */
.fx:not(.fx-ready) main * { animation: rv-seguro 0s 2.5s forwards; }
@keyframes rv-seguro { to { opacity: 1; clip-path: none; transform: none; } }

/* 2. Quatro camadas: símbolo fixo enquanto a página rola (desktop com altura suficiente) */
.tampa, .anel { display: none; }
.tampa { transform-box: fill-box; transform-origin: center; transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.anel { stroke: var(--cobre); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); transition: stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1) .35s, opacity .2s ease .35s; }
:is(.fx .camadas, .form-progress) :is(.tampa, .anel) { display: inline; }
:is(.fx .camadas, .form-progress)[data-open] .tampa { transform: scale(0); }
:is(.fx .camadas, .form-progress)[data-open] .anel { stroke-dashoffset: 0; opacity: 1; }
:is(.fx .camadas, .form-progress) .idx { opacity: .16; transition: opacity .6s ease; }
:is(.fx .camadas, .form-progress)[data-on~="1"] .i1,
:is(.fx .camadas, .form-progress)[data-on~="2"] .i2,
:is(.fx .camadas, .form-progress)[data-on~="3"] .i3,
:is(.fx .camadas, .form-progress)[data-on~="4"] .i4 { opacity: 1; }
.fx .camadas .camada { opacity: .28; transition: opacity .7s ease; }
.fx .camadas .tick { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.65,0,.35,1) .1s; }
.fx .camadas :is(.camada--1, .camada--3) .tick { transform-origin: right; }
.fx .camadas[data-on~="1"] .camada--1, .fx .camadas[data-on~="2"] .camada--2,
.fx .camadas[data-on~="3"] .camada--3, .fx .camadas[data-on~="4"] .camada--4 { opacity: 1; }
.fx .camadas[data-on~="1"] .camada--1 .tick, .fx .camadas[data-on~="2"] .camada--2 .tick,
.fx .camadas[data-on~="3"] .camada--3 .tick, .fx .camadas[data-on~="4"] .camada--4 .tick { transform: none; }
@media (min-width: 961px) and (min-height: 760px) {
  .fx .camadas-track::after { content: ""; display: block; height: 110vh; }
  .fx .camadas-track .camadas { position: sticky; top: 14vh; }
}
@media (max-width: 960px) {
  .fx .camadas :is(.camada--1, .camada--3) .tick { transform-origin: left; }
}

/* 3. Método: o fio cobre se desenha etapa por etapa */
.steps li { position: relative; }
.fx .steps { border-top-color: transparent; }
.fx .steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--cobre); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.65,0,.35,1) var(--d, 0ms); }
.fx .steps li.in::before { transform: none; }
@media (min-width: 961px) {
  .fx .steps li:nth-child(2) { --d: .5s; }
  .fx .steps li:nth-child(3) { --d: 1s; }
  .fx .steps li:nth-child(4) { --d: 1.5s; }
  .fx .steps li:nth-child(5) { --d: 2s; }
}

/* 5. Hover preciso */
.row { position: relative; }
a.row::after, a.card::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--cobre); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
a.row::after { bottom: -1px; }
a.card { position: relative; }
a.card::before { top: 0; }
a.row:is(:hover, :focus-visible)::after, a.card:is(:hover, :focus-visible)::before { transform: none; }
a.row .name { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
a.row:hover .name { transform: translateX(6px); }
a.row:hover .arrow { transform: translateX(8px); }
.logo-strip img { transition: filter .3s ease, opacity .3s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* 6. Formulário: progresso no símbolo */
.form-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--linha-l); }
.form-progress svg { width: 44px; height: 44px; flex: none; }
.form-progress .anel { stroke-width: 4; }
