/* ============================================================
   FILA Fixations — styles du thème
   Tokens : tokens.css · Images : ../img/
   Port de la maquette Claude Design « FILA - PISTE 01 » (styles.css)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 132px; } }
body {
  font-family: var(--font-sans);
  background: var(--blanc-atelier);
  color: var(--fg1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--orange-forge); color: #fff; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--graphite-900); color: #fff;
  padding: 10px 16px; border-radius: 6px; font-weight: var(--w-bold); transition: top .15s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange-forge); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.rel { position: relative; }
.eyebrow {
  font-size: 13px; font-weight: var(--w-bold); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange-forge);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow-center { justify-content: center; }
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: var(--w-bold); font-size: 15px; letter-spacing: 0.005em; line-height: 1.2;
  border: none; border-radius: 6px; padding: 14px 26px; white-space: nowrap; cursor: pointer;
  transition: background .18s var(--ease-out), color .18s var(--ease-out),
              box-shadow .18s var(--ease-out), transform .12s var(--ease-out), border-color .18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 16px; padding: 16px 30px; }
.btn-primary { background: var(--orange-forge); color: #fff; }
.btn-primary:hover { background: var(--orange-700); color: #fff; box-shadow: var(--shadow-orange); }
.btn-dark { background: var(--graphite-800); color: var(--blanc-atelier); }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--graphite-800); border: 1.5px solid var(--line-strong); }
.btn-light:hover { border-color: var(--graphite-800); }
.btn-ghost { background: rgba(243,236,233,.04); color: #fff; border: 1.5px solid rgba(243,236,233,.4); }
.btn-ghost:hover { background: #fff; color: var(--graphite-800); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--graphite-800); border: 1.5px solid var(--graphite-800); }
.btn-ghost-dark:hover { background: var(--graphite-800); color: #fff; }
.btn svg { flex: none; }

.linkmore { display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
  font-weight: var(--w-bold); color: var(--graphite-800); transition: color .15s, gap .18s var(--ease-out); }
.linkmore:hover { color: var(--orange-700); gap: 12px; }
.linkmore svg { flex: none; }
.sec-dark .linkmore { color: #fff; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanc-atelier);
  color: var(--graphite-900);
  transition: box-shadow .2s var(--ease-out);
}
.admin-bar .hdr, .admin-bar .m-header { top: 32px; }
.hdr.is-scrolled { box-shadow: 0 4px 14px rgba(20,20,20,.06); }
.hdr-row1 { display: flex; align-items: center; gap: 22px; height: 68px; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; text-decoration: none; }
.brand img { height: 50px; width: auto; }

.hdr-search-wide { flex: 1; max-width: 620px; height: 46px; display: flex; align-items: center; gap: 11px;
  padding: 0 18px; background: rgba(30,30,30,.05); border: 1.5px solid transparent; border-radius: 999px;
  position: relative; transition: background .18s var(--ease-out), border-color .18s var(--ease-out); }
.hdr-search-wide:hover { background: rgba(30,30,30,.07); }
.hdr-search-wide:focus-within { background: var(--pur-blanc); border-color: var(--orange-forge); }
.hdr-search-wide svg { color: var(--graphite-500); flex: none; transition: color .18s; }
.hdr-search-wide:focus-within svg { color: var(--orange-forge); }
.hdr-search-wide input { flex: 1; border: 0; outline: none; background: transparent;
  font-family: inherit; font-size: 14.5px; color: var(--graphite-900); min-width: 0; }
.hdr-search-wide input::placeholder { color: var(--graphite-500); }
.hdr-search-wide input::-webkit-search-cancel-button { -webkit-appearance: none; }

.hdr-cta { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.hdr-cta .btn { padding: 11px 16px; font-size: 14px; }

/* language switch (Polylang) */
.lang { position: relative; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0;
  padding: 8px 6px 8px 10px; color: var(--graphite-800); font-family: inherit; font-size: 14px;
  font-weight: var(--w-medium); cursor: pointer; transition: color .18s; }
.lang-switch:hover { color: var(--orange-forge); }
.lang-switch > svg:first-child { color: var(--graphite-700); }
.lang-switch:hover > svg { color: var(--orange-forge); }
.lang-switch span { letter-spacing: .04em; }
.lang-switch > svg:last-child { opacity: .55; transition: transform .2s var(--ease-out); }
.lang-switch[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: var(--pur-blanc);
  border: 1px solid var(--line-soft); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 80; }
.lang-list a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: var(--w-medium); color: var(--graphite-700); }
.lang-list a:hover { background: rgba(255,107,41,.06); color: var(--orange-forge); }
.lang-list a[aria-current] { color: var(--orange-forge); }

.hdr-row2 { border-bottom: 1px solid rgba(30,30,30,.1); position: relative; background: var(--blanc-atelier); z-index: 1;
  max-height: 44px; overflow: visible; transition: max-height .28s var(--ease-out), opacity .2s var(--ease-out), border-color .2s; }
.hdr.hide-nav .hdr-row2 { max-height: 0; opacity: 0; border-bottom-color: transparent; overflow: hidden; }
.hdr.hide-nav .mega { display: none; }
.nav-row { display: flex; justify-content: center; align-items: center; gap: 34px; height: 44px; }
.nav-row a { font-size: 14px; font-weight: var(--w-medium); color: var(--graphite-800); text-decoration: none;
  white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 5px;
  transition: color .15s; padding: 6px 0; }
.nav-row a svg { opacity: .55; transition: transform .22s var(--ease-out), opacity .15s; }
.nav-row a.is-open, .nav-row a.is-current { color: var(--orange-forge); }
.nav-row a.is-open svg { opacity: 1; transform: rotate(180deg); }
.nav-row a.is-open::after, .nav-row a.is-current::after { right: 0; }
.nav-row a:hover { color: var(--orange-forge); }
.nav-row a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--orange-forge); transition: right .2s var(--ease-out); }
.nav-row a:hover::after { right: 0; }

/* Ghost button override for light contexts (nav + hero) */
.hdr-cta .btn-ghost { background: #fff; color: var(--graphite-900); border: 1.5px solid rgba(30,30,30,.18); }
.hdr-cta .btn-ghost:hover { background: var(--graphite-900); color: #fff; border-color: var(--graphite-900); }

/* ---------- Autocomplétion recherche ---------- */
.ac-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--pur-blanc);
  border: 1px solid var(--line-soft);
  box-shadow: 0 12px 40px rgba(20,20,24,.14);
  z-index: 500; overflow: hidden; min-width: min(440px, 100%);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.ac-dropdown.open { display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }
.ac-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer;
  border-bottom: 1px solid var(--line-soft); transition: background .13s; }
.ac-item:hover, .ac-item.is-active { background: var(--atelier-100); }
.ac-item:hover .ac-arrow, .ac-item.is-active .ac-arrow { color: var(--orange-forge); transform: translate(2px, -2px); }
.ac-thumb { width: 38px; height: 38px; flex-shrink: 0; color: var(--orange-forge); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-soft); background: var(--blanc-atelier); }
.ac-info { flex: 1; min-width: 0; }
.ac-name { font-size: 13px; font-weight: var(--w-regular); color: var(--fg2); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-name b { font-weight: var(--w-bold); color: var(--fg1); }
.ac-ref { font-size: 11px; color: var(--fg3); margin-top: 3px; letter-spacing: .03em; text-transform: uppercase; }
.ac-arrow { color: var(--inox-300); font-size: 14px; flex-shrink: 0; line-height: 1; transition: color .13s, transform .13s; }
.ac-footer { padding: 8px 16px; font-size: 11px; font-weight: var(--w-bold); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg3); display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.ac-footer span { display: inline-flex; align-items: center; gap: 6px; }
.ac-footer span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--orange-forge); flex-shrink: 0; }
.ac-footer a { color: var(--orange-forge); }

/* ---------- Hero (giant display + flying bolts, light) ---------- */
.hero { position: relative; background: var(--blanc-atelier); color: var(--graphite-900); overflow: hidden;
  min-height: calc(100vh - 112px); display: flex; flex-direction: column; padding: 0; }
.hero-sols { position: relative; z-index: 5; padding-bottom: 80px; }
.hero-sols .sol-grid { margin: 0; }
.hero-hex { position: absolute; inset: 0; background: url(../img/hex-pattern.png) center/600px; opacity: .12; z-index: 0; }
.sec-dark .hero-hex { background: url(../img/hex-pattern-circles.png) center/260px repeat; }
.hero-hex.hex-dim { opacity: .55; }
.hero::after { content:""; position:absolute; inset:0; pointer-events:none; z-index: 0;
  background: radial-gradient(120% 90% at 12% 0%, rgba(255,107,41,.10), transparent 55%); }

.hero-cols { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; z-index: 1; }
.hero-cols span { border-right: 1px solid rgba(30,30,30,.08); }
.hero-cols span:last-child { border-right: 0; }

.hero-bolts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hbolt { position: absolute; height: auto; filter: drop-shadow(0 22px 30px rgba(20,20,24,.30)); will-change: transform; }
.hbolt-1 { width: clamp(154px, 20.25vw, 308px); top: calc(12% + 5rem); left: calc(46% + 10rem + 65px); animation: hboltA 9s var(--ease-std) infinite; }
.hbolt-2 { width: clamp(78px, 9.5vw, 150px); top: 12%; right: 6%; animation: hboltB 11s var(--ease-std) infinite; }
.hbolt-3 { width: clamp(70px, 8vw, 128px); bottom: 8%; left: 40%; animation: hboltC 10s var(--ease-std) infinite; }
.hbolt-4 { width: clamp(62px, 7vw, 104px); bottom: 28%; right: 17%; animation: hboltD 8s var(--ease-std) infinite; }
.hbolt-5 { width: clamp(67px, 8.4vw, 129px); top: calc(15% - 100px); left: calc(50% + 100px); animation: hboltE 10.5s var(--ease-std) infinite; }
/* --py est mis à jour par le JS parallaxe ; fallback 0px */
@keyframes hboltE { 0%,100%{ transform: rotate(2deg) translateY(var(--py, 0px));} 50%{ transform: rotate(5deg) translateY(calc(var(--py, 0px) - 15px));} }
@keyframes hboltA { 0%,100%{ transform: rotate(14deg)  translateY(var(--py, 0px));} 50%{ transform: rotate(12deg)  translateY(calc(var(--py, 0px) - 16px));} }
@keyframes hboltB { 0%,100%{ transform: rotate(-24deg) translateY(var(--py, 0px));} 50%{ transform: rotate(-20deg) translateY(calc(var(--py, 0px) + 14px));} }
@keyframes hboltC { 0%,100%{ transform: rotate(36deg)  translateY(var(--py, 0px));} 50%{ transform: rotate(39deg)  translateY(calc(var(--py, 0px) - 12px));} }
@keyframes hboltD { 0%,100%{ transform: rotate(-44deg) translateY(var(--py, 0px));} 50%{ transform: rotate(-40deg) translateY(calc(var(--py, 0px) + 12px));} }
@media (prefers-reduced-motion: reduce) { .hbolt { animation: none !important; } html { scroll-behavior: auto; } }

.marches-bolts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mbolt-1 { width: clamp(78px, 9vw, 138px); top: 9%; left: 2.5%; animation: hboltB 11s var(--ease-std) infinite; }
.mbolt-2 { width: clamp(64px, 7.5vw, 112px); bottom: 9%; right: 3%; animation: hboltD 9s var(--ease-std) infinite; }
@media (max-width: 1000px) { .marches-bolts { display: none; } }

.hero-stage { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(60px, 8vh, 110px); }
.hero-stage .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange-forge); }
.hero h1 { font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: .94; letter-spacing: -0.035em;
  margin: 22px 0 24px; max-width: 828px; text-wrap: balance; color: var(--graphite-900); }
.hero h1 .acc { color: var(--orange-forge); }
.hero p.lead { font-size: 1.15rem; line-height: 1.62; color: var(--graphite-600); max-width: 540px; }

/* Hero simple (pages intérieures) */
.hero-simple { min-height: 0; }
.hero-simple .hero-stage { padding-top: clamp(56px, 9vh, 104px); padding-bottom: clamp(56px, 9vh, 104px); }
.hero-simple h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; max-width: 900px; }
.hero-simple p.lead { max-width: 640px; }

.hero-strip { position: relative; z-index: 3; background: var(--orange-forge); border-top: 1px solid rgba(0,0,0,.08); }
.hero-strip-inner { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 26px 0; }
.hs-item { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 14.5px; font-weight: var(--w-semibold, 600); }
.hs-item svg { color: #fff; }

@media (max-width: 1000px) {
  .hbolt-3, .hbolt-4, .hbolt-5 { display: none; }
  .hbolt-1 { left: auto; right: 4%; top: auto; bottom: 22%; width: clamp(160px, 32vw, 240px); }
  .hbolt-2 { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 4.2rem); max-width: 100%; }
}

/* ---------- Section scaffolding ---------- */
section { padding: 104px 0; }
.hero { padding: 0; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: var(--w-bold);
  line-height: 1.06; letter-spacing: -0.025em; margin: 18px 0 18px; text-wrap: balance; }
.sec-head p { font-size: 1.12rem; line-height: 1.62; color: var(--fg2); }
.sec-dark { background: var(--graphite-800); color: var(--blanc-atelier); position: relative; }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .sec-head p { color: var(--inox-300); }
.sec-graphite { background: var(--graphite-900); overflow: hidden; }
.sec-graphite > .wrap { z-index: 2; }
.sec-clip { overflow: hidden; }
.sec-steel { background: var(--gris-inox); }
.sec-paper { background: var(--pur-blanc); }
.sec-atelier { background: var(--blanc-atelier); }
.xp-hex-deco { position: absolute; top: 50%; right: 0; transform: translate(50%, -50%);
  height: 125%; width: auto; color: var(--gris-inox); opacity: .08; z-index: 0; pointer-events: none; }
.center-actions { text-align: center; }

/* head with side intro (advantages / expertises / products) */
.head-split { display: grid; grid-template-columns: 1fr .82fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.head-split.head-tight { margin-bottom: 48px; }
.head-split .lead-r { font-size: 1.12rem; line-height: 1.62; color: var(--fg2); padding-bottom: 6px; }
.sec-dark .head-split .lead-r { color: var(--inox-300); }
.head-split h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: var(--w-bold);
  line-height: 1.06; letter-spacing: -0.025em; margin: 18px 0 0; text-wrap: balance; }
.head-split .head-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* ---------- Solutions (2 grandes cartes) ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sol-card { background: var(--pur-blanc); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .22s var(--ease-out), border-color .22s, transform .22s var(--ease-out);
  --card-accent: var(--orange-forge); --card-accent-dark: var(--orange-700); }
.sol-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--card-accent); z-index: 3; }
.sol-card.is-blue  { --card-accent: #A5AFBF; --card-accent-dark: #7E8A9C; }
.sol-card.is-green { --card-accent: #FF6B29; --card-accent-dark: #D8501A; }
.sol-card:hover { box-shadow: var(--shadow-md); border-color: var(--card-accent); transform: translateY(-4px); }
.sol-media { height: 260px; position: relative; overflow: hidden; background: var(--inox-200); flex-shrink: 0; }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.sol-card:hover .sol-media img { transform: scale(1.04); }
.sol-media .sol-tag { position: absolute; bottom: 18px; right: 18px;
  background: var(--card-accent); color: #fff;
  font-weight: var(--w-bold); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.sol-media .sol-tag.sol-tag-mark { background: #fff; padding: 9px 12px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.sol-media .sol-tag.sol-tag-mark svg { display: block; height: 34px; width: auto; }
.sol-card.is-blue .sol-tag-mark { color: #7E8A9C; }
.sol-card.is-green .sol-tag-mark { color: #FF6B29; }
.sol-bd { padding: 30px 32px 34px; flex: 1; display: flex; flex-direction: column; }
.sol-bd .ct { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--card-accent-dark); font-weight: var(--w-bold); }
.sol-bd .ct .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--card-accent); }
.sol-bd h3 { font-size: 1.7rem; font-weight: var(--w-bold); margin: 8px 0 10px; letter-spacing: -0.02em; }
.sol-bd p { font-size: 1rem; color: var(--fg2); line-height: 1.55; margin-bottom: 22px; }
.sol-bd .linkmore { color: var(--graphite-800); margin-top: auto; }
.sol-card:hover .sol-bd .linkmore { color: var(--card-accent-dark); }

/* ---------- Advantages (4 colonnes) ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-on-dark); }
.adv-cell { padding: 38px 30px 8px; position: relative; }
.adv-cell + .adv-cell::before { content:""; position:absolute; left:0; top:38px; bottom:8px; width:1px; background: var(--line-on-dark); }
.adv-cell .ic { color: var(--orange-forge); margin-bottom: 22px; display:flex; }
.adv-cell .ic-img, .ind .ic-img { width: 34px; height: 34px; object-fit: contain; }
.adv-cell h3 { font-size: 1.3rem; font-weight: var(--w-bold); color: #fff; margin-bottom: 12px; }
.adv-cell p { font-size: 14.5px; line-height: 1.6; color: var(--inox-300); }

/* ---------- Rail / carrousel (expertises & produits) ---------- */
/* padding haut/bas : laisse la place au translateY + ombre des cartes au survol (overflow-x rogne aussi en vertical) */
.rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 0 16px; margin: -8px 0 -8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; flex: 0 0 360px; }
.rail.rail-bleed { margin-right: calc(50% - 50vw); padding-right: 40px; }
.rail-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; }
.sec-paper .rail-foot { color: var(--graphite-800); }
.dots { display: flex; gap: 9px; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: currentColor; opacity: .25; }
.dot.on { opacity: 1; background: var(--orange-forge); }
.rail-nav { display: flex; gap: 12px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 8px; border: 1.5px solid currentColor;
  background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.rail-nav button:hover { background: var(--orange-forge); border-color: var(--orange-forge); color: #fff; }

/* expertise card (dark context) */
.xp { background: var(--graphite-700); border: 1px solid var(--line-on-dark); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s var(--ease-out); }
.xp:hover { border-color: var(--orange-300); transform: translateY(-3px); }
.xp-media { aspect-ratio: 16/10; overflow: hidden; background: var(--graphite-600); }
.xp-media img { width: 100%; height: 100%; object-fit: cover; }
.xp-bd { padding: 22px 24px 26px; }
.tagrow { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag-pill { font-size: 12px; font-weight: var(--w-bold); letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.tag-pill.fill { background: var(--orange-forge); color: #1E1E1E; }
.tag-pill.line { border: 1px solid var(--line-on-dark); color: var(--inox-300); }
.xp-bd h3 { font-size: 1.35rem; font-weight: var(--w-bold); color: #fff; margin-bottom: 8px; }
.xp-bd p { font-size: 14.5px; line-height: 1.55; color: var(--inox-300); margin-bottom: 18px; }
.xp .linkmore { color: #fff; }
.xp:hover .linkmore { color: var(--orange-forge); }

/* product card (light context) */
.pc { background: var(--pur-blanc); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s var(--ease-out), border-color .2s, transform .2s var(--ease-out); }
.pc:hover { box-shadow: var(--shadow-md); border-color: var(--orange-300); transform: translateY(-3px); }
.pc-media { aspect-ratio: 16/10; overflow: hidden; background: var(--inox-200); position: relative; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-bd { padding: 22px 24px 26px; }
.pc-bd h3 { font-size: 1.35rem; font-weight: var(--w-bold); margin-bottom: 8px; }
.pc-bd p { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin-bottom: 18px; }
.pc:hover .linkmore { color: var(--orange-700); }
.tag-pill.fill-dark { background: var(--graphite-800); color: #fff; }
.tag-pill.line-dark { border: 1px solid var(--line-strong); color: var(--fg2); }

/* ---------- Industries (3 colonnes centrées) ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 52px; }
.ind { text-align: center; padding: 0 12px; display: block; }
.ind .ic { width: 64px; height: 64px; border-radius: 12px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,107,41,.12); color: var(--orange-forge); }
.ind h3 { font-size: 1.6rem; font-weight: var(--w-bold); color: #fff; margin-bottom: 14px; letter-spacing: -0.01em; }
.ind p { font-size: 15px; line-height: 1.6; color: var(--inox-300); max-width: 340px; margin: 0 auto; }
.ind .linkmore { margin-top: 18px; }
a.ind:hover h3, a.ind:hover .linkmore { color: var(--orange-forge); }
.ind-actions { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* ---------- Cases (3 colonnes) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 52px; }
.case { display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .25s var(--ease-out); }
a.case:hover { transform: translateY(-4px); }
a.case:hover h3 { color: var(--orange-forge); }
.case .linkmore { transition: color .15s, gap .18s var(--ease-out); }
a.case:hover .linkmore { color: var(--orange-forge); gap: 12px; }
.case-media { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--inox-200); position: relative; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
a.case:hover .case-media img { transform: scale(1.05); }
.case-media .logo { position:absolute; left:16px; bottom:16px; color:#fff; font-weight: var(--w-bold); font-size: 1.1rem; letter-spacing: .02em;
  text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.case h3 { font-size: 1.4rem; font-weight: var(--w-bold); margin: 22px 0 10px; transition: color .15s; }
.case p { font-size: 15px; color: var(--fg2); line-height: 1.55; margin-bottom: 18px; }
.case .tagrow { margin-bottom: 18px; }

/* ---------- Testimonial ---------- */
.testi { text-align: center; max-width: 880px; margin: 0 auto; }
.stars { display: inline-flex; gap: 6px; color: var(--orange-forge); margin-bottom: 28px; }
.hex-stars svg { height: 26px; width: auto; display: block; }
.testi blockquote { font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: var(--w-medium); line-height: 1.32;
  letter-spacing: -0.015em; color: var(--graphite-800); text-wrap: balance; }
.testi-by { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.testi-by .av { width: 64px; height: 64px; border-radius: 999px; overflow: hidden; background: var(--inox-200); }
.testi-by .av img { width:100%; height:100%; object-fit: cover; }
.testi-by .meta { text-align: center; }
.testi-by .meta b { display: block; font-weight: var(--w-bold); font-size: 15px; }
.testi-by .meta span { font-size: 14px; color: var(--fg3); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.statcard { background: var(--graphite-700); border: 1px solid var(--line-on-dark); border-radius: 12px;
  padding: 40px 34px; position: relative; overflow: hidden; }
.statcard .bar { position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--orange-forge); }
.statcard .n { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: var(--w-bold); letter-spacing: -0.03em;
  color: #fff; line-height: .95; }
.statcard .n .u { color: #fff; }
.statcard .t { font-size: 1.15rem; font-weight: var(--w-bold); color: #fff; margin-top: 26px; }
.statcard .l { font-size: 14.5px; color: var(--inox-300); margin-top: 8px; line-height: 1.45; }

/* ---------- Trust logos ---------- */
.sec-logos { padding: 88px 0; }
.trust-lab { text-align: center; font-size: 11px; font-weight: var(--w-bold); color: var(--inox-500);
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 40px; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--inox-200); }
.logo-cell { background: var(--pur-blanc); display: flex; align-items: center; justify-content: center;
  padding: 28px 24px; overflow: hidden; position: relative; min-height: 132px; }
.logo-cell::before { content: ''; position: absolute; top: 8px; left: 8px; width: 9px; height: 9px;
  border-top: 1px solid rgba(30,30,30,.12); border-left: 1px solid rgba(30,30,30,.12); pointer-events: none; }
.logo-cell::after { content: ''; position: absolute; bottom: 8px; right: 8px; width: 9px; height: 9px;
  border-bottom: 1px solid rgba(30,30,30,.12); border-right: 1px solid rgba(30,30,30,.12); pointer-events: none; }
.logo-cell a { display: contents; }
.logo-cell img { max-height: 48px; max-width: min(100%, 156px); width: auto; object-fit: contain; }
.logo-cell img.logo-lg  { max-height: 62px;  max-width: min(100%, 203px); }
.logo-cell img.logo-xl  { max-height: 77px;  max-width: min(100%, 238px); }
.logo-cell img.logo-xxl { max-height: 115px; max-width: min(100%, 374px); }

/* ---------- CTA final (bandeau sombre) ---------- */
.cta-final { background: var(--graphite-900); color: var(--blanc-atelier); position: relative; overflow: hidden; }
.cta-final .hx { position:absolute; inset:0; background: url(../img/hex-pattern-circles.png) center/260px repeat; opacity:.45; }
.cta-final .glow { position:absolute; right:-10%; top:-40%; width:60%; height:180%;
  background: radial-gradient(circle, rgba(255,107,41,.20), transparent 60%); }
.cta-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: var(--w-bold); letter-spacing: -0.03em;
  line-height: 1.04; color: #fff; text-wrap: balance; margin-top: 18px; }
.cta-inner p { font-size: 1.18rem; line-height: 1.6; color: var(--inox-300); margin: 22px auto 36px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-phone { display:inline-flex; align-items:center; gap:10px; color:#fff; font-weight: var(--w-bold); font-size: 1.05rem; margin-left: 10px; }
.cta-phone svg { color: var(--orange-forge); }
.cta-phone:hover { color: var(--orange-300); }

/* ---------- Texte / Texte & image (pages intérieures) ---------- */
/* deux blocs texte consécutifs sur le même fond : on évite le double espacement */
.sec-paper.sec-text + .sec-paper.sec-text,
.sec-atelier.sec-text + .sec-atelier.sec-text,
.sec-dark.sec-text + .sec-dark.sec-text { padding-top: 0; }
.text-block { max-width: 760px; }
.text-block.is-wide { max-width: none; }
.block-title { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: var(--w-bold); line-height: 1.08;
  letter-spacing: -0.025em; margin: 18px 0 24px; text-wrap: balance; }
.sec-dark .block-title { color: #fff; }
.block-actions { margin-top: 32px; }
.ti-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ti-grid.is-image-left .ti-media { order: -1; }
.ti-media { border-radius: 12px; overflow: hidden; background: var(--inox-200); }
.ti-media img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.05rem; line-height: 1.7; color: var(--fg2); }
.sec-dark .prose { color: var(--inox-300); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--fg1); font-weight: var(--w-bold); line-height: 1.2; letter-spacing: -0.015em; margin-top: 1.8em; }
.sec-dark .prose h2, .sec-dark .prose h3, .sec-dark .prose h4 { color: #fff; }
.prose h2 { font-size: 1.8rem; } .prose h3 { font-size: 1.4rem; } .prose h4 { font-size: 1.15rem; }
.prose a { color: var(--orange-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange-forge); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li + li, .prose ol li + li { margin-top: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  background: var(--orange-forge); clip-path: polygon(27% 9%, 73% 9%, 96% 50%, 73% 91%, 27% 91%, 4% 50%); }
.prose ol { list-style: decimal; }
.prose strong { color: var(--fg1); font-weight: var(--w-bold); }
.sec-dark .prose strong { color: #fff; }
.prose blockquote { border-left: 4px solid var(--orange-forge); padding: 4px 0 4px 22px; font-size: 1.2rem; color: var(--fg1); }
.prose img { border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--fg1); }

/* ---------- Listes (recherche, archives) ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teaser { display: flex; flex-direction: column; background: var(--pur-blanc); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: box-shadow .2s var(--ease-out), border-color .2s, transform .2s var(--ease-out); }
.teaser:hover { box-shadow: var(--shadow-md); border-color: var(--orange-300); transform: translateY(-3px); }
.teaser-media { aspect-ratio: 16/10; overflow: hidden; background: var(--inox-200); }
.teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.teaser-bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.teaser-type { font-size: 11px; font-weight: var(--w-bold); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-forge); }
.teaser h2 { font-size: 1.3rem; font-weight: var(--w-bold); line-height: 1.2; }
.teaser p { font-size: 14.5px; line-height: 1.55; color: var(--fg2); }
.teaser .linkmore { margin-top: auto; padding-top: 8px; }
.empty { font-size: 1.1rem; color: var(--fg2); text-align: center; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong); border-radius: 8px; font-weight: var(--w-bold); font-size: 14px; padding: 0 12px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--orange-forge); border-color: var(--orange-forge); color: #fff; }

/* ---------- Footer ---------- */
.ft { background: var(--noir-graphite); color: var(--inox-300); padding: 80px 0 36px; }
.ft-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; }
.ft .brand img { height: 80px; width: auto; }
.ft-blurb { margin-top: 20px; font-size: 14.5px; line-height: 1.62; max-width: 300px; color: var(--inox-400); }
.ft h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: var(--w-bold); margin-bottom: 20px; }
.ft ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft a { color: var(--inox-300); font-size: 14.5px; transition: color .15s; }
.ft a:hover { color: var(--orange-forge); }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--inox-300); }
.ft-contact svg { color: var(--orange-forge); flex: none; margin-top: 2px; }
.ft-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 28px;
  border-top: 1px solid rgba(165,175,191,.16); font-size: 13px; color: var(--inox-500); flex-wrap: wrap; gap: 14px; }
.ft-bottom .legal { display: flex; flex-direction: row; gap: 26px; flex-wrap: wrap; }
.ft-bottom .legal a { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .wrap { padding: 0 26px; }
  .head-split { grid-template-columns: 1fr; gap: 24px; }
  .sol-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .adv-cell:nth-child(odd)::before { display:none; }
  .ind-grid, .case-grid, .stats, .logo-grid, .teaser-grid { grid-template-columns: 1fr; }
  .ind-grid { gap: 40px; }
  .ti-grid { grid-template-columns: 1fr; gap: 36px; }
  .ti-grid.is-image-left .ti-media { order: 0; }
  section { padding: 76px 0; }
  .nav-row { gap: 22px; }
  .hdr-cta .btn-ghost, .lang { display: none; }
}
@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
  .rail .card { flex-basis: 80vw; }
}

/* ============================================================
   MEGA MENU (Catalogue standard, Fixations sur-mesure)
   ============================================================ */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--blanc-atelier);
  border-top: 1px solid rgba(30,30,30,.06);
  border-bottom: 1px solid rgba(30,30,30,.08);
  box-shadow: 0 30px 60px -30px rgba(20,20,20,.18);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s .18s;
  z-index: 60;
}
.mega.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition: opacity .18s ease-out, transform .18s ease-out; }

.mega-inner { max-width: 1280px; margin: 0 auto; padding: 38px 40px 44px;
  display: grid; grid-template-columns: 300px 1fr; gap: 56px; }

/* left rail: categories */
.mega-cats { display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid rgba(30,30,30,.08); padding-right: 20px; }
.mega-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 8px; cursor: pointer; border: none; background: transparent;
  font: var(--w-bold) 15px var(--font-sans); color: var(--graphite-900); text-align: left;
  transition: background .15s var(--ease-out), color .15s var(--ease-out);
}
.mega-cat-main { display: inline-flex; align-items: center; gap: 12px; }
.mega-cat-thumb { width: 38px; height: 38px; flex: none;
  clip-path: polygon(27% 9%, 73% 9%, 96% 50%, 73% 91%, 27% 91%, 4% 50%);
  background: rgba(30,30,30,.06); position: relative; overflow: hidden; }
.mega-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(2.4); transform-origin: center; }
.mega-cat.is-active .mega-cat-thumb { box-shadow: inset 0 0 0 1px rgba(255,107,41,.5); }
.mega-cat:hover { background: rgba(30,30,30,.04); }
.mega-cat.is-active { background: rgba(255,107,41,.08); color: var(--orange-forge); }
.mega-cat .arr { color: rgba(30,30,30,.3); transition: transform .2s var(--ease-out), color .2s; }
.mega-cat.is-active .arr { color: var(--orange-forge); transform: translateX(3px); }

/* right pane */
.mega-pane { min-height: 320px; position: relative; transition: opacity .14s ease-out, transform .14s ease-out; }
.mega-pane.is-switching { opacity: 0; transform: translateY(4px); }
.mega-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.mega-head .ey { font: var(--w-bold) 11px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-forge); }
.mega-head h3 { font: var(--w-bold) 22px/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--graphite-900); }
.mega-head h3 a:hover { color: var(--orange-forge); }
.mega-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; }
.mega-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 6px; text-decoration: none;
  font: var(--w-medium) 14.5px var(--font-sans); color: var(--graphite-700);
  transition: background .14s var(--ease-out), color .14s var(--ease-out);
}
.mega-sub a:hover { background: rgba(255,107,41,.06); color: var(--orange-forge); }
.mega-sub a::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: .4; flex: none; }
.mega-sub a:hover::before { opacity: 1; }

/* flat multi-column (sur-mesure) */
.mega-inner-flat { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) 280px; gap: 48px; align-items: stretch; }
.mega-inner-flat.no-cta { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.mega-col { display: flex; flex-direction: column; gap: 8px; }
.mega-col-title { font: var(--w-bold) 11px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-forge); margin-bottom: 6px; }
.mega-col-title-spaced { margin-top: 22px; }
.mega-col-title a { color: inherit; text-decoration: none; transition: opacity .15s; }
.mega-col-title a:hover { opacity: .7; }
.mega-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.mega-list a {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 6px;
  text-decoration: none; font: var(--w-medium) 14.5px var(--font-sans); color: var(--graphite-700);
  transition: background .14s var(--ease-out), color .14s var(--ease-out);
}
.mega-list a:hover { background: rgba(255,107,41,.06); color: var(--orange-forge); }

/* CTA card */
.mega-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 220px;
  padding: 28px 26px; border-radius: 10px; text-decoration: none;
  color: #fff;
  background-color: var(--graphite-800);
  background-image: linear-gradient(rgba(20,20,20,.35), rgba(20,20,20,.55)), var(--cta-bg, none);
  background-size: cover; background-position: center;
  transition: transform .18s var(--ease-out);
  position: relative; overflow: hidden; align-self: stretch;
}
.mega-cta-bottom { display: flex; flex-direction: column; gap: 12px; }
.mega-cta::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23FFFFFF' fill-opacity='.16' fill-rule='evenodd' d='M4 50 27 9H73L96 50 73 91H27L4 50ZM50 31a19 19 0 1 0 0 38 19 19 0 0 0 0-38Z'/></svg>") center/contain no-repeat;
  pointer-events: none;
}
.mega-cta > * { position: relative; z-index: 1; }
.mega-cta:hover { background-image: linear-gradient(rgba(20,20,20,.20), rgba(20,20,20,.45)), var(--cta-bg, none); transform: translateY(-2px); }
.mega-cta-eyebrow { display: inline-flex; align-items: center; gap: 7px; font: var(--w-bold) 11px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: #9ED35E; }
.mega-cta b { font: var(--w-bold) 22px/1.2 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; color: #fff; }
.mega-cta-action { display: inline-flex; align-items: center; gap: 10px; font: var(--w-bold) 14.5px var(--font-sans); margin-top: 4px; color: #9ED35E; }
.mega-cta:hover .mega-cta-action { color: #B6E07A; }

@media (max-width: 1080px) {
  .mega-inner { grid-template-columns: 1fr; }
  .mega-cats { border-right: 0; border-bottom: 1px solid rgba(30,30,30,.08); padding-right: 0; padding-bottom: 12px; }
  .mega-sub { grid-template-columns: 1fr 1fr; }
  .mega-inner-flat, .mega-inner-flat.no-cta { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mega-cta { grid-column: 1 / -1; align-self: stretch; }
}
@media (max-width: 760px) {
  .mega { display: none; }
}

/* ============================================================
   MOBILE HEADER + DRAWER 2 NIVEAUX — masqués sur desktop
   ============================================================ */
.m-header, .m-drawer { display: none; }

.m-header { position: sticky; top: 0; z-index: 70; background: var(--blanc-atelier); border-bottom: 1px solid rgba(30,30,30,.1); }
.m-bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; height: 60px; padding: 0 14px; }
.m-burger { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center;
  gap: 5px; background: transparent; border: 0; padding: 0 9px; cursor: pointer; }
.m-burger span { display: block; height: 2.5px; width: 26px; background: var(--graphite-900);
  border-radius: 2px; transition: transform .22s var(--ease-out), opacity .18s; transform-origin: center; }
.m-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.m-burger.open span:nth-child(2) { opacity: 0; }
.m-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.m-logo { justify-self: center; display: flex; align-items: center; }
.m-logo img { height: 34px; width: auto; }
.m-devis { padding: 9px 16px; font-size: 13.5px; white-space: nowrap; }
.m-search { display: flex; align-items: center; gap: 11px; margin: 0 14px 13px; padding: 0 17px; position: relative;
  height: 48px; background: rgba(30,30,30,.05); border-radius: 999px; }
.m-search svg { color: var(--graphite-500); flex: none; }
.m-search input { flex: 1; border: 0; outline: none; background: transparent; font-family: inherit;
  font-size: 15px; color: var(--graphite-900); min-width: 0; }
.m-search input::placeholder { color: var(--graphite-500); }
.m-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.m-search .ac-dropdown { min-width: 0; border-radius: 10px; }

.m-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; overflow: hidden; transition: visibility 0s .32s; }
.m-drawer.open { visibility: visible; transition: none; }
.m-scrim { position: absolute; inset: 0; background: rgba(15,15,15,.5); opacity: 0; transition: opacity .25s var(--ease-out); }
.m-drawer.open .m-scrim { opacity: 1; }
.m-panel { position: absolute; top: 0; left: 0; bottom: 0; width: 88%; max-width: 360px;
  background: var(--blanc-atelier); display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden; box-shadow: 8px 0 40px rgba(0,0,0,.25);
  transform: translateX(-100%); transition: transform .32s cubic-bezier(.25,.46,.45,.94); }
.m-drawer.open .m-panel-lvl1 { transform: translateX(0); }
.m-drawer.sub-open .m-panel-lvl1 { transform: translateX(-28%); }
.m-panel-lvl2 { background: var(--pur-blanc); z-index: 2; transform: translateX(-100%); visibility: hidden;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), visibility 0s .32s; }
.m-drawer.sub-open .m-panel-lvl2.is-active { transform: translateX(0); visibility: visible;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), visibility 0s 0s; }

.m-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid rgba(30,30,30,.09); flex-shrink: 0; min-height: 68px; }
.m-panel-head img { height: 32px; width: auto; }
.m-close { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--graphite-900); background: rgba(30,30,30,.06); flex-shrink: 0; }
.m-back { display: flex; align-items: center; gap: 8px; font: var(--w-bold) 15px var(--font-sans); color: var(--graphite-900); text-align: left; }
.m-nav { display: flex; flex-direction: column; padding: 6px 0; }
.m-nav-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 15px 20px; font: var(--w-medium) 16px var(--font-sans); color: var(--graphite-900); text-align: left;
  border-bottom: 1px solid rgba(30,30,30,.07); transition: background .14s, color .14s; }
.m-nav-item:hover, .m-nav-item:active, .m-nav-item.is-current { color: var(--orange-forge); }
.m-nav-item:active { background: rgba(30,30,30,.04); }
.m-nav-arr { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(30,30,30,.06); flex-shrink: 0; color: var(--graphite-600); }
.m-nav-section { border-bottom: 1px solid rgba(30,30,30,.07); padding: 6px 0; }
.m-nav-section .m-nav-item { border-bottom: 0; padding: 12px 20px; font-size: 15px; }
.m-nav-label { padding: 12px 20px 4px; font-size: 10.5px; font-weight: var(--w-bold);
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange-forge); }
.m-nav-all { color: var(--orange-forge); font-weight: var(--w-bold); }
.m-panel-cta { margin: 20px; justify-content: center; padding: 15px; font-size: 15px; }
.m-panel-foot { margin-top: auto; padding: 16px 20px 24px; border-top: 1px solid rgba(30,30,30,.07);
  display: flex; flex-direction: column; gap: 12px; }
.m-panel-foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite-800); font-size: 16px; font-weight: var(--w-bold); }
.m-panel-foot a svg { color: var(--orange-forge); }
.m-panel-foot .m-lang { font-size: 12.5px; color: var(--graphite-500); letter-spacing: .02em; }
.m-langs { display: flex; gap: 14px; }
.m-langs a { font-size: 14px; color: var(--graphite-500); }
.m-langs a[aria-current] { color: var(--orange-forge); }

@media (max-width: 760px) {
  .hdr { display: none; }
  .m-header { display: block; }
  .m-drawer { display: block; }
}
@media (max-width: 782px) {
  .admin-bar .m-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .m-header { top: 0; }
}

/* ============================================================
   RESPONSIVE — phone
   ============================================================ */
@media (max-width: 760px) {
  .hero-bolts { display: none; }
  .hero { min-height: 0; }
  .hero-stage { padding-top: calc(40px + 2rem); padding-bottom: 44px; text-align: center; align-items: center; }
  .hero-stage .eyebrow { justify-content: center; font-size: 10.5px; letter-spacing: .1em; white-space: nowrap; }
  .hero h1, .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-sols { padding-bottom: 56px; margin-top: 2rem; }
  .hero-sols .sol-grid { gap: calc(28px + 1rem); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 60px 0; }
  .sec-logos { padding: 60px 0; }
  .sec-head, .head-split { margin-bottom: 36px; }

  .sec-head h2, .head-split h2, .block-title { font-size: 1.7rem; }
  .sec-head p, .head-split .lead-r { font-size: 1rem; }

  .hero h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero p.lead { font-size: 1rem; }

  .hero-strip-inner { gap: 14px 26px; padding: 20px 4px; }
  .hs-item { font-size: 13px; }

  .sol-bd { padding: 24px 22px 28px; }
  .sol-bd h3 { font-size: 1.35rem; }
  .sol-bd p { font-size: .95rem; }

  .adv-cell { padding: 28px 0 8px; }
  .adv-cell + .adv-cell::before { display: none; }
  .adv-cell h3 { font-size: 1.2rem; }

  .ind-grid { gap: 36px; margin-bottom: 40px; }
  .ind h3 { font-size: 1.35rem; }
  .case-grid, .stats { gap: 20px; margin-bottom: 36px; }
  .case h3, .xp-bd h3, .pc-bd h3 { font-size: 1.25rem; }
  .statcard { padding: 30px 26px; }
  .statcard .n { font-size: 2.5rem; }
  .statcard .t { font-size: 1.05rem; margin-top: 18px; }

  .testi blockquote { font-size: 1.25rem; }
  .hex-stars svg { height: 20px; }

  .logo-grid { grid-template-columns: 1fr 1fr; }
  .logo-cell { padding: 20px 16px; min-height: 96px; }

  .ft-grid { grid-template-columns: 1fr; gap: 30px; }
  .ft { padding: 56px 0 32px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .rail.rail-bleed { padding-right: 18px; }
  .rail .card { flex-basis: 82vw; }
  .xp-bd, .pc-bd { padding: 20px 20px 24px; }

  .cta-inner h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .cta-inner p { font-size: 1rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .cta-phone { margin-left: 0; justify-content: center; }
}
