/* BDM Consultoria — Soluções Integradas em Gestão e Tecnologia
   Marca: azul #1B3E6F, azul claro #6FB0E3, cinza #A9B2BD. Verde-planilha só no "antes" do hero. */
/* Fontes hospedadas junto com o site (sem Google Fonts) */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --navy-950: #081a31;
  --navy-900: #0f2543;
  --navy-800: #17335a;
  --navy-700: #1b3e6f;
  --cyan: #6fb0e3;
  --cyan-ink: #1f5f9e;          /* ciano legível sobre fundo claro */
  --sheet-green: #1e7b4f;
  --paper: #f3f6f9;
  --white: #ffffff;
  --line: #d5dde6;
  --ink: #0e1e30;
  --ink-soft: #46576a;
  --on-dark: #dbe6f1;
  --on-dark-soft: #9fb3c8;
  --bad: #c93c3c;
  --warn: #b8730a;
  --ok: #1e8a5a;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --maxw: 1180px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: .92em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: var(--navy-950); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--f-body);
  padding: .95rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-cyan { background: var(--cyan); color: var(--navy-950); }
.btn-cyan:hover { background: #94c8ef; }
.btn-ghost { border-color: rgba(219, 230, 241, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: .7rem 1.05rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); color: var(--ink); }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.logo-h { height: 3.3rem; width: auto; display: block; overflow: visible; margin-left: .55rem; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink-soft); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy-700); border-bottom-color: var(--cyan); }
.head-cta { background: var(--navy-700); color: var(--white); }
.head-cta:hover { background: var(--navy-900); }
.menu-btn { display: none; font: 600 .95rem var(--f-body); color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 8px; padding: .55rem .9rem; cursor: pointer; }
.btn-outline { border-color: var(--line); color: var(--navy-700); }
.btn-outline:hover { border-color: var(--navy-700); }

/* ---------- Hero ---------- */
.hero {
  color: var(--white);
  background:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 88px 100%,
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 44px,
    radial-gradient(900px 520px at 85% 30%, rgba(111,176,227,.14), transparent 60%),
    var(--navy-900);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); line-height: 1; letter-spacing: -0.035em; font-weight: 800; max-width: 11ch; }
.lead { margin-top: 1.5rem; font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--on-dark); max-width: 34rem; }
.lead .mono { background: rgba(255,255,255,.1); padding: .08em .4em; border-radius: 5px; color: var(--white); }
.cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 1.6rem; max-width: 30rem; font-size: .96rem; color: var(--on-dark-soft); }

/* Palco: planilha ⇄ painel */
.stage-wrap { margin: 0; }
.stage-wrap figcaption { margin-top: .8rem; font-size: .84rem; color: var(--on-dark-soft); }
.stage { border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 30px 70px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); transition: background-color .6s ease; }
.stage[data-view="panel"] { background: var(--navy-950); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(111,176,227,.35), 0 0 60px -10px rgba(111,176,227,.25); }
.stage-bar { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; background: #e9eef3; color: var(--ink-soft); font-size: .82rem; transition: background-color .6s ease, color .6s ease; }
.stage[data-view="panel"] .stage-bar { background: #0b2038; color: var(--on-dark-soft); }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #c2ccd6; }
.stage[data-view="panel"] .dots i { background: #2a4565; }
.stage-file { margin-right: auto; font-weight: 600; }
.toggle { display: inline-flex; background: rgba(14,30,48,.08); border-radius: 8px; padding: 2px; }
.stage[data-view="panel"] .toggle { background: rgba(255,255,255,.08); }
.toggle button { font: 600 .78rem var(--f-body); border: 0; background: transparent; color: inherit; padding: .38rem .7rem; border-radius: 6px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--navy-950); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.stage[data-view="panel"] .toggle button[aria-pressed="true"] { background: var(--cyan); }

.stage-body { display: grid; min-height: 24.5rem; }
.sheet, .panel { grid-area: 1 / 1; transition: opacity .55s ease, transform .55s ease, filter .55s ease; }

/* Planilha */
.sheet { display: flex; flex-direction: column; color: #1b2733; font-family: var(--f-mono); font-size: .78rem; }
.sheet table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.sheet th, .sheet td { border: 1px solid #d4dbe2; padding: .42rem .55rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; height: 2.15rem; }
.sheet th { background: #eef2f5; color: #5c6b7a; text-align: center; font-weight: 500; }
.sheet th:first-child, .sheet td:first-child { width: 2.2rem; background: #eef2f5; color: #5c6b7a; text-align: center; padding-inline: .2rem; }
.sheet th:nth-child(2), .sheet td:nth-child(2) { width: 27%; }
.sheet .r-head td:not(:first-child) { background: #e3f1ea; color: var(--sheet-green); font-weight: 500; }
.sheet .r-sum td:not(:first-child) { font-weight: 500; border-top: 2px solid #8fa0b0; }
.sheet .num { text-align: right; }
.sheet .err { color: var(--bad); font-weight: 500; background: #fdecec; }
.sheet .warn { background: #fff4c9; }
.sheet .bad { color: var(--bad); }
.sheet .tabs { margin-top: auto; display: flex; gap: 2px; background: #eef2f5; padding: .35rem .5rem 0; font-family: var(--f-body); font-size: .72rem; color: #5c6b7a; overflow: hidden; }
.sheet .tabs span { padding: .35rem .7rem; white-space: nowrap; border-radius: 4px 4px 0 0; }
.sheet .tabs .on { background: var(--white); color: var(--sheet-green); font-weight: 600; box-shadow: inset 0 -2px 0 var(--sheet-green); }

/* Painel */
.panel { padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; gap: .8rem; color: var(--on-dark); }
.kpis { display: contents; }
.kpi { background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: .85rem .9rem; display: flex; flex-direction: column; gap: .2rem; }
.kpi span { font-size: .74rem; color: var(--on-dark-soft); }
.kpi b { font: 700 1.45rem/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--white); }
.kpi em { font-style: normal; font-size: .74rem; font-weight: 600; }
.up { color: #5ee0a3; } .down { color: #5ee0a3; }
.chart { grid-column: 1 / 3; background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: .85rem .9rem .7rem; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; font-size: .76rem; color: var(--on-dark-soft); }
.bars { flex: 1; display: flex; align-items: flex-end; gap: .55rem; margin-top: .6rem; min-height: 6.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.bars i { flex: 1; height: var(--h); background: #2c5f8c; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars i.hi { background: var(--cyan); }
.bar-labels { display: flex; gap: .55rem; font-size: .68rem; color: var(--on-dark-soft); margin-top: .3rem; }
.bar-labels span { flex: 1; text-align: center; }
.list { background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: .85rem .8rem; display: flex; flex-direction: column; gap: .55rem; font-size: .76rem; }
.list-head { color: var(--on-dark-soft); }
.li { display: grid; gap: .1rem; }
.li span:first-child { color: var(--white); font-weight: 600; }
.li span:nth-child(2) { color: var(--on-dark-soft); }
.li em { font-style: normal; font-weight: 600; font-size: .7rem; justify-self: start; padding: .1rem .45rem; border-radius: 99px; }
.tag-bad { background: rgba(240,90,90,.18); color: #ff9a9a; }
.tag-warn { background: rgba(240,170,40,.18); color: #ffcf7a; }

/* estados do palco */
.stage[data-view="sheet"] .panel { opacity: 0; pointer-events: none; }
.stage[data-view="panel"] .sheet { opacity: 0; transform: scale(.97); filter: blur(3px); pointer-events: none; }
.stage[data-view="sheet"] .sheet { opacity: 1; }

.panel .kpi, .panel .chart, .panel .list { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
.stage[data-view="sheet"] .panel .kpi, .stage[data-view="sheet"] .panel .chart, .stage[data-view="sheet"] .panel .list { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.panel .bars i { transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--n, 0) * 70ms + 450ms); }
.stage[data-view="sheet"] .panel .bars i { transform: scaleY(.04); transition-delay: 0s; }
.bars i:nth-child(2) { --n: 1; } .bars i:nth-child(3) { --n: 2; } .bars i:nth-child(4) { --n: 3; } .bars i:nth-child(5) { --n: 4; } .bars i:nth-child(6) { --n: 5; }

/* ---------- Seções comuns ---------- */
section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head h2, .signs h2, .about h2, .faq h2, .contact h2 { font-size: clamp(1.95rem, 3.8vw, 3.05rem); }
.sec-head p { margin-top: 1rem; color: var(--ink-soft); max-width: 38rem; }
.sec-head-dark p { color: var(--on-dark-soft); }

/* Sinais */
.signs { background: var(--paper); }
.signs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.signs h2 { max-width: 14ch; }
.sign-list li { padding: 1rem 0 1rem 2.4rem; border-bottom: 1px solid var(--line); position: relative; font-size: 1.12rem; font-weight: 500; }
.sign-list li:first-child { padding-top: .2rem; }
.sign-list li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 1.2rem; height: 1.2rem; border-radius: 4px; border: 2px solid var(--bad); background: linear-gradient(45deg, transparent 44%, var(--bad) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--bad) 44% 56%, transparent 56%); }
.sign-list li:first-child::before { top: .5rem; }
.signs-out { grid-column: 2; font-size: 1.12rem; color: var(--ink); font-weight: 600; padding-left: 2.4rem; border-left: 4px solid var(--cyan); margin-left: 0; }

/* Soluções */
.solutions { background: var(--white); }
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 1.5rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.row-body { display: grid; gap: .9rem; max-width: 40rem; }
.row-body > p:first-child { color: var(--ink); }
.deliver { font-size: .97rem; color: var(--ink-soft); padding-left: 1rem; border-left: 3px solid var(--cyan); }
.deliver b { color: var(--cyan-ink); font-weight: 700; }

/* Setores */
.sectors { background: var(--navy-900); color: var(--white); }
.sectors h2 { color: var(--white); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sector { background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1.25rem 1.25rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.sector h3 { font-size: 1.4rem; margin-top: .6rem; }
.sector p { color: var(--on-dark-soft); font-size: 1rem; }
.mini { height: 9.5rem; border-radius: 10px; background: var(--navy-950); border: 1px solid rgba(255,255,255,.06); padding: .75rem; overflow: hidden; }
.mini-crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mini-crm .col { display: flex; flex-direction: column; gap: .4rem; }
.mini-crm b { font: 600 .66rem var(--f-body); color: var(--on-dark-soft); }
.mini-crm i { display: block; height: 1.7rem; border-radius: 6px; background: var(--navy-700); border-left: 3px solid #4d86bd; }
.mini-crm i.s { height: 1.25rem; opacity: .75; }
.mini-crm i.ok { border-left-color: var(--cyan); background: rgba(111,176,227,.2); }
.mini-fin { display: flex; flex-direction: column; justify-content: space-between; padding: .75rem .75rem .7rem; }
.mini-fin svg { width: 100%; height: 5.4rem; }
.chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.chips span { font: 600 .66rem var(--f-body); color: var(--on-dark); background: var(--navy-700); padding: .2rem .5rem; border-radius: 99px; }
.mini-seg { display: flex; flex-direction: column; justify-content: center; gap: .55rem; }
.mini-seg .line { display: flex; justify-content: space-between; align-items: center; background: var(--navy-800); border-radius: 8px; padding: .5rem .7rem; font-size: .78rem; color: var(--on-dark); }
.mini-seg em { font-style: normal; font-weight: 700; font-size: .68rem; padding: .12rem .5rem; border-radius: 99px; }
.t-ok { background: rgba(94,224,163,.15); color: #5ee0a3; }
.t-warn { background: rgba(240,170,40,.18); color: #ffcf7a; }
.t-bad { background: rgba(240,90,90,.18); color: #ff9a9a; }

/* Processo */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 1.4rem 1.4rem 1.4rem 0; position: relative; }
.steps li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy-900); color: var(--white); font: 700 .95rem var(--f-display); margin-bottom: 1rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* Sobre */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait { background: var(--navy-900); border-radius: 18px; overflow: hidden; max-width: 26rem; }
.portrait img { width: 100%; height: auto; }
.about-copy { display: grid; gap: 1.1rem; max-width: 38rem; }
.about-copy h2 { margin-bottom: .3rem; }
.about-copy p { color: var(--ink-soft); }
.link { color: var(--cyan-ink); font-weight: 700; text-underline-offset: 4px; }
.link:hover { color: var(--navy-900); }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq h2 { max-width: 10ch; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font: 600 1.1rem/1.35 var(--f-display); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font: 500 1.7rem/1 var(--f-body); color: var(--cyan-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-soft); max-width: 40rem; }

/* Contato */
.contact { background: var(--navy-900); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { max-width: 13ch; }
.contact-copy > p { margin-top: 1.2rem; color: var(--on-dark); max-width: 30rem; }
.contact-list { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list li { display: flex; gap: 1.2rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list span { width: 5.5rem; color: var(--on-dark-soft); font-size: .95rem; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--cyan); }
.form { background: var(--white); color: var(--ink); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--f-body); color: var(--ink); padding: .8rem .9rem; border: 1.5px solid #b9c5d1; border-radius: 9px; background: #fff; width: 100%; }
.form textarea { resize: vertical; min-height: 6.5rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(111,176,227,.55); border-color: var(--cyan-ink); }
.form .btn { width: 100%; padding-block: 1.05rem; }
.form-note { font-size: .86rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-soft); padding-block: 2rem; font-size: .92rem; }
.foot-brand { display: flex; align-items: center; gap: 1.2rem; }
.logo-foot { height: 4.2rem; width: auto; flex: none; overflow: visible; }
.foot { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: calc(1.1rem + env(safe-area-inset-right, 0px)); bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 1.8rem; height: 1.8rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sector-grid { grid-template-columns: 1fr; }
  .mini { height: 8rem; }
}
@media (max-width: 900px) {
  .hero-grid, .signs-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .signs-out { grid-column: 1; }
  .row { grid-template-columns: 1fr; gap: .9rem; }
  .portrait { max-width: 20rem; }
  .faq h2, .signs h2, .contact h2 { max-width: none; }

  .head-cta { display: none; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--white); padding: .5rem var(--gut) 1rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.3rem 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .panel { grid-template-columns: repeat(3, 1fr); padding: .7rem; gap: .55rem; }
  .kpi { padding: .6rem; } .kpi b { font-size: .98rem; white-space: nowrap; } .kpi span, .kpi em { font-size: .64rem; }
  .chart { grid-column: 1 / -1; }
  .list { grid-column: 1 / -1; }
  .sheet { font-size: .68rem; }
  .sheet th, .sheet td { padding-inline: .3rem; }
  .sheet th:nth-child(6), .sheet td:nth-child(6) { display: none; }
  .stage-file { display: none; }
  .stage-bar { justify-content: space-between; }
  .contact-list li { flex-direction: column; gap: .1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
