/* OSIRI Conseils — v2 : grille corporate inspirée des sites de cabinets de conseil internationaux.
   Typographie DM Sans grasse et resserrée, boutons carrés, alternance photo plein cadre / sections claires / bande verte. */
:root {
  --ink: #10131A;
  --text: #5F6670;
  --soft: #8A929C;
  --grey: #F4F5F4;
  --line: #E3E6E4;
  --white: #FFFFFF;
  --green: #23824F;
  --green-hover: #1B6B40;
  --band: #1F7448;
  --blue: #1C3F94;
  --blue-hover: #16244A;
  --navy: #16244A;
  --night: #0C1530;
  --top: #0A1022;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;
  --max: 1170px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.sec { padding-block: clamp(80px, 10vw, 130px); }
.grey { background: var(--grey); }
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem); letter-spacing: -.035em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.lead { margin-top: 22px; max-width: 58ch; }
.ref { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }

/* ---------- boutons carrés ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 15px/1 var(--font); padding: 20px 32px; border: 0; border-radius: 0; background: var(--green); color: #fff; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-hover); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn.blue { background: var(--blue); }
.btn.blue::before { background: var(--blue-hover); }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn.line::before { background: #fff; }
.btn.line:hover { color: var(--ink); }
.btn svg { width: 16px; height: 16px; }
.call { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 17px; }
.call i { width: 52px; height: 52px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: background .3s var(--ease), color .3s; }
.call i svg { width: 18px; height: 18px; }
.call:hover i { background: var(--green); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font); }
.more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- bandeau d'informations + en-tête ---------- */
.topbar { background: var(--top); color: #B7BECB; font-size: 13.5px; position: relative; z-index: 60; }
.topbar .wrap { display: flex; align-items: center; gap: 34px; height: 46px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .social { margin-left: auto; }
.topbar .ico { width: 15px; height: 15px; }
.header { position: absolute; top: 46px; left: 0; right: 0; z-index: 50; color: #fff; transition: background .35s var(--ease), box-shadow .35s, color .35s; }
.header.fixed { position: fixed; top: 0; background: #fff; color: var(--ink); box-shadow: 0 6px 30px rgba(16, 19, 26, .08); animation: drop .45s var(--ease); }
@keyframes drop { from { transform: translateY(-100%); } }
.header .wrap { display: flex; align-items: center; gap: 36px; height: 96px; transition: height .35s var(--ease); }
.header.fixed .wrap { height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: inherit; }
.logo img { width: 44px; height: 44px; }
.logo .ln { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 25px; font-weight: 700; letter-spacing: .02em; }
.logo small { font-size: 13px; font-weight: 500; opacity: .75; margin-top: 3px; }
.menu { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-weight: 500; font-size: 16px; position: relative; padding: 8px 0; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); transform-origin: left; }
.header .btn { padding: 16px 24px; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 1px solid currentColor; color: inherit; cursor: pointer; opacity: .9; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease), opacity .3s; }

/* ---------- hero plein cadre ---------- */
.hero { position: relative; min-height: max(680px, 94vh); display: grid; place-items: center; color: #fff; overflow: hidden; background: var(--night); }
.hero-bg { position: absolute; inset: -4%; background: url(../img/hero-benoit.jpg) 62% 30% / cover no-repeat; animation: kb 22s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 34, .72) 0%, rgba(10, 16, 34, .55) 45%, rgba(10, 16, 34, .82) 100%); }
.hero-in { position: relative; z-index: 2; text-align: center; padding: 170px var(--gut) 120px; width: min(1000px, 100%); }
.hero .eyebrow { color: #fff; opacity: .9; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); pointer-events: none; }
.slide.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.hero h1, .hero .slide { color: #fff; font-weight: 700; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.hero-lead { margin: 26px auto 0; max-width: 56ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: #D5DBE6; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.dots { position: absolute; z-index: 3; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; gap: 12px; }
.dots button { width: 64px; height: 22px; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.dots button span { display: block; height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.dots button span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots button.on span::after { animation: fill var(--dur, 6s) linear forwards; }
.dots button.done span::after { transform: scaleX(1); }
.paused .dots button.on span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- expertises ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.card { background: #fff; padding: 48px 30px 42px; text-align: center; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; align-items: center; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(16, 19, 26, .08); }
.card:hover::after { transform: scaleX(1); }
.card svg.big { width: 62px; height: 62px; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.card h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
.card p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; flex: 1; }
.card .more { margin-top: 24px; }
.cards-cta { text-align: center; margin-top: 60px; }

/* panneau latéral de détail */
.drawer { position: fixed; inset: 0; z-index: 120; overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.drawer.open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 16, 34, .55); opacity: 0; transition: opacity .4s var(--ease); }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; padding: 56px 48px; overflow-y: auto; transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border: 0; background: var(--grey); cursor: pointer; display: grid; place-items: center; transition: background .3s; color: var(--ink); }
.drawer-close:hover { background: var(--line); }
.drawer-img { display: block; width: calc(100% + 96px); max-width: none; margin: -56px -48px 34px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 620px) { .drawer-img { width: calc(100% + 48px); margin: -70px -24px 28px; } }
.drawer h3 { font-size: 30px; letter-spacing: -.03em; margin-top: 8px; }
.drawer .intro { margin-top: 16px; }
.drawer h4 { font-size: 15px; margin: 34px 0 6px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.drawer li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 13px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { font: 500 13px var(--mono); padding: 7px 11px; background: var(--grey); color: var(--ink); }
.drawer .btn { margin-top: 40px; }

/* ---------- conseiller : texte + photos superposées ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split-v { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.split-v .rings { grid-template-columns: 1fr; gap: 22px; }
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; color: var(--ink); font-weight: 500; }
.checks li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(35, 130, 79, .12); display: grid; place-items: center; margin-top: 1px; }
.checks li i svg { width: 13px; height: 13px; stroke: var(--green); stroke-width: 2.4; fill: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; margin-top: 42px; }
.photos { position: relative; aspect-ratio: 1 / 1.02; }
.photos img { position: absolute; object-fit: cover; will-change: transform; }
.photos .p1 { right: 0; top: 0; width: 66%; height: 78%; }
.photos .p2 { left: 0; bottom: 0; width: 52%; height: 58%; box-shadow: 0 30px 60px rgba(16, 19, 26, .18); }
.photos .badge { position: absolute; right: 6%; bottom: 6%; background: var(--green); color: #fff; padding: 22px 24px; max-width: 220px; }
.photos .badge b { display: block; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.photos .badge span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: #E2F1E8; }

/* ---------- secteurs ---------- */
.sectors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sectors ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.sectors li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 46px 10px; color: #A3AAB2; font-size: clamp(1.1rem, .9rem + .7vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; transition: color .35s var(--ease); }
.sectors li + li { border-left: 1px solid var(--line); }
.sectors li svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.sectors li:hover { color: var(--ink); }
.sectors li:hover svg { stroke: var(--green); }

/* ---------- bandeau photo ---------- */
.band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--night); }
.band-bg { position: absolute; inset: -18% 0; background: url(../img/bandeau-labo.jpg) center 40% / cover no-repeat; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 34, .68); }
.band .wrap { position: relative; z-index: 2; padding-block: clamp(110px, 14vw, 180px); }
.band .eyebrow { color: #fff; }
.band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.band p { margin: 22px auto 0; color: #C9D1DE; }
.band .btn { margin-top: 42px; }

/* ---------- bande verte : référentiels ---------- */
.registry { background: var(--band); color: #D6EBDD; }
.registry .eyebrow, .registry h2 { color: #fff; }
.reg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.reg-head .more { color: #fff; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 46px; border-bottom: 1px solid rgba(255, 255, 255, .55); }
.tabs button { font: 500 16px var(--font); color: rgba(255, 255, 255, .72); background: none; border: 0; padding: 0 0 16px; cursor: pointer; position: relative; transition: color .3s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #fff; transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; font-weight: 700; }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 1.1fr 1.6fr 1.5fr 40px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.rows li.hide { display: none; }
.rows li.in { animation: rowin .5s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(10px); } }
.rows .ref { color: #fff; font-size: 18px; }
.rows .champ { color: #fff; }
.rows .arr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background .3s, color .3s; text-decoration: none; }
.rows .arr:hover { background: #fff; color: var(--band); }
.rows .arr svg { width: 15px; height: 15px; }

/* ---------- validation : cycle en V + jauges ---------- */
.vpanel { background: var(--grey); padding: clamp(24px, 3vw, 44px) clamp(10px, 2vw, 28px) 20px; position: relative; }
.vmodel { margin: 0; position: relative; }
.vmodel svg { width: 100%; height: auto; overflow: visible; display: block; }
.vm-arm { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.vm-trace { stroke: #C8CEC9; stroke-width: 1.3; stroke-dasharray: 3 6; fill: none; }
.vm-trace-on { stroke: var(--green); stroke-width: 1.6; fill: none; }
.vm-node circle { fill: #fff; stroke: var(--ink); stroke-width: 2.2; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.vm-node .tick { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .45s var(--ease) .15s; }
.vm-node.done circle { fill: var(--green); stroke: var(--green); }
.vm-node.done .tick { stroke-dashoffset: 0; }
.vm-node .code { font: 700 20px var(--font); fill: var(--ink); }
.vm-node .desc { font: 400 17px var(--font); fill: var(--text); }
.vm-node:focus-visible circle { stroke: var(--green); stroke-width: 3.5; }
.vm-node.dim { opacity: .25; }
.vm-node, #state { transition: opacity .45s var(--ease); }
.vmodel .pending { opacity: 0; }
#swoosh { fill: url(#gCheck); transform-box: fill-box; transform-origin: 0% 100%; transition: transform .8s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; }
#swoosh.pending { transform: scale(.15); }
.vm-state { font: 700 16px var(--font); }
.vm-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 270px; padding: 14px 16px; background: var(--ink); color: #DCE2EA; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.vm-tip.on { opacity: 1; transform: none; }
.vm-tip b { display: block; color: #fff; margin-bottom: 3px; }
.vm-cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--soft); margin-top: 6px; }
.vm-cap button { font: 700 14px var(--font); background: none; border: 0; color: var(--green); cursor: pointer; padding: 0; }
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 44px; }
.ring { display: flex; align-items: center; gap: 20px; }
.ring .rw { position: relative; display: grid; place-items: center; flex: none; }
.ring svg { width: 118px; height: 118px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.6s var(--ease); }
.ring .rw b { position: absolute; font-size: 28px; color: var(--ink); letter-spacing: -.03em; }
.ring h4 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- méthode ---------- */
.steps { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px; background: var(--line); }
.steps::after { background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { text-align: center; position: relative; z-index: 1; }
.step .n { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); transition: background .45s var(--ease), color .45s, box-shadow .45s; }
.step.on .n { background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(35, 130, 79, .28); }
.step h3 { margin-top: 26px; font-size: 20px; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

/* ---------- contact ---------- */
.contact-list { display: grid; margin-top: 38px; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 18px; }
.contact-list a i { width: 52px; height: 52px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: background .3s, color .3s; flex: none; }
.contact-list a small { display: block; font-size: 13px; font-weight: 500; color: var(--soft); }
.contact-list a:hover i { background: var(--green); color: #fff; }
.form { background: var(--grey); padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form h3 { grid-column: 1 / -1; font-size: 26px; letter-spacing: -.03em; margin-bottom: 6px; }
.f { display: grid; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.f label i { font-style: normal; font-weight: 400; color: var(--soft); }
.f input, .f textarea { font: 400 16px var(--font); color: var(--ink); background: #fff; border: 1px solid transparent; border-bottom-color: #D3D8D5; border-radius: 0; padding: 15px 16px; transition: border-color .25s, box-shadow .25s; }
.f textarea { min-height: 130px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(35, 130, 79, .14); }
.f .err { font-size: 13.5px; color: #A3342B; }
.f.bad input { border-color: #A3342B; }
fieldset.f { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { font-weight: 500; font-size: 14.5px; padding: 10px 15px; background: #fff; color: var(--text); cursor: pointer; border: 1px solid #fff; transition: all .25s var(--ease); }
.chips input:checked + label { border-color: var(--green); color: var(--green); background: #EAF4EE; }
.chips input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot p { font-size: 13.5px; max-width: 34ch; color: var(--soft); }
.status { grid-column: 1 / -1; color: var(--green); font-weight: 500; min-height: 1.2em; }

/* ---------- pied de page ---------- */
.footer { background: var(--night); color: #98A2B5; font-size: 15.5px; padding-top: 90px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: #fff; }
.footer .big { font-size: 20px; color: #fff; }
.footer .tagline { margin-top: 22px; max-width: 30ch; }
.footer .soc { display: inline-flex; margin-top: 26px; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); justify-content: center; align-items: center; color: #fff; transition: background .3s; }
.footer .soc:hover { background: var(--green); }
.legal { margin-top: 80px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; }
.legal nav { display: flex; gap: 26px; }
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), background .3s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .menu { gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before, .steps::after { left: 34px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { text-align: left; padding-left: 100px; min-height: 70px; }
  .step .n { position: absolute; left: 0; top: 0; margin: 0; }
  .step h3 { margin-top: 4px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .topbar { display: none; }
  .header { top: 0; }
  .menu, .header .btn { display: none; }
  .burger { display: block; }
  .nav-open .header { background: #fff; color: var(--ink); position: fixed; top: 0; }
  .nav-open .menu { display: flex; flex-direction: column; gap: 0; position: fixed; top: 78px; left: 0; right: 0; background: #fff; color: var(--ink); padding: 10px var(--gut) 24px; box-shadow: 0 20px 40px rgba(16, 19, 26, .12); }
  .nav-open .menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header .wrap, .header.fixed .wrap { height: 78px; }
  .split { grid-template-columns: 1fr; }
  .photos { max-width: 560px; width: 100%; }
  .sectors ul { grid-template-columns: 1fr 1fr; }
  .sectors li { padding: 26px 10px; flex-direction: column; gap: 10px; white-space: normal; text-align: center; font-size: 1.05rem; }
  .sectors li:nth-child(3) { border-left: 0; }
  .sectors li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rows li { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .rows .ref, .rows .champ, .rows .inter { grid-column: 1; }
  .rows .arr { grid-column: 2; grid-row: 1 / span 3; }
  .rings { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .vm-node .desc { display: none; }
  .vm-node .code { font-size: 34px; }
  .vm-node[data-k="cfg"] .code { font-size: 28px; }
  .vm-node circle { r: 17px; }
  .photos .badge { padding: 16px 18px; }
  .photos .badge b { font-size: 34px; }
  .drawer-panel { padding: 70px 24px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-bg { animation: none; }
}
