/* Pli : page d'accueil (marque fictive, essai de design Vyzuall). */

:root {
  --papier: #F1EDE5;
  --papier-2: #E9E4D9;
  --blanc: #FFFFFF;
  --encre: #0B0B14;
  --encre-2: #14141E;
  --encre-3: #1D1D2A;
  --contour: #2A2A3A;
  --gris: #55525E;
  --gris-s: #A3A1B3;
  --filet: #DCD6CA;
  --bleu: #1F2BFF;
  --bleu-c: #5B66FF;
  --bleu-p: #E4E6FF;
  --bleu-n: #0A1090;
  --kraft: #C9A57C;
  --kraft-2: #B38D63;
  --kraft-p: #E5D2B8;

  --f-titre: 'Anybody', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --degrade-btn: linear-gradient(40deg, #5B66FF, #1F2BFF 45%, #0B0B14 96%);
  --ruban-a: linear-gradient(63deg, #5B66FF, #1F2BFF 55%, #1620D8);
  --ruban-b: linear-gradient(63deg, #1620D8, #0A1090 45%, #0B0B14);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --survol: cubic-bezier(.2, .8, .2, 1);

  --wrap: 1200px;
  --wrap-l: 1320px;
  --gout: 40px;
  --section: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--bleu); color: #fff; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
.cache { position: absolute; width: 0; height: 0; overflow: hidden; }
.saut { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.saut:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gout)); margin: 0 auto; padding: 0 var(--gout); position: relative; }
.wrap-large { max-width: calc(var(--wrap-l) + 2 * var(--gout)); }
.centre { text-align: center; }
.section { padding: var(--section) 0; position: relative; }

/* ---------- Titres ---------- */
.h1, .h2, .etape h3, .geant, .ruban {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-stretch: 56%;
}
.h1 {
  font-size: clamp(54px, 8.9vw, 134px);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.01em;
  margin: 26px auto 0;
  text-wrap: balance;
}
.h1-ligne { display: block; }
.mot { display: inline-block; }
.h2 {
  font-size: clamp(44px, 5.4vw, 80px);
  font-weight: 820;
  line-height: .92;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.accent { color: var(--bleu); }
.chapeau { font-size: 19px; color: var(--gris); max-width: 34em; margin: 22px auto 0; text-wrap: pretty; }

/* ---------- Ruban plié ---------- */
.ruban {
  display: inline-flex;
  align-items: stretch;
  white-space: nowrap;
  color: #fff;
  line-height: 1;
  vertical-align: baseline;
  filter: drop-shadow(0 14px 22px rgba(31, 43, 255, .38));
}
.ruban-a, .ruban-b { display: inline-block; padding: .1em .2em .04em; }
.ruban-a {
  background: var(--ruban-a);
  border-radius: .16em 0 0 .16em;
  transform: rotate(-3deg);
  transform-origin: 100% 50%;
  padding-left: .26em;
  padding-right: .14em;
}
.ruban-b {
  background: var(--ruban-b);
  border-radius: 0 .16em .16em 0;
  transform: rotate(2.6deg) translateY(-.05em);
  transform-origin: 0 50%;
  padding-left: .16em;
  padding-right: .26em;
}
.ruban-pli {
  width: .14em;
  margin: 0 -.03em;
  background: linear-gradient(90deg, #070C66, #02031F 70%);
  transform: skewY(-12deg) scaleY(1.02);
  position: relative;
  z-index: 2;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.22);
}
.ruban-h1 { font-size: .8em; margin: .06em 0 0 .12em; }
.ruban-h2 { font-size: .86em; margin: .1em 0 0 .1em; }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  font: 600 16.5px/1 var(--f-texte);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .45s var(--ressort), box-shadow .4s var(--survol), background-color .3s var(--survol);
  white-space: nowrap;
}
.btn .fl { width: 18px; height: 18px; transition: transform .4s var(--survol); }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:hover .fl { transform: translateX(4px); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn-bleu { background: var(--bleu) var(--degrade-btn); color: #fff; border-color: var(--bleu); box-shadow: 0 8px 24px -6px rgba(31, 43, 255, .55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-bleu:hover { box-shadow: 0 14px 34px -8px rgba(31, 43, 255, .75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-encre { background: var(--encre); color: #fff; border-color: var(--contour); }
.btn-blanc { background: #fff; color: var(--encre); }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 15px; }
.btn-sm:hover { background: var(--bleu); border-color: var(--bleu); }
.btn-grand { --h: 62px; padding: 0 36px; font-size: 18px; }
.btn-plein { width: 100%; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 237, 229, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.entete.defile { border-bottom-color: rgba(11, 11, 20, .08); }
.entete-in { max-width: calc(var(--wrap) + 2 * var(--gout)); margin: 0 auto; padding: 0 var(--gout); height: 72px; display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 30px; margin: 0 auto; }
.nav a, .lien-discret { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--encre); opacity: .78; transition: opacity .2s, color .2s; }
.nav a:hover, .lien-discret:hover { opacity: 1; color: var(--bleu); }
.entete-actions { display: flex; align-items: center; gap: 22px; }

/* Logo : « pli » dont le point du i est un coin plié */
.logo { display: inline-flex; align-items: flex-end; text-decoration: none; position: relative; line-height: 1; }
.logo-mot { font: 900 34px/1 var(--f-titre); font-stretch: 80%; letter-spacing: -.02em; color: var(--encre); position: relative; }
.logo-i { position: relative; }
.logo-coin {
  position: absolute; width: 11px; height: 11px; right: 1px; top: -3px;
  background: linear-gradient(135deg, var(--bleu) 50%, var(--bleu-n) 50%);
  border-radius: 1px 1px 1px 1px;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 55% 100%, 0 100%);
}
.logo-coin::after { content: ""; position: absolute; right: 0; bottom: 0; width: 45%; height: 55%; background: #070C66; }

/* ---------- Haut de page ---------- */
.haut { position: relative; padding: 56px 0 40px; overflow: hidden; }
.haut-in { text-align: center; z-index: 2; }
.papier { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 0; }
.papier-haut { top: 620px; height: 460px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 50%, transparent 97%); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 50%, transparent 97%); }
.infos { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 16px; font-size: 14.5px; font-weight: 500; color: var(--encre); }
.infos span { display: inline-flex; align-items: center; gap: 8px; }
.infos .ic { width: 18px; height: 18px; color: var(--bleu); }
.infos .sep { width: 1px; height: 15px; background: #BDB6A8; }
.haut-sub { font-size: 19px; line-height: 1.5; color: var(--gris); max-width: 36em; margin: 30px auto 0; text-wrap: pretty; }
.atouts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; }
.atouts li { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.atout-ic { width: 30px; height: 30px; border-radius: 8px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(11,11,20,.1); color: var(--bleu); }
.atout-ic svg { width: 18px; height: 18px; }
.haut-btns { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- L'appli ---------- */
.app {
  position: relative; z-index: 2;
  margin: 60px auto 0;
  max-width: 1120px;
  background: #fff;
  border: 1px solid var(--filet);
  border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(11, 11, 20, .45), 0 2px 0 rgba(255,255,255,.6) inset;
  text-align: left;
  overflow: hidden;
  font-size: 13px;
}
.app-barre { height: 52px; display: flex; align-items: center; gap: 18px; padding: 0 14px 0 18px; border-bottom: 1px solid #ECE7DD; }
.app-logo { font: 900 22px/1 var(--f-titre); font-stretch: 80%; position: relative; }
.app-logo span { position: relative; }
.app-logo span::after { content: ""; position: absolute; left: 50%; top: -2px; width: 6px; height: 6px; margin-left: -2px; background: var(--bleu); }
.app-fichier { font-weight: 600; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: baseline; }
.app-fichier em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--gris); background: var(--papier); padding: 2px 8px; border-radius: 999px; }
.app-bascule { display: inline-flex; background: var(--papier); border-radius: 999px; padding: 3px; margin-left: auto; font-weight: 600; font-size: 12.5px; }
.app-bascule span { padding: 5px 12px; border-radius: 999px; color: var(--gris); }
.app-bascule .on { background: #fff; color: var(--encre); box-shadow: 0 1px 3px rgba(11,11,20,.12); }
.app-zoom { font-weight: 600; color: var(--gris); font-size: 12.5px; }
.app-export { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--bleu); color: #fff; font-weight: 600; font-size: 12.5px; }
.app-export svg { width: 15px; height: 15px; }
.app-corps { display: grid; grid-template-columns: 220px 1fr 320px; height: 480px; }
.app-gauche { border-right: 1px solid #ECE7DD; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.app-t { font-size: 11.5px; font-weight: 600; color: var(--gris); margin-top: 6px; }
.app-t:first-child { margin-top: 0; }
.app-champ { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 1px solid #E4DED2; border-radius: 8px; font-weight: 600; font-size: 12.5px; background: #FBFAF7; }
.app-champ svg { width: 16px; height: 16px; color: var(--bleu); }
.app-champ b { color: var(--bleu); font-weight: 700; width: 10px; }
.app-champ i { font-style: normal; color: var(--gris); font-weight: 500; margin-left: auto; font-size: 11.5px; }
.app-cotes { display: grid; gap: 6px; }
.app-calques { display: grid; gap: 2px; }
.app-calques li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 7px; font-weight: 500; font-size: 12.5px; }
.app-calques li svg { width: 15px; height: 15px; color: #8D8897; }
.app-calques li.actif { background: var(--bleu-p); color: var(--bleu-n); }
.app-calques li.actif svg { color: var(--bleu); }
.pastille-c { margin-left: auto; width: 14px; height: 4px; border-radius: 2px; }
.c-visuel { background: var(--bleu); }
.c-vernis { background: repeating-linear-gradient(90deg, #8D8897 0 2px, transparent 2px 4px); }
.c-rainage { background: repeating-linear-gradient(90deg, var(--bleu) 0 3px, transparent 3px 5px); }
.c-decoupe { background: var(--encre); }
.c-perdu { background: #BFC3FF; }
.app-plan {
  position: relative;
  background: var(--papier-2) radial-gradient(circle, rgba(11,11,20,.14) 1px, transparent 1.3px) 0 0 / 16px 16px;
  display: grid; place-items: center;
  padding: 18px 16px 40px;
}
.app-patron { height: 100%; max-height: 420px; width: auto; max-width: 100%; overflow: visible; }
.app-legende { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 6px 8px; font-size: 11.5px; font-weight: 600; color: var(--gris); background: rgba(255,255,255,.85); padding: 5px 10px; border-radius: 999px; }
.app-legende i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--encre); margin-left: 6px; }
.app-legende i:first-child { margin-left: 0; }
.app-legende .lg-pli { border-top: 2px dashed var(--bleu); }
.app-legende .lg-perdu { border-top: 5px solid #BFC3FF; }
.app-droite { border-left: 1px solid #ECE7DD; display: flex; flex-direction: column; }
.app-apercu { position: relative; flex: 1; background: radial-gradient(120% 80% at 50% 30%, #fff, #F3F0EA); overflow: hidden; }
.app-direct { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 11.5px; background: #fff; border: 1px solid #ECE7DD; padding: 4px 10px; border-radius: 999px; }
.app-direct i { width: 7px; height: 7px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 0 3px rgba(31,43,255,.18); animation: pouls 1.8s var(--survol) infinite; }
@keyframes pouls { 50% { transform: scale(.6); opacity: .6; } }
.app-controle { border-top: 1px solid #ECE7DD; padding: 12px 16px 14px; }
.app-controle ul { display: grid; gap: 5px; margin-top: 7px; }
.app-controle li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12.5px; }
.app-controle svg { width: 16px; height: 16px; color: #fff; background: var(--bleu); border-radius: 50%; padding: 2px; }

/* Patron SVG */
.pt-perdu { fill: none; stroke: #BFC3FF; stroke-width: 6; stroke-linejoin: round; }
.pt-fond { fill: #fff; }
.pt-kraft { fill: var(--kraft); }
.pt-kraft2 { fill: #D7BB97; }
.pt-bleu { fill: var(--bleu); }
.pt-rond { fill: none; stroke: #fff; stroke-width: 1.6; }
.pt-titre { font-family: var(--f-titre); font-weight: 850; font-stretch: 60%; font-size: 15px; fill: #fff; text-anchor: middle; }
.pt-petit { font-family: var(--f-texte); font-weight: 600; font-size: 7px; fill: #fff; opacity: .85; text-anchor: middle; }
.pt-ligne { fill: rgba(11, 11, 20, .32); }
.pt-code rect { fill: var(--encre); }
.pt-vertical { font-family: var(--f-texte); font-weight: 700; font-size: 6px; fill: rgba(11, 11, 20, .55); text-anchor: middle; }
.pt-coupe { fill: none; stroke: var(--encre); stroke-width: 1.1; stroke-linejoin: round; }
.pt-pli, .pt-pli2 { fill: none; stroke-width: .9; stroke-dasharray: 3 3; }
.pt-pli { stroke: #fff; }
.pt-pli2 { stroke: var(--bleu); stroke-dashoffset: 3; }
.cote-t path { fill: none; stroke: var(--bleu); stroke-width: .6; }
.cote-t text { font-family: var(--f-texte); font-size: 6.5px; font-weight: 700; fill: var(--bleu); text-anchor: middle; }

/* ---------- Boîte 3D ---------- */
.scene { position: absolute; inset: 0; perspective: 1000px; perspective-origin: 50% 35%; }
.boite {
  position: absolute; left: 50%; top: 50%;
  width: var(--L); height: var(--H);
  margin-left: calc(var(--L) / -2); margin-top: calc(var(--H) / -2);
  transform-style: preserve-3d;
  transform-origin: 50% 50% calc(var(--P) / -2);
  transform: rotateX(-16deg) rotateY(-32deg);
}
.f { position: absolute; transform-style: preserve-3d; }
.f-av { left: 0; top: 0; width: var(--L); height: var(--H); }
.f-d, .f-g { left: 100%; top: 0; width: var(--P); height: var(--H); transform-origin: 0 50%; transform: rotateY(90deg); }
.f-dos { left: 100%; top: 0; width: var(--L); height: var(--H); transform-origin: 0 50%; transform: rotateY(90deg); }
.f-cou { left: 0; bottom: 100%; width: var(--L); height: var(--P); transform-origin: 50% 100%; transform: rotateX(90deg); }
.f-fond { left: 0; top: 100%; width: var(--L); height: var(--P); transform-origin: 50% 0; transform: rotateX(-90deg); }
.peau, .envers { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.envers { transform: rotateY(180deg); background: var(--kraft-p); box-shadow: inset 0 0 0 1px rgba(11,11,20,.08); }
.f-cou > .envers, .f-fond > .envers { transform: rotateX(180deg); }
.peau { box-shadow: inset 0 0 0 1px rgba(11,11,20,.12); }
/* lumière : les côtés sont un peu plus sombres */
.f-d > .peau::after, .f-g > .peau::after, .f-dos > .peau::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,20,.14); }
.f-cou > .peau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent); }

/* Mode « plie » : boucle pliage, tour, dépliage (9 s) */
.m-plie { animation: pl-boite 9s var(--survol) infinite; }
.m-plie .f-d { animation: pl-y1 9s ease-in-out infinite; }
.m-plie .f-dos { animation: pl-y2 9s ease-in-out infinite; }
.m-plie .f-g { animation: pl-y3 9s ease-in-out infinite; }
.m-plie .f-cou { animation: pl-cou 9s ease-in-out infinite; }
.m-plie .f-fond { animation: pl-fond 9s ease-in-out infinite; }
@keyframes pl-boite {
  0%, 9% { transform: translateX(var(--plat)) rotateX(12deg) rotateY(-6deg) scale(var(--s-plat)); }
  38% { transform: translateX(0px) rotateX(-16deg) rotateY(-32deg) scale(1); }
  80% { transform: translateX(0px) rotateX(-16deg) rotateY(328deg) scale(1); }
  95%, 100% { transform: translateX(var(--plat)) rotateX(12deg) rotateY(354deg) scale(var(--s-plat)); }
}
@keyframes pl-y1 { 0%, 10% { transform: rotateY(0deg); } 20%, 82% { transform: rotateY(90deg); } 91%, 100% { transform: rotateY(0deg); } }
@keyframes pl-y2 { 0%, 13% { transform: rotateY(0deg); } 24%, 83% { transform: rotateY(90deg); } 92%, 100% { transform: rotateY(0deg); } }
@keyframes pl-y3 { 0%, 17% { transform: rotateY(0deg); } 28%, 84% { transform: rotateY(90deg); } 93%, 100% { transform: rotateY(0deg); } }
@keyframes pl-cou { 0%, 22% { transform: rotateX(0deg); } 32%, 80% { transform: rotateX(90deg); } 89%, 100% { transform: rotateX(0deg); } }
@keyframes pl-fond { 0%, 25% { transform: rotateX(0deg); } 35%, 80% { transform: rotateX(-90deg); } 89%, 100% { transform: rotateX(0deg); } }

/* Mode « tourne » */
.m-tourne { animation: tourne var(--v, 22s) linear infinite; }
.m-tourne.sens-inverse { animation-direction: reverse; }
@keyframes tourne { from { transform: rotateX(-16deg) rotateY(0deg); } to { transform: rotateX(-16deg) rotateY(360deg); } }
.m-tire { cursor: grab; }
.sol { position: absolute; left: 50%; width: 62%; height: 26px; margin-left: -31%; top: calc(50% + var(--H) / 2 - 6px); background: radial-gradient(50% 50% at 50% 50%, rgba(11,11,20,.28), transparent 70%); pointer-events: none; }
.sol-sombre { background: radial-gradient(50% 50% at 50% 50%, rgba(91,102,255,.35), transparent 70%); }

/* Peaux des boîtes (graphismes) */
.peau { font-family: var(--f-texte); }
.pa-the { background: var(--bleu); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 6% 10%; text-align: center; }
.pa-the i { position: absolute; left: 50%; top: 22%; width: 54%; aspect-ratio: 1; margin-left: -27%; border: 1.6px solid rgba(255,255,255,.9); border-radius: 50%; }
.pa-the b { font: 850 1.02em/0.95 var(--f-titre); font-stretch: 60%; text-transform: uppercase; }
.pa-the small { font-size: .42em; font-weight: 600; opacity: .85; margin-top: .5em; }
.kraft { background: var(--kraft); }
.kraft-c { background: #D7BB97; }
.vert-txt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-weight: 700; font-size: .36em; color: rgba(11,11,20,.6); }
.lignes { position: absolute; left: 12%; right: 12%; top: 10%; display: grid; gap: 6%; }
.lignes span { height: 3px; background: rgba(11,11,20,.3); border-radius: 2px; }
.lignes span:nth-child(2) { width: 82%; } .lignes span:nth-child(4) { width: 64%; }
.code { position: absolute; left: 25%; right: 25%; bottom: 10%; height: 14%; background: repeating-linear-gradient(90deg, var(--encre) 0 2px, transparent 2px 3px, var(--encre) 3px 4px, transparent 4px 7px); }
.bleu-plein { background: var(--bleu); }
.encre-plein { background: var(--encre); }
.papier-plein { background: #F7F3EC; }
/* étui (sérum) */
.pa-etui { background: var(--encre); color: #fff; }
.pa-etui b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); font: 850 1.6em/1 var(--f-titre); font-stretch: 60%; white-space: nowrap; }
.pa-etui i { position: absolute; left: 50%; bottom: 8%; width: 18%; aspect-ratio: 1; margin-left: -9%; border-radius: 50%; background: var(--bleu-c); }
/* cube (bougie) */
.pa-cube { background: var(--kraft); display: grid; place-items: center; }
.pa-cube span { width: 62%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--bleu); color: var(--bleu); display: grid; place-items: center; font: 850 .62em/1 var(--f-titre); font-stretch: 60%; text-transform: uppercase; text-align: center; }
.kraft-raye { background: var(--kraft) repeating-linear-gradient(135deg, transparent 0 9px, rgba(31,43,255,.22) 9px 11px); }
/* coffret (chocolats) */
.pa-coffret { background: #F7F3EC; display: grid; place-items: center; color: var(--encre); font: 850 .9em/1 var(--f-titre); font-stretch: 60%; text-transform: uppercase; }
.pc-coffret { background: var(--bleu); color: #fff; display: grid; place-items: center; }
.pc-coffret b { font: 850 2.2em/1 var(--f-titre); font-stretch: 60%; }
.pc-coffret::before { content: ""; position: absolute; inset: 8%; border: 1.5px solid rgba(255,255,255,.55); border-radius: 4px; }
/* fond automatique (café) */
.pa-auto { background: #F7F3EC; color: var(--bleu); display: flex; flex-direction: column; justify-content: flex-end; padding: 10%; }
.pa-auto b { font: 850 1.5em/.9 var(--f-titre); font-stretch: 60%; text-transform: uppercase; }
.pa-auto small { color: var(--encre); font-weight: 600; font-size: .32em; margin-top: .6em; }
.pa-auto::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; height: 38%; background: radial-gradient(circle, var(--bleu) 1.4px, transparent 1.8px) 0 0 / 9px 9px; opacity: .8; }

/* ---------- Bande des marques (fictives) ---------- */
.bande { position: relative; z-index: 2; padding: 34px 0 30px; margin-top: 30px; }
.bande-t { text-align: center; font-size: 14.5px; font-weight: 500; color: var(--gris); }
.bande-fenetre { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.bande-piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
.bande-liste { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.bande-liste li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #3B3944; height: 44px; }
.lg-m { display: inline-block; flex: none; }
.lg-a { font: 600 22px/1 var(--f-texte); letter-spacing: -.02em; }
.lg-a .lg-m { width: 20px; height: 20px; border-radius: 50% 50% 0 50%; background: #3B3944; }
.lg-b { font: 900 28px/1 var(--f-titre); font-stretch: 130%; letter-spacing: .02em; }
.lg-b .lg-m { display: none; }
.lg-c { font: 500 21px/1 var(--f-texte); font-style: italic; letter-spacing: -.01em; }
.lg-c .lg-m { width: 18px; height: 18px; border: 2.5px solid #3B3944; border-radius: 50%; }
.lg-d { font: 300 32px/1 var(--f-titre); font-stretch: 90%; letter-spacing: -.03em; }
.lg-d .lg-m { width: 6px; height: 22px; background: #3B3944; border-radius: 3px 3px 1px 1px; }
.lg-e { font: 700 16px/1 var(--f-texte); text-transform: uppercase; letter-spacing: .01em; }
.lg-e .lg-m { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 65% 40%, var(--papier) 0 7px, #3B3944 7.5px); }
.lg-f { font: 850 30px/1 var(--f-titre); font-stretch: 50%; }
.lg-f .lg-m { width: 20px; height: 20px; background: #3B3944; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-g { font: 600 20px/1 var(--f-texte); letter-spacing: .01em; }
.lg-g .lg-m { width: 22px; height: 14px; background: #3B3944; border-radius: 0 0 11px 11px; }
.lg-h { font: 800 22px/1 var(--f-titre); font-stretch: 75%; text-transform: uppercase; }
.lg-h .lg-m { width: 18px; height: 18px; border: 2.5px solid #3B3944; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Le pliage pas à pas (scène liée au défilement) ---------- */
.pliage { position: relative; height: 320vh; }
.pliage-colle { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pliage-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.pliage-etapes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 6px; counter-reset: none; }
.pliage-etapes li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 18px; border-radius: 16px; opacity: .38; transition: opacity .45s var(--survol), background-color .45s var(--survol), transform .45s var(--survol); }
.pliage-etapes li.on { opacity: 1; background: #fff; box-shadow: 0 18px 36px -24px rgba(11,11,20,.45); transform: translateX(8px); }
.pliage-etapes span { font-weight: 600; font-size: 14px; color: var(--bleu); background: var(--bleu-p); height: 28px; border-radius: 999px; display: grid; place-items: center; margin-top: 2px; }
.pliage-etapes h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.pliage-etapes p { color: var(--gris); font-size: 16px; margin-top: 2px; }
.pliage-barre { height: 3px; background: var(--filet); border-radius: 2px; margin-top: 28px; max-width: 420px; overflow: hidden; }
.pliage-barre i { display: block; height: 100%; background: var(--bleu); transform: scaleX(0); transform-origin: 0 50%; }
.pliage-scene { position: relative; height: min(76vh, 640px); border-radius: 30px; background: radial-gradient(70% 60% at 50% 45%, #fff, var(--papier-2)); box-shadow: inset 0 0 0 1px var(--filet); overflow: hidden; }
.pliage-scene::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(11,11,20,.10) 1px, transparent 1.3px) 0 0 / 20px 20px; }
.pliage-cote { position: absolute; left: 20px; bottom: 18px; font-size: 13.5px; font-weight: 600; color: var(--bleu); background: #fff; padding: 6px 12px; border-radius: 999px; }

/* ---------- Avis (marques fictives) ---------- */
.note-globale { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; color: var(--gris); font-size: 17px; }
.note-globale b { color: var(--encre); }
.etoiles { display: inline-flex; gap: 2px; color: var(--bleu); }
.etoiles svg { width: 17px; height: 17px; }
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; height: 640px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.avis-col { overflow: hidden; }
.avis-piste { display: grid; gap: 18px; animation: avis-monte 38s linear infinite; }
.avis-double { display: grid; gap: 18px; }
.c2 .avis-piste { animation-duration: 46s; animation-direction: reverse; }
.c3 .avis-piste { animation-duration: 42s; }
.avis-grille:hover .avis-piste { animation-play-state: paused; }
@keyframes avis-monte { to { transform: translateY(calc(-50% - 9px)); } }
.avis { background: #fff; border: 1px solid #E6E0D5; border-radius: 22px; padding: 24px 24px 22px; }
.avis blockquote { margin: 14px 0 0; font-size: 16.5px; line-height: 1.5; color: #24222C; }
.avis figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14.5px; color: var(--gris); }
.avis figcaption b { display: block; color: var(--encre); font-weight: 600; font-size: 15px; }
.avis-ini { width: 38px; height: 38px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 600; font-size: 13.5px; display: grid; place-items: center; flex: none; }
.avis:nth-child(3n+2) .avis-ini { background: var(--bleu); }
.etoiles + span b { color: var(--encre); }

/* ---------- Soucis (collage) ---------- */
.soucis { overflow: hidden; }
.soucis::before { content: ""; position: absolute; left: 50%; top: 58%; width: 760px; height: 420px; margin: -210px 0 0 -380px; background: radial-gradient(50% 50% at 50% 50%, rgba(91, 102, 255, .28), transparent 70%); pointer-events: none; }
.collage { position: relative; max-width: 1000px; height: 360px; margin: 64px auto 0; }
.souci {
  position: absolute; left: var(--x); top: var(--y);
  display: inline-flex; align-items: center; gap: 14px;
  height: 62px; padding: 0 26px 0 12px;
  border-radius: 999px;
  font-size: 21px; font-weight: 600; letter-spacing: -.01em;
  transform: rotate(var(--r));
  transition: transform .4s var(--survol);
  white-space: nowrap;
  box-shadow: 0 14px 30px -18px rgba(11,11,20,.5);
}
.souci:hover { transform: rotate(var(--r)) scale(1.04); }
.s-blanc { background: #fff; color: var(--encre); }
.s-encre { background: var(--encre); color: #fff; }
.souci-x { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--bleu); color: #fff; display: grid; place-items: center; }
.souci-x svg { width: 20px; height: 20px; }

/* ---------- Bande sombre : outils ---------- */
.sombre {
  position: relative;
  margin: 0 12px;
  background: var(--encre);
  color: #fff;
  border-radius: 40px;
  padding: var(--section) 0;
  overflow: hidden;
}
.sombre::before { content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 560px; margin-left: -550px; background: radial-gradient(50% 50% at 50% 50%, rgba(31, 43, 255, .32), transparent 70%); pointer-events: none; }
.sombre .chapeau { color: var(--gris-s); }
.sombre .accent { color: #7F89FF; }
.outils { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 64px; position: relative; }
.outil {
  background: var(--encre-2);
  border: 1px solid var(--contour);
  border-radius: 22px;
  padding: 26px 28px 30px;
  transition: transform .4s var(--survol), border-color .4s var(--survol);
  display: flex; flex-direction: column;
}
.outil:hover { transform: translateY(-4px); border-color: rgba(91, 102, 255, .5); }
.outil h3 { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; margin-top: 22px; }
.outil p { color: var(--gris-s); font-size: 16px; margin-top: 8px; max-width: 34em; }
.o-pliage { grid-column: span 4; }
.o-cotes { grid-column: span 2; }
.o-zones, .o-export { grid-column: span 3; }
.o-valid { grid-column: span 6; flex-direction: row; align-items: center; gap: 40px; padding: 34px 40px; }
.o-valid h3 { margin-top: 0; }
.o-texte { flex: 1 1 40%; }
.o-scene { position: relative; height: 320px; border-radius: 16px; background: radial-gradient(90% 90% at 50% 40%, #232338, #14141E 70%); overflow: hidden; touch-action: pan-y; }
.o-astuce { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: #DADAF0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.o-astuce svg { width: 16px; height: 16px; color: #7F89FF; }
.o-ui { position: relative; height: 320px; border-radius: 16px; background: var(--encre-3); overflow: hidden; }
.o-liste { display: grid; gap: 8px; margin-top: 20px; }
.o-liste li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.o-liste svg { width: 20px; height: 20px; color: #fff; background: var(--bleu); border-radius: 50%; padding: 2px; flex: none; }

/* outil : cotes */
.cotes-champs { position: absolute; left: 16px; right: 16px; top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cotes-champs span { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 10px; border-radius: 9px; background: #262636; border: 1px solid #34344A; font-weight: 600; font-size: 15px; }
.cotes-champs b { color: #7F89FF; }
.cotes-champs em { font-style: normal; display: inline-block; transition: opacity .25s, transform .25s; }
.cotes-champs em.change { opacity: 0; transform: translateY(-6px); }
.cotes-patrons { position: absolute; left: 16px; right: 16px; top: 70px; bottom: 16px; }
.cp { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; opacity: 0; transform: scale(.86) rotate(-4deg); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.cp.on { opacity: 1; transform: none; }
.o-ui .pt-fond { fill: #F7F3EC; }

/* outil : zones sûres */
.zn-plan { position: absolute; left: 50%; top: 50%; width: 300px; height: 200px; margin: -120px 0 0 -150px; background: var(--kraft); border-radius: 4px; }
.zn-pli { position: absolute; top: -12px; bottom: -12px; left: 58%; border-left: 2px dashed #fff; }
.zn-pli::after { content: ""; position: absolute; inset: 0 -2px; border-left: 2px dashed var(--bleu); transform: translateY(5px); }
.zn-texte { position: absolute; left: 44%; top: 38%; font: 700 17px/1.2 var(--f-texte); color: var(--encre); padding: 6px 8px; outline: 2px dashed var(--bleu); outline-offset: 2px; animation: zn-texte 6s var(--ease) infinite; white-space: nowrap; }
@keyframes zn-texte { 0%, 40% { transform: translateX(0); } 55%, 92% { transform: translateX(-104px); } 100% { transform: translateX(0); } }
.zn-bulle { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.zn-bulle svg { width: 24px; height: 24px; border-radius: 50%; padding: 3px; }
.zn-alerte { background: #fff; color: var(--encre); animation: zn-a 6s var(--ease) infinite; }
.zn-alerte svg { background: var(--encre); color: #fff; }
.zn-ok { background: var(--bleu); color: #fff; opacity: 0; animation: zn-b 6s var(--ease) infinite; }
.zn-ok svg { background: #fff; color: var(--bleu); }
@keyframes zn-a { 0%, 42% { opacity: 1; transform: translateX(-50%); } 50%, 94% { opacity: 0; transform: translateX(-50%) translateY(8px); } 100% { opacity: 1; transform: translateX(-50%); } }
@keyframes zn-b { 0%, 50% { opacity: 0; transform: translateX(-50%) translateY(8px); } 58%, 92% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%) translateY(8px); } }

/* outil : export en calques (isométrie 2D) */
.ex-pile { position: absolute; inset: 0; }
.ex-f { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -150px; border-radius: 12px; }
.ex-l { position: absolute; left: 50%; top: 50%; margin: -12px 0 0 44px; height: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #E6E6F2; white-space: nowrap; }
.ex-l::before { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,.4); }
.ex-f.ex-1 { z-index: 1; background: transparent; border: 2px solid #fff; animation: ex-f1 5s var(--ease) infinite; }
.ex-f.ex-2 { z-index: 2; background: repeating-linear-gradient(90deg, transparent 0 36px, rgba(127,137,255,.95) 36px 38px), rgba(255,255,255,.03); border: 1.5px dashed rgba(127,137,255,.7); animation: ex-f2 5s var(--ease) infinite; }
.ex-f.ex-3 { z-index: 3; background: radial-gradient(circle at 42% 46%, rgba(255,255,255,.6) 0 26px, transparent 27px), rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.3); animation: ex-f3 5s var(--ease) infinite; }
.ex-f.ex-4 { z-index: 4; background: linear-gradient(135deg, var(--bleu-c), var(--bleu) 50%, var(--bleu-n)); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset; animation: ex-f4 5s var(--ease) infinite; }
.ex-l.ex-1 { animation: ex-l1 5s var(--ease) infinite; }
.ex-l.ex-2 { animation: ex-l2 5s var(--ease) infinite; }
.ex-l.ex-3 { animation: ex-l3 5s var(--ease) infinite; }
.ex-l.ex-4 { animation: ex-l4 5s var(--ease) infinite; }
@keyframes ex-f1 { 0%, 12%, 96%, 100% { transform: translateY(15px) scaleY(.55) rotate(45deg); } 40%, 78% { transform: translateY(84px) scaleY(.55) rotate(45deg); } }
@keyframes ex-f2 { 0%, 12%, 96%, 100% { transform: translateY(5px) scaleY(.55) rotate(45deg); } 40%, 78% { transform: translateY(28px) scaleY(.55) rotate(45deg); } }
@keyframes ex-f3 { 0%, 12%, 96%, 100% { transform: translateY(-5px) scaleY(.55) rotate(45deg); } 40%, 78% { transform: translateY(-28px) scaleY(.55) rotate(45deg); } }
@keyframes ex-f4 { 0%, 12%, 96%, 100% { transform: translateY(-15px) scaleY(.55) rotate(45deg); } 40%, 78% { transform: translateY(-84px) scaleY(.55) rotate(45deg); } }
@keyframes ex-l1 { 0%, 12%, 96%, 100% { transform: translateY(15px); opacity: 0; } 40%, 78% { transform: translateY(84px); opacity: 1; } }
@keyframes ex-l2 { 0%, 12%, 96%, 100% { transform: translateY(5px); opacity: 0; } 40%, 78% { transform: translateY(28px); opacity: 1; } }
@keyframes ex-l3 { 0%, 12%, 96%, 100% { transform: translateY(-5px); opacity: 0; } 40%, 78% { transform: translateY(-28px); opacity: 1; } }
@keyframes ex-l4 { 0%, 12%, 96%, 100% { transform: translateY(-15px); opacity: 0; } 40%, 78% { transform: translateY(-84px); opacity: 1; } }

/* outil : validation */
.o-ui-valid { flex: 1 1 60%; height: 300px; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 24px; background: radial-gradient(80% 90% at 30% 50%, #262640, var(--encre-3)); }
.vl-face { position: relative; width: 150px; height: 230px; background: var(--bleu); border-radius: 4px; transform: rotate(-3deg); box-shadow: 0 30px 50px -24px rgba(0,0,0,.8); flex: none; }
.vl-rond { position: absolute; left: 50%; top: 20%; width: 76px; height: 76px; margin-left: -38px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; }
.vl-titre { position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; color: #fff; font: 850 30px/.92 var(--f-titre); font-stretch: 60%; }
.vl-epingle { position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; background: #fff; color: var(--bleu); font-weight: 700; font-size: 14px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.35); animation: epingle 6s var(--ressort) infinite; }
.vl-e1 { left: 64%; top: 14%; }
.vl-e2 { left: 8%; top: 60%; animation-delay: .4s; }
@keyframes epingle { 0%, 6% { transform: scale(0); } 14%, 100% { transform: scale(1); } }
.vl-fil { display: grid; gap: 10px; width: 270px; }
.vl-msg { background: #262636; border: 1px solid #34344A; border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 14.5px; color: #E6E6F2; animation: msg 6s var(--ease) infinite; }
.vl-msg b { display: block; font-size: 12px; color: #A3A1B3; font-weight: 600; margin-bottom: 2px; }
.vl-moi { border-radius: 14px 14px 4px 14px; background: rgba(31,43,255,.25); border-color: rgba(127,137,255,.45); margin-left: 30px; animation-name: msg2; }
.vl-tampon { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 8px; border-radius: 999px; background: #fff; color: var(--bleu); font-weight: 700; font-size: 14.5px; transform: rotate(-3deg); animation: tampon 6s var(--ressort) infinite; }
.vl-tampon svg { width: 24px; height: 24px; background: var(--bleu); color: #fff; border-radius: 50%; padding: 3px; }
@keyframes msg { 0%, 10% { opacity: 0; transform: translateY(10px); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes msg2 { 0%, 34% { opacity: 0; transform: translateY(10px); } 42%, 100% { opacity: 1; transform: none; } }
@keyframes tampon { 0%, 58% { opacity: 0; transform: rotate(-14deg) scale(.4); } 66%, 100% { opacity: 1; transform: rotate(-3deg) scale(1); } }

/* ---------- Chiffres ---------- */
.chiffres { overflow: hidden; padding-bottom: calc(var(--section) + 20px); }
.papier-chiffres { top: 120px; height: 760px; }
.chiffres .wrap { z-index: 2; }
.chiffres-carte {
  position: relative;
  max-width: 940px; margin: 64px auto 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 80px -40px rgba(11,11,20,.4);
  padding: 10px 0;
}
.ch-rang { display: grid; grid-template-columns: 170px 64px 1fr; align-items: center; gap: 26px; padding: 30px 40px 30px var(--pl); }
.ch-rang:nth-child(1) { --pl: 40px; }
.ch-rang:nth-child(2) { --pl: 100px; }
.ch-rang:nth-child(3) { --pl: 160px; }
.ch-rang + .ch-rang { border-top: 1px solid var(--filet); }
.chiffre-n { font-size: 96px; font-weight: 400; line-height: 1; letter-spacing: -.05em; color: var(--bleu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chiffre-n small { font-size: .42em; letter-spacing: -.02em; }
.ch-filet { width: 64px; height: 2px; background: var(--bleu); transform-origin: 0 50%; }
.ch-rang h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.ch-rang p { color: var(--gris); font-size: 17px; margin-top: 2px; }

/* ---------- Méthode ---------- */
.etapes { display: grid; gap: 26px; margin-top: 70px; max-width: 980px; margin-left: auto; margin-right: auto; }
.etape { position: relative; width: min(600px, 100%); background: #fff; border-radius: 18px; padding: 30px 32px 26px; box-shadow: 0 24px 48px -24px rgba(11,11,20,.45); transform: rotate(var(--r)); transition: transform .4s var(--survol), box-shadow .4s var(--survol); }
.etape:nth-child(2) { margin-left: 120px; }
.etape:nth-child(3) { margin-left: 240px; }
.etape:hover { transform: rotate(var(--r)) translateY(-6px); box-shadow: 0 32px 56px -24px rgba(11,11,20,.5); }
.etape-n { font-weight: 600; font-size: 14px; color: var(--bleu); background: var(--bleu-p); padding: 4px 10px; border-radius: 999px; }
.etape h3 { font-size: 40px; line-height: .95; font-weight: 820; color: var(--bleu); margin-top: 14px; font-stretch: 62%; }
.etape p { color: var(--gris); margin-top: 10px; max-width: 30em; }
.etape strong { color: var(--encre); font-weight: 600; }
.etape .meta { font-size: 14.5px; font-weight: 500; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--filet); color: var(--gris); }
.etape-capture { position: absolute; right: -96px; top: -30px; margin-top: 0; display: flex; align-items: center; gap: 10px; background: var(--encre); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(11,11,20,.7); transform: rotate(-5deg); animation: flotte 3s ease-in-out infinite alternate; white-space: nowrap; }
.etape-capture svg { width: 22px; height: 22px; color: #7F89FF; flex: none; }
.cap-1 { flex-direction: column; align-items: flex-start; gap: 6px; }
.cap-t { font-size: 12px; color: var(--gris-s); }
.cap-champs { display: flex; gap: 6px; }
.cap-champs i { font-style: normal; background: #262636; border: 1px solid #34344A; padding: 4px 8px; border-radius: 7px; }
.cap-2 { animation-delay: -1s; }
.cap-3 span { display: grid; }
.cap-3 em { font-style: normal; font-size: 12px; color: var(--gris-s); font-weight: 500; }
.cap-3 { animation-delay: -2s; }
@keyframes flotte { from { translate: 0 0; } to { translate: 0 -6px; } }

/* ---------- Vitrine ---------- */
.etagere { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 70px; padding-bottom: 20px; }
.etagere::after { content: ""; position: absolute; left: -2%; right: -2%; top: 300px; height: 18px; background: linear-gradient(180deg, #E1DBCF, #D2CBBD); border-radius: 4px; box-shadow: 0 22px 30px -16px rgba(11,11,20,.35); z-index: 0; }
.etagere-place { position: relative; z-index: 1; }
.etagere-scene { position: relative; height: 330px; }
.etagere-scene .sol { top: auto; bottom: 18px; width: 70%; margin-left: -35%; z-index: 0; }
.etagere-scene .boite { top: auto; bottom: 40px; margin-top: 0; }
.etagere figcaption { text-align: center; padding-top: 22px; display: grid; gap: 2px; }
.etagere figcaption b { font-size: 18px; font-weight: 600; }
.etagere figcaption span { font-size: 14.5px; color: var(--gris); font-variant-numeric: tabular-nums; }

/* ---------- Tarifs ---------- */
.h2-ruban { line-height: 1.02; }
.prix-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; align-items: start; }
.prix { position: relative; background: var(--encre-2); color: #fff; border: 1px solid var(--contour); border-radius: 30px; padding: 34px 32px; }
.prix-mis { background: var(--encre); border-color: var(--bleu); box-shadow: 0 30px 60px -30px rgba(31, 43, 255, .7); }
.prix h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.prix-pour { color: var(--gris-s); font-size: 16px; margin-top: 4px; }
.prix-montant { display: flex; align-items: flex-end; gap: 10px; margin: 26px 0 24px; }
.prix-n { font-size: 88px; font-weight: 400; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.prix-u { font-size: 17px; font-weight: 600; line-height: 1.15; padding-bottom: 2px; }
.prix-u small { font-size: 14.5px; font-weight: 500; color: var(--gris-s); }
.prix-filet { display: block; height: 1px; background: var(--contour); margin: 26px 0 22px; transform-origin: 0 50%; }
.coches { display: grid; gap: 11px; }
.coches li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.4; color: #E6E6F2; }
.coches svg { width: 21px; height: 21px; flex: none; color: #fff; background: var(--bleu); border-radius: 50%; padding: 2.5px; margin-top: 0; }
.prix-etiquette { position: absolute; top: -16px; right: 26px; background: #fff; color: var(--bleu); font-weight: 700; font-size: 14.5px; padding: 7px 14px; border-radius: 999px; transform: rotate(4deg); box-shadow: 0 10px 22px -10px rgba(31,43,255,.6); }

/* ---------- Questions ---------- */
.questions-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.questions-tete { position: sticky; top: 110px; }
.questions-tete p { color: var(--gris); margin: 20px 0 28px; max-width: 22em; }
.q-liste { display: grid; gap: 12px; }
.q { background: var(--encre); color: #fff; border-radius: 16px; transition: background-color .3s var(--survol); }
.q:hover { background: #16162A; }
.q h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.q-bouton { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; cursor: pointer; border-radius: 16px; }
.q-bouton:focus-visible { outline: 3px solid #7F89FF; outline-offset: 3px; }
.q-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .45s var(--ressort), background-color .3s; }
.q-plus::before, .q-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; background: #fff; border-radius: 1px; }
.q-plus::after { transform: rotate(90deg); }
.q-bouton[aria-expanded="true"] .q-plus { transform: rotate(135deg); background: var(--bleu); }
.q-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.q-r-in { overflow: hidden; }
.q-r p { color: var(--gris-s); font-size: 16px; padding: 0 28px 24px; max-width: 40em; opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--survol), transform .45s var(--ease); }
.q.ouvert .q-r { grid-template-rows: 1fr; }
.q.ouvert .q-r p { opacity: 1; transform: none; }
.js-off .q-r { grid-template-rows: 1fr; }
.js-off .q-r p { opacity: 1; transform: none; }
.js-off .q-plus { display: none; }

/* ---------- Appel final ---------- */
.fin { position: relative; padding: 140px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--papier), #E9EAFB 60%, var(--papier)); }
.papier-fin { top: 0; height: 100%; opacity: .95; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.fin-in { z-index: 2; }
.fin .btn-grand { margin-top: 34px; }
.fin-patrons { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-top: 80px; height: 260px; overflow: hidden; padding: 0 20px; }
.fp { flex: none; width: 200px; height: 290px; background: #fff; border-radius: 16px; box-shadow: 0 24px 44px -20px rgba(11,11,20,.45); transform: translateY(40px) rotate(var(--r)); display: flex; flex-direction: column; align-items: center; padding: 22px 18px; gap: 14px; transition: transform .5s var(--survol); }
.fp:hover { transform: translateY(20px) rotate(var(--r)); }
.fp svg { width: 100%; height: 170px; }
.fp span { font-weight: 600; font-size: 15px; }
.fp-grand { width: 230px; height: 320px; }
.fp-grand svg { height: 200px; }
.fp .pt-fond { fill: #F7F3EC; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #fff; padding-top: 80px; overflow: hidden; position: relative; }
.pied-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pied .logo-mot { color: #fff; }
.pied-marque p { color: var(--gris-s); margin-top: 16px; max-width: 20em; font-size: 16px; }
.pied nav { display: grid; gap: 10px; align-content: start; }
.pied nav h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.pied nav a { color: var(--gris-s); text-decoration: none; font-size: 15.5px; }
.pied nav a:hover { color: #fff; }
.pied-geant { position: relative; height: 420px; margin-top: 50px; overflow: hidden; }
.papier-pied { top: 40px; height: 100%; filter: blur(14px); opacity: .8; }
.geant { position: absolute; left: 50%; bottom: -100px; transform: translateX(-50%); font-size: 460px; line-height: 1; font-weight: 900; font-stretch: 80%; letter-spacing: -.03em; color: #fff; text-transform: none; z-index: 2; }
.geant-i { position: relative; }
.geant-coin { position: absolute; right: .02em; top: .08em; width: .13em; height: .13em; background: linear-gradient(135deg, var(--bleu) 50%, var(--bleu-n) 50%); clip-path: polygon(0 0, 100% 0, 100% 45%, 55% 100%, 0 100%); }
.fictif { position: relative; z-index: 3; text-align: center; font-size: 13px; color: var(--gris-s); padding: 18px 20px 22px; background: var(--encre); }

/* ---------- Apparitions ---------- */
.js .apparait { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .apparait.vu { opacity: 1; transform: none; }
.js .outil.apparait.vu:hover { transform: translateY(-4px); }
.js .souci { opacity: 0; transform: rotate(var(--r)) scale(.85); transition: opacity .6s var(--ease), transform .8s var(--ressort); transition-delay: calc(var(--i, 0) * 60ms); }
.js .collage.vu .souci { opacity: 1; transform: rotate(var(--r)); }
.js .collage.vu .souci:hover { transform: rotate(var(--r)) scale(1.04); transition-delay: 0s; }
.js .etape { opacity: 0; transform: translateY(80px) rotate(calc(var(--r) * 4)) scale(.96); transition: opacity .9s var(--ease), transform 1.1s var(--ease), box-shadow .4s var(--survol); }
.js .etape.vu { opacity: 1; transform: rotate(var(--r)); }
.js .etape.vu:hover { transform: rotate(var(--r)) translateY(-6px); }
.js .prix { opacity: 0; transform: translateY(80px) rotate(var(--r)); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .prix.vu { opacity: 1; transform: none; }
.js .prix .coches li { opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.js .prix.vu .coches li { opacity: 1; transform: none; }
.js .prix .prix-filet, .js .ch-filet { transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.js .prix.vu .prix-filet, .js .vu .ch-filet { transform: scaleX(1); }
.js .prix .prix-etiquette { transform: rotate(-12deg) scale(0); transition: transform .6s var(--ressort) .7s; }
.js .prix.vu .prix-etiquette { transform: rotate(4deg) scale(1); }
.js .ch-rang { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .vu .ch-rang { opacity: 1; transform: none; }
.js .vu .ch-rang:nth-child(2) { transition-delay: .14s; }
.js .vu .ch-rang:nth-child(3) { transition-delay: .28s; }
.js .q.apparait { transform: translateX(40px); }
.js .q.apparait.vu { transform: none; }
.js .fp { opacity: 0; transform: translateY(160px) rotate(calc(var(--r) * 2)); transition: opacity .8s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d) * 90ms); }
.js .fin-patrons.vu .fp { opacity: 1; transform: translateY(40px) rotate(var(--r)); }
.js .fin-patrons.vu .fp:hover { transform: translateY(20px) rotate(var(--r)); transition-delay: 0s; }

/* Entrée du haut de page */
.entree .entete { transform: translateY(-24px); opacity: 0; }
.entree .e-entree { opacity: 0; transform: translateY(18px); }
.entree .mot { opacity: 0; transform: translateY(90%) rotate(4deg); }
.entree .ruban-h1 { opacity: 0; transform: scale(.3) rotate(-14deg); }
.entree .e-app { opacity: 0; transform: translateY(80px) scale(.94); }
.entree .e-saut { opacity: 0; transform: scale(.9); }
.entree .papier-haut { opacity: 0; }
.entete, .e-entree, .mot, .ruban-h1, .e-app, .e-saut, .papier-haut { transition: opacity .9s var(--ease), transform 1s var(--ease); }
.mot { transition-delay: calc(.35s + var(--i) * 70ms); transition-duration: .8s, 1s; }
.entete { transition-delay: .1s; }
.infos { transition-delay: .2s; }
.ruban-h1 { transition: opacity .4s var(--ease) .75s, transform .9s var(--ressort) .75s; }
.haut-sub { transition-delay: 1.0s; }
.atouts { transition-delay: 1.1s; }
.e-saut { transition: opacity .5s var(--ease) 1.45s, transform .7s var(--ressort) 1.45s; }
.e-app { transition-delay: 1.25s; transition-duration: 1s, 1.3s; }
.papier-haut { transition: opacity 1.6s var(--ease) 1.1s; }
.fini .entete, .fini .e-entree, .fini .mot, .fini .ruban-h1, .fini .e-app, .fini .e-saut { transition: none; }

/* Boucles hors écran : en pause */
.hors *, .hors { animation-play-state: paused !important; }

/* ---------- Tailles d'écran ---------- */
@media (max-width: 1180px) {
  .etape-capture { right: -24px; top: -34px; }
  .app-corps { grid-template-columns: 190px 1fr 290px; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .entete-actions { margin-left: auto; }
  .app-corps { grid-template-columns: 1fr 300px; }
  .app-gauche { display: none; }
  .outils { grid-template-columns: 1fr 1fr; }
  .o-pliage, .o-valid { grid-column: span 2; }
  .o-cotes, .o-zones, .o-export { grid-column: span 1; }
  .o-cotes { grid-column: span 2; }
  .prix-grille { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 30px; }
  .questions-in { grid-template-columns: 1fr; gap: 40px; }
  .avis-grille { grid-template-columns: 1fr 1fr; }
  .avis-col.c3 { display: none; }
  .questions-tete { position: static; }
  .etagere { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .etagere::after { display: none; }
  .etape:nth-child(2) { margin-left: 60px; }
  .etape:nth-child(3) { margin-left: 120px; }
  .collage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .souci { position: relative; left: auto; top: auto; }
}
@media (max-width: 640px) {
  :root { --gout: 20px; --section: 72px; }
  body { font-size: 16px; }
  .entete-in { height: 62px; gap: 12px; }
  .lien-discret { display: none; }
  .logo-mot { font-size: 30px; }
  .btn-sm { --h: 42px; padding: 0 16px; font-size: 14.5px; }
  .haut { padding-top: 30px; }
  .infos { font-size: 14px; gap: 6px 12px; }
  .infos .sep { display: none; }
  .infos span:nth-of-type(3) { display: none; }
  .h1 { font-size: 54px; margin-top: 20px; }
  .h1-ligne { display: inline; }
  .ruban-h1 { font-size: .84em; margin: .14em auto 0; }
  .h2 { font-size: 44px; }
  .ruban-h2 { font-size: .8em; margin-top: .12em; }
  .haut-sub, .chapeau { font-size: 16.5px; }
  .atouts { flex-direction: column; align-items: center; gap: 10px; }
  .haut-btns { flex-direction: column; align-items: stretch; }
  .haut-btns .btn { width: 100%; }
  .app { margin-top: 44px; border-radius: 14px; }
  .app-barre { gap: 10px; padding: 0 10px 0 12px; height: 48px; }
  .app-fichier em, .app-zoom, .app-bascule { display: none; }
  .app-export { margin-left: auto; height: 30px; padding: 0 11px; font-size: 12px; }
  .app-export svg { display: none; }
  .app-corps { grid-template-columns: 1fr; height: auto; }
  .app-plan { height: 330px; padding-bottom: 46px; }
  .app-droite { border-left: 0; border-top: 1px solid #ECE7DD; }
  .app-apercu { height: 300px; flex: none; }
  .bande { padding: 26px 0 20px; }
  .bande-t { padding: 0 20px; font-size: 14px; }
  .bande-liste { gap: 40px; padding-right: 40px; }
  .pliage { height: 260vh; }
  .pliage-in { grid-template-columns: 1fr; gap: 14px; }
  .pliage-texte .h2 { font-size: 36px; }
  .pliage-texte .h2 br:first-of-type { display: none; }
  .pliage-etapes { margin-top: 14px; gap: 0; }
  .pliage-etapes li { display: none; padding: 12px 14px; transform: none; }
  .pliage-etapes li.on { display: grid; transform: none; }
  .pliage-barre { margin-top: 12px; }
  .pliage-scene { height: 46vh; border-radius: 22px; order: -1; }
  .avis-grille { grid-template-columns: 1fr; height: 560px; margin-top: 40px; }
  .avis-col.c2, .avis-col.c3 { display: none; }
  .collage { margin-top: 44px; }
  .souci { font-size: 16px; height: 52px; padding: 0 18px 0 8px; gap: 10px; white-space: normal; line-height: 1.25; max-width: 100%; }
  .souci-x { width: 34px; height: 34px; }
  .sombre { margin: 0 8px; border-radius: 28px; }
  .outils { grid-template-columns: 1fr; margin-top: 44px; gap: 14px; }
  .o-pliage, .o-cotes, .o-zones, .o-export, .o-valid { grid-column: span 1; }
  .outil { padding: 18px 18px 24px; }
  .outil h3 { font-size: 22px; }
  .o-valid { flex-direction: column; align-items: stretch; padding: 24px 18px; gap: 24px; }
  .o-scene, .o-ui { height: 280px; }
  .o-ui-valid { height: auto; flex-direction: column; gap: 22px; padding: 26px 16px; }
  .vl-fil { width: 100%; }
  .zn-plan { width: 260px; margin-left: -130px; }
  .ex-f { width: 120px; height: 120px; margin: -60px 0 0 -122px; }
  .ex-l { margin-left: 30px; font-size: 13px; }
  .ex-l::before { width: 18px; }
  .chiffres-carte { margin-top: 44px; }
  .ch-rang { grid-template-columns: 1fr; gap: 10px; padding: 26px 24px; }
  .ch-rang:nth-child(n) { --pl: 24px; }
  .chiffre-n { font-size: 64px; }
  .ch-filet { width: 48px; }
  .etapes { margin-top: 44px; gap: 40px; }
  .etape:nth-child(n) { margin-left: 0; }
  .etape { padding: 24px 22px 22px; }
  .etape h3 { font-size: 32px; }
  .etape-capture { position: relative; right: auto; top: auto; margin: 18px 0 0; display: inline-flex; }
  .etagere { margin-top: 40px; gap: 10px; }
  .etagere-scene { height: 230px; }
  .etagere-scene .boite { bottom: 30px; }
  .etagere-scene .sol { bottom: 10px; }
  .etagere figcaption { padding-top: 10px; }
  .etagere figcaption b { font-size: 16px; }
  .etagere figcaption span { font-size: 14px; }
  .prix-grille { margin-top: 50px; }
  .prix { padding: 28px 22px; border-radius: 24px; }
  .prix-n { font-size: 72px; }
  .q h3 { font-size: 18px; }
  .q-bouton { padding: 20px; }
  .q-r p { padding: 0 20px 20px; }
  .fin { padding-top: 90px; }
  .fin .btn-grand { width: 100%; --h: 58px; font-size: 17px; }
  .fin-patrons { justify-content: flex-start; gap: 12px; height: 200px; margin-top: 56px; }
  .fp { width: 150px; height: 220px; padding: 16px 12px; }
  .fp svg { height: 120px; }
  .fp-grand { width: 170px; height: 240px; }
  .fp-grand svg { height: 140px; }
  .pied { padding-top: 56px; }
  .pied-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pied-marque { grid-column: span 2; }
  .pied-geant { height: 190px; margin-top: 30px; }
  .geant { font-size: 50vw; bottom: -12vw; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait, .js .souci, .js .etape, .js .prix, .js .ch-rang, .js .fp, .js .prix .coches li,
  .entree .entete, .entree .e-entree, .entree .mot, .entree .ruban-h1, .entree .e-app, .entree .e-saut, .entree .papier-haut { opacity: 1 !important; }
  .js .apparait, .js .ch-rang, .js .prix, .js .prix .coches li, .entree .entete, .entree .e-entree, .entree .mot, .entree .e-app, .entree .e-saut { transform: none !important; }
  .js .souci, .js .etape { transform: rotate(var(--r)) !important; }
  .js .fp { transform: translateY(40px) rotate(var(--r)) !important; }
  .entree .ruban-h1 { transform: none !important; }
  .js .prix .prix-filet, .js .ch-filet { transform: none !important; }
  .js .prix .prix-etiquette { transform: rotate(4deg) !important; }
  .zn-ok { opacity: 0; }
  .vl-msg, .vl-tampon { opacity: 1; }
  .ex-f.ex-1 { transform: translateY(84px) scaleY(.55) rotate(45deg); } .ex-f.ex-2 { transform: translateY(28px) scaleY(.55) rotate(45deg); }
  .ex-f.ex-3 { transform: translateY(-28px) scaleY(.55) rotate(45deg); } .ex-f.ex-4 { transform: translateY(-84px) scaleY(.55) rotate(45deg); }
  .ex-l.ex-1 { transform: translateY(84px); } .ex-l.ex-2 { transform: translateY(28px); } .ex-l.ex-3 { transform: translateY(-28px); } .ex-l.ex-4 { transform: translateY(-84px); }
  .q.ouvert .q-r p { opacity: 1; transform: none; }
}
