/* Carreau : boules de pétanque sur mesure (marque fictive, essai de design Vyzuall). */

:root {
  --gravier: #F1EFEA;
  --gravier-2: #E7E3DA;
  --blanc: #FFFFFF;
  --encre: #0D0D0E;
  --texte-2: #57534C;
  --filet: #DCD8CE;
  --nuit: #121214;
  --nuit-2: #1C1C1F;
  --contour-nuit: #2E2E33;
  --texte-nuit: #B4B1AA;
  --jaune: #FFD21F;
  --jaune-clair: #FFE873;
  --ambre: #FFA800;
  --lueur: rgba(255, 196, 0, .55);
  --degrade: linear-gradient(100deg, var(--jaune-clair), var(--jaune) 45%, var(--ambre));

  --titre: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --elastique: cubic-bezier(.5, 1.8, .4, .8);

  --gouttiere: 40px;
  --section: 128px;
  --ombre-pose: 0 18px 40px -18px rgba(13, 13, 14, .35);
  --ombre-survol: 0 0 0 1px rgba(0, 0, 0, .03), 0 2px 6px rgba(0, 0, 0, .05), 0 12px 28px -8px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--gravier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--jaune); color: var(--encre); }

:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.section-nuit :focus-visible, .config :focus-visible, .prix :focus-visible, .pied :focus-visible, .faq-q :focus-visible { outline-color: var(--jaune); }

.saut {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.saut:focus { top: 12px; }

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

/* ---------- Titres ---------- */
.h1, .h2 {
  font-family: var(--titre);
  text-transform: uppercase;
  font-weight: 900;
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}
.h1 { font-size: clamp(56px, 7.8vw, 120px); display: flex; flex-direction: column; align-items: center; }
.h1 .ligne { display: block; }
.h1 .mot { display: inline-block; }
.h2 { font-size: clamp(44px, 5vw, 72px); font-weight: 800; line-height: .95; letter-spacing: .005em; }
.h2-gauche { text-align: left; }
.chapeau { max-width: 600px; margin: 22px auto 0; font-size: 19px; line-height: 1.5; color: var(--texte-2); text-wrap: pretty; }
.chapeau-gauche { margin-left: 0; }
.jaune { color: var(--jaune); }

/* Pastille : la fin du titre sort dans le jaune du cochonnet */
.pastille {
  display: inline-block;
  position: relative;
  padding: .1em .34em .04em;
  border-radius: 999px;
  background: var(--degrade);
  color: var(--encre);
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-2deg);
  box-shadow: 0 0 0 1px rgba(255, 168, 0, .5), 0 18px 40px -12px rgba(255, 170, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(180, 110, 0, .25);
}
.pastille > span { display: inline-block; }
.pastille-h1 { font-size: clamp(44px, 5.6vw, 84px); margin-top: -.1em; z-index: 1; }
.pastille-h2 { transform: rotate(-1.5deg); margin-left: .08em; }

/* Trait jaune derrière un mot d'accent */
.trait { position: relative; display: inline-block; z-index: 0; }
.trait::before {
  content: '';
  position: absolute; left: -.06em; right: -.06em; bottom: .02em; height: .4em;
  background: var(--jaune);
  border-radius: .06em;
  z-index: -1;
  transform-origin: left center;
  transform: skewX(-10deg) rotate(-1.5deg) scaleX(1);
}
html.js:not(.calme) [data-r] .trait::before { transform: skewX(-10deg) rotate(-1.5deg) scaleX(0); transition: transform .8s var(--ease) .3s; }
html.js:not(.calme) [data-r].vu .trait::before { transform: skewX(-10deg) rotate(-1.5deg) scaleX(1); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font-family: var(--texte); font-size: 16px; font-weight: 600; letter-spacing: 0;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ressort), box-shadow .35s var(--ease), background-color .25s, color .25s;
}
.btn .fleche { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .fleche { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: scale(1.04); } .btn:active { transform: scale(.97); } }
.btn-jaune { background: var(--degrade); color: var(--encre); box-shadow: 0 0 0 1px rgba(255, 168, 0, .55), 0 10px 30px -8px var(--lueur), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-jaune:hover { box-shadow: 0 0 0 1px rgba(255, 168, 0, .7), 0 14px 36px -8px rgba(255, 190, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-encre { background: var(--encre); color: #fff; }
.btn-contour { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-contour:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-plein { width: 100%; }
.btn-sm { height: 44px; padding: 0 8px 0 18px; font-size: 15px; gap: 8px; }
.boutons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.lien-souligne { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--jaune); }
.lien-souligne:hover { text-decoration-color: var(--encre); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  background: rgba(241, 239, 234, .72);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.entete.colle { border-bottom-color: rgba(13, 13, 14, .08); }
.entete { transition: border-color .3s, background-color .35s; }
.entete.sombre { background: rgba(18, 18, 20, .78); border-bottom-color: rgba(255, 255, 255, .08); }
.entete.sombre .logo-mot { color: #fff; }
.entete.sombre .logo-boule circle:first-of-type { fill: var(--gravier); }
.entete.sombre .logo-boule path { stroke: var(--encre); }
.entete.sombre .nav a { color: var(--texte-nuit); }
.entete.sombre .nav a:hover { color: #fff; }
.entete.sombre .panier { background: #fff; color: var(--encre); }
.entete.sombre :focus-visible { outline-color: var(--jaune); }
.entete-in { max-width: calc(1320px + 2 * var(--gouttiere)); height: 100%; margin: 0 auto; padding: 0 var(--gouttiere); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-boule { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.logo:hover .logo-boule { transform: rotate(-200deg); }
.logo-mot { font-family: var(--titre); font-weight: 900; font-size: 27px; text-transform: uppercase; line-height: 1; letter-spacing: .01em; padding-top: 2px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--texte-2); padding: 6px 0; position: relative; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--encre); }
.nav a:hover::after { transform: scaleX(1); }
.panier svg { width: 20px; height: 20px; }
.panier-n {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 999px; background: var(--jaune); color: var(--encre);
  font-size: 14px; font-weight: 600;
}
.panier-n.saute { animation: saute .6s var(--ressort); }
@keyframes saute { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Boule dessinée ---------- */
.boule { position: relative; width: var(--d, 200px); aspect-ratio: 200 / 214; }
.boule svg { width: 100%; height: 100%; overflow: visible; }
.boule .sphere { transform-origin: 100px 100px; transition: transform .8s var(--ease); }
.boule-decor { --d: 100%; aspect-ratio: 1; }

.cochonnet {
  width: var(--c, 44px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFF8D0 0 7%, #FFE45C 22%, #FFD21F 48%, #E9AE00 80%, #B98400 100%);
  box-shadow: 0 12px 10px -8px rgba(40, 30, 10, .4), inset -3px -4px 8px rgba(150, 95, 0, .35);
}

/* ---------- Haut de page ---------- */
.haut { position: relative; padding: 52px 0 0; overflow: clip; }
.decor { position: absolute; z-index: 0; pointer-events: none; }
.decor .boule { filter: blur(2px); opacity: .9; }
.decor-g { width: 520px; left: -300px; top: 250px; }
.decor-d { width: 600px; right: -360px; top: 40px; }
.haut-texte { position: relative; z-index: 2; text-align: center; }
.offre-ligne { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; font-size: 14.5px; font-weight: 500; color: var(--texte-2); margin-bottom: 26px; }
.offre-ligne span { padding: 0 16px; position: relative; }
.offre-ligne span + span::before { content: ''; position: absolute; left: 0; top: 50%; width: 1.5px; height: 1.1em; background: #C9C4B8; transform: translateY(-50%); }
.haut .chapeau { margin-top: 30px; max-width: 590px; font-size: 18px; }
.atouts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; font-size: 16px; font-weight: 500; }
.atouts li { display: inline-flex; align-items: center; gap: 10px; }
.atout-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blanc); color: var(--encre); box-shadow: 0 2px 7px rgba(0, 0, 0, .1); }
.atout-ico svg { width: 18px; height: 18px; }
.atouts li:first-child .atout-ico { background: var(--jaune); }

.scene { position: relative; z-index: 1; width: min(1100px, 100%); height: 440px; margin: 10px auto 0; }
.sol {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 230px;
  background:
    radial-gradient(circle, rgba(110, 98, 80, .28) 1.2px, transparent 1.8px) 0 0 / 15px 15px,
    radial-gradient(circle, rgba(255, 255, 255, .7) 1px, transparent 1.6px) 7px 6px / 19px 19px,
    radial-gradient(ellipse at 50% 38%, #DDD5C4 0%, #E6E0D3 40%, rgba(230, 224, 211, 0) 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 45%, transparent 100%);
}
.scene-boule { position: absolute; bottom: 70px; }
.sb1 { left: 21%; --d: 228px; bottom: 96px; }
.sb2 { left: 50%; margin-left: -140px; --d: 280px; bottom: 30px; z-index: 2; }
.sb3 { right: 19%; --d: 206px; bottom: 104px; }
.coch-haut { position: absolute; left: 33%; bottom: 46px; --c: 46px; z-index: 3; }
.etiquette {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 10px;
  background: var(--blanc); box-shadow: 0 10px 24px -10px rgba(13, 13, 14, .3), 0 0 0 1px rgba(13, 13, 14, .04);
}
.et-k { font-size: 13px; font-weight: 500; color: var(--texte-2); }
.et-v { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.et-v small { font-size: 13px; font-weight: 500; }
.et-noire { background: var(--encre); color: #fff; }
.et-noire .et-k { color: var(--texte-nuit); }
.et-noire .et-v { color: var(--jaune); }
.et1 { left: 4%; top: 120px; transform: rotate(-6deg); }
.et2 { right: 6%; top: 70px; transform: rotate(5deg); }
.et3 { right: 10%; bottom: 40px; transform: rotate(-3deg); }

/* Entrée du haut de page (html.pret posé par main.js) */
html.js:not(.calme) .haut .e,
html.js:not(.calme) .haut .mot,
html.js:not(.calme) .haut .pastille-h1,
html.js:not(.calme) .scene-boule,
html.js:not(.calme) .coch-haut,
html.js:not(.calme) .etiquette,
html.js:not(.calme) .entete-in { opacity: 0; }
html.pret:not(.calme) .entete-in { animation: descend .7s var(--ease) .1s both; }
html.pret:not(.calme) .haut .e1 { animation: monte .8s var(--ease) .2s both; }
html.pret:not(.calme) .haut .mot { animation: motIn .95s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * 70ms); }
html.pret:not(.calme) .haut .pastille-h1 { animation: pastilleIn 1s var(--elastique) .62s both; }
html.pret:not(.calme) .haut .e3 { animation: monte .9s var(--ease) .95s both; }
html.pret:not(.calme) .haut .e4 { animation: monte .9s var(--ease) 1.05s both; }
html.pret:not(.calme) .haut .e5 { animation: sauteIn .7s var(--ressort) 1.15s both; }
html.pret:not(.calme) .scene-boule { animation: roule 1.3s var(--ease) both; }
html.pret:not(.calme) .sb1 { animation-delay: 1s; --dx: -420px; --rr: -300deg; }
html.pret:not(.calme) .sb2 { animation-delay: .9s; --dx: 520px; --rr: 320deg; }
html.pret:not(.calme) .sb3 { animation-delay: 1.1s; --dx: 460px; --rr: 280deg; }
html.pret:not(.calme) .coch-haut { animation: sauteIn .7s var(--ressort) 1.55s both, respire 2.4s ease-in-out 2.4s infinite alternate; }
html.pret:not(.calme) .etiquette { animation: colle .75s var(--ressort) both; }
html.pret:not(.calme) .et1 { animation-delay: 1.6s; --r0: -6deg; }
html.pret:not(.calme) .et2 { animation-delay: 1.72s; --r0: 5deg; }
html.pret:not(.calme) .et3 { animation-delay: 1.84s; --r0: -3deg; }

@keyframes descend { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes motIn { from { opacity: 0; transform: translateY(60%) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes pastilleIn { from { opacity: 0; transform: scale(.3) rotate(-14deg); } 30% { opacity: 1; } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes sauteIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes roule { from { opacity: 0; transform: translateX(var(--dx)) rotate(var(--rr)); } 25% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes colle { from { opacity: 0; transform: scale(.6) rotate(calc(var(--r0) + 12deg)); } to { opacity: 1; transform: rotate(var(--r0)); } }
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- Bandeau ---------- */
.bandeau { position: relative; z-index: 3; padding: 26px 0; margin-top: -30px; overflow: clip; }
.bandeau-piste { background: var(--encre); transform: rotate(-1.6deg); width: 104%; margin-left: -2%; padding: 18px 0; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.bandeau-liste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.bandeau-liste li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--titre); font-weight: 800; font-size: 38px; text-transform: uppercase; color: #fff; line-height: 1; white-space: nowrap;
}
.bandeau-liste li::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3B0, var(--jaune) 50%, #D49A00); }
.bandeau.hors .bandeau-liste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Apparitions au défilement ---------- */
html.js:not(.calme) [data-r] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--dl, 0s); }
html.js:not(.calme) [data-r="titre"]:not(.vu) { opacity: 0; transform: translateY(40px); }
html.js:not(.calme) [data-r="carte"]:not(.vu) { opacity: 0; transform: translateY(60px) scale(.97); }
html.js:not(.calme) [data-r="faq"]:not(.vu) { opacity: 0; transform: translateY(30px); }
@media (min-width: 961px) { html.js:not(.calme) [data-r="faq"]:not(.vu) { transform: translateX(40px); } }
html.js:not(.calme) [data-r="pilule"] { transition: opacity .6s var(--ease), transform .7s var(--ressort); transition-delay: var(--dl, 0s); }
html.js:not(.calme) [data-r="pilule"]:not(.vu) { opacity: 0; transform: scale(.8) rotate(calc(var(--rot) * 3)); }
html.js:not(.calme) [data-r="etape"]:not(.vu) { opacity: 0; transform: translateY(80px) scale(.96) rotate(calc(var(--rot) * 3)); }

/* ---------- Les jeux (cartes produit) ---------- */
.grille-produits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.produit { display: flex; flex-direction: column; }
.produit-scene {
  position: relative; aspect-ratio: 1 / .92; border-radius: 28px;
  background: radial-gradient(ellipse 70% 30% at 50% 78%, rgba(0, 0, 0, .05), transparent 70%), var(--gravier-2);
  display: grid; place-items: center; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.produit:hover .produit-scene { transform: translateY(-4px); box-shadow: var(--ombre-survol); }
.produit-boules { display: flex; align-items: flex-end; gap: 0; margin-top: 30px; }
.produit-boules .boule { --d: clamp(130px, 13vw, 180px); }
.produit-boules .boule + .boule { margin-left: -26px; --d: clamp(112px, 11.2vw, 156px); }
.produit:hover .produit-boules .boule .sphere { transform: rotate(14deg); }
.badge { position: absolute; top: 18px; left: 18px; padding: 6px 14px; border-radius: 999px; background: var(--blanc); font-size: 14px; font-weight: 600; box-shadow: 0 0 0 1px rgba(13, 13, 14, .06); }
.pastilles-fin { display: flex; gap: 10px; margin: 18px 0 10px 4px; }
.fin {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(13, 13, 14, .15);
  transition: box-shadow .25s, transform .3s var(--ressort);
  position: relative;
}
.fin::before { content: ''; position: absolute; inset: -11px; }
.fin:hover { transform: scale(1.12); }
.fin[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--gravier), 0 0 0 4px var(--encre); }
.fin[data-fin="inox"], .dot-inox { background: linear-gradient(160deg, #F4F6F8, #9AA1A8 55%, #4A5057); }
.fin[data-fin="carbone"], .dot-carbone { background: linear-gradient(160deg, #8F959B, #2C3035 55%, #0E1013); }
.fin[data-fin="bronze"], .dot-bronze { background: linear-gradient(160deg, #F6E2C4, #B98A55 55%, #5E3E22); }
.produit-ligne { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 0 4px; }
.produit-nom { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.produit-sous { font-size: 15px; color: var(--texte-2); line-height: 1.45; margin-top: 2px; max-width: 30ch; }
.produit-prix { font-size: 19px; font-weight: 600; white-space: nowrap; }
.lien-fleche { align-self: flex-start; margin: 14px 4px 0; font-size: 15px; font-weight: 600; display: inline-flex; gap: 6px; padding: 4px 0; border-bottom: 2px solid var(--jaune); }
.lien-fleche span { transition: transform .35s var(--ease); }
.lien-fleche:hover span { transform: translateX(4px); }

/* ---------- Problèmes (collage) ---------- */
.section-pb { overflow: clip; }
.halo-jaune { position: absolute; left: 50%; top: 52%; width: 760px; height: 420px; margin-left: -380px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 210, 31, .5), rgba(255, 210, 31, 0) 70%); pointer-events: none; }
.collage { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 26px; max-width: 1080px; margin-top: 64px; position: relative; }
.pilule {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 28px 12px 14px; border-radius: 999px;
  background: var(--blanc); color: var(--encre);
  font-size: 20px; font-weight: 600; line-height: 1.3;
  transform: rotate(var(--rot));
  box-shadow: 0 10px 24px -14px rgba(13, 13, 14, .35);
}
.pilule.vu:hover { transform: rotate(var(--rot)) scale(1.04); transition-delay: 0s; }
.p-noire { background: var(--encre); color: #fff; }
.pilule:nth-child(2) { margin-top: 28px; }
.pilule:nth-child(3) { margin-left: 120px; }
.pilule:nth-child(5) { margin-right: 60px; }
.croix { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--jaune); position: relative; }
.croix::before, .croix::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 2.6px; border-radius: 2px; background: var(--encre); transform: translate(-50%, -50%) rotate(45deg); }
.croix::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sous-collage { margin-top: 56px; font-size: 18px; color: var(--texte-2); }
.sous-collage a { color: var(--encre); margin-left: 6px; }

/* ---------- Configurateur ---------- */
.section-config { padding-top: 40px; }
.config {
  display: grid; grid-template-columns: 1fr 1.05fr; margin-top: 56px;
  background: var(--nuit); color: #fff; border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(13, 13, 14, .6);
}
.config-scene {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 32px 40px; min-height: 640px;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, #2A2A2F 0%, #18181B 55%, var(--nuit) 100%);
  border-right: 1px solid var(--contour-nuit);
}
.config-grille {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent);
}
.config-boule-zone { position: relative; width: 340px; height: 364px; display: grid; place-items: end center; }
.boule-config { --d: 340px; transform-origin: 50% 94%; transform: scale(calc(.74 + var(--t, .33) * .26)); transition: transform .6s var(--ressort); }
.boule-config.pulse .sphere { animation: tourne .7s var(--ease); }
@keyframes tourne { from { transform: rotate(-40deg); } to { transform: rotate(0); } }
.coch-config { position: absolute; right: -36px; bottom: 6px; --c: 40px; }
.config-mesures { position: relative; display: flex; gap: 34px; margin-top: 28px; }
.config-mesures p { display: flex; align-items: baseline; gap: 6px; }
.cm-n { font-family: var(--titre); font-weight: 800; font-size: 54px; line-height: 1; color: #fff; }
.cm-u { font-size: 15px; color: var(--texte-nuit); font-weight: 500; }
.config-note { position: relative; margin-top: 14px; font-size: 14px; color: #8D8A84; }

.config-reglages { padding: 40px 44px 40px; display: flex; flex-direction: column; gap: 24px; }
.reglage { border: 0; margin: 0; padding: 0; min-width: 0; }
.reglage legend, .reglage-tete label { font-size: 15px; font-weight: 600; color: #fff; padding: 0; }
.reglage legend { margin-bottom: 12px; }
.reglage-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.reglage-tete output { font-size: 15px; font-weight: 600; color: var(--jaune); white-space: nowrap; }
.facultatif { font-weight: 400; color: var(--texte-nuit); }
.reglage-bornes { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--texte-nuit); }
.lien-petit { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 210, 31, .7); text-underline-offset: 3px; }
.conseil-poids { color: #fff; text-align: center; }
.reglage-aide { margin-top: 10px; font-size: 14px; color: var(--texte-nuit); display: none; }
.config.loisir .reglage-aide { display: block; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
  --p: 33%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--jaune) var(--p), rgba(255, 255, 255, .16) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--jaune) var(--p), rgba(255, 255, 255, .16) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--jaune); border: 4px solid var(--nuit); box-shadow: 0 0 0 1px var(--jaune), 0 4px 14px rgba(255, 196, 0, .5); transition: transform .25s var(--ressort); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--jaune); border: 4px solid var(--nuit); box-shadow: 0 0 0 1px var(--jaune); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: 2px solid var(--jaune); outline-offset: 4px; }

.segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segment-4 { grid-template-columns: repeat(4, 1fr); }
.segment label { position: relative; display: block; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--contour-nuit); background: var(--nuit-2);
  font-size: 15px; font-weight: 500; color: #E4E2DC; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ressort);
  cursor: pointer;
}
.segment label:hover span { border-color: #4A4A52; }
.segment input:checked + span { background: var(--jaune); color: var(--encre); border-color: var(--jaune); font-weight: 600; }
.segment input:active + span { transform: scale(.96); }
.segment input:focus-visible + span { outline: 2px solid var(--jaune); outline-offset: 3px; }
.segment input:disabled + span { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }

#r-grav {
  width: 100%; height: 52px; padding: 0 18px;
  border-radius: 14px; border: 1px solid var(--contour-nuit); background: var(--nuit-2);
  color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: border-color .2s;
}
#r-grav::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: #8D8A84; }
#r-grav:focus { outline: none; border-color: var(--jaune); box-shadow: 0 0 0 3px rgba(255, 210, 31, .2); }

.recap { margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--contour-nuit); }
.recap-lignes { display: flex; flex-direction: column; gap: 8px; }
.recap-lignes div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--texte-nuit); }
.recap-lignes dd { color: #fff; font-weight: 500; white-space: nowrap; }
.recap-total { display: flex; justify-content: space-between; align-items: flex-end; margin: 18px 0 20px; }
.recap-label { font-size: 15px; font-weight: 600; padding-bottom: 8px; }
.recap-prix { font-size: 56px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.recap-note { margin-top: 12px; font-size: 14px; color: var(--texte-nuit); text-align: center; }
#ajouter.ok { background: #fff; }

/* ---------- Guide des tailles ---------- */
.guide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 56px; align-items: stretch; }
.guide-carte { background: var(--blanc); border-radius: 20px; padding: 36px; box-shadow: var(--ombre-pose); display: flex; flex-direction: column; gap: 26px; }
.regle { width: 100%; height: auto; overflow: visible; }
#regle-curseur { transition: transform .45s var(--ressort); }
.reglage-clair .reglage-tete label { color: var(--encre); }
.reglage-clair .reglage-tete output { color: var(--encre); background: var(--jaune); padding: 2px 10px; border-radius: 999px; }
.reglage-clair input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--encre) var(--p), var(--filet) var(--p)); }
.reglage-clair input[type="range"]::-moz-range-track { background: linear-gradient(90deg, var(--encre) var(--p), var(--filet) var(--p)); }
.reglage-clair input[type="range"]::-webkit-slider-thumb { background: var(--jaune); border-color: var(--encre); box-shadow: 0 4px 12px rgba(13, 13, 14, .25); }
.reglage-clair input[type="range"]::-moz-range-thumb { background: var(--jaune); border-color: var(--encre); }
.reglage-clair input[type="range"]:focus-visible { outline-color: var(--encre); }
.guide-note { font-size: 15px; color: var(--texte-2); margin-top: -8px; }
.guide-resultat { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--filet); margin-top: auto; }
.gr-label { font-size: 15px; font-weight: 600; color: var(--texte-2); width: 100%; margin-bottom: -14px; }
.gr-n { display: flex; align-items: baseline; gap: 8px; }
#g-diam { font-family: var(--titre); font-weight: 900; font-size: 96px; line-height: .9; display: inline-block; }
#g-diam.change { animation: saute .5s var(--ressort); }
.gr-u { font-size: 20px; font-weight: 600; }
.guide-poids { display: flex; flex-direction: column; gap: 14px; }
.poids-carte { background: var(--blanc); border-radius: 16px; padding: 22px 26px; display: grid; grid-template-columns: 80px 1fr; column-gap: 20px; align-items: start; transition: box-shadow .4s var(--ease); }
.poids-carte:hover { box-shadow: var(--ombre-survol); }
.poids-ico { grid-row: span 3; width: 80px; margin-top: 6px; }
.carte-t { font-family: var(--titre); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.poids-carte p { font-size: 15px; color: var(--texte-2); margin-top: 6px; line-height: 1.5; }
.poids-carte .poids-reco { color: var(--encre); margin-top: 10px; }

/* ---------- Fabrication (sombre, scène épinglée) ---------- */
.section-nuit { position: relative; background: var(--nuit); color: #fff; overflow: clip; padding: 0 0 var(--section); }
.section-nuit .chapeau { color: var(--texte-nuit); }
.decor-nuit { width: 560px; right: -320px; top: 80px; opacity: .55; }
.fab-piste { position: relative; }
.fab-colle { padding-top: var(--section); }
.fab-tete .chapeau { margin-top: 16px; }
/* L'épinglage n'existe que sur grand écran (posé par main.js : html.epingle) */
html.epingle .fab-piste { height: 280vh; }
html.epingle .fab-colle {
  position: sticky; top: 72px; height: calc(100vh - 72px); min-height: 640px; padding-top: 0;
  display: flex; flex-direction: column; justify-content: center;
}
html.epingle .fab-tete .h2 { font-size: clamp(44px, 4.4vw, 64px); }
.coupe-zone { position: relative; margin-top: 28px; }
.coupe { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; }
.coupe-svg { grid-column: 2; grid-row: 1; width: 100%; height: auto; max-height: calc(100vh - 330px); min-height: 300px; overflow: visible; }
.coupe-svg .cp-droite, .coupe-svg .cp-coupe, .coupe-svg .cp-gauche-ext { will-change: transform; }
.coupe-legendes { display: contents; }
.cl { position: relative; font-size: 15px; color: var(--texte-nuit); line-height: 1.5; max-width: 250px; padding-left: 42px; }
.cl strong { display: block; color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.cl::before { content: attr(data-n); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--jaune); color: var(--encre); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.cl1 { grid-column: 1; grid-row: 1; align-self: start; margin-top: 4%; justify-self: end; }
.cl2 { grid-column: 1; grid-row: 1; align-self: center; margin-top: 70px; justify-self: end; }
.cl4 { grid-column: 3; grid-row: 1; align-self: start; margin-top: 0; }
.cl3 { grid-column: 3; grid-row: 1; align-self: end; margin-bottom: 8%; }
.repere text { font-family: var(--texte); font-size: 14px; font-weight: 700; fill: var(--encre); }
/* Les repères et légendes s'allument un par un (data-etape posé par main.js) */
html.js:not(.calme) .coupe .repere, html.js:not(.calme) .coupe .cl { opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js:not(.calme) .coupe .cl { transform: translateY(12px); }
html.js:not(.calme) .coupe[data-etape="1"] [data-n="1"],
html.js:not(.calme) .coupe[data-etape="2"] :is([data-n="1"], [data-n="2"]),
html.js:not(.calme) .coupe[data-etape="3"] :is([data-n="1"], [data-n="2"], [data-n="3"]),
html.js:not(.calme) .coupe[data-etape="4"] [data-n] { opacity: 1; transform: none; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.chiffre { padding: 28px 4px 0; border-top: 1px solid var(--contour-nuit); }
.chiffre-n { font-size: clamp(52px, 5.2vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: 1; color: var(--jaune); white-space: nowrap; }
.chiffre-t { margin-top: 12px; font-size: 16px; color: var(--texte-nuit); max-width: 30ch; }

/* ---------- Méthode (escalier) ---------- */
.section-methode { overflow: clip; }
.halo-methode { top: 45%; width: 900px; margin-left: -450px; height: 600px; opacity: .7; }
.escalier { position: relative; max-width: 1120px; margin-top: 64px; display: flex; flex-direction: column; }
.etape {
  position: relative; width: 58%;
  background: var(--blanc); border-radius: 16px; padding: 26px 28px 20px;
  box-shadow: var(--ombre-pose);
  transform: rotate(var(--rot));
}
.etape.vu { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s var(--ease); }
.etape.vu:hover { transform: rotate(var(--rot)) translateY(-6px); box-shadow: 0 26px 50px -20px rgba(13, 13, 14, .45); transition-delay: 0s; }
.et-a { margin-left: 2%; }
.et-b { margin-left: 22%; margin-top: -8px; z-index: 2; }
.et-c { margin-left: 40%; margin-top: -4px; }
.etape-t { font-family: var(--titre); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; display: flex; gap: 14px; align-items: baseline; }
.etape-n { display: inline-grid; place-items: center; min-width: 46px; height: 36px; padding: 0 8px; border-radius: 999px; background: var(--jaune); font-size: 22px; transform: translateY(-4px); }
.etape-p { margin-top: 14px; color: var(--texte-2); font-size: 16px; max-width: 46ch; }
.etape-p b { color: var(--encre); font-weight: 600; }
.etape-meta { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--filet); font-size: 15px; color: var(--texte-2); }
.etape-meta span:last-child { color: var(--encre); font-weight: 600; }
.fiche {
  position: absolute; width: 236px; padding: 16px 16px 14px; border-radius: 14px;
  background: var(--nuit); color: #fff; font-size: 14px;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .55);
}
.fiche-t { font-size: 13px; color: var(--texte-nuit); margin-bottom: 10px; }
.fiche-ligne { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; line-height: 1.3; }
.fiche-ligne small { color: var(--texte-nuit); font-size: 13px; }
.fiche-sous { grid-template-columns: 1fr auto; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--contour-nuit); color: var(--texte-nuit); }
.fiche-sous b { color: var(--jaune); font-weight: 600; }
.mini-boule { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0 6%, #8F959B 20%, #2C3035 60%, #0E1013); }
.fiche-panier { right: -200px; top: 26px; transform: rotate(4deg); }
.fiche-pesee { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--contour-nuit); }
.fiche-pesee b { font-weight: 600; font-variant-numeric: tabular-nums; }
.fiche-ok { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--jaune); font-weight: 600; }
.fiche-atelier { left: -210px; top: 34px; transform: rotate(-5deg); }
.fiche-colis { left: -230px; top: 50px; transform: rotate(-4deg); }
.coche { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--jaune); position: relative; display: inline-block; }
.coche::after { content: ''; position: absolute; left: 6px; top: 3.5px; width: 4.5px; height: 8px; border: solid var(--encre); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.suivi { display: flex; flex-direction: column; gap: 0; }
.suivi li { position: relative; padding: 4px 0 4px 24px; color: var(--texte-nuit); }
.suivi li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #555; background: var(--nuit); z-index: 1; }
.suivi li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 18px; width: 2px; height: calc(100% - 8px); background: #444; }
.suivi .fait { color: #fff; }
.suivi .fait::before { background: var(--jaune); border-color: var(--jaune); }
.suivi .fait::after { background: var(--jaune) !important; }
.suivi .encours { color: var(--jaune); font-weight: 600; }
.suivi .encours::before { border-color: var(--jaune); }
html.pret:not(.calme) .suivi .encours::before { animation: clignote 1.6s ease-in-out infinite; }
@keyframes clignote { 50% { opacity: .3; } }

/* ---------- Étoiles ---------- */
.etoiles { display: inline-flex; gap: 2px; vertical-align: -2px; }
.etoiles i { width: 15px; height: 15px; background: var(--ambre); -webkit-mask: var(--etoile) center / contain no-repeat; mask: var(--etoile) center / contain no-repeat; }
.etoiles i.vide { background: #D6D1C5; }
:root { --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .7-4.4 4.1 1.2 5.9L10 14.8l-5.4 2.9 1.2-5.9L1.4 7.7l6-.7z'/%3E%3C/svg%3E"); }
.note-ligne { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); }
.note-ligne .etoiles i { background: var(--encre); }
.note-ligne b { font-weight: 600; }

/* ---------- Avis ---------- */
.section-avis { overflow: clip; padding-bottom: 88px; }
.avis-tete { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: end; }
.note-carte { background: var(--blanc); border-radius: 20px; padding: 28px 30px; box-shadow: var(--ombre-pose); transform: rotate(1.5deg); }
.note-carte.vu { transform: rotate(1.5deg); }
html.js:not(.calme) .note-carte[data-r="carte"]:not(.vu) { transform: translateY(60px) rotate(6deg); }
.note-n { font-size: 84px; font-weight: 400; letter-spacing: -.05em; line-height: .9; }
.note-sur { font-size: 26px; letter-spacing: 0; color: var(--texte-2); margin-left: 4px; }
.etoiles-l { margin-top: 12px; }
.etoiles-l i { width: 22px; height: 22px; }
.note-t { margin-top: 6px; font-size: 15px; font-weight: 600; }
.barres { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.barres li { display: grid; grid-template-columns: 14px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; color: var(--texte-2); }
.barres b { height: 8px; border-radius: 8px; background: var(--gravier-2); position: relative; overflow: hidden; }
.barres b::after { content: ''; position: absolute; inset: 0; background: var(--encre); border-radius: 8px; transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.2s var(--ease) .4s; }
html.js:not(.calme) .note-carte:not(.vu) .barres b::after { transform: scaleX(0); }
.barres em { font-style: normal; text-align: right; }
.avis-mur {
  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 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.avis-piste { display: flex; flex-direction: column; gap: 18px; animation: monteAvis var(--duree, 46s) linear infinite; }
.avis-col-2 .avis-piste { animation-direction: reverse; }
.avis-mur:hover .avis-piste, .avis-mur.hors .avis-piste { animation-play-state: paused; }
@keyframes monteAvis { to { transform: translateY(calc(-50% - 9px)); } }
.avis { background: var(--blanc); border-radius: 20px; padding: 24px 24px 20px; border: 1px solid var(--filet); }
.avis h3 { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.avis > p:not(.etoiles) { margin-top: 8px; font-size: 15.5px; color: var(--texte-2); line-height: 1.55; }
.avis footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--texte-2); line-height: 1.35; }
.avis footer b { display: block; color: var(--encre); font-weight: 600; font-size: 15px; }
.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: var(--jaune); font-size: 14px; font-weight: 600; }
.resultats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.resultat { background: var(--encre); color: #fff; border-radius: 20px; padding: 26px 28px; }
.resultat:nth-child(2) { background: var(--degrade); color: var(--encre); }
.resultat:nth-child(2) .resultat-t { color: rgba(13, 13, 14, .75); }
.resultat-n { font-size: clamp(48px, 4.6vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.resultat-t { margin-top: 10px; font-size: 16px; color: var(--texte-nuit); }
.clubs { margin-top: 72px; text-align: center; }
.clubs-t { font-size: 15px; font-weight: 600; color: var(--texte-2); }
.clubs-piste { margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clubs-liste { display: flex; width: max-content; animation: defile 50s linear infinite; }
.clubs.hors .clubs-liste { animation-play-state: paused; }
.club { display: inline-flex; align-items: center; gap: 10px; margin-right: 64px; color: #4A4740; line-height: 1.05; text-align: left; white-space: nowrap; }
.club svg { width: 38px; height: 38px; flex: none; }
.club-a span { font-family: var(--titre); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.club-b span:last-child { font-size: 15px; font-weight: 600; }
.club-mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #4A4740; color: var(--gravier); font-family: var(--titre); font-weight: 900; font-size: 20px; }
.club-mono-rond { border-radius: 50%; font-size: 15px; }
.club-c span { font-family: var(--titre); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.club-d span { font-family: var(--titre); font-weight: 800; font-size: 30px; letter-spacing: -.01em; }
.club-e span { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.club-f span:last-child { font-size: 15px; font-weight: 500; }
.club-g span { font-size: 17px; font-weight: 600; text-transform: uppercase; border: 2px solid currentColor; padding: 8px 12px; border-radius: 6px; }

/* ---------- Prix ---------- */
.grille-prix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; align-items: stretch; }
.prix {
  position: relative; display: flex; flex-direction: column;
  background: var(--nuit); color: #fff; border: 1px solid var(--contour-nuit); border-radius: 28px; padding: 34px 32px 36px;
}
.prix-conseil { background: #000; border-color: #3A3A40; box-shadow: 0 30px 60px -30px rgba(255, 190, 0, .55); }
.etiquette-conseil {
  position: absolute; top: -16px; right: 26px; padding: 8px 16px; border-radius: 999px;
  background: var(--degrade); color: var(--encre); font-size: 14px; font-weight: 600;
  transform: rotate(3deg); box-shadow: 0 8px 20px -8px var(--lueur);
}
.prix-nom { font-family: var(--titre); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; }
.prix-desc { margin-top: 10px; font-size: 15px; color: var(--texte-nuit); }
.prix hr { width: 100%; border: 0; height: 1px; background: var(--contour-nuit); margin: 24px 0; transform-origin: left; }
html.js:not(.calme) .prix:not(.vu) hr { transform: scaleX(0); }
html.js:not(.calme) .prix hr { transition: transform 1s var(--ease) .3s; }
.prix-n { display: flex; align-items: flex-end; gap: 8px; font-size: clamp(64px, 5.4vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: .9; margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.prix-u { font-size: 15px; letter-spacing: 0; font-weight: 500; color: var(--texte-nuit); padding-bottom: 6px; }
.prix-inclus { margin-top: 28px; font-size: 15px; font-weight: 600; }
.coches { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.coches li { position: relative; padding-left: 32px; font-size: 15.5px; color: #DCDAD4; line-height: 1.45; }
.coches li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--jaune); }
.coches li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--encre); border-width: 0 2px 2px 0; transform: rotate(45deg); }
html.js:not(.calme) .prix .coches li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.6s + var(--i, 0) * 70ms); }
html.js:not(.calme) .prix.vu .coches li { opacity: 1; transform: none; }
html.js:not(.calme) .prix-conseil:not(.vu) .etiquette-conseil { transform: scale(0) rotate(-12deg); }
html.js:not(.calme) .prix-conseil .etiquette-conseil { transition: transform .7s var(--ressort) .9s; }

/* ---------- Coffret ---------- */
.section-coffret { overflow: clip; }
.decor-coffret { width: 420px; left: -260px; top: 40%; opacity: .7; }
.coffret-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; position: relative; }
.coffret { position: relative; padding-top: 120px; perspective: 1200px; }
.coffret-couvercle {
  position: absolute; left: 4%; right: 4%; top: 0; height: 150px; border-radius: 18px 18px 8px 8px;
  background:
    repeating-linear-gradient(176deg, rgba(120, 72, 30, 0) 0 9px, rgba(120, 72, 30, .09) 9px 11px, rgba(120, 72, 30, 0) 11px 23px),
    linear-gradient(180deg, #E6C597, #D3AA74 60%, #BE925C);
  transform: rotateX(38deg); transform-origin: 50% 100%;
  box-shadow: inset 0 -10px 18px -10px rgba(90, 55, 20, .5);
  display: grid; place-items: center;
}
.coffret-marque { font-family: var(--titre); font-weight: 900; font-size: 54px; text-transform: uppercase; color: rgba(95, 58, 22, .5); text-shadow: 0 1px 0 rgba(255, 240, 210, .6); letter-spacing: .04em; }
.coffret-boite {
  position: relative; border-radius: 18px; padding: 18px;
  background:
    repeating-linear-gradient(94deg, rgba(120, 72, 30, 0) 0 12px, rgba(120, 72, 30, .08) 12px 14px, rgba(120, 72, 30, 0) 14px 30px),
    linear-gradient(180deg, #DDB683, #C79A62);
  box-shadow: 0 40px 60px -30px rgba(60, 35, 10, .55), inset 0 2px 0 rgba(255, 240, 210, .5);
}
.coffret-mousse {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 22px;
  border-radius: 10px; background: radial-gradient(ellipse at 50% 30%, #34343A, #222226);
  box-shadow: inset 0 6px 18px rgba(0, 0, 0, .6);
}
.alveole { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #141416 55%, #2B2B30 72%); display: grid; place-items: center; box-shadow: inset 0 8px 14px rgba(0, 0, 0, .7); }
.alveole .boule { --d: 88%; margin-top: 6%; }
.coffret-rangee { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr 1fr; gap: 16px; align-items: center; }
.alveole-p { width: 64px; }
.alveole-p .cochonnet { --c: 42px; }
.metre { height: 60px; border-radius: 14px; background: linear-gradient(180deg, #1D1D20, #0D0D0E); position: relative; box-shadow: inset 0 0 0 2px #2E2E33; }
.metre::before { content: ''; position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--jaune); box-shadow: inset 0 0 0 6px #E0B000; }
.metre-bout { position: absolute; left: 52px; right: 12px; top: 24px; height: 12px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--encre) 0 1.5px, transparent 1.5px 7px) 0 0 / 100% 45% no-repeat, var(--jaune); }
.chiffon { height: 60px; border-radius: 10px; background: repeating-linear-gradient(45deg, #EDE8DC 0 6px, #E2DCCD 6px 12px); box-shadow: inset 0 0 0 3px #F7F3EA, inset 0 0 0 4px #CFC6B4; transform: rotate(-2deg); }
.coffret-liste { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coffret-liste li { background: var(--blanc); border-radius: 12px; padding: 12px 16px; font-size: 15px; color: var(--texte-2); }
.coffret-liste b { color: var(--encre); font-weight: 600; display: block; font-size: 16px; }
.coffret-texte .btn { margin-top: 28px; }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-tete .btn { margin-top: 28px; }
.faq-liste { display: flex; flex-direction: column; gap: 10px; }
.faq-q { background: var(--encre); color: #fff; border-radius: 14px; transition: background-color .3s; }
.faq-q:has(.faq-b[aria-expanded="true"]) { background: #000; box-shadow: 0 0 0 1px rgba(255, 210, 31, .35); }
.faq-q h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.faq-b {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px 22px 28px; background: none; border: 0; border-radius: 14px; color: #fff; text-align: left; cursor: pointer;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq-b:focus-visible { outline: 2px solid var(--jaune); outline-offset: 2px; }
.plus { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: transform .45s var(--ressort), background-color .3s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); transition: background-color .3s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-b:hover .plus { background: rgba(255, 255, 255, .16); }
.faq-b[aria-expanded="true"] .plus { transform: rotate(135deg); background: var(--jaune); }
.faq-b[aria-expanded="true"] .plus::before, .faq-b[aria-expanded="true"] .plus::after { background: var(--encre); }
/* Réponse : hauteur animée en douceur (grille 0fr vers 1fr) ; sans JavaScript, tout reste ouvert */
.faq-r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
html.js .faq-r { grid-template-rows: 0fr; }
html.js .faq-q.ouvert .faq-r { grid-template-rows: 1fr; }
.faq-r-in { overflow: hidden; min-height: 0; }
.faq-r p { padding: 0 72px 24px 28px; font-size: 16px; color: var(--texte-nuit); line-height: 1.55; opacity: 1; transition: opacity .35s var(--ease); }
html.js .faq-q:not(.ouvert) .faq-r p { opacity: 0; }

/* ---------- Appel final ---------- */
.final { position: relative; padding: var(--section) 0 0; overflow: clip; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 210, 31, .45), rgba(255, 210, 31, 0) 70%), var(--gravier); }
.pastille-final { margin-top: .06em; }
.final-rangee { display: flex; justify-content: center; gap: 22px; margin-top: 72px; height: 250px; padding: 0 20px; }
.tuile {
  flex: none; width: 230px; height: 300px; border-radius: 22px; background: var(--blanc);
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 34px;
  transform: rotate(var(--rot)); box-shadow: var(--ombre-pose);
  font-size: 15px; font-weight: 600;
  transition: transform .5s var(--ease);
}
.tuile:hover { transform: rotate(var(--rot)) translateY(-12px); }
.tuile .boule { --d: 132px; }
.tuile-noire { background: var(--encre); color: #fff; }
.tuile-jaune { background: var(--degrade); justify-content: flex-start; }
.cochonnet-tuile { --c: 96px; margin: 26px 0 10px; box-shadow: 0 16px 16px -10px rgba(120, 70, 0, .5), inset -6px -8px 14px rgba(150, 95, 0, .35); }

/* ---------- Bas de page ---------- */
.pied { background: var(--encre); color: var(--gravier); overflow: clip; position: relative; z-index: 2; }
.pied-colonnes { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.pied-marque p { margin-top: 16px; font-size: 15px; color: var(--texte-nuit); max-width: 30ch; }
.logo-clair .logo-mot { color: var(--gravier); }
.pied-col { display: flex; flex-direction: column; gap: 10px; }
.pied-col h2 { font-family: var(--texte); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.pied-col a { font-size: 15px; color: var(--texte-nuit); transition: color .2s; width: fit-content; }
.pied-col a:hover { color: var(--jaune); }
.mot-geant-zone { position: relative; height: 18vw; overflow: hidden; }
.mot-geant {
  font-family: var(--titre); font-weight: 900; text-transform: uppercase;
  font-size: 25.5vw; line-height: .8; letter-spacing: -.01em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #F4F6F8 4%, #B9BFC5 30%, #5C636A 48%, #2A2E33 56%, #8C877C 74%, #D3CAB8 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: .02em;
}
.coch-geant { position: absolute; right: 11%; top: 1vw; --c: 5.4vw; }
.pied-fictif { padding: 18px var(--gouttiere); text-align: center; font-size: 13px; color: #8D8A84; border-top: 1px solid #222226; }

/* ---------- Ordinateur moyen ---------- */
@media (max-width: 1180px) {
  .fiche-panier { right: -150px; }
  .fiche-atelier { left: -170px; }
  .fiche-colis { left: -180px; }
  .cl { max-width: 200px; }
}

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
  :root { --section: 96px; }
  .nav { display: none; }
  .entete-in { justify-content: space-between; }
  .grille-produits { grid-template-columns: 1fr 1fr; }
  .grille-produits .produit:last-child { grid-column: 1 / -1; }
  .config { grid-template-columns: 1fr; }
  .config-scene { min-height: 0; border-right: 0; border-bottom: 1px solid var(--contour-nuit); }
  .guide { grid-template-columns: 1fr; }
  .coupe { grid-template-columns: 1fr; }
  .coupe-svg { grid-column: 1; max-width: 560px; max-height: none; margin: 0 auto; }
  .avis-tete { grid-template-columns: 1fr; gap: 36px; }
  .note-carte { max-width: 420px; }
  .avis-mur { grid-template-columns: 1fr 1fr; }
  .avis-mur .avis-col:last-child { display: none; }
  .resultats { grid-template-columns: 1fr; }
  .coupe-legendes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 36px; }
  .cl { grid-column: auto; grid-row: auto; margin: 0 !important; max-width: none; justify-self: stretch; align-self: start; }
  .escalier { gap: 22px; }
  .etape { width: 100%; margin-left: 0 !important; margin-top: 0 !important; transform: rotate(calc(var(--rot) / 2)); }
  .etape.vu:hover { transform: rotate(calc(var(--rot) / 2)) translateY(-6px); }
  .fiche { position: relative; left: auto !important; right: auto !important; top: auto !important; margin-top: 18px; transform: rotate(2deg); }
  .et-b .fiche { transform: rotate(-2deg); }
  .grille-prix { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .prix-conseil { order: -1; }
  .coffret-grille { grid-template-columns: 1fr; gap: 48px; }
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .pied-colonnes { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr; gap: 0; }
  .chiffre { padding-bottom: 24px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  :root { --gouttiere: 20px; --section: 72px; }
  body { font-size: 16px; }
  .entete { height: 64px; }
  .logo-mot { font-size: 24px; }
  .btn-sm span:not(.panier-n) { display: none; }
  .btn-sm { padding: 0 6px 0 14px; }
  .btn-sm span.panier-n { display: inline-grid; }
  .haut { padding-top: 34px; }
  .offre-ligne { font-size: 13.5px; row-gap: 6px; margin-bottom: 22px; }
  .offre-ligne span { padding: 0 10px; }
  .offre-ligne .note-ligne { width: 100%; justify-content: center; }
  .offre-ligne span:nth-child(2)::before { display: none; }
  #regle-chiffres { font-size: 19px; }
  .h1 { font-size: 56px; line-height: .95; }
  .pastille-h1 { font-size: 44px; margin-top: .02em; }
  .h2 { font-size: 44px; }
  .chapeau, .haut .chapeau { font-size: 17px; }
  .atouts { gap: 10px 18px; font-size: 15px; }
  .boutons { flex-direction: column; align-items: stretch; }
  .boutons .btn { width: 100%; }
  .scene { height: 300px; margin-top: 18px; }
  .sb1 { --d: 128px; left: 2%; bottom: 74px; }
  .sb2 { --d: 160px; margin-left: -80px; bottom: 26px; }
  .sb3 { --d: 118px; right: 1%; bottom: 80px; }
  .coch-haut { --c: 30px; left: 26%; bottom: 30px; }
  .et1 { left: 0; top: 20px; }
  .et2 { display: none; }
  .et3 { right: 0; bottom: 6px; }
  .et-v { font-size: 17px; }
  .etiquette { padding: 9px 12px; }
  .decor-g { width: 260px; left: -214px; top: 700px; }
  .decor-d { width: 230px; right: -192px; top: 70px; }
  .decor .boule { opacity: .75; }
  .bandeau { margin-top: -10px; }
  .bandeau-liste li { font-size: 28px; gap: 20px; padding-right: 20px; }
  .grille-produits { grid-template-columns: 1fr; margin-top: 40px; gap: 32px; }
  .grille-produits .produit:last-child { grid-column: auto; }
  .produit-boules .boule { --d: 150px; }
  .produit-boules .boule + .boule { --d: 128px; }
  .collage { gap: 14px; margin-top: 40px; flex-direction: column; align-items: center; }
  .pilule { font-size: 16px; min-height: 54px; padding: 10px 20px 10px 10px; gap: 12px; margin: 0 !important; max-width: 100%; }
  .croix { width: 30px; height: 30px; }
  .config { margin-top: 36px; border-radius: 24px; margin-left: -8px; margin-right: -8px; }
  .config-scene { padding: 36px 16px 28px; }
  .config-boule-zone { width: 230px; height: 246px; }
  .boule-config { --d: 230px; }
  .coch-config { --c: 30px; right: -26px; }
  .config-mesures { gap: 22px; margin-top: 18px; }
  .cm-n { font-size: 42px; }
  .config-reglages { padding: 28px 20px 30px; gap: 22px; }
  .segment span { font-size: 14px; padding: 0 6px; gap: 6px; }
  .segment-fin { grid-template-columns: 1fr; }
  .segment-fin span { justify-content: flex-start; padding-left: 16px; }
  .reglage-bornes { font-size: 13.5px; }
  .conseil-poids { display: none; }
  .recap-prix { font-size: 44px; }
  .guide { margin-top: 40px; }
  .guide-carte { padding: 24px 20px; }
  #g-diam { font-size: 80px; }
  .guide-resultat .btn { width: 100%; }
  .poids-carte { grid-template-columns: 1fr; padding: 20px; }
  .poids-ico { grid-row: auto; width: 70px; margin: 0 0 10px; }
  .carte-t { font-size: 26px; }
  .coupe-legendes { grid-template-columns: 1fr; }
  .avis-mur { grid-template-columns: 1fr; height: 560px; margin-top: 40px; }
  .avis-mur .avis-col-2 { display: none; }
  .avis-mur .avis-col:last-child { display: none; }
  .note-n { font-size: 72px; }
  .club { margin-right: 40px; }
  .chiffres { margin-top: 48px; }
  .etape { padding: 22px 20px 18px; }
  .etape-t { font-size: 28px; }
  .fiche { width: 100%; max-width: 280px; }
  .grille-prix { margin-top: 44px; gap: 28px; }
  .prix { padding: 28px 22px 30px; }
  .prix-n { font-size: 64px; }
  .coffret { padding-top: 80px; }
  .coffret-couvercle { height: 100px; }
  .coffret-marque { font-size: 36px; }
  .coffret-boite { padding: 12px; }
  .coffret-mousse { padding: 14px; gap: 10px; }
  .coffret-rangee { grid-template-columns: 46px 1fr 1fr; gap: 10px; }
  .alveole-p { width: 46px; }
  .alveole-p .cochonnet { --c: 30px; }
  .metre, .chiffon { height: 46px; }
  .metre::before { left: 9px; top: 9px; width: 28px; height: 28px; }
  .metre-bout { left: 42px; top: 17px; }
  .coffret-liste { grid-template-columns: 1fr; }
  .coffret-texte .btn, .faq-tete .btn { width: 100%; }
  .faq-b { padding: 18px 16px 18px 20px; font-size: 17px; }
  .faq-r p { padding: 0 20px 20px; font-size: 15.5px; }
  .pastille-final { font-size: min(1em, 10.4vw); }
  .final-rangee { justify-content: flex-start; gap: 14px; margin-top: 48px; height: 200px; margin-left: -60px; margin-right: -60px; justify-content: center; }
  .tuile { width: 160px; height: 230px; padding-top: 24px; font-size: 13.5px; text-align: center; }
  .tuile .boule { --d: 96px; }
  .cochonnet-tuile { --c: 70px; margin: 18px 0 8px; }
  .pied-colonnes { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; }
  .pied-marque { grid-column: 1 / -1; }
  .mot-geant-zone { height: 19vw; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
