/* ============================================================
   FERRAXIS INDUSTRIAL - folha de estilo (redesign 22/10/2026)
   Grafite: cabecalho, aberturas e fechamento. Miolo claro.
   Laranja so para a acao principal e pequenos destaques.
   A logo nunca e recolorida, recortada ou distorcida.
   ============================================================ */
:root {
  --orange: #f26522;
  --orange-hover: #ff7a3a;
  --orange-ink: #b8460c;      /* laranja para texto sobre fundo claro (contraste >= 4,5:1) */
  --graphite: #282828;
  --graphite-2: #202020;
  --black: #161616;
  --silver: #b0b0b0;
  --white: #ffffff;
  --bg-alt: #f4f4f2;
  --line: #e2e2df;
  --line-dark: #3a3a3a;
  --text: #1f1f1f;
  --text-2: #565656;
  --on-dark: #eeeeee;
  --on-dark-2: #bdbdbd;
  --wrap: 1280px;
  --gutter: 24px;
  --radius: 10px;
  --header-h: 88px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.muted { color: var(--text-2); }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.narrow { max-width: 780px; }
.measure { max-width: 68ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--black); padding: 10px 14px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #ffb48a; }

/* ---------- icones ---------- */
.icon { width: 22px; height: 22px; flex: none; vertical-align: -5px; }
.icon-sm { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.icon-lg { width: 34px; height: 34px; color: var(--orange-ink); margin-bottom: 12px; flex: none; }
.icon-xl { width: 64px; height: 64px; color: var(--orange-ink); }
.chev { width: 14px; height: 14px; transition: transform .15s; }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

/* ---------- botoes e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 2px solid var(--orange);
  background: var(--orange); color: var(--black); font: 600 .97rem/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: #9a9a9a; }
.btn-ghost:hover { background: rgba(0,0,0,.05); border-color: var(--text); }
.on-dark .btn-ghost { color: var(--white); border-color: #8a8a8a; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 1.6em 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-ink); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.on-dark .link-arrow { color: #ffb48a; }

/* ---------- cabecalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--on-dark); border-bottom: 1px solid #2c2c2c; }
.header-inner {
  min-height: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px;
}
.header-brand { justify-self: start; display: flex; align-items: center; }
.header-brand img { width: auto; height: 80px; max-width: 80px; object-fit: contain; border-radius: 3px; }
.header-nav { justify-self: center; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  color: var(--on-dark); background: none; border: 0; border-radius: 6px;
  font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"], .nav-toggle.is-current { color: #ffb48a; }
.nav-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 260px; background: var(--graphite); border: 1px solid var(--line-dark); border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.nav-sub[hidden] { display: none; }
.nav-sub a { display: block; padding: 11px 12px; border-radius: 6px; color: var(--on-dark); text-decoration: none; font-size: .95rem; }
.nav-sub a:hover { background: rgba(255,255,255,.08); }
.nav-sub a[aria-current="page"] { color: #ffb48a; }
.nav-sub .sub-all { font-weight: 600; border-bottom: 1px solid var(--line-dark); border-radius: 6px 6px 0 0; margin-bottom: 4px; }
.nav-cta { display: none; }

.lang-menu { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  background: none; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 6px;
  font: 700 .85rem/1 var(--font); letter-spacing: .06em; cursor: pointer;
}
.lang-toggle:hover { border-color: #777; }
.lang-list {
  list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 110;
  min-width: 170px; background: var(--graphite); border: 1px solid var(--line-dark); border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.lang-list[hidden] { display: none; }
.lang-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--on-dark); text-decoration: none; }
.lang-list a:hover { background: rgba(255,255,255,.08); }
.lang-list a[aria-current="true"] { color: #ffb48a; font-weight: 600; }
.lang-list .code { color: var(--on-dark-2); font-size: .8rem; letter-spacing: .06em; }
.btn-header { min-height: 44px; padding: 0 18px; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: none; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 6px; font: 600 .95rem/1 var(--font); cursor: pointer;
}
.menu-toggle .bars { display: inline-grid; gap: 4px; }
.menu-toggle .bars span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .15s, opacity .15s; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- aberturas (grafite) ---------- */
.hero { background: var(--graphite); color: var(--on-dark); padding: 72px 0; }
.hero h1 { color: var(--white); }
.hero-home { background: linear-gradient(180deg, var(--black) 0%, var(--graphite) 100%); padding: 80px 0 88px; }
.hero-home h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
.hero-page { padding: 56px 0 64px; }
.hero .lead { font-size: 1.15rem; color: var(--on-dark); max-width: 60ch; }
.hero .eyebrow { color: #ffb48a; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 12px; }
.hero-id { color: var(--on-dark-2); font-size: .95rem; margin-top: 1.4em; }
.hero-grid { display: grid; grid-template-columns: 45fr 55fr; gap: 56px; align-items: center; }
.hero-copy > :last-child { margin-bottom: 0; }
.hero-media .media { box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: var(--on-dark-2); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #888; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-dark-2); font-size: .92rem; }

/* ---------- secoes (claras) ---------- */
.section { padding: 88px 0; }
/* duas faixas brancas seguidas dividem o espaço; depois de faixa cinza ou escura o espaço volta inteiro */
.section:not(.section-alt):not(.cta-band):not(.on-dark) + .section:not(.section-alt):not(.cta-band):not(.on-dark) { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-alt + .section-alt { padding-top: 0; }
.section-title { margin-bottom: .55em; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.section-head .section-title { margin-bottom: 0; }
.section-lead { max-width: 66ch; color: var(--text-2); margin: 0 0 36px; font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-rev > :first-child { order: 2; }
.split-top { align-items: start; }
.split-form { grid-template-columns: 5fr 7fr; align-items: start; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }

/* ---------- grades e cartoes ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { border-color: var(--line); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-2); margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: #c9c9c5; box-shadow: 0 10px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.card-link .more { margin-top: auto; padding-top: 16px; color: var(--orange-ink); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover .more { text-decoration: underline; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo .media { border-radius: 0; }
.card-photo .card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.path-card { padding: 36px; border-top: 4px solid var(--orange); }
.path-card p { margin-bottom: 1.2em; }
.feats { display: grid; gap: 22px; margin-bottom: 1.8em; }
.feat { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; }
.feat .icon-lg { grid-row: span 2; margin: 2px 0 0; }
.feat h3 { font-size: 1.05rem; margin-bottom: .25em; }
.feat p { margin: 0; color: var(--text-2); font-size: .97rem; }
.feats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feats-4 .feat { grid-template-columns: 1fr; }
.feats-4 .feat .icon-lg { grid-row: auto; margin-bottom: 12px; }

/* ---------- fluxo de processos ---------- */
.flow { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.flow li { position: relative; padding: 22px 16px 20px; counter-increment: step; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li::before { content: counter(step, decimal-leading-zero); display: block; font-size: .78rem; color: var(--orange-ink); font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.flow li .icon-lg { display: block; margin: 0 0 10px; width: 30px; height: 30px; }

/* ---------- listas ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.sector-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sector-grid a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; }
.sector-grid a:hover { border-color: #c9c9c5; }
.sector-grid .icon { color: var(--orange-ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon-sm { color: var(--orange-ink); margin-top: 5px; }
.checklist-2 { columns: 2; column-gap: 40px; }
.checklist-2 li { break-inside: avoid; }
.steps-4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: n; }
.steps-4 li { counter-increment: n; border-top: 3px solid var(--graphite); padding-top: 16px; }
.steps-4 li::before { content: counter(n, decimal-leading-zero); display: block; font-weight: 700; color: var(--orange-ink); margin-bottom: 8px; }
.steps-4 h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps-4 p { margin: 0; color: var(--text-2); font-size: .97rem; }
.subjects { list-style: none; padding: 0; margin: 0; }
.subjects li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; color: var(--orange-ink); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--text-2); }

/* ---------- blocos especificos ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.equip { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.equip .media { border-radius: 0; }
.equip-body { padding: 24px 26px 26px; }
.equip-body p { color: var(--text-2); }
.specs { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--text-2); }
.industries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.industry { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.industry .media { border-radius: 0; }
.industry-body { padding: 24px 26px 26px; }
.industry-body p { font-size: .97rem; margin-bottom: .8em; }
.industry-body .lbl { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 600; }
.industry-body a { color: var(--orange-ink); }
.icon-tile { background: linear-gradient(135deg, #ededea, #e2e2de); display: flex; align-items: center; justify-content: center; }
.leader { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.leader .media { max-width: 300px; }
/* duas pessoas lado a lado: foto em cima, texto embaixo, topo alinhado */
.grid-2 > .leader { grid-template-columns: 1fr; gap: 20px; align-items: start; align-content: start; }
.grid-2 > .leader .media { width: 100%; max-width: 280px; }
.role { color: var(--orange-ink); font-weight: 600; margin-bottom: .6em; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 24px 26px; }
.contact-card h3 { margin-bottom: .2em; }
.group-note { border-left: 4px solid var(--graphite); padding: 4px 0 4px 22px; }
.group-note h2 { font-size: 1.35rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.quote-aside .card h2 { font-size: 1.15rem; }

/* ---------- midia ---------- */
.media { margin: 0; overflow: hidden; border-radius: var(--radius); background: #d9d9d6; position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-contain img { object-fit: contain; background: var(--white); }
.r16x9 { aspect-ratio: 16 / 9; }
.r4x3  { aspect-ratio: 4 / 3; }
.r3x2  { aspect-ratio: 3 / 2; }
.r1x1  { aspect-ratio: 1 / 1; }
.r4x5  { aspect-ratio: 4 / 5; }
.media-slot { background: repeating-linear-gradient(135deg, #e3e3e3 0 10px, #d9d9d9 10px 20px); border: 2px dashed #9a9a9a; display: flex; align-items: center; justify-content: center; }
.media-slot .slot { padding: 16px 20px; font-size: .82rem; line-height: 1.4; color: #333; text-align: center; max-width: 90%; }
.media-slot .slot strong { display: block; font-family: Consolas, "Courier New", monospace; font-size: .8rem; margin-bottom: 6px; color: #b3440a; }
.media-slot .slot p { margin: 0 0 6px; }
.media-slot .slot small { color: #666; font-family: Consolas, "Courier New", monospace; font-size: .72rem; }
.gallery-1 { max-width: 720px; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }

/* ---------- fechamento (grafite) ---------- */
.cta-band { background: var(--graphite); color: var(--on-dark); padding: 80px 0; }
.cta-band h2 { color: var(--white); max-width: 26ch; }
.cta-band p { max-width: 62ch; color: var(--on-dark); }
.cta-band .actions { margin-top: 1.4em; }

/* ---------- formularios ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.section-alt .form { border-color: #d6d6d2; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-weight: 700; font-size: 1.05rem; padding: 0 0 8px; margin-bottom: 14px; color: var(--graphite); border-bottom: 2px solid var(--orange); width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; min-height: 46px; padding: 10px 12px; border: 1px solid #c4c4c0; border-radius: 6px; background: var(--white); color: var(--text); width: 100%;
}
.field input[type="file"] { padding: 9px; background: var(--bg-alt); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242,101,34,.35); border-color: var(--orange); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field-msg { margin: 0; font-size: .88rem; color: #b3261e; }
.field-msg:empty { display: none; }
.hint { font-size: .88rem; color: var(--text-2); margin: 4px 0 0; }
.hint a { color: var(--orange-ink); }
.form-foot { margin-top: 8px; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status.err { color: #b3261e; }
.form-status.ok { color: #1e6b2b; }
/* campo-armadilha antispam: fora da tela, fora da ordem de foco e oculto para leitores de tela */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contatos ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.contact-list .icon { color: var(--orange-ink); margin-top: 3px; }
.contact-list .lbl { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.contact-list a { color: inherit; }

/* ---------- rodape ---------- */
.site-footer { background: var(--black); color: var(--on-dark-2); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 88px; height: 88px; border-radius: 4px; margin-bottom: 16px; }
.descriptor { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--silver); margin: 0 0 10px; }
.footer-loc { display: flex; align-items: center; gap: 6px; }
.footer-h { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 5px 0; }
.footer-nav a:hover { color: #ffb48a; text-decoration: underline; }
.site-footer .contact-list .lbl { color: var(--on-dark-2); }
.site-footer .contact-list .icon { color: #ffb48a; }
.site-footer .contact-list a { color: var(--on-dark); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.footer-langs a { color: var(--on-dark); text-decoration: none; }
.footer-langs a[aria-current="true"] { color: #ffb48a; font-weight: 600; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #2c2c2c; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }
.footer-bottom a { color: var(--on-dark); }
.slogan { font-style: italic; color: var(--silver); }

/* ---------- modo dev (nunca aparece no build public) ---------- */
.dev-badge { position: fixed; right: 12px; bottom: 12px; z-index: 300; background: #b3440a; color: #fff; font: 700 .72rem/1 Consolas, monospace; padding: 6px 9px; border-radius: 3px; letter-spacing: .1em; }
.dev-note { margin: 14px 0; padding: 10px 12px; background: #fff4e5; border-left: 4px solid #b3440a; color: #5a2d05; font: .8rem/1.4 Consolas, "Courier New", monospace; border-radius: 0 6px 6px 0; }
.hero .dev-note, .cta-band .dev-note { background: #3a2a1c; color: #ffd9b8; }
.dev-panel { margin-top: 20px; padding: 16px; background: #fff4e5; border: 1px dashed #b3440a; border-radius: 6px; }
.dev-panel h3 { font: 700 .85rem Consolas, monospace; color: #b3440a; margin-bottom: 6px; }
.dev-panel p { font-size: .85rem; }
.dev-panel pre { white-space: pre-wrap; word-break: break-word; font-size: .78rem; background: #fff; padding: 10px; border-radius: 3px; margin: 0; }

/* ---------- cabecalho compacto (< 1200 px) ---------- */
@media (max-width: 1199px) {
  :root { --header-h: 76px; }
  .header-inner { grid-template-columns: auto 1fr; gap: 16px; }
  .header-brand img { height: 68px; max-width: 68px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .btn-header { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-nav {
    display: none; grid-column: 1 / -1; grid-row: 2; justify-self: stretch;
    margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 24px; border-top: 1px solid #2c2c2c;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .header-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid #2c2c2c; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; font-size: 1rem; border-radius: 0; }
  .nav-sub { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 12px; min-width: 0; }
  .nav-sub .sub-all { border-bottom: 0; }
  .nav-cta { display: flex; width: 100%; margin-top: 20px; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .split-form { grid-template-columns: 1fr; gap: 32px; }
  .split-rev > :first-child { order: 0; }
  .grid-3, .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .feats-4, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow li:nth-child(4) { border-left: 0; }
  .flow li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
  .leader { grid-template-columns: 220px 1fr; gap: 28px; }
}

/* ---------- celular ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .section { padding: 56px 0; }
  .hero, .hero-home { padding: 44px 0 52px; }
  .cta-band { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .feats-4, .steps-4, .equip-grid, .industries, .form-grid, .sector-grid, .footer-grid { grid-template-columns: 1fr; }
  .checklist-2 { columns: 1; }
  .flow { grid-template-columns: 1fr; }
  .flow li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 0 12px; padding: 14px 16px; }
  .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .flow li::before { grid-column: 1 / -1; margin-bottom: 4px; }
  .flow li .icon-lg { margin: 0; }
  .leader { grid-template-columns: 1fr; }
  .leader .media { max-width: 260px; }
  .form { padding: 22px 18px; }
  .path-card { padding: 28px 24px; }
  .actions .btn { width: 100%; }
  .lang-toggle { padding: 0 10px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .header-brand img { height: 60px; max-width: 60px; }
  .menu-toggle .menu-label { display: none; }
}
