/* ==========================================================
   COMN’PRINT — Variante « Quadri »
   Blanc papier, 4 encres CMJN, repérage décalé qui se recale, trames de points
   ========================================================== */
@property --dot { syntax: '<length>'; inherits: false; initial-value: 0px; }

:root {
  --paper: #F7F7F2;
  --white: #FFFFFF;
  --k: #000000;
  --k-2: #1A1A1A;
  --c: #00AEEF;
  --m: #EC008C;
  --y: #FFF100;
  --grey: #888780;
  --grey-d: #444441;
  --line: rgba(0, 0, 0, .12);
  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --snap: cubic-bezier(.3, 1.5, .4, 1);
  --mx: 0; --my: 0; --sy: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; color: var(--k); background: var(--paper); overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.1; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--m); outline-offset: 3px; }

/* Encres */
.ink-c { --ink: var(--c); --on: #003B52; }
.ink-m { --ink: var(--m); --on: #FFFFFF; }
.ink-y { --ink: var(--y); --on: #3A3600; }
.ink-k { --ink: var(--k); --on: #FFFFFF; }

/* Titres « mal repérés » */
.mis { position: relative; display: inline-block; color: var(--k); text-shadow: 4px 0 0 var(--c), -4px 0 0 var(--m); transition: text-shadow .6s var(--snap); }
.mis:hover, .rv.in .mis, .mis.in { text-shadow: 2px 0 0 var(--c), -2px 0 0 var(--m); }
section:hover .mis { text-shadow: 5px 2px 0 var(--c), -5px -2px 0 var(--m); }

/* Repères et barre colorimétrique */
.regmark { position: absolute; width: 28px; height: 28px; border: 1.5px solid var(--k); border-radius: 50%; opacity: .5; }
.regmark::before, .regmark::after { content: ''; position: absolute; background: var(--k); }
.regmark::before { left: 50%; top: -8px; bottom: -8px; width: 1.5px; transform: translateX(-50%); }
.regmark::after { top: 50%; left: -8px; right: -8px; height: 1.5px; transform: translateY(-50%); }
.regmark.tl { left: var(--gutter); top: 6.5rem; }
.regmark.tr { right: var(--gutter); top: 6.5rem; }
.colorbar { display: flex; height: 14px; }
.colorbar i { flex: 1; background: var(--k); }
.colorbar i:nth-child(4n+1) { background: var(--c); }
.colorbar i:nth-child(4n+2) { background: var(--m); }
.colorbar i:nth-child(4n+3) { background: var(--y); }
.colorbar i:nth-child(8n+5) { background: color-mix(in srgb, var(--c), var(--white) 50%); }
.colorbar i:nth-child(8n+6) { background: color-mix(in srgb, var(--m), var(--white) 50%); }
.colorbar i:nth-child(8n+7) { background: color-mix(in srgb, var(--y), var(--white) 40%); }
.colorbar i:nth-child(8n+8) { background: var(--grey); }

/* ---------- Boutons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em; font-weight: 500; font-size: .95rem; border: 2px solid var(--k); border-radius: 999px; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--m); clip-path: circle(0 at 50% 50%); transition: clip-path .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(75% at 50% 50%); }
.btn-k { background: var(--k); color: var(--white); }
.btn-k:hover { color: var(--white); border-color: var(--m); }
.btn-line { background: transparent; color: var(--k); }
.btn-line::before { background: var(--y); }
.btn-line:hover { color: var(--k); border-color: var(--y); }
.pourquoi .btn-line, .actus .btn-line { color: var(--white); border-color: var(--white); }
.pourquoi .btn-line:hover, .actus .btn-line:hover { color: var(--k); }
.link { font-weight: 500; position: relative; padding-bottom: .15em; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink, var(--m)); transition: height .3s var(--ease); z-index: -1; }
.link:hover::after { height: 100%; }
.link:hover { color: var(--on, var(--white)); }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 0 50%, var(--y) 0 75%, var(--k) 0); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 4px 0 auto 0; z-index: 50; display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 1.1rem var(--gutter); color: var(--k); transition: background .4s, padding .4s, box-shadow .4s; }
.nav.scrolled { background: rgba(247, 247, 242, .92); backdrop-filter: blur(10px); padding-block: .7rem; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; }
.cmyk { display: inline-flex; gap: 3px; }
.cmyk i { width: 9px; height: 9px; display: block; background: var(--k); transition: transform .4s var(--ease); }
.cmyk i:nth-child(1) { background: var(--c); }
.cmyk i:nth-child(2) { background: var(--m); }
.cmyk i:nth-child(3) { background: var(--y); }
.brand:hover .cmyk i { transform: translateY(-3px); }
.brand:hover .cmyk i:nth-child(2) { transition-delay: .05s; }
.brand:hover .cmyk i:nth-child(3) { transition-delay: .1s; }
.brand:hover .cmyk i:nth-child(4) { transition-delay: .15s; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav-links a { position: relative; padding: .3rem 0; color: var(--grey-d); transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--c) 0 33%, var(--m) 0 66%, var(--y) 0); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--k); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .7em 1.2em; font-size: .88rem; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; align-items: center; justify-content: center; }
.burger .ic { width: 28px; height: 28px; }
.burger .ic-close, .menu-open .burger .ic-menu { display: none; }
.menu-open .burger .ic-close { display: block; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--y); color: var(--k); display: grid; place-items: center; clip-path: circle(0 at calc(100% - 3rem) 3rem); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; }
.menu nav { display: grid; gap: .4rem; text-align: center; }
.menu a { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.1; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms + .25s); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu .menu-cta { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-top: 1.5rem; padding: .9em 1.6em; background: var(--k); color: var(--white); border-radius: 999px; justify-self: center; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; background: radial-gradient(circle, rgba(0, 0, 0, .07) 1px, transparent 1.6px) 0 0 / 12px 12px, var(--paper); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; width: min(var(--wrap), 100% - 2 * var(--gutter)); }
.hero-tag { font-weight: 500; letter-spacing: .04em; font-size: .95rem; margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: .6rem; }
.hero-tag::before { content: ''; width: 2.4rem; height: 10px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 0 50%, var(--y) 0 75%, var(--k) 0); }
.reg { position: relative; font-size: clamp(2.8rem, 1.3rem + 4.4vw, 5.6rem); line-height: .96; max-width: 14ch; }
.reg .l { display: block; }
.reg .k { position: relative; z-index: 4; color: var(--k); }
.reg .c, .reg .m, .reg .y { position: absolute; inset: 0; mix-blend-mode: multiply; transition: transform 1.3s var(--snap); }
.reg .c { color: var(--c); transform: translate(calc(-.9em + var(--mx) * .1em), calc(-.5em + var(--my) * .08em)); }
.reg .m { color: var(--m); transform: translate(calc(.9em + var(--mx) * -.1em), calc(.5em + var(--my) * -.08em)); }
.reg .y { color: var(--y); transform: translate(calc(-.4em + var(--mx) * .06em), calc(.9em + var(--my) * .1em)); }
.loaded .reg .c { transform: translate(calc(-.045em + var(--mx) * .06em + var(--sy) * -.01px), calc(-.03em + var(--my) * .04em)); }
.loaded .reg .m { transform: translate(calc(.045em + var(--mx) * -.06em + var(--sy) * .01px), calc(.03em + var(--my) * -.04em)); }
.loaded .reg .y { transform: translate(calc(-.02em + var(--mx) * .04em), calc(.05em + var(--my) * .06em + var(--sy) * .015px)); }
.hero-sub { max-width: 46ch; color: var(--grey-d); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); margin: 1.8rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.discs { position: relative; height: clamp(320px, 38vw, 520px); }
.disc { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; transition: translate .6s var(--ease); animation: discIn 1.4s var(--snap) backwards; }
@keyframes discIn { from { scale: .2; opacity: 0; } to { scale: 1; opacity: 1; } }
.dc { background: var(--c); left: 4%; top: 6%; animation-delay: .2s; }
.dm { background: var(--m); left: 38%; top: 6%; animation-delay: .35s; }
.dy { background: var(--y); left: 21%; top: 40%; animation-delay: .5s; }
.disc-label { position: absolute; right: 0; bottom: 0; font-size: .85rem; color: var(--grey-d); text-align: right; line-height: 1.4; }
.disc-label b { display: block; color: var(--k); font-weight: 500; font-size: 1rem; }
.hero .colorbar { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-head p { color: var(--grey-d); margin-top: 1.2rem; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.sec-head.row > div:first-child { max-width: 62ch; }

/* ---------- Services ---------- */
.services { background: var(--white); border-top: 1.5px solid var(--k); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--k); }
.svc { --ink: var(--k); --on: var(--white); position: relative; isolation: isolate; overflow: hidden; padding: 1.75rem 1.5rem 1.6rem; border: 1.5px solid var(--k); margin: -.75px; display: flex; flex-direction: column; gap: .7rem; transition: color .45s var(--ease); background: var(--white); }
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0 at 100% 0); transition: clip-path .6s var(--ease); }
.svc::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(circle, rgba(0, 0, 0, .18) 1.2px, transparent 1.7px) 0 0 / 9px 9px; transition: opacity .4s; }
.svc:hover { color: var(--on); }
.svc:hover::before { clip-path: circle(150% at 100% 0); }
.svc:hover::after { opacity: 1; }
.svc-ic { width: 2.4rem; height: 2.4rem; color: var(--ink); transition: color .4s; }
.svc:hover .svc-ic { color: var(--on); }
.svc h3 { margin-top: .4rem; }
.svc-items { font-size: .92rem; color: var(--grey-d); margin: 0; transition: color .4s; }
.svc:hover .svc-items { color: var(--on); opacity: .85; }
.svc-desc { font-size: .95rem; margin: 0; flex: 1; }
.svc .link { align-self: flex-start; font-size: .92rem; }
.svc:hover .link::after { background: var(--on); }
.svc:hover .link:hover { color: var(--ink); }
.svc .link::after { background: var(--ink); }
.svc .link:hover { color: var(--on); }
.ink-y .link:hover, .ink-y:hover .link:hover { color: var(--k); }

/* ---------- Valeurs ---------- */
.valeurs { padding: 0; }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.val { background: var(--ink, var(--k)); color: var(--on, var(--white)); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem); position: relative; overflow: hidden; }
.val::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .12) 1.5px, transparent 2px) 0 0 / 14px 14px; pointer-events: none; mask-image: linear-gradient(135deg, transparent 55%, #000); }
.val-ic { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.val h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); margin-bottom: .8rem; }
.val-q { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.15; margin-bottom: .8rem; }
.val p { position: relative; max-width: 52ch; }

/* ---------- Pourquoi ---------- */
.pourquoi { background: var(--k); color: var(--white); }
.pourquoi .mis { color: var(--white); text-shadow: 4px 0 0 var(--c), -4px 0 0 var(--m); }
.pq-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pq-copy h2 { margin-bottom: 1.5rem; }
.pq-copy > p { color: #BDBDB5; max-width: 58ch; }
.pq-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.pq-list li { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pourquoi .ink-k { --ink: var(--white); }
.pq-list .sq { width: 16px; height: 16px; margin-top: .5rem; border-radius: 50%; background: var(--ink); flex: none; transition: transform .4s var(--ease); }
.pq-list li:hover .sq { transform: scale(1.5); }
.pq-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); line-height: 1.1; }
.pq-list div span { color: #BDBDB5; font-size: .95rem; }
.pq-fig { position: relative; margin: 2rem 0 0; }
.pq-fig::before { content: ''; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; background: linear-gradient(135deg, var(--c), var(--m) 50%, var(--y)); mix-blend-mode: screen; opacity: .9; }
.pq-fig img { position: relative; }
.pq-fig figcaption { position: relative; margin-top: 1rem; color: #BDBDB5; font-size: .95rem; padding-left: 1rem; border-left: 3px solid var(--y); }

/* ---------- Réalisations ---------- */
.realisations { background: var(--paper); }
.car-nav { display: flex; gap: .5rem; }
.car-btn { width: 52px; height: 52px; border: 2px solid var(--k); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.car-btn .ic { width: 1.4rem; height: 1.4rem; }
.car-btn:hover { background: var(--k); color: var(--white); }
.car-btn:active { transform: scale(.94); }
.car { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2)) 1rem; }
.car::-webkit-scrollbar { display: none; }
.car.drag { cursor: grabbing; scroll-snap-type: none; }
.car-track { display: flex; gap: 24px; width: max-content; }
.car-item { width: clamp(260px, 30vw, 440px); margin: 0; scroll-snap-align: start; user-select: none; }
.car-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--k); }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); pointer-events: none; }
.car-img::after { content: ''; position: absolute; inset: 0; --dot: 0px; background: radial-gradient(circle, transparent var(--dot), var(--paper) calc(var(--dot) + .6px)) 0 0 / 14px 14px; transition: --dot 1.1s var(--ease); pointer-events: none; }
.car-item.in .car-img::after { --dot: 11px; }
.car-item:hover .car-img img { transform: scale(1.06); }
.car-cat { position: absolute; left: 0; bottom: 0; background: var(--k); color: var(--white); font-size: .8rem; font-weight: 500; padding: .4em .8em; transform: translateY(100%); transition: transform .4s var(--ease); }
.car-item:hover .car-cat { transform: none; }
.car-item figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-size: .95rem; }
.car-item figcaption strong { font-weight: 500; }
.car-item figcaption span { color: var(--grey-d); text-align: right; }

/* ---------- Témoignages ---------- */
.temoignages { background: var(--white); border-top: 1.5px solid var(--k); }
.temoignages h2 { margin-bottom: 2.5rem; }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tm { position: relative; margin: 0; padding: 2rem 1.75rem 1.75rem; border: 1.5px solid var(--k); border-radius: 24px; display: flex; flex-direction: column; gap: 1.2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); background: var(--white); }
.tm:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--c), 16px 16px 0 var(--m); }
.tm-q { width: 2.2rem; height: 2.2rem; color: var(--m); }
.tm p { font-size: 1.05rem; line-height: 1.55; margin: 0; flex: 1; }
.tm footer { display: flex; align-items: center; gap: .9rem; }
.tm footer img { width: 52px; height: 52px; border-radius: 50%; }
.tm footer strong { display: block; font-weight: 500; }
.tm footer span { color: var(--grey-d); font-size: .9rem; }

/* ---------- Devis ---------- */
.devis { background: var(--paper); }
.dv-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.dv-side { background: var(--k); color: var(--white); padding: clamp(1.75rem, 3vw, 2.75rem); position: sticky; top: 6rem; border-radius: 24px; overflow: hidden; }
.dv-side::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--m); mix-blend-mode: screen; }
.dv-side::before { content: ''; position: absolute; right: 20px; bottom: -90px; width: 200px; height: 200px; border-radius: 50%; background: var(--c); mix-blend-mode: screen; }
.dv-side > * { position: relative; z-index: 1; }
.dv-side h2 { margin-bottom: 1.5rem; }
.dv-side .mis { color: var(--white); }
.dv-big { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.05; margin-bottom: 1rem; color: var(--y); }
.dv-tel { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-top: 1rem; border-bottom: 3px solid var(--y); }
.dv-h { margin: .8rem 0 0; font-size: .9rem; opacity: .85; }

/* Formulaires */
.form { display: grid; gap: 1.25rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 500; color: var(--grey-d); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--k); background: var(--white); border: 1.5px solid var(--k); padding: .85em 1em; border-radius: 12px; transition: border-color .3s, box-shadow .3s; }
.form textarea { resize: vertical; min-height: 120px; }
.form label:nth-of-type(4n+1) input:focus, .form label:nth-of-type(4n+1) select:focus, .form label:nth-of-type(4n+1) textarea:focus { box-shadow: 4px 4px 0 var(--c); }
.form label:nth-of-type(4n+2) input:focus, .form label:nth-of-type(4n+2) select:focus, .form label:nth-of-type(4n+2) textarea:focus { box-shadow: 4px 4px 0 var(--m); }
.form label:nth-of-type(4n+3) input:focus, .form label:nth-of-type(4n+3) select:focus, .form label:nth-of-type(4n+3) textarea:focus { box-shadow: 4px 4px 0 var(--y); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--c); }
.f-row label:nth-child(2) input:focus, .f-row label:nth-child(2) select:focus { box-shadow: 4px 4px 0 var(--m); }
.form ::placeholder { color: #9A9890; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.f-note { font-size: .85rem; color: var(--grey-d); margin: 0; max-width: 34ch; }
.f-ok { background: var(--y); padding: 1rem 1.25rem; font-weight: 500; margin: 0; border-radius: 12px; }

/* ---------- Actualités ---------- */
.actus { background: var(--k); color: var(--white); }
.actus .mis { color: var(--white); }
.actus .sec-head p { color: #BDBDB5; }
.soc { display: flex; gap: .6rem; flex-wrap: wrap; }
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.insta-item { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--k-2); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insta-item span { position: absolute; inset: 0; display: grid; place-items: center; background: var(--m); color: var(--white); opacity: 0; transition: opacity .35s; mix-blend-mode: normal; }
.insta-item span .ic { width: 2rem; height: 2rem; }
.insta-item:hover img { transform: scale(1.1); }
.insta-item:hover span { opacity: .9; }

/* ---------- Contact ---------- */
.contact { background: var(--white); border-top: 1.5px solid var(--k); }
.ct-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ct-info h2 { margin-bottom: 1.2rem; }
.ct-info > p { color: var(--grey-d); max-width: 44ch; }
.ct-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .9rem; }
.ct-list li { display: flex; align-items: center; gap: .9rem; }
.ct-list .ic { width: 1.4rem; height: 1.4rem; }
.ct-list li:nth-child(1) .ic { color: var(--c); }
.ct-list li:nth-child(2) .ic { color: var(--m); }
.ct-list li:nth-child(3) .ic { color: #C9BE00; }
.ct-list a { border-bottom: 2px solid var(--k); }
.ct-soc { display: flex; gap: .6rem; }
.ct-soc a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; transition: background .3s, color .3s, transform .3s; }
.ct-soc a:hover { background: var(--m); border-color: var(--m); color: var(--white); transform: translateY(-3px); }
.map { margin-top: 2rem; aspect-ratio: 16 / 9; background: var(--paper); border: 1.5px dashed var(--grey); border-radius: 16px; display: grid; place-items: center; color: var(--grey-d); font-size: .9rem; }
.map span { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Footer ---------- */
.foot { background: var(--k); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0 2rem; position: relative; }
.foot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 0 50%, var(--y) 0 75%, var(--white) 0); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.foot h4 { font-family: var(--font-body); font-weight: 500; font-size: .95rem; margin-bottom: 1rem; color: var(--y); }
.foot nav { display: grid; gap: .45rem; align-content: start; }
.foot nav a, .foot p a { opacity: .8; transition: opacity .3s, color .3s; }
.foot nav a:hover, .foot p a:hover { opacity: 1; color: var(--c); }
.foot p { color: #BDBDB5; font-size: .95rem; }
.foot .brand { margin-bottom: 1rem; }
.foot .cmyk i:nth-child(4) { background: var(--white); }
.foot .ct-soc a { border-color: rgba(255, 255, 255, .35); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #BDBDB5; }
.totop { display: inline-flex; align-items: center; gap: .4rem; color: var(--white); }
.totop:hover { color: var(--y); }

/* ---------- Apparition au scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.rv.in { opacity: 1; transform: none; }
.is-shot .rv { opacity: 1; transform: none; }
.is-shot .disc { animation: none; }
.is-shot .car-img::after { display: none; }
.is-shot .nav { position: absolute; top: 0; }
.is-shot .progress { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid, .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .discs { height: clamp(260px, 60vw, 380px); width: min(100%, 460px); }
  .reg { max-width: none; }
  .pq-grid, .dv-grid, .ct-grid, .val-grid { grid-template-columns: 1fr; }
  .dv-side { position: relative; top: auto; }
  .insta { grid-template-columns: repeat(3, 1fr); }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .regmark { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav { padding-block: .9rem; }
  .svc-grid, .tm-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .car-item { width: min(78vw, 360px); }
  .mis { text-shadow: 2px 0 0 var(--c), -2px 0 0 var(--m); }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .pq-fig::before { inset: .75rem 0 -.75rem .75rem; }
  .tm:hover { box-shadow: 6px 6px 0 var(--c); }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  .car-img::after { display: none; }
}
