/* ==========================================================================
   Atelier Flex : feuille de style
   Idée : l'atelier d'imprimerie. Le titre se met en repérage (cyan, magenta,
   jaune qui se superposent), le nuancier s'ouvre en éventail, les pages
   défilent dans des appareils dessinés en CSS, les réalisations glissent
   à l'horizontale.
   Titres : Bricolage Grotesque (gras, lisible) ; texte : Schibsted Grotesk.
   Sans JavaScript, ou avec « réduire les animations », tout reste visible
   et immobile : les états de départ des animations sont posés par main.js.
   ========================================================================== */

:root {
  /* Couleurs */
  --papier: #FAFAF8;
  --blanc: #FFFFFF;
  --salin: #EDF0EE;
  --encre: #1D2836;
  --encre-2: #2A374A;
  --nuit: #111A24;
  --trame: #4F5B67;
  --magenta: #B3164F;
  --magenta-fonce: #8E0F3D;
  --rose: #F49BBE;
  --brume: #C8D0D9;

  /* Quadri */
  --q-cyan: #00A0D2;
  --q-magenta: #D6127A;
  --q-jaune: #F7D117;
  --q-noir: #111A24;

  /* Typographie */
  --f-titre: "Bricolage Grotesque", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-texte: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --t-texte: 1.0625rem;
  --t-grand: clamp(1.15rem, 1.05rem + .45vw, 1.375rem);
  --t-titre-3: clamp(1.3rem, 1.15rem + .6vw, 1.65rem);
  --t-titre-3-grand: clamp(1.85rem, 1.35rem + 1.9vw, 3rem);
  --t-petit: .9375rem;  /* 15 px : légendes, notes */
  --t-mini: .8125rem;   /* 13 px : mentions, aides */
  --t-titre-2: clamp(2.2rem, 1.35rem + 3.4vw, 4.25rem);
  --t-titre-1: clamp(2.75rem, 1.25rem + 5.4vw, 6rem);

  /* Mouvement : jetons partagés avec main.js */
  --sortie: cubic-bezier(.23, 1, .32, 1);
  --glisse: cubic-bezier(.77, 0, .175, 1);
  --d-rapide: 160ms;
  --d-normal: 350ms;
  --d-lent: 600ms;

  --gouttiere: 20px;
  --large: 86rem;
  --mesure: 38rem;
  --ombre-appareil: 0 60px 90px -40px rgba(17, 26, 36, .5), 0 26px 40px -24px rgba(17, 26, 36, .38), 0 2px 6px rgba(17, 26, 36, .14);
  --ressort: cubic-bezier(.22, 1, .36, 1); /* sortie franche, sans rebond */
}
@media (min-width: 48em) { :root { --gouttiere: 32px; } }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.mouvement) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: var(--t-texte);
  line-height: 1.6;
  overflow-x: clip;
  font-kerning: normal;
  -webkit-tap-highlight-color: transparent;
}

/* Grain de papier, fixe, sous le curseur */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.028em;
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}
p { margin: 0 0 1em; max-width: var(--mesure); text-wrap: pretty; }

a { color: var(--magenta); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta-fonce); }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.fonce :focus-visible, .pied :focus-visible { outline-color: var(--rose); }
::selection { background: var(--magenta); color: #fff; }

.lien-evitement {
  position: absolute; left: var(--gouttiere); top: -5rem; z-index: 200;
  background: var(--encre); color: #fff; padding: .7rem 1rem; font-weight: 600;
}
.lien-evitement:focus { top: .75rem; color: #fff; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.contenant { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }

.fonce { background: var(--encre); color: #fff; }
.fonce a { color: var(--rose); }
.fonce a:hover { color: #fff; }

/* Liens soulignés au survol : un filet qui se trace */
.lien-souligne {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.lien-souligne::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.12em;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(.35);
  transform-origin: left;
  opacity: .55;
  transition: transform var(--d-normal) var(--sortie), opacity var(--d-normal) ease;
}
.lien-souligne:hover::after, .lien-souligne:focus-visible::after { transform: scaleX(1); opacity: 1; }

/* Progression de lecture quadri et curseur de repérage --------------- */
.progression-lecture {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  display: flex; transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.progression-lecture span { flex: 1; }
.progression-lecture span:nth-child(1) { background: var(--q-cyan); }
.progression-lecture span:nth-child(2) { background: var(--q-magenta); }
.progression-lecture span:nth-child(3) { background: var(--q-jaune); }
.progression-lecture span:nth-child(4) { background: var(--q-noir); }
html:not(.mouvement) .progression-lecture { display: none; }

.curseur {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  color: var(--magenta);
  pointer-events: none;
  opacity: 0;
  display: none;
}
.curseur svg { width: 100%; height: 100%; transition: transform var(--d-normal) var(--sortie); }
.curseur-actif .curseur { display: block; }
.curseur.visible { opacity: 1; }
.curseur.sur-lien svg { transform: scale(1.7) rotate(45deg); }

/* En-tête : bandeau nuit, logo décomposé, bande de contrôle ----------------
   Le bandeau reprend le logo du pied de page (plaques cyan, magenta, jaune
   décalées sous le blanc) et la gamme de huit couleurs. Dessous, un filet
   de plages quadri à 100 % et 50 %, comme la bande de contrôle d’une feuille
   d’imprimeur. Hauteur fixe : aucun saut de mise en page au défilement. */
.contenant--ample { max-width: var(--large); }
@media (min-width: 100em) { .contenant--ample { max-width: 108rem; } }

.entete {
  position: sticky; top: 0; z-index: 100;
  background: var(--nuit); color: #fff;
  transition: transform var(--d-normal) var(--sortie), box-shadow var(--d-normal) ease;
}
.entete.repliee { transform: translateY(-100%); }
.entete.detachee { box-shadow: 0 10px 24px -18px rgba(17, 26, 36, .6); }
.entete .contenant { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
@media (min-width: 64em) { .entete .contenant { min-height: 4.75rem; } }
.entete :focus-visible { outline-color: var(--rose); }

.marque {
  display: flex; align-items: center; gap: .65rem; flex: none;
  min-height: 44px;
  color: #fff; text-decoration: none;
  font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.05; letter-spacing: -.02em;
}
.marque:hover { color: #fff; }

.logo { display: grid; justify-items: start; gap: .42rem; }
.logo__nom {
  position: relative; display: block;
  font-family: var(--f-titre); font-weight: 800; font-size: 1.32rem; line-height: 1; letter-spacing: -.035em;
  white-space: nowrap; color: #fff;
}
@media (min-width: 64em) { .logo__nom { font-size: 1.95rem; } }
.logo__texte { position: relative; z-index: 2; }
.logo__plaque { position: absolute; left: 0; top: 0; z-index: 1; transition: transform var(--d-lent) var(--sortie); }
.logo__plaque--c { color: var(--q-cyan);    transform: translate(-.045em, -.035em); }
.logo__plaque--m { color: var(--q-magenta); transform: translate(.05em, .03em); }
.logo__plaque--j { color: var(--q-jaune);   transform: translate(.02em, .07em); z-index: 0; }
@media (hover: hover) and (pointer: fine) {
  .marque:hover .logo__plaque--c { transform: translate(-.07em, -.05em); }
  .marque:hover .logo__plaque--m { transform: translate(.075em, .045em); }
  .marque:hover .logo__plaque--j { transform: translate(.03em, .1em); }
}
.gamme--entete span { width: 9px; height: 9px; }
@media (min-width: 64em) { .gamme--entete span { width: 11px; height: 11px; } }

/* Bande de contrôle : plages C, M, J, N à 100 % puis à 50 %, séparées d’un filet */
.entete__controle {
  height: 4px;
  background:
    repeating-linear-gradient(90deg,
      var(--q-cyan) 0 22px, transparent 22px 24px,
      var(--q-magenta) 24px 46px, transparent 46px 48px,
      var(--q-jaune) 48px 70px, transparent 70px 72px,
      #000 72px 94px, transparent 94px 96px,
      #80D0E9 96px 118px, transparent 118px 120px,
      #EB89BD 120px 142px, transparent 142px 144px,
      #FBE88B 144px 166px, transparent 166px 168px,
      #8A8F96 168px 190px, transparent 190px 192px),
    var(--nuit);
  transform-origin: left center;
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--brume); font-size: var(--t-petit); padding-block: .5rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: #fff; }
.nav .secondaire { display: none; }
.nav .appel a {
  background: var(--magenta); color: #fff; font-weight: 600; text-decoration: none;
  padding: .6rem 1.1rem; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; border-radius: 99px;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform var(--d-rapide) var(--sortie), background-color var(--d-rapide) ease;
}
.nav .appel a:hover { background: #fff; color: var(--nuit); }
.nav .appel a:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(.97); }
@media (min-width: 70em) { .nav .secondaire { display: list-item; } }

/* Menu compact sous 70em : bouton « Menu » et panneau déroulant */
.nav { display: flex; align-items: center; gap: .75rem; }
.nav__bouton {
  font: inherit; font-size: var(--t-petit); font-weight: 600; color: #fff;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 99px;
  min-height: 44px; padding: .5rem 1.1rem; cursor: pointer; order: 2;
}
.nav__bouton:hover, .nav__bouton[aria-expanded="true"] { border-color: #fff; }
.nav__bouton:active { transform: scale(.97); }
/* Téléphone étroit : « Me contacter » passe dans le menu (le bouton de l’ouverture reste juste dessous) */
@media (max-width: 29.99em) {
  .nav__bouton + ul .appel { display: none; }
  .nav.ouverte .nav__bouton + ul .appel { display: list-item; }
}
@media (max-width: 69.99em) {
  .nav ul { order: 1; }
  .nav.ouverte ul {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nuit); padding: .5rem var(--gouttiere) 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 30px -20px rgba(17, 26, 36, .55);
  }
  .nav.ouverte .secondaire { display: block; }
  .nav.ouverte .secondaire a { display: flex; align-items: center; min-height: 48px; font-size: var(--t-texte); width: 100%; }
  .nav.ouverte .appel { margin-top: .75rem; }
}
@media (min-width: 70em) { .nav__bouton { display: none; } }

/* Rappel des prix sous l’ouverture */
.prix-rappel { margin: 1.5rem 0 0; font-size: var(--t-petit); color: var(--trame); max-width: 34rem; }
.prix-rappel { text-wrap: pretty; }
.prix-rappel a { color: var(--encre); font-weight: 600; white-space: nowrap; }

/* Boutons ---------------------------------------------------------------- */
.bouton {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--magenta); color: #fff;
  font-family: var(--f-texte); font-size: 1.0625rem; font-weight: 600; line-height: 1.2;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 0; border-radius: 99px;
  cursor: pointer;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform var(--d-normal) var(--ressort), color var(--d-normal) ease;
  touch-action: manipulation;
}
.bouton::before { /* encre qui monte au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--encre);
  transform: translateY(101%);
  transition: transform var(--d-normal) var(--sortie);
}
.bouton:hover { color: #fff; }
@media (hover: hover) { .bouton:hover::before { transform: translateY(0); } }
.bouton:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(.97); }
.bouton--clair { background: var(--blanc); color: var(--encre); }
.bouton--clair::before { background: var(--rose); }
.bouton--clair:hover { color: var(--encre); }
.fonce .bouton { color: #fff; }
.fonce .bouton::before { background: var(--nuit); }
.fonce .bouton--clair { color: var(--encre); }
.bouton:disabled { background: #9AA3AC; cursor: not-allowed; }
.bouton:disabled::before { display: none; }

.lien-tel { display: inline-flex; align-items: center; min-height: 44px; color: var(--encre); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: lining-nums tabular-nums; }

/* Repères d'imprimeur (ornements) */
.repere {
  position: absolute; width: 28px; height: 28px; pointer-events: none;
  background:
    radial-gradient(circle, transparent 7px, var(--encre) 7px 8.5px, transparent 8.5px),
    linear-gradient(var(--encre), var(--encre)) center / 1.5px 100% no-repeat,
    linear-gradient(var(--encre), var(--encre)) center / 100% 1.5px no-repeat;
  opacity: .5;
}
.repere--hg { top: 1.25rem; left: 1rem; }
.repere--hd { top: 1.25rem; right: 1rem; }

/* 1. Ouverture ----------------------------------------------------------- */
.ouverture {
  position: relative;
  padding-block: 2.5rem 4rem;
  overflow-x: clip;
}
@media (min-width: 64em) {
  .ouverture {
    display: flex; flex-direction: column; justify-content: center;
    padding-block: 3.5rem 4.5rem; min-height: calc(100svh - 4.75rem - 4px);
  }
}

/* Traits de coupe aux quatre coins et repères au milieu des bords, comme sur une feuille d’impression */
.traits-coupe { display: none; }
@media (min-width: 64em) {
  .traits-coupe {
    display: block; position: absolute; inset: 1.5rem; pointer-events: none; opacity: .55;
    --t: var(--encre);
    background:
      linear-gradient(var(--t), var(--t)) left 0 top 18px / 26px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) left 18px top 0 / 1px 26px no-repeat,
      linear-gradient(var(--t), var(--t)) right 0 top 18px / 26px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) right 18px top 0 / 1px 26px no-repeat,
      linear-gradient(var(--t), var(--t)) left 0 bottom 18px / 26px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) left 18px bottom 0 / 1px 26px no-repeat,
      linear-gradient(var(--t), var(--t)) right 0 bottom 18px / 26px 1px no-repeat,
      linear-gradient(var(--t), var(--t)) right 18px bottom 0 / 1px 26px no-repeat;
  }
}
@media (min-width: 64em) and (max-width: 89.99em) { .ouverture .repere { display: none; } } /* les traits de coupe suffisent */
@media (min-width: 90em) {
  .ouverture .repere--hg, .ouverture .repere--hd { top: 50%; margin-top: -14px; }
  .ouverture .repere--hg { left: .4rem; }
  .ouverture .repere--hd { right: .4rem; }
}
@media (min-width: 100em) {
  .ouverture .repere--hg { left: 1.6rem; }
  .ouverture .repere--hd { right: 1.6rem; }
}

.ouverture__grille { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64em) {
  .ouverture__grille { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 3rem; }
}
@media (min-width: 100em) {
  .ouverture__grille { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: 5rem; }
}

.titre-repere { position: relative; }
.titre-repere h1, .plaque {
  font-family: var(--f-titre);
  font-size: var(--t-titre-1);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.025em;
  max-width: 10.5ch;
  text-wrap: balance;
  margin: 0;
  font-kerning: none; /* le titre découpé lettre à lettre et ses plaques gardent la même chasse */
}
@media (min-width: 100em) { .titre-repere h1, .plaque { font-size: clamp(6rem, 1rem + 5.2vw, 7.25rem); } }
.titre-repere h1 { position: relative; z-index: 2; }
/* Plaques : la même ligne de titre, transparente, sauf « graphiste » encré en
   cyan, magenta et jaune, décalé hors repérage. Visible au repos, sans survol. */
.plaque {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; user-select: none;
  color: transparent;
  mix-blend-mode: multiply;
}
.plaque__mot { color: var(--teinte-plaque); }
.plaque--c { --teinte-plaque: var(--q-cyan);    transform: translate(-.032em, -.02em); }
.plaque--m { --teinte-plaque: var(--q-magenta); transform: translate(.034em, .016em); }
.plaque--j { --teinte-plaque: var(--q-jaune);   transform: translate(.01em, .042em); }

/* avant le lancement de la séquence d'ouverture (au plus 1,2 s, posé par main.js) */
.mouvement:not(.lance) .titre-lettres, .mouvement:not(.lance) [data-ouverture], .mouvement:not(.lance) [data-ouverture-appareil],
.mouvement:not(.lance) .plaque, .mouvement:not(.lance) .logo__plaque, .mouvement:not(.lance) .gamme--entete,
.mouvement:not(.lance) .entete__controle, .mouvement:not(.lance) .traits-coupe { opacity: 0; }

/* découpe lettre à lettre (posée par main.js) */
.mot { display: inline-block; white-space: nowrap; }
.lettre { display: inline-block; will-change: transform; }

.ouverture .chapeau { margin-top: 2rem; font-size: var(--t-grand); line-height: 1.5; max-width: 33rem; }
@media (min-width: 100em) { .ouverture .chapeau { max-width: 36rem; } }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: 2rem; }

.ouverture__appareils {
  position: relative;
  margin: 0;
  padding: 1rem 0 3rem;
  isolation: isolate;
}
/* Trame de points derrière les appareils : un aplat cyan tramé qui s’estompe */
.ouverture__appareils::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -6% -8% 4% 6%;
  background: radial-gradient(circle, rgba(0, 160, 210, .55) 1.6px, transparent 2.1px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, .35) 65%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, .35) 65%, transparent 100%);
}
@media (min-width: 64em) { .ouverture__appareils::before { inset: -10% -14% 0 4%; } }
.ouverture__appareils .portable { width: 90%; margin-left: 2%; }
.ouverture__appareils .telephone--ouverture { /* plus précis que .telephone, défini plus bas */
  position: absolute; right: 0; bottom: 0;
  width: 30%; max-width: 200px; z-index: 3;
}
.carte-nuancier, .carte-typo {
  position: absolute; z-index: 4;
  background: var(--blanc);
  box-shadow: 0 18px 36px -18px rgba(17, 26, 36, .42); /* elles flottent devant l'écran */
  border-radius: 14px;
  color: var(--encre);
}
.carte-nuancier {
  top: -2%; left: -2%;
  display: grid; grid-template-columns: auto auto; align-items: center; gap: .35rem .8rem;
  padding: .7rem .9rem .75rem;
}
.carte-nuancier__aa { font-family: var(--f-titre); font-weight: 800; font-stretch: 75%; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.carte-nuancier__puces { display: flex; gap: 4px; }
.carte-nuancier__puces i { width: 18px; height: 30px; border-radius: 4px; background: #A4462B; }
.carte-nuancier__puces i:nth-child(2) { background: #E8D9B5; }
.carte-nuancier__puces i:nth-child(3) { background: #7C8F5A; }
.carte-nuancier__puces i:nth-child(4) { background: #1C1C18; }
.carte-nuancier__nom { grid-column: 1 / -1; font-size: var(--t-mini); color: var(--trame); }
.carte-typo {
  left: -5%; bottom: 30%;
  display: none; padding: .7rem 1rem .8rem; max-width: 13rem;
}
.carte-typo__grand { display: block; font-family: var(--f-serif); font-size: 1.6rem; line-height: 1.05; color: #6E1F35; }
.carte-typo__petit { display: block; margin-top: .3rem; font-size: var(--t-mini); color: var(--trame); }
@media (min-width: 64em) { .carte-typo { display: block; } }
@media (max-width: 47.99em) { .carte-nuancier { transform: scale(.82); transform-origin: top left; } }
.legende-appareils { margin-top: 1rem; font-size: .875rem; color: var(--trame); max-width: min(24rem, 64%); }

.defilement-indice {
  display: none;
  position: absolute; left: 50%; bottom: 1.25rem; width: 1px; height: 48px; margin-left: -.5px;
  background: rgba(29, 40, 54, .15); overflow: hidden;
}
.defilement-indice span { position: absolute; inset: 0; background: var(--encre); transform: translateY(-100%); }
@media (min-width: 64em) { .mouvement .defilement-indice { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .defilement-indice span { animation: indice 2.2s var(--glisse) infinite; }
}
@keyframes indice { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Appareils : portable, écran, téléphone ------------------------------
   Proportions d'après un portable 16/10 et un téléphone de 71,6 × 147,6 mm
   (écran 393 × 852 points). Les captures (1440 × 900 et 390 × 844) tombent
   au ratio exact de l'écran : aucun vide, aucun débordement. */
.portable { position: relative; z-index: 2; margin-inline: auto; max-width: 52rem; }
.portable__ecran, .ecran-bureau__cadre {
  position: relative;
  container-type: inline-size;
  background: #0B0C0E;
  border-radius: 2.4% 2.4% .6% .6% / 3.8% 3.8% .9% .9%;
  padding: 2.6% 2.1% 2.3%;
  box-shadow:
    0 0 0 1.5px #B4B9C1, 0 0 0 2.5px #7C828B,
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    var(--ombre-appareil);
}
.portable__ecran::before { /* caméra */
  content: ""; position: absolute; top: .95%; left: 50%; width: .75%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4b5568, #12151b 70%);
  box-shadow: 0 0 0 1px #1c2028;
}
.portable__base {
  position: relative; z-index: 1;
  width: 116%; margin-left: -8%;
  aspect-ratio: 100 / 3.1;
  background: linear-gradient(#EDEFF2 0, #D3D7DC 30%, #A9AFB8 75%, #7D848E 100%);
  border-radius: 1px 1px 46% 46% / 1px 1px 100% 100%;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(17, 26, 36, .25);
}
.portable__base::before { /* encoche d'ouverture */
  content: ""; position: absolute; top: 0; left: 50%; width: 13%; height: 42%;
  transform: translateX(-50%);
  background: linear-gradient(#9AA1AB, #C7CCD2);
  border-radius: 0 0 10px 10px;
}
.portable__base::after { /* charnière */
  content: ""; position: absolute; top: -3px; left: 8.4%; right: 8.4%; height: 3px;
  background: linear-gradient(#2a2e35, #4c525b);
  border-radius: 0 0 2px 2px;
}
.ombre-sol {
  position: absolute; left: 0; right: 0; bottom: -18px; height: 26px; z-index: 0;
  background: radial-gradient(closest-side, rgba(17, 26, 36, .38), transparent);
  filter: blur(5px);
}

.navigateur {
  display: flex; align-items: center; gap: .9cqw;
  height: 4cqw; padding: 0 1.4cqw;
  background: #ECEEF1;
  border-bottom: 1px solid #DADDE2;
}
.navigateur i { width: 1.05cqw; height: 1.05cqw; border-radius: 50%; background: #F25F57; flex: none; }
.navigateur i:nth-child(2) { background: #F7BC2E; }
.navigateur i:nth-child(3) { background: #29C840; }
.navigateur span {
  flex: 0 1 38%; margin-inline: auto;
  font: 500 1.4cqw/2.5cqw var(--f-texte); color: #5b6570; text-align: center;
  background: #fff; border-radius: 99px; padding-inline: 1.6cqw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateX(-2.6cqw);
}

.ecran-site {
  position: relative;
  container-type: size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}
.ecran-site--tel { aspect-ratio: auto; position: absolute; inset: 0; border-radius: inherit; }

.reflet {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 24%, transparent 42%);
}

/* Écran de bureau */
.ecran-bureau { position: relative; margin-inline: auto; width: 100%; max-width: 46rem; padding-bottom: 6px; }
.ecran-bureau__cadre { border-radius: 1.6% / 2.6%; padding: 1.6%; }
.ecran-bureau__pied {
  position: relative; width: 22%; margin: 0 auto; aspect-ratio: 22 / 10;
  background: linear-gradient(90deg, #9AA1AB, #DDE1E5 45%, #B8BEC6 70%, #8E959F);
  clip-path: polygon(20% 0, 80% 0, 88% 100%, 12% 100%);
}
.ecran-bureau::after { /* socle */
  content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 7px;
  background: linear-gradient(#E3E6EA, #9AA1AB); border-radius: 3px 3px 6px 6px;
  box-shadow: 0 8px 16px -6px rgba(17, 26, 36, .45);
}

/* Téléphone */
.telephone {
  position: relative;
  width: 100%; max-width: 300px;
  aspect-ratio: 71.6 / 147.6;
  padding: 0; /* le bord est posé par .telephone__ecran (un padding en % suivrait le parent) */
  border-radius: 15.5% / 7.5%;
  background: #0A0B0D;
  box-shadow:
    0 0 0 1.5px #9A9FA8, 0 0 0 3px #575C64,
    inset 0 0 0 1.5px rgba(255, 255, 255, .1),
    var(--ombre-appareil);
}
.telephone::before, .telephone::after { /* boutons latéraux */
  content: ""; position: absolute; width: 1.3%; border-radius: 2px;
}
.telephone::before {
  left: -2.2%; top: 17%; height: 24%;
  background: linear-gradient(#6F747C 0 14%, transparent 14% 27%, #6F747C 27% 60%, transparent 60% 68%, #6F747C 68%);
}
.telephone::after { right: -2.2%; top: 26%; height: 14%; background: #6F747C; }
.telephone__ecran {
  position: absolute; inset: 2.04% 4.2%; /* bord de 4,2 % de la largeur sur les quatre côtés */
  border-radius: 12% / 5.6%;
  overflow: hidden;
  background: #fff;
  container-type: size;
  isolation: isolate;
}
.telephone__ilot {
  position: absolute; z-index: 7; top: 1.4%; left: 50%;
  width: 31%; height: 3.6%;
  transform: translateX(-50%);
  background: #000; border-radius: 99px;
}
.telephone__ilot::after { /* objectif */
  content: ""; position: absolute; right: 12%; top: 50%; width: 12%; aspect-ratio: 1;
  transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3442, #0a0c10 70%);
}

/* Captures : calage exact, défilement de la capture longue dans l'écran */
.capture-fixe { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.capture-defile { display: block; width: 100%; height: auto; max-width: none; will-change: transform; }
.ms-defile { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .ms-defile { animation: defile 16s var(--glisse) infinite alternate; }
  .ms-defile--lent { animation-duration: 22s; }
  .ms-defile--rapide { animation-duration: 13s; }
  .capture-defile { animation: defile 34s ease-in-out infinite alternate; animation-delay: 1.5s; }
  .capture-defile--tel { animation-duration: 46s; }
  .capture-defile.defile-pilote { animation: none; }
}
@keyframes defile {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
.en-pause .ms-defile, .en-pause .capture-defile { animation-play-state: paused; }
.ms-repli { margin: 0; padding: 1.2em; font: 600 .8rem/1.3 var(--f-texte); color: var(--trame); }

/* Mini-sites fictifs ---------------------------------------------------- */
.ms {
  --ms-fond: #fff; --ms-encre: #222; --ms-accent: #333; --ms-doux: #eee; --ms-police: var(--f-texte); --ms-titre: var(--f-titre); --ms-rayon: 0;
  background: var(--ms-fond); color: var(--ms-encre);
  font-family: var(--ms-police); line-height: 1.35;
}
.ms p { margin: 0; max-width: none; }
.ms--large { font-size: 1.42cqw; }
.ms--etroit { font-size: 4.2cqw; }

.ms__barre { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 2em; }
.ms__barre b { font-family: var(--ms-titre); font-size: 1.25em; font-weight: 700; letter-spacing: -.01em; }
.ms__liens { display: flex; gap: 1.6em; font-size: .85em; }
.ms__burger { display: none; width: 1.6em; height: 1.1em; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.ms--etroit .ms__barre { padding: 2.9em 1.2em .9em; }
.ms--etroit .ms__liens { display: none; }
.ms--etroit .ms__burger { display: block; }

.ms__une { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; background: var(--ms-doux); }
.ms__illu { display: block; width: 100%; height: 25em; object-fit: cover; object-position: center; }
.ms__accroche { padding: 2.2em; }
.ms__titre { font-family: var(--ms-titre); font-size: 2.5em; font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin-bottom: .45em !important; }
.ms__texte { font-size: .95em; margin-bottom: 1.3em !important; opacity: .85; }
.ms__bouton { display: inline-block; background: var(--ms-accent); color: #fff; font-weight: 600; font-size: .85em; padding: .75em 1.2em; border-radius: var(--ms-rayon); }
.ms--etroit .ms__une { grid-template-columns: 1fr; }
.ms--etroit .ms__illu { height: 14em; }
.ms--etroit .ms__accroche { padding: 1.4em 1.2em 1.6em; }
.ms--etroit .ms__titre { font-size: 1.85em; }
.ms--etroit .ms__bouton { display: block; text-align: center; padding: 1em; }

.ms__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; padding: 2.6em 2em; }
.ms__trio > div { display: flex; flex-direction: column; gap: .35em; font-size: .9em; }
.ms__trio b { font-family: var(--ms-titre); font-size: 1.3em; font-weight: 700; }
.ms--etroit .ms__trio { grid-template-columns: 1fr; padding: 1.6em 1.2em; gap: 1.4em; }
.ms__vignette { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: .6em; border-radius: var(--ms-rayon); }
.ms__bouteille { display: block; width: auto; height: 8em; margin: 0 0 .6em .2em; }
.ms__infos { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 2em; padding: 2em; background: var(--ms-doux); }
.ms__infos b { font-family: var(--ms-titre); font-size: 1.3em; font-weight: 700; }
.ms__bouton--plein { margin-left: auto; }
.ms--etroit .ms__infos { flex-direction: column; align-items: stretch; gap: .5em; padding: 1.6em 1.2em; }
.ms--etroit .ms__bouton--plein { margin-left: 0; }
.ms__pied { padding: 1.4em 2em 2em; font-size: .72em; background: var(--ms-encre); color: var(--ms-fond); opacity: .95; }
.ms--etroit .ms__pied { padding: 1.4em 1.2em 3em; }

.ms--domaine { --ms-fond: #FBF6EE; --ms-encre: #2A1218; --ms-accent: #6E1F35; --ms-doux: #F1E6D2; --ms-titre: var(--f-serif); --ms-rayon: 99px; }
.ms--domaine .ms__titre, .ms--domaine .ms__barre b, .ms--domaine .ms__trio b, .ms--domaine .ms__infos b { font-weight: 400; letter-spacing: 0; }
.ms--domaine .ms__titre { font-size: 2.9em; line-height: .98; }
.ms--domaine .ms__trio { background: #F6EEE1; }
.ms--manade { --ms-fond: #F7F1E3; --ms-encre: #1C1C18; --ms-accent: #A4462B; --ms-doux: #E8D9B5; --ms-titre: var(--f-titre); --ms-rayon: 4px; }
.ms--manade .ms__titre, .ms--manade .ms__barre b { font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; line-height: .95; }
.ms--manade .ms__trio b { font-stretch: 80%; font-weight: 800; }
.ms--artisan { --ms-fond: #F4F4F1; --ms-encre: #22303B; --ms-accent: #2D5C7A; --ms-doux: #E3E6E4; --ms-titre: var(--f-texte); --ms-rayon: 6px; }
.ms--artisan .ms__titre, .ms--artisan .ms__barre b, .ms--artisan .ms__trio b, .ms--artisan .ms__infos b { font-weight: 800; letter-spacing: -.03em; }

/* Sections --------------------------------------------------------------- */
.section { position: relative; padding-block: 5rem; overflow-x: clip; }
@media (min-width: 48em) { .section { padding-block: 8.5rem; } }
.section--salin { background: var(--salin); }
.section h2 { font-size: var(--t-titre-2); max-width: 15ch; margin-bottom: 1.5rem; }
.intro { font-size: var(--t-grand); line-height: 1.5; margin-bottom: 3rem; }
.fonce .intro { color: var(--brume); }

.entree-section { display: grid; }
@media (min-width: 64em) {
  .entree-section { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
  .entree-section .intro { margin-bottom: .35rem; }
}

/* titres ligne à ligne (découpe posée par main.js) */
.masque-ligne { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.masque-ligne > span { display: block; will-change: transform; }

/* 2. Recomposition ------------------------------------------------------ */
.recomposition { background: var(--blanc); }
.recomposition__grille { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64em) { .recomposition__grille { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 4rem; } }
.legendes-etapes p { font-size: var(--t-grand); line-height: 1.5; }
.legende-etape strong { font-weight: 700; }
.legende-etape--2 strong { color: var(--magenta); }
.recomposition__note { color: var(--trame); }

.recomposition__scene {
  margin: 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 2rem;
}
.recomposition__scene .ecran-bureau { flex: 1 1 22rem; }
.telephone--scene { flex: 0 0 auto; width: 46%; max-width: 230px; }

/* téléphone posé devant l'écran (petits écrans, ou sans animation) */
@media (max-width: 63.99em) {
  .recomposition__scene { position: relative; display: block; padding: 0 12% 14% 0; }
  .recomposition__scene .ecran-bureau { width: 100%; }
  .telephone--scene { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 200px; z-index: 3; }
}
/* version animée (grand écran) : les deux appareils occupent la même place */
@media (min-width: 64em) {
  .mouvement .recomposition__epingle { min-height: 100svh; display: flex; align-items: center; padding-block: 2rem; }
  .mouvement .recomposition { padding-block: 0; }
  .mouvement .recomposition__scene { display: grid; grid-template-columns: 100%; place-items: center; }
  .mouvement .recomposition__scene > * { grid-area: 1 / 1; }
  .mouvement .recomposition__scene .ecran-bureau { width: 100%; }
  .mouvement .telephone--scene { width: min(46vw, 250px, 30svh); }
  .mouvement .legendes-etapes { display: grid; }
  .mouvement .legendes-etapes p { grid-area: 1 / 1; }
}

/* 3. Avant, après -------------------------------------------------------- */
.comparaison { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56em) { .comparaison { grid-template-columns: auto minmax(0, 1fr); column-gap: 5rem; } }
.comparateur { --pos: 50%; position: relative; width: 280px; max-width: 100%; margin: 0 auto; }
.telephone--comparateur { max-width: none; }

.ecran { position: absolute; inset: 0; overflow: hidden; }
.ecran--apres { clip-path: inset(0 0 0 var(--pos)); }
.ecran--avant { background: #EFEFEF; }
.page-large { width: 165%; padding: 13% 7px 7px; font-family: "Times New Roman", Times, serif; font-size: 6px; line-height: 1.3; color: #3a3a3a; }
.bandeau { height: 36px; background: #6F8295; margin-bottom: 4px; color: #fff; font: italic 14px/36px "Times New Roman", serif; padding-left: 8px; }
.menu { display: flex; gap: 6px; margin-bottom: 5px; color: #1a3fbf; text-decoration: underline; }
.colonnes { display: grid; grid-template-columns: 22% 1fr 22%; gap: 5px; }
.bloc { background: #D6D6D6; height: 44px; margin-bottom: 4px; }
.lignes i { display: block; height: 2px; margin-bottom: 3px; background: #A3A3A3; }
.lignes i:nth-child(3n) { width: 78%; }
.lignes i:nth-child(5n) { width: 55%; }
.petit-texte { margin: 6px 0 0; max-width: none; }

.ecran--apres { background: #fff; padding: 16% 8% 8%; display: flex; flex-direction: column; gap: 10px; color: var(--encre); }
.apres__nom { font-family: var(--f-titre); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.03em; }
.apres__accroche { font-size: 12px; line-height: 1.4; }
.apres__image {
  flex: 1 1 auto; min-height: 60px;
  background: #D9A86A url("img/facade-volets.svg") center / cover no-repeat;
  border-radius: 10px;
}
.apres__horaires { font-size: 11.5px; line-height: 1.45; }
.apres__appel { background: var(--magenta); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 12px 0; }

.poignee {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5;
  width: 3px; margin-left: -1.5px; background: var(--magenta); pointer-events: none;
}
.poignee__bouton {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--magenta); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(179, 22, 79, .18), 0 6px 16px rgba(17, 26, 36, .35);
  transition: transform var(--d-rapide) var(--sortie);
}
.poignee__bouton svg { width: 22px; height: 22px; }
.comparateur:active .poignee__bouton { transform: scale(.92); }
.comparateur input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 8; touch-action: pan-y;
}
.comparateur:has(input:focus-visible) .poignee__bouton { outline: 3px solid var(--encre); outline-offset: 3px; }
.etiquettes-comparateur { display: flex; justify-content: space-between; margin-top: 1rem; font-weight: 600; }

.notes-comparaison { display: grid; gap: 2.5rem; }
.jauges { background: var(--salin); padding: 1.5rem; }
.jauges__titre { font-weight: 700; margin-bottom: 1rem; }
.jauge { display: grid; gap: .35rem; margin-bottom: 1rem; }
.jauge__nom { font-size: var(--t-petit); }
.jauge__piste { display: block; height: 10px; background: #D3D8DC; overflow: hidden; }
.jauge__valeur {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--q-cyan), var(--magenta));
  transform-origin: left; transform: scaleX(.5);
  transition: transform var(--d-normal) var(--sortie);
}
.jauges__note { margin: 0; font-size: .875rem; color: var(--trame); }
.listes-comparaison { display: grid; gap: 2rem; }
@media (min-width: 40em) { .listes-comparaison { grid-template-columns: 1fr 1fr; } }
.listes-comparaison h3 { font-size: var(--t-titre-3); margin-bottom: .9rem; }
.listes-comparaison ul { list-style: none; margin: 0; padding: 0; }
.listes-comparaison li { position: relative; padding: 0 0 .8rem 1.6rem; }
.listes-comparaison li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .7rem; }
.avant-liste li::before { background: #A3A3A3; }
.apres-liste li::before { background: var(--magenta); }
.legende { margin: 0; font-size: var(--t-petit); color: var(--trame); }

/* 4. Réalisations : piste horizontale ----------------------------------
   Téléphone et tablette : piste glissée au doigt (scroll-snap), contenue
   dans la section : la page ne défile jamais à l'horizontale.
   Grand écran sans animation : les réalisations s'empilent.
   Grand écran animé (.mouvement) : la piste glisse, pilotée par le défilement. */
.realisations { background: var(--nuit); }
.realisations .entree-section { margin-bottom: 2.5rem; }
.realisations__piste {
  display: flex; gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  padding: 1rem var(--gouttiere) 2.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.realisations__piste::-webkit-scrollbar { display: none; }
.realisations__piste:focus-visible { outline-offset: -3px; }
.realisation {
  flex: 0 0 min(86%, 34rem);
  scroll-snap-align: start;
  display: grid; gap: 2.25rem; align-content: start;
}
.realisation__appareils { position: relative; padding: 0 9% 9% 0; }
.portable--realisation { width: 100%; margin: 0; }
.telephone--realisation { position: absolute; right: 0; bottom: 0; width: 29%; max-width: 210px; z-index: 3; }
.realisation__fiche h3 { font-size: var(--t-titre-3-grand); line-height: 1.02; letter-spacing: -.03em; margin-bottom: .9rem; }
.realisation__fiche p { font-size: var(--t-grand); color: var(--brume); }
.realisation__lien { margin-top: 1.25rem; font-weight: 600; }
.realisations .ombre-sol { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.realisations .portable__ecran, .realisations .telephone { --ombre-appareil: 0 50px 80px -40px rgba(0, 0, 0, .8), 0 20px 40px -20px rgba(0, 0, 0, .6); }

.realisations__pied { display: flex; align-items: center; gap: 1.25rem; }
.realisations__points { display: flex; gap: .25rem; }
.realisations__points button {
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.realisations__points button::before {
  content: ""; width: 24px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .35);
  transform: scaleX(.34);
  transition: transform var(--d-normal) var(--sortie), background-color var(--d-normal) ease;
}
.realisations__points button[aria-current="true"]::before { transform: none; background: var(--rose); }
.realisations__jauge { display: none; flex: 1; height: 2px; background: rgba(255, 255, 255, .15); max-width: 22rem; }
.realisations__jauge span { display: block; height: 100%; background: linear-gradient(90deg, var(--q-cyan), var(--q-magenta), var(--q-jaune)); transform: scaleX(0); transform-origin: left; }
.realisations__aide { margin: 0; font-size: var(--t-petit); color: var(--brume); }
.aide-souris { display: none; }

/* Lien fléché des fiches */
.lien-fleche { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #fff; font-size: var(--t-grand); }
.lien-fleche span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: .15em; transition: background-size var(--d-normal) var(--sortie); }
.fonce .lien-fleche, .fonce .lien-fleche:hover { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .lien-fleche:hover span { background-size: 0 1.5px; background-position: 100% 100%; }
}

@media (min-width: 48em) {
  .realisation { flex-basis: min(70%, 40rem); }
}
@media (min-width: 64em) {
  .realisations__piste { display: grid; gap: 6rem; overflow: visible; padding: 1rem var(--gouttiere) 0; max-width: var(--large); margin-inline: auto; scroll-snap-type: none; }
  .realisation { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: 4.5rem; align-items: center; }
  .realisations__pied { display: none; }

  .mouvement .realisations { padding-block: 0; }
  .mouvement .realisations__epingle { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 5.5rem 2.5rem; }
  .mouvement .realisations .entree-section { margin-bottom: 1.5rem; }
  .mouvement .realisations .intro { font-size: 1.05rem; }
  .mouvement .realisations__piste {
    display: flex; gap: 7vw; width: max-content; max-width: none; margin: 0;
    padding: 1rem max(var(--gouttiere), calc((100vw - var(--large)) / 2 + var(--gouttiere))) 1rem;
  }
  .mouvement .realisation { flex: 0 0 auto; width: min(76vw, 1120px, 128svh); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 3.5rem; }
  .mouvement .realisations__pied { display: flex; margin-top: 1.5rem; }
  .mouvement .realisations__points { display: none; }
  .mouvement .realisations__jauge { display: block; }
  .mouvement .aide-tactile { display: none; }
  .mouvement .aide-souris { display: inline; }
}

/* 4 bis. Exemples fictifs ----------------------------------------------- */
.exemples { background: var(--blanc); }
.exemples__scene { display: grid; gap: 3rem; align-items: end; }
@media (min-width: 60em) { .exemples__scene { grid-template-columns: minmax(0, 1.35fr) minmax(0, .55fr) minmax(0, 1fr); column-gap: 2.5rem; } }
.exemple { margin: 0; }
.exemple .telephone { margin-inline: auto; max-width: 220px; }
.exemple figcaption { margin-top: 1.25rem; font-size: var(--t-petit); color: var(--trame); max-width: 24rem; }
.exemple figcaption b { display: block; font-family: var(--f-titre); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; color: var(--encre); margin-bottom: .2rem; }
.exemple--tel figcaption { text-align: center; margin-inline: auto; }

/* 5. Pour qui : les métiers, en liste ------------------------------- */
.pour-qui__tete { display: grid; }
@media (min-width: 64em) { .pour-qui__tete { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; } }
.metiers {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; column-gap: 3rem; row-gap: .25rem;
}
@media (min-width: 48em) { .metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.metiers li {
  display: flex; align-items: baseline; gap: .9rem;
  padding-block: .7rem;
  font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  line-height: 1.2; letter-spacing: -.015em;
}
.metiers li::before { content: ""; flex: none; width: .5em; height: .5em; border-radius: 2px; background: var(--q-cyan); }
.metiers li:nth-child(4n+2)::before { background: var(--q-magenta); }
.metiers li:nth-child(4n+3)::before { background: var(--q-jaune); }
.metiers li:nth-child(4n+4)::before { background: var(--rose); }

/* 6. Méthode ------------------------------------------------------------ */
.etapes-cadre { position: relative; }
.etapes-fil {
  display: none; position: absolute; left: 0; right: 0; top: -1.5rem; height: 3px; z-index: 0;
  background: linear-gradient(90deg, var(--q-cyan), var(--q-magenta), var(--q-jaune), var(--encre));
  transform-origin: left;
}
@media (min-width: 72em) { .etapes-fil { display: block; } }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 40em) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 72em) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.etapes li {
  position: relative; background: var(--salin); padding: 1.75rem 1.5rem 2rem;
  border-radius: 18px;
  transition: transform var(--d-normal) var(--ressort), box-shadow var(--d-normal) ease;
}
@media (hover: hover) and (pointer: fine) { .etapes li:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -24px rgba(17, 26, 36, .4); } }
.etapes li.offerte { background: var(--magenta); color: #fff; }
.etape__num {
  display: block; font-family: var(--f-titre); font-size: 4.6rem; line-height: .9; font-weight: 800; letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}
.etapes h3 { font-size: var(--t-titre-3); letter-spacing: -.018em; margin-bottom: .6rem; }
.etapes p { margin: 0; }

/* 7. Outils : modules métier ------------------------------------------
   Piste glissée (scroll-snap) : un module par vue, onglets et flèches
   synchronisés par main.js. Sans JavaScript, la piste reste glissable. */
.modules { position: relative; }
.modules__barre { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.modules__onglets {
  display: flex; gap: 4px; min-width: 0; flex: 0 1 auto;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 4px; background: var(--blanc); border-radius: 99px;
  box-shadow: inset 0 0 0 1px #D9DFDC;
}
.modules__onglets::-webkit-scrollbar { display: none; }
.modules__onglets button {
  flex: none; min-height: 44px; padding: 0 1.05rem; border: 0; border-radius: 99px;
  background: transparent; color: var(--trame); cursor: pointer;
  font: 600 .95rem/1 var(--f-texte); white-space: nowrap;
  transition: background-color var(--d-normal) var(--sortie), color var(--d-normal) ease;
}
@media (hover: hover) and (pointer: fine) { .modules__onglets button:hover { color: var(--encre); background: var(--salin); } }
.modules__onglets button[aria-current="true"] { background: var(--encre); color: #fff; }
.modules__fleches { display: none; align-items: center; gap: .5rem; flex: none; }
@media (min-width: 48em) { .modules__fleches { display: flex; } }
.modules__compte { margin-right: .5rem; color: var(--trame); font-variant-numeric: tabular-nums; }
.modules__compte b { color: var(--encre); }
.fleche {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid #C9D0CD; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2836' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform var(--d-normal) var(--ressort), background-color var(--d-rapide) ease, opacity var(--d-normal) ease;
}
.fleche--gauche { transform: scaleX(-1); }
.fleche:active:not(:disabled) { transform: scale(.92); }
.fleche--gauche:active:not(:disabled) { transform: scaleX(-1) scale(.92); }
.fleche:disabled { opacity: .35; cursor: default; }

.modules__piste {
  position: relative;
  display: flex; gap: var(--gouttiere);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .5rem max(var(--gouttiere), calc((100vw - var(--large)) / 2 + var(--gouttiere))) 2.5rem;
  scroll-padding-inline: max(var(--gouttiere), calc((100vw - var(--large)) / 2 + var(--gouttiere)));
}
.modules__piste::-webkit-scrollbar { display: none; }
.module {
  flex: 0 0 100%; min-width: 0;
  scroll-snap-align: start;
  display: grid; gap: 2rem; align-items: center; align-content: start;
  transition: opacity var(--d-lent) var(--sortie), transform var(--d-lent) var(--sortie);
}
.js .module:not(.module--actif) { opacity: .3; transform: scale(.97); }
@media (min-width: 48em) { .js .module:not(.module--actif) { opacity: 0; } } /* sur grand écran, onglets et flèches suffisent */
.module__texte h3 { font-size: var(--t-titre-3-grand); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .9rem; }
.module__texte p { color: var(--trame); max-width: 32rem; }
.module__pour { margin: 1.25rem 0 0; font-size: var(--t-petit); font-weight: 600; color: var(--encre) !important; }
.module .telephone--demo { justify-self: center; }
@media (min-width: 64em) {
  .module { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 4rem; align-items: start; }
  .module__texte { padding-top: 2rem; }
  .module--large { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
}
.telephone--demo { width: 320px; max-width: 100%; }

/* Fenêtre de navigateur pour les modules larges */
.fenetre {
  background: var(--blanc); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 26, 36, .08), var(--ombre-appareil);
  width: 100%; max-width: 46rem; justify-self: center;
}
.fenetre__barre { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: #ECEEF1; border-bottom: 1px solid #DADDE2; }
.fenetre__barre i { width: 11px; height: 11px; border-radius: 50%; background: #F25F57; flex: none; }
.fenetre__barre i:nth-child(2) { background: #F7BC2E; }
.fenetre__barre i:nth-child(3) { background: #29C840; }
.fenetre__barre span { margin-inline: auto; padding: 3px 14px; border-radius: 99px; background: #fff; font-size: var(--t-mini); color: #5b6570; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.fenetre__corps { padding: 1.25rem; font-size: var(--t-petit); }
.fenetre__fin { padding: 1.5rem; max-width: 30rem; margin-inline: auto; }

/* Contrôles partagés : segments, puces, compteurs */
.segments { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; margin-bottom: 1rem; background: var(--salin); border-radius: 12px; }
.segments label, .puces-choix label, .nuancier-bois label, .pastilles-couleur label { position: relative; cursor: pointer; }
.segments input, .puces-choix input, .nuancier-bois input, .pastilles-couleur input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.segments span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: .25rem .3rem; border-radius: 9px;
  font-size: .875rem; font-weight: 600; line-height: 1.1; color: var(--trame);
  transition: background-color var(--d-normal) var(--sortie), color var(--d-normal) ease, box-shadow var(--d-normal) ease;
}
.segments label:has(input:checked) span { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 3px rgba(17, 26, 36, .18); }
.segments label:has(input:focus-visible) span,
.puces-choix label:has(input:focus-visible) span,
.nuancier-bois label:has(input:focus-visible) .echantillon,
.pastilles-couleur label:has(input:focus-visible) span { outline: 3px solid var(--magenta); outline-offset: 2px; }

.puces-choix { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.puces-choix span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .85rem;
  border-radius: 99px; border: 1px solid #CBD2CF; background: var(--blanc);
  font-size: .875rem; font-weight: 600; line-height: 1.15;
  transition: background-color var(--d-normal) var(--sortie), color var(--d-normal) ease, border-color var(--d-normal) ease;
}
.puces-choix label:has(input:checked) span { background: var(--encre); border-color: var(--encre); color: #fff; }
.puces-choix label:active span, .segments label:active span { transform: scale(.97); }

.compteurs { display: grid; gap: .25rem; margin-bottom: .75rem; }
.compteur { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.compteur > span { flex: 1; font-weight: 600; font-size: var(--t-petit); }
.compteur button {
  width: 44px; height: 44px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid #CBD2CF; background: var(--blanc); color: var(--encre);
  font: 500 1.3rem/1 var(--f-texte);
  transition: transform var(--d-rapide) var(--sortie), background-color var(--d-rapide) ease;
}
.compteur button:active:not(:disabled) { transform: scale(.9); }
.compteur button:disabled { opacity: .35; cursor: default; }
.compteur output { min-width: 2.2ch; text-align: center; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.options { border: 0; margin: 0 0 .75rem; padding: 0; min-width: 0; }
.options legend, .config__groupe legend { padding: 0; margin-bottom: .45rem; font-weight: 700; font-size: var(--t-petit); }
.options label { display: flex; align-items: center; gap: .65rem; min-height: 44px; font-size: var(--t-petit); cursor: pointer; }
.options input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--magenta); flex: none; }

/* Barres d'en-tête des applis d'exemple */
.appli .appli__barre--manade { background: #A4462B; }
.appli__barre--manade b { font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.appli__barre--manade span { color: #F4DCCB; }
.appli .appli__barre--domaine { background: #6E1F35; }
.appli__barre--domaine b { font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; letter-spacing: 0; }
.appli__barre--domaine span { color: #F1D6DC; }
.appli .appli__corps { padding: .85rem; }

/* Réservation : calendrier */
.calendrier { margin-bottom: 1rem; }
.calendrier__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.calendrier__tete b { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.calendrier__tete b::first-letter { text-transform: uppercase; }
.calendrier__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--encre); cursor: pointer; }
.calendrier__nav:disabled { opacity: .25; cursor: default; }
.calendrier__semaine, .calendrier__grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.calendrier__semaine span { text-align: center; font-size: var(--t-mini); font-weight: 600; color: var(--trame); padding-bottom: .2rem; }
.jour {
  min-height: 44px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
  background: #E3F0E6; color: #1F4D2E; font: 600 .86rem/1 var(--f-texte); font-variant-numeric: tabular-nums;
  transition: background-color var(--d-rapide) ease, color var(--d-rapide) ease, transform var(--d-rapide) var(--sortie);
}
.jour:active:not(:disabled) { transform: scale(.9); }
.jour--complet { background: transparent; color: #66707B; text-decoration: line-through; cursor: not-allowed; }
.jour--passe { background: transparent; color: #8A939B; cursor: default; }
.jour[aria-pressed="true"] { background: var(--encre); color: #fff; }
.calendrier__legende { display: flex; align-items: center; gap: .4rem; margin: .5rem 0 0; font-size: var(--t-mini); color: var(--trame); }
.pastille-libre, .pastille-complet { width: .75rem; height: .75rem; border-radius: 3px; background: #E3F0E6; }
.pastille-complet { background: transparent; box-shadow: inset 0 0 0 1px #A9B0B6; margin-left: .5rem; }

/* Configurateur de matières */
.config { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .config { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.config__apercu { position: sticky; top: 0; background: #F3EFE8; border-radius: 12px; padding: .75rem .75rem .5rem; }
.config__apercu svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.config__legende { margin: .5rem 0 0; font-size: var(--t-mini); color: var(--trame); text-align: center; max-width: none; min-height: 2.6em; }
.config__groupe { border: 0; margin: 0 0 .85rem; padding: 0; min-width: 0; }
.config__groupe .segments { margin-bottom: 0; }
.v-mur { fill: #EDE7DD; }
.v-sol { fill: #CDBFA9; }
.v-bois { fill: var(--bois, #C4945F); transition: fill var(--d-lent) var(--sortie); }
.v-grain { stroke: var(--grain, #9E7040); transition: stroke var(--d-lent) var(--sortie); }
.v-veinage { opacity: .55; transition: opacity var(--d-lent) ease; }
.v-lustre { opacity: .15; transition: opacity var(--d-lent) ease; }
.v-joint { stroke: rgba(30, 20, 10, .3); stroke-width: 1; }
.v-trait { fill: none; stroke: #1D2836; stroke-width: .9; opacity: .7; }
.v-plinthe { fill: #5A4A3A; }
.v-plan { fill: #E8E2D6; }
.v-poignee rect { fill: var(--poignee, #C9A24A); transition: fill var(--d-normal) ease; }
.v-ombre { fill: rgba(60, 40, 20, .1); }
.v-rampe { fill: none; stroke: #23211F; stroke-width: 2.2; stroke-linecap: round; }
.v-rampe--fine { stroke-width: 1.2; }
.v-encadrement { fill: #DCD3C3; }
.v-vitrage { fill: #BFD3D9; }
.v-panneau { fill: rgba(0, 0, 0, .07); stroke: rgba(0, 0, 0, .14); }
[data-finition="vernie"] .v-veinage { opacity: .45; }
[data-finition="vernie"] .v-lustre { opacity: .5; }
[data-finition="brute"] .v-veinage { opacity: .35; }
[data-finition="brute"] .v-lustre { opacity: 0; }
[data-finition="laquee"] .v-veinage { opacity: 0; }
[data-finition="laquee"] .v-lustre { opacity: .65; }
.ouvrage { display: none; }
[data-ouvrage="cuisine"] .ouvrage--cuisine, [data-ouvrage="escalier"] .ouvrage--escalier, [data-ouvrage="porte"] .ouvrage--porte { display: inline; animation: apparait 450ms var(--sortie) both; }
@keyframes apparait { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nuancier-bois { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.nuancier-bois label { display: grid; justify-items: center; gap: .3rem; font-size: var(--t-mini); font-weight: 600; }
.echantillon {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: transform var(--d-normal) var(--ressort), box-shadow var(--d-normal) ease;
}
.echantillon--chene { background: repeating-linear-gradient(100deg, #C4945F 0 7px, #A87A4A 7px 9px, #C9A06C 9px 15px); }
.echantillon--noyer { background: repeating-linear-gradient(100deg, #6E4A33 0 7px, #553624 7px 9px, #7A5640 9px 15px); }
.echantillon--frene { background: repeating-linear-gradient(100deg, #DCC29A 0 7px, #C4A77D 7px 9px, #E4CDA8 9px 15px); }
.echantillon--chataignier { background: repeating-linear-gradient(100deg, #A87442 0 7px, #8C5C30 7px 9px, #B5824F 9px 15px); }
.nuancier-bois label:has(input:checked) .echantillon { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--encre); transform: scale(1.04); }
.pastilles-couleur { display: flex; flex-wrap: wrap; gap: .35rem; }
.pastilles-couleur label { width: 44px; height: 44px; display: grid; place-items: center; }
.pastilles-couleur span { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: box-shadow var(--d-normal) ease, transform var(--d-normal) var(--ressort); }
.pastilles-couleur label:has(input:checked) span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--encre); transform: scale(1.06); }

/* Devis : dépôt de photos */
.depot {
  display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .8rem;
  border: 2px dashed #BFC8C4; border-radius: 12px; cursor: pointer;
  transition: border-color var(--d-rapide) ease, background-color var(--d-rapide) ease;
}
@media (hover: hover) and (pointer: fine) { .depot:hover { border-color: var(--magenta); background: #FDF4F7; } }
.etape-devis:has(.depot__champ:focus-visible) .depot { outline: 3px solid var(--magenta); outline-offset: 2px; }
.depot__icone { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--salin); flex: none; }
.depot__icone::before, .depot__icone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--encre); border-radius: 2px; }
.depot__icone::after { transform: rotate(90deg); }
.depot__texte { font-size: .875rem; color: var(--trame); line-height: 1.3; }
.depot__texte b { display: block; color: var(--encre); font-size: var(--t-petit); }
.depot__champ { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.vignettes-photos { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vignettes-photos li { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--salin); animation: apparait 400ms var(--sortie) both; }
.vignettes-photos img { width: 100%; height: 100%; object-fit: cover; }
.depot__note { margin: .6rem 0 0; font-size: var(--t-mini); color: var(--trame); }

/* Accord mets et vins */
.vins__gouts { margin-bottom: .5rem; }
.curseur-gout { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 4.6rem; align-items: center; gap: .4rem; font-size: var(--t-mini); font-weight: 600; color: var(--trame); }
.curseur-gout input { width: 100%; height: 44px; margin: 0; accent-color: #6E1F35; }
.vin-conseil { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .8rem; margin: .25rem 0 1rem; padding: .7rem .8rem; border-radius: 12px; background: #F6EFE4; }
.vin-conseil__bouteille { width: auto; height: 104px; }
.vin-conseil__nom { margin: 0 0 .2rem; font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.05; color: #4A1424; }
.vin-conseil__texte { margin: 0; font-size: var(--t-mini); line-height: 1.35; color: #4F4146; }
.vin-conseil.change { animation: conseil 500ms var(--sortie) both; }
@keyframes conseil { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.mention-alcool { margin: .6rem 0 0; font-size: var(--t-mini); color: var(--trame); }

/* Carte des chantiers */
.carte { display: grid; gap: 1rem; }
@media (min-width: 48em) { .carte { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; } }
.carte__filtres { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.carte__filtres button {
  min-height: 44px; padding: 0 .9rem; border-radius: 99px; cursor: pointer;
  border: 1px solid #CBD2CF; background: var(--blanc); color: var(--encre); font: 600 .86rem/1 var(--f-texte);
  transition: background-color var(--d-normal) var(--sortie), color var(--d-normal) ease, border-color var(--d-normal) ease;
}
.carte__filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.carte__zone { position: relative; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(17, 26, 36, .08); }
.carte__plan { width: 100%; height: auto; display: block; }
.carte__villes circle { fill: #FBF9F3; stroke: #1D2836; stroke-width: 1.4; }
.carte__villes text { fill: #1D2836; font-family: var(--f-texte); font-weight: 600; }
.carte__mer { fill: #3F6369; font: italic 15px var(--f-serif); letter-spacing: .04em; }
.carte__eau { fill: #3F6369; font: italic 13px var(--f-serif); letter-spacing: .03em; }
.carte__repere { position: absolute; inset: 0; pointer-events: none; }
.repere-chantier {
  position: absolute; width: 44px; height: 44px; margin: -40px 0 0 -22px; padding: 0;
  border: 0; background: none; cursor: pointer; pointer-events: auto;
  --teinte: var(--magenta);
  transition: opacity var(--d-normal) ease, transform var(--d-normal) var(--ressort);
  transform-origin: 50% 90%;
}
.repere-chantier::before {
  content: ""; position: absolute; left: 50%; top: 6px; width: 24px; height: 24px; margin-left: -12px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--teinte); box-shadow: 0 4px 10px -2px rgba(17, 26, 36, .5);
}
.repere-chantier::after { content: ""; position: absolute; left: 50%; top: 14px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; }
.repere-chantier--cuisine { --teinte: #0B78A0; }
.repere-chantier--exterieur { --teinte: #9A7400; }
.repere-chantier--terrasse { --teinte: #1D2836; }
.repere-chantier[aria-pressed="true"] { transform: scale(1.3); z-index: 2; }
.repere-chantier--masque { opacity: 0; transform: scale(.3); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .repere-chantier:hover:not(.repere-chantier--masque) { transform: scale(1.18); } }
.carte__note { position: absolute; left: 8px; bottom: 8px; margin: 0; padding: .2rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .85); font-size: var(--t-mini); color: var(--trame); }
.carte__fiche { background: var(--salin); border-radius: 12px; padding: 1rem; min-height: 8rem; }
.carte__fiche img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: .75rem; }
.carte__fiche.change { animation: apparait 450ms var(--sortie) both; }
.carte__titre { margin: 0 0 .2rem; font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.015em; }
.carte__lieu { margin: 0 0 .9rem; font-size: .875rem; color: var(--trame); }
.carte__invite { margin: 0; color: var(--trame); font-size: var(--t-petit); }
.carte__fiche .bouton--plein, .config .bouton--plein, .cadeau .bouton--plein { width: 100%; font-size: var(--t-petit); padding: .9rem 1rem; }

/* Bon cadeau */
.cadeau { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .cadeau { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.bon {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1.58; border-radius: 16px; padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; color: #fff;
  background: #A8115A;
  box-shadow: 0 24px 40px -22px rgba(17, 26, 36, .6);
  transition: background-color var(--d-lent) ease;
}
.bon::before { /* motif de cercles */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: radial-gradient(circle at 88% 18%, transparent 0 34px, #fff 35px 36px, transparent 37px 60px, #fff 61px 62px, transparent 63px),
              radial-gradient(circle at 8% 120%, #fff 0 70px, transparent 71px);
}
.bon[data-occasion="noel"] { background: #24553F; }
.bon[data-occasion="merci"] { background: #0B6F8F; }
.bon[data-occasion="mariage"] { background: #3A3128; }
.bon__haut { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: var(--t-mini); }
.bon__marque { font-family: var(--f-titre); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: var(--t-petit); }
.bon__occasion { font-family: var(--f-serif); font-size: 1.15rem; }
.bon__montant { margin: auto 0 .2rem; font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bon__pour { margin: 0; font-size: var(--t-mini); }
.bon__message { margin: .2rem 0 .35rem; font-size: var(--t-mini); opacity: .9; min-height: 1.3em; }
.bon__code { margin: 0; font-size: var(--t-mini); opacity: .8; }
.champs-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.mention-exemple { font-weight: 400; color: var(--trame); font-size: var(--t-mini); }
.fenetre .champ textarea { min-height: 4.5rem; }

.appli {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  font-size: 15px; line-height: 1.4;
  background: #fff; color: var(--encre);
  margin: 0;
}
.appli__barre { padding: 2.9rem 1rem .9rem; background: var(--encre); color: #fff; }
.appli__barre b { display: block; font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.appli__barre span { font-size: .875rem; color: var(--brume); }
.appli__corps { padding: 1rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.demo__titre { font-weight: 700; margin: 0 0 .6rem; font-size: var(--t-petit); }
.sans-script { margin: 1rem; padding: .8rem; background: var(--salin); }

.jours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 1rem; }
.creneaux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 1rem; }
.pastille {
  font: inherit; font-size: .875rem; line-height: 1.15; color: var(--encre);
  background: var(--salin); border: 0; padding: .55rem .1rem; min-height: 2.9rem;
  cursor: pointer; text-align: center;
  transition: transform var(--d-rapide) var(--sortie), background-color var(--d-rapide) ease, color var(--d-rapide) ease;
  touch-action: manipulation;
}
.pastille small { display: block; font-size: var(--t-mini); color: var(--trame); }
@media (hover: hover) and (pointer: fine) { .pastille:hover:not(:disabled) { background: #dde2e0; } }
.pastille:active:not(:disabled) { transform: scale(.94); }
.pastille[aria-pressed="true"] { background: var(--encre); color: #fff; }
.pastille[aria-pressed="true"] small { color: var(--brume); }
.pastille:disabled { color: #7C8691; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.pastille.entre { animation: pastille-entre 320ms var(--sortie) both; }
@keyframes pastille-entre { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.champ--appli { margin-bottom: 1rem; }
.champ--appli label { font-size: var(--t-petit); }
.appli .bouton--plein { width: 100%; margin-top: auto; font-size: 1rem; padding: .95rem 1rem; }

.progression { height: 6px; background: #D3D8DC; margin-bottom: 1rem; overflow: hidden; }
.progression span { display: block; height: 100%; background: linear-gradient(90deg, var(--q-cyan), var(--magenta)); transform-origin: left; transform: scaleX(.33); transition: transform var(--d-lent) var(--sortie); }
.etapes-devis { flex: 1 1 auto; }
.etape-devis { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape-devis legend { font-weight: 700; padding: 0; margin-bottom: .8rem; font-size: 1rem; }
.etape-devis.entre-droite { animation: entre-droite 380ms var(--sortie) both; }
.etape-devis.entre-gauche { animation: entre-gauche 380ms var(--sortie) both; }
@keyframes entre-droite { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes entre-gauche { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.choix { display: grid; gap: 8px; }
.choix label {
  display: flex; align-items: center; gap: .7rem; min-height: 3rem; padding: .7rem .85rem;
  background: var(--salin); cursor: pointer;
  transition: background-color var(--d-rapide) ease, transform var(--d-rapide) var(--sortie);
}
.choix label:active { transform: scale(.98); }
.choix label:has(input:checked) { background: var(--encre); color: #fff; }
.choix input { width: 1.1rem; height: 1.1rem; accent-color: var(--magenta); margin: 0; flex: none; }
.pied-demo { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.pied-demo .bouton--plein { width: auto; flex: 1; margin-top: 0; }
.lien-retour, .lien-bouton {
  font: inherit; background: none; border: 0; padding: .75rem .25rem; cursor: pointer;
  color: var(--encre); text-decoration: underline; text-underline-offset: .2em;
}

.appli__fin { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.ticket {
  position: relative;
  background: var(--papier); color: var(--encre);
  padding: 1.2rem 1rem 1.6rem;
  box-shadow: 0 10px 24px -12px rgba(17, 26, 36, .45);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100%;
}
.ticket p { margin: 0 0 .6rem; }
.ticket__titre { font-family: var(--f-titre); font-weight: 800; font-size: 1.45rem; line-height: 1.08; letter-spacing: -.02em; padding-right: 5.5rem; }
.ticket__avertissement { color: var(--magenta); font-weight: 700; }
.ticket__note { font-size: .875rem; color: var(--trame); }
.ticket__tampon {
  position: absolute; top: .8rem; right: .6rem;
  border: 2px solid var(--magenta); color: var(--magenta);
  font-size: .75rem; font-weight: 700; padding: .15rem .4rem;
  transform: rotate(-8deg);
}
@media (prefers-reduced-motion: no-preference) {
  .appli__fin:not([hidden]) .ticket { animation: impression 700ms var(--sortie) both; }
  .appli__fin:not([hidden]) .ticket__tampon { animation: tampon 420ms var(--sortie) 600ms both; }
}
@keyframes impression { from { transform: translateY(-40px); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes tampon { from { opacity: 0; transform: rotate(-8deg) scale(1.8); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.recap { margin: 0 0 .6rem; }
.recap div { display: flex; gap: .5rem; flex-wrap: wrap; padding-block: .15rem; }
.recap dt { color: var(--trame); }
.recap dd { margin: 0; font-weight: 700; }
.note-demos { margin-top: 3rem; color: var(--trame); }

/* 8. Offre, tarifs et calculateur ----------------------------------------- */
.sous-titre-offre { font-size: var(--t-titre-3-grand); letter-spacing: -.03em; margin: 4.5rem 0 1.5rem; }

/* Délais : ligne de temps */
.delais { background: var(--salin); border-radius: 22px; padding: 2rem 1.25rem; }
@media (min-width: 40em) { .delais { padding: 2.75rem 2.5rem; } }
.delais__tete { display: grid; gap: .5rem; margin-bottom: 2rem; }
@media (min-width: 64em) { .delais__tete { grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; } }
.delais__tete h3 { font-size: var(--t-titre-3); }
.delais__tete p { margin: 0; color: var(--trame); }
.delais__etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: delai; }
@media (min-width: 48em) { .delais__etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .delais__etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.delais__etapes li {
  position: relative; display: grid; gap: .3rem; align-content: start;
  padding: 1.1rem 0 0 1.4rem; border-left: 3px solid var(--brume);
}
@media (min-width: 72em) {
  .delais__etapes li { border-left: 0; border-top: 3px solid var(--brume); padding: 1.4rem 1.5rem 0 0; }
}
.delais__etapes li::before {
  content: ""; position: absolute; left: -9px; top: 1.2rem; width: 15px; height: 15px; border-radius: 50%;
  background: var(--papier); border: 3px solid var(--encre);
}
@media (min-width: 72em) { .delais__etapes li::before { left: 0; top: -9px; } }
.delais__etapes .delais__offerte::before { background: var(--q-jaune); }
.delais__quand { font-size: var(--t-mini); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--magenta); }
.delais__etapes strong { font-family: var(--f-titre); font-size: var(--t-titre-3); letter-spacing: -.02em; }
.delais__etapes li > span:last-child { color: var(--trame); }
.delais__rien { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.delais__rien li { background: var(--blanc); border-radius: 99px; padding: .45rem .9rem; font-size: var(--t-petit); font-weight: 600; }
.delais__rien li::before { content: "✓"; color: var(--magenta); margin-right: .4rem; }

/* Niveaux de création */
.niveaux { display: grid; gap: 16px; }
@media (min-width: 48em) { .niveaux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .niveaux { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.niveau {
  display: flex; flex-direction: column; background: var(--blanc); border-radius: 22px; padding: 1.75rem 1.4rem;
  box-shadow: inset 0 0 0 1px #E1E5E3;
  transition: transform var(--d-normal) var(--ressort), box-shadow var(--d-normal) ease;
}
@media (hover: hover) and (pointer: fine) { .niveau:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px #E1E5E3, 0 30px 50px -30px rgba(17, 26, 36, .45); } }
.niveau--repere { box-shadow: inset 0 0 0 2px var(--magenta); }
.niveau--sombre { background: var(--encre); color: #fff; box-shadow: none; }
.niveau h4 { font-size: var(--t-titre-3); letter-spacing: -.02em; margin: 0 0 .5rem; }
.niveau__prix { margin: 0 0 .75rem; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.apartir { font-family: var(--f-texte); font-size: var(--t-petit); font-weight: 400; letter-spacing: 0; }
.niveau__pour { color: var(--trame); }
.niveau--sombre .niveau__pour, .niveau--sombre .niveau__delai { color: var(--brume); }
.niveau__inclus { margin: .5rem 0 1.25rem; padding-left: 1.1rem; }
.niveau__inclus li { margin-bottom: .3rem; }
.niveau__delai { margin: auto 0 0; padding-top: .9rem; border-top: 1px dashed currentColor; font-size: var(--t-petit); color: var(--trame); }

/* Abonnements */
.paliers { display: grid; gap: 16px; }
@media (min-width: 56em) { .paliers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.palier { background: var(--salin); border-radius: 22px; padding: 1.75rem 1.4rem; }
.palier--plein { background: var(--encre); color: #fff; }
.palier--plein p:last-child { color: var(--brume); }
.palier h4 { font-size: var(--t-titre-3); letter-spacing: -.02em; margin: 0 0 .4rem; }
.palier__prix { font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.03em; margin: 0 0 .6rem; font-variant-numeric: lining-nums tabular-nums; }
.palier__mois { font-family: var(--f-texte); font-size: var(--t-petit); font-weight: 400; letter-spacing: 0; }
.palier p:last-child { margin: 0; }
.note-offre { margin-top: 1.25rem; color: var(--trame); }

/* Calculateur */
.calculateur { margin-top: 4.5rem; background: var(--blanc); border-radius: 22px; padding: 2rem 1.25rem; box-shadow: inset 0 0 0 1px #E1E5E3; }
@media (min-width: 40em) { .calculateur { padding: 2.75rem 2.5rem; } }
.calculateur__tete { display: grid; gap: .5rem; margin-bottom: 2rem; }
@media (min-width: 64em) { .calculateur__tete { grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; } }
.calculateur__tete h3 { font-size: var(--t-titre-3-grand); letter-spacing: -.03em; }
.calculateur__tete p { margin: 0; color: var(--trame); }
.calc { display: grid; gap: 2rem; }
@media (min-width: 64em) { .calc { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; } }
.calc__choix { display: grid; gap: 2rem; min-width: 0; }
.calc__groupe { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__groupe legend { display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: .9rem; font-weight: 700; font-size: var(--t-grand); }
.calc__num {
  display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 50%;
  background: var(--encre); color: #fff; font-size: var(--t-petit);
}
.calc__options { display: grid; gap: .5rem; }
@media (min-width: 40em) { .calc__options--modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choix {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; row-gap: .1rem; align-items: center;
  min-height: 44px; padding: .65rem .9rem; border-radius: 14px; cursor: pointer;
  background: var(--salin); box-shadow: inset 0 0 0 1px transparent;
  transition: background-color var(--d-rapide) ease, box-shadow var(--d-rapide) ease, transform var(--d-rapide) var(--sortie);
}
.choix input { grid-row: 1 / span 2; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--magenta); cursor: pointer; }
.choix__nom { font-weight: 600; line-height: 1.3; }
.choix__prix { grid-column: 2; font-size: var(--t-petit); color: var(--trame); font-variant-numeric: lining-nums tabular-nums; }
.choix:has(input:checked) { background: #FDF4F7; box-shadow: inset 0 0 0 2px var(--magenta); }
.choix:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choix:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 2px; }
.choix input:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .choix:hover { background: #E3E8E5; } .choix:has(input:checked):hover { background: #FBEAF1; } }
.choix:active { transform: scale(.985); }
.calc__pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.calc__pages label { font-weight: 600; }
.calc__aide { font-weight: 400; color: var(--trame); }
.compteur-calc { display: inline-flex; align-items: center; border-radius: 99px; background: var(--salin); }
.compteur-calc button {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--encre);
  font: 600 1.3rem/1 var(--f-texte); cursor: pointer; touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) { .compteur-calc button:hover { background: #dde2e0; } }
.compteur-calc input {
  width: 3.2rem; height: 44px; border: 0; background: transparent; text-align: center; font: 700 1.05rem var(--f-texte);
  color: var(--encre); -moz-appearance: textfield; appearance: textfield;
}
.compteur-calc input::-webkit-outer-spin-button, .compteur-calc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__autre { display: grid; gap: .5rem; margin-top: 1rem; }
.calc__autre input[type="text"] {
  width: 100%; min-height: 44px; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--salin); border: 0; border-bottom: 1px solid #7C8691; padding: .7rem .85rem;
}
.calc__autre input[type="text"]:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; background: #fff; }

.calc__resume { background: var(--encre); color: #fff; border-radius: 22px; padding: 1.75rem 1.4rem; min-width: 0; }
@media (min-width: 64em) { .calc__resume { position: sticky; top: 5.5rem; } }
.calc__resume h4 { font-size: var(--t-titre-3); margin: 0 0 1rem; }
.calc__totaux { margin: 0 0 .75rem; display: grid; gap: .5rem; }
.calc__totaux div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.calc__totaux dt { color: var(--brume); }
.calc__totaux dd { margin: 0; text-align: right; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .calc__totaux.maj dd { animation: maj-total var(--d-normal) var(--sortie); }
}
@keyframes maj-total { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.calc__detail { font-size: var(--t-petit); color: var(--brume); min-height: 1.2em; }
.calc__comparatif { width: 100%; border-collapse: collapse; margin: 1rem 0 .75rem; font-variant-numeric: lining-nums tabular-nums; }
.calc__comparatif caption { text-align: left; font-size: var(--t-petit); color: var(--brume); padding-bottom: .4rem; }
.calc__comparatif th, .calc__comparatif td { padding: .55rem .4rem; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc__comparatif thead th { font-size: var(--t-mini); font-weight: 600; color: var(--brume); }
.calc__comparatif tbody th { text-align: left; font-weight: 400; }
.calc__comparatif tr.actif th, .calc__comparatif tr.actif td { font-weight: 700; color: var(--rose); }
.calc__lecture { font-size: var(--t-petit); color: var(--brume); }
.calc__envoyer { width: 100%; margin-top: .5rem; }
.calc__resume .bouton::before { background: var(--nuit); }
.calc__statut { min-height: 1.2em; margin: .75rem 0 0; font-size: var(--t-petit); color: var(--rose); }
.calc__mention { margin: .25rem 0 0; font-size: var(--t-mini); color: var(--brume); }
.calc__resume :focus-visible { outline-color: var(--rose); }

/* Demande sur devis */
.sur-devis {
  margin-top: 16px; display: grid; gap: 1.5rem; align-items: center;
  background: var(--encre); color: #fff; border-radius: 22px; padding: 2rem 1.25rem;
}
@media (min-width: 40em) { .sur-devis { padding: 2.5rem; } }
@media (min-width: 56em) { .sur-devis { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; } }
.sur-devis h3 { font-size: var(--t-titre-3); margin-bottom: .6rem; }
.sur-devis p { margin: 0; color: var(--brume); }
.sur-devis .bouton { color: var(--encre); justify-self: start; }
.sur-devis :focus-visible { outline-color: var(--rose); }
.precision { margin-top: 2.5rem; color: var(--trame); }

/* 3 bis. Votre image fait vendre ----------------------------------------- */

/* 7 bis. Identité et imprimés -------------------------------------------- */

/* Conditions des abonnements et note du calculateur */
.conditions { margin: 1.25rem 0 0; padding-left: 1.2rem; color: var(--trame); font-size: var(--t-petit); max-width: 52rem; }
.conditions li { margin-bottom: .35rem; }
.calc__note { margin: -.4rem 0 .8rem; font-size: var(--t-petit); color: var(--trame); }

/* 8 ter. Tarifs compactés : section resserrée, calculateur en étapes repliables
   (details/summary natifs), estimation collante sur ordinateur, barre de total
   collante sur téléphone. Mouvement : transform et opacity uniquement. */
#formules.section { padding-block: 3.75rem; }
@media (min-width: 48em) { #formules.section { padding-block: 4rem; } }
@media (min-width: 64em) { #formules .entree-section { margin-bottom: 2rem; } #formules .entree-section .intro { margin-bottom: 0; } }
#formules .intro { margin-bottom: 1.5rem; }
#formules .sous-titre-offre { margin: 2.25rem 0 .9rem; }

.delais { padding: 1.5rem 1.25rem; }
@media (min-width: 40em) { .delais { padding: 1.75rem 2rem; } }
.delais__tete { margin-bottom: 1.25rem; }
.delais__etapes { gap: 1rem; }
@media (min-width: 72em) { .delais__etapes { gap: 0; } .delais__etapes li { padding: 1.1rem 1.5rem 0 0; } }
.delais__etapes strong { font-size: var(--t-grand); }
.delais__etapes li > span:last-child { font-size: var(--t-petit); line-height: 1.5; }
.delais__rien { margin-top: 1.25rem; }
@media (min-width: 72em) {
  .delais { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); column-gap: 2.5rem; align-items: start; }
  .delais__tete { grid-column: 1; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); margin: 0; }
  .delais__tete p { font-size: var(--t-petit); line-height: 1.5; }
  .delais__etapes, .delais__rien { grid-column: 2; }
  .delais__etapes { margin-top: .6rem; }
}

.niveau { padding: 1.4rem 1.25rem; }
.niveau h4 { margin-bottom: .35rem; }
.niveau__prix { margin-bottom: .5rem; }
.niveau__pour { margin: 0 0 .25rem; font-size: var(--t-petit); line-height: 1.5; }
.niveau__inclus { margin: .4rem 0 1rem; font-size: var(--t-petit); line-height: 1.45; }
.niveau__inclus li { margin-bottom: .2rem; }
.niveau__delai { padding-top: .7rem; }
.palier { padding: 1.4rem 1.25rem; }
.palier__prix { margin-bottom: .4rem; }
.palier h4 { margin-bottom: .25rem; }
.palier p:last-child { font-size: var(--t-petit); line-height: 1.5; }

.offre-notes { margin-top: 1.25rem; display: grid; gap: .75rem; }
@media (min-width: 64em) { .offre-notes { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 3rem; align-items: start; } }
.offre-notes .note-offre { margin: 0; font-size: var(--t-petit); max-width: none; }
.offre-notes .conditions { max-width: none; }
@media (min-width: 72em) {
  .suivi-offre { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 2.5rem; margin-top: 2.25rem; }
  .suivi-offre .sous-titre-offre { grid-column: 1; grid-row: 1; margin: 0 0 .75rem; }
  .suivi-offre .paliers { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .suivi-offre .offre-notes { display: contents; }
  .suivi-offre .note-offre { grid-column: 1; grid-row: 2; }
  .suivi-offre .conditions { grid-column: 2; grid-row: 3; margin-top: .9rem; }
}
.offre-notes .conditions { margin: 0; }

/* Calculateur : deux colonnes sur ordinateur */
.calculateur { margin-top: 2.75rem; padding: 1.5rem 1rem; }
@media (min-width: 40em) { .calculateur { padding: 2rem; } }
.calculateur__tete { margin-bottom: 1.25rem; }
.calculateur__tete p { font-size: var(--t-petit); }
.calc { gap: 1.5rem; }
@media (min-width: 64em) {
  .calculateur { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 2.5rem; align-items: start; }
  .calculateur__tete { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .calculateur > noscript { grid-column: 1; }
  .calc:not([hidden]) { display: contents; }
  .calc__choix { grid-column: 1; }
  .calc__resume { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 5.5rem; }
}

/* Étapes repliables */
.calc__choix { gap: .5rem; }
.calc__etape { border-radius: 16px; background: var(--salin); transition: background-color var(--d-rapide) ease, box-shadow var(--d-rapide) ease; }
.calc__etape[open] { background: var(--blanc); box-shadow: inset 0 0 0 1px #E1E5E3; }
.calc__etape-tete {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "num titre fleche" "num choix fleche";
  column-gap: .75rem; align-items: center; min-height: 48px; padding: .4rem 1rem;
  border-radius: 16px; cursor: pointer; list-style: none;
  transition: background-color var(--d-rapide) ease;
}
.calc__etape-tete::-webkit-details-marker { display: none; }
.calc__etape-tete .calc__num { grid-area: num; }
.calc__etape-titre { grid-area: titre; font-weight: 700; line-height: 1.3; }
.calc__etape-choix { grid-area: choix; font-size: var(--t-petit); color: var(--trame); line-height: 1.35; }
.calc__etape-choix:empty { display: none; }
.calc__etape-tete::after {
  content: ""; grid-area: fleche; width: .55rem; height: .55rem; margin-right: .3rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg); transition: transform var(--d-normal) var(--sortie);
}
.calc__etape[open] > .calc__etape-tete::after { transform: translateY(25%) rotate(-135deg); }
.calc__etape-tete:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .calc__etape:not([open]) > .calc__etape-tete:hover { background: #E3E8E5; } }
.calc__etape-corps { padding: .15rem 1rem 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .calc__etape[open] > .calc__etape-corps { animation: etape-ouvre var(--d-normal) var(--sortie); }
}
@media (prefers-reduced-motion: reduce) {
  .calc__etape, .calc__etape-tete, .calc__etape-tete::after { transition: none; }
}
@keyframes etape-ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 40em) { .calc__options:not(.calc__options--modules) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc__etape .choix { padding: .5rem .8rem; }
.choix__desc { grid-column: 2; font-size: var(--t-mini); line-height: 1.4; color: var(--trame); }
.choix:has(.choix__desc) { align-content: center; }
.choix:has(.choix__desc) input { grid-row: 1 / span 3; }
.calc__etape .calc__pages, .calc__etape .calc__autre { margin-top: .75rem; }

/* Estimation resserrée */
.calc__resume { padding: 1.4rem 1.25rem; }
.calc__resume h4 { margin-bottom: .4rem; }
.calc__totaux div { padding-bottom: .35rem; }
.calc__comparatif caption { padding-bottom: .2rem; }
.calc__totaux { margin-bottom: .5rem; }
.calc__detail, .calc__lecture { margin: .4rem 0; }
.calc__comparatif { margin: .5rem 0; }
.calc__comparatif th, .calc__comparatif td { padding: .4rem; }
.calc__statut { margin-top: .4rem; }
.calc__statut:empty { min-height: 0; margin: 0; }
.calc__lecture { font-size: var(--t-mini); line-height: 1.5; }

/* Barre de total collante (téléphone et tablette) */
.calc__barre {
  position: sticky; bottom: 0; z-index: 2; margin-top: .25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--encre); color: var(--brume); border-radius: 16px 16px 0 0;
  font-size: var(--t-petit); box-shadow: 0 -14px 24px -18px rgba(17, 26, 36, .55);
}
.calc__barre b { margin-left: .35rem; color: #fff; font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 64em) { .calc__barre { display: none; } }

#formules .sur-devis { margin-top: 12px; padding: 1.5rem 1.25rem; gap: 1rem; }
@media (min-width: 40em) { #formules .sur-devis { padding: 1.25rem 2rem; } }
#formules .sur-devis p { font-size: var(--t-petit); line-height: 1.5; max-width: 62rem; }
#formules .sur-devis h3 { margin-bottom: .35rem; }
#formules .precision { margin: 1rem 0 0; font-size: var(--t-petit); max-width: none; }
/* fin 8 ter */

/* 9. L'atelier : éventail et frise -------------------------------------- */
.atelier { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 64em) { .atelier { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; } }
.atelier__texte p { font-size: var(--t-grand); line-height: 1.55; }

.eventail-cadre {
  position: relative;
  font-size: clamp(9px, 2.5vw, 15px);
  height: 25em;
  margin-inline: auto; width: 100%; max-width: 36em;
}
.eventail { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.lame {
  position: absolute; left: 50%; bottom: 1.5em;
  width: 7em; height: 21em; margin-left: -3.5em;
  background: var(--blanc);
  transform-origin: 50% 93%;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 8px 18px -10px rgba(17, 26, 36, .5);
  display: flex; flex-direction: column;
  transition: box-shadow var(--d-normal) ease;
}
.lame--c { --r: -44deg; } .lame--m { --r: -22deg; } .lame--j { --r: 0deg; } .lame--n { --r: 22deg; } .lame--r { --r: 44deg; }
.lame__couleur { flex: 0 0 52%; }
.lame--c .lame__couleur { background: var(--q-cyan); }
.lame--m .lame__couleur { background: var(--q-magenta); }
.lame--j .lame__couleur { background: var(--q-jaune); }
.lame--n .lame__couleur { background: var(--q-noir); }
.lame--r .lame__couleur { background: var(--rose); }
.lame__texte { padding: .7em .65em; font-size: .92em; line-height: 1.25; color: var(--encre); }
.lame__texte strong { display: block; font-family: var(--f-titre); font-weight: 800; font-size: 1.5em; line-height: 1; letter-spacing: -.03em; margin-bottom: .25em; }
.eventail__rivet {
  position: absolute; left: 50%; bottom: 2.4em; width: 1.4em; height: 1.4em; margin-left: -.7em;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9aa3ac 60%, #5d6876); z-index: 10;
}

.frise-cadre { margin-top: 6rem; }
.frise__titre { font-size: var(--t-titre-2); margin-bottom: 1.25rem; max-width: 16ch; }
.frise { position: relative; padding-left: 1.75rem; }
@media (min-width: 48em) { .frise { padding-left: 2.5rem; } }
.frise__fil { position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 3px; background: #D3D8DC; }
.frise__fil span { position: absolute; inset: 0; background: linear-gradient(var(--q-cyan), var(--q-magenta), var(--q-jaune), var(--encre)); transform-origin: top; }
html:not(.mouvement) .frise__fil span { transform: none; }
.frise ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.frise__jalon {
  position: relative;
  display: grid; gap: .25rem 2rem;
  padding-block: 1.25rem;
}
@media (min-width: 48em) { .frise__jalon { grid-template-columns: 13.5rem minmax(0, 1fr); align-items: baseline; } }
.frise__jalon::before {
  content: ""; position: absolute; left: -1.75rem; top: 1.85rem;
  width: 13px; height: 13px; margin-left: -5px;
  background: var(--salin); border: 3px solid var(--encre); border-radius: 50%;
}
@media (min-width: 48em) { .frise__jalon::before { left: -2.5rem; } }
.frise__jalon--atelier::before, .frise__jalon--aujourdhui::before { background: var(--magenta); border-color: var(--magenta); }
.frise .annee { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.frise__jalon--aujourdhui .annee { color: var(--magenta); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.frise p { margin: 0; font-size: var(--t-grand); line-height: 1.5; }

/* 10. Contact ----------------------------------------------------------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 64em) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 5rem; } }
.coordonnees { font-style: normal; font-size: var(--t-grand); }
.coordonnees p { margin-bottom: .7rem; }
.coordonnees .tel-grand {
  display: inline-block; font-family: var(--f-titre); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.035em; color: #fff; text-decoration: none; font-variant-numeric: lining-nums;
  margin-bottom: 1rem; transition: color var(--d-rapide) ease;
}
.coordonnees .tel-grand:hover { color: var(--rose); }

.formulaire { display: grid; gap: 1.4rem; background: var(--blanc); color: var(--encre); padding: 1.5rem 1.25rem; border-radius: 22px; }
@media (min-width: 40em) { .formulaire { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; padding: 2.5rem 2.25rem; } .formulaire .plein { grid-column: 1 / -1; } }
.formulaire a { color: var(--magenta); }
.champ { position: relative; }
.champ label { display: block; font-weight: 600; margin-bottom: .35rem; transition: color var(--d-rapide) ease; }
.champ .facultatif { font-weight: 400; color: var(--trame); }
.champ input, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--salin); border: 0; border-bottom: 1px solid #7C8691; border-radius: 0;
  padding: .85rem .85rem; min-height: 3rem;
  transition: background-color var(--d-rapide) ease;
}
.champ textarea { min-height: 9rem; resize: vertical; display: block; }
.champ input:focus, .champ textarea:focus { background: #fff; outline: none; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
.champ__trait {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--magenta); transform: scaleX(0); transform-origin: left;
  transition: transform var(--d-normal) var(--sortie);
}
.champ:focus-within .champ__trait { transform: scaleX(1); }
.champ:focus-within label { color: var(--magenta); }
.champ input:user-invalid, .champ textarea:user-invalid { border-bottom-color: var(--magenta); background: #FCE9F0; }

.bouton__attente {
  display: none; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
}
.envoi-en-cours .bouton__attente { display: inline-block; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention-form { font-size: var(--t-petit); color: var(--trame); margin: 0; }

/* Pied de page ---------------------------------------------------------- */
.pied { position: relative; background: var(--nuit); color: var(--brume); padding-block: 4rem 2rem; font-size: var(--t-petit); overflow-x: clip; }
.pied a { color: #fff; }
.pied a:hover { color: var(--rose); }
.pied__haut { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 4rem; }
@media (min-width: 56em) { .pied__haut { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pied__titre { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.pied p { margin: 0; }
.pied__colonne--haut { display: flex; align-items: flex-start; }
@media (min-width: 56em) { .pied__colonne--haut { justify-content: flex-end; } }
.retour-haut {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600;
  padding: .7rem 1rem; min-height: 44px; border: 1px solid rgba(255,255,255,.3);
  transition: background-color var(--d-rapide) ease, color var(--d-rapide) ease;
}
.retour-haut::before { content: ""; width: .6rem; height: .6rem; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(2px) rotate(45deg); }
.pied .retour-haut:hover { background: #fff; color: var(--nuit); }

.pied__nom {
  position: relative; margin: 0 0 2.5rem; max-width: none;
  font-family: var(--f-titre); font-weight: 800; font-size: clamp(2.1rem, .4rem + 7vw, 8rem); line-height: .95; letter-spacing: -.04em;
  color: #fff; white-space: nowrap;
}
.pied__nom-texte { position: relative; z-index: 2; mix-blend-mode: normal; }
.plaque-pied { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: transform var(--d-lent) var(--sortie), opacity var(--d-lent) ease; }
.plaque-pied--c { color: var(--q-cyan); }
.plaque-pied--m { color: var(--q-magenta); }
.plaque-pied--j { color: var(--q-jaune); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pied__nom:hover .plaque-pied { opacity: .9; }
  .pied__nom:hover .plaque-pied--c { transform: translate(-.04em, -.02em); }
  .pied__nom:hover .plaque-pied--m { transform: translate(.04em, .015em); }
  .pied__nom:hover .plaque-pied--j { transform: translate(.015em, .04em); }
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.gamme { display: flex; }
.gamme span { width: 18px; height: 18px; }
.gamme span:nth-child(1) { background: var(--q-cyan); }
.gamme span:nth-child(2) { background: var(--q-magenta); }
.gamme span:nth-child(3) { background: var(--q-jaune); }
.gamme span:nth-child(4) { background: #000; box-shadow: inset 0 0 0 1px #5d6876; }
.gamme span:nth-child(5) { background: #2E3192; }
.gamme span:nth-child(6) { background: #00A651; }
.gamme span:nth-child(7) { background: #ED1C24; }
.gamme span:nth-child(8) { background: #fff; }

/* Pages de texte (mentions légales, retour de formulaire) -------------- */
.page-texte { padding-block: 3.5rem 5rem; }
.page-texte h1 { font-size: var(--t-titre-2); margin-bottom: 2rem; max-width: 16ch; }
.page-texte h2 { font-size: var(--t-titre-3); margin: 3rem 0 .9rem; }
.page-texte dl { margin: 0 0 1rem; max-width: var(--mesure); }
.page-texte dt { font-weight: 600; margin-top: .9rem; }
.page-texte dd { margin: 0; }
.a-completer { background: #FCE4EC; color: var(--magenta-fonce); padding: 0 .3em; }
.erreurs { padding-left: 1.2rem; color: var(--magenta-fonce); }
.page-texte .bouton { margin-top: 1rem; }

/* Mouvement réduit : version calme et complète ------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .ms-defile, .capture-defile { animation: none !important; }
  .module { transition: none !important; }
  .realisations__piste { scroll-behavior: auto; }
}

/* @sections-image-identite */
/* ==========================================================================
   « Votre image fait vendre » : deux téléphones, trois situations
   ========================================================================== */
.duel { display: grid; gap: 2rem; }
.duel__tete .intro { margin-bottom: 0; max-width: 30ch; }
@media (min-width: 62em) {
  .duel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); column-gap: clamp(2.5rem, 5vw, 5rem); row-gap: 2.5rem;
    grid-template-areas: "tete vue" "scenes vue"; grid-template-rows: auto 1fr; align-items: start;
  }
  .duel__tete { grid-area: tete; }
  .duel__vue { grid-area: vue; align-self: center; }
  .duel__scenes { grid-area: scenes; }
}

/* Les deux appareils */
.duel__telephones { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3.4vw, 44px); justify-items: center; max-width: 34rem; margin-inline: auto; }
.duel__tel { max-width: 250px; transition: opacity .7s ease, transform .9s var(--sortie), filter .6s ease; }
.duel__tel--date { filter: grayscale(1) contrast(.92); opacity: .6; }
.js .duel:not(.vu) .duel__tel { opacity: 0; transform: translateY(44px); }
.duel.vu .duel__tel--soigne { transition-delay: .12s; }
.duel__legendes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3.4vw, 44px); max-width: 34rem; margin: 1.1rem auto 0; text-align: center; }
.duel__legendes p { margin: 0; display: grid; gap: .35rem; justify-items: center; }
.duel__etiquette { font-size: var(--t-petit); color: var(--trame); }
.duel__verdict { display: inline-flex; align-items: center; min-height: 2rem; padding: .2rem .85rem; white-space: nowrap; border-radius: 99px; font-size: var(--t-petit); font-weight: 600; }
.duel__verdict--non { background: rgba(29, 40, 54, .09); color: var(--trame); }
.duel__verdict--oui { background: var(--magenta); color: #fff; }

/* Le regard : le repère de la page hésite, puis choisit */
.duel__regard { position: absolute; left: 75%; top: 86%; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: var(--magenta); opacity: 0; pointer-events: none; z-index: 8; }
.duel__regard svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 1px 0 #fff); }
.duel.joue .duel__regard { animation: duel-regard 3.3s var(--glisse) both; }
.duel.joue .duel__tel--date { animation: duel-ternir .7s 1.25s ease both; }
.duel.joue .duel__verdict--non { animation: duel-verdict .45s 1.3s var(--sortie) both; }
.duel.joue .duel__verdict--oui { animation: duel-verdict .45s 2.75s var(--sortie) both; }
.duel.joue .neuf__ecran.actif .neuf__bouton::after { animation: duel-onde .8s 2.6s ease-out both; }
@keyframes duel-regard {
  0% { left: 25%; top: 30%; opacity: 0; transform: scale(.6); }
  9% { opacity: 1; transform: scale(1); }
  22% { left: 21%; top: 48%; }
  36% { left: 28%; top: 40%; }
  72% { left: 75%; top: 86%; transform: scale(1); }
  80% { transform: scale(.78); }
  88%, 100% { left: 75%; top: 86%; opacity: 1; transform: scale(1); }
}
@keyframes duel-ternir { from { filter: none; opacity: 1; } to { filter: grayscale(1) contrast(.92); opacity: .6; } }
@keyframes duel-verdict { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes duel-onde { from { opacity: .55; transform: scale(.4); } to { opacity: 0; transform: scale(1.9); } }
@keyframes duel-barre { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Écran du site daté : une page d'ordinateur qui ne tient pas sur le téléphone */
.vieux { position: absolute; inset: 0; background: #EEECE4; overflow: hidden; padding-top: 9cqh; }
.vieux__page { width: 250cqw; font-family: "Times New Roman", Times, serif; font-size: 6.6cqw; line-height: 1.25; color: #222; }
.vieux__page p { margin: 0; }
.vieux__bandeau { background: linear-gradient(#3F5E9E, #1C3878); color: #FFE98A; text-align: center; font-weight: 700; font-size: 9.4cqw; padding: 7cqw 4cqw; letter-spacing: .02em; }
.vieux__menu { padding: 2.6cqw 3cqw; background: #DAD7CB; color: #1A2CA0; white-space: nowrap; border-bottom: 1px solid #A9A594; }
.vieux__texte { padding: 4cqw 3cqw 3cqw; text-align: justify; }
.vieux__photos { display: flex; gap: 2.5cqw; padding: 0 3cqw 3cqw; }
.vieux__photos i { flex: 0 0 62cqw; height: 46cqw; border: 1px solid #8F8B7B; background: linear-gradient(135deg, #C9C5B6 0 49.4%, #8F8B7B 49.4% 50.6%, #C9C5B6 50.6%); }
.vieux__note { padding: 2cqw 3cqw; font-size: 5.4cqw; font-style: italic; color: #555; }
.vieux__compteur { margin: 3cqw; padding: 2cqw 3cqw; display: inline-block; border: 2px inset #999; background: #000; color: #37E05A; font-family: "Courier New", monospace; font-size: 6cqw; }
.vieux__ascenseur { position: absolute; left: 0; right: 0; bottom: 0; height: 3.4cqw; background: #CFCDC4; border-top: 1px solid #A9A594; }
.vieux__ascenseur::after { content: ""; position: absolute; left: 1%; top: 18%; bottom: 18%; width: 40%; border-radius: 99px; background: #8D8A80; }

/* Écran du site soigné : une photo, une phrase, un bouton */
.neuf { position: absolute; inset: 0; background: #fff; }
.neuf__ecran { position: absolute; inset: 0; display: flex; flex-direction: column; background: #FBFAF7; opacity: 0; transform: translateY(6%); transition: opacity .45s ease, transform .7s var(--sortie); }
.neuf__ecran.actif { opacity: 1; transform: none; z-index: 1; }
.neuf__ecran img { display: block; width: 100%; height: 47cqh; object-fit: cover; }
.neuf__corps { flex: 1; display: flex; flex-direction: column; padding: 6cqw 6.5cqw 7cqw; color: #1D2836; }
.neuf__nom { font-size: 4.6cqw; font-weight: 600; color: var(--c); }
.neuf__titre { font-family: var(--f-titre); font-weight: 800; font-size: 9.4cqw; line-height: 1.04; letter-spacing: -.025em; margin-top: 2cqw; }
.neuf__info { display: flex; align-items: center; gap: 2cqw; margin-top: 3.5cqw; font-size: 4.7cqw; color: #4F5B67; }
.neuf__info::before { content: ""; flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #1F8A4C; }
.neuf__bouton { position: relative; margin-top: auto; padding: 4.6cqw 3cqw; border-radius: 99px; background: var(--c); color: #fff; text-align: center; font-size: 5.3cqw; font-weight: 600; }
.neuf__bouton::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--c); opacity: 0; }

/* Les trois situations */
.duel__scenes { display: grid; }
.duel__scene {
  position: relative; display: grid; gap: .15rem; width: 100%; padding: 1.05rem 0 1.15rem;
  font: inherit; text-align: left; color: var(--trame); background: none; border: 0; border-top: 1px solid rgba(29, 40, 54, .22); cursor: pointer;
  transition: color var(--d-normal) ease;
}
.duel__scene:last-child { border-bottom: 1px solid rgba(29, 40, 54, .22); }
.duel__scene::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: left; }
.duel__scene[aria-selected="true"] { color: var(--encre); }
.duel.manuel .duel__scene[aria-selected="true"]::before { transform: scaleX(1); }
.duel.joue:not(.manuel) .duel__scene[aria-selected="true"]::before { animation: duel-barre 7.5s linear both; }
.duel.pause .duel__scene::before { animation-play-state: paused; }
.duel__moment { font-family: var(--f-serif); font-style: italic; font-size: var(--t-grand); color: var(--magenta); line-height: 1.2; }
.duel__scene strong { font-family: var(--f-titre); font-weight: 700; font-size: var(--t-titre-3); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.duel__suite { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--sortie); }
.duel__suite > span { overflow: hidden; color: var(--trame); max-width: 34ch; }
.duel__scene[aria-selected="true"] .duel__suite { grid-template-rows: 1fr; }
.duel__scene[aria-selected="true"] .duel__suite > span { padding-top: .35rem; }
@media (hover: hover) and (pointer: fine) { .duel__scene:hover { color: var(--encre); } }

.image-vend__chute { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.75rem; align-items: center; }
.image-vend__chute p { margin: 0; font-family: var(--f-serif); font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.image-vend__chute .bouton { justify-self: start; }
@media (min-width: 62em) { .image-vend__chute { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; } .image-vend__chute .bouton { justify-self: end; } }

/* ==========================================================================
   Identité et imprimés : une planche qui change de marque
   ========================================================================== */
.planche { --m: #6E2233; --c: #F3EBDD; --a: #B8935A; --p: var(--f-serif); --p-graisse: 400; --p-casse: none; --p-esp: 0em; }
.planche[data-marque="atelier"] { --m: #23463B; --c: #EFE4D0; --a: #C8793A; --p: var(--f-titre); --p-graisse: 800; --p-esp: -.02em; }
.planche[data-marque="manade"] { --m: #1F2F4A; --c: #EFE6D2; --a: #B3312C; --p: var(--f-titre); --p-graisse: 700; --p-casse: uppercase; --p-esp: .03em; }
.pv { font-family: var(--p); font-weight: var(--p-graisse); text-transform: var(--p-casse); letter-spacing: var(--p-esp); }

.planche__choix { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--brume); font-size: var(--t-petit); }
.planche__choix span { margin-right: .35rem; }
.planche__choix button {
  font: inherit; font-weight: 600; min-height: 44px; padding: 0 1.1rem; border-radius: 99px; cursor: pointer;
  color: #fff; background: transparent; border: 1.5px solid rgba(255, 255, 255, .32);
  transition: background-color var(--d-rapide) ease, color var(--d-rapide) ease, border-color var(--d-rapide) ease, transform var(--d-rapide) var(--sortie);
}
.planche__choix button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--encre); }
.planche__choix button:active { transform: scale(.97); }

.planche__table {
  display: grid; gap: clamp(8px, 1.2vw, 16px); margin: 1.75rem 0 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(5.8rem, 27vw, 8rem);
  grid-template-areas: "affiche affiche site" "affiche affiche site" "entete entete kake" "carte social kake" "etiq logo flyer";
}
@media (min-width: 56em) {
  .planche__table {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.08fr) minmax(0,1fr) minmax(0,.6fr); grid-auto-rows: clamp(6.6rem, 9.4vw, 8.8rem);
    grid-template-areas: "affiche affiche entete entete site flyer kake" "affiche affiche entete entete site flyer kake" "affiche affiche carte social etiq logo kake";
  }
}
.pl {
  position: relative; overflow: hidden; container-type: size; border-radius: 3px;
  background: var(--c); color: var(--m);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .65);
  transform: rotate(var(--r, 0deg));
  transition: background-color .55s ease, color .55s ease, border-color .55s ease, opacity .35s ease, transform .6s var(--sortie), outline-color .2s ease;
  transition-delay: calc(var(--i) * 40ms);
  outline: 2px solid transparent; outline-offset: 5px;
}
.pl > *, .pl i, .pl b { transition: background-color .55s ease, color .55s ease, border-color .55s ease; transition-delay: calc(var(--i) * 40ms); }
.js .planche:not(.vu) .pl { opacity: 0; transform: translateY(30px) rotate(calc(var(--r, 0deg) - 3deg)); }
.planche.vise-actif .pl { opacity: .32; transition-delay: 0s; }
.planche.vise-actif .pl.vise { opacity: 1; outline-color: var(--rose); transform: translateY(-6px) rotate(var(--r, 0deg)) scale(1.03); z-index: 2; }
.pl--affiche { grid-area: affiche; } .pl--entete { grid-area: entete; } .pl--site { grid-area: site; }
.pl--flyer { grid-area: flyer; } .pl--kake { grid-area: kake; } .pl--carte { grid-area: carte; }
.pl--social { grid-area: social; } .pl--etiq { grid-area: etiq; } .pl--logo { grid-area: logo; }

/* Le monogramme, commun à tous les objets */
.mk { flex: none; display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border: .09em solid currentColor; border-radius: 50%; }
.mk i { font-style: normal; font-family: var(--p); font-weight: var(--p-graisse); font-size: 1.02em; line-height: 1; }
.pl__tete { display: flex; align-items: center; gap: .6em; }
.pl__tete b { font-weight: 600; }
.pl__lignes { display: block; }
.pl__lignes i { display: block; border-radius: 2px; background: currentColor; opacity: .2; }

.pl--affiche { background: var(--m); color: var(--c); display: flex; flex-direction: column; padding: 7%; }
.pl--affiche .pl__tete { font-size: 4.4cqi; }
.pl--affiche .pl__geant { position: absolute; right: -5cqi; top: -16cqi; font-size: 100cqi; line-height: 1; opacity: .1; }
.pl--affiche .pl__accroche { margin-top: auto; font-size: 15.5cqi; line-height: 1.02; text-wrap: balance; }
.pl--affiche .pl__date { margin-top: 5cqi; padding-top: 4cqi; border-top: 1px solid var(--a); font-size: 4.6cqi; }

.pl--entete { background: #fff; display: flex; flex-direction: column; padding: 6% 7%; }
.pl--entete .pl__tete { font-size: 4.2cqi; }
.pl--entete .pl__filet { display: block; height: 2px; margin: 4cqi 0 5cqi; background: var(--a); }
.pl--entete .pl__devis { font-size: 9cqi; line-height: 1; }
.pl--entete .pl__lignes i { height: 1.7cqi; margin-top: 3.4cqi; }
.pl--entete .pl__lignes i:nth-child(2) { width: 86%; } .pl--entete .pl__lignes i:nth-child(3) { width: 93%; } .pl--entete .pl__lignes i:nth-child(4) { width: 58%; }
.pl--entete .pl__total { display: flex; justify-content: flex-end; margin-top: auto; }
.pl--entete .pl__total i { width: 24%; height: 5.4cqi; background: var(--m); border-radius: 2px; }

.pl--site { display: flex; flex-direction: column; border: 5px solid #0A0B0D; border-radius: 20px; box-shadow: 0 0 0 1.5px #6B7079, 0 18px 30px -16px rgba(0, 0, 0, .65); }
.pl--site .pl__barre { display: flex; padding: 9cqi 6cqi 4cqi; background: var(--m); color: var(--c); font-size: 6.4cqi; }
.pl--site .pl__visuel { display: block; height: 30%; background: linear-gradient(155deg, var(--a), var(--m)); }
.pl--site .pl__t { padding: 6cqi 6cqi 0; font-size: 11.5cqi; line-height: 1.05; }
.pl--site .pl__lignes i { height: 2.2cqi; margin: 4cqi 6cqi 0; } .pl--site .pl__lignes i:last-child { width: 55%; }
.pl--site .pl__btn { display: block; height: 12cqi; margin: auto 6cqi 7cqi; border-radius: 99px; background: var(--a); }

.pl--flyer { display: flex; flex-direction: column; }
.pl--flyer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)) 0 33.3% / 100% 1px no-repeat, linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)) 0 66.6% / 100% 1px no-repeat; }
.pl--flyer .pl__visuel { display: block; height: 33.3%; background: var(--a); }
.pl--flyer .pl__t { padding: 7cqi 7cqi 0; font-size: 12cqi; line-height: 1.05; }
.pl--flyer .pl__lignes i { height: 2cqi; margin: 4.5cqi 7cqi 0; } .pl--flyer .pl__lignes i:last-child { width: 50%; }
.pl--flyer .mk { position: absolute; right: 7cqi; bottom: 6cqi; font-size: 6.5cqi; }

.pl--kake { background: var(--m); color: var(--c); display: flex; flex-direction: column; align-items: center; padding-top: 14%; }
.pl--kake .mk { font-size: 17cqi; }
.pl--kake .pl__vertical { flex: 1; margin: 12cqi 0; writing-mode: vertical-rl; white-space: nowrap; font-size: min(31cqw, 10.5cqh); line-height: 1; }
.pl--kake .pl__pied { display: block; width: 100%; height: 8%; background: var(--a); }

.pl--carte { align-self: center; aspect-ratio: 85 / 55; display: flex; align-items: center; gap: 6%; padding: 8%; border-bottom: 3px solid var(--a); }
.pl--carte .mk { font-size: 11cqi; }
.pl--carte .pl__id { flex: 1; min-width: 0; }
.pl--carte .pl__id b { display: block; font-size: 8.6cqi; line-height: 1.1; }
.pl--carte .pl__id i { display: block; height: 1.7cqi; width: 78%; margin-top: 3.4cqi; border-radius: 2px; background: currentColor; opacity: .25; }
.pl--carte .pl__id i:last-child { width: 48%; }

.pl--social { justify-self: center; height: 100%; aspect-ratio: 1; background: var(--a); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 9%; }
.pl--social .pl__t { font-size: 15.5cqi; line-height: 1.04; text-wrap: balance; }
.pl--social .pl__tete { font-size: 6.6cqi; }

.pl--etiq { background: #FDFBF6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 9%; text-align: center; }
.pl--etiq::after { content: ""; position: absolute; inset: 4.5cqmin; border: 1px solid var(--a); }
.pl--etiq .mk { font-size: 8.5cqi; }
.pl--etiq b { font-size: 11cqi; line-height: 1.05; }
.pl--etiq span:last-child { font-size: 5.6cqi; }

.pl--logo { background: transparent; color: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); display: grid; grid-template: "mk aa" 1fr "nu nu" auto / 1fr 1fr; align-items: center; gap: 4%; padding: 9%; }
.pl--logo .mk { font-size: 15cqi; }
.pl--logo .pl__aa { justify-self: end; font-size: 27cqi; line-height: 1; }
.pl--logo .pl__nuances { grid-area: nu; display: flex; gap: 3cqi; }
.pl--logo .pl__nuances i { flex: 1; height: 9cqi; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); background: var(--m); }
.pl--logo .pl__nuances i:nth-child(2) { background: var(--c); } .pl--logo .pl__nuances i:nth-child(3) { background: var(--a); }

/* La liste des prestations pilote la planche */
.imprimes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); }
@media (min-width: 62em) { .imprimes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.imprimes button {
  display: grid; gap: .2rem; width: 100%; min-height: 44px; padding: .95rem 0 1.05rem;
  font: inherit; text-align: left; color: #fff; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
  transition: border-color var(--d-rapide) ease;
}
.imprimes strong { font-family: var(--f-titre); font-weight: 700; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.imprimes span { font-size: var(--t-petit); color: var(--brume); }
.imprimes button[aria-pressed="true"] { border-top-color: var(--rose); }
.imprimes button[aria-pressed="true"] strong { color: var(--rose); }
@media (hover: hover) and (pointer: fine) { .imprimes button:hover { border-top-color: var(--rose); } }
.identite__pied { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56em) { .identite__pied { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; } }
.identite__pied p { margin: 0; max-width: var(--mesure); color: var(--brume); }
.identite__pied .bouton { justify-self: start; }

@media (prefers-reduced-motion: reduce) {
  .duel__regard { display: none; }
  .duel.joue .duel__tel--date, .duel.joue .duel__verdict, .duel.joue .neuf__bouton::after, .duel.joue .duel__scene::before { animation: none !important; }
  .duel__tel, .neuf__ecran, .duel__suite, .pl, .pl > *, .pl i, .pl b { transition: none !important; }
  .js .duel:not(.vu) .duel__tel, .js .planche:not(.vu) .pl { opacity: 1; transform: rotate(var(--r, 0deg)); }
  .js .duel:not(.vu) .duel__tel--date { opacity: .6; }
}
