/* recherche.css : composants de la recherche (accueil, /agences/), du panneau de fiche et du guide. */
@keyframes rq-reflet { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes rq-pop { from { opacity: .001; transform: translateY(6px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rq-clign { 50% { opacity: 0; } }
@keyframes gd-points { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.rq-liste .enveloppe { justify-items: start; text-align: left; gap: 14px; }
.rq-liste h1 { font-size: clamp(30px, 4.2vw, 48px); max-width: none; }
.rq-liste .rq-halo { width: min(860px, 100%); }
.rq-liste .rq-boite textarea { font-size: 17px; min-height: 30px; }
.gd-titre { margin-bottom: 6px; }

/* ---------- accueil : la case ---------- */
.rq-une { padding-block: clamp(34px, 6vw, 72px) 20px; }
.rq-une .enveloppe { display: grid; justify-items: center; text-align: center; gap: 20px; }
.rq-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--encre-2); background: var(--carte); border: 1px solid var(--trait); border-radius: 999px; padding: 6px 12px 6px 10px; margin: 0; }
.rq-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--a1); animation: pouls 2.2s infinite; flex: none; }
.rq-une h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 0; max-width: 17ch; text-wrap: balance; }
.rq-une h1 em { font-style: normal; background: linear-gradient(90deg, var(--a1), var(--a2) 45%, var(--a4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rq-chapo { margin: 0; font-size: 18px; color: var(--encre-2); max-width: 54ch; }
.rq-halo { position: relative; isolation: isolate; width: min(780px, 100%); border-radius: 24px; padding: 2px; background: conic-gradient(from var(--ang), var(--a1), var(--a2), var(--a3), var(--a4), var(--a1)); animation: tourne 9s linear infinite; text-align: left; }
.rq-halo::before { content: ""; position: absolute; inset: -16px; border-radius: 34px; background: inherit; filter: blur(26px); opacity: .3; z-index: -1; transition: opacity .4s; }
.rq-halo.pense { animation-duration: 1.4s; }
.rq-halo.pense::before { opacity: .7; }
.rq-boite { background: var(--carte); border-radius: 22px; }
.rq-boite .rq-ligne { display: flex; align-items: flex-end; gap: 10px; padding: 14px 14px 10px 20px; }
.rq-boite textarea { flex: 1; border: 0; outline: 0; resize: none; font: inherit; font-size: 19px; line-height: 1.45; color: var(--encre); background: transparent; min-height: 58px; max-height: 150px; field-sizing: content; padding: 4px 0; }
.rq-boite textarea::placeholder { color: #71767E; }
.rq-envoi { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--encre); color: #fff; font-size: 20px; cursor: pointer; flex: none; display: grid; place-items: center; transition: transform .15s; }
.rq-envoi:hover { transform: scale(1.06); }
.rq-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 0 20px 12px; font-size: 12.5px; color: var(--encre-2); }
.rq-pied .m { font-family: var(--chiffre); }
/* Envoi d'une demande (Coq, 02/10) : le retour se voit dans la case, là où sont les yeux, et dure au moins 900 ms.
   envoi : bouton qui tourne, balayage lumineux, ligne d'aide « Envoyé · Claude lit… » ; recu : coche, « ✓ Compris · N ». */
.rq-envoi { position: relative; overflow: hidden; transition: transform .15s, background .25s; }
.rq-halo.envoi .rq-envoi { background: linear-gradient(135deg, #2DE0C0, #5AB8FF); color: transparent; cursor: progress; transform: scale(1.06); }
.rq-halo.envoi .rq-envoi::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: rq-tourne .7s linear infinite; }
.rq-halo.envoi .rq-boite { position: relative; overflow: hidden; }
.rq-halo.envoi .rq-boite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, rgba(90,184,255,.18) 50%, transparent 75%); transform: translateX(-100%); animation: rq-balaye 1.1s ease-in-out infinite; pointer-events: none; }
.rq-halo.envoi::before { opacity: .85; }
.rq-halo.recu .rq-envoi { background: #0E9F6E; animation: rq-pop .5s cubic-bezier(.2,.8,.2,1); }
.rq-pied .rq-etat-on { color: #0B6BCB; }
.rq-pied .rq-etat-ok { color: #0E7A55; }
.rq-pied .rq-etat-ko { color: #B45309; }
.rq-halo.rate .rq-envoi { animation: rq-non .4s; }
@keyframes rq-non { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.rq-pts i { display: inline-block; width: 4px; height: 4px; margin-left: 3px; border-radius: 50%; background: currentColor; vertical-align: middle; animation: ac-point 1s infinite; }
.rq-pts i:nth-child(2) { animation-delay: .15s; } .rq-pts i:nth-child(3) { animation-delay: .3s; }
@keyframes rq-tourne { to { transform: rotate(360deg); } }
@keyframes rq-balaye { to { transform: translateX(100%); } }
@keyframes rq-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .rq-halo.envoi .rq-envoi::after, .rq-halo.envoi .rq-boite::after, .rq-halo.recu .rq-envoi, .rq-pts i { animation: none; } }
.rq-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 840px; }
.rq-sugg a { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); text-decoration: none; border-radius: 999px; padding: 8px 14px; font-size: 14px; transition: border-color .15s, transform .15s; }
.rq-sugg a:hover { border-color: var(--encre); transform: translateY(-1px); }
.rq-sugg a::after { content: " ↗"; color: var(--a2); }
.rq-porte { margin: 2px 0 0; font-size: 15px; color: var(--encre-2); }
.rq-porte a { font-weight: 600; color: var(--encre); }
.rq-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 1080px; margin-top: 14px; text-align: left; }
.rq-chiffre { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; color: var(--encre); text-decoration: none; transition: border-color .15s, transform .2s; }
.rq-chiffre:hover { border-color: var(--encre); transform: translateY(-2px); }
.rq-chiffre b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rq-chiffre span { font-size: 14px; color: var(--encre-2); }
.rq-chiffre small { font-size: 12.5px; color: var(--encre-2); margin-top: 4px; }
.rq-points { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.rq-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--trait); }
.rq-points i.o { background: var(--encre); }
.rq-une.cherche { padding-block: 18px 6px; }
.rq-une.cherche .enveloppe > :not(.rq-halo) { display: none; }

/* ---------- résultats ---------- */
.rq-res { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 26px; padding-block: 12px 40px; align-items: start; }
.rq-res[hidden] { display: none; }
.rq-cote { position: sticky; top: 74px; display: grid; gap: 18px; max-height: calc(100vh - 90px); overflow-y: auto; padding-right: 4px; }
.rq-l { font: 600 11.5px var(--chiffre); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-2); margin: 0 0 8px; display: flex; align-items: center; gap: 7px; }
.rq-compris { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-compris button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--encre); color: #fff; font: inherit; font-size: 13.5px; padding: 6px 8px 6px 12px; cursor: pointer; animation: rq-pop .35s cubic-bezier(.2,.8,.2,1); }
.rq-compris button span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); font-size: 12px; }
.rq-compris .vide { font-size: 13.5px; color: var(--encre-2); }
.rq-facettes details { border-top: 1px solid var(--trait-2); }
.rq-facettes summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 10px 2px; font-weight: 600; font-size: 14px; }
.rq-facettes summary::-webkit-details-marker { display: none; }
.rq-facettes summary::after { content: "+"; color: var(--encre-2); }
.rq-facettes details[open] summary::after { content: "–"; }
.rq-fac { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; text-align: left; border: 0; background: none; color: var(--encre); padding: 6px 4px; border-radius: 8px; font: inherit; font-size: 13.5px; cursor: pointer; }
.rq-fac:hover { background: var(--carte); }
.rq-fac i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #9EA3AB; }
.rq-fac[aria-pressed="true"] i { background: var(--encre); border-color: var(--encre); box-shadow: inset 0 0 0 3px var(--carte); }
.rq-fac b { font: 500 12px var(--chiffre); color: var(--encre-2); }
.rq-fac.zero { color: #7C818A; }
.rq-rep { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 20px 22px; display: grid; gap: 12px; box-shadow: var(--ombre); }
.rq-rep-t { font-size: 17.5px; line-height: 1.6; margin: 0; max-width: none; }
.rq-rep-t .note { display: block; font-size: 14px; color: var(--ambre-texte); background: var(--ambre-fond); border-radius: 10px; padding: 6px 10px; margin-bottom: 8px; }
.rq-reform { margin: 0; font-size: 15px; color: var(--encre-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; max-width: none; }
.rq-ia { font: 600 11px var(--chiffre); letter-spacing: .06em; text-transform: uppercase; color: var(--encre); background: linear-gradient(90deg, rgba(22,194,163,.18), rgba(63,167,255,.18)); border-radius: 6px; padding: 3px 7px; }
.nom-lien { font-weight: 600; color: var(--encre); text-decoration: underline; text-decoration-color: var(--a2); text-underline-offset: 3px; }
.rq-pense { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; background: linear-gradient(90deg, var(--encre-2) 30%, var(--a2) 50%, var(--encre-2) 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rq-reflet 1.4s linear infinite; }
.curseur { display: inline-block; width: 8px; height: 1.05em; background: var(--a2); vertical-align: -2px; margin-left: 2px; animation: rq-clign .8s steps(1) infinite; border-radius: 2px; }
.etincelle { width: 14px; height: 14px; flex: none; display: inline-block; background: conic-gradient(from 45deg, var(--a1), var(--a2), var(--a4), var(--a1)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.rq-relances { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-relances button { border: 1px dashed #9EA3AB; background: none; color: var(--encre); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13.5px; cursor: pointer; }
.rq-relances button:hover { border-style: solid; border-color: var(--encre); }
.rq-rep-pied { font-size: 12.5px; color: var(--encre-2); margin: 0; max-width: none; }
.rq-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: end; }
.rq-stat b { font-size: 76px; font-weight: 600; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.rq-stat p { margin: 0; font-size: 17px; }
.rq-stat small { grid-column: 1 / -1; color: var(--encre-2); }
.rq-stat .rq-points { grid-column: 1 / -1; }
.rq-stat .rq-points i { width: 10px; height: 10px; }
.rq-titre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 26px 0 12px; }
.rq-titre h2 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.rq-titre span { font-size: 13px; color: var(--encre-2); }
/* Tri au choix du visiteur : ordre du jour (défaut) ou clients documentés. */
.rq-titre .rq-saut { flex-basis: 100%; height: 0; }
.rq-titre .rq-tri { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border: 1px solid var(--trait); border-radius: 999px; background: var(--carte); max-width: 100%; }
.rq-tri button { font: inherit; font-size: 13px; border: 0; background: none; color: var(--encre-2); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.rq-tri button[aria-pressed="true"] { background: var(--encre); color: var(--papier); font-weight: 600; }
.rq-cli { display: block; font-size: 14px; font-weight: 600; color: var(--encre); margin-top: 3px; }
.rq-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.rq-carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 16px 16px 14px; display: grid; gap: 12px; align-content: start; transition: box-shadow .2s, transform .2s, border-color .2s; }
.rq-carte:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(11,12,14,.4); }
.rq-carte.sel { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre); }
.rq-carte-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.rq-carte-h a { color: var(--encre); text-decoration: none; }
.rq-carte-h a:hover { text-decoration: underline; }
.rq-carte-h b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.rq-carte-h small { display: block; font-size: 13px; color: var(--encre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq-score { font: 600 12px var(--chiffre); border-radius: 999px; padding: 4px 9px; background: var(--ok-fond); color: var(--ok); white-space: nowrap; }
.rq-score.presque { background: var(--ambre-fond); color: var(--ambre-texte); }
.pq { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; border-radius: 8px; padding: 3px 8px; margin: 0 4px 4px 0; }
.pq b { font-size: 11px; }
.pq.ok { background: var(--ok-fond); color: var(--ok); }
.pq.ko { background: var(--ko-fond); color: var(--ko); }
.rq-carte-p { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--trait-2); padding-top: 10px; }
.rq-act { display: flex; gap: 6px; }
.rq-act button, .rq-act a { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; }
.rq-act button:hover, .rq-act a:hover { border-color: var(--encre); }
.rq-act button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.rq-tout { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; margin-top: 12px; }
.emp { display: inline-flex; gap: 5px; }
.emp span { display: inline-flex; gap: 2px; }
.emp i { width: 5px; height: 14px; border-radius: 2px; background: var(--trait); }
.emp i.o { background: var(--encre); }
.emp i.n { background: repeating-linear-gradient(0deg, var(--trait) 0 2px, transparent 2px 4px); }
.mono-tuile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 14px; letter-spacing: .02em; flex: none; }
.s-chatbot { background: #DCEEFF; color: #164F8C; } .s-vocal { background: #FFE3D9; color: #9A3A22; } .s-auto { background: #DBF4E5; color: #17683F; } .s-gen { background: #ECEAF1; color: #454A56; } .s-conseil { background: #FFF0C7; color: #765400; }
.tag-ed { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: var(--ambre-fond); color: var(--ambre-texte); vertical-align: 2px; white-space: nowrap; }
.rq-plateau { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; display: flex; align-items: center; gap: 12px; background: var(--encre); color: #fff; border-radius: 999px; padding: 8px 8px 8px 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); font-size: 14px; }
.rq-plateau.vu { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.rq-plateau .mono-tuile { width: 30px; height: 30px; border-radius: 50%; font-size: 11px; margin-left: -8px; border: 2px solid var(--encre); }
.rq-plateau .mono-tuile:first-of-type { margin-left: 0; }
.rq-plateau button { border: 0; border-radius: 999px; background: #fff; color: var(--encre); padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.rq-plateau button:disabled { opacity: .5; cursor: default; }
.rq-plateau .vider { background: transparent; color: #fff; padding: 8px; }

/* ---------- panneau latéral (fiche, comparaison) ---------- */
.fp-voile { position: fixed; inset: 0; z-index: 50; background: rgba(11,12,14,.3); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.fp-voile.vu { opacity: 1; pointer-events: auto; }
.fp { position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(600px, 100vw); background: var(--carte); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); transform: translateX(104%); transition: transform .45s cubic-bezier(.2,.8,.2,1); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; }
.fp.vu { transform: none; visibility: visible; }
.fp.large { width: min(960px, 100vw); }
.fp-fermer { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.fi { padding: 22px 24px 40px; display: grid; gap: 20px; }
.fi-tete { display: flex; gap: 14px; align-items: center; }
.fi-tete .mono-tuile { width: 56px; height: 56px; border-radius: 16px; font-size: 18px; }
.fi-sur { margin: 0; font: 12px var(--chiffre); color: var(--encre-2); }
.fi-dist { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #E3F5F1; color: #0A3D34; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.fi-dist p { margin: 0; }
.fi-dist b { font: 600 11px var(--chiffre); letter-spacing: .08em; text-transform: uppercase; color: #0A5C4E; margin-right: 8px; }
.fi-dist a { font-weight: 700; color: #0A3D34; }
.fi-dist span { display: block; color: #24453F; font-size: 13px; }
.fi-nom { margin: 2px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.fi-id { margin: 0; font-size: 14px; color: var(--encre-2); }
.fi-l { font: 600 11.5px var(--chiffre); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); margin: 0 0 8px; display: flex; gap: 7px; align-items: center; }
.fi-resume { background: linear-gradient(135deg, rgba(22,194,163,.08), rgba(63,167,255,.08) 50%, rgba(255,107,90,.07)); border-radius: 16px; padding: 16px 18px; }
.fi-portrait { margin: 0; font-size: 16px; line-height: 1.65; max-width: none; }
.cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; border-radius: 5px; background: var(--encre); color: #fff; font: 600 10.5px var(--chiffre); text-decoration: none; vertical-align: 2px; margin-left: 2px; padding: 0 3px; }
.cite:hover { background: var(--accent); color: #fff; }
.fi-src { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: 12.5px; max-width: none; }
.fi-src a { text-decoration: none; color: var(--encre-2); }
.fi-src b { font: 600 10.5px var(--chiffre); background: var(--encre); color: #fff; border-radius: 4px; padding: 1px 4px; margin-right: 3px; }
.fi-form { display: flex; gap: 8px; border: 1px solid var(--trait); border-radius: 14px; padding: 6px 6px 6px 14px; background: var(--carte); }
.fi-form:focus-within { border-color: var(--encre); }
.fi-form input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; min-width: 0; color: var(--encre); }
.fi-form button { border: 0; background: var(--encre); color: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.fi-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fi-sugg button { border: 1px solid var(--trait); background: none; color: var(--encre); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.fi-sugg button:hover { border-color: var(--encre); }
.fi-reponse:not(:empty) { margin-top: 12px; border-left: 3px solid var(--a2); padding: 4px 0 4px 14px; display: grid; gap: 8px; font-size: 15px; }
.fi-reponse p { margin: 0; max-width: none; }
.fi-q { font-weight: 600; }
.fi-rl blockquote { margin: 4px 0; color: var(--encre-2); font-size: 14px; }
.fi-prov { font: 11.5px var(--chiffre); color: var(--encre-2); }
.fi-fam { border-top: 1px solid var(--trait-2); padding-block: 10px; }
.fi-fam > p { margin: 0 0 6px; font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; max-width: none; }
.fi-fam > p span { font: 500 12px var(--chiffre); color: var(--encre-2); }
.fi-k { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.fi-k i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--encre); }
.fi-k i.o { background: var(--encre); }
.fi-k i.n { border-style: dashed; border-color: #9EA3AB; }
.fi-k b { font-weight: 500; text-align: right; }
.fi-k small { grid-column: 2 / -1; font-size: 12px; color: var(--encre-2); }
.fi-liens { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp { padding: 24px; display: grid; gap: 18px; }
.cmp-tetes { display: grid; grid-template-columns: 200px repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.cmp-tetes::before { content: ""; }
.cmp-tetes div { display: grid; gap: 4px; justify-items: start; }
.cmp-tetes b { font-size: 17px; }
.cmp-tetes small { color: var(--encre-2); }
.cmp-ia { background: linear-gradient(135deg, rgba(22,194,163,.08), rgba(63,167,255,.08) 50%, rgba(255,107,90,.07)); border-radius: 16px; padding: 16px 18px; }
.cmp-ia ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.cmp-commun { margin: 10px 0 0; font-size: 13.5px; color: var(--encre-2); max-width: none; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-t th { text-align: left; font-weight: 500; color: var(--encre-2); width: 200px; padding: 8px 12px 8px 0; }
.cmp-t td { padding: 8px 12px; border-bottom: 1px solid var(--trait-2); }
.cmp-t td.o { color: var(--ok); font-weight: 600; }
.cmp-t td.x { color: var(--ko); }

/* ---------- portrait en tête de fiche (page) ---------- */
.fiche-ia { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.fiche-ia > section { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 18px 20px; box-shadow: var(--ombre); }
.fiche-ia > [data-fiche-qr] { background: var(--carte); border: 1px solid var(--trait); border-radius: 20px; padding: 18px 20px; box-shadow: var(--ombre); }
.fiche-ia .fi-resume { box-shadow: none; border: 0; background: linear-gradient(135deg, rgba(22,194,163,.1), rgba(63,167,255,.1) 50%, rgba(255,107,90,.08)); }

/* ---------- le guide ---------- */
.gd { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 0; background: var(--carte); border: 1px solid var(--trait); border-radius: 24px; box-shadow: var(--ombre); overflow: hidden; height: min(820px, calc(100vh - 150px)); min-height: 560px; margin-top: 16px; }
.gd-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-right: 1px solid var(--trait-2); min-height: 0; }
.gd-chat-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--trait-2); }
.gd-chat-h .rq-point { width: 34px; height: 34px; }
.gd-chat-h b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.gd-chat-h small { display: block; font-size: 12.5px; color: var(--encre-2); }
.rq-point { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from var(--ang), var(--a1), var(--a2), var(--a3), var(--a4), var(--a1)); animation: tourne 6s linear infinite; flex: none; }
.gd-fil { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.gd-msg { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: rq-pop .35s cubic-bezier(.2,.8,.2,1); }
.gd-msg.bot { align-self: flex-start; background: #F1F1EE; border-top-left-radius: 6px; }
.gd-msg.moi { align-self: flex-end; background: var(--encre); color: #fff; border-top-right-radius: 6px; }
.gd-msg .compte { font-weight: 700; background: linear-gradient(90deg, rgba(22,194,163,.25), rgba(63,167,255,.25)); border-radius: 5px; padding: 0 5px; }
.gd-msg.large { max-width: 100%; width: 100%; background: transparent; padding: 0; }
.gd-tape { display: inline-flex; gap: 4px; padding: 14px 16px; }
.gd-tape i { width: 7px; height: 7px; border-radius: 50%; background: var(--encre-2); animation: gd-points 1s infinite; }
.gd-tape i:nth-child(2) { animation-delay: .15s; } .gd-tape i:nth-child(3) { animation-delay: .3s; }
.gd-choix { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; }
.gd-choix button { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background-color .15s; display: inline-flex; gap: 6px; align-items: center; }
.gd-choix button:hover { border-color: var(--encre); }
.gd-choix button[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.gd-choix button small { font: 12px var(--chiffre); color: var(--encre-2); }
.gd-choix button[aria-pressed="true"] small { color: #C9CDD3; }
.gd-choix .valider { background: var(--encre); color: #fff; border-color: var(--encre); }
.gd-saisie { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--trait-2); }
.gd-saisie input { flex: 1; min-width: 0; border: 1px solid var(--trait); border-radius: 14px; padding: 11px 14px; font: inherit; font-size: 15px; outline: 0; background: var(--carte); color: var(--encre); }
.gd-saisie input:focus { border-color: var(--encre); }
.gd-saisie button { border: 0; border-radius: 14px; background: var(--encre); color: #fff; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; }
.gd-marche { min-height: 0; overflow-y: auto; padding: 20px 24px 28px; background: var(--papier); display: grid; align-content: start; gap: 14px; }
.gd-marche-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: end; }
.gd-marche-h p { margin: 0; font: 12px var(--chiffre); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.gd-marche-h h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.025em; line-height: 1.1; }
.gd-compte { text-align: right; }
.gd-compte b { display: block; font-size: 80px; font-weight: 600; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.gd-compte span { font-size: 13px; color: var(--encre-2); }
.gd-histoire { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 13px var(--chiffre); color: var(--encre-2); min-height: 20px; }
.gd-histoire b { color: var(--encre); background: var(--carte); border: 1px solid var(--trait); border-radius: 6px; padding: 1px 6px; }
.gd-actifs { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.gd-actifs button { border: 0; background: var(--encre); color: #fff; border-radius: 999px; padding: 5px 8px 5px 12px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.gd-actifs button span { background: rgba(255,255,255,.18); border-radius: 50%; width: 17px; height: 17px; display: grid; place-items: center; font-size: 11px; }
.gd-mur { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.gd-tuile { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 14px; padding: 12px 8px 10px; display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer; transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1), filter .6s, border-color .3s, box-shadow .3s; font: inherit; text-decoration: none; width: 100%; }
.gd-tuile b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.gd-tuile span { font-size: 11px; line-height: 1.2; color: var(--encre-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-tuile.dedans { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre), 0 10px 22px -16px rgba(63,167,255,.8); }
.gd-tuile.hors { opacity: .22; transform: scale(.92); filter: grayscale(1); }
.gd-tuile:hover { transform: translateY(-2px); }
.gd-tuile.hors:hover { opacity: .55; }
.gd-selec { display: grid; gap: 12px; }
.gd-selec h3 { margin: 0; font-size: 19px; }
.gd-selec > p { margin: -4px 0 0; font-size: 14px; color: var(--encre-2); max-width: none; }
.gd-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.gd-carte { border: 1px solid var(--trait); border-radius: 20px; background: var(--carte); overflow: hidden; display: grid; position: relative; box-shadow: var(--ombre); }
.gd-carte::before { content: ""; height: 4px; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3), var(--a4)); }
.gd-carte-h { padding: 12px 16px 4px; display: flex; gap: 10px; align-items: center; }
.gd-carte-h b { display: block; font-size: 17px; letter-spacing: -.02em; }
.gd-carte-h small { font-size: 13px; color: var(--encre-2); }
.gd-carte ul { list-style: none; margin: 0; padding: 8px 16px; display: grid; gap: 5px; font-size: 14px; }
.gd-carte li::before { content: "✓ "; font-weight: 700; color: var(--ok); }
.gd-carte li.ko::before { content: "✗ "; color: var(--ko); }
.gd-carte-p { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 16px 14px; }
.gd-carte-p button, .gd-carte-p a { border: 1px solid var(--trait); background: var(--carte); color: var(--encre); border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 500; font-size: 13.5px; cursor: pointer; text-decoration: none; }
.gd-carte-p button:hover, .gd-carte-p a:hover { border-color: var(--encre); }
.gd-brief { border: 1px solid var(--trait); border-radius: 20px; background: var(--carte); padding: 16px 18px; display: grid; gap: 10px; box-shadow: var(--ombre); }
.gd-brief-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gd-brief pre { margin: 0; white-space: pre-wrap; font: 13.5px/1.55 var(--chiffre); background: var(--papier); border: 1px solid var(--trait-2); border-radius: 14px; padding: 14px; max-height: 280px; overflow: auto; }
.gd-brief button { border: 0; background: var(--encre); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.gd-lien { border: 0; background: none; color: var(--encre); text-decoration: underline; text-decoration-color: var(--a1); text-underline-offset: 3px; cursor: pointer; font: inherit; padding: 0; }

/* ---------- petits écrans ---------- */
@media (max-width: 900px) {
  /* minmax(0, 1fr) et non 1fr : sinon la rangée de filtres défilante impose sa largeur (625 px) à toute la page. */
  .rq-res { grid-template-columns: minmax(0, 1fr); }
  .rq-cote { position: static; max-height: none; overflow: visible; min-width: 0; }
  .rq-cote > * { min-width: 0; }
  .rq-facettes { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .rq-facettes details { border: 1px solid var(--trait); border-radius: 14px; flex: none; padding: 0 12px; background: var(--carte); }
  .rq-chiffres { grid-template-columns: 1fr; }
  .fiche-ia { grid-template-columns: minmax(0, 1fr); }
  .fiche-ia > * { min-width: 0; }
  .gd { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - 110px); }
  .gd-chat { order: 2; border-right: 0; }
  .gd-marche { order: 1; padding: 10px 14px; gap: 6px; border-bottom: 1px solid var(--trait-2); max-height: 210px; }
  .gd-marche-h h2, .gd-marche-h p, .gd-actifs, .gd-histoire { display: none; }
  .gd-compte { text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .gd-compte b { font-size: 36px; }
  .gd-mur { grid-template-columns: repeat(auto-fill, minmax(24px, 1fr)); gap: 4px; }
  .gd-tuile { padding: 0; aspect-ratio: 1; border-radius: 6px; }
  .gd-tuile b { font-size: 9px; }
  .gd-tuile span { display: none; }
  .gd-marche .gd-selec, .gd-marche .gd-brief, .gd-marche .gd-lien { display: none; }
  .cmp-tetes { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .cmp-tetes::before { display: none; }
  .cmp-t th { width: auto; }
}
@media (max-width: 560px) {
  nav.site a:not(.porte-guide):not([aria-current]) { display: none; }
  .rq-boite textarea { font-size: 17px; min-height: 76px; }
  .rq-stat b { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { .rq-compris button, .gd-msg, .gd-tuile, .fp, .rq-plateau { animation: none !important; transition: none !important; } }

/* Pages par région et par besoin (lot SEO du 29/09/2026, scripts/pages-territoires.mjs) */
.tr-h2 { margin-top: 34px; }
.tr-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.tr-chiffres .rq-chiffre:hover { transform: none; border-color: var(--trait); }
.rq-chiffre b .tr-sur { display: inline; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--encre-2); margin: 0 0 0 7px; }
.tr-synthese { max-width: 72ch; margin: 16px 0 0; }
.tr-questions h3 { font-size: 17px; margin: 22px 0 6px; }
.tr-questions p { max-width: 72ch; margin: 0; }
.tr-voir { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--trait); display: grid; gap: 8px; }
.tr-voir p { margin: 0; }
.tr-hub .tr-h2 { margin: 0 0 4px; }
/* « Parcourir » en cartes (06/10/2026) : barres proportionnelles au nombre d'agences, villes en pastilles, guides. */
.pc-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 6px; }
.pc-carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 16px 18px; box-shadow: var(--ombre); min-width: 0; }
.pc-t { margin: 0 0 10px; font-family: var(--chiffre); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pc-t small { display: block; margin-top: 2px; font-family: var(--texte); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--encre-2); }
.pc-t2 { margin-top: 18px; }
.pc-barres, .pc-guides { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-l { display: grid; grid-template-columns: minmax(0, 1fr) 72px 26px; gap: 10px; align-items: center; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; color: var(--encre); text-decoration: none; font-size: 15px; }
a.pc-l:hover { background: var(--trait-2); }
a.pc-l:hover .pc-nom { text-decoration: underline; }
.pc-nom { min-width: 0; overflow-wrap: anywhere; }
.pc-piste { height: 8px; border-radius: 4px; background: var(--trait-2); overflow: hidden; }
.pc-piste i { display: block; height: 100%; border-radius: 4px; }
.pc-n { font-family: var(--chiffre); font-size: 14px; text-align: right; color: var(--encre); }
li[aria-current="page"] .pc-l { background: var(--accent-fond); font-weight: 600; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 6px 0 14px; border: 1px solid var(--trait); border-radius: 999px; background: var(--carte); color: var(--encre); text-decoration: none; font-size: 14.5px; }
.pc-chip b { font-family: var(--chiffre); font-size: 12.5px; font-weight: 500; background: var(--trait-2); border-radius: 999px; padding: 3px 8px; }
a.pc-chip:hover { border-color: var(--encre-2); }
.pc-chip[aria-current="page"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.pc-chip[aria-current="page"] b { background: rgba(255,255,255,.18); }
.pc-guides a, .pc-guides li[aria-current="page"] span { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 9px 8px; margin: 0 -8px; border-radius: 10px; color: var(--encre); text-decoration: none; font-size: 15px; }
.pc-guides li + li { border-top: 1px solid var(--trait-2); }
.pc-guides a:hover { background: var(--trait-2); }
.pc-guides a span { color: var(--accent); font-size: 18px; line-height: 1; }
.pc-guides li[aria-current="page"] span { background: var(--accent-fond); font-weight: 600; }
/* Fenêtre « Parcourir » : les agences d'un critère sans changer de page, filtre croisé, lien vers la page complète. */
.pc-dlg { width: min(640px, calc(100vw - 24px)); max-height: min(86vh, 760px); padding: 0; border: 1px solid var(--trait); border-radius: 22px; background: var(--papier); color: var(--encre); box-shadow: 0 24px 60px -20px rgba(11,12,14,.45); overflow: hidden; }
.pc-dlg[open] { display: flex; flex-direction: column; }
.pc-dlg::backdrop { background: rgba(11,12,14,.42); }
.pc-dlg-tete { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 18px 12px; background: var(--carte); border-bottom: 1px solid var(--trait); }
.pc-dlg-tete .pc-t { margin: 0 0 2px; }
.pc-dlg-tete h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.pc-dlg-n { margin: 2px 0 0; font-size: 14px; color: var(--encre-2); }
.pc-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait); background: var(--carte); color: var(--encre); font-size: 22px; line-height: 1; cursor: pointer; }
.pc-x:hover { border-color: var(--encre); }
.pc-dlg-corps { overflow-y: auto; padding: 12px 18px 6px; min-height: 0; }
.pc-aff { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.pc-aff .pc-chip { min-height: 34px; font: inherit; font-size: 13.5px; cursor: pointer; padding: 0 6px 0 12px; }
.pc-aff .pc-chip[data-f=""] { padding-right: 12px; }
.pc-aff .pc-chip[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.pc-aff .pc-chip[aria-pressed="true"] b { background: rgba(255,255,255,.18); }
.pc-dlg-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pc-dlg-l a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 12px; background: var(--carte); color: var(--encre); text-decoration: none; }
.pc-dlg-l a:hover { border-color: var(--encre-2); box-shadow: var(--ombre); }
.pc-dlg-l b { font-size: 15.5px; font-weight: 600; }
.pc-dlg-l span { font-size: 13.5px; color: var(--encre-2); }
.pc-dlg-pied { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 12px 18px 16px; border-top: 1px solid var(--trait); background: var(--carte); }
.pc-dlg-pied span { font-size: 12.5px; color: var(--encre-2); }
.pc-x:focus-visible, .pc-dlg-l a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .pc-dlg { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 22px 22px 0 0; } }
.pc-voisins { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pc-vt { font-family: var(--chiffre); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: 4px; }
.pc-l:focus-visible, .pc-chip:focus-visible, .pc-guides a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tr-fiche { margin: 14px 0 0; }
@media (max-width: 900px) { .tr-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tr-chiffres { grid-template-columns: 1fr; } }

/* Badge (scripts/badge.mjs) */
.bd-apercus { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.bd-apercus figure { margin: 0; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--trait); display: grid; gap: 10px; justify-items: start; }
.bd-clair { background: #F4F4F0; }
.bd-sombre { background: #0B0D10; }
.bd-apercus figcaption { font-size: 13px; }
.bd-clair figcaption { color: #3A4048; }
.bd-sombre figcaption { color: #D5D9DE; }
.bd-outil { display: grid; gap: 10px; max-width: 760px; }
.bd-outil label { font-weight: 600; }
.bd-distinguee { margin: 4px 0; padding: 12px 16px; border-radius: 12px; background: #111214; color: #F2EDE1; font-weight: 500; }
.bd-distinguee a { color: #F3E2A2; font-weight: 700; }
.bd-outil select { font: inherit; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 10px; background: var(--carte); color: var(--encre); max-width: 420px; }
.bd-outil .doux { margin: 0; }
.bd-code p { margin: 8px 0 6px; display: flex; align-items: center; gap: 12px; }
.bd-code textarea { width: 100%; font: 13px/1.5 "Geist Mono", ui-monospace, Consolas, monospace; padding: 10px 12px; border: 1px solid var(--trait); border-radius: 10px; background: var(--carte); color: var(--encre); resize: vertical; }
.bd-regles, .pr-liste { max-width: 80ch; padding-left: 20px; display: grid; gap: 8px; }

/* Espace presse (scripts/page-presse.mjs) */
.pr-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0; }
.pr-avert { margin-top: 8px; max-width: 90ch; }
.pr-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-top: 10px; }
.pr-chiffre { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.pr-chiffre > b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.pr-chiffre p { margin: 0; }
.pr-phrase { font-size: 15.5px; color: var(--encre); }
.pr-note { font-size: 14px; color: var(--encre-2); }
.pr-chiffre .pr-copier { justify-self: start; }
.pr-communique { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 22px 26px; max-width: 86ch; display: grid; gap: 10px; }
.pr-communique h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; }
.pr-communique p { margin: 0; }
.pr-citation { font-family: "Geist Mono", ui-monospace, Consolas, monospace; font-size: 14px; background: var(--carte); border: 1px solid var(--trait); border-radius: 10px; padding: 10px 14px; display: inline-block; }
@media print {
  body[data-page="presse"] header.site nav, body[data-page="presse"] .bandeau, body[data-page="presse"] .pr-actions, body[data-page="presse"] .pr-copier, body[data-page="presse"] script { display: none !important; }
  body[data-page="presse"] .pr-chiffre, body[data-page="presse"] .pr-communique { break-inside: avoid; box-shadow: none; }
  body[data-page="presse"] .rq-une { padding-block: 0 8px; }
  body[data-page="presse"] .rq-une h1 { font-size: 34px; }
  html:has(body[data-page="presse"]), body[data-page="presse"] { background: #fff !important; }
  body[data-page="presse"] h2 { break-after: avoid; }
  body[data-page="presse"] #communique { break-before: page; }
  body[data-page="presse"] footer.site { display: none !important; }
  body[data-page="presse"] .pr-communique h3, body[data-page="presse"] .pr-communique p { break-inside: avoid; }
}

/* Fiches : « Alternatives à X » (scripts/pages-territoires.mjs) */
.alt .doux { max-width: 80ch; }
.alt-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 12px 0; }
.alt-c { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; color: var(--encre); text-decoration: none; transition: border-color .15s; }
.alt-c:hover { border-color: var(--encre); }
.alt-c b { font-size: 16px; }
.alt-c span { font-size: 14px; color: var(--encre-2); }
.alt-c small { font-size: 13px; color: var(--encre-2); }
.alt-regle { font-size: 13.5px; }

/* « Existe-t-il un classement indépendant ? » (scripts/page-classement.mjs) */
.pr-tableau { overflow-x: auto; margin-top: 10px; }
.cl-t { width: 100%; border-collapse: collapse; background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; font-size: 14.5px; }
.cl-t th, .cl-t td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.cl-t th { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--encre); }
.cl-t td:last-child { font-variant-numeric: tabular-nums; }
.cl-autres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-top: 10px; }
.cl-autre h3 { margin: 0; font-size: 18px; }

/* « Combien coûte un chatbot ? » (scripts/page-prix.mjs) */
.px-court { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.px-court > div { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.px-court b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.px-court p { margin: 0; font-size: 14px; color: var(--encre-2); }
.px-court .px-l { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--encre); }
.px-note { max-width: 80ch; margin: 12px 0 0; font-size: 14.5px; }
.px-graphe { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 14px 20px 18px; margin-top: 12px; }
.px-ligne { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 5px 0; }
.px-nom { font-size: 14px; color: var(--encre); min-width: 0; }
.px-nom b { font-weight: 600; }
.px-piste { position: relative; height: 16px; background: var(--fond); }
.px-axe { padding-bottom: 2px; }
.px-axe .px-piste { background: none; height: 18px; }
.px-axe em { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 12px; color: var(--encre-2); white-space: nowrap; }
.px-barre, .px-point { position: absolute; top: 3px; height: 10px; border-radius: 6px; background: var(--c, var(--a2)); }
.px-point { width: 10px; margin-left: -5px; }
.px-point.ouvert { width: 30px; margin-left: -5px; background: linear-gradient(90deg, var(--c, var(--a2)) 30%, transparent); }
.px-mt { font-size: 13.5px; color: var(--encre); font-variant-numeric: tabular-nums; }
.px-groupe { margin: 12px 0 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.t-chatbot { --c: var(--a1); }
.t-agent { --c: var(--a2); }
.t-automatisation { --c: var(--a3); }
.px-table { display: grid; gap: 10px; margin-top: 10px; }
.px-offre { background: var(--carte); border: 1px solid var(--trait); border-radius: 14px; padding: 14px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; }
.px-offre p { margin: 0; }
.px-offre .px-a { font-weight: 600; }
.px-prix { font-weight: 600; font-size: 17px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.px-offre details { grid-column: 1 / -1; font-size: 14px; }
.px-offre summary { cursor: pointer; color: var(--encre-2); }
.px-offre blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--trait); color: var(--encre); }
@media (max-width: 900px) { .px-court { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .px-court { grid-template-columns: 1fr; }
  /* Colonne du montant de largeur FIXE : chaque ligne est sa propre grille, une colonne « auto » décalerait les barres. */
  .px-ligne { grid-template-columns: minmax(0, 1fr) 124px; gap: 4px 10px; }
  .px-ligne .px-nom { grid-column: 1 / -1; }
  .px-axe > span:first-child { display: none; }
  .px-axe em.sec { display: none; }
  .px-mt { font-size: 12.5px; }
  .px-offre { grid-template-columns: 1fr; }
  .px-prix { text-align: left; white-space: normal; }
}

/* ---------- Accueil animé (site/accueil.mjs, choix de Coq du 29/09/2026) ----------
   Bandeau sombre sur un site clair : le seul endroit du site en fond sombre. Couleurs en dur (pas de jetons
   du thème), parce que le bandeau garde le même aspect quel que soit le thème du visiteur. */
.ac { background: radial-gradient(ellipse at 76% 46%, rgba(63,167,255,.13), transparent 55%), radial-gradient(ellipse at 12% 8%, rgba(22,194,163,.09), transparent 45%), #06080D; color: #EEF2F7; padding-block: clamp(24px, 3vw, 40px) clamp(26px, 3.6vw, 46px); overflow: hidden; }
/* Colonnes alignées en haut : centrer la colonne haute (scène) pousserait son bouton sous le pli d'un portable. */
.ac-grille { display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ac-texte { display: grid; gap: 18px; justify-items: start; }
.ac-sur { margin: 0; font: 500 12px var(--chiffre); letter-spacing: .08em; text-transform: uppercase; color: #B3BDCB; display: flex; gap: 8px; align-items: center; }
.ac-sur i { width: 7px; height: 7px; border-radius: 50%; background: #16C2A3; box-shadow: 0 0 10px #16C2A3; animation: ac-pouls 2s infinite; }
@keyframes ac-pouls { 50% { opacity: .35; } }
.ac h1 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: 1.03; font-size: clamp(32px, 3.9vw, 52px); color: #EEF2F7; text-wrap: balance; }
.ac h1 em { font-style: normal; background: linear-gradient(90deg, #16C2A3, #3FA7FF 50%, #B690FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-chapo { margin: 0; color: #C3CCD8; font-size: 17px; max-width: 48ch; }
.ac .rq-halo { width: 100%; }
.ac .rq-sugg { justify-content: flex-start; }
.ac .rq-sugg a { background: rgba(18,25,37,.85); border-color: #2B3647; color: #D9E0E9; }
.ac .rq-sugg a:hover { border-color: #8C98A9; }
/* Exemples de l'accueil : UNE ligne, défilable au doigt si elle déborde (Coq, 02/10). */
.ac .ac-sugg { flex-wrap: nowrap; justify-content: flex-start; align-items: center; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px 0; }
.ac .ac-sugg::-webkit-scrollbar { display: none; }
.ac .ac-sugg a { flex: none; white-space: nowrap; padding: 7px 13px; font-size: 13.5px; }
.ac-sugg-l { flex: none; font: 500 11px var(--chiffre); letter-spacing: .08em; text-transform: uppercase; color: #B3BDCB; margin-right: 2px; }
.rq-pied a[href="/guide/"] { color: var(--encre); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--a2); }
.ac .rq-porte { margin: 0; color: #B3BDCB; }
.ac .rq-porte a { color: #EEF2F7; }
.ac-droite { display: grid; gap: 14px; min-width: 0; }
.ac-compteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ac-cpt { background: rgba(12,17,25,.85); border: 1px solid #1F2836; border-radius: 12px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; }
.ac-cpt b { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #EEF2F7; min-width: 2ch; text-align: right; }
.ac-cpt span { font-size: 12px; color: #B3BDCB; line-height: 1.25; }
.ac-scene { position: relative; min-height: 440px; display: grid; align-content: center; padding-bottom: 56px; }
.ac-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; pointer-events: none; }
.ac-mosaique { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; transition: opacity .7s, transform .9s; }
.ac-mosaique li { aspect-ratio: 1; perspective: 600px; }
.ac-tuile { display: block; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.ac-int { position: relative; display: block; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.ac-mosaique li.vue .ac-int { transform: rotateY(180deg); }
.ac-face { position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; display: grid; place-items: center; border: 1px solid #1F2836; }
.ac-avant { background: #0f1520; }
.ac-avant i { width: 4px; height: 4px; border-radius: 50%; background: #2B3647; }
/* Au dos : les initiales et les quatre mesures. Le nom complet est dans l'info-bulle et l'aria-label. */
.ac-dos { transform: rotateY(180deg); background: linear-gradient(160deg, #15233a, #0b1119); border-color: #2B3a52; align-content: center; gap: 6px; padding: 4px; box-shadow: inset 0 1px 0 rgba(160,200,255,.12); }
.ac-dos em { font-style: normal; font: 600 14px var(--texte); letter-spacing: .02em; color: #EEF2F7; text-align: center; line-height: 1; }
.ac-pts { display: flex; gap: 3px; }
/* Nombre de clients documentés, en pastille au coin de la tuile retournée (même code que les étiquettes de la sphère). */
.ac-ncl { position: absolute; top: -4px; right: -4px; z-index: 1; min-width: 16px; text-align: center; font: 600 10px/1.45 var(--chiffre); color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); border-radius: 99px; padding: 0 4px; box-shadow: 0 0 0 2px #06080D; font-variant-numeric: tabular-nums; }
/* La pastille occupe le haut de la tuile : les initiales et les points descendent d'autant. */
.ac-dos:has(.ac-ncl) { padding-top: 11px; gap: 4px; }
.ac-dos:has(.ac-ncl) em { font-size: 13px; }
.ac-pt { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #5C6878; display: inline-block; }
.ac-pt.k-px.o { background: #16C2A3; border-color: #16C2A3; }
.ac-pt.k-cl.o { background: #3FA7FF; border-color: #3FA7FF; }
.ac-pt.k-x.o { background: #FFB547; border-color: #FFB547; }
.ac-pt.k-as.o { background: #FF6B5A; border-color: #FF6B5A; }
.ac-mosaique li.eteinte { opacity: .18; transition: opacity .3s; }
.ac-tuile:hover .ac-face, .ac-tuile:focus-visible .ac-face { border-color: #8C98A9; }
.ac-faisceau { position: absolute; top: 0; height: 100%; left: 0; width: 3px; background: linear-gradient(180deg, transparent, #3FA7FF, transparent); box-shadow: 0 0 24px 6px rgba(63,167,255,.45); opacity: 0; pointer-events: none; z-index: 3; }
/* Passage à la constellation : la mosaïque s'efface, les points prennent le relais. */
.ac-scene.constellation canvas { opacity: 1; pointer-events: auto; }
.ac-scene.constellation .ac-mosaique { opacity: 0; transform: scale(.96); pointer-events: none; }
/* Centre de la sphère : « Recherche en cours », puis le chiffre de la réponse. */
.ac-centre { position: absolute; left: 50%; top: calc(50% - 28px); transform: translate(-50%, -50%); z-index: 4; text-align: center; pointer-events: none; display: grid; gap: 2px; }
.ac-centre b { font-size: clamp(54px, 6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #FFFFFF, #BFD9FF); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(90,184,255,.35); animation: ac-surgit .6s cubic-bezier(.2,.8,.2,1); }
.ac-centre small { font-size: 14px; color: #C9D4E2; }
.ac-centre small i { display: block; font-style: normal; font-size: 13px; color: #EEF2F7; margin-top: 4px; }
@keyframes ac-surgit { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.ac-lit.ac-ko { border-color: rgba(255,181,71,.6); box-shadow: 0 0 30px rgba(255,181,71,.2); }
.ac-lit { display: inline-flex; align-items: baseline; gap: 2px; font: 500 15px var(--texte); color: #EEF2F7; background: rgba(12,17,25,.72); border: 1px solid rgba(90,184,255,.45); border-radius: 99px; padding: 8px 16px; box-shadow: 0 0 30px rgba(90,184,255,.25); }
.ac-lit i { width: 4px; height: 4px; border-radius: 50%; background: #5AB8FF; display: inline-block; margin-left: 3px; animation: ac-point 1s infinite; }
.ac-lit i:nth-child(2) { animation-delay: .15s; } .ac-lit i:nth-child(3) { animation-delay: .3s; }
@keyframes ac-point { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
/* Noms des agences qui répondent, en étiquettes autour de l'anneau. */
.ac-etiquettes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ac-etq { position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; font: 500 12.5px var(--texte); color: #EEF2F7; text-decoration: none; background: rgba(12,17,25,.78); border: 1px solid rgba(160,200,255,.28); border-radius: 99px; padding: 3px 4px 3px 10px; backdrop-filter: blur(6px); opacity: 0; transition: border-color .15s; display: inline-flex; align-items: center; gap: 7px; }
.ac-etq:hover { border-color: #EEF2F7; }
.ac-etq span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* Nombre de clients documentés, en pastille lumineuse : ce qui distingue le plus une agence d'une autre. */
.ac-etq b { flex: none; font: 600 11.5px var(--chiffre); color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); border-radius: 99px; padding: 2px 7px; font-variant-numeric: tabular-nums; }
.ac-etq b.zero { color: #C9D4E2; background: rgba(255,255,255,.08); }
/* Une recherche lancée pendant le scan : le chiffre attend la sphère au lieu de se poser sur la mosaïque. */
@media (prefers-reduced-motion: no-preference) { .ac-scene:not(.constellation) .ac-centre { opacity: 0; } }
/* Vers la liste (accueil.mjs, tomber()) : les agences de l'anneau tombent vers le bas, un bandeau dit combien
   attendent en dessous, et la liste se remplit carte par carte quand on y arrive (Coq, 02/10). */
.ac-chute { position: fixed; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #E9FBF7; box-shadow: 0 0 8px 3px #2DE0C0, 0 0 24px 8px rgba(45,224,192,.45); pointer-events: none; z-index: 60; }
.ac-bandeau { position: fixed; left: 50%; bottom: 22px; z-index: 70; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px var(--texte); color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); border-radius: 999px; padding: 12px 20px; box-shadow: 0 14px 34px -8px rgba(0,0,0,.6), 0 0 0 4px rgba(90,184,255,.18); animation: ac-bandeau-in .45s cubic-bezier(.2,.8,.2,1) both; }
.ac-bandeau b { font-weight: 700; }
.ac-bandeau span { display: inline-block; animation: ac-rebond 1.1s ease-in-out infinite; }
.ac-bandeau.part { animation: ac-bandeau-out .3s ease-in both; }
.ac-bandeau.doublon { animation: none; opacity: 0; pointer-events: none; transition: opacity .25s; }
@keyframes ac-bandeau-in { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ac-bandeau-out { to { opacity: 0; transform: translate(-50%, 24px); } }
@keyframes ac-rebond { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: no-preference) {
  .rq-attente .rq-carte { opacity: 0; }
  .rq-cascade .rq-carte { animation: rq-carte-in .55s cubic-bezier(.2,.8,.2,1) both; }
  .rq-cascade .rq-grille > :nth-child(2) { animation-delay: .06s; } .rq-cascade .rq-grille > :nth-child(3) { animation-delay: .12s; }
  .rq-cascade .rq-grille > :nth-child(4) { animation-delay: .18s; } .rq-cascade .rq-grille > :nth-child(5) { animation-delay: .24s; }
  .rq-cascade .rq-grille > :nth-child(6) { animation-delay: .3s; } .rq-cascade .rq-grille > :nth-child(7) { animation-delay: .36s; }
  .rq-cascade .rq-grille > :nth-child(8) { animation-delay: .42s; } .rq-cascade .rq-grille > :nth-child(n+9) { animation-delay: .48s; }
}
@keyframes rq-carte-in { from { opacity: 0; transform: translateY(-26px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ac-bandeau, .ac-bandeau span { animation: none; } }
/* Comète : la demande part du bouton d'envoi vers le centre de la sphère (accueil.mjs, comete()). */
.ac-comete { position: fixed; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px #5AB8FF, 0 0 34px 12px rgba(90,184,255,.55); pointer-events: none; z-index: 60; }
.ac-leg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #C9D4E2; }
.ac-leg b { font: 600 11px var(--chiffre); color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); border-radius: 99px; padding: 1px 7px; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #06080D; letter-spacing: 0; line-height: 1.4; text-shadow: none; animation: none; }
/* Bulle de survol : CLAIRE sur la scène sombre (Coq, 02/10 : « trop sombre, on voit pas bien »), accrochée au
   point par accueil.mjs (montrerBulle), du côté opposé à son étiquette. */
.ac-bulle { position: absolute; z-index: 6; pointer-events: auto; cursor: pointer; background: #FFFFFF; border: 0; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; width: 236px; display: grid; gap: 5px; color: #0F172A; box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.7), 0 0 30px rgba(90,184,255,.35); animation: ac-bulle .16s ease-out; }
.ac-bulle > b { font-size: 15px; }
.ac-bulle span { color: #334155; font-size: 13px; }
.ac-bulle .ac-l { display: flex; gap: 8px; align-items: center; }
.ac-bulle .ac-l-cl { color: #0F172A; }
.ac-bulle .ac-l-cl strong { font: 700 15px var(--chiffre); color: #0F172A; }
.ac-bulle .ac-pt { width: 9px; height: 9px; border-color: #94A3B8; }
.ac-bulle .ac-pt.o { background: #0E9F6E; border-color: #0E9F6E; }
.ac-bulle small { color: #0B6BCB; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
@keyframes ac-bulle { from { opacity: 0; transform: translateY(4px) scale(.97); } to { opacity: 1; transform: none; } }
/* Le pied (compris + bouton) est DANS la scène, en bas : il reste visible sur un portable de 660 px de haut. */
.ac-pied { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 52px; pointer-events: none; }
.ac-pied > * { pointer-events: auto; }
.ac-exemple { margin: 0; font-size: 14px; color: #C9D4E2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.ac-exemple .ac-ex, .ac-exemple .ac-ia { font: 500 11px var(--chiffre); letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 3px 9px; }
.ac-exemple .ac-ex { color: #C9D4E2; border: 1px solid #2B3647; }
.ac-exemple .ac-ia { color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); }
.ac-exemple .ac-reform { flex-basis: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; line-height: 1.35; }
.ac-exemple em { font-style: normal; color: #EEF2F7; background: rgba(45,224,192,.12); border: 1px solid rgba(45,224,192,.45); border-radius: 99px; padding: 2px 10px; font-size: 13px; }
.ac-res { font: inherit; background: none; border: 0; color: #EEF2F7; text-align: right; display: grid; gap: 0; cursor: default; padding: 0; flex: none; }
.ac-res b { font-size: clamp(34px, 4vw, 50px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ac-res small { font-size: 13.5px; color: #B3BDCB; }
/* Après une vraie recherche, le compteur devient le bouton qui mène à la liste. */
.ac-res.actif { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #06080D; background: linear-gradient(90deg, #2DE0C0, #5AB8FF); border-radius: 12px; padding: 12px 18px; box-shadow: 0 10px 30px -10px rgba(90,184,255,.6); animation: ac-surgit .5s cubic-bezier(.2,.8,.2,1); }
.ac-res.actif:hover { filter: brightness(1.08); }
@media (max-width: 900px) {
  .ac-grille { grid-template-columns: 1fr; }
  .ac-compteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Mobile : le pied passe en colonne (critères compris, puis bouton pleine largeur) ; la scène lui fait la place,
     et accueil.mjs recentre l'anneau sur la hauteur réelle du pied. */
  .ac-scene { min-height: 520px; padding-bottom: 120px; }
  .ac-pied { flex-direction: column; align-items: stretch; gap: 8px; }
  .ac-res.actif { justify-content: center; }
  .ac-res:not(.actif) { text-align: left; }
  .ac-mosaique { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
  .ac-dos em { font-size: 12px; }
  .ac-etq { font-size: 11.5px; padding: 2px 3px 2px 8px; max-width: 170px; gap: 5px; }
  .ac-etq b { font-size: 10.5px; padding: 1px 6px; }
}
@media (prefers-reduced-motion: reduce) { .ac-int, .ac-mosaique, .ac-scene canvas { transition: none !important; } .ac-sur i { animation: none; } }
