/* Les trois polices sont rangées sur le site : la sécurité du site refuse toute police venue d'ailleurs. Seuls les caractères latins (le français en entier) sont chargés. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anton-400-normal-latin.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: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/geist-wght-normal-latin.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: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/geist-mono-wght-normal-latin.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; }
/* Les mêmes réglages de départ que la page où Monsieur a validé la maquette */
:root { color-scheme: light; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
/* devdream.fr, direction A « Le grand spectacle » (feuille commune à toutes les pages, tirée de la maquette validée).
   Un seul monde visuel, clair et voulu : brume froide, encre noire, bleu électrique. Pas de thème sombre.
   Mise en page : une toile 3D fixe plein écran, recouverte de vrai texte ; une cale vide donne la longueur du film ;
   le pied de page en verre dépoli vient glisser par-dessus. */
:root {
  --brume-0: #F7F8FD;
  --brume-1: #E4E9FA;
  --brume-2: #C8D3F5;
  --encre: #0B0C10;
  --encre-2: #474C5C;
  --eteint: #6B7288;
  --filet: rgba(11, 12, 16, .14);
  --nuit: #0A0C10;
  --vif: #2B50FF;
  --vif-fonce: #1E3BD6;
  --blanc: #FFFFFF;
  --titre: "Anton", "Arial Narrow", Impact, sans-serif;
  --texte: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --vaetvient: cubic-bezier(.65, 0, .35, 1);
  --g: max(20px, env(safe-area-inset-left, 0px));
  --d: max(20px, env(safe-area-inset-right, 0px));
  --ecran: 100vh;
}
@supports (height: 100svh) { :root { --ecran: 100svh; } }
*, *::before, *::after { box-sizing: border-box; }
html.verrou, html.menu-ouvert { overflow: hidden; }
body { margin: 0; background: var(--brume-0); color: var(--encre); font: 400 16px/1.55 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vif); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.etq { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Barre du haut ---------- */
.barre { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--d) 10px var(--g); transition: opacity .6s, transform .6s var(--sortie), background .3s; }
html[data-phase="porte"] .barre, html[data-phase="entree"] .barre, .barre.fondue { opacity: 0; transform: translateY(-12px); pointer-events: none; }
/* Sur une page de texte, la barre prend un fond dès que le texte passe dessous */
.barre.pleine { background: rgba(247, 248, 253, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--filet); }
.lien[aria-current="page"] { color: var(--vif-fonce); }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 400 22px/1 var(--titre); letter-spacing: .02em; text-transform: uppercase; }
.marque svg { width: 26px; height: 26px; display: block; fill: currentColor; }
.nav { display: flex; align-items: center; gap: 4px; }
.lien { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; background: none; border: 0; cursor: pointer; }
.lien::before, .lien::after { display: inline-block; transition: transform .2s; }
.lien::before { content: "["; margin-right: 6px; }
.lien::after { content: "]"; margin-left: 6px; }
.lien:hover::before, .lien:focus-visible::before { transform: translateX(-4px); }
.lien:hover::after, .lien:focus-visible::after { transform: translateX(4px); }
.nav .ordi { display: none; }
@media (min-width: 860px) { .nav .ordi { display: inline-flex; } }

/* ---------- Écran d'entrée ---------- */
.porte { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--d) calc(20px + env(safe-area-inset-bottom, 0px)) var(--g);
  background: radial-gradient(circle, rgba(11, 12, 16, .16) 1px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(180deg, var(--brume-0) 0%, var(--brume-1) 55%, var(--brume-2) 100%);
  -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r, 0px) - 1px), #000 var(--r, 0px));
  mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent calc(var(--r, 0px) - 1px), #000 var(--r, 0px)); }
.porte-phrase { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .2em; font: 400 min(13.4vw, 36vh)/1 var(--titre); text-transform: uppercase; letter-spacing: .005em; text-align: center; white-space: nowrap; }
@media (max-aspect-ratio: 4/5) { .porte-phrase { flex-direction: column; gap: .14em; font-size: min(27vw, 20vh); } }
.porte-phrase > span { display: block; transition: opacity .3s, transform .5s var(--sortie); animation: leve .9s var(--sortie) both; }
.porte-phrase > span:last-child { animation-delay: .12s; }
@keyframes leve { from { opacity: 0; transform: translateY(.22em); } }
html[data-phase="entree"] .porte-phrase > span:first-child { opacity: 0; transform: translateX(-.25em); }
html[data-phase="entree"] .porte-phrase > span:last-child { opacity: 0; transform: translateX(.25em); }
.porte-bouton { position: relative; flex: none; width: clamp(108px, 11.5vw, 176px); aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--blanc); cursor: pointer; font: 500 clamp(13px, 1.1vw, 16px)/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 22px 50px -20px rgba(43, 80, 255, .55), inset 0 0 0 1px rgba(11, 12, 16, .08); transition: transform .35s var(--sortie), background .3s, color .3s; }
.porte-bouton:hover, .porte-bouton:focus-visible { transform: scale(1.07); background: var(--encre); color: var(--blanc); }
.porte-bouton::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--vif); animation: onde 2.4s var(--sortie) infinite; pointer-events: none; }
@keyframes onde { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
html[data-phase="entree"] .porte-bouton { opacity: 0; transition: opacity .25s; }
.porte-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; width: 100%; color: var(--encre-2); transition: opacity .3s; }
html[data-phase="entree"] .porte-pied { opacity: 0; }
.bulle { position: fixed; left: 50%; top: 50%; z-index: 51; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; pointer-events: none; opacity: var(--o, 0); transform: scale(var(--k, 0));
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, .96) 0 5%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 66% 72%, rgba(255, 255, 255, .92), rgba(226, 233, 252, .78) 38%, rgba(200, 211, 245, .5) 68%, rgba(255, 255, 255, .2) 100%);
  box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .95), inset 0 0 34px rgba(255, 255, 255, .85), inset -10px -14px 30px rgba(106, 118, 220, .25); }

/* ---------- Scène : toile fixe, cale qui donne la longueur du film ---------- */
.scene { position: relative; height: calc(var(--ecran) * 10.7); pointer-events: none; }
.colle { position: fixed; left: 0; top: 0; z-index: 0; width: 100%; height: 100vh; overflow: hidden; background: linear-gradient(180deg, var(--brume-0) 0%, var(--brume-1) 55%, var(--brume-2) 100%); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y pinch-zoom; /* le doigt fait défiler de haut en bas ; de côté, il fait tourner le logo */ }
@supports (height: 100lvh) { .colle { height: 100lvh; } }
html.verrou .colle { touch-action: none; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; }
html.gl-pret #gl { opacity: 1; }
.titre-geant { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-54%); text-align: center; font: 400 min(24vw, 46vh)/.86 var(--titre); letter-spacing: .005em; text-transform: uppercase; pointer-events: none; white-space: nowrap; transition: opacity .4s; }
.titre-geant span { display: inline; }
@media (max-aspect-ratio: 4/5) { .titre-geant { font-size: min(39vw, 27vh); } .titre-geant span { display: block; } }
html.gl-pret .titre-geant { opacity: 0; }
.logo-secours { position: absolute; left: 50%; top: 50%; width: min(34vw, 30vh); transform: translate(-50%, -50%); fill: var(--vif); opacity: .9; }
html.gl-pret .logo-secours, html:not(.sans-gl) .logo-secours { display: none; }

.voile { position: absolute; left: 0; top: 0; width: 100%; height: var(--ecran); pointer-events: none; }
.voile > * { pointer-events: auto; }
.heros { position: absolute; left: var(--g); right: var(--d); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: end; pointer-events: none; transition: opacity .5s; }
.heros > * { pointer-events: auto; }
@media (min-width: 860px) { .heros { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 40px; } }
html[data-phase="porte"] .heros, html[data-phase="entree"] .heros { opacity: 0; }
.accroche { max-width: 40ch; font: 500 clamp(19px, 1.75vw, 27px)/1.25 var(--texte); letter-spacing: -.015em; }
.accroche .chute { display: inline-block; }
.accroche .raye { position: relative; display: inline-block; margin-right: .12em; color: var(--encre-2); white-space: nowrap; }
.accroche .raye::before { content: attr(data-barre); }
.accroche .raye::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: .075em; background: var(--encre); transform: scaleX(0); transform-origin: left; transition: transform .7s .9s var(--sortie); }
html[data-phase="boule"] .accroche .raye::after, html[data-phase="eclat"] .accroche .raye::after, html[data-phase="libre"] .accroche .raye::after { transform: scaleX(1); }
.accroche b { font-weight: 500; color: var(--vif-fonce); }
.vapeur { min-height: 2.5em; font: 300 clamp(20px, 2.1vw, 32px)/1.2 var(--texte); letter-spacing: -.025em; text-wrap: balance; }
@media (min-width: 860px) { .vapeur { text-align: right; justify-self: end; max-width: 20ch; } }
.vapeur .mot { display: inline-block; white-space: nowrap; }
.vapeur .l { display: inline-block; will-change: transform, opacity, filter; }

.rail { position: absolute; top: calc(88px + env(safe-area-inset-top, 0px)); display: none; gap: 10px; color: var(--encre-2); transition: opacity .5s; }
.rail.gauche { left: var(--g); }
.rail.droite { right: var(--d); text-align: right; }
@media (min-width: 860px) and (min-height: 620px) { .rail { display: grid; } }
@media (max-width: 1100px) { .rail.droite .large { display: none; } }
@media (max-width: 859.98px) { .rail.droite { display: flex; flex-wrap: wrap; gap: 4px 14px; left: var(--g); right: var(--d); top: calc(60px + env(safe-area-inset-top, 0px)); text-align: left; } .rail.droite li { justify-content: flex-start; } }
html[data-phase="porte"] .rail, html[data-phase="entree"] .rail { opacity: 0; }
.rail li { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.rail.droite li { justify-content: flex-end; }
/* Le rail de gauche : les chapitres du film, cliquables */
.rail.gauche { left: calc(var(--g) - 10px); gap: 0; justify-items: start; }
.rail.gauche button { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 10px; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; transition: color .3s; }
@media (pointer: coarse) { .rail.gauche button { min-height: 44px; } }
.rail.gauche button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s, transform .3s var(--sortie); }
.rail.gauche button:hover, .rail.gauche button.actif { color: var(--encre); }
.rail.gauche button.actif::before { background: var(--vif); border-color: var(--vif); transform: scale(1.6); }

/* Les trois temps du film, puis les réalisations : vrai texte, un bloc à la fois */
.temps, .projets { position: absolute; left: var(--g); right: var(--d); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.temps li, .projets li { position: absolute; left: 0; bottom: 0; display: grid; gap: 8px; max-width: 34ch; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .6s var(--sortie); }
.temps li.actif, .projets li.actif { opacity: 1; transform: none; pointer-events: auto; }
/* Chaque bloc se déplie ligne après ligne, de haut en bas */
.temps li > *, .projets li > * { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); transition: opacity .4s, transform .7s var(--sortie), clip-path .7s var(--sortie); }
.temps li.actif > *, .projets li.actif > * { opacity: 1; transform: none; clip-path: inset(-20% -24px -20% -24px); }
.temps li > :nth-child(2), .projets li > :nth-child(2) { transition-delay: .06s; } .temps li > :nth-child(3), .projets li > :nth-child(3) { transition-delay: .12s; } .temps li > :nth-child(4), .projets li > :nth-child(4) { transition-delay: .18s; } .projets li > :nth-child(5) { transition-delay: .24s; }
.temps .num, .projets .num { color: var(--vif-fonce); }
.temps h2, .projets h3 { font: 500 clamp(22px, 2.2vw, 32px)/1.12 var(--texte); letter-spacing: -.02em; }
.temps p, .projets p { color: var(--encre-2); font-size: clamp(16px, 1.15vw, 18px); }
.projets .lien, .temps .lien { justify-self: start; margin-left: -12px; color: var(--encre); }
/* L'image du site : dans le film elle flotte dans le ciel (3D) ; ici elle ne sert que sans 3D */
.projets .apercu { display: none; }
html.sans-gl .projets .apercu { display: block; width: min(100%, 440px); height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--filet); }

@media (max-aspect-ratio: 4/5) and (max-height: 660px) { .vapeur { display: none; } .heros { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* Bandeau de l'appui maintenu */
.appui { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 var(--d) calc(14px + env(safe-area-inset-bottom, 0px)) var(--g); transition: opacity .5s, transform .6s var(--sortie); }
html:not([data-phase="boule"]) .appui { opacity: 0; transform: translateY(16px); pointer-events: none; }
.appui-bouton { grid-column: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; white-space: nowrap; border: 1px solid var(--encre); border-radius: 999px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; touch-action: none; }
.appui-passer { grid-column: 3; justify-self: end; white-space: nowrap; }
.jauge { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(11, 12, 16, .1); }
.jauge i { display: block; height: 100%; background: var(--vif); transform: scaleX(0); transform-origin: left; }
@media (max-width: 620px) { .appui { grid-template-columns: auto 1fr; gap: 6px; } .appui-bouton { grid-column: 1; justify-self: start; padding: 0 14px; } .appui-passer { grid-column: 2; padding: 0 4px; } }
@media (max-width: 400px) { .appui { grid-template-columns: 1fr; justify-items: center; gap: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); } .appui-bouton, .appui-passer { grid-column: 1; justify-self: center; } .heros { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); } }

.descendre { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); color: var(--encre-2); opacity: 0; transition: opacity .6s; pointer-events: none; }
html[data-phase="libre"] .descendre.vu { opacity: 1; }
.descendre::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; transform-origin: top; animation: tombe 1.8s var(--vaetvient) infinite; }
@keyframes tombe { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.eclair { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .98) 0, rgba(255, 255, 255, .7) 22%, rgba(210, 222, 255, 0) 62%); }
html[data-phase="eclat"] .eclair { animation: eclair .9s ease-out both; }
@keyframes eclair { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Bouton qui se remplit là où entre la souris ---------- */
.bouton { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--encre); background: var(--encre); color: var(--blanc); font: 500 16px/1 var(--texte); text-decoration: none; cursor: pointer; transition: color .3s; }
.bouton .tache { position: absolute; left: var(--tx, 50%); top: var(--ty, 50%); z-index: -1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--vif); transform: scale(0); transition: transform .55s var(--vaetvient); }
.bouton.plein .tache { transform: scale(var(--tk, 60)); }
.bouton.clair { background: rgba(255, 255, 255, .5); color: var(--encre); }
.bouton.clair.plein { color: var(--blanc); }
.bouton.clair .tache { background: var(--encre); }

/* ---------- Curseur rond ---------- */
.curseur { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: normal; }
.curseur.vu { opacity: 1; }
.curseur i { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 25px; height: 25px; margin: -12.5px 0 0 -12.5px; border-radius: 50%; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(11, 12, 16, .12); transition: width .3s var(--sortie), height .3s var(--sortie), margin .3s var(--sortie), background .3s; font: 500 11px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--encre); font-style: normal; }
.curseur i span { opacity: 0; transition: opacity .2s; max-width: 90px; }
.curseur[data-etat="lien"] { mix-blend-mode: difference; }
.curseur[data-etat="lien"] i { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.curseur[data-etat="mot"] i { width: 114px; height: 114px; margin: -57px 0 0 -57px; background: rgba(255, 255, 255, .86); }
.curseur[data-etat="mot"] i span { opacity: 1; }
html.curseur-actif .colle, html.curseur-actif .colle a, html.curseur-actif .colle button, html.curseur-actif .porte, html.curseur-actif .porte button { cursor: none; }

/* ---------- Menu en cartes noires ---------- */
.menu { position: fixed; inset: 0; z-index: 40; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); padding: calc(64px + env(safe-area-inset-top, 0px)) var(--d) calc(16px + env(safe-area-inset-bottom, 0px)) var(--g); visibility: hidden; pointer-events: none; }
.menu.ouvert { visibility: visible; pointer-events: auto; }
.menu::before { content: ""; position: absolute; inset: 0; background: rgba(228, 233, 250, .95); opacity: 0; transition: opacity .4s; }
.menu.ouvert::before { opacity: 1; }
.carte { position: relative; display: grid; align-content: space-between; gap: 14px; padding: clamp(16px, 2vw, 26px); border-radius: 22px; background: var(--nuit); color: #F4F5FA; text-decoration: none; transform: scale(0); transform-origin: 100% 0; transition: transform .6s var(--vaetvient), background .3s; }
.menu.ouvert .carte { transform: none; }
.menu .carte:nth-child(2) { transition-delay: .04s; } .menu .carte:nth-child(3) { transition-delay: .08s; } .menu .carte:nth-child(4) { transition-delay: .12s; } .menu .carte:nth-child(5) { transition-delay: .16s; }
.carte.liens { grid-row: span 2; }
.carte.liens .pages { display: grid; align-content: start; }
.carte.liens a { -webkit-tap-highlight-color: transparent; display: flex; align-items: center; min-height: 52px; font: 400 clamp(26px, 3.4vw, 46px)/1.05 var(--texte); letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.carte.liens a:hover, .carte.liens a:focus-visible { color: #9FB4FF; }
.carte.liens .coord { display: grid; gap: 2px; color: #A9AEC0; }
.carte.liens .coord a { min-height: 44px; font: 500 16px/1.2 var(--mono); letter-spacing: .02em; color: #F4F5FA; }
.carte h3 { font: 400 clamp(20px, 2.1vw, 30px)/1.1 var(--texte); letter-spacing: -.02em; overflow-wrap: anywhere; }
.carte p { color: #A9AEC0; font-size: 16px; line-height: 1.4; }
a.carte:hover, a.carte:focus-visible { background: #141826; }
.picto { width: clamp(40px, 5vw, 64px); aspect-ratio: 1; fill: #5B7BFF; }
@media (min-width: 860px) { .menu { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; } }
@media (max-width: 400px) { .menu { grid-template-columns: 1fr; grid-auto-rows: auto; overflow-y: auto; } .carte.liens { grid-row: auto; gap: 22px; } .carte.liens a { font-size: 28px; min-height: 48px; } .carte h3 { font-size: 20px; } }

/* ---------- Pied de page en lettres géantes, sur verre dépoli ---------- */
.pied-geant { position: relative; z-index: 2; min-height: var(--ecran); display: grid; align-content: space-between; gap: 36px; padding: calc(92px + env(safe-area-inset-top, 0px)) var(--d) 28px var(--g); background: radial-gradient(circle, rgba(11, 12, 16, .13) 1px, transparent 1.6px) 0 0 / 18px 18px, rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(17px); backdrop-filter: blur(17px); border-top: 1px solid rgba(255, 255, 255, .85); }
.pied-geant .geants { display: grid; gap: .1em; font: 400 clamp(44px, 9vw, 132px)/.98 var(--titre); text-transform: uppercase; letter-spacing: .005em; }
.pied-geant .geants a { position: relative; display: block; width: fit-content; max-width: 100%; padding-block: .04em; text-decoration: none; overflow-wrap: anywhere; }
.pied-geant .geants a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .055em; background: var(--vif); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--sortie); }
.pied-geant .geants a:hover::after, .pied-geant .geants a:focus-visible::after { transform: scaleX(1); }
.pied-geant .geants .mel { font-size: .58em; padding-block: max(.04em, calc((46px - .98em) / 2)); }
/* Les lettres géantes montent l'une après l'autre quand le pied de page arrive */
html.pied-anime .pied-geant .geants a { clip-path: inset(0 0 110% 0); transform: translateY(.42em); transition: clip-path .9s var(--sortie), transform .9s var(--sortie); }
html.pied-anime .pied-geant.vu .geants a { clip-path: inset(-14% -16px -14% -16px); transform: none; }
html.pied-anime .pied-geant .geants a:nth-child(2) { transition-delay: .07s; } html.pied-anime .pied-geant .geants a:nth-child(3) { transition-delay: .14s; } html.pied-anime .pied-geant .geants a:nth-child(4) { transition-delay: .21s; }
@media (max-width: 420px) { .pied-geant .long { display: none; } }
.pied-geant .rang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.pied-geant .bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; color: var(--encre-2); }

/* ---------- Note de maquette ---------- */
.bloc { position: relative; z-index: 2; padding: clamp(64px, 9vw, 128px) var(--d) clamp(64px, 9vw, 128px) var(--g); }
.cadre { max-width: 1180px; margin-inline: auto; }
.note { border-top: 1px solid var(--filet); background: var(--brume-1); }
.note h2 { font: 400 clamp(34px, 5vw, 64px)/.95 var(--titre); text-transform: uppercase; margin: 10px 0 22px; }
.note ol { display: grid; gap: 0; max-width: 760px; counter-reset: n; }
.note li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding-block: 14px; border-top: 1px solid var(--filet); }
.note li::before { content: "0" counter(n); font: 400 26px/1 var(--titre); }
.note li:last-child { border-bottom: 1px solid var(--filet); }
.note b { font-weight: 500; }
.note span { color: var(--encre-2); }
.note .rejouer { margin-top: 26px; }
.pied { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px var(--d) calc(22px + env(safe-area-inset-bottom, 0px)) var(--g); border-top: 1px solid var(--filet); background: var(--brume-1); color: var(--encre-2); }

/* ---------- Trois pages dans cette maquette : l'accueil, À propos et Réalisations. Une seule se montre à la fois, sur la même scène.
   Les classes en « ap- » (autre page) sont communes aux pages intérieures. ---------- */
[hidden] { display: none !important; }
html:not([data-page="accueil"]) .titre-geant { display: none; }
.accroche:focus, .ap-titre:focus { outline: none; }

/* Haut d'une page intérieure : même composition que l'accueil. Le titre géant est dessiné dans la scène, derrière le cristal ;
   ce titre-ci (le vrai, celui que lisent les lecteurs d'écran et Google) ne se montre que sans 3D. */
.voile > .ap-tete, .voile > .ap-titre, .voile > .ap-bas { pointer-events: none; }
.ap-tete { position: absolute; left: var(--g); right: var(--d); top: calc(88px + env(safe-area-inset-top, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--encre-2); }
@media (max-width: 859.98px) { .ap-tete { top: calc(64px + env(safe-area-inset-top, 0px)); } .ap-tete .large { display: none; } }
.ap-titre { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-54%); text-align: center; font: 400 min(17.5vw, 30vh)/.9 var(--titre); letter-spacing: .005em; text-transform: uppercase; transition: opacity .4s; }
.ap-titre span { display: block; }
html.gl-pret .ap-titre { opacity: 0; }
.ap-bas { position: absolute; left: var(--g); right: var(--d); bottom: calc(72px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: end; }
.ap-bas > * { pointer-events: auto; }
.ap-intro { max-width: 46ch; font: 500 clamp(17px, 1.5vw, 23px)/1.32 var(--texte); letter-spacing: -.015em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 860px) { .ap-bas { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 40px; } .ap-bas .actions { justify-content: flex-end; } }
@media (max-aspect-ratio: 4/5) and (max-height: 700px) { .ap-bas { gap: 14px; } .ap-bas .bouton.clair { display: none; } .ap-intro { font-size: 16px; } }

/* La suite de la page : une feuille qui glisse par-dessus la scène, comme le pied de page de l'accueil */
.ap { position: relative; z-index: 2; pointer-events: none; }
.ap-cale { height: calc(var(--ecran) - 44px); }
.ap-corps { position: relative; pointer-events: auto; overflow-x: clip; background: var(--brume-0); border-radius: 22px 22px 0 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .9), 0 -26px 60px -36px rgba(11, 12, 16, .42); }
.ap-poignee { display: grid; place-items: center; height: 44px; color: var(--encre-2); }
.ap-bloc { padding: clamp(56px, 8vw, 120px) var(--d) clamp(56px, 8vw, 120px) var(--g); }
.ap-cadre { max-width: 1240px; margin-inline: auto; }
.ap-cadre > .etq { color: var(--encre-2); }
.ap-h2 { margin-top: 10px; font: 400 clamp(40px, 7vw, 104px)/.94 var(--titre); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.ap-sous { margin-top: 14px; max-width: 44ch; color: var(--encre-2); font-size: clamp(16px, 1.25vw, 19px); }

/* Pourquoi une seule personne : le portrait dans sa bulle, et le texte qui s'allume en descendant */
.ap-pourquoi { padding-top: clamp(24px, 4vw, 64px); }
.ap-pourquoi .ap-cadre { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
.portrait { display: grid; justify-items: center; gap: 16px; padding-top: min(96px, 24vw); }   /* la tête dépasse de la bulle : on lui laisse la place */
@media (min-width: 860px) { .ap-pourquoi .ap-cadre { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } .portrait { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); } }
.bulle-p { position: relative; width: min(78%, 340px); aspect-ratio: 1; }
.bulle-p::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .26) 1px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(160deg, #4D6CFF 0%, var(--vif) 45%, var(--vif-fonce) 100%); box-shadow: 0 34px 60px -30px rgba(43, 80, 255, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.bulle-p .coupe { position: absolute; left: 0; right: 0; bottom: 0; height: 128%; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 39.0625% 39.0625%; }   /* coupé en rond en bas seulement : la tête sort de la bulle */
.bulle-p img { position: absolute; left: 50%; bottom: -3%; height: 97%; width: auto; max-width: none; transform: translate(calc(-50% + var(--px, 0px)), var(--py, 0px)); transition: transform .5s var(--sortie); }   /* --px, --py : le portrait penche un peu vers la souris */
.bulle-p::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), inset 10px -16px 30px -14px rgba(255, 255, 255, .5); clip-path: inset(50% 0 0 0); pointer-events: none; }   /* le bord du verre passe devant le buste, jamais devant la tête */
.portrait figcaption { color: var(--encre-2); text-align: center; }
.pourquoi-texte { display: grid; gap: 18px; }
.pourquoi-texte h2 { color: var(--encre-2); }
.grand { font: 500 clamp(24px, 3.3vw, 50px)/1.14 var(--texte); letter-spacing: -.03em; }
.grand .m { transition: color .35s; }
.grand b, .grand .fort { font-weight: 500; color: var(--vif-fonce); }
html.js .grand .m { color: rgba(11, 12, 16, .2); }
html.js .grand .m.lu { color: var(--encre); }
html.js .grand .m.lu.fort { color: var(--vif-fonce); }

/* Quelques repères : trois cartes noires qui arrivent en volant, puis se rangent */
.ap-reperes, .ap-autres { background: radial-gradient(circle, rgba(11, 12, 16, .13) 1px, transparent 1.6px) 0 0 / 18px 18px, var(--brume-1); }
.cartes { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 860px) { .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chiffre { display: grid; align-content: space-between; gap: 30px; min-height: clamp(210px, 23vw, 330px); padding: clamp(18px, 2vw, 28px); border-radius: 22px; background: var(--nuit); color: #F4F5FA; }
.chiffre .etq { color: #A9AEC0; }
.chiffre b { display: block; font: 400 clamp(72px, 9vw, 136px)/.9 var(--titre); letter-spacing: .005em; font-variant-numeric: tabular-nums; }
.chiffre b small { margin-left: .14em; font-size: .4em; color: #9FB4FF; }
.chiffre div p { margin-top: 10px; max-width: 30ch; color: #C9CDDA; font-size: 16px; line-height: 1.4; }
.avis { display: grid; gap: 14px; max-width: 60ch; margin: clamp(32px, 4.5vw, 64px) 0 0; }
.avis blockquote { margin: 0; font: 500 clamp(20px, 2vw, 28px)/1.3 var(--texte); letter-spacing: -.02em; }
.avis figcaption { color: var(--encre-2); }

/* Comment ça se passe : cinq étapes, dans l'ordre */
.etapes { display: grid; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--filet); }
.etapes li { display: grid; gap: 8px 20px; grid-template-columns: 52px minmax(0, 1fr); padding-block: clamp(18px, 2.4vw, 30px); border-top: 1px solid var(--filet); }
.etapes .n { grid-row: span 2; font: 400 clamp(30px, 3.4vw, 52px)/1 var(--titre); color: var(--vif-fonce); }
.etapes h3 { font: 500 clamp(21px, 2.2vw, 32px)/1.12 var(--texte); letter-spacing: -.02em; }
.etapes .etq { margin-top: 6px; color: var(--encre-2); }
.etapes li > p { max-width: 56ch; color: var(--encre-2); font-size: clamp(16px, 1.15vw, 18px); }
@media (min-width: 860px) { .etapes li { grid-template-columns: 110px minmax(0, 4fr) minmax(0, 6fr); gap: 8px 28px; align-items: start; } .etapes .n { grid-row: auto; } }

/* ---------- Page Réalisations : quatre projets en mosaïque (une grande image, une haute, trois petites), puis six autres en vignettes ---------- */
.projets-avant { padding-top: clamp(24px, 4vw, 64px); }
.projet + .projet { margin-top: clamp(56px, 8vw, 120px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--filet); }
.projet-tete { display: grid; gap: 14px 28px; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: clamp(20px, 2.6vw, 36px); }
.projet-cat { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--encre-2); }
.projet-cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--vif); }
.projet-tete h2 { font: 400 clamp(38px, 5.2vw, 76px)/.95 var(--titre); letter-spacing: .005em; text-transform: uppercase; }
.projet-tete h2 + p { margin-top: 8px; color: var(--encre-2); font-size: clamp(17px, 1.4vw, 21px); }
.projet-fait { max-width: 62ch; color: var(--encre-2); }
.projet-fait a { color: var(--vif-fonce); font-weight: 500; text-underline-offset: 3px; }
@media (min-width: 860px) { .projet-tete { grid-template-columns: 190px minmax(0, 1fr) auto; } .projet-tete .projet-cat { align-self: start; padding-top: 10px; } .projet-fait { grid-column: 2 / -1; } }
.mosaique { position: relative; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); perspective: 1500px; }
.tuile { position: relative; overflow: hidden; margin: 0; border-radius: 14px; background: var(--brume-1); box-shadow: 0 0 0 1px var(--filet); aspect-ratio: 16 / 10; transform-origin: 50% 0; }
.tuile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .7s var(--sortie); }
.mosaique:hover .tuile img { transform: scale(1.025); }
.t-a { grid-column: 1 / -1; }
.t-b { grid-row: span 2; aspect-ratio: auto; }
.t-e { display: none; }
@media (min-width: 860px) { .mosaique { gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); } .t-a { grid-column: 1 / span 2; } .t-b { grid-row: auto; } .t-e { display: block; } }
html.curseur-actif .mosaique, html.curseur-actif .vignette { cursor: none; }
.vignettes { display: grid; gap: 28px 12px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 620px) { .vignettes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vignettes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vignette { display: grid; gap: 4px; text-decoration: none; }
.vignette .tuile { aspect-ratio: 480 / 264; margin-bottom: 10px; }
.vignette:hover .tuile img, .vignette:focus-visible .tuile img { transform: scale(1.04); }
.vignette b { font: 500 clamp(19px, 1.6vw, 23px)/1.15 var(--texte); letter-spacing: -.02em; }
.vignette span { color: var(--encre-2); }
.ap-suite .ap-cadre { display: grid; gap: clamp(20px, 3vw, 36px); justify-items: start; }

/* ---------- Page Création de site : la figure en points et sa liste, trois formules en cartes noires, les questions ---------- */
.ap-compris { padding-top: clamp(24px, 4vw, 64px); }
.garanties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: var(--encre); }
.garanties li { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--encre); border-radius: 999px; }
.rayee { display: grid; gap: clamp(8px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); margin-top: clamp(24px, 4vw, 56px); }
/* La figure reste en vue pendant que la liste défile : en haut de l'écran sur téléphone (la liste passe dessous), à gauche et sur toute la hauteur sur ordinateur */
.rayee-forme { position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 1; height: min(42vh, 340px); background: linear-gradient(180deg, var(--brume-0) 94%, rgba(247, 248, 253, 0)); }
.rayee-forme canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rayee-liste { display: grid; border-bottom: 1px solid var(--filet); }
/* Chaque élément prend de la place (le titre en haut, le texte plus bas) : la figure a le temps de se transformer entre deux */
.rayee-liste li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px 16px; align-items: start; padding-block: clamp(24px, 5vh, 48px); border-top: 1px solid var(--filet); transition: opacity .4s; }
.rayee-liste li > div { display: grid; gap: clamp(36px, 11vh, 110px); }
html.js .rayee-liste li { opacity: .62; }
html.js .rayee-liste li.actif { opacity: 1; }
.coche { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--encre); transition: background .3s, border-color .3s, color .3s, transform .5s var(--sortie); }
.coche svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rayee-liste li.actif .coche { background: var(--vif); border-color: var(--vif); color: #fff; transform: scale(1.12); }
.rayee-liste h3 { font: 500 clamp(21px, 2.2vw, 32px)/1.12 var(--texte); letter-spacing: -.02em; }
.rayee-liste p { max-width: 46ch; font-size: clamp(16px, 1.15vw, 18px); }
.mention { margin-top: 18px; color: var(--encre-2); font-size: 16px; }
@media (min-width: 860px) { .rayee { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .rayee-forme { top: calc(70px + env(safe-area-inset-top, 0px)); height: min(calc(100vh - 96px), 860px); background: none; } }
/* Les trois formules : mêmes cartes noires que les repères de la page À propos, avec un prix et un bouton */
.formule { align-content: stretch; grid-template-rows: auto 1fr auto; gap: 22px; }
.formule h3 { font: 500 clamp(21px, 2vw, 28px)/1.12 var(--texte); letter-spacing: -.02em; }
.formule b { margin-top: 14px; font-size: clamp(50px, 5.4vw, 78px); }
.formule div .etq { color: #9FB4FF; }
.formule div .mention { color: #A9AEC0; }
.formule .bouton { justify-self: start; }
.bouton.blanc { background: #fff; border-color: #fff; color: var(--encre); }
.bouton.blanc.plein { color: #fff; }
/* Les projets de la page Création de site : de grands écrans. Sans animation, une grille de deux colonnes ; sinon (classe « courbe », posée par le script)
   ils sont rangés sur un mur courbe, vu de l'intérieur, qui tourne quand on descend dans la page. */
.galerie { --lg: clamp(270px, 42vw, 620px); display: grid; gap: 28px 14px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 56px); }
@media (min-width: 620px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 859.98px) { .galerie { --lg: min(80vw, 440px); } }   /* sur téléphone, un écran prend presque toute la largeur, le suivant dépasse au bord */
.ecran-g { display: grid; gap: 4px; text-decoration: none; }
.ecran-g figure { overflow: hidden; margin: 0 0 10px; border-radius: 14px; background: #EEF1FA; box-shadow: 0 0 0 1px var(--filet), 0 34px 60px -38px rgba(11, 12, 16, .55); transition: transform .5s var(--sortie); }
.ecran-g:hover figure, .ecran-g:focus-visible figure { transform: translateY(-8px); }
.barre-g { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F8F9FD; color: var(--encre-2); font: 500 11px/1 var(--mono); letter-spacing: .02em; }
.barre-g i { width: 8px; height: 8px; border-radius: 50%; background: #C3CAE0; }
.barre-g b { flex: 1; margin-right: 36px; text-align: center; font-weight: 500; }
.ecran-g img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }
.ecran-g > b { font: 500 clamp(19px, 1.6vw, 23px)/1.15 var(--texte); letter-spacing: -.02em; }
.ecran-g > span { color: var(--encre-2); }
.ap[data-pg="site"] .ap-autres { overflow: hidden; }   /* les écrans dépassent exprès de la page, à gauche et à droite : on les coupe au bord, sans défilement de côté */
.galerie.courbe { position: relative; display: block; height: calc(var(--lg) * .625 + 118px); perspective: 1500px; perspective-origin: 50% 42%; }
.galerie.courbe .ecran-g { position: absolute; left: 50%; top: 0; width: var(--lg); margin-left: calc(var(--lg) / -2); will-change: transform; -webkit-user-drag: none; }
/* Le visiteur peut tirer les écrans de côté : le doigt fait toujours défiler la page de haut en bas ; de côté, il fait glisser les écrans */
.galerie.courbe { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.galerie.courbe img { pointer-events: none; }
.galerie-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: clamp(24px, 3vw, 40px); }
.fleches { display: flex; align-items: center; gap: 10px; color: var(--encre-2); }
.fleche { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--encre); background: rgba(255, 255, 255, .5); color: var(--encre); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--sortie); }
.fleche:hover, .fleche:focus-visible { background: var(--encre); color: #fff; }
.fleche:active { transform: scale(.94); }
.fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.curseur-actif .galerie { cursor: none; }
.ap-conviction .grand { max-width: 22ch; margin-top: 14px; font-size: clamp(30px, 5vw, 76px); line-height: 1.06; }
/* ---------- Page Automatisation IA : la figure en points suit cinq chantiers, « la même semaine, avant et après », trois prix détaillés ---------- */
/* Dans la liste, chaque chantier porte son pictogramme et une petite étiquette sous son titre */
.coche.picto-l svg { width: 17px; height: 17px; stroke-width: 2; }
.rayee-liste .tete { display: grid; gap: 8px; justify-items: start; }
.rayee-liste .tete .etq { color: var(--encre-2); transition: color .3s; }
.rayee-liste li.actif .tete .etq { color: var(--vif-fonce); }
/* Sur ordinateur, un peu de place sous le dernier chantier : son dessin reste entier à l'écran pendant qu'on le lit, au lieu de filer sous la barre du haut */
@media (min-width: 860px) { #chantiers-liste, #modules-liste { padding-bottom: min(22vh, 200px); border-bottom: 0; } #chantiers-liste li:last-child, #modules-liste li:last-child { border-bottom: 1px solid var(--filet); } }
/* Une formule peut détailler ce qu'elle contient, ligne par ligne ; et un petit mot peut précéder son prix (« dès ») */
.formule ul { display: grid; gap: 8px; margin-top: 16px; }
.formule ul li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; color: #C9CDDA; font-size: 16px; line-height: 1.4; }
.formule ul svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: #9FB4FF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.formule b small.devant { margin: 0 .22em 0 0; }
/* La même semaine, avant et après : un bloc sombre. Quand une ligne monte dans l'écran, sa durée d'avant se raye d'un trait bleu (de gauche à droite,
   ligne après ligne si elle tient sur plusieurs) et celle d'après s'allume. Sans script ou sans animation, tout est déjà rayé et allumé (--k vaut 1). */
.ap-semaine { background: var(--nuit); color: #F4F5FA; }
.ap-semaine .ap-cadre > .etq { color: #9FB4FF; }
.ap-semaine .mention { color: #A9AEC0; }
.ap-semaine .ap-h2 { margin-top: 24px; }   /* l'accent du Ê de « même » montait dans l'étiquette */
.semaine { display: grid; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.semaine li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-block: clamp(20px, 2.6vw, 34px); border-top: 1px solid rgba(255, 255, 255, .16); }
.semaine .entete { display: none; }
.semaine h3 { grid-column: 1 / -1; font: 500 clamp(19px, 1.8vw, 26px)/1.15 var(--texte); letter-spacing: -.02em; }
.semaine .val { position: relative; display: grid; gap: 6px; align-content: start; justify-items: start; }
.semaine .val .etq { color: #A9AEC0; }
.semaine .val b { font: 400 clamp(24px, 4.2vw, 60px)/1.02 var(--titre); letter-spacing: .005em; text-transform: uppercase; }
.semaine .avant b { color: #8A90A6; }
.semaine s { text-decoration: none; background: linear-gradient(#5B7BFF, #5B7BFF) no-repeat 0 54% / calc(var(--k, 1) * 100%) max(3px, .09em); }
.semaine .apres b { opacity: calc(.16 + .84 * var(--k, 1)); transform: translateY(calc((1 - var(--k, 1)) * 16px)); }
@media (min-width: 860px) {
  .semaine li { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 8px 28px; align-items: baseline; }
  .semaine .entete { display: grid; padding-block: 12px; color: #A9AEC0; }
  .semaine h3 { grid-column: auto; }
  .semaine .val .etq { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* ---------- Page Formation Claude : six modules le long de la figure en points, l'alerte de sortie (un champ, une case, un bouton), ce qui est prévu, pour qui ---------- */
.ap-voile[data-pg="formation"] .ap-titre { font-size: min(13vw, 26vh); }   /* version de secours, sans 3D : deux lignes plus longues que sur les autres pages */
/* L'alerte de sortie : un bloc sombre. À côté du formulaire, une cloche en points ; quand l'adresse est donnée, ses points se rangent en coche. */
.ap-alerte { background: var(--nuit); color: #F4F5FA; }
.ap-alerte .ap-cadre { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.ap-alerte .ap-cadre .etq { color: #9FB4FF; }
.ap-alerte .ap-h2 { margin-top: 24px; }
.ap-alerte .ap-sous { color: #C9CDDA; }
.ap-alerte :focus-visible { outline-color: #9FB4FF; }
.alerte { display: grid; gap: 14px; max-width: 560px; margin-top: clamp(24px, 3vw, 36px); }
.champ { display: grid; gap: 8px; }
.champ input { width: 100%; min-height: 56px; padding: 0 24px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font: 500 17px/1 var(--texte); transition: border-color .25s, background .25s; }
.champ input::placeholder { color: #8087A0; opacity: 1; }
.champ input:hover, .champ input:focus-visible { border-color: #9FB4FF; background: rgba(255, 255, 255, .1); }
.accord { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px; color: #C9CDDA; line-height: 1.35; cursor: pointer; }
.accord input { -webkit-appearance: none; appearance: none; display: grid; place-items: center; width: 26px; height: 26px; margin: 0; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 8px; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.accord input::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-1.5px) rotate(-45deg) scale(0); transition: transform .3s var(--sortie); }
.accord input:checked { background: var(--vif); border-color: var(--vif); }
.accord input:checked::after { transform: translateY(-1.5px) rotate(-45deg) scale(1); }
.alerte .bouton { justify-self: start; cursor: pointer; }
.alerte-etat { min-height: 3.1em; color: #9FB4FF; }   /* deux lignes gardées : le message n'écarte rien quand il arrive */
.alerte.erreur .alerte-etat { color: #FFB4A8; }
.ap-alerte .faq-suite { margin-top: 6px; color: #A9AEC0; }
.ap-alerte .faq-suite a { color: #9FB4FF; }
.alerte-forme { position: relative; height: min(68vw, 280px); overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.alerte-forme canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (min-width: 860px) { .ap-alerte .ap-cadre { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } .alerte-forme { height: min(60vh, 520px); } }
/* Ce qui est prévu : les mêmes lignes que les étapes, une coche pleine à la place du numéro */
.prevus .coche { grid-row: span 2; width: 34px; height: 34px; margin-top: 0; border-color: var(--vif); background: var(--vif); color: #fff; }
@media (min-width: 860px) { .prevus .coche { grid-row: auto; } }
/* Pour qui : trois cartes noires, un pictogramme en haut, le public et sa phrase en bas */
.public > svg { width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px); fill: none; stroke: #9FB4FF; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.public h3 { font: 500 clamp(21px, 2vw, 28px)/1.12 var(--texte); letter-spacing: -.02em; }
/* ---------- Page Contact : un calendrier dessiné (le vrai sera celui du site), les coordonnées, trois délais en gros chiffres, les prix des trois offres ---------- */
.ap-voile[data-pg="rdv"] .ap-titre { font-size: min(12vw, 26vh); }   /* version de secours, sans 3D : la seconde ligne est longue */
/* Le calendrier : une carte blanche en trois parties (avec qui, quel jour, quelle heure). Les jours sont des ronds, comme des points : pleins quand on les choisit. */
.agenda { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(24px, 4vw, 56px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--filet), 0 34px 60px -38px rgba(11, 12, 16, .55); }
.agenda > div { padding: clamp(18px, 2.2vw, 30px); }
.agenda > div + div { border-top: 1px solid var(--filet); }
.agenda .etq { color: var(--encre-2); }
.agenda-qui h3 { margin-top: 10px; font: 500 clamp(21px, 2vw, 28px)/1.12 var(--texte); letter-spacing: -.02em; }
.agenda-qui ul { display: grid; gap: 10px; margin-top: 18px; color: var(--encre-2); }
.agenda-qui li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; }
.agenda-qui svg { width: 20px; height: 20px; fill: none; stroke: var(--vif-fonce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.agenda-titre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.agenda-titre b { font: 500 clamp(19px, 1.8vw, 24px)/1.2 var(--texte); letter-spacing: -.02em; }
.agenda-titre b::first-letter { text-transform: uppercase; }
.agenda-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px 4px; margin-top: 16px; justify-items: center; }
.agenda-jours > span { padding-bottom: 4px; }
.jour { position: relative; display: grid; place-items: center; width: min(100%, 56px); min-width: 44px; min-height: 44px; aspect-ratio: 1; padding: 0; border: 1.5px solid var(--encre); border-radius: 50%; background: transparent; font: 500 16px/1 var(--texte); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .4s var(--sortie); }
.jour:disabled { border-color: transparent; color: #9AA0B4; cursor: default; }
.jour.auj::after { content: ""; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--vif); }
.jour:not(:disabled):hover { background: var(--brume-1); }
.jour[aria-pressed="true"], .jour[aria-pressed="true"]:hover { border-color: var(--vif); background: var(--vif); color: #fff; transform: scale(1.06); }
.agenda-heures > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.heure { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--encre); border-radius: 999px; background: transparent; font: 500 16px/1 var(--texte); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.heure:hover { background: var(--brume-1); }
.heure[aria-pressed="true"], .heure[aria-pressed="true"]:hover { border-color: var(--vif); background: var(--vif); color: #fff; }
.agenda-etat { grid-column: 1 / -1; min-height: calc(3.1em + 28px); padding: 14px clamp(18px, 2.2vw, 30px); border-top: 1px solid var(--filet); color: var(--vif-fonce); }
@media (max-width: 619.98px) { .agenda-jours { grid-template-columns: repeat(5, minmax(0, 1fr)); } .agenda-jours .we { display: none; } .agenda-heures > div { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* sur téléphone, cinq jours ouvrés par ligne : des ronds assez grands pour le doigt */
@media (min-width: 960px) { .agenda { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); } .agenda > div + div { border-top: 0; border-left: 1px solid var(--filet); } .agenda-heures > div { grid-template-columns: minmax(0, 1fr); } }
/* Les coordonnées, sous le calendrier (le haut laisse de la place à la barre quand on y arrive par le bouton du haut de page) */
.coordonnees { display: grid; gap: 22px 28px; grid-template-columns: minmax(0, 1fr); padding-top: clamp(64px, 8vw, 110px); }
.coordonnees h3 { font: 400 clamp(34px, 4.6vw, 64px)/.95 var(--titre); letter-spacing: .005em; text-transform: uppercase; }
.coordonnees ul { display: grid; gap: 18px 28px; grid-template-columns: minmax(0, 1fr); }
.coordonnees li { display: grid; gap: 4px; align-content: start; justify-items: start; padding-top: 16px; border-top: 1px solid var(--filet); }
.coordonnees .etq { color: var(--encre-2); }
.coordonnees li > a, .coordonnees li > span { font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--texte); letter-spacing: -.02em; overflow-wrap: anywhere; }
.coordonnees li > span { padding-block: 8px; }
.coordonnees a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vif-fonce); text-underline-offset: 4px; }
@media (min-width: 860px) { .coordonnees { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
@media (min-width: 1100px) { .coordonnees ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Les prix des trois offres : une ligne par offre, son petit dessin en points (celui du menu), son prix en grand, un lien vers sa page */
.tarifs { display: grid; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--filet); }
.tarifs li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 18px; align-items: start; padding-block: clamp(20px, 2.6vw, 34px); border-top: 1px solid var(--filet); }
.tarifs .picto { grid-row: span 4; width: 44px; fill: var(--vif); }
.tarifs h3 { font: 500 clamp(21px, 2.2vw, 32px)/1.12 var(--texte); letter-spacing: -.02em; }
.tarifs .etq { margin-top: 6px; color: var(--encre-2); }
.tarifs b { font: 400 clamp(34px, 4.2vw, 60px)/1 var(--titre); letter-spacing: .005em; text-transform: uppercase; }
.tarifs b.long { font-size: clamp(26px, 2.8vw, 40px); }
.tarifs b small { margin-right: .22em; font-size: .46em; color: var(--vif-fonce); }
.tarifs li > p { max-width: 46ch; color: var(--encre-2); font-size: clamp(16px, 1.15vw, 18px); }
.tarifs a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--vif-fonce); font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 960px) { .tarifs li { grid-template-columns: 64px minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr) auto; gap: 8px 28px; align-items: center; } .tarifs .picto { grid-row: auto; width: 52px; } }
/* ---------- Page Blog (« le journal ») : le dernier article en grand, trois à lire ensuite, puis tous les articles, à trier par rubrique ---------- */
.drap { perspective: 1500px; }   /* ses images se rabattent comme un drap que l'on pose, comme les mosaïques de la page Réalisations */
.auteur { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); color: var(--encre-2); }
.auteur figure { flex: none; width: 56px; height: 56px; margin: 0; overflow: hidden; border-radius: 50%; background: linear-gradient(160deg, #4D6CFF 0%, var(--vif) 45%, var(--vif-fonce) 100%); }
.auteur img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; transform: scale(1.7); transform-origin: 50% 10%; }
.auteur b { font-weight: 500; color: var(--encre); }
.une { position: relative; display: grid; gap: clamp(18px, 3vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: center; margin-top: 14px; }
/* Les images du blog sont posées dans un cadre blanc, comme sur le blog en ligne : le cadre, puis l'image aux coins arrondis dedans */
.encadre { padding: 6px; overflow: visible; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--filet), 0 26px 44px -32px rgba(11, 12, 16, .5); aspect-ratio: auto; }
.encadre > span { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 9; }
.encadre img { object-position: 50% 50%; }
.une .encadre { padding: 8px; border-radius: 26px; } .une .encadre > span { border-radius: 18px; }
.une-texte { display: grid; gap: 14px; justify-items: start; }
.une-texte .etq, .ensuite .etq, .articles .etq { color: var(--vif-fonce); }
.une-titre { font: 500 clamp(28px, 3.5vw, 52px)/1.06 var(--texte); letter-spacing: -.03em; text-wrap: balance; }
.une-titre a, .ensuite h3 a, .articles h3 a { text-decoration: none; transition: color .3s; }
.une-titre a::after, .ensuite h3 a::after, .articles h3 a::after { content: ""; position: absolute; inset: 0; }   /* toute la carte se clique, le lien reste le titre */
.une-date, .art-date { color: var(--encre-2); }
.bouton.faux { margin-top: 6px; pointer-events: none; transition: background .3s, border-color .3s; }
.une:hover .bouton.faux, .une:focus-within .bouton.faux { background: var(--vif); border-color: var(--vif); }
.une:hover .tuile img, .ensuite li:hover .tuile img, .articles li:hover .tuile img { transform: scale(1.04); }
.ensuite li:hover h3 a, .articles li:hover h3 a { color: var(--vif-fonce); }
@media (min-width: 860px) { .une { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sous-titre { margin-top: clamp(40px, 6vw, 88px); color: var(--encre-2); }
.ensuite { display: grid; gap: 28px 14px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
.ensuite li { position: relative; display: grid; gap: 10px; align-content: start; }
.ensuite h3 { font: 500 clamp(19px, 1.7vw, 24px)/1.2 var(--texte); letter-spacing: -.02em; }
@media (min-width: 720px) { .ensuite { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Les rubriques : une pastille chacune, avec son nombre d'articles ; celle qui est choisie devient noire */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filtre { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--encre); border-radius: 999px; background: rgba(255, 255, 255, .5); font: 500 16px/1 var(--texte); cursor: pointer; transition: background .25s, color .25s; }
.filtre small { font: 500 12px/1 var(--mono); color: var(--encre-2); transition: color .25s; }
.filtre:hover { background: #fff; }
.filtre[aria-pressed="true"], .filtre[aria-pressed="true"]:hover { background: var(--encre); color: #fff; }
.filtre[aria-pressed="true"] small { color: #A9AEC0; }
/* Tous les articles : une grille de cartes, comme sur le blog en ligne (l'image dans son cadre blanc, la rubrique, le titre, la date).
   La première version les rangeait en lignes de tableau : Monsieur l'a trouvée « très moche » (16.11.2026). */
.articles { display: grid; gap: clamp(28px, 3.2vw, 48px) 16px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(22px, 3vw, 40px); }
.articles li { position: relative; display: grid; gap: 10px; align-content: start; }
.articles .tuile { transition: transform .5s var(--sortie); }
.articles li:hover .tuile, .articles li:focus-within .tuile { transform: translateY(-6px); }
.articles h3 { font: 500 clamp(19px, 1.7vw, 24px)/1.2 var(--texte); letter-spacing: -.02em; text-wrap: balance; }
.articles .art-date { font-variant-numeric: tabular-nums; }
@media (min-width: 620px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .articles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.articles-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
/* ---------- Page Article : faite pour lire. Pas de grand haut de page ni de 3D : le titre, l'image, puis le texte dans une colonne étroite, le sommaire à côté ---------- */
.ap-voile[data-pg="article"] { display: none !important; }   /* cette page n'a pas de haut de page en plein écran */
.ap-lecture .ap-corps { border-radius: 0; box-shadow: none; }
.lecture { padding: calc(104px + env(safe-area-inset-top, 0px)) var(--d) clamp(40px, 6vw, 88px) var(--g); }
.lec-cadre { max-width: 1240px; margin-inline: auto; }
.lec-fil { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: var(--encre-2); }
.lec-fil a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: inherit; text-underline-offset: 3px; }
.lec-infos { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; color: var(--encre-2); }
.lec-infos b { font-weight: 500; color: var(--vif-fonce); }
.lec-titre { margin-top: 14px; font: 400 clamp(40px, 5.6vw, 84px)/.98 var(--titre); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
/* Un grand titre en capitales qui porte un accent reçoit cette classe (posée par le script) : son interligne s'ouvre, sinon l'accent d'un É ou d'un È touche la ligne du dessus */
.accents { line-height: 1.16 !important; }
.lec-titre:focus, .lec-titre:focus-visible { outline: none; }   /* le clavier arrive sur le titre à l'ouverture de la page : pas de cadre autour d'un titre que l'on ne peut pas activer */
.lecture .auteur { margin: clamp(16px, 2vw, 26px) 0 0; line-height: 1.35; }
/* « Résumer cet article avec » : comme sur l'article en ligne, une boîte, la phrase, puis une pastille par assistant avec son logo */
.lec-ia { display: grid; gap: 10px; margin-top: clamp(16px, 2vw, 26px); padding: 14px 16px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--filet); }
.lec-ia > span { font-weight: 500; }
.lec-ia-liens { display: flex; flex-wrap: wrap; gap: 8px; }
.lec-ia a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border: 1px solid rgba(11, 12, 16, .2); border-radius: 999px; background: var(--brume-0); color: var(--encre); font-weight: 500; text-decoration: none; transition: border-color .25s, background .25s; }
.lec-ia a:hover, .lec-ia a:focus-visible { border-color: var(--encre); background: #fff; }
.lec-ia img { width: 22px; height: 22px; border-radius: 50%; }
.lec-image { margin: clamp(22px, 3vw, 40px) 0 0; }
.lec-image .tuile { aspect-ratio: 16 / 9; border-radius: 22px; }
.lec-image .tuile img, .prose figure .tuile img { object-position: 50% 50%; }
.lec-image figcaption, .prose figcaption { margin-top: 10px; color: var(--encre-2); font-size: 16px; line-height: 1.45; }
.lec-grille { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(4px, 1vw, 14px); }
.lec-contenu { min-width: 0; }
.lec-contenu .prose { margin-top: clamp(28px, 4vw, 56px); }
/* La colonne de gauche : trois ronds pour la taille du texte, un trait, cinq ronds pour partager. Les mêmes boutons se retrouvent dans le panneau du bas sur un écran étroit. */
.lec-rail, .lec-cote { display: none; }
.rond { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(11, 12, 16, .28); border-radius: 50%; background: rgba(255, 255, 255, .6); color: var(--encre); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--sortie); }
.rond:hover, .rond:focus-visible { border-color: var(--encre); background: var(--encre); color: #fff; }
.rond:active { transform: scale(.94); }
.rond[aria-pressed="true"] { border-color: var(--encre); background: var(--encre); color: #fff; }
.rond.fait { border-color: var(--vif); background: var(--vif); color: #fff; }
.rond svg { display: block; }
.lec-taille, .lec-partage { position: relative; display: grid; gap: 8px; justify-items: center; }
.lec-taille .rond { font: 500 13px/1 var(--texte); } .lec-taille .rond:nth-child(2) { font-size: 16px; } .lec-taille .rond:nth-child(3) { font-size: 20px; }
.lec-rail hr, .lec-panneau-outils hr { width: 22px; height: 0; margin: 6px 0; border: 0; border-top: 1px dashed rgba(11, 12, 16, .4); }
.lec-copie-dit { position: absolute; left: calc(100% + 10px); bottom: 8px; padding: 7px 10px; border-radius: 8px; background: var(--encre); color: #fff; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.lec-copie-dit:empty { display: none; }
.lec-panneau-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--filet); }
.lec-panneau-outils .lec-taille, .lec-panneau-outils .lec-partage { display: flex; flex-wrap: wrap; align-items: center; }
.lec-panneau-outils hr { width: 0; height: 22px; margin: 0 2px; border-top: 0; border-left: 1px dashed rgba(11, 12, 16, .4); }
.lec-panneau-outils .lec-copie-dit { position: static; flex-basis: 100%; padding: 0; background: none; color: var(--vif-fonce); font-size: 16px; }
@media (min-width: 1100px) { .lec-grille { grid-template-columns: 52px minmax(0, 1fr) 300px; gap: clamp(28px, 3.6vw, 60px); align-items: start; } .lec-rail { display: grid; gap: 8px; justify-items: center; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); padding-top: 4px; } .lec-cote { display: block; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); } }
/* Le texte : une colonne étroite, une taille au choix du lecteur (trois boutons A) */
.prose { --corps: 19px; max-width: 68ch; font-size: var(--corps); line-height: 1.65; }
.prose[data-taille="s"] { --corps: 17px; } .prose[data-taille="l"] { --corps: 22px; }
.prose > * + * { margin-top: 1.05em; }
.prose .chapo { font: 500 clamp(21px, 1.9vw, 27px)/1.38 var(--texte); letter-spacing: -.015em; }
.prose h2 { margin-top: clamp(44px, 5vw, 72px); padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--filet); font: 500 clamp(26px, 2.7vw, 40px)/1.1 var(--texte); letter-spacing: -.03em; text-wrap: balance; }
.prose h3 { margin-top: 1.8em; font: 500 clamp(21px, 1.9vw, 27px)/1.2 var(--texte); letter-spacing: -.02em; }
.prose a { color: var(--vif-fonce); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose b { font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .46em; height: .46em; border-radius: 50%; background: var(--vif); }   /* les puces sont des points bleus */
.prose ol { counter-reset: rang; } .prose ol li { position: relative; padding-left: 2em; counter-increment: rang; } .prose ol li::before { content: counter(rang) "."; position: absolute; left: 0; font-weight: 500; color: var(--vif-fonce); }
.prose figure { margin: 1.6em 0 0; }
.prose figure .tuile { aspect-ratio: 16 / 9; }
.prose .legende { margin-top: 1.9em; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.prose .legende b { font-weight: 500; }
/* Un tableau peut être plus large que l'écran d'un téléphone : il défile alors dans son cadre, sa première colonne reste en place */
.tableau { margin-top: .7em; overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--filet); -webkit-overflow-scrolling: touch; }
.tableau table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tableau th { padding: 12px 16px; background: var(--brume-1); color: var(--encre-2); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.tableau td { padding: 14px 16px; border-top: 1px solid var(--filet); vertical-align: top; }
.tableau td:first-child { font-weight: 500; }
@media (max-width: 859.98px) { .tableau th:first-child, .tableau td:first-child { position: sticky; left: 0; box-shadow: 1px 0 0 var(--filet); } .tableau td:first-child { max-width: 42vw; background: #fff; } }
.savoir { padding: clamp(18px, 2vw, 26px); border-radius: 18px; background: radial-gradient(circle, rgba(11, 12, 16, .13) 1px, transparent 1.6px) 0 0 / 18px 18px, var(--brume-1); }
.citation { margin: 1.9em 0 0; }
.citation .grand { font-size: clamp(24px, 2.9vw, 42px); line-height: 1.14; }
.citation footer { margin-top: 14px; color: var(--encre-2); font-size: 16px; line-height: 1.5; }
.prose .appel { display: grid; gap: 14px; justify-items: start; margin-top: 2em; padding: clamp(22px, 2.6vw, 36px); border-radius: 22px; background: var(--nuit); color: #F4F5FA; }
.prose .appel h3 { margin: 0; font: 400 clamp(28px, 3.2vw, 46px)/.98 var(--titre); letter-spacing: .005em; text-transform: uppercase; }
.prose .appel p { margin: 0; color: #C9CDDA; font-size: 17px; line-height: 1.5; }
.prose .appel .etq { color: #9FB4FF; font-size: 12px; }
.prose .appel .bouton { color: var(--encre); text-decoration: none; }
.prose .appel .bouton.plein { color: #fff; }
.lec-renvoi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; margin-top: 2em; padding-block: 8px; border-block: 1px solid var(--filet); font-weight: 500; }
.lec-renvoi a { display: inline-flex; align-items: center; min-height: 44px; }
.prose .faq { margin-top: 1.2em; }
.lec-signature { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 18px; align-items: start; margin-top: 2.6em; padding: clamp(18px, 2.2vw, 28px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--filet); font-size: 17px; line-height: 1.5; }
.lec-signature figure { grid-row: span 4; width: 64px; height: 64px; margin: 0; overflow: hidden; border-radius: 50%; background: linear-gradient(160deg, #4D6CFF 0%, var(--vif) 45%, var(--vif-fonce) 100%); }
.lec-signature img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; transform: scale(1.7); transform-origin: 50% 10%; }
.lec-signature .etq { color: var(--encre-2); font-size: 12px; }
.lec-signature strong { font: 500 21px/1.2 var(--texte); letter-spacing: -.02em; }
.lec-signature p { margin: 0; color: var(--encre-2); }
.lec-signature a { display: inline-flex; align-items: center; min-height: 44px; }
/* Le sommaire : il suit la lecture (le titre en cours est marqué, une jauge dit où l'on en est) */
.sommaire-tete { display: flex; justify-content: space-between; gap: 12px; color: var(--encre-2); }
.jauge-lecture { height: 3px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: var(--filet); }
.jauge-lecture i, .lec-avance i { display: block; height: 100%; background: var(--vif); transform: scaleX(0); transform-origin: 0 50%; }
.sommaire-liens { display: grid; margin-top: 14px; }
.sommaire-liens a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 14px; border-left: 2px solid var(--filet); color: var(--encre-2); font-size: 16px; line-height: 1.3; text-decoration: none; transition: color .25s, border-color .25s; }
.sommaire-liens a:hover { color: var(--encre); }
.sommaire-liens a.actif { border-left-color: var(--vif); color: var(--encre); font-weight: 500; }
/* En haut de l'écran, un trait bleu avance avec la lecture. Sur téléphone, une pastille en bas ouvre le sommaire dans un panneau. */
.lec-avance { display: none; position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 57; height: 3px; pointer-events: none; }
html[data-page="article"] .lec-avance { display: block; }
.lec-pastille { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--encre); color: #fff; font: 500 16px/1 var(--texte); white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(11, 12, 16, .6); transform: translateX(-50%); cursor: pointer; }
.lec-pastille span { color: #9FB4FF; font-variant-numeric: tabular-nums; }
.lec-panneau { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; max-height: 76vh; overflow-y: auto; padding: 16px var(--d) calc(18px + env(safe-area-inset-bottom, 0px)) var(--g); border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -24px 60px -20px rgba(11, 12, 16, .5); }
.lec-panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--encre-2); }
.lec-panneau-tete button { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--vif-fonce); font: 500 16px/1 var(--texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 1100px) { .lec-pastille, .lec-panneau { display: none !important; } }
/* Les questions : chaque réponse se déplie sous sa question */
.faq { display: grid; max-width: 940px; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--filet); }
.faq details { border-top: 1px solid var(--filet); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-block: 14px; cursor: pointer; list-style: none; font: 500 clamp(19px, 1.9vw, 26px)/1.2 var(--texte); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--encre); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .45s var(--sortie), background-color .3s, color .3s, border-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--vif); border-color: var(--vif); color: #fff; }
.faq details > div { max-width: 62ch; padding: 0 54px 24px 0; color: var(--encre-2); font-size: clamp(16px, 1.15vw, 18px); animation: deplie .5s var(--sortie); }
@keyframes deplie { from { opacity: 0; transform: translateY(-8px); } }
.faq-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; color: var(--encre-2); }
.faq-suite a { display: inline-flex; align-items: center; min-height: 44px; color: var(--vif-fonce); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Le rideau de points, entre deux pages ---------- */
.rideau { position: fixed; inset: 0; z-index: 58; }
.rideau canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rideau-etq { position: absolute; left: 0; right: 0; padding-inline: var(--g) var(--d); text-align: center; color: #fff; opacity: 0; transition: opacity .18s; }
.rideau.tenu .rideau-etq { opacity: 1; }
html.curseur-actif .rideau { cursor: none; }

/* ---------- Sans 3D : la page reste lisible, en sections ordinaires ---------- */
html.sans-gl .scene { display: none; }
html.sans-gl .colle { position: relative; height: auto; overflow: visible; padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
html.sans-gl .titre-geant { position: relative; top: auto; transform: none; padding-block: 14vh 6vh; }
html.sans-gl .logo-secours { top: calc(72px + 6vh); width: min(26vw, 30vh); transform: translateX(-50%); mix-blend-mode: multiply; }
html.sans-gl .voile { position: static; height: auto; }
html.sans-gl .rail, html.sans-gl .appui, html.sans-gl .descendre, html.sans-gl .eclair { display: none; }
html.sans-gl .heros { position: static; padding: 0 var(--d) 0 var(--g); opacity: 1 !important; visibility: visible !important; }
html.sans-gl .temps, html.sans-gl .projets { position: static; display: grid; gap: 32px; padding: 56px var(--d) 24px var(--g); }
html.sans-gl .temps li, html.sans-gl .projets li { position: static; opacity: 1; transform: none; max-width: 46ch; pointer-events: auto; }
html.sans-gl .temps li > *, html.sans-gl .projets li > * { opacity: 1; transform: none; clip-path: none; }
html.sans-gl .pied-geant { background: var(--brume-1); }
html.sans-gl .barre { background: rgba(247, 248, 253, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-aspect-ratio: 4/5) { html.sans-gl .titre-geant { font-size: min(34vw, 27vh); } }
html.sans-gl .ap-cale, html.sans-gl .ap-poignee { display: none; }
html.sans-gl .ap-tete, html.sans-gl .ap-bas { position: static; padding: 0 var(--d) 0 var(--g); }
html.sans-gl .ap-titre { position: relative; top: auto; transform: none; padding-block: 12vh 6vh; }
html.sans-gl .ap-bas { padding-bottom: 48px; }
html.sans-gl .ap-voile { opacity: 1 !important; visibility: visible !important; }
html.sans-gl .ap-corps { border-radius: 0; box-shadow: none; border-top: 1px solid var(--filet); }

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

/* ---------- Le bas du grand pied de page : sous l'adresse, les pages locales, les pages légales et le réglage des cookies.
   Un seul pied de page, sans bandeau à part (demande de Monsieur du 17.11.2026). Sur ordinateur, une ligne de plus sous l'adresse ;
   sur téléphone, une liste : une page locale par ligne, puis les pages légales deux par deux. ---------- */
.pied-geant { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.pied-geant .socle { display: grid; gap: 16px; }
.pied-geant .fin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; color: var(--encre-2); }
.pied-geant .fin .droits { order: -1; }
.pied-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: -12px -10px; }
.pied-liens a, .pied-liens button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; }
.pied-liens a:hover, .pied-liens button:hover, .pied-liens a:focus-visible, .pied-liens button:focus-visible { color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 859.98px) {
  .pied-geant .socle { gap: 6px; }
  .pied-geant .fin { display: grid; gap: 0; }
  .pied-geant .fin .droits { order: 0; margin-top: 8px; }
  .pied-liens { display: grid; margin: 0 -10px; }
  .pied-liens.legales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-liens a, .pied-liens button { justify-content: flex-start; text-align: left; }
}

/* ---------- Page Contact : le vrai calendrier de rendez-vous (Cal.com) prend la place du calendrier dessiné de la maquette, dans le même cadre ---------- */
.agenda.vrai .agenda-cal { padding: clamp(6px, 1vw, 14px); min-height: 480px; }
.agenda.vrai #my-cal-inline-30min { width: 100%; min-height: 440px; }
.agenda.vrai noscript p { padding: 18px; color: var(--encre-2); }
@media (min-width: 960px) { .agenda.vrai { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }

/* ---------- Les guides du blog liés à une offre : une liste de liens, deux colonnes sur grand écran ---------- */
.guides { display: grid; max-width: 1080px; margin-top: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--filet); }
.guides li { border-top: 1px solid var(--filet); }
.guides a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding-block: 12px; text-decoration: none; font: 500 clamp(17px, 1.5vw, 21px)/1.25 var(--texte); letter-spacing: -.015em; transition: color .25s; }
.guides a svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--vif-fonce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--sortie); }
.guides a:hover, .guides a:focus-visible { color: var(--vif-fonce); }
.guides a:hover svg, .guides a:focus-visible svg { transform: translateX(6px); }
@media (min-width: 900px) { .guides { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); } }
@media (prefers-reduced-motion: reduce) { .guides a svg { transition: none; } }
/* Un lien dans une phrase (réponse à une question, texte sous un titre) : bleu, souligné, et 44 px sous le doigt sans écarter les lignes */
.faq details a, .ap-sous a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--vif-fonce); text-underline-offset: 3px; }

/* Une carte ou une ligne visée par une ancre (les liens du menu d'avant y mènent) ne se cache pas sous la barre du haut */
.chiffre[id], .rayee-liste li[id], .projet[id], .vignette[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }

/* ---------- Page Formation : le lien vers la politique de confidentialité, sous le formulaire ---------- */
.alerte-liens { margin-top: 6px; }
.alerte-liens a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 4px; }

/* ---------- Bandeau des cookies : mêmes textes et mêmes règles que sur le site d'avant. Accepter et refuser ont le même poids. ---------- */
.cookies { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: min(390px, calc(100vw - 28px)); padding: 18px; border-radius: 18px; background: var(--nuit); color: #D9DDEC; font: 400 14px/1.5 var(--texte); box-shadow: 0 18px 50px rgba(10, 12, 16, .3); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--sortie); }
.cookies.vu { opacity: 1; transform: none; }
.cookies a { display: inline-block; padding: 13px 0; margin: -13px 0; color: #fff; text-underline-offset: 3px; }   /* 44 px sous le doigt, sans écarter les lignes */
/* Sur l'écran d'entrée de l'accueil, il passe devant, et les petites étiquettes du bas s'effacent pour lui laisser la place */
html[data-phase="porte"] .cookies { z-index: 52; }
html[data-phase="porte"] body:has(.cookies.vu) .porte-pied { opacity: 0; }
/* Sur un écran en hauteur (téléphone, tablette debout), la phrase d'entrée remonte pour lui faire de la place : --bandeau est sa hauteur, donnée par le script */
.porte { transition: padding-bottom .5s var(--sortie); }
@media (max-aspect-ratio: 4/5) { html[data-phase="porte"] body:has(.cookies.vu) .porte { padding-bottom: calc(var(--bandeau, 0px) + 28px); } }
@media (max-width: 480px) { .cookies { padding: 14px; font-size: 13px; line-height: 1.45; } .cookies-choix { margin-top: 12px; } }
.cookies-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookies-choix button { flex: 1 1 calc(50% - 4px); min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; font: 500 14px/1 var(--texte); cursor: pointer; transition: background .2s, color .2s; }
.cookies-choix button:hover, .cookies-choix button:focus-visible { background: #fff; color: var(--encre); }
.cookies-choix button:last-child { flex-basis: 100%; }
/* Petit écran : la phrase qui redit les trois choix s'efface (les boutons les disent). Téléphone couché : une barre basse, sur une ligne. */
@media (max-height: 620px), (max-width: 340px) { .cookies-detail { display: none; } }
@media (max-height: 480px) and (min-aspect-ratio: 4/5) {
  .cookies { left: max(14px, env(safe-area-inset-left, 0px)); width: auto; display: flex; align-items: center; gap: 16px; padding: 10px 14px; font-size: 13px; line-height: 1.45; }
  .cookies p { flex: 1; }
  .cookies-choix { flex: none; flex-wrap: nowrap; margin-top: 0; }
  .cookies-choix button, .cookies-choix button:last-child { flex: 0 0 auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .cookies { transition: none; transform: none; } }

/* ---------- Blog et articles : ce que les pages en ligne portent et que la maquette, faite pour un seul article, n'avait pas ---------- */
.prose strong { font-weight: 600; }
.prose .legende strong { font-weight: 500; }
/* Les phrases clés surlignées de chaque article : le même geste que sur le site d'avant, dans le bleu du nouveau site */
.prose mark { padding: .06em .16em; margin-inline: -.06em; border-radius: .28em; background: rgba(43, 80, 255, .13); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.prose code { padding: .1em .38em; border-radius: 6px; background: var(--brume-1); font: 500 .86em/1.4 var(--mono); overflow-wrap: anywhere; }
.savoir > * + * { margin-top: .6em; }
.savoir .etq { color: var(--vif-fonce); }
/* Un tableau dont la première colonne nomme chaque ligne : cette case garde l'allure d'une case ordinaire, en un peu plus appuyé */
.tableau tbody th { padding: 14px 16px; border-top: 1px solid var(--filet); background: none; color: var(--encre); font: 500 16px/1.45 var(--texte); letter-spacing: normal; text-transform: none; white-space: normal; vertical-align: top; }
@media (max-width: 859.98px) { .tableau tbody th:first-child { max-width: 42vw; background: #fff; } }
/* Le nom de l'auteur, en haut d'article, mène à sa signature : un lien discret */
.auteur a { color: inherit; text-decoration: none; }
.auteur a:hover, .auteur a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* Un titre, une signature ou une rubrique visés par une ancre ne se cachent pas sous la barre du haut */
.prose [id], .lec-signature[id] { scroll-margin-top: calc(92px + env(safe-area-inset-top, 0px)); }
.filtre[id] { scroll-margin-top: calc(120px + env(safe-area-inset-top, 0px)); }

/* ---------- Pages de texte (Référencement local, pages de ville, étude de cas, pages légales, page d'erreur) : le modèle de lecture des articles,
   avec les quelques blocs que ces pages ont en plus (outils/refonte/pages-texte.mjs) ---------- */
.prose .etq { margin-top: 1.9em; color: var(--vif-fonce); }
/* Une étiquette posée au-dessus d'un titre de partie : c'est elle qui porte le filet et l'espace, le titre la suit de près */
.prose .lec-avant-titre { margin-top: clamp(44px, 5vw, 72px); padding-top: clamp(22px, 2.4vw, 32px); border-top: 1px solid var(--filet); }
.prose .lec-avant-titre + h2 { margin-top: 10px; padding-top: 0; border-top: 0; }
.prose .etq + h3, .prose .etq + .lec-point { margin-top: .3em; }
.prose h3 + p, .lec-point + p { margin-top: .45em; }
/* Le titre d'une carte : un texte court, suivi de son explication */
.lec-point { margin-top: 1.7em; font: 500 clamp(20px, 1.7vw, 24px)/1.25 var(--texte); letter-spacing: -.02em; }
/* Une liste numérotée dont chaque ligne a un titre */
.lec-points li strong { display: block; font-weight: 500; }
.lec-points li span { color: var(--encre-2); }
/* Les fiches : de grands chiffres, des libellés suivis de leur valeur, ou des titres suivis d'une phrase */
.prose .lec-fiches { display: grid; gap: 0; margin-top: 1.4em; border-top: 1px solid var(--filet); }
.prose .lec-fiches li { display: grid; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.prose .lec-fiches li::before { content: none; }
.lec-fiches.paires li { grid-template-columns: minmax(0, 12em) minmax(0, 1fr); align-items: baseline; }
.lec-fiches.paires .etq { margin: 0; color: var(--encre-2); }
.lec-fiches.paires strong { font-weight: 500; overflow-wrap: anywhere; }
.lec-fiches.titres strong { font: 500 clamp(19px, 1.6vw, 23px)/1.25 var(--texte); letter-spacing: -.02em; }
.lec-fiches.titres span, .lec-fiches.chiffres span { color: var(--encre-2); }
.prose .lec-fiches.chiffres { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 28px; border-top: 0; }
.prose .lec-fiches.chiffres li { align-content: start; border-top: 1px solid var(--filet); border-bottom: 0; }
.lec-fiches.chiffres b { font: 400 clamp(40px, 4.4vw, 64px)/1 var(--titre); letter-spacing: .005em; }
.lec-fiches.chiffres span { font-size: 16px; line-height: 1.45; }
@media (max-width: 560px) { .lec-fiches.paires li { grid-template-columns: minmax(0, 1fr); } }
/* Un lien seul sur sa ligne, des boutons, une liste de liens : dans le texte courant ils gardent leur allure */
.lec-lien a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.prose p + .lec-lien { margin-top: .15em; }
.prose .actions { margin-top: 1.6em; }
.prose .actions .bouton { color: var(--blanc); text-decoration: none; }
.prose .actions .bouton.clair { color: var(--encre); }
.prose .actions .bouton.clair.plein { color: var(--blanc); }
.prose .guides { max-width: none; margin-top: 1.2em; }
.prose .guides li { padding-left: 0; }
.prose .guides li::before { content: none; }
.prose .guides a { color: var(--encre); }
.guides small { display: block; margin-top: 3px; font: 400 15px/1.35 var(--texte); letter-spacing: 0; color: var(--encre-2); }
/* Le schéma d'une fiche Google (page Référencement local) : un encadré de lignes courtes */
.lec-schema { display: grid; gap: 4px; max-width: 32em; }
.lec-schema > * + * { margin-top: 0; }
.lec-schema p { font-size: 16px; line-height: 1.45; }
.lec-schema .etq { margin: 0 0 6px; }
.lec-schema p:last-child:not(:first-child) { margin-top: 8px; color: var(--encre-2); }
/* Un lien au milieu d'une phrase (articles et pages de texte) : la zone qui répond au doigt déborde de dix pixels au-dessus et en dessous de la ligne,
   sans rien déplacer (sur une balise de ligne, cet espace ne pousse ni le texte ni les lignes voisines) */
.prose > p a, .prose > ul a, .prose > ol a, .prose .tableau a, .prose figcaption a, .citation footer a, .savoir a, .lec-fiches a, .lec-signature p a { padding-block: 10px; }
.prose .actions .bouton, .prose .lec-lien a, .prose .lec-renvoi a, .prose .lec-duo a { padding-block: 0; }
.prose a:hover { text-decoration-thickness: 2px; }
/* Un texte court et son lien, côte à côte : le prix d'une formule, puis « Le détail » */
.lec-duo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 20px; margin-top: .7em; }
.lec-duo strong { font: 500 clamp(22px, 2vw, 28px)/1.2 var(--texte); letter-spacing: -.02em; }
.lec-duo a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
/* Les guides au-delà des six premiers : ils se déplient à la suite de la liste, sans titre ni filet de plus */
.guides-plus summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; cursor: pointer; list-style: none; font-weight: 500; color: var(--vif-fonce); text-decoration: underline; text-underline-offset: 4px; }
.guides-plus summary::-webkit-details-marker { display: none; }
.guides-plus[open] summary { display: none; }
.guides-plus .guides { margin-top: 0; }
.guides-plus .guides li:first-child, .guides-plus .guides li:nth-child(2) { border-top: 0; }
@media (max-width: 899.98px) { .guides-plus .guides li:nth-child(2) { border-top: 1px solid var(--filet); } }
/* Le numéro de téléphone du pied de page : il s'appelle d'un toucher, sans changer d'allure */
.pied-geant .bas a { display: inline-block; padding: 14px 0; margin: -14px 0; color: inherit; text-decoration: none; }
.pied-geant .bas a:hover, .pied-geant .bas a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
