/* PRINTSPADIX — feuille de style
   Concept : la feuille d'impression. Repères de coupe, repère de registre, bande de contrôle couleur
   servent de structure. Orange du logo PrintsPadix (#C85818 / #E8650F) sur noir d'encre bleuté, papier blanc et kraft. */
:root {
  --ink: #1c1613;
  --ink-2: #2a211c;
  --paper: #f5f5f2;
  --white: #ffffff;
  --kraft: #fbe6d6;
  --muted: #565b63;
  --line: #d9d8d2;
  --line-dark: rgba(255, 255, 255, 0.16);
  --c: #e8540a;
  --c-text: #b3420a;
  --c-soft: #ff9a5a;
  --m: #c85818;
  --y: #f5a35c;
  --k: #8a8f98;
  --cta: #c4470c;
  --cta-hover: #a33a08;
  --cy: #1593b8;
  --mg: #d0287b;
  --ye: #f4c20d;
  --radius: 2px;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--c-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 108%; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); letter-spacing: -0.035em; font-weight: 850; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 750; letter-spacing: -0.015em; }
p { margin: 0 0 1em; max-width: 64ch; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(72px, 9vw, 136px) 0; position: relative; }
.sec--white { background: var(--white); }
.sec--tint { background: #fbeee3; }
.sec--kraft { background: var(--kraft); }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.kicker { font: 700 .95rem/1.2 var(--font-display); color: var(--c-text); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; flex: none; }
.hero .kicker, .phero .kicker { color: var(--c-soft); }

/* Signature : bande de contrôle couleur et repères de coupe */
.cstrip { height: 8px; background: linear-gradient(90deg, var(--ink) 0 20%, var(--cy) 20% 40%, var(--mg) 40% 60%, var(--ye) 60% 80%, var(--c) 80% 100%); }
.crop { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; color: var(--ink); pointer-events: none; }
.crop--tl { top: -14px; left: -14px; border-width: 2px 0 0 2px; }
.crop--tr { top: -14px; right: -14px; border-width: 2px 2px 0 0; }
.crop--bl { bottom: -14px; left: -14px; border-width: 0 0 2px 2px; }
.crop--br { bottom: -14px; right: -14px; border-width: 0 2px 2px 0; }
.hero .crop, .phero .crop { color: rgba(255, 255, 255, .55); }
.prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--c); transform-origin: left; transform: scaleX(var(--prog, 0)); z-index: 60; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font: 700 1rem/1 var(--font-display); border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; min-height: 48px; }
.btn--primary { background: var(--cta); color: var(--white); }
.btn--primary:hover { background: var(--cta-hover); color: var(--white); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.textlink { font-family: var(--font-display); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.textlink svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* En-tête */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); transition: background .3s, box-shadow .3s; }
.hdr.is-solid, .hdr.is-open { background: rgba(18, 22, 28, .92); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(12px); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; transition: height .3s; }
.hdr.is-solid .hdr__in { height: 64px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 38px; width: auto; max-width: none; flex: none; }
.hdr .wrap { max-width: 1560px; }
.logo__mark { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .88rem; padding: 10px 7px; position: relative; white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 4px; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; padding: 12px 16px; color: var(--white); }
.burger { display: none; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px auto; transition: transform .3s var(--ease), opacity .2s; }
.hdr.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Titres : chaque mot sort d'un masque */
.js [data-split].is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js [data-split].is-split .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 80%); mask-image: linear-gradient(100deg, transparent 15%, #000 80%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; min-height: min(100svh, 900px); padding-top: 120px; padding-bottom: 96px; }
.hero h1 { margin-bottom: 26px; }
.hero__text { color: #d4d9df; font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 50ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero__copy > :not(h1) { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.js .is-ready .hero__copy > :not(h1), .js.is-ready .hero__copy > :not(h1) { opacity: 1; transform: none; }
.js .hero__copy > .hero__text { transition-delay: .65s; }
.js .hero__copy > .hero__cta { transition-delay: .8s; }
.hero .cstrip { position: absolute; left: 0; right: 0; bottom: 0; }

/* La feuille : le papier arrive décalé, puis se met « en registre » */
.sheetwrap { padding: 20px; }
.sheet { position: relative; max-width: 540px; margin-left: auto; transform: translateY(var(--py, 0px)) rotate(-1.2deg); }
.sheet__paper { position: relative; background: var(--white); padding: clamp(12px, 2vw, 22px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); z-index: 1; }
.sheet::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: translate(16px, 16px); transition: transform 1.4s var(--ease) .3s; }
.js .sheet::before { transform: translate(-30px, 26px); }
.js.is-ready .sheet::before { transform: translate(16px, 16px); }
.sheet__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sheet__head { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--ink) 0 20%, var(--cy) 20% 40%, var(--mg) 40% 60%, var(--ye) 60% 80%, var(--c) 80% 100%); }
.sheet .crop { color: rgba(255,255,255,.65); z-index: 2; }
.sheet .crop--tl { top: -18px; left: -18px; } .sheet .crop--tr { top: -18px; right: -18px; } .sheet .crop--bl { bottom: -18px; left: -18px; } .sheet .crop--br { bottom: -18px; right: -18px; }
.regmark { position: absolute; width: 54px; height: 54px; right: -34px; top: 38%; z-index: 2; fill: none; stroke: var(--white); stroke-width: 1.6; }
.js .regmark { transform: rotate(-180deg) scale(.4); opacity: 0; transition: transform 1.4s var(--ease) .6s, opacity .6s .6s; }
.js.is-ready .regmark { transform: none; opacity: 1; }

/* Bandeau défilant */
.strip { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.strip__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__set { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.strip__item { font: 750 1.15rem/1 var(--font-display); font-stretch: 108%; white-space: nowrap; color: var(--ink); }
.strip__sep { width: 14px; height: 14px; color: var(--c); flex: none; }
.strip__cap { text-align: center; color: var(--muted); font-size: .95rem; margin: 0 auto 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Titres de section */
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin: 0; }
.head p { margin: 0; justify-self: end; color: var(--muted); }

/* Expertises (accueil) : la ligne survolée commande l'aperçu */
.xlist { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.xrows { border-top: 2px solid var(--ink); }
.xrow { display: grid; grid-template-columns: 84px minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; }
.xrow::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.xrow.is-on::before { transform: scaleX(1); }
.xrow__vis { width: 84px; height: 84px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.xrow__vis .art { width: 100%; height: 100%; object-fit: cover; }
.xrow__txt h3 { margin: 0 0 6px; transition: color .25s; }
.xrow__txt p { margin: 0; color: var(--muted); font-size: .98rem; }
.xrow.is-on h3 { color: var(--c-text); }
.xrow__go { width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.xrow__go svg { width: 16px; height: 16px; }
.xrow.is-on .xrow__go { background: var(--c); border-color: var(--c); color: var(--white); transform: rotate(-45deg); }
.xprev { position: sticky; top: 110px; aspect-ratio: 4/5; background: var(--white); box-shadow: 0 28px 50px -34px rgba(18,22,28,.5); }
.xprev .crop { color: var(--ink); }
.xprev__item { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .5s, clip-path .7s var(--ease); }
.xprev__item.is-on { opacity: 1; clip-path: inset(0); }
.xprev__item .art { width: 100%; height: 100%; object-fit: cover; }

/* Du papier au produit fini */
.prod2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.prod2__vis { aspect-ratio: 4/5; overflow: hidden; background: var(--white); position: relative; }
.prod2__vis img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0px)); will-change: transform; }
.steps { list-style: none; margin: 40px 0 0; padding: 0 0 0 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px; background: rgba(18,22,28,.18); }
.steps::after { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px; background: var(--c); transform-origin: top; transform: scaleY(var(--sp, 0)); }
.step { display: grid; grid-template-columns: 40px 150px 1fr; gap: 20px; padding: 18px 0; align-items: start; position: relative; }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--kraft); border: 2px solid rgba(18,22,28,.3); display: grid; place-items: center; font: 800 1rem var(--font-display); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.step.is-on .step__n { background: var(--c); border-color: var(--c); color: var(--white); }
.step strong { font: 800 1.2rem/1.2 var(--font-display); padding-top: 8px; }
.step span:last-child { color: #3d4249; padding-top: 6px; }

/* Catalogue : rail horizontal */
.rail__ctl { display: flex; gap: 10px; justify-content: flex-end; margin: -20px 0 18px; }
.rail__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, opacity .25s; }
.rail__btn svg { width: 18px; height: 18px; }
.rail__btn:first-child svg { transform: rotate(180deg); }
.rail__btn:hover:not([disabled]) { background: var(--ink); color: var(--white); }
.rail__btn[disabled] { opacity: .3; cursor: default; }
.rail__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--c) transparent; margin: 0 -4px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.rail__track .pcard { flex: 0 0 clamp(250px, 26vw, 310px); scroll-snap-align: start; }
.rail__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }

/* Produits */
.cat-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 .93rem/1 var(--font-display); padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; min-height: 44px; transition: background .25s, color .25s; }
.chip:hover { background: rgba(18,22,28,.08); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.search { position: relative; min-width: min(100%, 280px); }
.search input { width: 100%; padding: 13px 16px 13px 44px; border: 1.5px solid var(--ink); border-radius: var(--radius); font: inherit; background: var(--white); min-height: 48px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; transition: border-color .3s, box-shadow .3s; }
.pcard::before, .pcard::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--c); opacity: 0; transition: opacity .3s, transform .4s var(--ease); z-index: 2; }
.pcard::before { top: -1px; left: -1px; border-width: 3px 0 0 3px; transform: translate(6px, 6px); }
.pcard::after { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; transform: translate(-6px, -6px); }
.pcard:hover { border-color: var(--ink); }
.pcard:hover::before, .pcard:hover::after { opacity: 1; transform: none; }
.pcard__vis { aspect-ratio: 4/3; background: var(--white); overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__vis img.art { object-fit: contain !important; }
.pcard__vis .art { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.pcard__vis svg.art { object-fit: initial; }
.pcard:hover .art { transform: scale(1.06); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .88rem; color: var(--c-text); font-weight: 700; margin-bottom: 6px; }
.pcard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.pcard .textlink { margin-top: auto; align-self: flex-start; color: var(--ink); font-size: .96rem; }
.empty { padding: 48px 28px; border: 2px dashed var(--line); text-align: center; background: var(--white); }
.empty p { margin: 0 auto 1em; }
[hidden] { display: none !important; }

/* Pourquoi */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.why__list { list-style: none; margin: 0; padding: 0; position: relative; }
.why__list::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.why__list.is-in::before { transform: none; }
.why__list li { display: grid; grid-template-columns: minmax(180px, .6fr) 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.js .why__list li { opacity: 0; transform: translateX(-14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.js .why__list.is-in li { opacity: 1; transform: none; }
.why__list strong { font: 800 1.15rem/1.2 var(--font-display); }
.why__list span { color: var(--muted); }

/* Innovation */
.innov { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.innov__vis { aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: end; }
.innov__vis svg { width: 100%; height: 100%; }
.innov__flow { stroke-dasharray: 6 8; animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.todo { border-left: 4px solid var(--y); background: var(--white); padding: 14px 18px; font-size: .95rem; color: var(--muted); margin-top: 24px; max-width: 60ch; }

/* Appel à l'action : repère de registre géant */
.cta { background: var(--ink); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -12%; top: 50%; width: min(70vw, 720px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 46px, rgba(232,101,15,.55) 46px 48px); animation: spin 90s linear infinite; }
.cta::after { content: ""; position: absolute; right: calc(-12% + min(35vw, 360px) - 1px); top: 0; bottom: 0; width: 2px; background: rgba(232,101,15,.45); z-index: -1; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.cta__in { max-width: 700px; }
.cta h2 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); }
.cta p { color: #d4d9df; font-size: 1.18rem; }
.cta .hero__cta { margin-top: 28px; }

/* Pied de page */
.ftr { background: #0d1014; color: #d4d9df; padding: 0 0 32px; font-size: .98rem; }
.ftr .cstrip { margin-bottom: 72px; }
.ftr a { color: #d4d9df; text-decoration: none; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.ftr h3 { font-size: 1rem; color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr .logo { color: var(--white); margin-bottom: 16px; }
.ftr .logo img { height: 46px; }
.ftr address { font-style: normal; display: grid; gap: 10px; }
.ftr .social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ftr .social-link { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid #68717b; border-radius: 50%; transition: color .2s, background .2s, border-color .2s; }
.ftr .social-link:hover, .ftr .social-link:focus-visible { color: var(--ink); background: var(--white); border-color: var(--white); text-decoration: none; }
.ftr .social-link svg { display: block; width: 20px; height: 20px; }
.ftr__bar { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 24px; font-size: .9rem; }

/* Pages internes */
.phero { background: var(--ink); color: var(--white); padding: 150px 0 76px; position: relative; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 30px, var(--ink-c, var(--c)) 30px 32px); opacity: .55; z-index: -1; }
.phero > .wrap { position: relative; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 20ch; }
.phero .lead { color: #d4d9df; }
.crumbs { font-size: .93rem; color: #aab2bb; margin-bottom: 20px; }
.crumbs a { color: #e4e8ec; }
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--c); padding: 30px; }
.panel ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.prose p { max-width: 62ch; }
.vis-big { aspect-ratio: 4/3; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.vis-big .art { width: 100%; height: 100%; object-fit: cover; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.exp { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.xcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; grid-column: span 6; transition: border-color .3s; }
.xcard:hover { border-color: var(--ink); }
.xcard__vis { aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.xcard__vis .art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.xcard:hover .art { transform: scale(1.06); }
.xcard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.xcard__tag { display: flex; align-items: center; gap: 10px; font: 700 .93rem var(--font-display); color: var(--muted); margin-bottom: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.dot--c { background: var(--c); } .dot--m { background: var(--m); } .dot--y { background: var(--y); } .dot--k { background: var(--k); }
.xcard .textlink { margin-top: auto; align-self: flex-start; color: var(--c-text); }
.xcard p { color: var(--muted); }
.xcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.xcard:hover::after, .xcard:focus-visible::after { transform: scaleX(1); }

/* Formulaires */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1.5px solid #8b9099; border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px rgba(232,101,15,.3); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: .92rem; font-weight: 600; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { padding: 16px 18px; border-left: 5px solid; font-weight: 600; }
.alert--ok { background: #e4f4ea; border-color: #1b7f3b; color: #0f4d24; }
.alert--ko { background: #fbe9e7; border-color: #b3261e; color: #7a1a14; }
.alert a { color: inherit; }
.btn[disabled] { opacity: .65; cursor: progress; }
.info { display: grid; gap: 24px; }
.info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info p { margin: 0; color: var(--muted); }

/* Réalisations et actualités */
.masonry { columns: 3 280px; column-gap: 20px; }
.masonry figure { margin: 0 0 20px; break-inside: avoid; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry button { all: unset; display: block; cursor: zoom-in; width: 100%; overflow: hidden; }
.masonry button:focus-visible { outline: 3px solid var(--c); outline-offset: -3px; }
.masonry figcaption { padding: 14px 16px; font-size: .95rem; }
.lightbox { position: fixed; inset: 0; background: rgba(8,12,16,.94); z-index: 90; display: grid; place-items: center; padding: 24px; animation: fade .25s; }
.lightbox img { max-height: 84vh; max-width: 94vw; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.acard { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: border-color .3s; }
.acard time { color: var(--muted); font-size: .92rem; font-weight: 600; }
.acard:hover { border-color: var(--ink); }
.acard--img { padding: 0; overflow: hidden; gap: 0; }
.acard__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--paper); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.acard:hover .acard__img img { transform: scale(1.05); }
.acard__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; flex: 1; }
.acard:not(.acard--img) .acard__body { padding: 0; }
.acard[hidden], .masonry figure[hidden] { display: none; }
.meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.vids { display: grid; gap: 24px; margin-top: 28px; }
.vid { aspect-ratio: 16/9; background: #000; overflow: hidden; max-width: 960px; }
.vid video, .vid iframe { width: 100%; height: 100%; border: 0; display: block; }
.tagline { font-style: italic; opacity: .85; }

/* Apparition au défilement (sobre : réservée aux blocs de texte) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Mentions légales, WhatsApp */
.legal__list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1.4em; }
.legal__list dt { font-weight: 700; } .legal__list dd { margin: 0; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08); color: #fff; }
.wa svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1280px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--ink); color: var(--white); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 28px; gap: 0; max-height: calc(100svh - 76px); overflow: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .hdr.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; border: 0; padding: 16px; }
}
@media (max-width: 1020px) {
  .hero__grid, .prod2, .why, .innov, .two, .head, .xlist { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; padding-top: 108px; padding-bottom: 72px; }
  .head p { justify-self: start; }
  .sheet { margin: 0 auto; max-width: 420px; }
  .sheetwrap { padding: 20px 28px 28px 20px; }
  .xprev { display: none; }
  .innov__vis { justify-self: start; max-width: 340px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .xcard { grid-column: 1 / -1; }
  .phero::before { width: 260px; height: 260px; right: -80px; }
  .prod2__vis { aspect-ratio: 4/3; }
  .rail__ctl { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__cta .btn, .cta__in .btn { width: 100%; }
  .why__list li { grid-template-columns: 1fr; gap: 6px; }
  .step { grid-template-columns: 40px 1fr; gap: 6px 16px; }
  .step span:last-child { grid-column: 2; padding-top: 0; }
  .xrow { grid-template-columns: 64px minmax(0, 1fr); }
  .xrow__vis { width: 64px; height: 64px; }
  .xrow__go { display: none; }
  .form__row, .ftr__grid { grid-template-columns: 1fr; }
  .cat-tools { flex-direction: column; align-items: stretch; }
  .regmark { right: -14px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero__copy > :not(h1), .js .regmark, .js .why__list li { opacity: 1; transform: none; }
  .js [data-split].is-split .w > span { transform: none; }
  .js .sheet::before { transform: translate(16px, 16px); }
}


/* ===== Charte orange : le motif (chevrons et losanges) devient la signature graphique ===== */
:root { --or-top: #cc4a12; --or-band: #e8540a; --or-deep: #b03a05; --motif: url("../img/motif.svg"); }
.motif, .cstrip, .hero .cstrip, .ftr .cstrip, .phero::after, .sec--white::before, .cta::after { -webkit-mask-image: var(--motif); mask-image: var(--motif); -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; }
.cstrip { height: 30px; background: var(--c); -webkit-mask-size: auto 100%; mask-size: auto 100%; -webkit-mask-position: 0 0; mask-position: 0 0; }
/* En-tête et héros : orange de la charte, motif blanc en bas (comme sur le bracelet) */
.hdr.is-solid, .hdr.is-open { background: rgba(176, 58, 5, .96); box-shadow: 0 1px 0 rgba(255,255,255,.2); }
.hdr .logo img, .ftr .logo img { filter: none; }
.hdr .logo img { filter: brightness(0) invert(1); }
.nav a:not(.btn)::after { background: #fff; }
.prog { background: #fff; }
.hero { background: var(--or-top); }
.hero::before { background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px); }
.hero__grid { padding-bottom: 40px; }
.hero .cstrip { position: relative; display: block; height: 120px; background: #fff; -webkit-mask-size: auto 100%; mask-size: auto 100%; }
.hero .cstrip::before { content: none; }
.hero-band { background: var(--or-band); }
.hero { padding-bottom: 0; }
.hero .cstrip { margin: 24px 0 22px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 166px; background: var(--or-band); z-index: -1; }
.hero__text { color: #fff4ec; }
.hero .kicker, .phero .kicker { color: #ffe6d5; }
.hero .btn--primary, .phero .btn--primary, .cta .btn--primary { background: #fff; color: var(--cta); }
.hero .btn--primary:hover, .phero .btn--primary:hover, .cta .btn--primary:hover { background: var(--ink); color: #fff; }
.sheet::before { background: var(--or-deep); }
.hdr .btn--primary { background: #fff; color: var(--cta); }
.hdr .btn--primary:hover { background: var(--ink); color: #fff; }
.sheet__head { background: var(--c); }
.strip { border-bottom: 0; }
/* Pages internes */
.phero { background: var(--or-top); padding-bottom: 150px; }
.phero::before { content: none; }
.phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: #fff; -webkit-mask-size: auto 100%; mask-size: auto 100%; z-index: -1; }
.phero { isolation: isolate; }
.phero .lead, .crumbs { color: #fff1e6; }
.crumbs a { color: #fff; }
/* Sections : fine bande de motif orange en haut des sections blanches */
.sec--white { padding-top: calc(clamp(72px, 9vw, 136px) + 14px); }
.sec--white::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 26px; background: var(--c); -webkit-mask-size: auto 100%; mask-size: auto 100%; }
.sec--tint { background: #fdeadc; }
.step__n { background: #fff; }
/* Appel à l'action */
.cta { background: var(--or-top); padding-top: clamp(96px, 11vw, 150px); }
.cta::before { inset: 0; right: 0; left: 0; top: 0; width: auto; aspect-ratio: auto; transform: none; border-radius: 0; background: #fff; opacity: .1; -webkit-mask-image: var(--motif); mask-image: var(--motif); -webkit-mask-size: 360px 120px; mask-size: 360px 120px; -webkit-mask-repeat: repeat; mask-repeat: repeat; animation: drift 60s linear infinite; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 60px; background: #fff; z-index: -1; -webkit-mask-size: auto 100%; mask-size: auto 100%; }
@keyframes drift { to { -webkit-mask-position: 360px 0; mask-position: 360px 0; } }
.cta p { color: #fff4ec; }
/* Pied de page */
.ftr { background: var(--ink); }
.ftr .cstrip { background: var(--c); height: 34px; }
.ftr .logo img { filter: none; }
/* Cartes et accents */
.panel { border-top-color: var(--c); }
.xcard::after { height: 8px; background: var(--c); -webkit-mask-image: var(--motif); mask-image: var(--motif); -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-size: auto 480%; mask-size: auto 480%; -webkit-mask-position: 0 4px; mask-position: 0 4px; }
.xrow.is-on .xrow__go { background: var(--c); }
.chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.rail__btn:hover:not([disabled]) { background: var(--c); border-color: var(--c); }
@media (max-width: 1280px) { .nav { background: var(--or-deep); } .nav a { border-bottom-color: rgba(255,255,255,.25); } }
@media (max-width: 1020px) { .hero .cstrip { height: 84px; } .hero::after { height: 130px; } .phero { padding-bottom: 120px; } .phero::after { height: 72px; } }
@media (prefers-reduced-motion: reduce) { .cta::before { animation: none; } }

/* Comment ça fonctionne, Pour qui */
.proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: p; }
.proc li { border-top: 3px solid var(--ink); padding-top: 18px; }
.proc li:nth-child(odd) { border-top-color: var(--c); }
.proc__n { display: block; font: 850 2.6rem/1 var(--font-display); font-stretch: 108%; color: var(--c-text); margin-bottom: 14px; }
.proc h3 { margin-bottom: 8px; }
.proc p { color: var(--muted); margin: 0; }
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.who li { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--c); padding: 28px; }
.who h3 { margin-bottom: 8px; } .who p { color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .who { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .proc { grid-template-columns: 1fr; } }

/* Conversion : appel direct, contacts, barre mobile */
.hero__call { margin: 18px 0 0; color: #fff4ec; font-size: .98rem; }
.hero__call a { color: #fff; font-weight: 700; }
.xrow__more { font: 700 .9rem var(--font-display); margin-right: 8px; white-space: nowrap; }
.xrow__go { width: auto; min-width: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cta__contact { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.cta__contact a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(28,22,19,.96); backdrop-filter: blur(8px); }
  .mbar a { flex: 1; min-height: 48px; display: grid; place-items: center; font: 700 1rem var(--font-display); text-decoration: none; border-radius: 2px; }
  .mbar__devis { background: #fff; color: var(--cta); }
  .mbar__tel { background: transparent; color: #fff; border: 2px solid #fff; max-width: 38%; }
  body { padding-bottom: 72px; }
  .wa { bottom: 84px; }
  .xrow__more, .xrow__go { display: none; }
}

/* ===== Hero média (vidéo d'impression ou affiche) ===== */
.hero { background: var(--or-deep); display: flex; flex-direction: column; min-height: min(100svh, 940px); }
.hero__grid { grid-template-columns: minmax(0, 760px); min-height: 0; flex: 1; align-content: center; padding-top: 128px; padding-bottom: 32px; }
.hv { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--or-deep); }
.hv picture, .hv__poster, .hv__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv__poster, .hv__video { object-fit: cover; }
.hv__poster { object-position: 72% 50%; transform-origin: 72% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
.hv__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hv.is-playing .hv__video { opacity: 1; }
.hv.is-paused .hv__poster { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1%, -.6%, 0); } }
.hv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,12,0,.92) 0%, rgba(96,24,0,.74) 38%, rgba(150,44,4,.28) 72%, rgba(150,44,4,.1) 100%), linear-gradient(0deg, rgba(48,12,0,.45), transparent 35%); }
.hero__cta .btn--ghost { color: #fff; }
.js .hero__copy > .hero__call { transition-delay: .95s; }
.hero__scroll { position: absolute; left: 50%; bottom: 190px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.85); border-radius: 16px; z-index: 2; opacity: .9; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.9s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hv__toggle { position: absolute; right: clamp(16px, 3vw, 40px); bottom: 190px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: rgba(48,12,0,.45); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.hv__toggle:hover { background: rgba(48,12,0,.8); }
.hv__toggle svg { width: 20px; height: 20px; }
.hv__toggle .i-play, .hv__toggle[aria-pressed="true"] .i-pause { display: none; }
.hv__toggle[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 1020px) { .hero__scroll, .hv__toggle { bottom: 150px; } .hero__grid { padding-top: 112px; } }
@media (max-width: 760px) {
  .hero { min-height: min(100svh, 760px); }
  .hv__poster { object-position: 50% 0%; }
  .hv::after { background: linear-gradient(0deg, rgba(48,12,0,.94) 0%, rgba(96,24,0,.78) 52%, rgba(150,44,4,.4) 100%); }
  .hero__scroll { display: none; }
  .hv__toggle { bottom: 140px; right: 12px; width: 44px; height: 44px; }
}
@media (max-height: 700px) { .hero__scroll { display: none; } }

/* ===== Bandeaux photo des pages intérieures ===== */
.phero { min-height: clamp(300px, 34vw, 440px); }
.phero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.08); mix-blend-mode: multiply; opacity: .6; animation: phzoom 20s ease-out both; }
@keyframes phzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.phero--img::before { content: ""; display: block; position: absolute; inset: 0; right: 0; top: 0; width: auto; height: auto; transform: none; border-radius: 0; background: linear-gradient(90deg, rgba(100,24,0,.9) 0%, rgba(176,58,5,.6) 48%, rgba(176,58,5,.12) 100%); opacity: 1; z-index: -1; }
.phero h1 { text-shadow: 0 2px 24px rgba(60,14,0,.35); }
@media (max-width: 760px) { .phero { min-height: 300px; } .phero--img::before { background: linear-gradient(0deg, rgba(100,24,0,.92), rgba(176,58,5,.55)); } .phero__bg img { opacity: .5; } }

/* ===== Cartes, boutons, focus ===== */
.pcard, .xcard, .acard, .masonry figure { transition: border-color .3s, box-shadow .35s var(--ease), translate .35s var(--ease); }
.pcard:hover, .pcard:focus-visible, .xcard:hover, .xcard:focus-visible, .acard:hover, .acard:focus-visible { translate: 0 -5px; box-shadow: 0 24px 40px -28px rgba(60,14,0,.6); }
.masonry figure:hover { box-shadow: 0 20px 34px -26px rgba(60,14,0,.55); }
@media (hover: hover) {
  .pcard .textlink svg, .xcard .textlink svg, .acard .textlink svg { opacity: 0; translate: -8px 0; transition: opacity .3s, translate .35s var(--ease); }
  .pcard:hover .textlink svg, .pcard:focus-visible .textlink svg, .xcard:hover .textlink svg, .xcard:focus-visible .textlink svg, .acard:hover .textlink svg, .acard:focus-visible .textlink svg { opacity: 1; translate: 0 0; }
}
.btn { transition: background .25s, color .25s, border-color .25s, translate .25s var(--ease), box-shadow .25s; }
.btn:hover:not([disabled]):not([aria-disabled="true"]) { translate: 0 -2px; box-shadow: 0 12px 22px -14px rgba(0,0,0,.6); }
.btn:active:not([disabled]) { translate: 0 1px; box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.hero :focus-visible, .phero :focus-visible, .cta :focus-visible, .hdr :focus-visible, .ftr :focus-visible, .mbar :focus-visible { outline-color: #fff; }
.is-filtered { animation: pop .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 50ms); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.lightbox button { z-index: 2; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; margin-top: -24px; font-size: 1.7rem; line-height: 1; }
.lightbox .lb-prev { left: 16px; right: auto; } .lightbox .lb-next { right: 16px; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ===== Transitions douces entre les pages (navigateurs compatibles) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; animation-timing-function: ease; }
.hdr { view-transition-name: hdr; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hv__poster, .phero__bg img, .hero__scroll span { animation: none !important; }
  .is-filtered { animation: none; }
  .pcard:hover, .xcard:hover, .acard:hover, .btn:hover { translate: none; }
}
.phero--img::before { background: linear-gradient(180deg, rgba(80,18,0,.55) 0, transparent 140px), linear-gradient(90deg, rgba(100,24,0,.92) 0%, rgba(160,50,4,.78) 55%, rgba(176,58,5,.5) 100%); }
.phero__bg img { opacity: .45; }
.hero__scroll { left: auto; right: 48%; margin: 0; }

/* ===== Direction et équipe ===== */
.pdg { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.pdg__ph, .pf__ph { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--or-band); display: grid; place-items: center; }
.pdg__ph::before, .pf__ph::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .16; -webkit-mask: var(--motif) center/90px repeat; mask: var(--motif) center/90px repeat; }
.pdg__ph img, .pf__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf__ini { position: relative; font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: #fff; letter-spacing: .02em; }
.pdg__q { margin: 1em 0; padding-left: 20px; border-left: 4px solid var(--c); font-size: 1.25rem; font-weight: 600; }
.pfs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.pf h3 { margin: 14px 0 2px; font-size: 1.1rem; }
.pf__role { margin: 0 0 6px; color: var(--c-text); font-weight: 600; }
.pf p { margin: .3em 0; }
@media (max-width: 1020px) { .pfs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pdg { grid-template-columns: 1fr; } .pdg__ph { max-width: 320px; } }
@media (max-width: 420px) { .pfs { grid-template-columns: 1fr; } }

/* ===== Chiffres clés, partenaires, locaux ===== */
.stats { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; position: relative; }
.stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; text-align: center; }
.stats__n { display: block; font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: #ff9a62; font-variant-numeric: tabular-nums; }
.stats__l { display: block; margin-top: 10px; font-weight: 600; }
.stats__ex { margin: 22px auto 0; text-align: center; font-size: .85rem; opacity: .8; }
.ptns { padding: clamp(36px, 5vw, 60px) 0; background: #fff; }
.ptns__t { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 22px; color: var(--c-text); }
.ptns .stats__ex { color: var(--ink); }
.ptn { display: inline-flex; align-items: center; padding: 0 40px; font-weight: 700; font-size: 1.15rem; white-space: nowrap; color: var(--ink); }
.ptn img { height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; } .ptn:hover img { filter: none; opacity: 1; }
.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.site__ph { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--or-band); }
.site__ph::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .16; -webkit-mask: var(--motif) center/90px repeat; mask: var(--motif) center/90px repeat; }
.site__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; counter-reset: none; }
.deps li { border: 1px solid #d9d2c8; padding: 22px; background: #fff; transition: translate .3s var(--ease), box-shadow .3s; }
.deps li:hover { translate: 0 -4px; box-shadow: 0 18px 32px -24px rgba(60,14,0,.5); }
.deps h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.ptns { overflow: hidden; } .ptns:hover .strip__track { animation-play-state: paused; } @media (prefers-reduced-motion: reduce) { .ptns .strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ptns .strip__set[aria-hidden] { display: none; } }

/* ===== Clients, personnalisation, fabriqué localement ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ptns__row { overflow: hidden; margin-top: 12px; }
.ptns__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ptns__track--r { animation-direction: reverse; animation-duration: 80s; }
.ptns__set { display: flex; flex: none; }
.ptns__set img { height: 80px; width: auto; max-width: none; flex: none; }
.ptns:hover .ptns__track { animation-play-state: paused; }
.made { width: min(100%, 320px); height: auto; margin-bottom: 18px; }
.tech { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tech__i { border: 1px solid #d9d2c8; padding: 24px; background: #fff; border-top: 4px solid var(--c); }
.tech__i h3 { margin: 0 0 8px; }
.tech__p { font-size: .92rem; margin-top: 12px; } .tech__p a { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ptns__track { animation: none; } .ptns__row { overflow-x: auto; } }

/* ===== Animations renforcées (charte orange) ===== */
.head h2 { position: relative; padding-bottom: 14px; }
.head h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c); transition: width .9s var(--ease) .25s; }
.head.is-in h2::after, html:not(.js) .head h2::after { width: 72px; }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); pointer-events: none; }
.btn--primary:hover::after { left: 130%; }
.pcard, .xcard, .acard, .deps li, .tech__i, .pf { position: relative; }
.pcard::after, .xcard::after, .acard::after, .deps li::after, .tech__i::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(232,84,10,.14), transparent 65%); }
.pcard:hover::after, .xcard:hover::after, .acard:hover::after, .deps li:hover::after, .tech__i:hover::after { opacity: 1; }
.js .masonry figure.rv:not(.in) img, .js .site.rv:not(.in) img, .js .pf.rv:not(.in) img { transform: scale(1.22); }
.masonry figure img, .site__ph img, .pf__ph img, .pdg__ph img { transition: transform 1.3s var(--ease); }
.masonry figure:hover img { transform: scale(1.06); }
.pcard__img img, .pcard img { transition: transform .8s var(--ease); } .pcard:hover img { transform: scale(1.06); }
.stats__n.is-done { animation: glow 1.1s ease-out; }
@keyframes glow { 0% { text-shadow: 0 0 0 rgba(255,154,98,0); } 40% { text-shadow: 0 0 28px rgba(255,154,98,.9); } 100% { text-shadow: 0 0 0 rgba(255,154,98,0); } }
.totop { position: fixed; right: 18px; bottom: 90px; z-index: 40; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--cta); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(60,14,0,.7); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .3s, translate .35s var(--ease), background .25s; }
.totop.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:hover { background: var(--or-deep); }
.totop svg { width: 20px; height: 20px; rotate: -90deg; }
@media (min-width: 761px) { .totop { bottom: 28px; } }
@media (prefers-reduced-motion: no-preference) {
  .js body::before { content: ""; position: fixed; inset: 0; z-index: 9999; background: linear-gradient(135deg, var(--or-deep), var(--or-band)); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.76,0,.24,1) .05s; pointer-events: none; }
  .js.is-ready body::before { transform: scaleY(0); }
  .hero__grid::after { content: ""; position: absolute; right: 6%; top: 18%; width: 180px; height: 180px; border: 3px solid rgba(255,255,255,.28); transform: rotate(45deg); animation: floaty 9s ease-in-out infinite; pointer-events: none; }
  .hero__grid::before { content: ""; position: absolute; right: 12%; top: 26%; width: 90px; height: 90px; border: 3px solid rgba(255,255,255,.2); transform: rotate(45deg); animation: floaty 7s ease-in-out -2s infinite; pointer-events: none; }
  .hero__grid { position: relative; }
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
@media (max-width: 760px) { .hero__grid::after, .hero__grid::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .head h2::after { width: 72px; transition: none; } .totop { transition: none; } .btn--primary::after { display: none; } .stats__n.is-done { animation: none; } }
@media (prefers-reduced-motion: no-preference) { .hero__grid::after { right: 2%; top: 14%; width: 110px; height: 110px; } .hero__grid::before { right: 5%; top: 19%; width: 54px; height: 54px; } }

/* ===== WhatsApp ===== */
.wa { overflow: visible; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55; animation: wapulse 2.4s ease-out infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa__tip { position: absolute; right: 68px; top: 50%; translate: 8px -50%; white-space: nowrap; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease); }
.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; translate: 0 -50%; }
.btn--wa::before { content: ""; width: 18px; height: 18px; margin-right: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5.1-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.2 1.1-1.7 1.2-.5.1-1 .1-3.3-.8-2.800-1.100-4.600-4-4.700-4.200-.1-.2-1.100-1.500-1.100-2.800s.7-2 1-2.200c.2-.3.5-.3.700-.3h.5c.2 0 .4 0 .600.500l.900 2.100c.1.200 0 .400-.1.600l-.4.500c-.2.200-.3.300-.1.600.4.700 1.200 1.600 2.300 2.100.3.2.5.1.7-.1l.7-.9c.2-.2.400-.2.600-.1l2 .9c.3.100.5.200.5.300.1.200.1.800-.1 1.400Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5.1-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.2 1.1-1.7 1.2-.5.1-1 .1-3.3-.8-2.800-1.100-4.600-4-4.700-4.200-.1-.2-1.100-1.500-1.100-2.800s.7-2 1-2.200c.2-.3.5-.3.700-.3h.5c.2 0 .4 0 .600.500l.900 2.100c.1.200 0 .400-.1.600l-.4.500c-.2.200-.3.300-.1.600.4.700 1.200 1.600 2.300 2.100.3.2.5.1.7-.1l.7-.9c.2-.2.400-.2.600-.1l2 .9c.3.100.5.200.5.300.1.200.1.800-.1 1.400Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn { display: inline-flex; align-items: center; }
.btn--wa-solid { background: #1f9d55; color: #fff; display: inline-flex; padding: 12px 20px; font-weight: 700; } .btn--wa-solid:hover { background: #17824a; color: #fff; }
@media (prefers-reduced-motion: reduce) { .wa::before { animation: none; } }

/* ===== FAQ, secteurs, tableaux, listes ===== */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__i { border: 1px solid #d9d2c8; background: #fff; border-left: 4px solid var(--c); }
.faq__i summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--c-text); transition: rotate .3s var(--ease); }
.faq__i[open] summary::after { rotate: 45deg; }
.faq__i p { margin: 0; padding: 0 20px 20px; }
.sect { padding: 28px 0; border-bottom: 1px solid #d9d2c8; max-width: 860px; }
.sect h2 { font-size: 1.7rem; margin: 0 0 8px; }
.sect__l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #d9d2c8; vertical-align: top; }
.tbl thead th { background: var(--ink); color: #fff; }
.tbl tbody th { font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--c); transform: rotate(45deg) scale(.8); }
.ftr__grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 1100px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } .tbl th, .tbl td { padding: 10px; } }

/* ===== Sélecteur de langue ===== */
.nav .lang { font-weight: 800; letter-spacing: .06em; border: 2px solid currentColor; border-radius: 999px; padding: 4px 11px; font-size: .82rem; align-self: center; transition: background .25s, color .25s; }
.nav .lang:hover { background: #fff; color: var(--or-deep); }

/* ===== Emplacements « À compléter » ===== */
.ph { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 2px dashed var(--c); background: var(--kraft); color: var(--ink); border-radius: var(--radius); font-size: .95rem; line-height: 1.5; }
.ph strong { color: var(--c-text); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.vslot { margin: 0; }
.vslot video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--ink); border-radius: var(--radius); }
.vslot figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.vslot--empty { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; border: 2px dashed var(--c); background: var(--kraft); }
.vslot--empty strong { color: var(--c-text); text-transform: uppercase; letter-spacing: .08em; }
.vslot--empty code { font-size: .85em; background: #fff; padding: 1px 6px; }
.vslot__ico { width: 0; height: 0; border-left: 22px solid var(--c); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

/* ===== Cartes départements (accueil) ===== */
.dcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.dcard:hover, .dcard:focus-visible { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 14px 30px rgba(28, 22, 19, .12); }
.dcard__vis { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.dcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.dcard__body h3 { margin: 0; font-size: 1.25rem; }
.dcard__body p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
@media (max-width: 1080px) { .dcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dcards { grid-template-columns: 1fr; } }

/* ===== Accès rapides ===== */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick__i { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--ink); color: #fff; text-decoration: none; border-bottom: 4px solid var(--c); transition: transform .3s var(--ease), background .3s; }
.quick__i:hover, .quick__i:focus-visible { background: var(--ink-2); transform: translateY(-3px); }
.quick__i strong { font-size: 1.15rem; }
.quick__i span { color: rgba(255, 255, 255, .8); font-size: .95rem; flex: 1; }
@media (max-width: 960px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; } }

/* ===== Équipe d'un département ===== */
.tms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tm { text-align: center; }
.tm__ph { aspect-ratio: 4/5; background: var(--kraft); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 4px solid var(--c); font-weight: 800; font-size: 2rem; color: var(--c-text); }
.tm__ph img { width: 100%; height: 100%; object-fit: cover; }
.tm--empty .tm__ph { border: 2px dashed var(--c); border-bottom-width: 2px; }
.tm--empty .tm__ph span { width: 48px; height: 48px; border-radius: 50%; background: var(--c); opacity: .35; }
.tm h3 { margin: 12px 0 2px; font-size: 1.05rem; }
.tm p { margin: 0; color: var(--muted); font-size: .92rem; }
.tm small { color: var(--c-text); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
@media (max-width: 900px) { .tms { grid-template-columns: repeat(2, 1fr); } }

/* ===== Fiches produit Made in Sénégal ===== */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 24px; }
.fact { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); padding: 14px 16px; }
.sec--white .fact { background: var(--paper); }
.fact dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text); font-weight: 800; }
.fact dd { margin: 4px 0 0; font-size: 1.1rem; font-weight: 700; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.made { width: 100%; height: auto; display: block; }
.dcont { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Bande défilante des partenaires confirmés ===== */
.marq { overflow: hidden; padding: 12px 0; }
.marq__t { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marq:hover .marq__t, .marq:focus-within .marq__t { animation-play-state: paused; }
.marq__t li { flex: none; }
.marq__t img { height: 64px; width: auto; display: block; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.marq__t a:hover img, .marq__t a:focus-visible img, .marq__t span:hover img { filter: none; opacity: 1; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq { overflow-x: auto; } .marq__t { animation: none; } }

/* ===== Animations supplémentaires (mouvement réduit : désactivées) ===== */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-block: 4px solid var(--c); }
.ticker__t { display: flex; width: max-content; margin: 0; padding: 14px 0; list-style: none; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__t, .ticker:focus-within .ticker__t { animation-play-state: paused; }
.ticker__t li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 2.2vw, 1.5rem); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ticker__t li::after { content: ""; width: 12px; height: 12px; background: var(--c); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .hdr { transition: background .3s, box-shadow .3s, transform .45s var(--ease); }
  .hdr.is-hidden { transform: translateY(-100%); }
  .js .rv[data-rv="left"] { transform: translateX(-48px); }
  .js .rv[data-rv="right"] { transform: translateX(48px); }
  .js .rv[data-rv].in { transform: none; }
  .js .wipe { position: relative; overflow: hidden; }
  .js .wipe::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(135deg, var(--or-deep), var(--c)); transform-origin: 100% 50%; transition: transform 1s cubic-bezier(.77, 0, .18, 1) .15s; pointer-events: none; }
  .js .wipe.in::after { transform: scaleX(0); }
  .js .wipe > img, .js .wipe > svg { transition: transform 1.4s var(--ease) .2s; }
  .js .wipe:not(.in) > img { transform: scale(1.18); }
  .dcard.is-tilt, .quick__i.is-tilt, .pcard.is-tilt, .xcard.is-tilt, .acard.is-tilt { transform: perspective(900px) translateY(-4px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .15s ease-out, border-color .3s, box-shadow .3s; will-change: transform; }
  .dcard__vis img, .dcard__vis svg { transition: transform .9s var(--ease); }
  .dcard:hover .dcard__vis > *, .dcard:focus-visible .dcard__vis > * { transform: scale(1.08); }
  .dcard::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c); transition: width .5s var(--ease); z-index: 2; }
  .dcard { position: relative; } .dcard:hover::before, .dcard:focus-visible::before { width: 100%; }
  .quick__i::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
  .quick__i { position: relative; overflow: hidden; } .quick__i:hover::after { transform: scaleX(1); }
  .quick__i svg, .textlink svg, .btn svg { transition: transform .35s var(--ease); }
  .quick__i:hover svg, .textlink:hover svg, .btn:hover svg { transform: translateX(6px); }
  .nav a:not(.btn):not(.lang) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
  .nav a:not(.btn):not(.lang):hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
  .tm__ph { transition: border-color .3s; } .tm:hover .tm__ph img { transform: scale(1.06); } .tm__ph img { transition: transform .8s var(--ease); }
  .fact { transition: transform .35s var(--ease), box-shadow .35s; } .fact:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(28,22,19,.1); }
  .phero__bg img { will-change: transform; transform: translate3d(0, var(--py, 0), 0) scale(1.12); }
  .motif-band, .band { background-position: calc(var(--prog, 0) * 1400px) 0; }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .ticker__t { animation: none; flex-wrap: wrap; width: auto; } .ticker__t li:nth-child(n+6) { display: none; } .ripple { display: none; } }


/* ===== Pack d'animations v3 ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Entrée en ressort avec flou qui se dissipe */
  .js .rv { filter: blur(6px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1), filter .9s ease; }
  .js .rv.in { filter: none; }
  .js .pop3 { opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .7s var(--ease), transform .9s cubic-bezier(.34,1.56,.64,1); }
  .js .pop3.in { opacity: 1; transform: none; }

  /* Bandeau d'accueil : formes géométriques flottantes, profondeur à la souris */
  .hero { --mx: 0; --my: 0; }
  .hero__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
  .hero__fx i { position: absolute; width: calc(46px + var(--n) * 22px); aspect-ratio: 1; border: 2px solid rgba(255,255,255,.2); transform: rotate(45deg); z-index: 0; left: calc(54% + var(--n) * 9%); top: calc(6% + var(--n) * 17%); translate: calc(var(--mx) * var(--d) * -60px) calc(var(--my) * var(--d) * -60px); animation: fx3 calc(7s + var(--n) * 2s) ease-in-out infinite alternate; transition: translate .6s var(--ease); }
  .hero__fx i:nth-child(even) { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
  @keyframes fx3 { from { rotate: 0deg; scale: 1; } to { rotate: 24deg; scale: 1.18; } }
  .hero__media img { scale: 1.12; animation: heroIn 2.6s var(--ease) forwards; }
  @keyframes heroIn { to { scale: 1; } }

  /* Reflet qui balaie les cartes et les boutons */
  .pcard, .dcard, .quick__i, .xcard, .acard { position: relative; overflow: hidden; }
  .pcard::after, .dcard::after, .quick__i::after, .xcard::after, .acard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.34) 50%, transparent 62%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; z-index: 4; }
  .pcard:hover::after, .dcard:hover::after, .quick__i:hover::after, .xcard:hover::after, .acard:hover::after { transform: translateX(120%); }
  .pcard__vis img, .dcard__vis > *, .xcard__vis > * { transition: transform 1.1s var(--ease); }
  .pcard:hover .pcard__vis img, .dcard:hover .dcard__vis > *, .xcard:hover .xcard__vis > * { transform: scale(1.08); }
  .btn { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s, color .25s, box-shadow .35s; }
  .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(176,58,5,.55); }
  .btn:active { transform: translateY(0) scale(.97); }
  .btn svg { transition: transform .35s var(--ease); } .btn:hover svg { transform: translateX(5px); }

  /* Navigation : soulignement qui se dessine */
  .nav a:not(.btn):not(.lang) { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 4px; }
  .nav a:not(.btn):not(.lang):hover, .nav a[aria-current="page"] { background-size: 100% 2px; }

  /* Titres de section : étiquette dont le trait s'allonge */
  .kicker::before { transform-origin: left; transition: transform .9s var(--ease) .15s; }
  .js .head:not(.is-in) .kicker::before, .js .kicker.rv:not(.in)::before { transform: scaleX(0); }

  /* Curseur */
  .cur { position: fixed; left: -18px; top: -18px; width: 36px; height: 36px; border: 2px solid var(--c); border-radius: 50%; pointer-events: none; z-index: 100; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; mix-blend-mode: normal; }
  .cur.is-on { opacity: .9; }
  .cur.is-link { width: 62px; height: 62px; margin: -13px 0 0 -13px; background: rgba(232,84,10,.14); }
  .cur.is-media { width: 74px; height: 74px; margin: -19px 0 0 -19px; background: rgba(232,84,10,.2); }
  @media (hover: none), (pointer: coarse) { .cur { display: none; } }
}
@media (prefers-reduced-motion: reduce) { .cur, .hero__fx { display: none; } }

/* ===== Qui sommes-nous / Made in Sénégal / départements (v4) ===== */
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo__c { position: relative; background: var(--paper, #fbf8f3); border: 1px solid var(--line); border-top: 5px solid var(--c); padding: 34px 32px 30px; }
.duo__c h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.duo__c p { margin: 0 0 1em; line-height: 1.7; }
.duo__n { position: absolute; top: 14px; right: 20px; font-size: 3.2rem; font-weight: 800; color: var(--c); opacity: .18; line-height: 1; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* visuel d'accueil : plus d'espace vide */
#presentation .wrap.two { align-items: stretch; }
#presentation .prose p { margin-bottom: 1em; }
.vis-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.vis-duo img { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid var(--line); background: #fff; aspect-ratio: 5/4; }
.vis-duo__main { grid-column: 1 / -1; aspect-ratio: 3/2 !important; }
.sec + .sec { padding-top: clamp(36px, 5vw, 64px); }

/* départements : l'imprimerie industrielle en tête, cartes clairement cliquables */
@media (min-width: 1081px) { .dcards { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.dcard--lead .dcard__vis { aspect-ratio: 4/3; }
.dcard--lead .dcard__body h3 { font-size: 1.6rem; }
.dcard__vis { position: relative; }
.dcard__badge { position: absolute; left: 12px; top: 12px; background: var(--c); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.dcard { cursor: pointer; }
.dcard__go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 16px; border: 2px solid var(--ink); font-weight: 700; font-size: .92rem; transition: background .25s, color .25s, border-color .25s, gap .25s; }
.dcard__go svg { width: 16px; height: 16px; }
.dcard:hover, .dcard:focus-visible { background: var(--c); border-color: var(--c); }
.dcard:hover h3, .dcard:focus-visible h3, .dcard:hover p, .dcard:focus-visible p { color: #fff; }
.dcard:hover .dcard__go, .dcard:focus-visible .dcard__go { background: #fff; color: var(--c-text, var(--c)); border-color: #fff; gap: 14px; }
.dcard h3, .dcard p { transition: color .25s; }
.xcard:hover .xcard__body, .xcard:focus-visible .xcard__body { background: var(--c); }
.xcard:hover .xcard__body h3, .xcard:hover .xcard__body p, .xcard:hover .xcard__tag, .xcard:hover .textlink { color: #fff; }
.xcard__body { transition: background .25s; }

/* tableau formats + carrousel */
.tbl--fmt { max-width: 440px; margin: 8px 0 18px; }
.tbl--fmt th, .tbl--fmt td { padding: 10px 14px; }
.slider { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__s { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4/3; background: #fff; }
.slider__s img { width: 100%; height: 100%; object-fit: contain; display: block; }
.slider__b { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; background: var(--ink); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s; }
.slider__b:hover, .slider__b:focus-visible { background: var(--c); }
.slider__b--p { left: 0; } .slider__b--n { right: 0; }
.slider__d { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.slider__d button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; padding: 0; cursor: pointer; }
.slider__d button[aria-selected="true"] { background: var(--c); border-color: var(--c); }
@media (min-width: 861px) { #presentation .vis-duo { height: 100%; grid-template-rows: 1.5fr 1fr; } #presentation .vis-duo img { aspect-ratio: auto !important; } }

/* À propos : métier et engagement superposés, même taille que l'ancien « Qui sommes-nous ? » */
.prose--stack { display: flex; flex-direction: column; gap: 34px; }
.apb h2 { margin: 0 0 14px; }
.apb p { font-size: 1.15rem; line-height: 1.65; margin: 0 0 1em; }
.apb + .apb { padding-top: 30px; border-top: 1px solid var(--line); }
/* départements : cartes symétriques */
@media (min-width: 1081px) { .dcards { grid-template-columns: repeat(4, 1fr); } }
.dcards { align-items: stretch; }
.dcard--lead .dcard__vis { aspect-ratio: 16/10; }
.dcard--lead .dcard__body h3 { font-size: 1.25rem; }
.dcard__body { min-height: 190px; }
.dcard__go { margin-top: auto; }

/* PDG : photo détourée sur fond blanc, titre et parcours */
.pdg__ph { background: var(--c); border: 8px solid var(--c); box-shadow: 0 0 0 2px var(--c-soft), 0 12px 30px rgba(28, 22, 19, .14); }
.pdg__ph::before, .pdg__ph::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; z-index: 2; background: var(--white); -webkit-mask: var(--motif) center/30px 10px repeat-x; mask: var(--motif) center/30px 10px repeat-x; pointer-events: none; }
.pdg__ph::before { top: 0; }
.pdg__ph::after { bottom: 0; }
.pdg__ph img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; object-position: center; transform: scale(1.1); transform-origin: center 15%; }
.pdg__ph { align-self: start; }
.pdg__txt { display: flex; flex-direction: column; min-width: 0; }
.pdg__story { margin-top: auto; }
.pdg__teaser { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.7; }
.pdg__more summary { display: inline-flex; cursor: pointer; list-style: none; padding: 7px 12px; border: 1px solid var(--c); color: var(--c-text); font-weight: 700; }
.pdg__more summary::-webkit-details-marker { display: none; }
.pdg__more summary span:last-child, .pdg__more[open] summary span:first-child { display: none; }
.pdg__more[open] summary span:last-child { display: inline; }
.pdg__more .prose { margin-top: 14px; }
.pdg__sub { margin: -4px 0 18px; font-size: 1.2rem; font-weight: 700; color: var(--c-text, var(--c)); }
.pdg__txt .prose p { font-size: 1.05rem; line-height: 1.7; }

/* Carte de localisation */
.map { padding-block: clamp(40px, 6vw, 80px); }
.map__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(60,20,0,.10); }
.map__info { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.map__info h2, .map__info p { margin: 0; }
.map__info p { line-height: 1.6; }
.map__info .btn { align-self: flex-start; margin-top: 6px; }
.map__frame { position: relative; min-height: 380px; background: #f1e9e0; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .map__box { grid-template-columns: 1fr; }
  .map__frame { min-height: 320px; }
}
