/* ENJÖY, la pause ludique — feuille de style
   Direction : docs/internes/DESIGN.md (piste « le meuble, c'est le site »).
   Mouvement : transform et opacity seulement. */

/* ===== 1. Polices (hébergées sur le site) ===== */
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("assets/fonts/baloo2-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("assets/fonts/baloo2-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("assets/fonts/baloo2-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("assets/fonts/baloo2-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-weight: 400; font-display: swap; src: url("assets/fonts/mulish-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-weight: 400; font-display: swap; src: url("assets/fonts/mulish-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-weight: 600; font-display: swap; src: url("assets/fonts/mulish-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-weight: 600; font-display: swap; src: url("assets/fonts/mulish-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-weight: 700; font-display: swap; src: url("assets/fonts/mulish-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-weight: 700; font-display: swap; src: url("assets/fonts/mulish-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== 2. Jetons ===== */
:root {
  --ardoise: #3D5D5A;
  --ardoise-2: #2F4A47;
  --ardoise-3: #4E726E;
  --encre: #1E2B2A;
  --orange: #F49D17;
  --orange-2: #C97A0C;
  --orange-texte: #955500; /* l'orange des petits textes sur fond clair : contraste 4,6 au moins (20/11) */
  --jaune: #E8B53A;
  --jaune-2: #C9962A;
  --bois: #E9D8BC;
  --bois-2: #D8C29C;
  --bois-3: #F3E8D3;
  --creme: #FBF4E8;
  --creme-2: #F3E9D7;
  --metal: #4A4E52;
  --sauge: #DCE6E0;

  --titre: "Baloo 2", "Avenir Next Rounded", "Arial Rounded MT Bold", sans-serif;
  --texte: "Mulish", "Avenir Next", "Segoe UI", sans-serif;

  --t-1: clamp(2.3rem, 1.4rem + 2.6vw, 3.6rem);
  --t-2: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem);
  --t-3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-0: 1.125rem;
  --t-petit: 0.925rem;

  --contenu: 1180px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --r-case: 14px;
  --r-tiroir: 6px;

  --sortie: cubic-bezier(0.23, 1, 0.32, 1);
  --entree-sortie: cubic-bezier(0.77, 0, 0.175, 1);
  --ressort: cubic-bezier(0.34, 1.3, 0.44, 1);
}

/* ===== 3. Socle ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: var(--t-0);
  line-height: 1.6;
  color: var(--encre);
  background: var(--creme);
  overflow-x: clip;
}
::selection { background: var(--jaune); color: var(--encre); }
:focus-visible { outline: 3px solid var(--ardoise); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .section--ardoise :focus-visible, .pied :focus-visible, .page-tete :focus-visible { outline-color: var(--orange); }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--orange); color: var(--encre); font-weight: 700; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.evitement:focus { top: 12px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.08; margin: 0 0 0.5em; color: var(--ardoise); text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: var(--t-1); font-weight: 800; }
h2 { font-size: var(--t-2); font-weight: 800; }
h3 { font-size: var(--t-3); font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--ardoise); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }
strong { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
small, .petit { font-size: var(--t-petit); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.contenu { width: min(var(--contenu), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--sauge { background: var(--sauge); }
.section--bois { background: var(--bois-3); }
.section--ardoise { background: var(--ardoise); color: var(--creme); }
.section--ardoise h2, .section--ardoise h3 { color: var(--creme); }
.section--ardoise p { color: var(--creme); }
.section--ardoise a { color: var(--creme); text-decoration-color: var(--jaune); }
.section--ardoise a:hover { color: var(--bois); }

/* Boutons */
.bouton, a.bouton, .section--ardoise a.bouton, .pied a.bouton { color: var(--encre); }
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--titre); font-weight: 700; font-size: var(--t-0); line-height: 1.1;
  padding: 15px 26px 16px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; background: var(--orange);
  box-shadow: 0 4px 0 var(--orange-2);
  transition: transform 220ms var(--sortie), box-shadow 220ms var(--sortie);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .bouton:hover { color: var(--encre); transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-2); }
}
.bouton:active { transform: translateY(2px) scale(0.98); box-shadow: 0 2px 0 var(--orange-2); transition-duration: 120ms; }
.bouton--second { background: transparent; color: var(--ardoise); box-shadow: inset 0 0 0 2px var(--ardoise); }
@media (hover: hover) and (pointer: fine) {
  .bouton--second:hover { box-shadow: inset 0 0 0 2px var(--ardoise); background: var(--bois-3); transform: translateY(-2px); }
}
.bouton--second:active { box-shadow: inset 0 0 0 2px var(--ardoise); }
.section--ardoise .bouton--second, .hero .bouton--second { color: var(--creme); box-shadow: inset 0 0 0 2px var(--bois); }
.section--ardoise .bouton--second:hover, .hero .bouton--second:hover { background: var(--ardoise-2); color: var(--creme); }
.bouton svg { width: 20px; height: 20px; flex: none; }

/* Repères « à fournir » : volontairement visibles sur la proposition */
.a-fournir {
  display: inline-block; font-family: var(--texte); font-weight: 700; font-size: var(--t-petit);
  background: var(--jaune); color: var(--encre); padding: 2px 10px; border-radius: 999px;
  border: 2px dashed var(--jaune-2); letter-spacing: 0.01em;
}
.bloc-a-fournir {
  border: 2px dashed var(--jaune-2); background: var(--creme-2); border-radius: var(--r-case);
  padding: 20px 24px; color: var(--ardoise);
}
.bloc-a-fournir p { margin: 0.4em 0 0; }

/* Pictogrammes au trait */
.picto { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--ardoise); flex: none; }
.section--ardoise .picto { color: var(--jaune); }

.symboles { position: absolute; width: 0; height: 0; }
.mt-10 { margin-top: 10px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-36 { margin-top: 36px; }
.bloc-a-fournir--tuile { aspect-ratio: 4 / 3; display: grid; place-content: center; text-align: center; }

/* ===== Ouverture de l'accueil : le logo se construit au milieu, puis monte se poser dans l'en-tête ===== */
.ouverture { display: none; }
.ouverture-active .ouverture { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; animation: ouverture-filet 300ms linear 9s forwards; }
.ouverture__rideau { position: absolute; inset: 0; background: var(--creme); will-change: transform; }
.ouverture__logo { position: relative; display: block; width: min(82vw, 90vh, 760px); height: auto; transform-origin: 0 0; will-change: transform; }
.ouverture-active .entete__logo { visibility: hidden; }
@keyframes ouverture-filet { to { opacity: 0; visibility: hidden; } }

/* ===== 4. En-tête ===== */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: var(--creme);
  border-bottom: 1px solid var(--bois-2);
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.entete__logo { display: block; width: 132px; flex: none; }
.entete__logo img { width: 100%; height: auto; }
.entete__nav { display: flex; align-items: center; gap: 4px; }
.entete__nav a { font-weight: 600; font-size: var(--t-petit); text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--ardoise); }
.entete__nav a:hover, .entete__nav a[aria-current="page"] { background: var(--bois-3); color: var(--encre); }
.entete__nav a.bouton { padding: 10px 18px 11px; font-size: var(--t-petit); margin-left: 8px; color: var(--encre); }
.entete__nav a.bouton:hover { background: var(--orange); color: var(--encre); }
.entete__burger { display: none; }
[id] { scroll-margin-top: 69px; }

/* ===== 5. Premier écran : le mur de Lodève, l'enseigne et le meuble ===== */
.hero {
  background: var(--ardoise);
  color: var(--creme);
  position: relative;
  overflow: clip;
}
.hero::after { /* le sol */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7%;
  background: var(--ardoise-2);
  pointer-events: none;
}
.hero__grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: calc(100svh - 68px);
  padding-block: clamp(28px, 4vh, 56px);
  position: relative; z-index: 1;
}
.hero h1 { color: var(--creme); margin-bottom: 0.45em; }
.hero__texte p { color: var(--bois-3); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__faits { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--bois); font-weight: 600; font-size: var(--t-petit); }
.hero__faits li { display: flex; align-items: center; gap: 8px; }
.hero__faits li { border-left: 2px solid var(--jaune); padding-left: 10px; }

/* La scène : enseigne + meuble. Taille gouvernée par la hauteur de fenêtre (PC Windows zoomés). */
.scene {
  justify-self: center;
  width: min(100%, calc((100svh - 68px - 56px) * 0.74), 600px);
}
.scene__inclinable { will-change: transform; }
.enseigne-boite { width: 46%; margin: 0 auto 4%; position: relative; z-index: 2; will-change: transform; }
.meuble-boite { will-change: transform; }
.enseigne { width: 100%; height: auto; }
.meuble { width: 100%; height: auto; }
.meuble a { outline: none; }
.meuble a:focus-visible .case__fond { stroke: var(--orange); stroke-width: 10; }
.meuble .case { cursor: pointer; }
.meuble .case__fond { fill: transparent; stroke: transparent; transition: stroke 200ms; }
.meuble .case__objet { transition: transform 260ms var(--ressort); will-change: transform; transform-box: fill-box; transform-origin: 50% 100%; }
.meuble .case__objet--tiroir { transform-origin: 50% 50%; }
.meuble a:focus-visible .case__objet--leve { transform: translate(0, -8px); }
.meuble a:focus-visible .case__objet--tiroir { transform: scale(1.045); }
@media (hover: hover) and (pointer: fine) {
  .meuble .case:hover .case__objet--leve { transform: translate(0, -8px); }
  .meuble .case:hover .case__objet--tiroir { transform: scale(1.045); }
  .meuble .case:hover .etiquette rect { fill: var(--orange); stroke: var(--orange-2); }
  .meuble .case:hover .etiquette { transform: scale(1.06); }
}
.meuble .etiquette { transition: transform 200ms var(--sortie); transform-box: fill-box; transform-origin: center; }
.meuble .etiquette rect { fill: var(--bois-3); stroke: var(--bois-2); stroke-width: 2; }
.meuble .etiquette text { font-family: var(--texte); font-weight: 700; font-size: 25px; fill: var(--encre); }
.meuble a:focus-visible .etiquette rect { fill: var(--orange); stroke: var(--orange-2); }
.meuble a:focus-visible .etiquette { transform: scale(1.06); }
.scene__aide { text-align: center; color: var(--bois); font-size: var(--t-petit); margin: 14px 0 0; }
.scene__aide b { color: var(--creme); font-weight: 700; }

/* Entrée dans une case (clic) : la scène grossit vers la case puis s'efface. */
.scene.est-en-zoom .scene__inclinable { transition: transform 560ms var(--entree-sortie), opacity 300ms ease-out 240ms; transform: scale(3.2); opacity: 0; }
.scene.sans-transition .scene__inclinable { transition: none; }

/* Séquence d'ouverture (une seule fois) : le meuble s'allume, les objets prennent place. */
.hero.est-pret .enseigne-boite { animation: enseigne-arrive 700ms var(--sortie) both; }
.hero.est-pret .meuble .objets > * { animation: objet-arrive 500ms var(--sortie) both; }
.hero.est-pret .meuble .objets > :nth-child(1) { animation-delay: 160ms; }
.hero.est-pret .meuble .objets > :nth-child(2) { animation-delay: 205ms; }
.hero.est-pret .meuble .objets > :nth-child(3) { animation-delay: 250ms; }
.hero.est-pret .meuble .objets > :nth-child(4) { animation-delay: 295ms; }
.hero.est-pret .meuble .objets > :nth-child(5) { animation-delay: 340ms; }
.hero.est-pret .meuble .objets > :nth-child(6) { animation-delay: 385ms; }
.hero.est-pret .meuble .objets > :nth-child(7) { animation-delay: 430ms; }
.hero.est-pret .meuble .objets > :nth-child(8) { animation-delay: 475ms; }
.hero.est-pret .meuble .objets > :nth-child(9) { animation-delay: 520ms; }
.hero.est-pret .meuble .objets > :nth-child(10) { animation-delay: 565ms; }
.hero.est-pret .meuble .objets > :nth-child(11) { animation-delay: 610ms; }
.hero.est-pret .meuble .objets > :nth-child(12) { animation-delay: 655ms; }
.hero.est-pret .meuble .objets > :nth-child(13) { animation-delay: 700ms; }
.hero.est-pret .meuble .objets > :nth-child(14) { animation-delay: 745ms; }
.hero.est-pret .meuble .objets > :nth-child(15) { animation-delay: 790ms; }
.hero.est-pret .meuble .objets > :nth-child(16) { animation-delay: 835ms; }
.hero.est-pret .meuble .objets > :nth-child(17) { animation-delay: 880ms; }
.hero.est-pret .meuble .objets > :nth-child(18) { animation-delay: 925ms; }
.hero.est-pret .meuble .objets > :nth-child(19) { animation-delay: 970ms; }
.hero.est-pret .meuble .objets > :nth-child(20) { animation-delay: 1015ms; }
.hero.est-pret .meuble .lumiere { animation: lumiere-allume 900ms ease-out 600ms both; }
@keyframes enseigne-arrive { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes objet-arrive { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lumiere-allume { from { opacity: 0; } 60% { opacity: 0.35; } to { opacity: 1; } }

/* Entrée du texte, après l'ouverture de l'accueil : le titre mot par mot, puis le reste. */
.hero h1 .mot { display: inline-block; }
.hero--attente .hero__texte > *, .hero--attente .scene__aide { visibility: hidden; }
.hero--entree h1 .mot { animation: texte-monte 420ms var(--sortie) both; }
.hero--entree h1 .mot:nth-child(1) { animation-delay: 40ms; }
.hero--entree h1 .mot:nth-child(2) { animation-delay: 90ms; }
.hero--entree h1 .mot:nth-child(3) { animation-delay: 140ms; }
.hero--entree h1 .mot:nth-child(4) { animation-delay: 190ms; }
.hero--entree .hero__texte > p { animation: texte-monte 420ms var(--sortie) 260ms both; }
.hero--entree .hero__actions { animation: texte-monte 420ms var(--sortie) 330ms both; }
.hero--entree .hero__faits { animation: texte-monte 420ms var(--sortie) 400ms both; }
.hero--entree .scene__aide { animation: texte-monte 420ms var(--sortie) 900ms both; }
@keyframes texte-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sommaire texte sous le meuble (téléphone, lecteurs d'écran) */
.sommaire-rond { display: none; }

/* ===== 6. Les rangées photo et texte, en alternance ===== */
.rangee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rangee--inverse > .cadre { order: 2; }
.rangee--haut { align-items: start; }
.cadre { position: relative; margin: 0; border-radius: var(--r-case); overflow: hidden; background: var(--bois); box-shadow: 0 10px 0 var(--bois-2); }
.cadre img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.cadre--carre img { aspect-ratio: 1; }
.cadre--haut { position: sticky; top: 100px; }
.cadre--haut img { aspect-ratio: 4 / 5; }
.note-photo { position: absolute; left: 12px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(30, 43, 42, 0.8); color: var(--creme); font-size: 0.8rem; line-height: 1.5; }

/* L'entrée des photos : chacune arrive de son côté, une seule fois. Le texte ne bouge jamais. */
.js-anime .arrive { transition: opacity 500ms ease-out, transform 700ms var(--sortie); }
.js-anime .arrive:not(.vu) { opacity: 0; transform: translateX(-26px); }
.js-anime .rangee--inverse > .arrive:not(.vu), .js-anime .lieu:nth-of-type(even) > .arrive:not(.vu) { transform: translateX(26px); }

/* Ce que vous gagnez */
.gains { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.gains li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.gains h3 { margin-bottom: 0.2em; }
.gains p { margin: 0; }
.chiffres { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.chiffre { border-top: 1px solid var(--bois-2); padding-top: 18px; }
.chiffre b { display: block; font-family: var(--titre); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); line-height: 1; color: var(--ardoise); margin-bottom: 8px; }
.chiffre p { margin: 0 0 6px; }
.chiffre small { color: var(--ardoise); display: block; }

/* ===== 7. Comment ça marche : les 4 tiroirs ===== */
.etapes__intro { max-width: 60ch; margin-bottom: 36px; }
.commode { display: grid; gap: 14px; }
.tiroir {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--bois-3); border-radius: var(--r-tiroir); overflow: hidden;
  box-shadow: 0 6px 0 var(--bois-2);
}
.tiroir__facade {
  background: var(--jaune); color: var(--encre); padding: 20px 24px 20px 28px; position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  transition: transform 420ms var(--ressort); will-change: transform;
}
.tiroir__facade::after { /* la poignée découpée, comme sur le vrai meuble */
  content: ""; position: absolute; right: 18px; top: 50%; width: 34px; height: 12px; margin-top: -6px;
  border-radius: 999px; background: var(--jaune-2);
}
.tiroir__facade h3 { margin: 0; color: var(--encre); font-size: var(--t-3); padding-right: 44px; }
.tiroir__facade span { font-weight: 700; font-size: var(--t-petit); color: var(--encre); }
.tiroir__contenu { padding: 20px 28px 24px; transition: transform 480ms var(--sortie), opacity 360ms ease-out; will-change: transform; }
.tiroir__contenu p { margin: 0; }
.tiroir__contenu p + p { margin-top: 0.6em; }
.commode.est-animable .tiroir.est-ferme .tiroir__contenu { transform: translateX(-36px); opacity: 0; }
.commode.est-animable .tiroir.est-ferme .tiroir__facade { transform: translateX(10px); }
.etapes__prix { margin-top: 28px; }

/* ===== 8. Pour quels lieux : la photo change selon le lieu choisi ===== */
.bascule { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-case); background: var(--ardoise-2); box-shadow: 0 10px 0 var(--ardoise-2); }
.bascule img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity 220ms ease-out, visibility 0s linear 220ms; }
.bascule img.actif { opacity: 1; visibility: visible; transition: opacity 220ms ease-out, visibility 0s; }
.choix { list-style: none; margin: 24px 0 0; padding: 0; }
.choix li + li { border-top: 2px solid rgba(251, 244, 232, 0.22); }
.choix button { display: grid; grid-template-columns: 44px 1fr; gap: 16px; width: 100%; padding: 16px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--creme); font: inherit; text-align: left; cursor: pointer; transition: background-color 180ms ease, transform 160ms var(--sortie); }
.choix button:active { transform: scale(0.985); }
.choix button[aria-pressed="true"] { background: var(--ardoise-2); }
@media (hover: hover) and (pointer: fine) { .choix button:hover { background: var(--ardoise-2); } }
.choix__texte { display: block; }
.choix__titre { display: block; margin-bottom: 0.2em; font-family: var(--titre); font-size: var(--t-3); font-weight: 700; line-height: 1.1; }
.choix small { display: block; font-size: 1rem; line-height: 1.45; }
.lieux__suite { margin-top: 28px; }

/* ===== 9. Papé Matteo : les photos à droite ===== */
.realisation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.realisation__texte { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.realisation__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.realisation__video { position: relative; margin: 0; height: min(88svh, 720px); aspect-ratio: 9 / 16; }
.realisation__video video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-case); background: var(--encre); }
.realisation__commande { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: var(--creme); color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.realisation__commande svg { width: 20px; height: 20px; fill: currentColor; }
.realisation__commande .icone-pause { display: none; }
.realisation__commande.en-lecture .icone-pause { display: block; }
.realisation__commande.en-lecture .icone-lecture { display: none; }
.realisation__commande:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.realisation__photos img { border-radius: var(--r-case); width: 100%; height: auto; }
.realisation__photos figure { margin: 0; }
.realisation__photos figcaption { font-size: var(--t-petit); color: var(--ardoise); margin-top: 8px; }
.citation { margin: 28px 0 0; }

/* ===== 10. Laura ===== */
.laura { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.portrait-vide {
  aspect-ratio: 1; border-radius: 50%; background: var(--bois); border: 2px dashed var(--jaune-2);
  display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ardoise); max-width: 360px; margin-inline: auto;
}
.portrait-vide svg { width: 72px; height: auto; margin: 0 auto 12px; }
.laura__dates { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.laura__dates li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.laura__dates b { font-family: var(--titre); font-weight: 800; color: var(--ardoise); }

/* ===== 11. Contact ===== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.formulaire { display: grid; gap: 16px; background: var(--creme); padding: 28px; border-radius: var(--r-case); box-shadow: 0 8px 0 var(--bois-2); }
.formulaire label { display: grid; gap: 6px; font-weight: 700; font-size: 1rem; color: var(--ardoise); }
.formulaire input, .formulaire textarea {
  font: inherit; color: var(--encre); background: var(--creme); border: 2px solid var(--ardoise-3);
  border-radius: 8px; padding: 12px 14px; width: 100%;
}
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--ardoise); box-shadow: 0 0 0 3px rgba(61, 93, 90, 0.3); }
.formulaire input[aria-invalid="true"], .formulaire textarea[aria-invalid="true"] { border-color: #9A2C18; }
.formulaire__secours { margin: 0; font-weight: 600; color: var(--ardoise); }
.formulaire input::placeholder, .formulaire textarea::placeholder { color: var(--ardoise-3); }
.formulaire textarea { min-height: 120px; resize: vertical; }
.formulaire .piege { position: absolute; left: -9999px; }
.formulaire__note { margin: 0; font-size: var(--t-petit); color: var(--ardoise); }
.formulaire__erreur { margin: 0; color: #9A2C18; font-weight: 700; display: none; }
.formulaire.a-une-erreur .formulaire__erreur { display: block; }
.coordonnees { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.coordonnees li { display: flex; align-items: center; gap: 14px; font-size: var(--t-0); }
.coordonnees .picto { width: 30px; height: 30px; }
.coordonnees a { font-weight: 700; }
.plaquette { margin-top: 32px; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--r-case); background: var(--bois-3); border: 2px solid var(--bois-2); max-width: 520px; }
.plaquette .picto { width: 36px; height: 36px; }
.plaquette p { margin: 0; }

/* ===== 12. Pied de page ===== */
.pied { background: var(--ardoise-2); color: var(--bois-3); padding: 48px 0 32px; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.pied__logo { width: 150px; margin-bottom: 12px; }
.pied address { font-style: normal; line-height: 1.7; }
.pied a { color: var(--bois-3); text-decoration-color: var(--jaune); }
.pied a:hover { color: var(--creme); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied h2 { font-size: var(--t-0); color: var(--creme); margin-bottom: 14px; }
.pied__bas { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(251, 244, 232, 0.2); font-size: var(--t-petit); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ===== 13. Pages intérieures ===== */
.page-tete { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: var(--ardoise); color: var(--creme); }
.page-tete h1 { color: var(--creme); }
.page-tete__grille { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 32px; align-items: center; }
.page-tete__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 40%; box-shadow: 0 6px 0 var(--ardoise-2); }
@media (max-width: 760px) { .page-tete__grille { grid-template-columns: 1fr; } .page-tete__photo { width: 140px; height: 140px; } }
.page-tete p { color: var(--bois-3); font-size: var(--t-0); }
.lieu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 4vw, 52px); }
.lieu:first-of-type { padding-top: 0; }
.lieu:last-of-type { padding-bottom: 0; }
.lieu:nth-of-type(even) > .cadre { order: 2; }
.lieu__tete { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.lieu h2 { font-size: var(--t-2); margin: 0; }
.lieu p:last-child { margin-bottom: 0; }
.faq { max-width: 760px; }
.faq details { border-top: 2px solid var(--bois-2); padding: 6px 0; }
.faq details:last-child { border-bottom: 2px solid var(--bois-2); }
.faq summary { cursor: pointer; font-family: var(--titre); font-weight: 700; font-size: var(--t-3); color: var(--ardoise); padding: 12px 36px 12px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); transition: transform 240ms var(--sortie); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq p { padding-bottom: 12px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--t-3); margin-top: 1.6em; }
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.galerie figure { margin: 0; }
.galerie img { border-radius: var(--r-case); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.galerie figcaption { font-size: var(--t-petit); color: var(--ardoise); margin-top: 8px; }
.installe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.installe li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 2px solid var(--bois-2); }
.installe .picto { width: 30px; height: 30px; }

/* ===== 14. Téléphone et fenêtres basses ===== */
@media (max-width: 1024px) {
  .hero__grille { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 48px; gap: 36px; }
  .scene { width: min(100%, 520px); }
  .laura, .contact { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}
/* Sous 900 px : toujours la photo, puis son texte */
@media (max-width: 900px) {
  .rangee, .realisation, .lieu { grid-template-columns: 1fr; }
  .rangee--inverse > .cadre, .lieu:nth-of-type(even) > .cadre { order: 0; }
  .realisation__video { height: auto; width: min(100%, 420px); justify-self: center; }
  .cadre--carre img, .cadre--haut img { aspect-ratio: 4 / 3; }
  .cadre--haut { position: relative; top: auto; }
  .js-anime .arrive:not(.vu), .js-anime .rangee--inverse > .arrive:not(.vu), .js-anime .lieu:nth-of-type(even) > .arrive:not(.vu) { transform: translateY(16px); }
}
@media (max-width: 760px) {
  .entete__nav { display: none; }
  .entete__burger { display: inline-flex; align-items: center; gap: 8px; font: 700 0.95rem var(--texte); background: var(--bois-3); color: var(--ardoise); border: 0; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
  .entete.est-ouvert .entete__nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--bois-2); padding: 12px var(--gouttiere) 20px; gap: 4px; }
  .entete.est-ouvert .entete__nav a { padding: 12px 14px; font-size: var(--t-0); }
  .entete.est-ouvert .entete__nav .bouton { margin: 8px 0 0; justify-content: center; }
  .meuble .etiquette { display: none; }
  .meuble .case { pointer-events: none; }
  .scene__aide { display: none; }
  .sommaire-rond { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
  .sommaire-rond a { display: block; text-align: center; padding: 12px 10px; border-radius: 999px; background: var(--ardoise-2); color: var(--creme); font-weight: 700; text-decoration: none; font-size: var(--t-petit); box-shadow: inset 0 0 0 2px var(--ardoise-3); }
  .sommaire-rond a:hover { background: var(--orange); color: var(--encre); }
  .chiffres { grid-template-columns: 1fr; }
  .tiroir__facade { padding: 20px 60px 20px 22px; }
  .pied__grille { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr; }
  .installe { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .formulaire { padding: 22px 18px; }
}
@media (min-width: 1025px) and (max-height: 700px) {
  .hero__grille { min-height: calc(100svh - 68px); padding-block: 16px; }
  .scene__aide { display: none; }
  .scene { width: min(100%, calc((100svh - 68px - 40px) * 0.72), 540px); }
  .hero h1 { font-size: clamp(2rem, 1.2rem + 2vw, 2.8rem); }
  .hero__actions { margin: 20px 0 16px; }
}

/* ===== 15. Moins d'animations : tout reste lisible, rien ne tourne ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero.est-pret .enseigne-boite, .hero.est-pret .meuble .objets > *, .hero.est-pret .meuble .lumiere { animation: none; }
  .hero--entree h1 .mot, .hero--entree .hero__texte > p, .hero--entree .hero__actions, .hero--entree .hero__faits, .hero--entree .scene__aide { animation: none; }
  .scene.est-en-zoom .scene__inclinable { transition: none; transform: none; opacity: 1; }
  .scene__inclinable, .enseigne-boite, .meuble-boite { transform: none !important; }
  .meuble .case__objet, .meuble .etiquette, .tiroir__contenu, .tiroir__facade, .bouton { transition: none; }
  .commode.est-animable .tiroir.est-ferme .tiroir__contenu { transform: none; opacity: 1; }
  .commode.est-animable .tiroir.est-ferme .tiroir__facade { transform: none; }
  .js-anime .arrive, .js-anime .arrive:not(.vu), .js-anime .rangee--inverse > .arrive:not(.vu), .js-anime .lieu:nth-of-type(even) > .arrive:not(.vu) { opacity: 1; transform: none; transition: none; }
  .choix button { transition: none; }
}


/* ===== Retours de Laura (2026-11-13) ===== */
/* Nos solutions : trois modèles dessinés à la même échelle (colonnes proportionnelles aux largeurs réelles) */
.solutions__tete { max-width: 62ch; }
.solutions__tete h2 { margin: 0 0 0.5em; font-size: var(--t-1); line-height: 1.05; }
.solutions__tete p { margin: 0 0 0.8em; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); }
.modeles__echelle { margin: clamp(36px, 5vw, 56px) 0 18px; font-size: var(--t-petit); font-weight: 700; color: var(--ardoise); }
.modeles { display: grid; grid-template-columns: 300fr 300fr 180fr; gap: clamp(20px, 3.5vw, 56px); align-items: start; }
.modele { min-width: 0; }
.modele__dessin { display: block; width: 100%; height: auto; }
.modele h3 { margin: 20px 0 0; font-size: var(--t-3); }
.modele__dims { margin: 0 0 8px; font-weight: 800; color: var(--orange-texte); }
.modele p { margin-top: 0; }
.modele ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; font-size: var(--t-petit); color: var(--ardoise); }
.modele li { border-left: 2px solid var(--jaune); padding-left: 8px; }
.solutions__pied { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 2px solid var(--bois-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.solutions__plus { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--ardoise); }
.solutions__plus li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: 0.1em; }
@media (max-width: 900px) {
  .modeles { grid-template-columns: 1fr; gap: 44px; }
  .modele--compact .modele__dessin { width: 60%; }   /* 180 / 300 : même échelle que les deux autres */
}
.pied__fb { color: var(--bois-3); }

/* Signature : au survol d'un lien du texte, il change de couleur et les deux points du ö apparaissent
   au-dessus de sa fin (gros point puis petit, comme dans le logo). transform et opacity seulement. */
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a) { position: relative; transition: color 180ms ease-out; }
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::before,
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::after {
  content: ""; position: absolute; border-radius: 50%; background: var(--orange); pointer-events: none;
  opacity: 0; transform: translateY(4px) scale(0.2);
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 140ms ease-out;
}
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::before { width: 0.36em; height: 0.42em; right: 0.16em; bottom: 1.02em; }
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::after { width: 0.27em; height: 0.32em; right: -0.24em; bottom: 1.06em; transition-delay: 70ms; }
@media (hover: hover) and (pointer: fine) {
  :where(main p, main li) a:not(.bouton, .sommaire-rond a):hover { color: var(--orange-2); }
  :where(.pied li, .pied address) a:hover, .section--ardoise a:not(.bouton):hover { color: var(--jaune); }
  :where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a):hover::before,
  :where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a):hover::after { opacity: 1; transform: none; }
}
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a):focus-visible::before,
:where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a):focus-visible::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  :where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::before,
  :where(main p, main li, .pied li, .pied address) a:not(.bouton, .sommaire-rond a)::after { transform: none; transition: opacity 120ms ease-out; transition-delay: 0ms; }
}

/* Logo en relief du premier écran : rien ne suit la souris. Quand elle arrive sur le ö, le rond orange réagit
   (petit rebond écrasé), et tant qu'elle y reste, les deux points rebondissent légèrement l'un après l'autre. */
.enseigne { overflow: visible; }
.enseigne__zone-o { pointer-events: all; }
.enseigne__rond, .enseigne__point { transform-box: fill-box; transform-origin: 50% 100%; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .enseigne:has(.enseigne__zone-o:hover) .enseigne__rond { animation: rond-reagit 560ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .enseigne:has(.enseigne__zone-o:hover) .enseigne__point { animation: point-rebond 1400ms cubic-bezier(0.33, 0, 0.3, 1) infinite; }
  .enseigne:has(.enseigne__zone-o:hover) .enseigne__point--2 { animation-delay: 180ms; }
}
@keyframes rond-reagit { 0% { transform: none; } 30% { transform: scale(1.1, 0.9); } 60% { transform: scale(0.96, 1.05); } 100% { transform: none; } }
@keyframes point-rebond { 0%, 46%, 100% { transform: none; } 18% { transform: translateY(-26px); } 32% { transform: translateY(0) scale(1.06, 0.94); } }

/* Nos solutions : l'accompagnement et les jeux */
.solutions__titre { font-size: var(--t-3); margin: 0 0 10px; }
.solutions__pied { align-items: flex-end; }
.jeux { margin-top: clamp(48px, 6vw, 80px); }
.jeux__tete { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.jeux__tete h3 { font-size: var(--t-2); margin: 0; line-height: 1.1; }
.jeux__tete p { margin: 0; }
.jeux__liste { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jeux__liste li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--creme); border-radius: var(--r-case); box-shadow: 0 4px 0 var(--bois-2); }
.jeu__dessin { position: relative; width: 64px; height: 64px; border-radius: 12px; background: var(--bois-3); display: block; }
.jeu__dessin svg { width: 100%; height: 100%; display: block; }
.jeu__numero { position: absolute; left: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--encre); display: grid; place-items: center; font: 800 0.85rem var(--titre); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .jeu__dessin svg { transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .jeux__liste li:hover .jeu__dessin svg { transform: translateY(-4px) rotate(-4deg); }
}
.jeux__liste h4 { margin: 4px 0 2px; font-size: 1.02rem; }
.jeux__liste p { margin: 0; font-size: var(--t-petit); color: var(--ardoise); }
.jeux__livres { margin: 18px 0 0; font-weight: 600; color: var(--ardoise); }
@media (max-width: 1000px) { .jeux__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jeux__tete { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .jeux__liste { grid-template-columns: 1fr; } }
/* La phrase des fondateurs de Papé Matteo */
blockquote.citation { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); }
blockquote.citation p { margin: 0 0 10px; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); font-style: italic; }
blockquote.citation footer { font-weight: 700; font-size: var(--t-petit); color: var(--ardoise); }
.chiffre b span { font-variant-numeric: tabular-nums; }

/* Pour quels lieux : un petit ö par lieu, sous la photo ; celui du lieu choisi se remplit */
.lieux__gauche { min-width: 0; }
.o-choix__rangee { display: flex; gap: 14px; margin-top: 18px; }
.o-choix { width: 44px; height: 52px; padding: 2px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.o-choix svg { width: 100%; height: 100%; display: block; overflow: visible; }
.o-choix__o { fill: var(--bois-3); transition: fill 200ms ease-out; }
.o-choix__trou { fill: var(--ardoise-2); }
.o-choix__rond, .o-choix__point { fill: var(--orange); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.o-choix__point { transform: translateY(6px) scale(0); }
.o-choix.actif .o-choix__rond { transform: none; }
.o-choix.actif .o-choix__point { transform: none; transition-delay: 120ms; }
.o-choix.actif .o-choix__point--petit { transition-delay: 190ms; }
@media (hover: hover) and (pointer: fine) { .o-choix:not(.actif):hover .o-choix__o { fill: var(--jaune); } }
.o-choix:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .o-choix__rond, .o-choix__point { transition: none; } }


/* ===== Comment ça marche : le chemin de points du ö (maquette 4, choisie le 2026-11-14) ===== */
/* ===== Commun aux 4 maquettes ===== */
.et { background: var(--bois-3); padding-block: clamp(72px, 9vw, 128px); overflow-x: clip; }
.et__titre { font-size: clamp(2.75rem, 1.3rem + 4.4vw, 5.25rem); line-height: 0.95; margin: 0 0 0.32em; letter-spacing: -0.012em; }
.et__intro { font-size: clamp(1.125rem, 1.02rem + 0.35vw, 1.3rem); line-height: 1.55; max-width: 36ch; margin-bottom: 28px; }
.et__photo { margin: 0; }
.et__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-case); box-shadow: 0 10px 0 var(--bois-2); }
.et__legende { margin-top: 20px; font-size: 0.8rem; color: var(--ardoise); }
.et ol { list-style: none; margin: 0; padding: 0; }
.et h3 { color: var(--encre); margin-bottom: 0.35em; }
.et h3 + p { margin: 0; }
.et__num { font-family: var(--titre); font-weight: 800; line-height: 1; }
/* ===== M4 — Le chemin de points du ö ===== */
.m4__tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(64px, 8vw, 104px); }
.m4__o { margin: 0; justify-self: end; width: min(100%, 400px); }
.m4__anneau { position: relative; padding-top: 64px; }
.m4__points { position: absolute; top: 0; left: 50%; width: 120px; height: 56px; margin-left: -60px; }
.m4__points span { position: absolute; border-radius: 50%; background: var(--orange); }
.m4__points span:first-child { left: 14px; top: 6px; width: 46px; height: 46px; }
.m4__points span:last-child { right: 18px; top: 16px; width: 32px; height: 32px; }
.m4__rond { position: relative; aspect-ratio: 1; border-radius: 50%; border: 16px solid var(--ardoise); overflow: hidden; background: var(--ardoise); }
.m4__rond img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 38% 50%; }
.m4__o .et__legende { text-align: center; }

.m4__etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.m4__etape { position: relative; }
.m4__marque { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 7px solid var(--ardoise); display: grid; place-items: center; margin-bottom: 22px; }
.m4__marque .et__num { font-size: 1.6rem; color: var(--ardoise); }
.m4__etape--4 .m4__marque { border-color: var(--orange); }
.m4__orbite { position: absolute; inset: -7px; border-radius: 50%; }
.m4__orbite::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ardoise); }
.m4__trace { position: absolute; top: 30px; left: 76px; right: -16px; height: 14px; margin-top: -7px; display: flex; align-items: center; justify-content: space-between; }
.m4__trace i { display: block; border-radius: 50%; background: var(--orange); width: 14px; height: 14px; }
.m4__trace i:nth-child(even) { width: 9px; height: 9px; }

@media (prefers-reduced-motion: no-preference) {
  .m4__orbite { animation: m4-tour 9s linear infinite; animation-play-state: paused; }
  .m4.tourne .m4__orbite { animation-play-state: running; }
  .js-anime .m4__points span { opacity: 0; transform: scale(0.2); transition: opacity 200ms ease-out, transform 520ms var(--ressort); }
  .js-anime .m4__tete.vu .m4__points span { opacity: 1; transform: none; transition-delay: 250ms; }
  .js-anime .m4__tete.vu .m4__points span:last-child { transition-delay: 400ms; }
  .js-anime .m4__marque { opacity: 0; transform: scale(0.6); transition: opacity 200ms ease-out, transform 480ms var(--ressort); }
  .js-anime .m4__etape h3, .js-anime .m4__etape p { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease-out, transform 560ms var(--sortie); }
  .js-anime .m4__trace i { opacity: 0; transform: scale(0); transition: opacity 160ms ease-out, transform 340ms var(--ressort); }
  .js-anime .m4__etape.vu .m4__marque, .js-anime .m4__etape.vu h3, .js-anime .m4__etape.vu p, .js-anime .m4__etape.vu .m4__trace i { opacity: 1; transform: none; }
  .js-anime .m4__etape.vu h3 { transition-delay: 120ms; } .js-anime .m4__etape.vu p { transition-delay: 180ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(1) { transition-delay: 260ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(2) { transition-delay: 320ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(3) { transition-delay: 380ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(4) { transition-delay: 440ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(5) { transition-delay: 500ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(6) { transition-delay: 560ms; }
  .js-anime .m4__etape.vu .m4__trace i:nth-child(7) { transition-delay: 620ms; }
}
@keyframes m4-tour { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .m4__etapes { gap: 24px; } }
@media (max-width: 900px) {
  .m4__tete { grid-template-columns: 1fr; align-items: start; }
  /* M4 : le ö en tête, puis les étapes reliées par les points, à la verticale */
  .m4__o { justify-self: start; width: min(100%, 300px); }
  .m4__o .et__legende { text-align: left; }
  .m4__etapes { grid-template-columns: 1fr; gap: 0; }
  .m4__etape { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; padding-bottom: 36px; }
  .m4__etape { align-content: start; }
  .m4__etape:not(.m4__etape--4) { min-height: 170px; }
  .m4__trace i:nth-child(n+5) { display: none; }
  .m4__marque { grid-row: 1 / 3; margin: 0; }
  .m4__etape h3 { padding-top: 12px; }
  .m4__trace { top: 72px; bottom: 10px; left: 30px; right: auto; width: 14px; height: auto; margin: 0 0 0 -7px; flex-direction: column; }
}

.o-choix, .realisation__commande { font: inherit; }

/* Le grand ö de Laura : l'orange ondule comme une vague (transform seulement) ; les points rebondissent au survol */
.laura__o { max-width: 300px; width: 100%; margin-inline: auto; }
.o-vague { display: block; width: 100%; height: auto; overflow: visible; }
.o-vague__point { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .o-vague__eau--avant { animation: vague-defile 3.2s linear infinite; }
  .o-vague__eau--arriere { animation: vague-defile 5s linear infinite reverse; }
  .o-vague__niveau { animation: vague-niveau 4s ease-in-out infinite alternate; }
  @media (hover: hover) and (pointer: fine) {
    .o-vague:hover .o-vague__point { animation: point-rebond 1400ms cubic-bezier(0.33, 0, 0.3, 1) infinite; }
    .o-vague:hover .o-vague__point--2 { animation-delay: 180ms; }
  }
}
@keyframes vague-defile { from { transform: translateX(0); } to { transform: translateX(-100px); } }
@keyframes vague-niveau { from { transform: translateY(6px); } to { transform: translateY(-8px); } }

/* ===== Retours de Laura (doc du 16/11), intégrés le 18/11 ===== */
/* Premier écran : plus d'air sous l'en-tête et entre les blocs ; son slogan au-dessus de sa question */
.hero__grille { padding-block: clamp(48px, 9vh, 104px) clamp(56px, 10vh, 112px); }
.hero__slogan { margin: 0 0 18px; font-family: var(--titre); font-weight: 700; font-size: clamp(1rem, 0.92rem + 0.3vw, 1.2rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange); }
.hero h1 { font-size: clamp(2rem, 1.25rem + 2vw, 3.05rem); line-height: 1.06; margin-bottom: 0.6em; }
.hero__texte p + p { margin-top: 0.9em; }
.hero__texte .hero__slogan + h1 { margin-top: 0; }
.hero__actions { margin: 34px 0 30px; }
/* les trois repères : un petit ö devant chacun, jamais coupés au milieu */
.hero__faits { gap: 10px 26px; }
.hero__faits li { border-left: 0; padding-left: 0; white-space: nowrap; gap: 9px; }
.mini-o { width: 15px; height: 18px; flex: none; }
.hero .mini-o { color: var(--bois-3); }
@media (min-width: 1025px) and (max-height: 700px) {
  .hero__grille { padding-block: 40px 44px; }
  .hero h1 { font-size: clamp(1.8rem, 1.1rem + 1.7vw, 2.5rem); }
  .hero__slogan { margin-bottom: 12px; }
  .hero__actions { margin: 24px 0 20px; }
}
@media (max-width: 1024px) { .hero__grille { padding-block: 48px 56px; } }

/* « S'adapte à votre lieu » : le texte à gauche, le meuble en situation à droite */
.solutions__entree { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.solutions__entree .solutions__tete { max-width: 58ch; }
.solutions__chute { font-weight: 700; color: var(--ardoise); }
.solutions__photo { margin: 0; position: relative; }
.solutions__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-case); box-shadow: 0 10px 0 var(--bois-2); }
.solutions__photo .note-photo, .modele__cadre .note-photo { position: absolute; left: 10px; bottom: 10px; }
@media (max-width: 900px) { .solutions__entree { grid-template-columns: 1fr; } }

/* Les trois modèles : les vrais meubles, même cadre pour les trois */
.modeles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.modele__cadre { position: relative; }
.modele__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-case); background: var(--ardoise-2); box-shadow: 0 8px 0 var(--bois-2); }
@media (max-width: 1000px) { .modeles { grid-template-columns: 1fr; gap: 48px; } .modele__cadre { max-width: 560px; } }

/* Les jeux : plus d'air, et un titre qui sort du tiroir mot par mot */
.jeux { margin-top: clamp(72px, 9vw, 120px); }
.jeux__tete { grid-template-columns: 1fr; gap: 18px; max-width: 900px; }
.jeux__titre { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em; }
.jeux__mot { display: inline-block; }
.jeux__mot--fort { color: var(--orange-2); }
.jeux__tete p { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); max-width: 60ch; }
.jeux__liste { margin-top: 40px; gap: 22px; }
.jeux__liste li { padding: 20px; }
.jeux__livres { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.jeux__livres .picto { width: 30px; height: 30px; }
.solutions__pied { margin-top: clamp(56px, 7vw, 88px); }
@media (prefers-reduced-motion: no-preference) {
  .js-anime .jeux__mot { opacity: 0; transform: translateY(0.5em) rotate(-4deg); transition: opacity 260ms ease-out, transform 620ms var(--ressort); }
  .js-anime .jeux__mot--tiroir { transform: translateY(0.6em) rotate(5deg) scale(0.9); }
  .js-anime .jeux__titre.vu .jeux__mot { opacity: 1; transform: none; }
}

/* Comment ça marche : la photo dans le rond tronqué du ö, ouverte en ovale penché ; les points plus gros */
.m4__forme { display: block; width: 100%; height: auto; overflow: visible; }
.m4__point { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js-anime .m4__point { opacity: 0; transform: translateY(18px) scale(0.3); transition: opacity 200ms ease-out, transform 560ms var(--ressort); }
  .js-anime .m4__tete.vu .m4__point { opacity: 1; transform: none; transition-delay: 250ms; }
  .js-anime .m4__tete.vu .m4__point--2 { transition-delay: 400ms; }
}

/* Pour quels lieux : les petits ö fidèles (tracé de l'icône d'origine) */
.o-choix { width: 42px; height: 52px; }
.o-choix__point { transform: translateY(30px) scale(0); }

/* Papé Matteo : le lien vers leur site, à côté du bouton */
.realisation__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.lien-externe { font-weight: 700; }
.lien-externe::after { content: " ↗"; }

/* Le ö du logo blanc : un petit saut de temps en temps (meuble.js pose .o-saute quelques secondes, à l'écran seulement) */
@media (prefers-reduced-motion: no-preference) {
  /* les deux points sautent seuls, sans souris, toutes les 3 s (meuble.js) : un vrai saut, visible (unités du dessin : ~20 px à l'écran) */
  .enseigne.o-saute .enseigne__point { animation: point-saute 1100ms cubic-bezier(0.33, 0, 0.3, 1); }
  .enseigne.o-saute .enseigne__point--2 { animation-delay: 160ms; }
}
.solutions__amorce { font-family: var(--titre); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.35; color: var(--orange-texte); margin: 0 0 22px; max-width: 46ch; }
@media (min-width: 1025px) {
  .hero__grille { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
  .hero__actions { flex-wrap: nowrap; }
}
@media (min-width: 1025px) and (max-height: 700px) { .hero h1 { font-size: clamp(1.8rem, 1rem + 1.6vw, 2.35rem); } .hero__texte p { font-size: 1.05rem; } }
.solutions__amorce { max-width: 52ch; }
.m4__o { width: min(100%, 420px); }

/* pendant l'ouverture du logo : le doigt ne fait pas défiler la page sous le rideau */
.ouverture-active .ouverture { touch-action: none; }

/* ===== Papé Matteo (18/11, retours de Marone) : un léger rappel de leur charte — rouge brique, crème, leur logo ===== */
:root { --pm-brique: #C7341F; --pm-brique-2: #9A2C18; --pm-creme: #F7EFE1; --pm-moutarde: #EDA63E; }
/* le lien vers leur site : une pastille à leurs couleurs, leur logo dedans */
.lien-pape { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 999px; background: var(--pm-creme); color: var(--pm-brique); border: 2px solid var(--pm-brique); text-decoration: none; box-shadow: 0 4px 0 var(--pm-brique-2); transition: transform 220ms var(--sortie), box-shadow 220ms var(--sortie), background-color 220ms ease-out, color 220ms ease-out; }
.lien-pape img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; flex: none; }
.lien-pape__texte { display: grid; line-height: 1.05; }
.lien-pape__texte small { font-family: var(--titre); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lien-pape__texte b { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; letter-spacing: 0.02em; text-transform: uppercase; }
.lien-pape__fleche { font-weight: 800; font-size: 1.1rem; transition: transform 220ms var(--sortie); }
@media (hover: hover) and (pointer: fine) {
  .lien-pape:hover { background: var(--pm-brique); color: var(--pm-creme); transform: translateY(-2px); box-shadow: 0 6px 0 var(--pm-brique-2); }
  .lien-pape:hover .lien-pape__fleche { transform: translate(2px, -2px); }
}
.lien-pape:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pm-brique-2); }
.lien-pape:focus-visible { outline: 3px solid var(--pm-brique); outline-offset: 3px; }
.realisation__liens { gap: 16px 22px; }

/* la page Papé Matteo */
.pape-tete { background: var(--creme); border-top: 6px solid var(--pm-brique); padding-block: clamp(40px, 6vw, 88px); }
.pape-tete__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pape-tete__sur { margin: 0 0 14px; font-family: var(--titre); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pm-brique); }
.pape-tete h1 { font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.9rem); line-height: 1.02; margin-bottom: 0.5em; }
.pape-tete__texte > p:not(.pape-tete__sur) { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); max-width: 46ch; }
.pape-tete__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 30px; }
.pape-tete__photo { margin: 0; }
.pape-tete__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-case); box-shadow: 0 10px 0 var(--pm-creme), 0 10px 0 2px rgba(199, 52, 31, 0.18); }
.pape-tete__photo figcaption, .pape-galerie figcaption { margin-top: 12px; font-size: var(--t-petit); color: var(--ardoise); }
.pape-titre { font-size: var(--t-1); line-height: 1.04; }
.pape-sous-titre { font-size: var(--t-3); margin-top: 1.6em; }
.pape-galerie { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 22px clamp(20px, 3vw, 40px); margin-top: clamp(24px, 3vw, 40px); }
.pape-galerie figure { margin: 0; }
.pape-galerie__video { grid-row: 1 / 3; height: auto; width: 100%; aspect-ratio: 9 / 16; max-height: 820px; justify-self: start; }
.pape-galerie img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-case); }
.pape-partenariat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pape-partenariat p { max-width: 62ch; }
.pape-installe { background: var(--creme); border-radius: var(--r-case); padding: clamp(22px, 3vw, 34px); box-shadow: 0 8px 0 var(--bois-2); }
.pape-installe .pape-sous-titre { margin-top: 0; }
.pape-installe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pape-installe li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 2px solid var(--bois-2); }
.pape-installe li:first-child { border-top: 0; }
.pape-installe .picto { width: 28px; height: 28px; }
/* le mot des fondateurs : leur logo, leur rouge, en touche */
.pape-mot { background: var(--pm-creme); padding-block: clamp(56px, 7vw, 96px); border-block: 2px solid rgba(199, 52, 31, 0.25); }
.pape-mot__grille { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1040px; }
.pape-mot__logo { width: clamp(120px, 14vw, 190px); height: auto; }
.pape-mot__citation { margin: 0; }
.pape-mot__citation p { margin: 0 0 16px; font-family: var(--titre); font-weight: 600; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.3; color: var(--pm-brique-2); }
.pape-mot__citation footer { font-weight: 700; color: var(--ardoise); }
.pape-fin__grille { display: grid; justify-items: center; text-align: center; gap: 6px; }
.pape-fin__grille p { max-width: 44ch; margin: 0 0 18px; }
@media (max-width: 900px) {
  .pape-tete__grille, .pape-partenariat { grid-template-columns: 1fr; }
  .pape-galerie { grid-template-columns: 1fr; }
  .pape-galerie__video { grid-row: auto; width: min(100%, 420px); justify-self: center; }
  .pape-mot__grille { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* Qui est Laura, plus en avant (18/11) : juste après Nos solutions, sa phrase signée, un vrai bouton */
.laura-section { padding-block: clamp(80px, 10vw, 140px); }
.laura__o { max-width: 360px; }
.laura__sur { margin: 0 0 10px; font-family: var(--titre); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-texte); }
.laura-section h2 { font-size: var(--t-1); }
.laura__phrase { margin: 4px 0 22px; padding-left: 20px; border-left: 4px solid var(--orange); }
.laura__phrase p { margin: 0 0 8px; font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.3; color: var(--ardoise); }
.laura__phrase footer { font-weight: 700; font-size: var(--t-petit); color: var(--orange-texte); }
@media (min-width: 901px) {
  .pape-galerie__video { aspect-ratio: auto; height: 100%; max-height: none; min-height: 520px; }
  .pape-galerie__video video { height: 100%; }
}
@keyframes point-saute { 0%, 100% { transform: none; } 28% { transform: translateY(-110px); } 48% { transform: translateY(0) scale(1.08, 0.9); } 62% { transform: translateY(-34px); } 76% { transform: none; } }
/* Galerie Papé Matteo (18/11) : photos à leur taille (pas d'agrandissement flou), la vidéo, et les repères à côté */
@media (min-width: 901px) {
  .pape-galerie { grid-template-columns: minmax(0, 3.2fr) minmax(0, 4.4fr) minmax(0, 3.4fr); grid-template-rows: auto auto; align-items: start; }
  .pape-galerie__video { grid-column: 1; grid-row: 1 / 3; height: auto; min-height: 0; aspect-ratio: 9 / 16; max-height: 640px; }
  .pape-galerie > figure:not(.pape-galerie__video) { grid-column: 2; max-width: 440px; }
  .pape-reperes { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}
.pape-reperes { background: var(--creme); border-radius: var(--r-case); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 8px 0 var(--bois-2); border-top: 5px solid var(--pm-brique); }
.pape-reperes__sur { margin: 0 0 14px; font-family: var(--titre); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pm-brique); }
.pape-reperes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pape-reperes li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; }
.pape-reperes b { font-family: var(--titre); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ardoise); }
.pape-reperes span { color: var(--ardoise); }
.pape-reperes__note { margin: 20px 0 0; padding-top: 16px; border-top: 2px solid var(--bois-2); font-size: var(--t-petit); color: var(--ardoise); }

/* ===== Retours du 19/11 ===== */
/* Titres de partie en pleine largeur, au-dessus du texte et de l'image */
.titre-large { font-size: var(--t-1); line-height: 1.05; margin: 0 0 clamp(28px, 3.5vw, 48px); max-width: none; text-wrap: balance; }
#solutions .titre-large { color: var(--ardoise); }
/* « Ce que ça change » : la phrase d'entrée prend toute la largeur, puis photo + gains */
.gagnez__tete { margin-bottom: clamp(32px, 4vw, 56px); }
.gagnez__tete .titre-large { margin-bottom: 0.4em; }
.gagnez__amorce { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.35; color: var(--orange-texte); max-width: 54ch; margin: 0; text-wrap: pretty; }
.gagnez__rangee { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.gagnez__rangee .gains { margin-top: 0; }
@media (max-width: 900px) { .gagnez__rangee { grid-template-columns: 1fr; } }
/* Les trois repères du premier écran : sur une ligne quand ils tiennent, sinon l'un sous l'autre, jamais 2 + 1 */
.hero__texte { container-type: inline-size; }
.hero__faits { flex-wrap: nowrap; gap: 20px; font-size: calc(var(--t-petit) * 0.95); }
@container (max-width: 615px) { .hero__faits { flex-direction: column; gap: 10px; } }
/* Le logo au-dessus de la colonne de tiroirs (décalée à gauche sur le vrai meuble), pas du cercle */
.enseigne-boite { left: -1.6%; }
/* « jeux calmes » : les deux points du ö rebondissent de lettre en lettre (rebonds.js) */
.jeux__rebond { position: relative; display: inline-block; white-space: nowrap; }
.rebond { position: absolute; inset: 0; pointer-events: none; display: none; }
.rebond.est-pret { display: block; }
.rebond__x { position: absolute; left: 0; top: 0; will-change: transform; }
.rebond__y { display: block; transform-origin: 50% 100%; }
.rebond__l { display: inline-block; transform-origin: 50% 100%; }
.rebond i { display: block; width: 0.22em; height: 0.25em; margin-left: -0.11em; border-radius: 50%; background: var(--orange); }
.rebond__x--2 i { width: 0.16em; height: 0.18em; margin-left: -0.08em; }
@media (prefers-reduced-motion: reduce) { .rebond { display: none !important; } }
/* Grand ö de « Comment ça marche » : le ö exact de Laura, la photo dans l'ovale penché */
.m4__anneau { padding-top: 0; }
/* « Comment ça marche » : le ö plus grand, la photo remplit tout son trou (Marone, 19/11 nuit) */
.m4__tete { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.m4__o { width: min(100%, 500px); }
@media (max-width: 900px) { .m4__tete { grid-template-columns: 1fr; } .m4__o { width: min(100%, 380px); } }
/* Premier écran : retour au dessin-navigation du meuble (Marone, 19/11 nuit : pas la photo détourée) */

/* ===== Corrections après le passage du testeur (2026-11-20) ===== */
/* Menu du téléphone ouvert : la page passe dans l'ombre, le bouton orange du premier écran ne se colle plus à celui du menu */
@media (max-width: 1240px) {
  /* le menu ne dépasse jamais l'écran (téléphone couché, PC très zoomé) : il défile à l'intérieur */
  .entete.est-ouvert .entete__nav { box-shadow: 0 100vh 0 100vh rgba(30, 43, 42, 0.6); max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); overflow-y: auto; overscroll-behavior: contain; }
}
/* Tablettes et petites fenêtres de PC (761 à 1240 px) : les sept liens ne tenaient pas sur une ligne et se pliaient sur
   deux ou trois. Le bouton « Menu » du téléphone prend le relais tant que la place manque. */
@media (min-width: 760.01px) and (max-width: 1240px) {
  .entete__nav { display: none; }
  .entete__burger { display: inline-flex; align-items: center; gap: 8px; font: 700 0.95rem var(--texte); background: var(--bois-3); color: var(--ardoise); border: 0; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
  .entete.est-ouvert .entete__nav { display: grid; justify-items: start; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--bois-2); padding: 12px var(--gouttiere) 20px; gap: 4px; }
  .entete.est-ouvert .entete__nav a { padding: 12px 14px; font-size: var(--t-0); }
  .entete.est-ouvert .entete__nav .bouton { margin: 8px 0 0; }
}
/* « Qui est Laura » sur une colonne (téléphone, tablette) : le grand ö reste à la taille d'un portrait, aligné sur le texte */
@media (max-width: 1024px) {
  .laura__o { max-width: 220px; margin-inline: 0; }
}
/* Grand titre de l'accueil : les deux derniers mots restent ensemble (Firefox laissait « établissement ? » seul) */
.hero h1 .mots-lies { white-space: nowrap; }
/* Formulaire : les champs qu'on peut laisser vides sont dits */
.formulaire .facultatif { font-style: normal; font-weight: 400; }

/* Bouton « Copier ma demande » : à gauche, sous le message de secours */
.formulaire__copier { justify-self: start; }
/* Un élément marqué « hidden » reste caché, même s'il porte une classe qui fixe son affichage (bouton, grille…) */
[hidden] { display: none !important; }

/* Retour de Laura (20/11) : moins de vide au-dessus de « Comment ça marche ».
   Le texte était centré face au grand ö, ce qui le faisait descendre d'environ 126 px. */
.et { padding-top: clamp(56px, 6vw, 88px); }
.m4__tete { align-items: start; }

/* Page Lieux, bloc « Petit espace ? » : la phrase d'accroche, en gras comme dans le texte de Laura */
.lieu__chapo { font-weight: 700; color: var(--ardoise); }
.lieu--petit > .cadre { width: 100%; max-width: 480px; justify-self: center; }

/* Page Papé Matteo : leur texte en entier, en lettre (20/11) */
.pape-mot__lettre { max-width: 680px; }
.pape-mot__lettre p { font-family: var(--texte); font-weight: 400; font-size: var(--t-0, 1.05rem); line-height: 1.6; color: var(--encre); margin: 0 0 12px; }
.pape-mot__lettre p.pape-mot__accroche { font-family: var(--titre); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.25; color: var(--pm-brique-2); margin-bottom: 20px; }
.pape-mot__lettre footer { margin-top: 20px; }
@media (max-width: 760px) { .pape-mot__lettre { text-align: left; } }

/* Page Lieux : le ö du logo, en crème sur le vert, à la place de la photo ronde (choix de Marone, 20/11) */
.page-tete__o { width: 200px; height: 200px; display: block; justify-self: center; }
@media (max-width: 760px) { .page-tete__o { width: 120px; height: 120px; justify-self: start; } }

/* Retour de Laura (25/11) : moins de vide dans « Comment ça marche ». Le grand ö (500 px de large, ≈ 610 px
   de haut) dépassait de loin le texte d'à côté : il passe à 340 px, et le texte se centre en face. */
.m4__tete { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.m4__o { width: min(100%, 340px); }
@media (max-width: 900px) { .m4__tete { grid-template-columns: 1fr; } .m4__o { width: min(100%, 260px); } }

/* Ce que ça change : vraie photo du resto (Laura, 25/11), cadrée sur les enfants autour de la table */
.cadre--resto img { object-position: 50% 58%; }
/* Testeur 25/11 : même règle pour la photo carrée, qu'on doit voir en entier sur un portable Windows */
.cadre--resto img { max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); min-height: 280px; }
