/* Téléphone — page d'accueil du site (28/10, refonte sur le modèle du site
   de la Matrice d'Eisenhower). En-tête, pied, polices : /site/commun.css.
   Sombre par défaut, clair si choisi ([data-theme="clair"], site.js).
   Héros : logo animé (ondes d'appel, combiné qui sonne) et halo rouge SDI ;
   démonstration « filtre vivant » (les appels se rangent tout seuls,
   accueil.js) ; grille bento ; « Découvrir » généré (tools/site_pages.py)
   présenté en onglets sur PC et en carrousel sur smartphone. Sans script,
   tout reste lisible ; animations coupées si le système demande moins
   d'animations. */
:root {
  --acc-fond: #0b090a;
  --acc-fond2: #141013;
  --acc-carte: #181317;
  --acc-texte: #f2eef0;
  --acc-doux: #aaa2a8;
  --acc-pale: #766d73;
  --acc-ligne: rgba(255, 255, 255, .08);
  --acc-ligne2: rgba(255, 255, 255, .14);
  --acc-accent: #e0575b;
  --acc-accent-clair: #ff9a9d;
  --acc-halo: rgba(224, 87, 91, .40);
  --acc-point: rgba(255, 255, 255, .12);
  --acc-titre-haut: #ffffff;
  --acc-titre-bas: #d6c3c7;
  --acc-verre: rgba(24, 19, 23, .82);
  --acc-ombre: 0 30px 70px -24px rgba(0, 0, 0, .85);
  --v-sonne: #3ccf8e;
  --v-averti: #f5a524;
  --v-bloque: #ef4f55;
  --v-rappel: #6ea8ff;
  --r1: #e0575b;
  --r2: #ff8a65;
  --r3: #a91f23;
  --r4: #ff5c8a;
  --acc-teinte: .14;
  --acc-titre: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --acc-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
:root[data-theme="clair"] {
  --acc-fond: #f7f5f6;
  --acc-fond2: #efeaec;
  --acc-carte: #ffffff;
  --acc-texte: #1d1719;
  --acc-doux: #62585d;
  --acc-pale: #8d8389;
  --acc-ligne: rgba(29, 23, 25, .10);
  --acc-ligne2: rgba(29, 23, 25, .16);
  --acc-accent: #a91f23;
  --acc-accent-clair: #a91f23;
  --acc-halo: rgba(169, 31, 35, .20);
  --acc-point: rgba(29, 23, 25, .12);
  --acc-titre-haut: #1d1719;
  --acc-titre-bas: #5a3a40;
  --acc-verre: rgba(255, 255, 255, .88);
  --acc-ombre: 0 24px 60px -24px rgba(29, 23, 25, .35);
  --v-sonne: #1f9d63;
  --v-averti: #c77c00;
  --v-bloque: #c62828;
  --v-rappel: #2f6fd6;
  --acc-teinte: .08;
}
* { box-sizing: border-box; }
/* Défilement doux et marge des ancres sous l'en-tête : /site/commun.css. */
body {
  margin: 0; background: var(--acc-fond); color: var(--acc-texte);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body > .site-entete { margin-bottom: -70px; }
/* En défilant, la barre se resserre (sans jamais couper les liens). */
.acc-bas .site-entete-int { max-width: 1080px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .55); }
.acc-bas .site-marque-sous { display: none; }
a { color: var(--acc-accent-clair); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--acc-titre); text-wrap: balance; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
main.accueil { max-width: none; margin: 0; padding: 0; }
main :focus-visible { outline: 2px solid var(--acc-accent); outline-offset: 3px; border-radius: 8px; }
.acc-int { max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.acc-progression {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--r3), var(--r1), var(--r2));
}

/* ---------- Héros ---------- */
.acc-hero { position: relative; padding: 130px 0 24px; isolation: isolate; overflow: hidden; }
.acc-hero::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: 760px; height: 520px; margin-left: -380px; z-index: -2;
  border-radius: 50%; filter: blur(90px); opacity: .5;
  background: conic-gradient(from var(--acc-angle), var(--r1), var(--r2), var(--r3), var(--r4), var(--r1));
  animation: acc-tourne 18s linear infinite;
}
:root[data-theme="clair"] .acc-hero::before { opacity: .22; }
.acc-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: radial-gradient(var(--acc-point) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 28%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 28%, #000 30%, transparent 75%);
}
@property --acc-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes acc-tourne { to { --acc-angle: 360deg; } }
.acc-hero-txt { text-align: center; display: grid; justify-items: center; gap: 22px; }
.acc-pastille {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  font-size: .82rem; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none;
  background: var(--acc-carte); color: var(--acc-doux); border: 1px solid var(--acc-ligne);
}
.acc-pastille::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--acc-angle), transparent 0 60%, var(--r3) 70%, var(--r1) 80%, var(--r2) 90%, transparent);
  animation: acc-tourne 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.acc-pastille em {
  font-style: normal; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc-accent) 20%, transparent); color: var(--acc-accent-clair);
}
.acc-pastille:hover { color: var(--acc-texte); }
@media (max-width: 420px) { .acc-pastille .acc-long { display: none; } }
.acc-hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 4.6rem); line-height: 1.04; font-weight: 800;
  background: linear-gradient(180deg, var(--acc-titre-haut) 30%, var(--acc-titre-bas));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acc-hero h1 .acc-degrade {
  display: block;
  background: linear-gradient(90deg, var(--r3), var(--r1) 40%, var(--r2));
  -webkit-background-clip: text; background-clip: text;
}
:root:not([data-theme="clair"]) .acc-hero h1 .acc-degrade { background-image: linear-gradient(90deg, var(--r1), var(--r4) 45%, var(--r2)); }
.acc-chapo { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--acc-doux); max-width: 36em; }
.acc-chapo strong { color: var(--acc-texte); font-weight: 600; }
.acc-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.acc-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 600; font-size: .95rem; padding: 13px 22px; border-radius: 14px; color: var(--acc-texte);
  translate: var(--mx, 0) var(--my, 0);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), translate .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, border-color .25s;
}
.acc-btn:hover { transform: translateY(-2px); }
.acc-btn-plein {
  overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #d4474c, #a91f23);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 10px 30px -8px var(--acc-halo);
}
.acc-btn-plein::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  animation: acc-reflet 3.6s ease-in-out infinite;
}
@keyframes acc-reflet { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.acc-btn-contour { background: var(--acc-carte); border: 1px solid var(--acc-ligne2); }
.acc-btn-contour:hover { border-color: var(--acc-accent); }
.acc-touche { font: 500 .68rem var(--acc-mono); padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .22); }
.acc-gages { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center; font-size: .85rem; color: var(--acc-doux); list-style: none; margin: 0; padding: 0; }
.acc-gages li { display: inline-flex; gap: 6px; align-items: center; }
.acc-gages svg { width: 15px; height: 15px; color: var(--v-sonne); }
.acc-test { font-size: .82rem; color: var(--acc-doux); max-width: 40em; }

/* Logo animé : le logo flotte, des ondes d'appel s'élargissent autour, et
   de temps en temps le combiné « sonne » (petit tremblement). Survol : il
   sonne tout de suite. */
.acc-logo { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.acc-logo img {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 28px; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 50px -12px var(--acc-halo);
  animation: acc-entre .9s cubic-bezier(.2, 1.4, .4, 1) backwards, acc-sonnerie 6s ease-in-out 1.4s infinite;
}
.acc-logo:hover img { animation: acc-sonne .7s ease-in-out; }
.acc-onde {
  position: absolute; inset: 0; border-radius: 34px; border: 2px solid var(--acc-accent); opacity: 0;
  animation: acc-onde 3s cubic-bezier(.2, .6, .3, 1) infinite;
}
.acc-onde:nth-child(2) { animation-delay: 1s; }
.acc-onde:nth-child(3) { animation-delay: 2s; }
@keyframes acc-entre { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }
@keyframes acc-onde { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes acc-sonnerie {
  0%, 100% { transform: translateY(0) rotate(0); }
  3%, 9% { transform: translateY(-4px) rotate(-8deg); } 6%, 12% { transform: translateY(-4px) rotate(8deg); }
  15% { transform: translateY(-2px) rotate(0); } 55% { transform: translateY(-8px); }
}
@keyframes acc-sonne { 15%, 55% { transform: rotate(-10deg); } 35%, 75% { transform: rotate(10deg); } }
.acc-logo-final { width: 112px; height: 112px; }
.acc-js .acc-logo-final:not(.acc-joue) img, .acc-js .acc-logo-final:not(.acc-joue) .acc-onde { animation-play-state: paused; }
@media (max-width: 760px) { .acc-logo { width: 96px; height: 96px; } .acc-logo img { border-radius: 23px; } }

/* Scène : l'historique sur PC, les récents sur smartphone devant ; bulles
   d'appels triés (numéros fictifs). */
.acc-scene { position: relative; margin: 56px auto 0; max-width: 1000px; perspective: 1600px; }
.acc-fenetre {
  position: relative; margin: 0 70px 0 0; border-radius: 16px; padding: 30px 6px 6px; background: var(--acc-fond2);
  border: 1px solid var(--acc-ligne2); box-shadow: var(--acc-ombre), 0 0 120px -30px var(--acc-halo);
  transform: rotateX(10deg); transform-origin: 50% 100%; transition: transform .4s ease-out;
}
.acc-fenetre::before {
  content: ""; position: absolute; left: 14px; top: 11px; width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57; box-shadow: 15px 0 0 #febc2e, 30px 0 0 #28c840;
}
.acc-fenetre img { display: block; width: 100%; height: auto; border-radius: 10px; }
.acc-tel {
  position: absolute; right: 0; bottom: -40px; width: 200px; border-radius: 34px; padding: 8px;
  background: linear-gradient(160deg, #3f3a3e, #151214);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, var(--acc-ombre);
}
.acc-tel img { display: block; width: 100%; height: auto; border-radius: 27px; }
.acc-bulle {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1.35;
  padding: 10px 14px; border-radius: 14px; background: var(--acc-verre); border: 1px solid var(--acc-ligne2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-align: left;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .45); animation: acc-flotte 6s ease-in-out infinite;
}
.acc-bulle b { font-weight: 600; display: block; font-variant-numeric: tabular-nums; }
.acc-bulle small { display: block; color: var(--acc-doux); font-size: .75rem; }
.acc-b1 { left: -24px; top: 18%; }
.acc-b2 { right: 150px; top: -26px; animation-delay: -2s; }
.acc-b3 { left: 6%; bottom: -34px; animation-delay: -4s; }
@keyframes acc-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* Verdict d'un appel (bulles, bandes, démonstration). */
.acc-tag { font: 700 .7rem var(--acc-mono); padding: 3px 8px; border-radius: 7px; white-space: nowrap; color: #fff; background: var(--acc-pale); }
.acc-tag.sonne { background: var(--v-sonne); color: #062a19; }
.acc-tag.averti { background: var(--v-averti); color: #2a1a00; }
.acc-tag.bloque { background: var(--v-bloque); }
.acc-tag.rappel { background: var(--v-rappel); color: #fff; }
:root[data-theme="clair"] .acc-tag.sonne { color: #fff; }
@media (max-width: 760px) {
  .acc-hero { padding-top: 120px; }
  .acc-fenetre { margin-right: 40px; }
  .acc-tel { width: 120px; border-radius: 22px; padding: 5px; bottom: -30px; }
  .acc-tel img { border-radius: 18px; }
  .acc-b1 { left: 0; top: -30px; } .acc-b2 { display: none; } .acc-b3 { left: 0; bottom: -46px; }
}

/* ---------- Bandes défilantes ---------- */
.acc-defile {
  margin-top: 90px; border-block: 1px solid var(--acc-ligne); overflow: hidden; padding: 16px 0; display: grid; gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.acc-defile-piste { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; animation: acc-defile 55s linear infinite; }
.acc-defile-inverse { animation-direction: reverse; animation-duration: 65s; }
.acc-defile:hover .acc-defile-piste, .acc-defile.acc-arret .acc-defile-piste { animation-play-state: paused; }
.acc-defile li {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--acc-doux);
  padding: 6px 10px 6px 12px; border-radius: 10px; border: 1px solid var(--acc-ligne); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.acc-puce { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-accent); box-shadow: 0 0 10px var(--acc-halo); }
@keyframes acc-defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.acc-section { padding-top: 100px; }
.acc-etiquette { font: 600 .74rem var(--acc-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--acc-accent-clair); }
.acc-tete { display: grid; gap: 14px; max-width: 700px; margin-bottom: 44px; }
.acc-tete h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.05; font-weight: 700; }
.acc-tete p { color: var(--acc-doux); font-size: 1.05rem; }
.acc-apparait.acc-vu { animation: acc-monte .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes acc-monte { from { opacity: .001; transform: translateY(18px); } }

/* ---------- Filtre vivant : les appels se rangent tout seuls ---------- */
.acc-tri { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-tri-entree {
  display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--acc-carte); border: 1px solid var(--acc-ligne);
  position: sticky; top: 100px;
}
.acc-tri-entree p { color: var(--acc-doux); font-size: .9rem; }
.acc-tri-entree .acc-tri-total { color: var(--acc-texte); font-weight: 600; }
.acc-tri-total span {
  font: 800 1.5rem/1 var(--acc-titre); color: var(--v-bloque); font-variant-numeric: tabular-nums; margin-right: 4px;
  display: inline-block;
}
.acc-tri-total span.acc-pop { animation: acc-pop .5s cubic-bezier(.3, 1.8, .5, 1); }
.acc-tri-file { display: grid; gap: 8px; min-height: 62px; margin: 0; padding: 0; list-style: none; }
.acc-appel {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.25;
  background: var(--acc-fond); border: 1px solid var(--acc-ligne2); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .6); min-width: 0;
}
.acc-appel i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 .8rem var(--acc-titre); font-style: normal; color: #fff; background: var(--acc-pale);
}
.acc-appel span { min-width: 0; }
.acc-appel b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-appel small { display: block; color: var(--acc-doux); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-bac-sonne .acc-appel i { background: var(--v-sonne); color: #062a19; }
.acc-bac-averti .acc-appel i { background: var(--v-averti); color: #2a1a00; }
.acc-bac-bloque .acc-appel i { background: var(--v-bloque); }
.acc-bac-bloque .acc-appel b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--v-bloque) 70%, transparent); }
/* L'appel entrant « sonne » : pastille qui vibre, halo qui pulse. */
.acc-tri-file .acc-appel { border-color: color-mix(in srgb, var(--acc-accent) 50%, transparent); }
.acc-tri-file .acc-appel i { background: var(--acc-accent); animation: acc-sonne .6s ease-in-out infinite; box-shadow: 0 0 0 0 var(--acc-halo); }
.acc-appel.acc-arrive { animation: acc-arrive .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes acc-arrive { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.acc-appel.acc-part { animation: acc-part .4s ease both; }
@keyframes acc-part { to { opacity: 0; transform: scale(.9); } }
.acc-bacs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acc-bac {
  --b: var(--v-sonne);
  position: relative; display: grid; align-content: start; gap: 10px; min-height: 260px; padding: 14px; border-radius: 18px;
  background: color-mix(in srgb, var(--b) calc(var(--acc-teinte) * 100%), var(--acc-carte));
  border: 1px solid color-mix(in srgb, var(--b) 35%, transparent);
  transition: box-shadow .4s, transform .4s cubic-bezier(.2, .8, .2, 1); min-width: 0;
}
.acc-bac-averti { --b: var(--v-averti); }
.acc-bac-bloque { --b: var(--v-bloque); }
.acc-bac.acc-flash { box-shadow: 0 0 0 2px var(--b), 0 12px 40px -10px var(--b); transform: scale(1.015); }
.acc-bac header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.acc-bac header i { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--b); display: grid; place-items: center; }
.acc-bac header i svg { width: 16px; height: 16px; color: #fff; }
.acc-bac header span { min-width: 0; }
.acc-bac header b { display: block; font-family: var(--acc-titre); font-size: 1.05rem; line-height: 1.15; }
.acc-bac header small { display: block; color: var(--acc-doux); font-size: .78rem; line-height: 1.3; }
.acc-bac-n {
  margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  font: 700 .78rem var(--acc-mono); font-style: normal; background: var(--acc-fond); color: var(--acc-texte); border: 1px solid var(--acc-ligne2);
}
.acc-bac ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 980px) {
  .acc-tri { grid-template-columns: 1fr; }
  .acc-tri-entree { position: static; }
}
@media (max-width: 620px) {
  .acc-bacs { grid-template-columns: 1fr; gap: 8px; }
  .acc-bac { min-height: 0; padding: 10px; border-radius: 14px; }
  .acc-bac li:nth-child(n+3) { display: none; }
}

/* ---------- Grille « bento » ---------- */
.acc-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; perspective: 1200px; }
.acc-carte {
  position: relative; isolation: isolate; grid-column: span 2; display: flex; flex-direction: column; gap: 8px;
  min-height: 320px; padding: 24px 24px 0; border-radius: 22px; overflow: hidden;
  background: var(--acc-carte); border: 1px solid var(--acc-ligne);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .3s;
}
.acc-carte::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--acc-accent) 16%, transparent), transparent 45%);
}
.acc-carte::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), var(--acc-accent-clair), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.acc-bento:hover .acc-carte::before, .acc-bento:hover .acc-carte::after { opacity: 1; }
.acc-carte h3 { font-size: 1.3rem; font-weight: 700; }
.acc-carte p { color: var(--acc-doux); font-size: .95rem; max-width: 42ch; }
.acc-carte-large { grid-column: span 4; }
.acc-cliche {
  margin-top: auto; border-radius: 16px 16px 0 0; border: 1px solid var(--acc-ligne2); border-bottom: 0; overflow: hidden;
  transform: translateY(26px); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.acc-carte:hover .acc-cliche { transform: translateY(10px); }
.acc-cliche img { display: block; width: 100%; height: auto; aspect-ratio: 412 / 470; object-fit: cover; object-position: top; }
.acc-carte-large .acc-cliche img { aspect-ratio: 1000 / 470; }
.acc-chiffres { display: grid; gap: 10px; margin: auto 0 24px; padding: 0; list-style: none; }
.acc-chiffres li {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 14px; background: var(--acc-fond); border: 1px solid var(--acc-ligne);
  color: var(--acc-doux); font-size: .95rem; line-height: 1.3; transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.acc-chiffres li:hover { transform: translateX(4px); }
.acc-chiffre {
  font: 800 2.1rem/1 var(--acc-titre); text-align: center; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--acc-titre-haut), var(--acc-accent-clair)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acc-chiffres li.acc-fini .acc-chiffre { animation: acc-pop .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes acc-pop { 40% { transform: scale(1.35); } }
.acc-js .acc-bento:not(.acc-vu) .acc-carte { opacity: .001; translate: 0 26px; }
.acc-bento.acc-vu .acc-carte { animation: acc-cascade .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.acc-bento.acc-vu .acc-carte:nth-child(2) { animation-delay: .08s; }
.acc-bento.acc-vu .acc-carte:nth-child(3) { animation-delay: .16s; }
.acc-bento.acc-vu .acc-carte:nth-child(4) { animation-delay: .24s; }
.acc-bento.acc-vu .acc-carte:nth-child(5) { animation-delay: .32s; }
.acc-bento.acc-vu .acc-carte:nth-child(6) { animation-delay: .40s; }
.acc-bento.acc-vu .acc-carte:nth-child(7) { animation-delay: .48s; }
@keyframes acc-cascade { from { opacity: 0; translate: 0 34px; } }
@media (max-width: 900px) { .acc-carte, .acc-carte-large { grid-column: span 3; } }
@media (max-width: 620px) { .acc-bento { grid-template-columns: 1fr; } .acc-carte, .acc-carte-large { grid-column: auto; min-height: 0; } }

/* ---------- Engagements ---------- */
.acc-engagements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.acc-engagement {
  display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 20px;
  background: var(--acc-carte); border: 1px solid var(--acc-ligne); transition: border-color .3s, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.acc-engagement:hover { border-color: color-mix(in srgb, var(--acc-accent) 50%, transparent); transform: translateY(-3px); }
.acc-engagement i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--acc-accent-clair);
  background: color-mix(in srgb, var(--acc-accent) 16%, transparent);
}
.acc-engagement i svg { width: 22px; height: 22px; }
.acc-engagement h3 { font-size: 1.12rem; font-weight: 700; }
.acc-engagement p { color: var(--acc-doux); font-size: .93rem; }
.acc-engagement.acc-vu:nth-child(2) { animation-delay: .08s; }
.acc-engagement.acc-vu:nth-child(3) { animation-delay: .16s; }
.acc-engagement.acc-vu:nth-child(4) { animation-delay: .24s; }
@media (max-width: 900px) { .acc-engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .acc-engagements { grid-template-columns: 1fr; } }

/* ---------- Découvrir (bloc généré) : onglets sur PC, carrousel sur smartphone ----------
   Deux visites : smartphone (.visite-tel) et PC (.visite-pc) ; celle de
   l'écran du visiteur est montrée, « Voir l'autre version » inverse. */
.acc-autre {
  display: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: 8px 14px; border-radius: 12px;
  color: var(--acc-texte); background: var(--acc-carte); border: 1px solid var(--acc-ligne2); transition: border-color .2s;
}
.acc-autre:hover { border-color: var(--acc-accent); }
.acc-js .acc-autre { display: inline-flex; }
.visite-pc { display: none; }
body.autre-visite .visite-tel { display: none; }
body.autre-visite .visite-pc { display: block; }
@media (min-width: 820px) {
  .visite-tel { display: none; }
  .visite-pc { display: block; }
  body.autre-visite .visite-pc { display: none; }
  body.autre-visite .visite-tel { display: block; }
}
.acc-decouvrir .fonctions { list-style: none; margin: 0; padding: 0; }
.acc-decouvrir .fonction { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; align-items: start; min-width: 0; }
.acc-decouvrir .fonction-txt { text-align: left; }
.acc-decouvrir .fonction-num { font: 600 .74rem var(--acc-mono); color: var(--acc-accent-clair); letter-spacing: .1em; }
.acc-decouvrir .fonction h3 { font-size: 1.35rem; font-weight: 700; margin: 4px 0 8px; color: var(--acc-texte); }
.acc-decouvrir .fonction p { color: var(--acc-doux); max-width: 62ch; }
/* Écran : capture aux bonnes proportions (aspect-ratio en ligne), cadre de
   l'élément montré par l'étape placé en pourcentage. */
.acc-ecran { margin: 0; min-width: 0; }
.capture {
  position: relative; overflow: hidden; border-radius: 22px; background: var(--acc-carte);
  border: 1px solid var(--acc-ligne2); box-shadow: var(--acc-ombre); margin: 0 auto;
}
.capture img { display: block; width: 100%; height: 100%; object-fit: fill; }
.capture .cadre {
  position: absolute; border: 3px solid var(--acc-accent); border-radius: 10px; pointer-events: none;
  box-sizing: border-box; margin: -4px; padding: 4px; box-shadow: 0 0 0 0 var(--acc-halo);
  animation: acc-cadre 2.4s ease-in-out infinite;
}
@keyframes acc-cadre { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc-accent) 25%, transparent); } }
/* Smartphone : contour de téléphone ; PC : fenêtre avec ses trois points. */
.visite-tel .fonction:not(.paysage) .capture {
  border-radius: 28px; border: 0;
  box-shadow: 0 0 0 7px #1c181b, 0 0 0 8px rgba(255, 255, 255, .14), var(--acc-ombre);
}
.visite-pc .acc-ecran, .visite-tel .fonction.paysage .acc-ecran {
  position: relative; border-radius: 16px; padding: 30px 6px 6px; background: var(--acc-fond2);
  border: 1px solid var(--acc-ligne2); box-shadow: var(--acc-ombre);
}
.visite-pc .acc-ecran::before, .visite-tel .fonction.paysage .acc-ecran::before {
  content: ""; position: absolute; left: 14px; top: 11px; width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57; box-shadow: 15px 0 0 #febc2e, 30px 0 0 #28c840;
}
.visite-pc .capture, .visite-tel .fonction.paysage .capture { border-radius: 10px; box-shadow: none; width: 100%; }
.acc-visite-nav, .acc-visite-fleches { display: none; }
.acc-fleche {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--acc-ligne2); background: var(--acc-carte);
  color: var(--acc-texte); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center;
}
.acc-fleche:hover { border-color: var(--acc-accent); }
.acc-fleche:disabled { opacity: .35; cursor: default; }
.acc-compteur { font: 600 .82rem var(--acc-mono); color: var(--acc-doux); min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) {
  /* Carrousel : on fait glisser les écrans du doigt (défilement aimanté). */
  .acc-decouvrir .fonctions {
    display: flex; gap: 20px; align-items: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 16px 24px; margin: 0 -16px; scrollbar-width: none;
  }
  .acc-decouvrir .fonction { flex: 0 0 min(74vw, 300px); }
  .acc-decouvrir .visite-pc .fonction, .acc-decouvrir .visite-tel .fonction.paysage { flex-basis: min(86vw, 560px); }
  .acc-decouvrir .fonctions::-webkit-scrollbar { display: none; }
  .acc-decouvrir .fonction { scroll-snap-align: center; }
  .visite-tel .fonction:not(.paysage) .capture { width: calc(100% - 16px); }
  .acc-js .acc-visite-fleches { display: flex; justify-content: center; align-items: center; gap: 14px; }
}
@media (min-width: 700px) {
  .acc-decouvrir .fonctions { display: grid; gap: 64px; }
  .acc-decouvrir .fonction-txt { order: -1; }
  /* Écran de smartphone : à côté du texte, à hauteur fixe (largeur déduite des proportions). */
  .visite-tel .fonction:not(.paysage) .capture { height: min(540px, 66vh); width: auto; }
  .acc-js .acc-visite { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
  .acc-js .acc-visite-nav {
    display: grid; gap: 2px; position: sticky; top: 96px; margin: 0; padding: 0; list-style: none;
    max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin;
  }
  .acc-visite-nav button {
    width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; font: inherit; font-size: .9rem;
    color: var(--acc-doux); background: transparent; border: 0; border-radius: 10px; padding: 7px 10px; cursor: pointer;
    transition: background .2s, color .2s;
  }
  .acc-visite-nav button span { font: 600 .7rem var(--acc-mono); color: var(--acc-doux); min-width: 2ch; font-variant-numeric: tabular-nums; }
  .acc-visite-nav button:hover { color: var(--acc-texte); background: var(--acc-fond2); }
  .acc-visite-nav button[aria-selected="true"] { color: var(--acc-texte); background: var(--acc-carte); box-shadow: inset 2px 0 0 var(--acc-accent), 0 0 0 1px var(--acc-ligne); font-weight: 600; }
  .acc-visite-nav button[aria-selected="true"] span { color: var(--acc-accent-clair); }
  .acc-js .acc-decouvrir .fonctions { display: block; min-width: 0; }
  .acc-js .acc-decouvrir .fonction { display: none; }
  .acc-js .acc-decouvrir .fonction.acc-actif { display: grid; animation: acc-fondu .45s ease both; }
  .acc-js .acc-decouvrir .fonction-num { display: none; }
}
@media (min-width: 1000px) {
  .visite-tel .fonction:not(.paysage) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
  .visite-tel .fonction:not(.paysage) .capture { height: min(580px, 72vh); }
}
@keyframes acc-fondu { from { opacity: 0; transform: translateY(8px); } }

/* ---------- FAQ (29/10) : questions en <details>, sans script ---------- */
.acc-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: start; }
.acc-faq .acc-tete { position: sticky; top: 100px; margin-bottom: 0; }
.acc-faq-liste { display: grid; gap: 10px; }
.acc-faq-q {
  border-radius: 18px; background: var(--acc-carte); border: 1px solid var(--acc-ligne);
  transition: border-color .3s, background-color .3s;
}
.acc-faq-q:hover { border-color: color-mix(in srgb, var(--acc-accent) 40%, transparent); }
.acc-faq-q[open] { border-color: color-mix(in srgb, var(--acc-accent) 55%, transparent); }
.acc-faq-q summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  min-height: 44px; padding: 16px 18px 16px 20px; border-radius: 18px;
  font: 600 1.05rem/1.35 var(--acc-titre); letter-spacing: -.01em; color: var(--acc-texte);
}
.acc-faq-q summary::-webkit-details-marker { display: none; }
.acc-faq-q summary i {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px;
  background: color-mix(in srgb, var(--acc-accent) 14%, transparent); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.acc-faq-q summary i::before, .acc-faq-q summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--acc-accent-clair);
}
.acc-faq-q summary i::after { transform: rotate(90deg); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.acc-faq-q[open] summary i { transform: rotate(180deg); }
.acc-faq-q[open] summary i::after { transform: rotate(0deg); }
.acc-faq-r { padding: 0 20px 18px; color: var(--acc-doux); font-size: .97rem; }
.acc-faq-r p + p { margin-top: 10px; }
.acc-faq-r strong { color: var(--acc-texte); font-weight: 600; }
.acc-faq-r code { font: .88em var(--acc-mono); padding: 1px 5px; border-radius: 5px; background: var(--acc-fond2); }
.acc-faq-q[open] .acc-faq-r { animation: acc-faq-ouvre .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes acc-faq-ouvre { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) {
  .acc-faq { grid-template-columns: minmax(0, 1fr); }
  .acc-faq .acc-tete { position: static; }
}
@media (max-width: 520px) {
  .acc-faq-q summary { font-size: 1rem; padding: 14px 14px 14px 16px; }
  .acc-faq-r { padding: 0 16px 16px; }
}

/* ---------- Appel final ---------- */
.acc-final {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 110px; padding: 90px 24px;
  display: grid; gap: 22px; justify-items: center; text-align: center; border-radius: 32px; border: 1px solid var(--acc-ligne);
}
.acc-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 260px at 50% 100%, var(--acc-halo), transparent 70%), linear-gradient(180deg, var(--acc-fond2), var(--acc-fond));
}
.acc-final::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--acc-accent) 18%, transparent), transparent 60%);
}
.acc-final:hover::after { opacity: 1; }
.acc-final h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.acc-final p { color: var(--acc-doux); max-width: 50ch; }
.acc-final .acc-contact { font-size: .9rem; color: var(--acc-doux); }
@media (max-width: 520px) { .acc-final { padding: 64px 18px; border-radius: 24px; } }

/* Moins d'animations demandées : tout est figé, rien ne se cache. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .acc-js .acc-bento:not(.acc-vu) .acc-carte, .acc-js .acc-bento .acc-carte { opacity: 1; translate: none; }
  .acc-onde { display: none; }
}

/* 27/11 — capture « Rappeler » : la feuille du bas est en bas de l'image. */
.acc-cliche-bas img { object-position: bottom; }
.acc-lien-fleche { font-weight: 600; text-decoration: none; }
.acc-lien-fleche:hover, .acc-lien-fleche:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
