/* Abyrène — site V2 — feuille de style unique.
 *
 * L'identité « abysses » de la V1, modernisée : fond bleu-noir profond, lueur
 * de cristal, braise pour les surtitres, et une couleur par application.
 * Lisibilité d'abord : texte principal ≥ 15:1, texte secondaire ≥ 7:1,
 * texte discret ≥ 4.5:1 sur le fond.
 *
 * Aucune ressource extérieure : les polices sont servies par le site.
 */

@font-face {
  font-family: 'Cinzel';
  src: url('polices/cinzel.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('polices/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #04060c;
  --fond-2: #070b15;
  --fond-3: #0c1322;
  --surface: rgba(140, 175, 235, .045);
  --surface-forte: rgba(140, 175, 235, .085);
  --bord: rgba(140, 175, 235, .14);
  --bord-fort: rgba(140, 175, 235, .28);
  --texte: #eef2f9;
  --texte-2: #b9c3d6;
  --discret: #8e9ab0;
  --cristal: #7cc7ff;
  --cristal-fort: #3d8bff;
  --braise: #ff7a5c;
  --accent: var(--cristal);
  --accent-2: var(--cristal-fort);
  --sur-accent: #04060c;
  --lueur: rgba(80, 160, 255, .35);
  --rayon: 18px;
  --rayon-petit: 12px;
  --largeur: 1180px;
  --titre: 'Cinzel', 'Times New Roman', serif;
  --corps: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

/* Une couleur par application (contrastes vérifiés sur le fond). */
.app-moki { --accent: #a6e46a; --accent-2: #3fae5a; --lueur: rgba(140, 220, 90, .30); }
.app-colorium { --accent: #ff6fb5; --accent-2: #8a5cff; --lueur: rgba(255, 90, 170, .30); }
.app-candelyx { --accent: #ffab5c; --accent-2: #d9572b; --lueur: rgba(255, 150, 70, .28); }
.app-clavyx { --accent: #e6c06e; --accent-2: #9b7a37; --lueur: rgba(230, 190, 110, .26); }
.app-spiriom { --accent: #45dcc0; --accent-2: #3a8cf0; --lueur: rgba(60, 220, 190, .28); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cristal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #b3ddff; }
:focus-visible { outline: 2px solid var(--cristal); outline-offset: 3px; border-radius: 6px; }
p, ul, ol, dl, h1, h2, h3, h4, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
strong { font-weight: 600; color: var(--texte); }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cristal); color: var(--sur-accent); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
}
.evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .conteneur { padding: 0 24px; } }

/* ─────────────── typographie ─────────────── */
.surtitre {
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--braise); margin-bottom: .9rem;
}
.surtitre--app { color: var(--accent); margin-bottom: .2rem; }
.titre-section {
  font-family: var(--titre); font-weight: 600; letter-spacing: .02em;
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem); color: #fff;
}
.titre-section--petit { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem); }
.section__tete { max-width: 760px; margin-bottom: 2.5rem; }
.section__intro { color: var(--texte-2); margin-top: 1rem; font-size: 1.0625rem; }
.note { color: var(--discret); font-size: .875rem; margin-top: 1.25rem; max-width: 900px; }
.note--centre { text-align: center; margin-left: auto; margin-right: auto; }

/* ─────────────── boutons et puces ─────────────── */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.actions--centre { justify-content: center; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.bouton .ico { width: 1.1em; height: 1.1em; }
.bouton--plein { background: var(--accent); color: var(--sur-accent); box-shadow: 0 8px 28px -10px var(--lueur); }
.bouton--plein:hover { color: var(--sur-accent); transform: translateY(-1px); box-shadow: 0 12px 34px -10px var(--lueur); filter: brightness(1.06); }
.bouton--cristal { background: linear-gradient(135deg, #9ad6ff, #4f95ff); }
.bouton--fantome { color: var(--texte); border: 1px solid var(--bord-fort); background: rgba(255, 255, 255, .02); }
.bouton--fantome:hover { color: #fff; border-color: var(--accent); background: var(--surface-forte); }

.puces { display: flex; flex-wrap: wrap; gap: .45rem; }
.puces li {
  font-size: .8125rem; font-weight: 500; color: var(--texte-2);
  padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--bord); background: var(--surface);
}
.statut {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.statut::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.statut--disponible { color: #8ff0b4; background: rgba(60, 200, 120, .12); border: 1px solid rgba(60, 200, 120, .3); }
.statut--beta { color: #ffcf7a; background: rgba(255, 180, 60, .12); border: 1px solid rgba(255, 180, 60, .3); }
.statut--retiree { color: var(--texte-2); background: var(--surface); border: 1px solid var(--bord); }
.puces .statut { padding: .3rem .7rem; font-size: .75rem; }

/* ─────────────── en-tête ─────────────── */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 6, 12, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--bord);
}
.entete__barre { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.marque {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff;
  font-family: var(--titre); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; font-size: 1rem;
}
.marque:hover { color: #fff; }
.marque img { width: auto; height: 30px; filter: drop-shadow(0 0 8px rgba(90, 170, 255, .55)); }
.nav-large { display: none; margin-left: auto; }
.nav-large ul { display: flex; gap: .25rem; }
.nav-large a, .menu nav a {
  display: block; padding: .5rem .8rem; border-radius: 10px;
  color: var(--texte-2); text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.nav-large a:hover, .menu nav a:hover { color: #fff; background: var(--surface-forte); }
.entete__outils { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
@media (min-width: 960px) {
  .nav-large { display: block; }
  .entete__outils { margin-left: .5rem; }
  .menu { display: none; }
}
.partage {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .7rem;
  border-radius: 12px; color: var(--texte-2); background: transparent; font: inherit; font-size: .875rem; font-weight: 600;
  border: 1px solid transparent;
}
.partage[hidden] { display: none; }
.partage:hover, .partage:focus-visible { color: #fff; background: var(--surface-forte); border-color: var(--bord); }
.partage__texte { display: none; }
@media (min-width: 560px) { .partage__texte { display: inline; } }
.partage__etat {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; white-space: nowrap;
  padding: .45rem .8rem; border-radius: 10px; font-size: .8125rem; color: #fff;
  background: #0b1120; border: 1px solid var(--bord-fort); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .9);
}
.partage__etat:empty { display: none; }
details.langues, details.menu { position: relative; }
details.langues > summary, details.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; min-width: 44px; justify-content: center; padding: 0 .7rem;
  border-radius: 12px; color: var(--texte-2); font-size: .875rem; font-weight: 600; letter-spacing: .06em;
  border: 1px solid transparent;
}
details > summary::-webkit-details-marker { display: none; }
details.langues > summary:hover, details.menu > summary:hover, details.langues[open] > summary, details.menu[open] > summary { color: #fff; background: var(--surface-forte); border-color: var(--bord); }
.langues__liste, .menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 200px; padding: .4rem; border-radius: 14px;
  background: #0b1120; border: 1px solid var(--bord-fort); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .9);
}
.langues__liste a {
  display: block; padding: .6rem .8rem; border-radius: 10px; color: var(--texte-2); text-decoration: none; font-size: .9375rem;
}
.langues__liste a:hover { background: var(--surface-forte); color: #fff; }
.langues__liste a[aria-current] { color: #fff; background: var(--surface); box-shadow: inset 3px 0 0 var(--cristal); }
.menu nav { min-width: 230px; }
.menu nav a { padding: .7rem .9rem; font-size: 1rem; }

/* ─────────────── héros de l'accueil ─────────────── */
.heros { position: relative; overflow: hidden; isolation: isolate; padding: 3rem 0 3.5rem; }
.heros__fond { position: absolute; inset: 0; z-index: -1; }
.heros__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 30%; opacity: .9; }
.heros__fond::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(60, 120, 255, .16), transparent 70%),
    linear-gradient(180deg, rgba(4, 6, 12, .55) 0%, rgba(4, 6, 12, .35) 40%, var(--fond) 100%),
    linear-gradient(90deg, rgba(4, 6, 12, .85) 0%, rgba(4, 6, 12, .35) 60%, rgba(4, 6, 12, .5) 100%);
}
.heros__grille { display: grid; gap: 2.5rem; align-items: center; }
.heros__nom { margin: .25rem 0 1.25rem; }
.heros__nom img { width: min(520px, 92%); filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .7)); }
.heros__accroche {
  font-family: var(--titre); font-weight: 500; color: #fff; letter-spacing: .01em;
  font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.25; max-width: 22ch;
}
.heros__intro { color: var(--texte-2); margin-top: 1rem; max-width: 56ch; }
.acces { margin-top: 2.25rem; }
.acces__titre { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--discret); font-weight: 600; margin-bottom: .75rem; }
.acces ul { display: grid; grid-template-columns: repeat(5, minmax(0, 72px)); gap: .25rem; }
.acces a {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .5rem .1rem;
  border-radius: 14px; text-decoration: none; color: var(--texte-2); font-size: .75rem; font-weight: 500;
}
.acces a:hover { background: var(--surface-forte); color: #fff; }
.acces .icone-app { width: 48px; height: 48px; }

.vitrine { position: relative; height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
.vitrine .telephone { position: absolute; width: 190px; top: 30px; }
.vitrine__1 { left: 4%; transform: rotate(-7deg); opacity: .9; }
.vitrine__2 { left: 50%; margin-left: -105px; width: 210px !important; top: 0 !important; z-index: 2; }
.vitrine__3 { right: 4%; transform: rotate(7deg); opacity: .9; }
@media (max-width: 430px) {
  .vitrine { height: 340px; }
  .vitrine .telephone { width: 150px; }
  .vitrine__2 { width: 168px !important; margin-left: -84px; }
  .vitrine__1 { left: 0; } .vitrine__3 { right: 0; }
}
@media (min-width: 960px) {
  .heros { padding: 5rem 0 6rem; }
  .heros__grille { grid-template-columns: 1.05fr .95fr; }
  .vitrine { height: 560px; }
  .vitrine .telephone { width: 230px; top: 50px; }
  .vitrine__2 { width: 255px !important; margin-left: -128px; }
}

/* ─────────────── téléphone (cadre des captures) ─────────────── */
.telephone {
  border-radius: 30px; padding: 7px;
  background: linear-gradient(160deg, #1d2638, #0a0f1a 60%);
  box-shadow: 0 0 0 1px rgba(150, 185, 240, .22), 0 30px 60px -24px rgba(0, 0, 0, .95), 0 0 70px -24px var(--lueur);
}
.telephone img { border-radius: 24px; width: 100%; }

/* ─────────────── sections ─────────────── */
.section { padding: 4rem 0; }
@media (min-width: 960px) { .section { padding: 6rem 0; } }
.section--sombre { background: linear-gradient(180deg, var(--fond-2), var(--fond) 100%); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }

/* catalogue */
.groupe + .groupe { margin-top: 3.5rem; }
.groupe__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--bord); }
.groupe__tete h3 { font-family: var(--titre); font-size: 1.35rem; color: #fff; }
.groupe__tete p { color: var(--discret); font-size: .9375rem; }
.grille-apps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grille-apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grille-apps--jeux { grid-template-columns: repeat(3, 1fr); } }

.carte-app {
  display: flex; flex-direction: column; border-radius: var(--rayon); overflow: hidden;
  background: linear-gradient(180deg, var(--fond-3), var(--fond-2));
  border: 1px solid var(--bord); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.carte-app:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); box-shadow: 0 24px 60px -30px var(--lueur); }
.carte-app__haut { position: relative; }
.carte-app__haut .statut { position: absolute; top: .85rem; left: .85rem; z-index: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.carte-app__haut .statut--disponible { background: rgba(10, 40, 25, .75); }
.carte-app__haut .statut--beta { background: rgba(45, 30, 5, .75); }
.carte-app__visuel {
  position: relative; display: block; height: 210px; overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(60% 60% at 15% 0%, color-mix(in srgb, var(--accent-2) 25%, transparent), transparent 70%),
    #070b14;
  border-bottom: 1px solid var(--bord);
}
.carte-app__visuel img {
  position: absolute; left: 50%; top: 26px; width: 46%; max-width: 200px; transform: translateX(-50%) rotate(-3deg);
  border-radius: 18px; box-shadow: 0 0 0 5px #121a29, 0 0 0 6px rgba(150, 185, 240, .25), 0 24px 40px -10px rgba(0, 0, 0, .9);
  transition: transform .35s ease;
}
.carte-app:hover .carte-app__visuel img { transform: translateX(-50%) rotate(0deg) translateY(-6px); }
.carte-app__corps { display: flex; flex-direction: column; gap: .85rem; padding: 1.25rem 1.25rem 1.4rem; flex: 1; }
.carte-app__tete { display: flex; align-items: center; gap: .85rem; }
.carte-app__categorie { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.carte-app__nom { font-family: var(--titre); font-size: 1.5rem; letter-spacing: .03em; }
.carte-app__nom a { color: #fff; text-decoration: none; }
.carte-app__nom a:hover { color: var(--accent); }
.carte-app__accroche { font-family: var(--titre); color: #fff; font-size: 1.05rem; }
.carte-app__texte { color: var(--texte-2); font-size: .975rem; }
.carte-app__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.carte-app__actions .bouton { flex: 1 1 0; min-height: 44px; padding: .6rem 1rem; font-size: .9375rem; }

.icone-app {
  width: 56px; height: 56px; flex: none; border-radius: 16px; object-fit: contain; padding: 4px;
  background: #0a1020; border: 1px solid var(--bord);
}
.icone-app--grande { width: 88px; height: 88px; border-radius: 24px; padding: 6px; box-shadow: 0 0 50px -14px var(--lueur); }
.icone-app--eteinte { filter: grayscale(1) brightness(.75); }

/* tableau comparatif */
.tableau-cadre { border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); overflow: hidden; }
.comparatif { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.comparatif th, .comparatif td { text-align: left; padding: .9rem 1rem; vertical-align: top; }
.comparatif thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); font-weight: 600; background: rgba(255, 255, 255, .02); }
.comparatif tbody tr { border-top: 1px solid var(--bord); }
.comparatif tbody th a { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 600; }
.comparatif tbody th a:hover { color: var(--accent); }
.comparatif .icone-app { width: 32px; height: 32px; border-radius: 9px; padding: 2px; }
.comparatif td { color: var(--texte-2); }
@media (max-width: 859px) {
  .comparatif thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparatif, .comparatif tbody, .comparatif tr, .comparatif th, .comparatif td { display: block; }
  .comparatif tbody tr { padding: .5rem 0 .9rem; }
  .comparatif tbody tr:first-child { border-top: 0; }
  .comparatif tbody th { padding: .6rem 1rem .4rem; }
  .comparatif td { display: grid; grid-template-columns: 40% 1fr; gap: .75rem; padding: .35rem 1rem; }
  .comparatif td::before { content: attr(data-etiquette); color: var(--discret); font-size: .8125rem; }
}

/* engagements */
.engagements { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .engagements { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .engagements { grid-template-columns: repeat(3, 1fr); } }
.engagement { padding: 1.5rem; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.engagement__ico { width: 2.25rem; height: 2.25rem; color: var(--cristal); margin-bottom: 1rem; padding: .45rem; border-radius: 12px; background: rgba(124, 199, 255, .08); border: 1px solid rgba(124, 199, 255, .2); box-sizing: content-box; }
.engagement h3 { font-size: 1.125rem; margin-bottom: .45rem; color: #fff; }
.engagement p { color: var(--texte-2); font-size: .975rem; }

/* installer */
.etapes { display: grid; gap: 1rem; counter-reset: etape; }
@media (min-width: 800px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etape { position: relative; padding: 1.5rem; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); counter-increment: etape; }
.etape::after { content: counter(etape); position: absolute; top: 1.1rem; right: 1.25rem; font-family: var(--titre); font-size: 2rem; color: rgba(124, 199, 255, .18); }
.etape__ico { width: 2rem; height: 2rem; color: var(--cristal); margin-bottom: .9rem; }
.etape h3 { font-size: 1.125rem; color: #fff; margin-bottom: .4rem; }
.etape p { color: var(--texte-2); font-size: .975rem; }

/* studio */
.studio__grille { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .studio__grille { grid-template-columns: 1.4fr .6fr; } }
.studio__texte > p:not(.surtitre):not(.archives) { color: var(--texte-2); margin-top: 1rem; max-width: 62ch; }
.studio__cristal { display: flex; justify-content: center; }
.studio__cristal img { width: 120px; filter: drop-shadow(0 0 40px rgba(80, 160, 255, .55)); animation: flotter 7s ease-in-out infinite; }
@media (min-width: 900px) { .studio__cristal img { width: 150px; } }
@keyframes flotter { 50% { transform: translateY(-12px); } }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2rem; }
@media (min-width: 640px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffres li { padding: 1rem 1.1rem; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); }
.chiffres strong { display: block; font-family: var(--titre); font-size: 2rem; color: #fff; line-height: 1.1; }
.chiffres span { color: var(--texte-2); font-size: .875rem; }
.archives { margin-top: 1.5rem; color: var(--discret); font-size: .9375rem; }

/* contact */
.contact { max-width: 720px; margin: 0 auto; text-align: center; padding: 2.5rem 1.25rem; border-radius: 24px; border: 1px solid var(--bord); background: radial-gradient(80% 120% at 50% 0%, rgba(60, 130, 255, .14), transparent 70%), var(--surface); }
.contact > p:not(.surtitre) { color: var(--texte-2); margin: 1rem auto 1.75rem; max-width: 52ch; }
.contact .contact__adresse { margin: 1rem 0 0; font-size: .9375rem; color: var(--discret); }

/* ─────────────── page d'application ─────────────── */
.heros-app { position: relative; overflow: hidden; isolation: isolate; padding: 2rem 0 3rem; }
.heros-app__lueur { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 60% at 80% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
  radial-gradient(40% 50% at 10% 0%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%); }
.heros-app__grille { display: grid; gap: 2.5rem; align-items: center; }
.fil { display: flex; gap: .5rem; font-size: .875rem; color: var(--discret); margin-bottom: 1.5rem; }
.fil a { color: var(--texte-2); text-decoration: none; }
.fil a:hover { color: #fff; text-decoration: underline; }
.heros-app__identite { display: flex; align-items: center; gap: 1rem; }
.heros-app h1 { font-family: var(--titre); font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem); letter-spacing: .03em; color: #fff; }
.heros-app__accroche { font-family: var(--titre); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem); color: #fff; margin-top: 1.25rem; }
.heros-app__intro { color: var(--texte-2); margin-top: .75rem; max-width: 58ch; }
.puces--heros { margin-top: 1.5rem; }
.heros-app__visuel { display: none; position: relative; height: 560px; }
.heros-app__visuel .telephone { position: absolute; width: 250px; }
.telephone--avant { right: 22%; top: 0; z-index: 2; }
.telephone--arriere { right: 0; top: 60px; transform: rotate(6deg); opacity: .75; }
@media (min-width: 960px) {
  .heros-app { padding: 2.5rem 0 4rem; }
  .heros-app__grille { grid-template-columns: 1.1fr .9fr; }
  .heros-app__visuel { display: block; }
}
.alerte { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.25rem; padding: .9rem 1rem; border-radius: var(--rayon-petit); background: rgba(255, 180, 60, .08); border: 1px solid rgba(255, 180, 60, .3); color: #ffe2b0; font-size: .9375rem; max-width: 60ch; }
.alerte .ico { color: #ffcf7a; margin-top: .1rem; }

.section--galerie { padding-top: 2rem; padding-bottom: 1rem; }
.galerie__aide { color: var(--discret); font-size: .875rem; margin-top: .35rem; }
@media (min-width: 1100px) { .galerie__aide { display: none; } }
.galerie {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.75rem 16px 1rem;
  scrollbar-width: thin; scrollbar-color: var(--bord-fort) transparent;
}
.galerie li { flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
@media (min-width: 600px) { .galerie { padding-left: 24px; padding-right: 24px; } .galerie li { width: 250px; } }
@media (min-width: 1100px) { .galerie { justify-content: center; overflow: visible; } }
.galerie figcaption { margin-top: .9rem; color: var(--texte-2); font-size: .9rem; text-align: center; padding: 0 .25rem; }

.section--essentiel { padding-top: 3rem; }
.essentiel { display: grid; gap: 2.25rem; }
.essentiel--1 .bloc-texte { max-width: 72ch; }
@media (min-width: 900px) { .essentiel--2 { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.bloc-texte h3 { font-family: var(--titre); font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem); color: #fff; margin-bottom: 1rem; }
.bloc-texte p { color: var(--texte-2); }
.bloc-texte p + p { margin-top: 1rem; }
.fonctions__titre { margin-top: 3.5rem; }
.fonctions { display: grid; gap: .85rem; margin-top: 1.5rem; }
@media (min-width: 560px) { .fonctions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .fonctions { grid-template-columns: repeat(3, 1fr); } }
.fonctions li { padding: 1.1rem 1.15rem; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); }
.fonctions__num { display: block; font-family: var(--titre); color: var(--accent); font-size: .9rem; letter-spacing: .08em; margin-bottom: .35rem; }
.fonctions h3 { font-size: 1.0625rem; color: #fff; margin-bottom: .3rem; }
.fonctions p { color: var(--texte-2); font-size: .9375rem; }

.fiche-grille { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .fiche-grille { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.fiche { margin-top: 1.5rem; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); overflow: hidden; }
.fiche div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .85rem 1.15rem; }
.fiche div + div { border-top: 1px solid var(--bord); }
@media (min-width: 560px) { .fiche div { grid-template-columns: 9.5rem 1fr; gap: 1rem; } }
.fiche dt { color: var(--discret); font-size: .875rem; font-weight: 500; }
.fiche dd { margin: 0; color: var(--texte); font-size: .975rem; overflow-wrap: anywhere; }
.encadres { display: grid; gap: 1rem; align-content: start; }
.encadre { padding: 1.4rem; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.encadre h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; color: #fff; margin-bottom: .85rem; }
.encadre h2 .ico { color: var(--accent); width: 1.4em; height: 1.4em; }
.encadre p, .encadre li { color: var(--texte-2); font-size: .95rem; }
.encadre ul { display: grid; gap: .55rem; margin-bottom: 1rem; }
.encadre li { position: relative; padding-left: 1.1rem; }
.encadre li::before { content: ''; position: absolute; left: 0; top: .65em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); }
.encadre--donnees { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

.appel__boite { text-align: center; max-width: 720px; padding: 3rem 1.25rem; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--fond-2); }
.appel__boite .icone-app { margin: 0 auto 1.25rem; }
.appel__boite p { color: var(--texte-2); margin: .75rem 0 1.75rem; }
.appel { padding-bottom: 2rem; }

.voisines { padding-top: 3rem; }
.voisines__liste { display: grid; gap: .75rem; margin-top: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .voisines__liste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .voisines__liste { grid-template-columns: repeat(4, 1fr); } }
.voisines__liste a { display: flex; align-items: center; gap: .85rem; padding: .85rem; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); text-decoration: none; }
.voisines__liste a:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--surface-forte); }
.voisines__liste .icone-app { width: 48px; height: 48px; border-radius: 13px; }
.voisines__liste strong { display: block; color: #fff; font-family: var(--titre); font-size: 1.05rem; }
.voisines__liste small { display: block; color: var(--discret); font-size: .8125rem; }

/* ─────────────── documents (politique, mentions) ─────────────── */
.doc { padding-top: 3rem; padding-bottom: 5rem; }
.doc--etroit { max-width: 860px; }
.doc__tete { max-width: 760px; margin-bottom: 2.5rem; }
.doc__date { color: var(--discret); font-size: .9375rem; margin-top: .75rem; }
.doc__intro { color: var(--texte-2); margin-top: 1.25rem; }
.doc__grille { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .doc__grille { grid-template-columns: 250px 1fr; gap: 3.5rem; } .doc__sommaire { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; } }
.doc__sommaire details { border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface); padding: .4rem .5rem; }
.doc__sommaire summary { cursor: pointer; padding: .5rem .6rem; font-weight: 600; color: #fff; font-size: .9375rem; }
.doc__sommaire ol { counter-reset: s; padding: 0 0 .4rem; }
.doc__sommaire li { counter-increment: s; }
.doc__sommaire a { display: block; padding: .35rem .6rem; border-radius: 8px; color: var(--texte-2); text-decoration: none; font-size: .9rem; }
.doc__sommaire a::before { content: counter(s, decimal-leading-zero) ' '; color: var(--discret); font-variant-numeric: tabular-nums; }
.doc__sommaire a:hover { background: var(--surface-forte); color: #fff; }
.doc__corps { counter-reset: section; min-width: 0; }
.doc__section { padding: 2rem 0; border-top: 1px solid var(--bord); counter-increment: section; }
.doc__section:first-child { border-top: 0; padding-top: 0; }
.doc__section > h2 { display: flex; align-items: center; gap: .75rem; font-family: var(--titre); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.65rem); color: #fff; margin-bottom: 1rem; }
.page-doc .doc__section > h2::before { content: counter(section, decimal-leading-zero); font-family: var(--corps); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--braise); }
.doc--etroit .doc__section > h2::before { display: none; }
.doc__section > h2 .icone-app { width: 40px; height: 40px; border-radius: 11px; padding: 3px; }
.doc__section p, .doc__section li { color: var(--texte-2); }
.doc__section p + p, .doc__section ul + p, .doc__section p + ul { margin-top: .9rem; }
.doc__section ul { display: grid; gap: .5rem; }
.doc__section li { position: relative; padding-left: 1.15rem; }
.doc__section li::before { content: ''; position: absolute; left: 0; top: .7em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--cristal); }
.doc__section--app li::before { background: var(--accent); }
.doc__lien { font-size: .9375rem; margin-bottom: .5rem; }
.doc__bloc { margin-top: 1.5rem; padding: 1.15rem 1.25rem; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); }
.doc__bloc h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.doc__bloc h4 { font-size: 1rem; color: #fff; margin: 1.25rem 0 .4rem; }
.doc__bloc h4:first-of-type { margin-top: .25rem; }

/* ─────────────── pages seules (retirées, 404) ─────────────── */
.seul { min-height: 70vh; display: flex; align-items: center; background: radial-gradient(60% 60% at 50% 20%, rgba(60, 120, 255, .12), transparent 70%); }
.seul__boite { max-width: 680px; text-align: center; }
.seul__boite > * + * { margin-top: 1rem; }
.seul__boite .icone-app, .seul__cristal { margin: 0 auto 1.25rem; }
.seul__cristal { height: 96px; width: auto; filter: drop-shadow(0 0 24px rgba(80, 160, 255, .6)); }
.seul__boite p:not(.statut):not(.seul__code) { color: var(--texte-2); }
.seul__boite .statut { display: inline-flex; }
.seul__code { font-family: var(--titre); font-size: 3.5rem; color: rgba(124, 199, 255, .35); line-height: 1; }

/* ─────────────── aiguillage de la racine ─────────────── */
.aiguillage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 16px; text-align: center;
  background: radial-gradient(50% 50% at 50% 40%, rgba(60, 120, 255, .14), transparent 70%); }
.aiguillage img { height: 96px; width: auto; filter: drop-shadow(0 0 24px rgba(80, 160, 255, .6)); }
.aiguillage__nom { font-family: var(--titre); letter-spacing: .3em; text-transform: uppercase; color: #fff; font-size: 1.25rem; }
.aiguillage p { color: var(--texte-2); }
.aiguillage ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
.aiguillage a { display: block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--bord-fort); color: var(--texte); text-decoration: none; }
.aiguillage a:hover { border-color: var(--cristal); }

/* ─────────────── pied de page ─────────────── */
.pied { border-top: 1px solid var(--bord); background: var(--fond-2); padding: 3rem 0 1.5rem; margin-top: 0; }
.pied__grille { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.pied__marque { grid-column: 1 / -1; }
@media (min-width: 860px) { .pied__grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .pied__marque { grid-column: auto; } }
.pied__marque p { color: var(--discret); font-size: .9375rem; margin-top: .75rem; }
.pied h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--discret); font-weight: 600; margin-bottom: .75rem; }
.pied .pied__sous-titre { margin-top: 1.5rem; }
.pied ul { display: grid; gap: .35rem; }
.pied ul a { color: var(--texte-2); text-decoration: none; font-size: .9375rem; }
.pied ul a:hover { color: #fff; text-decoration: underline; }
.pied ul a[aria-current] { color: #fff; }
.pied__langues { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 1.25rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--bord); color: var(--discret); font-size: .8125rem; }

@media print {
  .entete, .partage, .pied, .heros__fond, .vitrine, .heros-app__visuel, .galerie { display: none !important; }
  body { background: #fff; color: #000; }
  .doc__section p, .doc__section li, .doc__bloc h3 { color: #000; }
}
