/* KI Creation — style « galerie de nuit » (fond noir, une pièce éclairée par section) */
:root {
  --color-obsidian: #000000;
  --color-graphite: #0e0e0e;
  --color-carbon: #1d1d1f;
  --gradient-carbon: linear-gradient(#1d1d1f, #000000 288px);
  --color-steel: #333336;
  --color-slate: #6e6e73;
  --color-ash: #86868b;
  --color-porcelain: #f5f5f7;
  --color-white: #ffffff;
  --color-blue: #0071e3;
  --color-link: #2997ff;
  --color-link-pale: #0066cc;
  --color-new: #b64400;

  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-cards: 28px;
  --radius-nav: 20px;
  --radius-buttons: 170px;
  --radius-pills: 9999px;
  --radius-inputs: 980px;
  --radius-capsule: 36px;

  --shadow-subtle: rgb(40, 40, 40) 0 0 0 1px;
  --shadow-subtle-2: rgb(110, 110, 115) 0 0 0 1px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-obsidian);
  color: var(--color-porcelain);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--color-blue); color: #fff; }
:focus-visible { outline: 1px solid var(--color-blue); outline-offset: 2px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- typographie */
.display-xl, .display, .h2, .h3, .stat, .label {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}
.display-xl { font-size: clamp(48px, 9vw, 96px); line-height: 1.04; letter-spacing: -0.015em; }
.display    { font-size: clamp(40px, 7vw, 80px); line-height: 1.05; letter-spacing: -0.015em; }
.h2         { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.015em; }
.h3         { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.13; letter-spacing: 0.004em; }
.stat       { font-size: 28px; line-height: 1; letter-spacing: 0.196px; }
.label      { font-size: 19px; line-height: 1.21; letter-spacing: 0.228px; }
.muted      { color: var(--color-ash); }
.eyebrow    { font-size: 17px; font-weight: 600; color: var(--color-ash); margin: 0 0 12px; letter-spacing: -0.374px; }
.new        { color: var(--color-new); font-size: 12px; font-weight: 600; letter-spacing: -0.12px; }
.lead       { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.38; color: var(--color-ash); margin: 16px 0 0; max-width: 34em; }
.lead b     { color: var(--color-porcelain); font-weight: 600; }

/* masques pour les révélations de texte */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }

/* ---------- boutons */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-buttons);
  font-size: 14px; line-height: 1.29; letter-spacing: -0.224px;
  padding: 11px 22px; cursor: pointer; border: 0;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.pill--blue { background: var(--color-blue); color: #fff; }
.pill--blue:hover { background: #0077ed; }
.pill--outline { background: transparent; color: var(--color-porcelain); box-shadow: var(--shadow-subtle-2); }
.pill--outline:hover { background: rgba(255,255,255,.06); }
.pill--sm { font-size: 12px; line-height: 16px; letter-spacing: -0.12px; padding: 7px 14px; }
.capsule {
  display: inline-flex; align-items: center;
  background: rgba(66,66,69,.72); color: rgba(255,255,255,.8);
  border-radius: var(--radius-capsule); padding: 11px 20px; font-size: 14px; letter-spacing: -0.224px;
}
.link { color: var(--color-link); }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

/* ---------- navigation globale (44 px) */
.gnav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 44px;
  background: rgba(0,0,0,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
section[id], [id].section { scroll-margin-top: 60px; }   /* les ancres ne passent pas sous la barre fixe */
.gnav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 5px; color: #ccc; font-family: var(--font-display); }
.logo b { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; color: var(--color-porcelain); }
.logo span { font-size: 13px; letter-spacing: 0.04em; }
.gnav ul { display: flex; gap: clamp(18px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.gnav ul a { font-size: 12px; line-height: 1.33; letter-spacing: -0.12px; color: rgba(255,255,255,.8); transition: color .2s; }
.gnav ul a:hover, .gnav ul a[aria-current] { color: #fff; }
.gnav .outils { display: flex; align-items: center; gap: 18px; }
.icone { width: 18px; height: 18px; color: #ccc; display: inline-grid; place-items: center; }
.icone svg { width: 100%; height: 100%; }
.burger { display: none; background: none; border: 0; padding: 0; cursor: pointer; }
.menu-mobile {
  position: fixed; inset: 44px 0 0; z-index: 49; background: #000; padding: 24px var(--gutter);
  display: none; flex-direction: column; gap: 4px;
}
.menu-mobile a { font-family: var(--font-display); font-size: 28px; font-weight: 600; padding: 8px 0; color: var(--color-porcelain); }
.menu-mobile.ouvert { display: flex; }

/* ---------- navigation de section (collante, contenue) */
.snav-zone { position: sticky; top: 12px; z-index: 40; height: 0; }
.snav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(14,14,14,.95); border-radius: var(--radius-nav); box-shadow: var(--shadow-subtle);
  padding: 8px 8px 8px 20px;
}
.snav .label { white-space: nowrap; }
.snav nav { display: flex; gap: 24px; }
.snav nav a { font-size: 14px; color: var(--color-ash); transition: color .2s; white-space: nowrap; }
.snav nav a:hover, .snav nav a.actif { color: var(--color-porcelain); }

/* ---------- écran de chargement « imprimante » (accueil, 1re visite) */
.impression { display: none; }
.js-anim .impression { display: grid; position: fixed; inset: 0; z-index: 100; background: #000; place-items: center; }
.impression__scene { position: relative; display: grid; justify-items: center; margin-top: -14svh; }
.impression__cadre { position: relative; height: min(62svh, 120vw); aspect-ratio: 1086 / 1449; will-change: transform; }
.impression__couches { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.impression__cadre::after { content: ""; position: absolute; inset: -2px; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 62% 58% at 50% 48%, transparent 55%, #000 100%); }
.impression__couches img { width: 100%; height: 100%; object-fit: cover; }
.impression__rail { position: absolute; left: -14%; right: -14%; bottom: 0; height: 4px; opacity: 0; transform: translateY(50%);
  background: linear-gradient(90deg, transparent, #3a3a3d 8%, #3a3a3d 92%, transparent); }
.impression__tete { position: absolute; left: 4%; top: 50%; width: 9%; aspect-ratio: 1.4; transform: translateY(-62%);
  background: linear-gradient(#2c2c2e, #18181a); border-radius: 6px; box-shadow: inset 0 0 0 1px #48484a; }
.impression__tete i { position: absolute; left: 50%; bottom: -6px; width: 6px; height: 7px; transform: translateX(-50%);
  background: #8e8e93; clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%); }
.impression__tete i::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 14px; height: 14px; transform: translate(-50%, 50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,190,90,.95), rgba(255,140,40,0) 70%); }
.impression__plateau { width: 128%; height: 10px; margin-top: 2px; opacity: 0; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #1d1d1f 0 18px, #242426 18px 19px); box-shadow: 0 1px 0 #333336; }
.impression__info { position: absolute; bottom: clamp(32px, 8svh, 72px); left: 0; right: 0; margin: 0; text-align: center;
  font-size: 14px; color: var(--color-ash); letter-spacing: -0.224px; }
.impression__info b { color: var(--color-porcelain); font-variant-numeric: tabular-nums; font-weight: 600; margin-left: 6px; }

/* ---------- héro */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.hero__scene { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__oeuvre { position: relative; will-change: transform; height: min(62svh, 120vw); aspect-ratio: 1086 / 1449; margin-top: -14svh; }
.hero__oeuvre::after { content: ""; position: absolute; inset: -2px; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 50% 48%, transparent 55%, #000 100%); }
.hero__oeuvre img { width: 100%; height: 100%; object-fit: cover; }
.hero__couches { position: absolute; inset: 0; }
.js-anim .hero__couches { clip-path: inset(100% 0 0 0); }
.js-anim .hero__texte .line > span, .js-anim .hero__texte .hero__actions { opacity: 0; }
.hero__buse {
  position: absolute; left: 8%; right: 8%; height: 2px; bottom: 0; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,190,90,.95), transparent);
  box-shadow: 0 0 24px 4px rgba(255,160,60,.55);
}
.hero__halo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255,140,40,.16), transparent 55%);
}
.hero__texte {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 7svh, 72px);
  text-align: center; padding-inline: var(--gutter);
}
.hero__nom { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.13; margin: 0 0 6px; }
.hero__actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero__indice {
  position: absolute; left: 50%; bottom: 14px; width: 1px; height: 28px; transform: translateX(-50%);
  background: linear-gradient(var(--color-slate), transparent);
}

/* ---------- sections */
.section { position: relative; padding: clamp(90px, 14vw, 210px) 0; }
.section--carbon { background: var(--gradient-carbon); }
.section__tete { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 7vw, 90px); padding-inline: var(--gutter); }
.section__tete .lead { margin-inline: auto; }

/* manifeste : mots qui s'allument au scroll */
.manifeste { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5.2vw, 64px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18em; margin: 0 auto; text-align: center; }
.manifeste .mot { color: var(--color-steel); transition: none; }

/* cadre média qui s'agrandit */
.cadre-zone { padding: clamp(48px, 7vw, 90px) 0 0; }
.cadre {
  position: relative; will-change: transform; width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto;
  height: min(86svh, 900px); border-radius: var(--radius-cards); overflow: hidden; background: #000;
}
.cadre img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.cadre__legende {
  position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); right: 20px; max-width: 30em;
}
.cadre__legende p { margin: 8px 0 0; color: rgba(245,245,247,.8); }
.cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.75)); pointer-events: none; }
.cadre__legende { z-index: 1; }

/* couches au scroll */
.couches-zone { position: relative; }
.couches-scene { height: 100svh; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; }
.couches-texte .lead { margin-bottom: 28px; }
.couches-compteur { font-size: 14px; color: var(--color-ash); margin: 0; font-variant-numeric: tabular-nums; }
.couches-compteur b { color: var(--color-link); font-weight: 600; margin-right: 4px; }
.couches-pile { position: relative; height: min(76svh, 640px); aspect-ratio: 1086 / 1448; justify-self: center; perspective: 1400px; }
.couches-3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.couche { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6px; backface-visibility: hidden; }
.couche:first-child { box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px #2a2a2d; }
.couches-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
html:not(.js-anim) .couches-3d { display: none; }
@media (max-width: 767px) {
  .couches-scene { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 16px; padding: 70px 0 20px; }
  .couches-texte .lead { display: none; }
  .couches-pile { height: 52svh; }
}

/* tuiles chiffres */
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.tuile {
  background: #000; border-radius: var(--radius-cards); padding: 32px 24px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; box-shadow: var(--shadow-subtle);
  position: relative; overflow: hidden;
}
.tuile p { margin: 0; color: var(--color-ash); font-size: 14px; line-height: 1.43; letter-spacing: -0.224px; }
.tuile__visuel { position: absolute; top: 28px; left: 24px; color: var(--color-porcelain); opacity: .9; }
.tuile__visuel svg { width: 44px; height: 44px; }

/* collection en défilement horizontal */
.collection { position: relative; padding: clamp(90px, 14vw, 210px) 0 clamp(48px, 6vw, 90px); background: #000; overflow: hidden; }
.piste { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.oeuvre { width: clamp(200px, min(26vw, (100svh - 340px) * 0.75), 380px); flex: none; perspective: 900px; }
@media (min-width: 768px) {
  .collection { padding-top: clamp(64px, 9svh, 120px); }
  .collection .section__tete { margin-bottom: clamp(24px, 4svh, 56px); }
}
.oeuvre__img {
  border-radius: var(--radius-cards); overflow: hidden; aspect-ratio: 3 / 4; background: var(--color-carbon);
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.oeuvre__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.oeuvre:hover .oeuvre__img img { transform: scale(1.1); }
.oeuvre h3 { margin: 6px 0 2px; }
.oeuvre .new { display: block; margin-top: 16px; }
.oeuvre__img + h3 { margin-top: 18px; }
.oeuvre p { margin: 0; color: var(--color-ash); font-size: 14px; }
.collection__pied { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.progression { flex: 1; max-width: 320px; height: 2px; background: var(--color-steel); border-radius: 2px; overflow: hidden; }
.progression span { display: block; height: 100%; width: 100%; background: var(--color-porcelain); transform-origin: left; transform: scaleX(0); }

/* offre */
.offre { padding-top: clamp(48px, 8vw, 120px); }
.offre__tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offre__tuile { min-height: 300px; justify-content: flex-end; }
.offre__tuile p { font-size: 17px; line-height: 1.38; letter-spacing: -0.374px; }
.offre__chiffre { font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 7vw, 80px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.offre__tuile--fort { background: linear-gradient(160deg, #0a1a2e, #000 60%); box-shadow: 0 0 0 1px #0071e3; }
.offre__tuile--fort .offre__chiffre { color: var(--color-link); }
.pile { position: absolute; top: 28px; left: 24px; display: flex; gap: 6px; }
.pile i { display: block; width: 22px; height: 30px; border-radius: 4px; background: var(--color-steel); box-shadow: inset 0 0 0 1px #48484a; }
.offre__tuile--fort .pile i { background: var(--color-blue); box-shadow: none; }
@media (max-width: 767px) { .offre__tuiles { grid-template-columns: 1fr; } .offre__tuile { min-height: 220px; } }

/* chez vous : texte + image en parallaxe */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.duo__media { border-radius: var(--radius-cards); overflow: hidden; aspect-ratio: 1023 / 1537; position: relative; max-height: 82svh; justify-self: center; }
.duo__media img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: top; }
.puces { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.puces li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.puces svg { width: 24px; height: 24px; color: var(--color-porcelain); margin-top: 2px; }
.puces b { display: block; font-weight: 600; }
.puces span { color: var(--color-ash); font-size: 14px; }

/* sur mesure : panneau carbone + tuiles noires */
.panneau { background: var(--color-carbon); border-radius: var(--radius-cards); padding: clamp(28px, 5vw, 64px); }
.panneau__haut { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.champ { display: flex; gap: 10px; flex-wrap: wrap; }
.champ input {
  flex: 1 1 240px; min-width: 0; background: rgba(255,255,255,.04); border: 1px solid var(--color-slate);
  border-radius: var(--radius-inputs); padding: 13px 24px; color: var(--color-porcelain); font-size: 17px;
}
.champ input::placeholder { color: var(--color-ash); }
.champ input:focus { outline: 1px solid var(--color-blue); outline-offset: 1px; border-color: var(--color-blue); }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.etape { background: #000; border-radius: var(--radius-cards); padding: 28px 24px; min-height: 220px; display: flex; flex-direction: column; }
.etape__num { font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1; color: var(--color-steel); margin-bottom: auto; }
.etape h3 { margin: 28px 0 8px; }
.etape p { margin: 0; color: var(--color-ash); font-size: 14px; line-height: 1.43; }

/* supports : cartes claires */
.cartes-claires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.carte-claire { background: #fff; color: #1d1d1f; border-radius: var(--radius-cards); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.carte-claire .stat { color: #1d1d1f; margin-top: 18px; }
.carte-claire p { margin: 0; color: #6e6e73; font-size: 14px; line-height: 1.43; }
.carte-claire svg { width: 48px; height: 48px; color: #1d1d1f; }

/* final */
.final { text-align: center; padding: clamp(144px, 18vw, 260px) 0; position: relative; overflow: hidden; }
.final__fond { position: absolute; inset: 0; opacity: .22; }
.final__fond img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.1); }
.final__fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, #000 72%); }
.final .wrap { position: relative; }
.final .hero__actions { margin-top: 32px; }

/* pied de page */
.pied { background: var(--color-carbon); color: var(--color-ash); font-size: 12px; line-height: 1.33; letter-spacing: -0.12px; padding: 32px 0 24px; }
.pied__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #424245; }
.pied h4 { margin: 0 0 10px; color: var(--color-porcelain); font-size: 12px; font-weight: 600; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a:hover { color: var(--color-porcelain); text-decoration: underline; }
.pied__bas { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; flex-wrap: wrap; }

/* ---------- bandeau d'offre (sous la navigation globale) */
.bandeau {
  position: absolute; top: 44px; left: 0; right: 0; z-index: 45; background: var(--color-carbon);
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 48px 10px var(--gutter); min-height: 40px;
}
.bandeau p { margin: 0; font-size: 14px; line-height: 20px; letter-spacing: -0.224px; color: var(--color-porcelain); text-align: center; }
.bandeau b { color: var(--color-new); font-weight: 600; margin-right: 4px; }
.bandeau__x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--color-ash); font-size: 18px; cursor: pointer; padding: 4px 8px; }
.bandeau__x:hover { color: var(--color-porcelain); }
.remise b, .remise span { color: #30d158 !important; }
.astuce { margin: 0; font-size: 12px; color: var(--color-link); }

/* ---------- panier (badge, tiroir) + notification */
.bouton-panier { position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.badge-panier {
  position: absolute; top: -6px; right: -9px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: var(--radius-pills); background: var(--color-blue); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 15px; text-align: center; letter-spacing: 0;
}
.badge-panier[hidden] { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; opacity: 0;
  background: rgba(66,66,69,.9); color: var(--color-porcelain); border-radius: var(--radius-capsule);
  padding: 12px 20px; font-size: 14px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  pointer-events: none; white-space: nowrap;
}
.tiroir-fond { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.tiroir {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(420px, 100%);
  background: var(--color-graphite); box-shadow: var(--shadow-subtle); padding: 24px;
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s .55s;
}
.panier-ouvert .tiroir-fond { opacity: 1; visibility: visible; }
.panier-ouvert .tiroir { transform: none; visibility: visible; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.tiroir__tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tiroir__fermer { background: rgba(255,255,255,.08); border: 0; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; color: var(--color-porcelain); font-size: 18px; }
.tiroir__liste { flex: 1; overflow: auto; display: grid; align-content: start; gap: 12px; }
.ligne-panier { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: #000; border-radius: 20px; padding: 10px; }
.ligne-panier img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; }
.ligne-panier b { display: block; font-size: 14px; }
.ligne-panier small { color: var(--color-ash); font-size: 12px; }
.qte { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qte button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--color-porcelain); cursor: pointer; }
.tiroir__pied { border-top: 1px solid var(--color-steel); padding-top: 18px; margin-top: 12px; display: grid; gap: 12px; }
.tiroir__total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.tiroir__pied .pill { justify-content: center; }
.tiroir__vide { color: var(--color-ash); text-align: center; margin-top: 40px; }

/* ---------- responsive */
@media (max-width: 1024px) {
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .snav nav { display: none; }
}
@media (max-width: 767px) {
  .gnav ul, .gnav .outils .icone--compte { display: none; }
  .burger { display: inline-grid; }
  .duo, .panneau__haut { grid-template-columns: 1fr; }
  .etapes, .cartes-claires { grid-template-columns: 1fr; }
  .tuiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tuile { min-height: 200px; padding: 24px 18px; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .collection .piste { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .collection .piste::-webkit-scrollbar { display: none; }
  .oeuvre { scroll-snap-align: center; width: 78vw; }
  .cadre { height: 70svh; }
}

/* sans animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .hero__couches { clip-path: none; }
  .manifeste .mot { color: var(--color-porcelain); }
}

/* choix de livraison (panier, compte) */
.livraison { border: 0; padding: 14px; margin: 4px 0 0; background: #000; border-radius: 20px; display: grid; gap: 8px; }
.livraison legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.livraison legend small { color: var(--color-ash); font-weight: 400; }
.livraison label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; box-shadow: var(--shadow-subtle); cursor: pointer; font-size: 13px; transition: box-shadow .25s, background-color .25s; }
.livraison input { position: absolute; opacity: 0; pointer-events: none; }
.livraison label:has(input:checked) { box-shadow: 0 0 0 1.5px var(--color-blue); background: rgba(0,113,227,.08); }
.livraison label:has(input:focus-visible) { outline: 1px solid var(--color-blue); outline-offset: 2px; }
.livraison b { display: block; font-size: 13px; }
.livraison small { display: block; color: var(--color-ash); font-size: 11px; }
.livraison__prix { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.livraison__prix s { color: var(--color-slate); font-weight: 400; margin-right: 4px; }

/* icône compte : initiale du client connecté */
.icone--compte.connecte { position: relative; }
.icone--compte.connecte svg { opacity: 0; }
.icone--compte.connecte::after {
  content: attr(data-initiale); position: absolute; inset: -2px; border-radius: 50%; background: var(--color-blue); color: #fff;
  font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1;
}

/* fin de page : relief éclairé */
.final__fond--relief { opacity: .5; }
.final__fond--relief img { display: none; }
.final__fond--relief canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* avis clients */
.avis { overflow: hidden; }
.etoiles { color: #ffd500; letter-spacing: 4px; font-size: .7em; }
.avis__piste { display: flex; width: max-content; margin-left: var(--gutter); }   /* marge extérieure : ne compte pas dans le -50 % */
.avis__piste > .avis__carte { margin-right: 16px; }                 /* marge (et pas « gap ») : les 2 moitiés font exactement la même largeur */
.avis__piste--auto { animation: defile-avis 60s linear infinite; will-change: transform; backface-visibility: hidden; }
.avis__piste--auto:hover, .avis__piste.en-pause { animation-play-state: paused; }
@keyframes defile-avis { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .avis__piste--auto { animation: none; } .avis { overflow-x: auto; } }
.avis__carte { margin: 0; width: 300px; flex: none; background: var(--color-carbon); border-radius: var(--radius-cards); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.avis__carte--grand { width: 460px; }
.avis__carte blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.32; letter-spacing: 0.1px; }
.avis__carte figcaption { color: var(--color-ash); font-size: 14px; }
@media (max-width: 767px) { .avis__carte { width: 78vw; } .avis__carte--grand { width: 86vw; } }
.gnav ul a.lien-admin { color: var(--color-copper-new, #b64400); font-weight: 600; }

/* étape « passer commande » */
.adresse { display: grid; gap: 12px; }
.adresse label { display: grid; gap: 6px; font-size: 13px; }
.adresse label span { color: var(--color-ash); }
.adresse input, .adresse textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--color-slate); border-radius: 12px; padding: 10px 14px; font-size: 15px; color: var(--color-porcelain); }
.adresse input:focus, .adresse textarea:focus { outline: 1px solid var(--color-blue); border-color: var(--color-blue); }
.adresse__2 { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.tiroir__pied .pill { justify-content: center; }
.merci { text-align: center; padding: 40px 10px; }
.merci__ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #30d158; color: #000; font-size: 32px; display: grid; place-items: center; }
.impression__info small { display: block; margin-top: 6px; font-size: 12px; color: var(--color-slate); }
.adresse label.adresse__cgv { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; }
.adresse__cgv input { width: auto; margin-top: 2px; accent-color: var(--color-blue); }
.adresse__cgv a { color: var(--color-link); }
/* choix du point relais (panier + back-office) */
.points { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.point { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--color-slate); color: var(--color-porcelain); font-size: 14px; cursor: pointer; }
.point small { color: var(--color-ash); font-size: 12px; }
.point:hover, .point.actif { border-color: var(--color-blue); background: rgba(41,151,255,.10); }
/* détail des prix (panier sur toutes les pages + estimateur) */
.prix__detail { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 14px; color: var(--color-ash); }
.prix__detail li { display: flex; justify-content: space-between; gap: 12px; }
.prix__detail b { color: var(--color-porcelain); font-weight: 500; font-variant-numeric: tabular-nums; }
/* barres de défilement sombres partout */
html { color-scheme: dark; scrollbar-color: #3a3a3c transparent; }
.img-ko { object-fit: cover; }
/* chez vous : mise en scène de la photo (halo + étiquettes en verre) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scene { position: relative; margin: 0; width: min(100%, 460px); justify-self: center; }
.scene .duo__media { width: 100%; max-height: none; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); }
.scene__halo { position: absolute; inset: 12% -18% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(182,68,0,.38), rgba(41,151,255,.12) 55%, transparent 75%); filter: blur(40px); }
.verre { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(28,28,30,.62); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -18px rgba(0,0,0,.8); color: var(--color-porcelain); }
.verre b { display: block; font-size: 14px; font-weight: 600; }
.verre small { display: block; font-size: 12px; color: var(--color-ash); }
.verre--haut { top: 9%; left: -14%; max-width: 280px; }
.verre--bas { bottom: 7%; right: -12%; }
.verre__icone { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(182,68,0,.18); color: #ff8a3d; }
.verre__icone svg { width: 20px; height: 20px; }
.verre__chiffres { display: flex; gap: 20px; }
.verre__chiffres div { text-align: center; }
.verre__chiffres b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }
@media (max-width: 900px) { .verre--haut { left: -4%; } .verre--bas { right: -4%; } }
@media (max-width: 767px) { .duo { grid-template-columns: 1fr; } .scene { width: min(100%, 380px); } .verre--haut { left: 8px; top: 12px; } .verre--bas { right: 8px; bottom: 12px; } }
.scene .duo__media { aspect-ratio: 3 / 4; } .scene .duo__media img { object-position: center; }
/* ---------- fin de page : simulation d'impression HueForge */
.final--impression { text-align: left; padding: clamp(110px, 12vw, 180px) 0; }
.final__halo { position: absolute; inset: 10% -10% 0 30%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(162,63,214,.24), rgba(90,40,160,.10) 55%, transparent 75%); filter: blur(60px); }
.final__grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.display-l { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 20px; }
.final__texte .lead { max-width: 30em; }
.final__chiffres { display: flex; gap: clamp(20px, 4vw, 44px); margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--color-steel); }
.final__chiffres b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.final__chiffres small { color: var(--color-ash); font-size: 13px; }
.final--impression .hero__actions { justify-content: flex-start; }
.imprimante { margin: 0; width: min(100%, 440px); justify-self: center; border-radius: 26px; padding: 14px;
  background: linear-gradient(180deg, #1c1c1e, #111113); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 50px 100px -40px rgba(0,0,0,.95), 0 0 120px -40px rgba(162,63,214,.4); }
.imprimante__tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 6px 12px; font-size: 12px; }
.imprimante__etat { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--color-porcelain); }
.imprimante__etat i { width: 8px; height: 8px; border-radius: 50%; background: #ff9f0a; box-shadow: 0 0 10px #ff9f0a; animation: clignote 1.2s ease-in-out infinite; }
.imprimante.termine .imprimante__etat i { background: #30d158; box-shadow: 0 0 10px #30d158; animation: none; }
@keyframes clignote { 50% { opacity: .35; } }
.imprimante__plateau { border-radius: 16px; overflow: hidden; background: #0e0e10;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 22px 22px;
  padding: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.imprimante__plateau canvas { display: block; width: 100%; height: auto; border-radius: 4px; image-rendering: auto; box-shadow: 0 12px 30px -12px #000; }
.imprimante__hud { padding: 14px 6px 4px; display: grid; gap: 10px; font-size: 13px; color: var(--color-ash); }
.imprimante__ligne { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.imprimante__ligne b { color: var(--color-porcelain); font-weight: 600; }
.imprimante__barre { height: 4px; border-radius: 4px; background: var(--color-steel); overflow: hidden; }
.imprimante__barre i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #b64400, #ff9f0a); transition: transform .25s linear; }
.imprimante__filaments { display: flex; gap: 8px; flex-wrap: wrap; }
.imprimante__filaments span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 999px; font-size: 12px;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); transition: background .3s, color .3s, box-shadow .3s; }
.imprimante__filaments i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.imprimante__filaments span.actif { color: var(--color-porcelain); background: rgba(255,159,10,.12); box-shadow: inset 0 0 0 1px rgba(255,159,10,.55); }
.imprimante__filaments span.fait { color: var(--color-porcelain); }
@media (max-width: 860px) { .final__grille { grid-template-columns: 1fr; } .final--impression { text-align: center; } .final__chiffres, .final--impression .hero__actions { justify-content: center; } .final__texte .lead { margin-inline: auto; } }
#impSource { display: none !important; }
.imprimante { width: min(100%, 400px); }
.imprimante__plateau { display: grid; place-items: center; padding: 16px; }
.imprimante__plateau canvas { width: auto; max-width: 100%; max-height: min(56svh, 520px); }
