/* KF Correias — estilos compartilhados */
:root {
  --steel: #E6E9EB;
  --steel-2: #D9DEE1;
  --paper: #FFFFFF;
  --rubber: #1F2226;
  --rubber-2: #2B2F34;
  --ink: #1B1F23;
  --muted: #56616B;
  --line: #C5CCD1;
  --signal: #FF7A00;
  --signal-dk: #E86400;
  --focus: #1E5FA8;
  --wrap: 1160px;
  --gut: clamp(16px, 4vw, 32px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Tipografia */
h1, h2, h3 { font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.005em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; }
h3 { font-size: 1.45rem; font-stretch: 85%; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Marcadores do que falta confirmar com o cliente */
.pendente {
  background: #FFF1BF; color: #5A4500; box-shadow: inset 0 0 0 1px #D9A400;
  border-radius: 3px; padding: 0 .3em; font-style: normal;
}
.dark .pendente { background: #4A3F12; color: #FFE38A; box-shadow: inset 0 0 0 1px #8A7520; }
.ph-block {
  display: grid; place-items: center; text-align: center; padding: 24px;
  min-height: 220px; border: 2px dashed #B9A04A; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #F3EBCB 0 12px, #F7F1DA 12px 24px);
  color: #5A4500; font-weight: 600;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-stretch: 90%; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  padding: .85em 1.2em; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-dk); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(0,0,0,.05); }
.dark .btn-line:hover { background: rgba(255,255,255,.08); }
.btn-lg { font-size: 1.1rem; padding: 1em 1.4em; }

/* Cabeçalho e navegação */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 1.45rem; line-height: 1; }
.brand-kf { background: var(--rubber); color: var(--signal); padding: .22em .35em; border-radius: 4px; font-weight: 900; letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav .sub-btn { display: block; padding: .55em .7em; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); }
.nav a:hover, .nav .sub-btn:hover { background: var(--steel); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); border-radius: var(--radius) var(--radius) 0 0; }
.sub-btn { font: inherit; background: none; border: 0; cursor: pointer; display: inline-flex !important; align-items: center; gap: .35em; }
.sub-btn::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(31,34,38,.14); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub[data-open] > .sub { display: block; }
.sub a { padding: .6em .75em; }
.top-cta { display: flex; align-items: center; gap: 12px; }
.top-tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-weight: 700; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: .45em .8em; cursor: pointer; }

@media (max-width: 1180px) {
  .top-tel { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .top-cta .btn { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 70px); overflow: auto; }
  .nav[data-open] { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 8px var(--gut) 20px; }
  .nav a, .nav .sub-btn { padding: .6em .4em; font-size: 1.05rem; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .sub-btn::after { display: none; }
  .nav .nav-cta { margin-top: 12px; }
  .nav .nav-cta a { text-align: center; background: #25D366; color: #0B2416; }
}
@media (min-width: 961px) { .nav .nav-cta { display: none; } }
@media (max-width: 760px) { .nav { max-height: calc(100vh - 70px - 76px); } }

/* Migalhas */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: var(--line); }

/* Topo das páginas */
.hero { padding-top: clamp(36px, 6vw, 72px); }
.hero-inner { padding-top: 12px; }

/* A faixa de correia */
.belt {
  --band-h: clamp(46px, 5.6vw, 78px);
  position: relative; color: #E9ECEE;
  margin: clamp(28px, 4vw, 44px) 0 clamp(40px, 6vw, 64px);
  padding-block: calc(clamp(26px, 4vw, 40px) + 18px) calc(clamp(26px, 4vw, 40px) + 24px);
}
/* A faixa do código é a própria esteira, de ponta a ponta (imagens do cliente):
   trilhos fixos em cima e embaixo, lona anda com a rolagem (--belt-x vem do site.js) */
.belt, .closing::before {
  background-color: #262626;
  background-image: url("img/esteira-trilho-cima.png"), url("img/esteira-trilho-baixo.png"),
    linear-gradient(rgba(18,18,18,.42), rgba(18,18,18,.42)), url("img/esteira-lona.jpg");
  background-repeat: repeat-x, repeat-x, no-repeat, repeat;
  background-size: auto 18px, auto 26px, 100% 100%, auto 100%;
  background-position: 0 0, 0 100%, 0 0, var(--belt-x, 0px) 0;
}
.closing::before { content: ""; position: absolute; left: 0; right: 0; height: var(--band-h); top: calc(-1 * var(--band-h));
  background-image: url("img/esteira-trilho-cima.png"), url("img/esteira-trilho-baixo.png"), url("img/esteira-lona.jpg");
  background-repeat: repeat-x; background-size: auto 10%, auto 14%, auto 100%; background-position: 0 0, 0 100%, var(--belt-x, 0px) 0; }
.belt .wrap { position: relative; }

.belt-form { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: end; }
.belt-form label { display: block; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; color: #fff; margin-bottom: 8px; grid-column: 1 / -1; }
.belt-input {
  width: 100%; min-width: 0; background: rgba(10,11,12,.72); border: 2px solid rgba(255,255,255,.28); border-radius: 8px;
  color: #fff; font: inherit; font-weight: 700; font-stretch: 125%;
  font-size: clamp(1.2rem, 3vw, 2.1rem); letter-spacing: .06em; line-height: 1.2; padding: .38em .6em;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.5);
}
.belt-input::placeholder { color: #8C949B; }
.belt-input:hover { border-color: rgba(255,255,255,.45); }
.belt-input:focus { outline: none; border-color: var(--signal); box-shadow: inset 0 2px 8px rgba(0,0,0,.5), 0 0 0 3px rgba(255,122,0,.35); }
.belt-input:focus-visible { outline: none; }
.belt-form { align-items: stretch; }
.belt-form .btn-lg { align-self: stretch; }
.belt-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; color: #D3D8DC; font-weight: 600; }
.belt-alt-or { font-weight: 400; color: #B9C0C6; font-size: .95rem; }
.btn-ghost { background: rgba(10,11,12,.6); color: #fff; border: 2px solid var(--signal); }
.btn-ghost:hover { background: rgba(255,122,0,.18); }
.belt-note { margin: 16px 0 0; font-size: .95rem; color: #A9B0B6; max-width: none; }
.belt-note a { color: #E9ECEE; }
@media (max-width: 700px) {
  .belt-form { grid-template-columns: 1fr; }
  .belt-form .btn { width: 100%; }
}

/* Faixa de fatos rápidos */
.facts { display: flex; flex-wrap: wrap; gap: 10px 0; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.facts li { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }

/* Seções */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-paper { background: var(--paper); }
.sec-head { margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-wide { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* Lista de linhas de produto com o perfil desenhado */
.lines { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.line-row { display: grid; grid-template-columns: 112px 1fr auto; gap: 8px 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; }
.line-row h3 { margin: 0 0 .25em; }
.line-row p { margin: 0; color: var(--muted); }
.line-row .codes { margin-top: .4em; font-weight: 700; font-stretch: 110%; letter-spacing: .04em; color: var(--ink); font-size: .95rem; }
.line-row .go { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--signal); white-space: nowrap; }
.line-row:hover .go { text-decoration-color: var(--ink); }
.profile { width: 100px; height: 60px; color: var(--rubber); }
@media (max-width: 700px) {
  .line-row { grid-template-columns: 72px 1fr; }
  .profile { width: 68px; height: 42px; }
  .line-row .go { grid-column: 2; }
}

/* Problema x solução */
.pairs { width: 100%; border-collapse: collapse; }
.pairs th { text-align: left; font-stretch: 85%; font-size: 1rem; color: var(--muted); font-weight: 700; padding: 0 0 12px; }
.pairs td { padding: 20px 24px 20px 0; border-top: 1px solid var(--line); vertical-align: top; }
.pairs td:first-child { font-weight: 700; font-size: 1.1rem; width: 42%; }
.pairs td:last-child { color: var(--muted); }
@media (max-width: 700px) {
  .pairs thead { display: none; }
  .pairs tr { display: block; border-top: 1px solid var(--line); padding: 18px 0; }
  .pairs td { display: block; border: 0; padding: 0; width: auto !important; }
  .pairs td:last-child { margin-top: 6px; }
}

/* Passos (sequência real) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: passo; }
.steps li { counter-increment: passo; border-top: 4px solid var(--signal); padding-top: 18px; }
.steps li::before { content: counter(passo); display: block; font-weight: 900; font-stretch: 70%; font-size: 3.2rem; line-height: 1; margin-bottom: 10px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Tabela técnica */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .98rem; }
.sec-paper .spec { background: var(--steel); }
.spec caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { background: var(--rubber); color: #E9ECEE; font-weight: 700; font-stretch: 90%; }
.spec td:first-child { font-weight: 700; font-stretch: 110%; letter-spacing: .03em; white-space: nowrap; }

/* Listas simples */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 14px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-weight: 600; }
.sec-paper .tags li { background: var(--steel); border-color: transparent; }

/* Ilustração do guia */
.belt-side { width: 100%; max-width: 560px; height: auto; }

/* Depoimentos pendentes */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof .ph-block { min-height: 180px; font-size: .95rem; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* Formulário */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #A9B2B9; border-radius: var(--radius); padding: .75em .85em;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field .hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.form-status { min-height: 1.6em; font-weight: 600; margin: 0; }
.form-legal { font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.sec-paper .panel { background: var(--steel); border-color: transparent; }

/* Perguntas frequentes */
.faq { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Faixa final */
.closing { --band-h: clamp(46px, 5.6vw, 78px); background: var(--rubber); color: #E9ECEE; padding-block: clamp(48px, 7vw, 88px); position: relative; margin-top: var(--band-h); }
.closing::before { top: calc(-1 * var(--band-h)); }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing h2 { margin: 0; max-width: 18ch; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rodapé */
.foot { background: var(--rubber-2); color: #C9CED3; padding-block: 56px 28px; font-size: .95rem; }
.foot a { color: #E9ECEE; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h3 { font-size: 1.1rem; color: #fff; margin-bottom: .8em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .5em; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot-legal { border-top: 1px solid #40464C; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #9DA4AA; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Barra fixa no celular */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
  }
  .mbar .btn { width: 100%; padding: .8em .6em; }
  body { padding-bottom: 76px; }
}

/* Prosa (política, guia) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* Telas estreitas (até ~420 px) */
.belt-form > * { min-width: 0; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .btn-lg { font-size: 1.02rem; padding: .9em 1em; }
  .closing .actions { width: 100%; }
  .closing .actions .btn { width: 100%; }
}
.split > *, .line-row > * { min-width: 0; }
.line-row .codes { overflow-wrap: anywhere; }

/* ===== Versão 2: estrutura institucional ===== */

/* Espaço para foto real (diz qual foto vai ali) */
.ph-photo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 220px; padding: 18px; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31,34,38,0) 40%, rgba(31,34,38,.55) 100%),
    repeating-linear-gradient(90deg, #C9CFD3 0 18px, #C3C9CE 18px 30px);
  color: #fff; font-size: .95rem; line-height: 1.35;
}
.ph-photo svg { position: absolute; top: 16px; left: 16px; width: 28px; height: 28px; color: rgba(31,34,38,.55); }
.ph-photo strong { font-weight: 700; }
.ph-photo .tag { align-self: flex-start; background: var(--signal); color: var(--ink); font-weight: 700; font-size: .78rem; padding: .2em .55em; border-radius: 3px; }
.ratio-43 { aspect-ratio: 4 / 3; min-height: 0; }
.ratio-169 { aspect-ratio: 16 / 9; min-height: 0; }
.ratio-1610 { aspect-ratio: 16 / 10; min-height: 0; }
.ratio-11 { aspect-ratio: 1 / 1; min-height: 0; padding: 10px; }

/* Topo com foto */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero-grid > * { min-width: 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid .hide-mob { display: none; } }

/* Quadro de características (produto) */
.highlights { background: var(--paper); border-top: 4px solid var(--signal); border-radius: 0 0 10px 10px; padding: 22px 24px 10px; margin-top: 28px; }
.highlights h2 { font-size: 1.35rem; font-stretch: 85%; margin-bottom: .6em; }
.highlights .ticks li:first-child { border-top: 0; }

/* Galeria de produto */
.gallery { display: grid; gap: 10px; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery .thumbs .ph-photo { font-size: .75rem; }
.gallery .thumbs .ph-photo svg { width: 18px; height: 18px; top: 8px; left: 8px; }

/* Blocos alternados foto + texto */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature > * { min-width: 0; }
.feature.flip > :first-child { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* Cartões do blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.posts li > a { display: grid; gap: 14px; text-decoration: none; }
.posts h3 { margin: 0; }
.posts p { margin: 0; color: var(--muted); }
.posts .read { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--signal); }
.posts a:hover .read { text-decoration-color: var(--ink); }
.posts .meta { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* Faixa de logos (clientes, marcas) */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.logos li { display: grid; place-items: center; min-height: 84px; border: 1px dashed #A9B2B9; border-radius: 8px; color: var(--muted); font-size: .85rem; text-align: center; padding: 8px; background: var(--paper); }
.sec-paper .logos li { background: var(--steel); }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, 1fr); } }

/* Downloads */
.downloads { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); max-width: 820px; }
.downloads li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; }
.downloads .file { font-size: .85rem; color: var(--muted); font-weight: 400; }

/* Artigo do blog */
.article { max-width: 720px; }
.article h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.5em; }
.article p, .article li { font-size: 1.1rem; line-height: 1.7; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .6em; }
.article .note { border-left: 4px solid var(--signal); background: var(--paper); padding: 14px 18px; border-radius: 0 8px 8px 0; }

/* ===== Identificador de correia ===== */
.id-step { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.id-step legend { font-weight: 800; font-stretch: 85%; font-size: 1.35rem; margin-bottom: 14px; padding: 0; }
.id-tipos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.id-tipos input, .id-formas input { position: absolute; opacity: 0; pointer-events: none; }
.id-tipos label, .id-formas label {
  display: grid; gap: 8px; justify-items: start; height: 100%; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line); border-radius: 8px; padding: 14px;
  font-weight: 700; line-height: 1.2;
}
.sec-paper .id-tipos label, .sec-paper .id-formas label { background: var(--steel); border-color: transparent; }
.id-tipos label small, .id-formas label small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.id-tipos .profile { width: 70px; height: 42px; }
.id-tipos label:hover, .id-formas label:hover { border-color: #8D979F; }
.id-tipos input:checked + label, .id-formas input:checked + label { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--signal); background: var(--paper); }
.id-tipos input:focus-visible + label, .id-formas input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.id-formas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.id-formas svg { width: 90px; height: 34px; color: var(--rubber); }
.id-campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 18px; }
.id-campos .field input, .id-campos .field select { background: var(--paper); }
.id-unit { position: relative; }
.id-unit input { padding-right: 3em; }
.id-unit::after { content: "mm"; position: absolute; right: .9em; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; pointer-events: none; }
.id-resultado { margin-top: 28px; background: var(--rubber); color: #E9ECEE; border-radius: 10px; padding: clamp(20px, 4vw, 36px); }
.id-resultado p { max-width: 60ch; }
.id-label { color: #AEB5BB; margin: 0; }
.id-codigo {
  margin: .1em 0 .3em; font-weight: 800; font-stretch: 125%; letter-spacing: .06em; line-height: 1.05;
  font-size: clamp(2rem, 6vw, 3.6rem); color: #EEF0F2; text-shadow: 0 -1px 0 rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.14);
  overflow-wrap: anywhere;
}
.id-codigo:focus { outline: none; }
.id-alt { color: #D5D9DC; }
.id-exp { color: #C9CED3; }
.id-aviso { color: #9DA4AA; font-size: .92rem; }
.id-erro { margin: 0; color: #FFE38A; font-weight: 700; }
.id-erro:focus { outline: none; }
.id-exemplo { pointer-events: none; }
@media (max-width: 860px) { .id-tipos { grid-template-columns: repeat(2, 1fr); } .id-campos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .id-campos, .id-formas { grid-template-columns: 1fr; } }
.id-tipos > div, .id-formas > div { min-width: 0; }
@media (max-width: 400px) {
  .id-tipos { grid-template-columns: 1fr; }
  .id-tipos label { grid-template-columns: 70px 1fr; align-items: center; column-gap: 12px; }
  .id-tipos label .profile { grid-row: span 2; }
}

/* Regiões de atendimento */
.regioes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.regioes li { border-left: 3px solid var(--rubber); padding: 4px 0 4px 18px; min-width: 0; }
.regioes h3 { margin-bottom: .3em; }
.regioes p { color: var(--muted); margin: 0; }
.mapa { display: block; width: 100%; min-height: 360px; border: 1px solid var(--line); background: var(--steel); }

/* Marca KF (vetor redesenhado do logo do cliente) */
.brand .kf-mark { height: 1.55em; width: auto; flex: none; }
.brand-txt { letter-spacing: .01em; }
.kf-k { fill: #626367; }
.kf-f { fill: #3A3A3E; }
.foot .kf-k { fill: #B4B7BB; }
.foot .kf-f { fill: #E2E4E6; }

/* Fotos reais */
.foto { margin: 0; }
.foto img { display: block; width: 100%; height: auto; border-radius: 10px; }
.foto figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.foto-retrato { max-width: 420px; }
.foto-retrato img { aspect-ratio: 4 / 5; object-fit: cover; }

img.capa { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
img.capa.ratio-1610 { aspect-ratio: 16 / 10; }
img.capa.ratio-169 { aspect-ratio: 16 / 9; }
.art-img { margin: 8px 0 20px; max-width: 560px; }
.art-img img { display: block; width: 100%; height: auto; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }

img.capa.ratio-43 { aspect-ratio: 4 / 3; }
img.capa.ratio-11 { aspect-ratio: 1; }
.prod-img { background: #fff; object-fit: contain !important; border: 1px solid var(--line); }

.setores-img { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.setores-img li { position: relative; border-radius: 10px; overflow: hidden; min-width: 0; }
.setores-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.setores-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.72)); }

/* Esteira que anda com a rolagem (imagens do cliente) */
.esteira { position: relative; margin-top: clamp(28px, 4vw, 48px); margin-bottom: -6px; }
.esteira img { display: block; width: 100%; height: auto; }
.esteira-moldura { position: relative; }
.esteira-lona { position: absolute; top: 12.2%; bottom: 2.4%; left: 1.25%; right: 1.3%; border-radius: 1.6% / 14%;
  background: #2a2a2a url("img/esteira-lona.jpg") repeat-x; background-size: auto 100%;
  background-position: var(--belt-x, 0px) 0; box-shadow: inset 0 6px 10px rgba(0,0,0,.35), inset 0 -4px 8px rgba(0,0,0,.3); }
.esteira-trilhos { position: absolute; inset: 0; }

/* Abertura da página inicial */
.hero-h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 16ch; }
.hero-tag { font-weight: 800; font-stretch: 80%; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; color: var(--ink);
  margin: 18px 0 0; padding-left: 14px; border-left: 4px solid var(--signal); max-width: 26ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-fatos { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.hero-fatos li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--signal); margin-right: 8px; vertical-align: middle; }
@media (max-width: 480px) { .hero-ctas .btn { width: 100%; justify-content: center; } }
.hero-tag + .lead { margin-top: 18px; }

/* Abertura com foto de fundo */
.hero-foto { position: relative; color: #fff; background: #15171a url("img/hero-esteira.webp") center right / cover no-repeat;
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 120px); margin-bottom: 0; }
.hero-foto::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,13,15,.92) 0%, rgba(12,13,15,.82) 38%, rgba(12,13,15,.35) 68%, rgba(12,13,15,.05) 100%); }
.hero-foto .wrap { position: relative; }
.hero-txt { max-width: 640px; }
.hero-foto .hero-h1 { color: #fff; }
.hero-foto .hero-tag { color: #fff; }
.hero-foto .lead { color: #D3D8DC; }
.hero-foto .hero-fatos { color: #C3C9CE; }
.hero-foto .btn-line { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(0,0,0,.2); }
.hero-foto .btn-line:hover { background: rgba(255,255,255,.12); }
.hero-foto + .belt { margin-top: 0; }
@media (max-width: 699px) {
  .hero-foto { background-image: url("img/hero-esteira-mob.webp"); background-position: center; }
  .hero-foto::before { background: linear-gradient(180deg, rgba(12,13,15,.86) 0%, rgba(12,13,15,.78) 60%, rgba(12,13,15,.6) 100%); }
}

/* Correia laranja que liga as seções (telas largas). Posição calculada no site.js */
@media (min-width: 1240px) {
  main { position: relative; }
  main::before, main::after { content: ""; position: absolute; z-index: 3; pointer-events: none;
    left: calc((100% - var(--wrap)) / 2 - 34px); }
  main::before { top: var(--tr-top, 0); height: var(--tr-h, 0); width: 10px; margin-left: -5px; border-radius: 5px;
    background: repeating-linear-gradient(180deg, var(--signal) 0 16px, #FFB15C 16px 22px);
    background-position: 0 var(--belt-x, 0px); box-shadow: 0 0 0 2px rgba(31,34,38,.55); }
  main::after { top: calc(var(--tr-top, 0) + var(--tr-h, 0)); }
  .sec { position: relative; }
  .sec::before, main::after { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
    background: radial-gradient(circle, var(--signal) 0 4px, #3A3F45 5px 8px, #8A9299 9px 12px, #3A3F45 13px); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
  .sec::before { content: ""; position: absolute; top: 0; z-index: 4; left: calc((100% - var(--wrap)) / 2 - 34px); }
}

/* Brilho de pôr do sol, continuando a foto da abertura */
main > .belt + div + .sec, main > .belt + .sec { background-image: radial-gradient(ellipse 60% 70% at 92% 0%, rgba(255,138,30,.16), transparent 70%); }
.foot { background-image: radial-gradient(ellipse 55% 80% at 95% 0%, rgba(255,122,0,.14), transparent 70%); }

/* Abertura mais à esquerda */
.hero-foto .wrap { max-width: 1320px; }

/* Seção laranja: "Como a KF atende" (sequência de passos) */
.sec:has(> .wrap > ol.steps) { background-color: var(--signal); color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='36' viewBox='0 0 64 36'%3E%3Cpath d='M2 30 32 8l30 22' fill='none' stroke='%231F2226' stroke-width='6' stroke-linejoin='bevel'/%3E%3C/svg%3E"); background-size: 64px 36px; background-blend-mode: normal; }
.sec:has(> .wrap > ol.steps)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--signal) 35%, rgba(255,122,0,.9) 100%); pointer-events: none; }
.sec:has(> .wrap > ol.steps) { position: relative; }
.sec:has(> .wrap > ol.steps) > .wrap { position: relative; z-index: 1; }
.sec:has(> .wrap > ol.steps) .steps li { border-top-color: var(--ink); }
.sec:has(> .wrap > ol.steps) .steps p, .sec:has(> .wrap > ol.steps) .sec-head p { color: #2A1A08; }

/* Espinha de peixe em laranja claro, no canto das seções brancas */
.sec-paper { position: relative; }
.sec-paper > .wrap { position: relative; z-index: 1; }
.sec-paper::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(420px, 60%); height: 240px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='36' viewBox='0 0 64 36'%3E%3Cpath d='M2 30 32 8l30 22' fill='none' stroke='%23FF7A00' stroke-width='6' stroke-linejoin='bevel'/%3E%3C/svg%3E") repeat; background-size: 64px 36px; opacity: .13;
  -webkit-mask-image: linear-gradient(135deg, transparent 15%, #000 85%); mask-image: linear-gradient(135deg, transparent 15%, #000 85%); }
.setor-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.setor-links a { font-weight: 600; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

.nav a, .nav .sub-btn { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1560px) { .top-tel { display: none; } }

/* Vitrine escura com a esteira (imagens de estúdio em fundo preto) */
.vitrine { background: #000; color: #fff; padding-top: clamp(56px, 8vw, 96px); position: relative; z-index: 5; overflow: hidden; }
.vitrine::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 45% 55% at 88% 70%, rgba(255,122,0,.16), transparent 70%); }
.vitrine .wrap, .vitrine-img { position: relative; z-index: 1; }
.vitrine-txt { max-width: 680px; }
.vitrine h2 { color: #fff; }
.vitrine p { color: #C8CDD2; }
.vitrine-img { display: block; width: 100%; max-width: 1500px; height: auto; margin: clamp(8px, 2vw, 24px) auto 0; }
.vitrine-partes { padding-bottom: clamp(48px, 7vw, 88px); }
.partes { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.partes li { border-top: 3px solid var(--signal); padding-top: 16px; min-width: 0; }
.partes h3 { color: #fff; margin-bottom: .3em; }
.partes p { margin: 0 0 10px; }
.partes a { color: #fff; font-weight: 700; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* Laço da correia dentada (svg criado pelo site.js); substitui a linha antiga */
main::before, main::after, .sec::before { content: none !important; }
.kf-loop { display: none; position: absolute; z-index: 3; pointer-events: none; overflow: visible;
  left: calc((100% - var(--wrap)) / 2 - 34px - 25.5px); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
@media (min-width: 1240px) { main { position: relative; } .kf-loop { display: block; } }
header.top .wrap { max-width: 1320px; }

/* Página Setores: grade de cartões com foto */
.setor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .setor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .setor-grid { grid-template-columns: 1fr; } }
.setor-card { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.setor-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.setor-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.setor-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.setor-card > div { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.setor-card h2 { font-size: 1.35rem; margin: 0; }
.setor-card p { margin: 0; color: var(--muted); }
.setor-card .go { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.setor-outros { background: var(--rubber); border-color: var(--rubber); color: #E9ECEE; }
.setor-outros h2 { color: #fff; }
.setor-outros p { color: #B9C0C6; }
@media (prefers-reduced-motion: reduce) { .setor-card { transition: none; } .setor-card:hover { transform: none; } }
/* Cartões do blog no mesmo padrão dos setores */
.posts li { min-width: 0; }
.posts li > a { height: 100%; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: inherit; padding-bottom: 20px; align-content: start; transition: border-color .15s, transform .15s; }
.posts li > a:hover { border-color: var(--signal); transform: translateY(-2px); }
.posts li > a > :not(img):not(.ph-photo) { margin-inline: 20px; }
.posts li > a > img.capa, .posts li > a > .ph-photo { border-radius: 0; }
.sec-paper .posts li > a { background: var(--steel); border-color: transparent; }
.posts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .posts-2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .posts li > a { transition: none; } .posts li > a:hover { transform: none; } }

.emv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.emv-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 600px) { .emv-grid { grid-template-columns: 1fr 1fr; } .emv-grid li:first-child { grid-column: 1 / -1; } }

/* fotos reais do atendimento */
.foto-par { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.foto-par .foto img { aspect-ratio: 3 / 4; object-fit: cover; }
.foto-par-nota { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.proof-4 { grid-template-columns: repeat(4, 1fr); }
.proof-4 .foto img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 860px) { .proof-4 { grid-template-columns: 1fr 1fr; } }
.art-img figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.art-video { max-width: 360px; }
.art-video video { display: block; width: 100%; aspect-ratio: 464 / 832; object-fit: cover; border-radius: 10px; background: #000; }

/* botões de WhatsApp na cor do WhatsApp (pedido do Hyago) */
.btn-wa { background: #25D366; color: #0B2416; }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa:focus-visible { outline: 3px solid #0B2416; outline-offset: 2px; }

/* aviso de cookies (LGPD + modo de consentimento do Google) */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--signal); border-radius: 10px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 12px; font-size: .95rem; line-height: 1.5; }
.cookies a { color: inherit; }
.cookies-btns { display: flex; gap: 10px; }
.cookies-btns .btn { flex: 1; padding: .6em 1em; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .cookies { left: 12px; right: 12px; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); } }
