/* remi.iamancie.fr, v7 (21/10/2026) : la rue des commerçants, la console Devis Boy, Pac-Man.
   Une seule famille (Bricolage Grotesque, variable 200-800), réglée légère pour les titres.
   Le monde visuel est le pixel : lettres (pixel.py), icônes (icones.py), la rue de l'accueil (rue.py, jour en Blanc, nuit en Noir).
   Échelle : six crans, accueil / titre / sous-titre / 20 / 17 / 14. Rythme : 128 / 96 / 72 / 48 / 24 / 12. Les surfaces ont des coins en escalier. */
@font-face { font-family: 'REM Bricolage'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/polices/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'REM Bricolage'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/polices/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --f: 'REM Bricolage', 'Segoe UI', system-ui, sans-serif;
  --rail: 1240px;
  /* v9 : la palette vient de la console Game Boy, plus du cuivre. Lampe jaune, citron, vert écran, framboise des boutons A et B. */
  --p1: #ffe27a; --p2: #a9d35c; --p3: #4f9a48; --p4: #b0215f; --p5: #6b1038;
  --vert: #3c7a34; --vert-fonce: #1f4a1c; --framboise: #b0215f;
  --btn: linear-gradient(135deg, #3f8236 0%, #24521f 100%);
  --btn-survol: linear-gradient(135deg, #49903f 0%, #2a5c24 100%);
  --btn-marche: #173315;
  --courbe: cubic-bezier(.16, 1, .3, 1);
  --franche: cubic-bezier(.4, 0, .2, 1);
  --encre: #1e1c2a;
  --cel: 4px;
  --ru-y: var(--p1); --ru-a: var(--p2); --ru-o: var(--p3); --ru-r: var(--p4);
  --t1: clamp(40px, 4.7vw, 70px); --t2: clamp(34px, 4.4vw, 60px); --t3: clamp(28px, 3vw, 40px); --t4: 20px; --t5: 17px; --t6: 14px;
  --gb0: #1c321e; --gb1: #36502a; --gb2: #9db06f; --gb3: #b7c68c;
  --tri: polygon(0 0, 25% 0, 25% 14.3%, 50% 14.3%, 50% 28.6%, 75% 28.6%, 75% 42.9%, 100% 42.9%, 100% 57.1%, 75% 57.1%, 75% 71.4%, 50% 71.4%, 50% 85.7%, 25% 85.7%, 25% 100%, 0 100%);
  --ic-wa: #25d366;
}
:root[data-theme="light"] {
  --lg-ia: #3c7a34; --lg-e: #b0215f; --lg-ombre: #d6d4ca;
  --console: #dcdad3; --console-2: #c9c6bd; --console-texte: #3b3550; --bord-ecran: #4c4a5c;
  --fond: #f3f2ec; --fond-2: #e7e5dc; --carte: #fdfdfa; --sombre: #1e1c2a;
  --texte: #1e1c2a; --texte-2: #474557; --texte-3: #646273;
  --ligne: rgba(30, 28, 42, .12); --ligne-forte: rgba(30, 28, 42, .24);
  --accent-texte: #2f6a29; --rose: #b0215f;
  --pa-sable: #f4ead0; --pa-ciel: #dfe4f1; --pa-sauge: #dce8d2; --pa-brique: #f3d9e3; --pa-lavande: #e5e0f0;
  --ic-k: #1e1c2a; --ic-w: #fdfdfa; --ic-g: #9d9ba8; --ic-v: #5f9a4f; --ic-b: #bfd0e6;
  --ru-loin: #e2e0d6; --ru-lf: #d2cfc3; --ru-lfn: #d2cfc3; --ru-f1: #f1e1a8; --ru-f2: #c9dcb9; --ru-f3: #c7d3ea; --ru-f4: #eec6d3; --ru-f5: #d6cdea;
  --ru-om: rgba(30, 28, 42, .12); --ru-kk: #262433; --ru-tx: #ffe27a; --ru-vi: #cfe0e8; --ru-re: #f4fafc; --ru-fe: #cfe0e8; --ru-fn: #cfe0e8;
  --ru-bl: #f3f2ec; --ru-po: #44415a; --ru-tr: #d9d6cb; --ru-bd: #c4c0b3; --ru-rt: #363447; --ru-li: #f3f2ec;
  --ru-ar: #7fab64; --ru-a2: #5f8f4f; --ru-tc: #6e5236; --ru-so: #ffe27a; --ru-cr: #ffe27a; --ru-nu: #ffffff; --ru-et: transparent;
  --ru-ca: #fafaf6; --ru-g: #9d9ba8; --ru-fu: #e0ded4; --ru-ha: transparent; --ru-lh: #f3f2ec;
  --ru-ct: #d9e8cd; --ru-cr2: #f3f2ec; --ru-cb: #c9dcb9;
  --ombre: 0 24px 60px rgba(30, 28, 42, .12); --ombre-s: 0 8px 22px rgba(30, 28, 42, .1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --lg-ia: #a9d35c; --lg-e: #ff6fa8; --lg-ombre: #2c2c40;
  --console: #2b2a38; --console-2: #22212d; --console-texte: #c3c2d0; --bord-ecran: #111018;
  --fond: #12121a; --fond-2: #1a1a25; --carte: #222231; --sombre: #262636;
  --texte: #eeedf4; --texte-2: #c3c2d0; --texte-3: #9c9bad;
  --ligne: rgba(238, 237, 244, .12); --ligne-forte: rgba(238, 237, 244, .24);
  --accent-texte: #b5e06b; --rose: #d83a7c;
  --pa-sable: #29261b; --pa-ciel: #1d212d; --pa-sauge: #1d261c; --pa-brique: #2c1a24; --pa-lavande: #23202e;
  --ic-k: #eeedf4; --ic-w: #262636; --ic-g: #8a899c; --ic-v: #6fa85b; --ic-b: #3b4a5f;
  --ru-loin: #1b1b27; --ru-lf: #27273a; --ru-lfn: #ffe27a; --ru-f1: #5e5634; --ru-f2: #3c5a42; --ru-f3: #3a4c6c; --ru-f4: #6b3a52; --ru-f5: #4b4268;
  --ru-om: rgba(0, 0, 0, .3); --ru-kk: #0b0b12; --ru-tx: #ffe27a; --ru-vi: #f2d36a; --ru-re: #fff0b0; --ru-fe: #2c3446; --ru-fn: #ffe27a;
  --ru-bl: #cfcedc; --ru-po: #15151f; --ru-tr: #25253a; --ru-bd: #1e1e2e; --ru-rt: #0a0a10; --ru-li: #4e4d66;
  --ru-ar: #2e4a33; --ru-a2: #233b28; --ru-tc: #3a2c20; --ru-so: #eeedf4; --ru-cr: #12121a; --ru-nu: #20202e; --ru-et: #ffe27a;
  --ru-ca: #c9c8d6; --ru-g: #66657a; --ru-fu: #33334a; --ru-ha: rgba(255, 226, 122, .2); --ru-lh: #ffe27a;
  --ru-ct: #213020; --ru-cr2: #2e2e42; --ru-cb: #2f4230;
  --ombre: 0 24px 70px rgba(0, 0, 0, .5); --ombre-s: 0 10px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 17px/1.6 var(--f); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; transition: background-color .3s var(--franche), color .3s var(--franche); }
@media (pointer: fine) {
  html { cursor: url(/img/curseur.svg) 1 1, auto; }
  a, button, summary, label, [role="button"], .besoins span, input[type="radio"], input[type="checkbox"] { cursor: url(/img/main.svg) 9 1, pointer; }
  input:not([type="radio"]):not([type="checkbox"]), textarea { cursor: text; }
}
::selection { background: var(--p1); color: #1e1c2a; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
h1, h2, h3, h4 { font-weight: 460; margin: 0; letter-spacing: -.035em; text-wrap: balance; line-height: 1.04; }
p, dl, dd, figure { margin: 0; }
.rail { width: min(var(--rail), calc(100% - 32px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--carte); padding: 10px 16px; }
.saut:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--p4); outline-offset: 3px; }

/* Coins en escalier : deux marches d'une cellule, comme les pixels de la rue */
.cran { --c: 8px; clip-path: polygon(0 calc(var(--c) * 2), var(--c) calc(var(--c) * 2), var(--c) var(--c), calc(var(--c) * 2) var(--c), calc(var(--c) * 2) 0,
  calc(100% - var(--c) * 2) 0, calc(100% - var(--c) * 2) var(--c), calc(100% - var(--c)) var(--c), calc(100% - var(--c)) calc(var(--c) * 2), 100% calc(var(--c) * 2),
  100% calc(100% - var(--c) * 2), calc(100% - var(--c)) calc(100% - var(--c) * 2), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c) * 2) calc(100% - var(--c)), calc(100% - var(--c) * 2) 100%,
  calc(var(--c) * 2) 100%, calc(var(--c) * 2) calc(100% - var(--c)), var(--c) calc(100% - var(--c)), var(--c) calc(100% - var(--c) * 2), 0 calc(100% - var(--c) * 2)); }

/* Icônes pixel : une cellule = --cel ; la taille suit la grille de l'icône */
.pi { display: block; flex: none; width: calc(var(--w) * var(--cel)); height: calc(var(--h) * var(--cel)); overflow: visible; }
.pi.fl, .pi.so, .btn .pi, .barre-appel .pi, .note-offres .pi { --cel: 2px; }
.pi-fleche, .pi-sortie { color: currentColor; }

/* Lettres pixel (bande défilante) */
.px { display: block; height: 18px; width: calc(var(--l) * 1.8px); fill: currentColor; flex: none; }

.titre { font-size: var(--t2); }
.intro { color: var(--texte-2); font-size: var(--t4); max-width: 54ch; }
.section { padding: 128px 0; position: relative; }
.tete { display: grid; gap: 20px; margin-bottom: 72px; justify-items: center; text-align: center; }
.tete .intro { margin: 0 auto; }

/* Boutons : texte BLANC sur dégradé brique, coins en escalier */
.btn { --c: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 22px; border: 0; font: 560 var(--t5)/1.2 var(--f); letter-spacing: -.01em; text-decoration: none; color: var(--texte); background: var(--carte); box-shadow: inset 0 0 0 1.5px var(--ligne-forte); cursor: pointer; transition: transform .2s var(--franche), background .2s var(--franche), box-shadow .2s; }
.btn, .menu a.btn { clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.btn .pi { transition: transform .25s steps(3); }
.btn:hover { box-shadow: inset 0 0 0 1.5px var(--texte); }
.btn:hover .pi { transform: translateX(4px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--p2); }
/* le bouton plein a du relief, comme une touche : un liseré clair en haut, une marche sombre en bas ; il s'enfonce au clic */
.btn-plein, .menu a.btn-plein { color: #fff; box-shadow: none; padding-bottom: 17px;
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--btn-marche), var(--btn-marche)) 0 100% / 100% 4px no-repeat, var(--btn); }
.btn-plein:hover { box-shadow: none; transform: translateY(-2px);
  background: linear-gradient(rgba(255, 255, 255, .32), rgba(255, 255, 255, .32)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--btn-marche), var(--btn-marche)) 0 100% / 100% 4px no-repeat, var(--btn-survol); }
.btn-plein:active { transform: translateY(3px); padding-bottom: 14px; padding-top: 16px; background-size: 100% 2px, 100% 1px, auto; }
.btn-plein:focus-visible { box-shadow: inset 0 0 0 3px var(--p1); }
.btn-grand { padding: 18px 28px; font-size: var(--t5); }
.btn-plein.btn-grand { padding-bottom: 22px; }
.btn-plein.btn-grand:active { padding-bottom: 19px; padding-top: 21px; }
.btn .pi-calendrier, .btn .pi-whatsapp, .btn .pi-devis { --cel: 2px; }
.btn:hover .pi-calendrier, .btn:hover .pi-whatsapp, .btn:hover .pi-devis { transform: none; }
.btn-wa { color: var(--texte); }

/* Entête : la marque, trois rubriques et le devis, puis le rendez-vous en bouton plein */
.entete { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, transform .4s var(--courbe); }
.entete.colle { background: color-mix(in srgb, var(--fond) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 2px 0 var(--ligne); }
.entete.cache { transform: translateY(-100%); }
.entete-in { display: flex; align-items: center; gap: 24px; height: 80px; }
.marque { display: block; text-decoration: none; line-height: 1; flex: none; }
.logo { display: block; height: 32px; width: calc(var(--l) * 4px); color: var(--texte); overflow: visible; }
/* au survol, IA s'allume comme un écran qu'on démarre */
.marque:hover .lg-i { animation: ia-allume .9s steps(1) 1; }
@keyframes ia-allume { 0% { fill: var(--gb1); } 30% { fill: var(--gb2); } 60% { fill: var(--lg-e); } }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 24px; text-decoration: none; font-weight: 520; font-size: var(--t5); color: var(--texte-2); }
/* le curseur de menu de jeu : un triangle pixel devant la rubrique visée, et devant celle qu'on lit */
.menu a::before { content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 14px; margin-top: -7px; background: var(--p4); clip-path: var(--tri); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s steps(2); }
.menu a:hover, .menu a[aria-current="true"] { color: var(--texte); }
.menu a:hover::before, .menu a:focus-visible::before, .menu a[aria-current="true"]::before { opacity: 1; transform: none; }
.menu a:hover::before { animation: clignote .5s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.menu-devis { --c: 4px; margin-left: 8px; background: var(--pa-sable); color: var(--texte) !important; clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.menu .menu-devis { padding-left: 28px; padding-right: 16px; }
.menu-devis .pi { --cel: 2px; }
.menu-devis:hover { background: var(--pa-brique); }
.entete-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn-rdv { padding: 12px 18px 16px; }
.btn-rdv .court { display: none; }
.btn-wa { padding: 11px 13px; }
.btn-wa .pi { --cel: 2px; }
.btn-menu { display: none; width: 48px; height: 48px; place-items: center; border: 0; background: var(--carte); color: var(--texte); box-shadow: inset 0 0 0 2px var(--texte); }
.btn-menu .pi { --cel: 2px; }

/* Le menu sur téléphone : un écran de pause */
dialog { padding: 0; border: 0; color: var(--texte); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(18, 15, 12, .6); backdrop-filter: blur(3px); }
.tiroir { inset: 0; width: 100%; height: 100%; margin: 0; background: var(--sombre); color: #eeedf4; }
.tiroir[open] { animation: tiroir .35s var(--courbe); }
@keyframes tiroir { from { transform: translateY(-24px); opacity: 0; } }
.tiroir-in { min-height: 100%; display: grid; align-content: start; gap: 32px; padding: 20px 24px 40px; --ic-k: #eeedf4; --ic-w: #2c2b3c; }
.tiroir-tete { display: flex; justify-content: space-between; align-items: center; color: var(--p1); }
.tiroir-tete .px { height: 24px; width: calc(var(--l) * 2.4px); }
.fermer { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.fermer .pi { --cel: 2px; }
.tiroir-liens { list-style: none; margin: 0; padding: 0; display: grid; }
.tiroir-liens a { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 0 18px 28px; font-size: var(--t3); font-weight: 460; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid rgba(238, 237, 244, .14); }
.tiroir-liens a::before { content: ""; position: absolute; left: 0; width: 10px; height: 18px; background: var(--p3); clip-path: var(--tri); opacity: 0; }
.tiroir-liens a:hover::before, .tiroir-liens a:focus-visible::before { opacity: 1; animation: clignote .5s steps(1) infinite; }
.tiroir-liens .pi { --cel: 3px; }
.tiroir-liens a > .pi { margin: 0 auto; }
.tiroir-liens a > :first-child { flex: none; }
.tiroir-ico { width: 40px; display: grid; place-items: center; flex: none; }
.tiroir-pied { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.tiroir-pied i { width: 6px; height: 6px; background: var(--p1); }
.tiroir-pied .pac { margin-right: 4px; }
.tiroir-actions { display: grid; gap: 12px; }
.tiroir .btn-wa { background: #eeedf4; color: #1e1c2a; }

/* Prendre rendez-vous */
.rdv { width: min(720px, calc(100% - 24px)); background: transparent; margin: auto; }
.rdv[open] { animation: tiroir .35s var(--courbe); }
.rdv-in { --c: 8px; background: var(--carte); padding: 32px; display: grid; gap: 24px; max-height: calc(100svh - 32px); overflow-y: auto; }
.rdv-tete { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.rdv-tete h2 { font-size: var(--t3); }
.rdv-tete p { color: var(--texte-2); margin-top: 10px; max-width: 46ch; }
.rdv .fermer { flex: none; color: var(--texte); }
.rdv-form { display: grid; gap: 20px; }
.choix { border: 0; padding: 0; margin: 0; }
.choix legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.choix-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; }
.choix input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choix span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; box-shadow: inset 0 0 0 1.5px var(--ligne-forte); font-size: var(--t6); font-weight: 520; transition: background .15s, box-shadow .15s; }
.choix span b { display: block; font-size: var(--t5); font-weight: 600; }
.rdv-jours span { display: grid; justify-items: center; gap: 0; min-width: 64px; padding: 8px 10px; text-transform: none; }
.choix .pi { --cel: 2px; }
.choix input:checked + span { background: var(--pa-brique); box-shadow: inset 0 0 0 2px var(--p4); }
.choix input:focus-visible + span { outline: 2px solid var(--p4); outline-offset: 2px; }
.rdv-agenda { width: 100%; height: min(640px, 70svh); border: 0; background: #fff; }
.rdv-note { font-size: var(--t6); color: var(--texte-2); }
.rdv .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rdv label:not(.accord):not(.choix label) { display: grid; gap: 6px; font-size: var(--t6); font-weight: 520; }
.rdv small { color: var(--texte-3); font-weight: 400; font-size: var(--t6); }
.rdv input:not([type=radio]):not([type=checkbox]) { width: 100%; font: 400 var(--t5)/1.4 var(--f); color: var(--texte); background: var(--fond); border: 1.5px solid var(--ligne-forte); border-radius: 0; padding: 11px 13px; }
.rdv input:focus { outline: none; border-color: var(--p4); box-shadow: 0 0 0 3px var(--pa-brique); }
.rdv .btn { justify-self: start; }

/* 1. Accueil : le titre centré, puis la rue */
.heros { position: relative; }
.heros-texte { display: grid; justify-items: center; text-align: center; padding: 72px 0 24px; position: relative; z-index: 2; }
.heros h1 { font-size: var(--t1); line-height: 1.02; letter-spacing: -.045em; font-weight: 430; }
.heros h1 .l { display: block; }
.chapo { margin-top: 28px; font-size: var(--t4); color: var(--texte-2); max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.puces { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; color: var(--texte-2); font-size: var(--t6); }
.puces li, .garanties li { display: inline-flex; align-items: center; gap: 10px; }
.puces .pi { --cel: 2px; }

.rue { position: relative; margin-top: -2vw; }
.rue-cadre { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.rue-cadre::-webkit-scrollbar { display: none; }
.rue-piste { position: relative; width: 100%; }
.rue-svg { display: block; width: 100%; height: auto; }
.r-etoiles path { transition: opacity .6s; }
.epingle { position: absolute; left: var(--x); top: var(--y); z-index: 2; pointer-events: none; }
.repere { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: var(--p4); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p4) 25%, transparent); }
.epingle-bulle { --c: 4px; position: absolute; bottom: 14px; left: 0; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 9px 14px 9px 10px; background: var(--carte); color: var(--texte); font-size: var(--t6); font-weight: 520; letter-spacing: -.01em; box-shadow: var(--ombre-s);
  clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.epingle.g .epingle-bulle { transform: translateX(-24px); }
.epingle.d .epingle-bulle { left: auto; right: 0; transform: translateX(24px); }
.epingle-bulle .pi { --cel: 2px; }
/* avec la photo de Rémi : elle prend tout l'écran, le texte se pose sur un panneau crème à bord en escalier */
.avec-photo { min-height: calc(100svh - 76px); display: grid; align-items: end; }
.avec-photo .heros-photo { position: absolute; inset: 0; overflow: hidden; background: var(--fond-2); }
.avec-photo .heros-photo img { width: 100%; height: 100%; object-fit: cover; }
.avec-photo .heros-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.avec-photo .heros-in { position: relative; display: grid; grid-template-columns: minmax(0, 640px) 1fr; }
.avec-photo .heros-texte { justify-items: start; text-align: left; padding: 48px 48px 48px 0; }
.avec-photo .actions, .avec-photo .puces { justify-content: flex-start; }
.panneau { position: relative; background: var(--fond); }
.panneau::before { content: ""; position: absolute; inset: 0 100% 0 -100vw; background: var(--fond); }
.marches { position: absolute; left: 100%; top: 0; height: 100%; width: 72px; fill: var(--fond); }

/* Passage d'une section à l'autre : une trame de pixels */
.fondu { display: grid; grid-template-columns: repeat(var(--col), 1fr); grid-auto-rows: calc(100vw / var(--col)); margin-top: -1px; position: relative; z-index: 1; }
.fondu i { display: block; }
.fondu i.on { background: var(--vers); }

/* 2. Bande défilante : la route continue en ruban de mots */
.defilant { background: var(--ru-rt); color: var(--p1); overflow: hidden; padding: 28px 0 32px; margin-top: -1px; position: relative; }
.defilant-piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.defilant-lot { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.defilant .px { height: 20px; width: calc(var(--l) * 2px); }
.defilant .carre { width: 6px; height: 6px; background: var(--p1); flex: none; margin-right: -16px; }
.defilant .carre:last-of-type { margin-right: 0; }
/* Pac-Man, à gauche, mange les mots qui arrivent */
.defilant-pac { position: absolute; left: 0; top: 0; bottom: 0; width: calc(32px + 4vw); background: var(--ru-rt); display: grid; justify-items: end; align-items: center; z-index: 1; }
.pac { position: relative; display: block; width: 39px; height: 39px; }
.pac .pi { position: absolute; inset: 0; --cel: 3px; }
.pac .f2 { animation: croque .3s steps(1) infinite; }
@keyframes croque { 50% { opacity: 0; } }
.defilant-pac .pac { margin-right: -14px; }
.defilant-lot .px:nth-of-type(3n+2) { color: var(--p2); }
.defilant-lot .px:nth-of-type(3n) { color: #eeedf4; }
@keyframes defile { to { transform: translateX(-50%); } }

/* 3. Qui je suis : une phrase, puis le chemin parcouru */
.apropos { padding: 128px 0; }
.apropos-in { display: grid; gap: 72px; }
.manifeste { font-size: var(--t2); line-height: 1.12; font-weight: 420; max-width: 24ch; }
.parcours { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; position: relative; }
.parcours::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--ligne-forte) 0 6px, transparent 6px 12px); }
/* Pac-Man parcourt le chemin et mange les pastilles ; le fantôme suit */
.parcours.pac-pret::before { display: none; }
.pac-piste { position: absolute; left: 28px; right: 0; top: 24px; height: 8px; pointer-events: none; }
.pac-points { position: absolute; inset: 0; background: linear-gradient(90deg, var(--p3) 0 6px, transparent 6px 20px) 0 1px / 20px 6px repeat-x; }
.pac-mange { position: absolute; inset: -2px 0; background: var(--fond); transform-origin: left; transform: scaleX(0); }
.pac-piste .pac { position: absolute; left: -20px; top: -16px; }
.pac-piste .fantome { position: absolute; left: -20px; top: -16px; opacity: 0; }
.fantome .pi { --cel: 3px; }
.parcours-ico.croque .pi { animation: saute .4s steps(3); }
@keyframes saute { 50% { transform: translateY(-8px) scale(1.15); } }
.parcours li { position: relative; display: grid; gap: 14px; justify-items: start; }
.parcours-ico { --c: 4px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--fond); box-shadow: inset 0 0 0 2px var(--texte); position: relative; z-index: 1; }
.parcours-ico .pi { --cel: 3px; }
.parcours-date { font-weight: 600; font-size: var(--t6); color: var(--accent-texte); letter-spacing: .02em; margin-top: 6px; }
.parcours p { color: var(--texte-2); max-width: 26ch; }

/* 4. Réalisations : des cartes qui s'empilent au défilement */
.projets { background: var(--fond-2); }
.pile { display: grid; gap: 40px; }
.projet { position: sticky; top: calc(96px + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px; background: var(--pa); transform-origin: 50% 0; min-height: 560px; }
.projet.inverse .projet-visuel { order: 2; }
.pa-sable { --pa: var(--pa-sable); } .pa-ciel { --pa: var(--pa-ciel); } .pa-sauge { --pa: var(--pa-sauge); } .pa-brique { --pa: var(--pa-brique); }
.projet-visuel { position: relative; padding-bottom: 32px; }
.navigateur { position: relative; overflow: hidden; background: var(--carte); box-shadow: var(--ombre); }
.navigateur-barre { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--carte); border-bottom: 1px solid var(--ligne); font-size: var(--t6); color: var(--texte-3); }
.statut { margin-left: auto !important; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--texte-2); }
.statut b { width: 8px; height: 8px; background: #3f9b4a; box-shadow: 0 0 0 3px rgba(63, 155, 74, .2); animation: clignote 1.6s steps(1) infinite; }
.curseur-site { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; opacity: 0; }
.curseur-site .pi { --cel: 3px; position: relative; z-index: 1; }
.curseur-site i { position: absolute; left: -12px; top: -12px; width: 26px; height: 26px; box-shadow: inset 0 0 0 3px var(--p4); opacity: 0; }
.navigateur-barre i { width: 8px; height: 8px; background: var(--ligne-forte); }
.navigateur-barre i:nth-child(1) { background: var(--p4); } .navigateur-barre i:nth-child(2) { background: var(--p2); } .navigateur-barre i:nth-child(3) { background: var(--p1); }
.navigateur-barre span { margin-left: 10px; }
.telephone { position: absolute; right: -14px; bottom: 0; width: 26%; border-radius: 16px; overflow: hidden; border: 4px solid var(--encre); box-shadow: var(--ombre); background: var(--encre); }
.projet.inverse .telephone { right: auto; left: -14px; }
.ecran { position: relative; }
.mosaique-voile { position: absolute; inset: 0; z-index: 3; display: grid; pointer-events: none; }
.mosaique-voile i { background: var(--pa); }
.projet-texte { display: grid; gap: 18px; align-content: center; justify-items: start; }
.projet h3 { font-size: var(--t3); }
.projet-accroche { font-size: var(--t4); line-height: 1.4; font-weight: 520; letter-spacing: -.01em; }
.projet-clair { color: var(--texte-2); }
.etiquettes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: color-mix(in srgb, var(--carte) 70%, transparent); font-size: var(--t6); font-weight: 500; }
.etiquettes .pi { --cel: 2px; }
.projet-preuve { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t6); color: var(--texte-2); }
.projet-preuve .pi { --cel: 2px; margin-top: 6px; }
.projet-preuve b { color: var(--texte); font-weight: 600; }
.lien-projet { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 2px solid currentColor; }
.lien-projet:hover .pi { transform: translate(2px, -2px); }
.lien-projet .pi { transition: transform .2s steps(2); }
.liens-projet { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.lien-projet.second { color: var(--accent-texte); }
.relance { margin-top: 96px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 56px; background: var(--encre); color: #eeedf4; }
.relance h2 { font-size: var(--t3); max-width: 20ch; }
.relance p { color: #c3c2d0; margin-top: 14px; max-width: 52ch; }

/* 5. Les problèmes du client : des cartes de tailles différentes, la douleur en gros, puis le remède et le prix */
.douleurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.douleur { --c: 8px; display: grid; gap: 32px; padding: 40px; background: var(--pa); }
.douleur.large, .dl-generateur { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.z-g { --pa: var(--pa-sauge); } .z-s { --pa: var(--pa-sable); } .z-i { --pa: var(--pa-lavande); }
.z-a { --pa: var(--pa-ciel); } .z-p { --pa: var(--pa-brique); } .z-m { --pa: var(--pa-sable); }
.dl-corps { display: grid; gap: 16px; align-content: start; justify-items: start; }
.dl-ico { --c: 4px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--carte); }
.dl-ico .pi { --cel: 3px; }
.dl-douleur { font-size: var(--t3); font-weight: 480; line-height: 1.1; max-width: 22ch; }
.dl-remede { color: var(--texte-2); max-width: 48ch; }
.dl-prix { display: grid; gap: 2px; padding: 12px 16px; background: var(--carte); box-shadow: inset 0 0 0 2px var(--texte); }
.dl-prix b { font-size: var(--t3); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--accent-texte); }
.dl-prix span { font-size: var(--t6); color: var(--texte-2); font-weight: 520; }
.dl-portes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.dl-detail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding: 4px 0; }
.dl-detail .pi { --cel: 2px; transition: transform .2s steps(2); }
.dl-detail:hover .pi { transform: translate(2px, -2px); }
.dl-illus { align-self: stretch; display: grid; }
.dl-illus .vignette-carte { background: var(--carte); }
.dl-illus .discussion { background: var(--carte); }
.dl-generateur { background: var(--encre); color: #eeedf4; --ic-k: #eeedf4; --ic-w: #2c2b3c; }
.dl-generateur .dl-remede, .dl-generateur .dl-prix span { color: #c3c2d0; }
.dl-generateur .dl-ico { background: #2c2b3c; }
.dl-generateur .dl-prix { background: #2c2b3c; box-shadow: inset 0 0 0 2px var(--p2); }
.dl-generateur .dl-prix b { color: var(--p1); }
.dl-generateur .btn { background: #eeedf4; color: #1e1c2a; }
.dl-generateur .dl-corps { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; }
.dl-generateur .dl-ico { grid-row: span 2; }
.dl-generateur .dl-douleur { max-width: 30ch; }
.dl-generateur .dl-prix { grid-row: span 2; grid-column: 3; }
.dl-generateur .dl-portes { grid-column: 2 / -1; }
.vignette-carte { --c: 8px; padding: 32px 0; display: grid; place-items: center; position: relative; overflow: hidden; }
.vignette-carte::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 90deg at 2px 2px, transparent 25%, color-mix(in srgb, var(--texte) 7%, transparent) 0) 0 0 / 24px 24px; }
.tel-carte { width: min(200px, 60%); height: auto; position: relative; }
.ligne-preuve { justify-self: start; font-size: var(--t6); font-weight: 600; padding: 4px 10px; background: var(--carte); }
.discussion { --c: 8px; padding: 28px 24px; }
.discussion-tete { font-size: var(--t6); color: var(--texte-2); margin-bottom: 18px; }
.discussion-tete b { color: var(--accent-texte); }
.bulles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bulle { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: var(--t6); line-height: 1.5; }
.bulle small { display: block; font-size: var(--t6); font-weight: 600; margin-bottom: 4px; opacity: .8; }
.bulle.systeme { justify-self: center; padding: 0; font-size: var(--t6); color: var(--texte-2); }
.bulle.systeme span { display: inline-flex; align-items: center; gap: 8px; }
.bulle.systeme span::before { content: ""; width: 8px; height: 8px; background: var(--p4); }
.bulle.auto { justify-self: end; background: var(--p4); color: #fff; border-bottom-right-radius: 4px; }
.bulle.client { justify-self: start; background: var(--fond-2); border-bottom-left-radius: 4px; }
.bulle.fiche { justify-self: end; background: var(--encre); color: #eeedf4; border-bottom-right-radius: 4px; }
.bulle.fiche b { color: var(--p1); }

/* 5 bis. Les tarifs : trois colonnes, une par famille, le prix en grand */
.tarifs-grille { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
/* une carte = un besoin : le prix en très grand, une phrase, ce qui est compris, une seule autre option */
.tf-carte { --c: 8px; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; background: var(--carte); box-shadow: inset 0 0 0 2px var(--ligne-forte); }
.tf-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tf-badge { padding: 5px 10px; background: var(--p1); color: #1e1c2a; font-size: var(--t6); font-weight: 640; white-space: nowrap; }
.tf-carte h3 { font-size: var(--t4); font-weight: 620; letter-spacing: -.02em; }
.tf-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.tf-prix b { font-size: var(--t2); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--texte); }
.tf-prix span { font-size: var(--t5); color: var(--texte-2); }
.tf-ia .tf-prix b { font-size: var(--t3); }
.tf-pour { font-size: var(--t5); color: var(--texte-2); }
.tf-inclus { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tf-inclus li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--t6); line-height: 1.45; --p4: var(--vert); }
.tf-inclus .pi { --cel: 2px; margin-top: 4px; }
.tf-autre { margin-top: auto; padding-top: 16px; border-top: 1.5px dashed var(--ligne-forte); font-size: var(--t6); color: var(--texte-2); }
.tf-autre b { color: var(--texte); font-weight: 640; }
.tf-portes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* la carte de l'automatisation, en vert d'écran ; son bouton passe en framboise pour ne pas s'y fondre */
.tf-auto { background: #1f3d1c; color: #eef3e6; box-shadow: none; --ic-k: #eef3e6; --ic-w: #2c4a28; --texte: #eef3e6; --texte-2: #c9d8bf; --ligne-forte: rgba(238, 243, 230, .28);
  --btn: linear-gradient(135deg, #c42a6c 0%, #8a1546 100%); --btn-survol: linear-gradient(135deg, #d0347a 0%, #96194d 100%); --btn-marche: #5c0d2f; }
.tf-auto .tf-prix b { color: var(--p2); }
.tf-auto .tf-inclus li { --p4: var(--p2); }
.tf-auto .dl-ico { background: #2c4a28; }
.tf-auto .dl-detail { color: #eef3e6; }
.tarifs-note { margin-top: 32px; text-align: center; font-size: var(--t6); color: var(--texte-2); }
.tarifs-note a { color: var(--accent-texte); font-weight: 600; }
.tarifs-bas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }

/* 6. Méthode : la bande sombre, une jauge pixel qui se remplit */
.sombre { background: var(--sombre); color: #eeedf4; --ic-k: #eeedf4; --ic-w: #2c2b3c; }
.sombre .intro, .sombre p { color: #c3c2d0; }
.methode { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.methode .tete { position: sticky; top: 120px; margin-bottom: 0; justify-items: start; text-align: left; }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; }
.etape { padding: 32px 0; border-top: 1px solid rgba(238, 237, 244, .16); display: grid; grid-template-columns: 72px 1fr; gap: 6px 24px; align-items: start; }
.etape-ico { grid-row: span 3; --c: 4px; width: 56px; height: 56px; display: grid; place-items: center; background: rgba(238, 237, 244, .08); }
.etape-ico .pi { --cel: 3px; }
.etape-num { font-size: var(--t6); font-weight: 600; color: var(--p2); letter-spacing: .02em; }
.etape h3 { font-size: var(--t4); font-weight: 540; letter-spacing: -.02em; }
.jauge { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(32, 1fr); gap: 4px; margin-top: 16px; }
.jauge i { height: 12px; background: var(--p3); }
.jauge i:nth-child(4n+2) { background: var(--p2); } .jauge i:nth-child(4n+3) { background: var(--p1); } .jauge i:nth-child(4n) { background: var(--p4); }

/* 7. Questions */
.questions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.questions .tete { position: sticky; top: 120px; margin-bottom: 0; justify-items: start; text-align: left; }
.questions .tete .intro { margin: 0; }
.faq { border-top: 2px solid var(--texte); }
.faq details { border-bottom: 1px solid var(--ligne-forte); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: var(--t4); font-weight: 520; letter-spacing: -.015em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--p4), var(--p4)) center/14px 4px no-repeat, linear-gradient(var(--p4), var(--p4)) center/4px 14px no-repeat; transition: transform .3s steps(3); }
.faq details[open] summary::after { transform: rotate(180deg); background: linear-gradient(var(--p4), var(--p4)) center/14px 4px no-repeat; }
.faq details p { padding: 0 0 24px; color: var(--texte-2); max-width: 62ch; }
.faq details[open] p { animation: ouvre .35s var(--courbe) both; }
@keyframes ouvre { from { opacity: 0; transform: translateY(-6px); } }

/* 8. Contact : le texte au-dessus, puis la console Devis Boy, en grand, la seule rupture de grille de la page */
.contact { background: var(--fond-2); }
.contact-tete { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: end; margin-bottom: 56px; }
.contact-texte { display: grid; gap: 24px; justify-items: start; }
.contact-cote { display: grid; gap: 24px; justify-items: start; }
.contact-autres { display: flex; flex-wrap: wrap; gap: 10px; }
.portrait-pixel { display: flex; align-items: center; gap: 16px; }
.portrait-pixel img { width: 96px; height: 96px; image-rendering: pixelated; }
.portrait-pixel figcaption { font-weight: 600; }
.garanties { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: var(--texte-2); }
.garanties .pi { --cel: 2px; }
.malt { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.pot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.accord { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t6); color: var(--texte-2); }
.accord input { margin-top: 3px; accent-color: var(--p4); width: 17px; height: 17px; flex: none; }
.retour { min-height: 1.5em; font-size: var(--t6); color: var(--texte-2); }

.mode-emploi { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mode-emploi li { display: flex; align-items: center; gap: 12px; font-size: var(--t6); color: var(--texte-2); }
.mode-emploi b { color: var(--texte); }
.me-num { --c: 3px; flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: var(--gb0); color: var(--gb3); font-weight: 700;
  clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.me-num .pi { --cel: 2px; }
.croix { position: relative; }
.croix-aide { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: var(--t6); font-weight: 700; color: var(--console-texte); }
/* quand tout est rempli, la touche A et le bouton Envoyer clignotent : c'est le moment */
.console.pret .ab-a button { animation: appuie 1s steps(2) infinite; }
.console.pret .lcd-envoi { animation: clignote-fond 1s steps(1) infinite; }
@keyframes appuie { 50% { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); } }
@keyframes clignote-fond { 50% { background: var(--gb1); } }
.console { --c: 12px; display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; grid-template-areas: "croix ecran ab" "croix nom ab" ". ss hp"; gap: 20px 32px;
  padding: 40px 36px 28px; background: var(--console); color: var(--console-texte);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, .35), inset 0 -10px 0 rgba(0, 0, 0, .08), inset 6px 0 0 rgba(255, 255, 255, .15), inset -6px 0 0 rgba(0, 0, 0, .05); }
.console-ecran { grid-area: ecran; --c: 8px; background: var(--bord-ecran); padding: 14px 32px 32px; clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - 48px), calc(100% - 8px) calc(100% - 48px), calc(100% - 8px) calc(100% - 40px), calc(100% - 16px) calc(100% - 40px), calc(100% - 16px) calc(100% - 32px), calc(100% - 24px) calc(100% - 32px), calc(100% - 24px) calc(100% - 24px), calc(100% - 32px) calc(100% - 24px), calc(100% - 32px) calc(100% - 16px), calc(100% - 40px) calc(100% - 16px), calc(100% - 40px) calc(100% - 8px), calc(100% - 48px) calc(100% - 8px), calc(100% - 48px) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.console-bandeau { display: flex; align-items: center; gap: 10px; color: #a7a3b8; margin-bottom: 12px; }
.console-bandeau .px { height: 11px; width: calc(var(--l) * 1.1px); }
.console-bandeau i { flex: 1; height: 2px; background: linear-gradient(#a33a5a, #a33a5a) 0 0 / 100% 2px no-repeat; }
.console-bandeau i + .px + i { background: #3a3f8a; }
.voyant { width: 10px; height: 10px; background: var(--p4); box-shadow: 0 0 10px var(--p4); animation: clignote 2.4s steps(1) infinite; }
.lcd { position: relative; background: var(--gb3); color: var(--gb0); padding: 24px 28px 28px; box-shadow: inset 0 0 0 3px rgba(15, 56, 15, .25), inset 0 6px 18px rgba(15, 56, 15, .25);
  --p1: var(--gb2); --p2: var(--gb2); --p3: var(--gb1); --p4: var(--gb0); --ic-k: var(--gb0); --ic-w: var(--gb3); --ic-g: var(--gb1); --ic-v: var(--gb1); --ic-b: var(--gb2); --ic-wa: var(--gb1); }
.lcd::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(15, 56, 15, .07) 1px, transparent 1px) 0 0 / 3px 3px, linear-gradient(90deg, rgba(15, 56, 15, .07) 1px, transparent 1px) 0 0 / 3px 3px; }
.lcd-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--gb0); }
.lcd-tete .px { height: 14px; width: calc(var(--l) * 1.4px); }
.lcd-pile { display: flex; gap: 3px; padding: 3px; box-shadow: inset 0 0 0 2px var(--gb0); }
.lcd-pile i { width: 6px; height: 10px; background: var(--gb0); }
.lcd-pile i:last-child { animation: clignote 1.2s steps(1) infinite; }
.formulaire { display: grid; gap: 18px; }
.besoins { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; }
.besoins legend { font-weight: 700; font-size: var(--t5); margin-bottom: 10px; padding: 0; }
.besoins label { position: relative; }
.besoins input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.besoins span { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 26px; font-size: var(--t6); font-weight: 600; }
.besoins span::before { content: ""; position: absolute; left: 8px; top: 50%; width: 8px; height: 14px; margin-top: -7px; background: currentColor; clip-path: var(--tri); opacity: 0; }
.besoins .pi { --cel: 2px; }
.besoins label:hover span::before { opacity: .45; }
.besoins input:checked + span { background: var(--gb0); color: var(--gb3); --ic-k: var(--gb3); --ic-w: var(--gb0); --p1: var(--gb1); --p2: var(--gb1); --p3: var(--gb2); --p4: var(--gb3); --ic-g: var(--gb2); }
.besoins input:checked + span::before { opacity: 1; animation: clignote .8s steps(1) infinite; }
.besoins input:focus-visible + span { outline: 2px dashed var(--gb0); outline-offset: 2px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.formulaire label:not(.accord):not(.besoins label) { display: grid; gap: 6px; font-size: var(--t6); font-weight: 700; }
.lib { position: relative; }
.formulaire label:focus-within > .lib::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 10px; margin-top: -5px; background: var(--gb0); clip-path: var(--tri); animation: clignote .8s steps(1) infinite; }
.formulaire small { color: var(--gb1); font-weight: 600; font-size: var(--t6); }
.formulaire input:not([type=radio]):not([type=checkbox]), .formulaire textarea { width: 100%; font: 500 var(--t5)/1.4 var(--f); color: var(--gb0); background: var(--gb2); border: 0; border-radius: 0; padding: 11px 13px; box-shadow: inset 0 0 0 2px var(--gb0), inset 3px 3px 0 rgba(15, 56, 15, .2); caret-color: var(--gb0); }
.formulaire ::placeholder { color: var(--gb1); opacity: 1; }
.formulaire textarea { resize: vertical; }
.formulaire input:not([type=radio]):not([type=checkbox]):focus, .formulaire textarea:focus { outline: none; background: var(--gb0); color: var(--gb3); caret-color: var(--gb3); box-shadow: inset 0 0 0 2px var(--gb0); }
.formulaire input:focus::placeholder, .formulaire textarea:focus::placeholder { color: var(--gb2); }
.formulaire .accord { color: var(--gb0); font-weight: 500; }
.formulaire .accord input { appearance: none; width: 18px; height: 18px; margin: 2px 0 0; background: var(--gb2); box-shadow: inset 0 0 0 2px var(--gb0); display: grid; place-items: center; }
.formulaire .accord input:checked { background: linear-gradient(var(--gb0), var(--gb0)) center / 8px 8px no-repeat, var(--gb2); }
.formulaire .accord input:focus-visible { outline: 2px dashed var(--gb0); outline-offset: 2px; }
.lcd-envoi { --c: 4px; justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 0; background: var(--gb0); color: var(--gb3); font: 700 var(--t5)/1.2 var(--f); clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.lcd-envoi .pi { --cel: 2px; color: var(--gb3); transition: transform .2s steps(2); }
.lcd-envoi:hover .pi { transform: translateX(4px); }
.lcd-envoi:active { transform: translateY(2px); }
.lcd-envoi:focus-visible { outline: 2px dashed var(--gb0); outline-offset: 3px; }
.lcd-envoi:disabled { opacity: .6; }
.formulaire .retour { color: var(--gb0); font-weight: 600; }
.formulaire .retour:not(:empty)::after { content: ""; display: inline-block; width: 9px; height: 15px; margin-left: 6px; vertical-align: -2px; background: var(--gb0); animation: clignote .9s steps(1) infinite; }
/* Snake */
.jeu { display: grid; gap: 12px; }
.jeu[hidden] { display: none; }
.jeu-toile { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--gb3); image-rendering: pixelated; box-shadow: inset 0 0 0 2px var(--gb0); }
.jeu-toile:focus-visible { outline: 2px dashed var(--gb0); outline-offset: 3px; }
.jeu-score { font-weight: 700; }
.jeu-aide { font-size: var(--t6); color: var(--gb1); font-weight: 600; }
.console.joue .formulaire { display: none; }
/* la façade : nom, croix, A et B, select et start, haut-parleur */
.console-nom { grid-area: nom; display: flex; align-items: baseline; gap: 12px; color: var(--console-texte); }
.console-nom .px { height: 20px; width: calc(var(--l) * 2px); }
:root[data-theme="dark"] .croix button, :root[data-theme="dark"] .croix .milieu { background-color: #121116; }
.console-nom em { font-style: italic; font-weight: 700; font-size: var(--t4); letter-spacing: -.02em; color: #3a3f8a; }
:root[data-theme="dark"] .console-nom em { color: #a7a3e0; }
.croix { grid-area: croix; align-self: center; justify-self: center; display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); }
.croix > button, .croix > .milieu { filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .25)); }
.croix button, .croix .milieu { border: 0; background: #2b2a33; color: #6d6b7a; display: grid; place-items: center; padding: 0; }
.croix button:active { background: #18171d; transform: translateY(2px); }
.croix button:focus-visible { outline: 2px solid var(--p2); outline-offset: -4px; }
.croix .pi { --cel: 2px; }
.croix .haut { grid-area: 1 / 2; } .croix .haut .pi { transform: rotate(-90deg); }
.croix .gauche { grid-area: 2 / 1; } .croix .gauche .pi { transform: rotate(180deg); }
.croix .milieu { grid-area: 2 / 2; background: radial-gradient(circle, #1f1e26 0 9px, #2b2a33 10px); }
.croix .droite { grid-area: 2 / 3; }
.croix .bas { grid-area: 3 / 2; } .croix .bas .pi { transform: rotate(90deg); }
.ab { grid-area: ab; align-self: center; justify-self: center; display: flex; gap: 22px; transform: rotate(-24deg); }
.ab > span { display: grid; justify-items: center; gap: 8px; }
.ab-b { margin-top: 36px; }
.ab button { --c: 6px; width: 64px; height: 64px; border: 0; background: #b0306a; color: #fff; font: 800 var(--t4) var(--f); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25), inset 0 4px 0 rgba(255, 255, 255, .25);
  clip-path: polygon(30% 0, 70% 0, 70% 6%, 85% 6%, 85% 15%, 94% 15%, 94% 30%, 100% 30%, 100% 70%, 94% 70%, 94% 85%, 85% 85%, 85% 94%, 70% 94%, 70% 100%, 30% 100%, 30% 94%, 15% 94%, 15% 85%, 6% 85%, 6% 70%, 0 70%, 0 30%, 6% 30%, 6% 15%, 15% 15%, 15% 6%, 30% 6%); }
.ab button:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.ab button:focus-visible { outline: none; background: #d0337a; }
.ab small, .ss small { font-size: var(--t6); font-weight: 700; color: var(--console-texte); }
.ss { grid-area: ss; justify-self: center; display: flex; gap: 32px; }
.ss > span { display: grid; justify-items: center; gap: 8px; }
.ss button { width: 64px; height: 18px; border: 0; background: #8c889a; transform: rotate(-24deg); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); clip-path: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% 10px, calc(100% - 4px) 10px, calc(100% - 4px) 14px, calc(100% - 8px) 14px, calc(100% - 8px) 100%, 8px 100%, 8px 14px, 4px 14px, 4px 10px, 0 10px, 0 8px, 4px 8px, 4px 4px, 8px 4px); }
.ss button:active { background: #6e6a7c; }
.ss button:focus-visible { outline: 2px solid var(--p4); outline-offset: 4px; }
.hp { grid-area: hp; justify-self: end; align-self: end; display: flex; gap: 10px; transform: rotate(-24deg); margin: 0 8px 8px 0; }
.hp i { width: 8px; height: 56px; background: rgba(0, 0, 0, .14); box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .12); }
.console.envoye .lcd-tete .px { animation: clignote .6s steps(1) 4; }

/* Pied : la console s'allume. Le logo descend sur l'écran vert comme au démarrage d'une Game Boy, puis le message clignote */
.pied { background: var(--sombre); color: #c3c2d0; padding: 96px 0 0; overflow: hidden; }
.pied-in { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 72px; align-items: center; }
.pied-console { --c: 12px; padding: 28px 28px 22px; background: #d9d6cf; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12); }
.pied-cadre { --c: 6px; position: relative; padding: 22px 40px; background: #4c4a5c; clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.pied-voyant { position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #e8365f; box-shadow: 0 0 8px #e8365f; }
.pied-lcd { display: grid; justify-items: center; gap: 22px; padding: 44px 24px 34px; overflow: hidden; background: var(--gb3); box-shadow: inset 0 0 0 4px var(--gb2); }
.pied-logo .logo { width: min(100%, 300px); height: auto; color: var(--gb0); --lg-e: var(--gb1); --lg-ia: var(--gb1); --lg-ombre: var(--gb2); }
.pied-msg .px { height: 14px; width: calc(var(--l) * 2px); color: var(--gb0); }
.pied-modele { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; color: #3b3550; }
.pied-modele .px { height: 12px; width: calc(var(--l) * 1.7px); }
.pied-modele em { font: italic 760 var(--t5) var(--f); color: #3a3f8a; letter-spacing: -.02em; }
.pied-titre { font-size: var(--t3); line-height: 1.12; letter-spacing: -.03em; font-weight: 460; color: #eeedf4; max-width: 18ch; }
.pied-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pied .pied-rdv { background: transparent; color: #eeedf4; box-shadow: inset 0 0 0 1.5px rgba(238, 237, 244, .4); }
.pied .pied-rdv:hover { box-shadow: inset 0 0 0 1.5px #eeedf4; }
.pied .btn-plein { color: #fff; }
.pied-bas { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid rgba(238, 237, 244, .16); font-size: var(--t6); }
.pied-bas a { color: #eeedf4; }
@media (prefers-reduced-motion: no-preference) {
  .js .pied-lcd.revele:not(.vu) .pied-logo { transform: translateY(-260%); }
  .js .pied-lcd.revele:not(.vu) .pied-msg { opacity: 0; }
  .pied-logo { transition: transform 1.8s steps(18); }
  .pied-lcd.vu .pied-msg { animation: clignote 1.1s steps(1) 2s infinite; }
}

/* Barre d'appel (téléphone) et bascule de thème */
.barre-appel { display: none; }
.bascule { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; padding: 4px; background: var(--carte); box-shadow: var(--ombre-s), inset 0 0 0 1px var(--ligne-forte); }
.bascule button { border: 0; background: transparent; color: var(--texte-2); font: 560 var(--t6) var(--f); padding: 8px 14px; cursor: pointer; }
.bascule button[aria-pressed="true"] { background: var(--texte); color: var(--fond); }

/* L'avatar IA : un bouton qui flotte au-dessus de la bascule, et la fenêtre de discussion */
.av-lanceur { position: fixed; right: 20px; bottom: 50px; z-index: 59; display: flex; align-items: flex-end; gap: 10px; padding: 0; border: 0; background: none; color: var(--texte); font: inherit; cursor: pointer; }
/* le personnage est un autocollant : un liseré de la couleur du fond tout autour, puis une ombre douce */
.av-perso { position: relative; display: block; width: 112px; transition: transform .25s var(--courbe);
  filter: drop-shadow(2px 0 0 var(--carte)) drop-shadow(-2px 0 0 var(--carte)) drop-shadow(0 -2px 0 var(--carte)) drop-shadow(0 6px 10px rgba(0, 0, 0, .22)); }
.av-perso img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; animation: av-coucou 3.2s steps(2) infinite; }
.av-lanceur:hover .av-perso, .av-lanceur:focus-visible .av-perso { transform: translateY(-8px); }
.av-lanceur:focus-visible { outline: none; }
.av-lanceur:focus-visible .av-appel { opacity: 1; transform: none; box-shadow: inset 0 0 0 3px var(--accent-texte); }
/* trois points dans une bulle, au-dessus de la tête : on comprend qu'il parle */
.av-points { --c: 3px; position: absolute; left: -6px; top: 4px; z-index: 1; display: flex; gap: 3px; padding: 7px 8px; background: var(--rose); animation: av-coucou 2.4s steps(2) infinite reverse; }
.av-points i { width: 5px; height: 5px; background: #fff; }
.av-appel { --c: 4px; margin-bottom: 52px; padding: 10px 14px; background: var(--carte); font-size: var(--t6); font-weight: 520; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--ligne-forte), var(--ombre-s); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .3s var(--courbe), transform .3s var(--courbe); }
.av-appel b { display: block; font-weight: 640; color: var(--accent-texte); }
.av-lanceur.appel .av-appel, .av-lanceur:hover .av-appel { opacity: 1; transform: none; }
.av-ouvert .av-lanceur { visibility: hidden; }
@keyframes av-coucou { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* le contour suit les marches des coins : quatre ombres pleines de 2 px, puis l'ombre portée */
.av { position: fixed; right: 18px; bottom: 76px; z-index: 62; width: min(410px, calc(100vw - 36px)); --bord: var(--texte-3);
  filter: drop-shadow(2px 0 0 var(--bord)) drop-shadow(-2px 0 0 var(--bord)) drop-shadow(0 2px 0 var(--bord)) drop-shadow(0 -2px 0 var(--bord)) drop-shadow(0 18px 40px rgba(0, 0, 0, .3)); }
.av[hidden] { display: none; }
.av-in { --c: 8px; display: grid; grid-template-rows: auto 1fr auto auto auto; height: min(640px, calc(100svh - 100px)); background: var(--fond-2); animation: av-monte .35s var(--courbe); }
@keyframes av-monte { from { transform: translateY(24px); opacity: 0; } }
.av-tete { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; min-height: 76px; padding: 12px 12px 12px 104px; color: #fff; background: var(--btn); }
/* le portrait sort du cadre par le haut : il est posé sur la fenêtre, pas enfermé dedans */
.av-portrait { position: absolute; z-index: 1; left: 16px; top: -30px; width: 78px; height: auto; pointer-events: none; }
.av-nom h2 { font-size: var(--t4); font-weight: 640; letter-spacing: -.02em; line-height: 1.1; }
.av-nom h2 span { color: var(--p1); }
.av-nom p { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: var(--t6); color: rgba(255, 255, 255, .88); }
.av-nom p i { width: 8px; height: 8px; background: #8fe39a; animation: clignote 2s steps(1) infinite; }
.av-tete .fermer, .av-son { width: 40px; height: 40px; color: #fff; }
.av-son { display: grid; place-items: center; border: 0; background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); cursor: pointer; }
.av-son .pi, .av-micro .pi, .av-envoyer .pi { --cel: 2px; }
.av-son[aria-pressed="true"] { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 2px #fff; }
.av-son[hidden], .av-micro[hidden], .av-suggestions[hidden] { display: none; }

.av-fil { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.av-msg { --c: 4px; max-width: 88%; padding: 10px 14px; font-size: var(--t5); line-height: 1.45; overflow-wrap: anywhere; }
.av-msg, .av-appel, .av-points, .av-suggestions button, .av-envoyer, .av-micro { clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c))); }
.av-ia { align-self: flex-start; background: var(--carte); box-shadow: inset 0 0 0 1.5px var(--ligne-forte); }
.av-ia a { color: var(--accent-texte); font-weight: 560; }
.av-moi { align-self: flex-end; color: #fff; background: var(--btn); }
.av-tape { display: flex; gap: 6px; padding: 16px 14px; }
.av-tape i { width: 7px; height: 7px; background: var(--texte-3); animation: av-point 1.2s steps(1) infinite; }
.av-tape i:nth-child(2) { animation-delay: .2s; } .av-tape i:nth-child(3) { animation-delay: .4s; }
@keyframes av-point { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.av-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.av-suggestions button { --c: 3px; padding: 7px 11px; border: 0; background: var(--carte); color: var(--texte); font: 520 var(--t6)/1.3 var(--f); text-align: left; box-shadow: inset 0 0 0 1.5px var(--ligne-forte); cursor: pointer; transition: box-shadow .15s, background .15s; }
.av-suggestions button:hover, .av-suggestions button:focus-visible { outline: none; background: var(--pa-brique); box-shadow: inset 0 0 0 2px var(--p4); }

.av-saisie { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: end; padding: 12px 16px 8px; border-top: 1px solid var(--ligne); background: var(--carte); }
.av-saisie textarea { width: 100%; min-height: 48px; max-height: 140px; resize: none; padding: 12px 13px; border: 1.5px solid var(--ligne-forte); border-radius: 0; background: var(--fond); color: var(--texte); font: 400 var(--t5)/1.4 var(--f); }
.av-saisie textarea:focus { outline: none; border-color: var(--p4); box-shadow: 0 0 0 3px var(--pa-brique); }
.av-saisie textarea::placeholder { color: var(--texte-3); }
.av-envoyer, .av-micro { --c: 4px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; cursor: pointer; }
.av-envoyer { color: #fff; background: var(--btn); }
.av-envoyer:hover { background: var(--btn-survol); }
.av-envoyer:focus-visible, .av-micro:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--p1); }
.av-occupe .av-envoyer { opacity: .5; cursor: wait; }
.av-micro { color: var(--texte); background: var(--fond); box-shadow: inset 0 0 0 1.5px var(--ligne-forte); }
.av-micro.ecoute { color: #fff; background: var(--p4); box-shadow: none; animation: clignote 1s steps(1) infinite; }
.av-note { padding: 0 16px 12px; background: var(--carte); font-size: var(--t6); color: var(--texte-3); }
.av-note a { color: inherit; }

/* l'autre porte vers l'avatar, dans les questions */
.lien-avatar { padding: 0; border: 0; background: none; color: var(--accent-texte); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Mentions légales */
.legal { padding: 64px 0 120px; max-width: 760px; }
.legal h1 { font-size: 44px; margin: 24px 0 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p { color: var(--texte-2); margin-bottom: 10px; }

@media (max-width: 1020px) {
  .avec-photo { min-height: 0; display: block; }
  .avec-photo .heros-photo { position: relative; height: 62svh; }
  .avec-photo .heros-in { grid-template-columns: 1fr; }
  .avec-photo .heros-texte { padding: 40px 0 0; margin-top: -56px; }
  .panneau::before { inset: 0 -100vw; }
  .marches { left: auto; right: 0; top: auto; bottom: 100%; width: 100%; height: 56px; }
  .projet { grid-template-columns: 1fr; padding: 32px; min-height: 0; position: relative; top: auto; }
  .projet.inverse .projet-visuel { order: 0; }
  .methode, .questions, .contact-tete { grid-template-columns: 1fr; gap: 48px; }
  .tarifs-grille { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .pied-in { grid-template-columns: 1fr; gap: 48px; }
  .pied-console { max-width: 520px; }
  .menu { display: none; }
  .entete-actions { margin-left: auto; }
  .btn-menu { display: grid; }
  .console { grid-template-columns: 1fr 1fr; grid-template-areas: "ecran ecran" "nom nom" "croix ab" "ss ss" "hp hp"; padding: 28px 22px 24px; gap: 24px 16px; }
  .hp { justify-self: end; }
  .pac-piste { display: none; }
  .methode .tete, .questions .tete { position: static; }
  .parcours { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .parcours::before { display: none; }
  /* la rue garde des commerces lisibles : plus large que l'écran, elle se promène */
  .rue-piste { width: 980px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section, .apropos { padding: 88px 0; }
  .tete { margin-bottom: 48px; }
  :root { --t1: 33px; --t4: 18px; }
  .entete-in { height: 64px; gap: 12px; }
  .logo { height: 24px; width: calc(var(--l) * 3px); }
  .btn-rdv { padding: 10px 12px 14px; font-size: var(--t6); gap: 8px; }
  .btn-rdv .long { display: none; } .btn-rdv .court { display: inline; }
  .btn-menu { width: 44px; height: 44px; }
  .heros-texte { padding: 20px 0 8px; }
  .heros h1 { letter-spacing: -.04em; }
  .chapo { font-size: 16px; margin-top: 16px; }
  .actions { margin-top: 20px; gap: 8px; }
  .actions .btn { flex: 1 1 100%; padding-top: 14px; padding-bottom: 18px; }
  .heros .puces { display: none; }
  .rue { margin-top: 4px; }
  .rue-piste { width: 680px; }
  .epingle-bulle { padding: 6px 10px 6px 8px; gap: 8px; }
  .rdv-in { padding: 22px 18px; }
  .rdv .champs { grid-template-columns: 1fr; }
  .console-ecran { padding: 10px 12px 28px; }
  .lcd { padding: 18px 16px 20px; }
  .besoins { grid-template-columns: 1fr; }
  .mode-emploi { grid-template-columns: 1fr; }
  .console-nom .px { height: 16px; width: calc(var(--l) * 1.6px); }
  .ab { gap: 14px; }
  .ab button { width: 56px; height: 56px; }
  .croix { grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(3, 40px); }
  .epingle.cache-tel { display: none; }
  .parcours { grid-template-columns: 1fr; gap: 28px; }
  .parcours li { grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; }
  .parcours-ico { grid-row: span 2; }
  .parcours-date { margin-top: 4px; }
  .pac-piste { display: block; left: 24px; right: auto; top: 28px; bottom: 28px; width: 8px; height: auto; }
  .pac-points { background: linear-gradient(var(--p3) 0 6px, transparent 6px 20px) 1px 0 / 6px 20px repeat-y; }
  .pac-mange { inset: 0 -2px; transform-origin: top; transform: scaleY(0); }
  .pac-piste .pac, .pac-piste .fantome { left: -16px; top: -20px; }
  .pac-piste .pac .pi { transform: rotate(90deg); }
  .projet { padding: 22px; gap: 28px; }
  .telephone { width: 30%; right: -6px; }
  .projet.inverse .telephone { left: -6px; }
  .relance { padding: 32px 22px; }
  .douleurs { grid-template-columns: 1fr; }
  .douleur { padding: 26px 20px; gap: 24px; }
  .douleur.large, .dl-generateur { grid-template-columns: 1fr; }
  .dl-generateur .dl-corps { grid-template-columns: 1fr; }
  .dl-generateur .dl-ico, .dl-generateur .dl-prix, .dl-generateur .dl-portes { grid-row: auto; grid-column: auto; }
  .tf-carte { padding: 26px 20px; }
  .discussion { padding: 22px 16px; }
  .bulle { max-width: 94%; }
  .etape { grid-template-columns: 56px 1fr; gap: 6px 16px; }
  .etape-ico { width: 48px; height: 48px; }
  .jauge { grid-template-columns: repeat(16, 1fr); }
  .jauge i:nth-child(n+17) { display: none; }
  .champs { grid-template-columns: 1fr; }
  .defilant { padding: 18px 0 22px; }
  .defilant .px { height: 16px; width: calc(var(--l) * 1.6px); }
  .barre-appel { position: fixed; left: 12px; right: 124px; bottom: 14px; z-index: 59; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: var(--ombre-s); transform: translateY(140%); transition: transform .35s var(--courbe); }
  .barre-appel a { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 14px 4px; white-space: nowrap; background: var(--btn); color: #fff; font-weight: 600; font-size: var(--t6); text-decoration: none; }
  .barre-appel a + a { background: var(--encre); }
  .barre-appel .pi { --cel: 2px; --ic-k: #1e1c2a; }
  .barre-appel.visible { transform: none; }
  .bascule { bottom: 14px; right: 12px; }
  .bascule button { padding: 8px 10px; font-size: 13px; }
  .av-lanceur { right: 14px; bottom: 42px; }
  .av-perso { width: 84px; }
  .av-appel { margin-bottom: 40px; }
  .av-portrait { left: 12px; top: 8px; width: 58px; }
  .av-tete { padding-left: 82px; }
  .av { inset: 0; width: auto; filter: none; }
  .av-in { --c: 0px; height: 100%; }
  .av-ouvert body { overflow: hidden; }
  .av-saisie { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .defilant-piste { animation: none; }
  .faq details[open] p { animation: none; }
  .console.pret .ab-a button, .console.pret .lcd-envoi { animation: none; }
  .av-perso img, .av-points, .av-in, .av-tape i, .av-nom p i, .av-micro.ecoute { animation: none; }
  .av-perso { transition: none; }
  .av-appel { transition: none; }
}

/* 26/10 : page /freelance-wordpress/ : le parcours sans Pac-Man (l'animation de l'accueil cache les icônes hors de l'accueil) */
.parcours-fw { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.parcours-fw li { display: grid; gap: 14px; justify-items: start; align-content: start; }
.parcours-fw .parcours-ico .pi { transform: none; }
.parcours-fw p { color: var(--texte-2); max-width: 26ch; }
@media (max-width: 760px) { .parcours-fw { grid-template-columns: 1fr; } .parcours-fw li { grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; } .parcours-fw .parcours-ico { grid-row: span 2; } }

/* 02/11 : texte de fond de la page freelance WordPress (trois H2 longs, lecture en colonne) */
.seo-fw-in { max-width: 70ch; }
.seo-fw-in h2 { font-size: var(--t3, 1.6rem); line-height: 1.2; margin: 56px 0 16px; text-wrap: balance; }
.seo-fw-in h2:first-child { margin-top: 0; }
.seo-fw-in p { color: var(--texte-2); font-size: var(--t4); line-height: 1.7; margin: 0 0 16px; }
.seo-fw-in strong { color: var(--texte, inherit); }
.seo-fw-in .lien-texte { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
