/* Paraphe — feuille de style. Fiche produit e-commerce : blanc, gris de studio, noir franc, un orange vif. */

/* ——— Police de l'interface : Archivo, variable en graisse et en largeur ——— */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/ui-archivo.woff2') format('woff2-variations'), url('/assets/fonts/ui-archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* ——— Polices de personnalisation (mêmes fichiers que le tracé d'impression) ——— */
@font-face { font-family: 'P Romaine'; src: url('/assets/fonts/romaine.woff2') format('woff2'), url('/assets/fonts/romaine.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Editoriale'; src: url('/assets/fonts/editoriale.woff2') format('woff2'), url('/assets/fonts/editoriale.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Calligraphie'; src: url('/assets/fonts/calligraphie.woff2') format('woff2'), url('/assets/fonts/calligraphie.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Manuscrite'; src: url('/assets/fonts/manuscrite.woff2') format('woff2'), url('/assets/fonts/manuscrite.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Moderne'; src: url('/assets/fonts/moderne.woff2') format('woff2'), url('/assets/fonts/moderne.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Minimal'; src: url('/assets/fonts/minimal.woff2') format('woff2'), url('/assets/fonts/minimal.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P College'; src: url('/assets/fonts/college.woff2') format('woff2'), url('/assets/fonts/college.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Gothique'; src: url('/assets/fonts/gothique.woff2') format('woff2'), url('/assets/fonts/gothique.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Retro'; src: url('/assets/fonts/retro.woff2') format('woff2'), url('/assets/fonts/retro.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'P Machine'; src: url('/assets/fonts/machine.woff2') format('woff2'), url('/assets/fonts/machine.woff') format('woff'); font-display: swap; }

:root {
  --fond: #ffffff;
  --surface: #f4f4f2;
  --surface-2: #eaeae6;
  --encre: #0f0f12;
  --encre-2: #3c3c43;
  --gris: #6b6b73;
  --trait: #e2e2de;
  --accent: #ff5a1f;
  --accent-fonce: #d9430c;
  --accent-doux: #fff0e8;
  --uv: #7d5cff;
  --police: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(15, 15, 18, .06), 0 12px 28px -18px rgba(15, 15, 18, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.fige { overflow: hidden; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-fonce); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.petit { font-size: 13px; color: var(--gris); }

/* ——— Bandeau et en-tête ——— */
.bandeau {
  background: var(--encre);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 9px 16px;
}
.bandeau .sep { opacity: .4; margin: 0 .7em; }
.bandeau .accent { color: var(--accent); }

.entete { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.entete__dedans { display: flex; align-items: center; gap: 22px; max-width: 1280px; margin: 0 auto; padding: 12px 16px; }
.marque {
  font-family: var(--police);
  font-weight: 850;
  font-stretch: 122%;
  font-size: 25px;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: flex-end;
}
.marque__point { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin: 0 0 3px 3px; transform: rotate(45deg); }
.entete__nav { display: none; gap: 22px; font-size: 14.5px; font-weight: 550; }
.entete__nav a { text-decoration: none; color: var(--encre-2); }
.entete__nav a:hover, .entete__nav a[aria-current] { color: var(--encre); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.entete__panier {
  margin-left: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.entete__panier svg { width: 20px; height: 20px; }
.entete__panier span {
  min-width: 20px; height: 20px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: var(--encre);
  color: #fff;
  font-size: 11.5px;
  padding: 0 5px;
}
.entete__panier.a-des-articles span { background: var(--accent); color: var(--encre); }

/* ——— Studio : intro, aperçu, réglages ——— */
.studio {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: grid;
  grid-template-areas: 'intro' 'scene' 'reglages';
  grid-template-columns: minmax(0, 1fr);
}
.studio__intro { grid-area: intro; padding: 16px 0 6px; }
.fil { margin: 0 0 10px; font-size: 13px; color: var(--gris); }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--encre); }
.titre {
  font-weight: 800;
  font-stretch: 116%;
  font-size: clamp(30px, 8.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
}
.titre em { font-style: normal; color: var(--accent); }
.prix-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.prix-ligne strong { font-size: 26px; font-weight: 800; font-stretch: 108%; letter-spacing: -.02em; margin-right: 4px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-doux);
  color: #9a2e06;
  font-size: 12.5px;
  font-weight: 650;
}
.badge--clair { background: var(--surface); color: var(--encre-2); }
.chapeau { margin: 12px 0 0; color: var(--encre-2); max-width: 38em; font-size: 15.5px; }

.studio__scene {
  grid-area: scene;
  position: sticky;
  top: 66px;
  z-index: 4;
  margin: 14px -16px 0;
  padding: 0 16px 8px;
  background: var(--fond);
  box-shadow: 0 12px 14px -14px rgba(15, 15, 18, .35);
}
.scene { position: relative; }
.scene__plateau {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  height: min(36svh, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  perspective: 1200px;
  border-radius: 20px;
  background:
    radial-gradient(55% 60% at 50% 46%, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
    var(--surface);
  overflow: hidden;
}
.scene__plateau::after {
  content: '';
  position: absolute;
  left: 22%; right: 22%; bottom: 6%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 15, 18, .18), transparent);
  filter: blur(4px);
}
.scene__etiquette {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  box-shadow: var(--ombre);
}
.apercu {
  height: 92%;
  aspect-ratio: 0.5;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  z-index: 1;
}
.apercu svg { width: 100%; height: 100%; }
.apercu--pc { aspect-ratio: 0.68; height: 78%; }
.apercu-pc { height: 52%; aspect-ratio: .68; z-index: 1; align-self: center; transform: rotate(4deg) translateY(10%); }
.apercu-pc svg { width: 100%; height: 100%; }
.scene__infos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 8px;
}
.teintes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.teintes__titre { font-size: 12.5px; color: var(--gris); margin-right: 2px; }
.teintes__nom { font-size: 12.5px; color: var(--encre-2); margin-left: 2px; font-weight: 550; }
.mesure { font-size: 12.5px; color: var(--gris); font-variant-numeric: tabular-nums; }
.mesure strong { color: var(--encre); font-weight: 650; }

.studio__reglages { grid-area: reglages; }

/* ——— Formulaire ——— */
.config { margin-top: 10px; }
.etape { border: 0; margin: 0; padding: 18px 0 20px; border-top: 1px solid var(--trait); min-width: 0; }
.etape legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 750;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--encre);
  color: #fff;
  font-size: 12.5px;
  font-weight: 750;
  flex: none;
}
.legende-val { margin-left: auto; font-weight: 500; color: var(--gris); font-size: 14px; }
.aide { margin: 8px 0 0; font-size: 13px; color: var(--gris); }
.aide.alerte { color: var(--accent-fonce); font-weight: 600; }

.saisie {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--encre);
  border-radius: var(--rayon);
  padding: 0 16px;
}
.saisie input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--police);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 30px;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: 10px 0 9px;
  color: var(--encre);
}
.saisie input:focus { outline: none; }
.saisie:focus-within { box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); border-color: var(--accent-fonce); }
.saisie__compte { font-size: 13px; color: var(--gris); font-variant-numeric: tabular-nums; font-weight: 600; }

.choix { display: grid; gap: 8px; }
.choix--modeles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix--puces { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; }
.choix--polices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix--couleurs { display: flex; flex-wrap: wrap; gap: 8px; }
.choix--seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choix--seg + .choix--seg { margin-top: 8px; }
.choix[hidden], .etape[hidden] { display: none; }

.pastille { position: relative; display: block; cursor: pointer; }
.pastille input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pastille__corps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1.5px solid var(--trait);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.2;
}
.pastille:hover .pastille__corps { border-color: #b9b9b3; }
.pastille input:checked + .pastille__corps { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.pastille input:focus-visible + .pastille__corps { outline: 2px solid var(--accent); outline-offset: 2px; }
.pastille input:disabled + .pastille__corps { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.pastille__etiquette { display: block; margin-top: 3px; font-size: 11px; color: var(--accent-fonce); font-weight: 700; }
.pastille input:disabled + .pastille__corps .pastille__etiquette { text-decoration: none; }
.pastille--modele .pastille__corps { min-height: 58px; font-weight: 750; }
.petit-ip { font-weight: 500; color: var(--gris); }
.pastille--puce .pastille__corps { font-weight: 800; font-stretch: 110%; font-size: 18px; min-height: 46px; padding: 4px; }
.pastille--police .pastille__corps { min-height: 84px; gap: 4px; }
.police__echantillon { font-size: 30px; line-height: 1.1; white-space: nowrap; max-width: 100%; overflow: hidden; }
.police__nom { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 650; }
.pastille--couleur .pastille__corps, .pastille--teinte .pastille__corps {
  min-height: 0;
  padding: 3px;
  border-radius: 50%;
  background: transparent;
  border-color: transparent;
}
.pastille--couleur input:checked + .pastille__corps, .pastille--teinte input:checked + .pastille__corps { box-shadow: 0 0 0 2px var(--encre); border-color: #fff; }
.pastille__rond { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.pastille--teinte .pastille__rond { width: 22px; height: 22px; }
.pastille--seg .pastille__corps { flex-direction: column; gap: 2px; font-size: 13.5px; min-height: 54px; }
.pastille--seg small { display: block; color: var(--gris); font-size: 11.5px; font-weight: 500; }
.icone-pos { width: 15px; height: 20px; margin-bottom: 3px; color: var(--encre-2); }

.option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1.5px solid var(--trait);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.option + .option { margin-top: 8px; }
.option:has(input:checked) { border-color: var(--encre); background: #fafaf8; }
.option input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--encre); }
.option span { font-weight: 750; font-size: 15px; }
.option em { font-style: normal; font-weight: 750; color: var(--accent-fonce); margin-left: 4px; }
.option small { display: block; color: var(--gris); font-size: 13px; margin-top: 3px; font-weight: 400; }

.achat { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--trait); }
.quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--trait); border-radius: 999px; background: #fff; }
.quantite button { width: 42px; height: 52px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.quantite output { min-width: 18px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--encre);
  font-weight: 750;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}
.bouton--plein { background: var(--encre); color: #fff; }
.bouton--plein:hover { background: #2a2a31; color: #fff; }
.bouton--plein:active { transform: translateY(1px); }
.bouton--plein:disabled { background: #c9c9c4; border-color: #c9c9c4; cursor: not-allowed; }
.bouton--accent { background: var(--accent); border-color: var(--accent); color: var(--encre); }
.bouton--accent:hover { background: #ff7442; border-color: #ff7442; color: var(--encre); }
.bouton--trait { background: transparent; }
.bouton--trait:hover { background: var(--encre); color: #fff; }

.assurances { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.assurances li { display: flex; gap: 10px; align-items: center; padding: 12px; background: var(--surface); border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.25; }
.assurances svg { width: 22px; height: 22px; flex: none; color: var(--accent-fonce); }

/* ——— Sections ——— */
.section { max-width: 1280px; margin: 0 auto; padding: 56px 16px; }
.section__titre { font-weight: 800; font-stretch: 116%; font-size: clamp(28px, 6.4vw, 46px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 24px; }
.section__titre em { font-style: normal; color: var(--accent); }
.trait-haut { border-top: 1px solid var(--trait); }

.temps { display: grid; gap: 12px; counter-reset: t; margin: 0; padding: 0; list-style: none; }
.temps li { background: var(--surface); border-radius: 20px; padding: 22px; }
.temps li::before {
  counter-increment: t;
  content: counter(t, decimal-leading-zero);
  display: block;
  font-weight: 850;
  font-stretch: 120%;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
  margin-bottom: 14px;
}
.temps h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; font-stretch: 110%; letter-spacing: -.01em; }
.temps p { margin: 0; color: var(--encre-2); }

.fiche { display: grid; gap: 28px; align-items: start; }
.fiche dl { margin: 0; display: grid; }
.fiche dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.fiche dt { color: var(--gris); font-size: 14px; font-weight: 600; }
.fiche dd { margin: 0; font-size: 15px; }

.duo { display: grid; gap: 24px; align-items: center; background: var(--surface); border-radius: 28px; padding: 28px 20px; }
.duo__visuel { display: flex; justify-content: center; }
.duo__visuel > div { width: min(220px, 60%); aspect-ratio: .68; }
.duo__visuel svg { width: 100%; height: 100%; }
.duo p { color: var(--encre-2); }
.prix-barre { font-weight: 850; font-stretch: 112%; font-size: 30px; letter-spacing: -.02em; }

.noel { background: var(--encre); color: #fff; border-radius: 28px; padding: 34px 22px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.noel::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, .55), rgba(255, 90, 31, 0) 70%);
  pointer-events: none;
}
.noel h2 { font-weight: 800; font-stretch: 116%; font-size: clamp(28px, 6vw, 44px); line-height: 1.02; letter-spacing: -.03em; margin: 0; position: relative; }
.noel h2 em { font-style: normal; color: var(--accent); }
.noel p { margin: 0; color: #c9c9cf; max-width: 36em; position: relative; }
.noel .bouton { justify-self: start; position: relative; }

.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 2px 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 11px; font-size: 24px; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--encre-2); max-width: 48em; }

/* ——— Pied de page ——— */
.pied { background: var(--encre); color: #d6d6db; margin-top: 32px; }
.pied__dedans { max-width: 1280px; margin: 0 auto; padding: 44px 16px 120px; display: grid; gap: 18px; }
.pied .marque { color: #fff; font-size: 30px; }
.pied p { margin: 0; font-size: 14px; max-width: 54em; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.pied a { color: #fff; }
.pied a:hover { color: var(--accent); }
.pied .petit { color: #8d8d95; }

/* ——— Panier ——— */
.tiroir { position: fixed; inset: 0; z-index: 50; }
.tiroir[hidden] { display: none; }
.tiroir__fond { position: absolute; inset: 0; background: rgba(15, 15, 18, .45); opacity: 0; transition: opacity .25s; }
.tiroir__panneau {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, .5);
}
.tiroir.ouvert .tiroir__fond { opacity: 1; }
.tiroir.ouvert .tiroir__panneau { transform: none; }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--trait); }
.tiroir__tete h2 { font-weight: 800; font-stretch: 112%; font-size: 24px; letter-spacing: -.02em; margin: 0; }
.fermer { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface); font-size: 22px; cursor: pointer; }
.lignes { list-style: none; margin: 0; padding: 6px 18px; overflow: auto; flex: 1; }
.ligne { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.ligne__vignette { width: 58px; height: 80px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; font-size: 20px; overflow: hidden; }
.ligne__texte { display: grid; gap: 2px; font-size: 13.5px; }
.ligne__texte strong { font-size: 14.5px; font-weight: 750; }
.ligne__texte span { color: var(--gris); }
.ligne__actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ligne__actions button:not(.lien) { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--trait); background: #fff; cursor: pointer; }
.lien { border: 0; background: none; padding: 0; text-decoration: underline; color: var(--gris); cursor: pointer; font-size: 13px; margin-left: 6px; }
.ligne__prix { font-weight: 750; font-variant-numeric: tabular-nums; }
.tiroir__vide { padding: 40px 18px; color: var(--gris); text-align: center; }
.tiroir__vide[hidden] { display: none; }
.tiroir__pied { padding: 16px 18px 22px; border-top: 1px solid var(--trait); display: grid; gap: 10px; }
.tiroir__pied[hidden] { display: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 650; }
.total strong { font-size: 26px; font-weight: 850; font-stretch: 108%; letter-spacing: -.02em; }
.cgv { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; color: var(--encre-2); cursor: pointer; }
.cgv input { width: 20px; height: 20px; margin: 0; accent-color: var(--encre); }
.erreur { margin: 0; color: var(--accent-fonce); font-size: 14px; font-weight: 700; }
.erreur[hidden] { display: none; }
.paiements { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 12px; color: var(--gris); }

/* ——— Barre d'achat mobile ——— */
.barre-achat {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--trait);
  transition: transform .25s;
}
.barre-achat.cachee { transform: translateY(110%); }
.barre-achat strong { display: block; font-size: 22px; font-weight: 850; font-stretch: 108%; line-height: 1; letter-spacing: -.02em; }
.barre-achat span { font-size: 12px; color: var(--gris); font-weight: 600; }
.barre-achat .bouton { min-height: 48px; padding: 0 20px; }

/* ——— Bandeau de consentement ——— */
.consentement { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: #fff; border: 1px solid var(--trait); border-radius: 18px; box-shadow: var(--ombre); padding: 14px 16px; display: grid; gap: 10px; font-size: 14px; }
.consentement p { margin: 0; }
.consentement div { display: flex; gap: 8px; justify-content: flex-end; }
.consentement .bouton { min-height: 42px; font-size: 14px; }

/* ——— Pages de texte (CGV, mentions…) ——— */
.texte { max-width: 760px; margin: 0 auto; padding: 28px 16px 80px; }
.texte h1 { font-weight: 800; font-stretch: 114%; font-size: clamp(32px, 7vw, 48px); line-height: 1.02; letter-spacing: -.03em; margin: 10px 0 10px; }
.texte h2 { font-size: 18px; font-weight: 750; margin: 34px 0 8px; }
.texte p, .texte li { color: var(--encre-2); }
.texte .maj { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 650; }
.encadre { border-radius: 16px; padding: 4px 18px; background: var(--surface); }

/* ——— Remerciement ——— */
.merci { max-width: 640px; margin: 0 auto; padding: 48px 16px 100px; text-align: center; }
.merci h1 { font-weight: 800; font-stretch: 116%; font-size: clamp(36px, 9vw, 60px); line-height: 1; letter-spacing: -.03em; margin: 18px 0 14px; }
.merci h1 em { font-style: normal; color: var(--accent); }
.cachet { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: var(--encre); display: grid; place-items: center; font-weight: 850; font-stretch: 120%; font-size: 36px; }
.merci .etapes-merci { text-align: left; margin: 28px auto 0; display: grid; gap: 10px; max-width: 460px; }

/* ——— Grand écran ——— */
@media (min-width: 720px) {
  .choix--modeles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choix--polices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temps { grid-template-columns: repeat(3, 1fr); }
  .fiche { grid-template-columns: 1fr 1fr; gap: 48px; }
  .duo { grid-template-columns: 260px 1fr; padding: 36px; }
  .noel { padding: 48px 44px; }
  .assurances { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .entete__nav { display: flex; }
  .studio {
    grid-template-areas: 'scene intro' 'scene reglages';
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    padding-top: 22px;
  }
  .studio__scene { margin: 0; padding: 0; top: 86px; align-self: start; background: none; box-shadow: none; }
  .scene__plateau { height: min(calc(100vh - 160px), 760px); border-radius: 28px; }
  .studio__intro { padding-top: 6px; }
  .barre-achat { display: none; }
  .choix--polices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 88px 24px; }
  .pied__dedans { padding-bottom: 56px; }
  .consentement { left: auto; max-width: 440px; }
}

@media (min-width: 1180px) {
  .choix--polices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .choix--puces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .police__echantillon { font-size: 26px; }
  .assurances { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.mode-pc .scene__infos .teintes { visibility: hidden; }

/* ——— Atelier (page interne) ——— */
.atelier { max-width: 1100px; margin: 0 auto; padding: 28px 16px 80px; }
.atelier .maj { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 650; }
.atelier h1 { font-weight: 800; font-stretch: 114%; font-size: clamp(28px, 5vw, 42px); line-height: 1.02; letter-spacing: -.03em; margin: 8px 0; }
.atelier h2 { font-size: 17px; margin: 26px 0 8px; }
.atelier__grille { display: grid; gap: 28px; margin-top: 20px; }
.atelier__visuels { display: flex; gap: 16px; align-items: flex-start; justify-content: center; background: var(--surface); border-radius: 24px; padding: 20px; }
.atelier__apercu { width: min(260px, 60%); }
.atelier__apercu--pc { width: min(160px, 34%); }
.atelier__apercu svg { width: 100%; height: auto; }
.atelier__fiche { margin: 0; }
.atelier__fiche div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--trait); font-size: 14.5px; }
.atelier__fiche dt { color: var(--gris); }
.atelier__fiche dd { margin: 0; }
.atelier__boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
#at-reglages { padding-left: 18px; color: var(--encre-2); font-size: 14.5px; display: grid; gap: 6px; }
.atelier__saisie { margin-top: 36px; border-top: 1px solid var(--trait); padding-top: 14px; }
.atelier__saisie summary { cursor: pointer; font-weight: 700; }
.atelier__form { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 14px; align-items: end; }
.atelier__form label { display: grid; gap: 4px; font-size: 13px; color: var(--gris); }
.atelier__form select, .atelier__form input:not([type=checkbox]) { font: inherit; color: var(--encre); padding: 8px 10px; border: 1.5px solid var(--trait); border-radius: 10px; background: #fff; }
@media (min-width: 860px) { .atelier__grille { grid-template-columns: 1fr 1.1fr; } }
