/*
 * Site de présentation GPAE (D-58) : feuille statique, mise en cache par le navigateur. Couleurs, polices, espacements,
 * rayons et ombres : uniquement les variables de la charte (CharteVitrine, design/tokens.json), charte FTGroup (D-59)
 * Thème clair : fonds blancs et gris clair, bleu et orange de la charte en accents, pied de page bleu nuit.
 * Animations sur transform et opacity ; toutes coupées si l'utilisateur réduit
 * les animations. Sans script, tout reste lisible (classe .js posée par vitrine.js).
 */
:root {
    --v-bleu: var(--ftgroup-bleu);
    --v-sur-bleu: var(--on-ftgroup-bleu);
    --v-orange: var(--ftgroup-orange);
    --v-sur-orange: var(--on-ftgroup-orange);
    --v-nuit: var(--ftgroup-bleu-nuit);
    --v-titres: var(--police-titres, var(--police-sans));
    --v-largeur: 1160px;
    --v-entete: 72px;
    --v-ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--v-entete) + 64px); }
body { margin: 0; background: var(--surface); color: var(--ink); font: var(--texte-corps); overflow-x: hidden; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.conteneur { width: 100%; max-width: var(--v-largeur); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 768px) { .conteneur { padding: 0 var(--space-6); } }
.evitement { position: absolute; left: -10000px; }
.evitement:focus { left: var(--space-4); top: var(--space-2); z-index: 100; padding: var(--space-2) var(--space-3); background: var(--surface-raised); color: var(--ink); border-radius: var(--radius-md); }
.icone { width: 24px; height: 24px; flex: none; }

/* Logo : « GP » orange, « AE » bleu (blanc sur fond bleu), mention « Une solution FTGroup ». */
.marque { display: inline-flex; flex-direction: column; color: inherit; text-decoration: none; line-height: 1; }
.solution { font: var(--texte-legende); margin-top: 3px; color: var(--ink-muted); }
.logo-image { display: inline-flex; }
.logo-image img { display: block; width: auto; height: 36px; }

/* En-tête fixe et blanc ; ombre dès que la page défile. */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--v-entete); color: var(--ink); background: var(--surface-raised); border-bottom: 1px solid var(--line); transition: box-shadow .35s; }
.entete .conteneur { height: 100%; display: flex; align-items: center; gap: var(--space-3); }
.entete.defile { box-shadow: var(--shadow-2); }
@supports (backdrop-filter: blur(4px)) and (background: color-mix(in srgb, red 50%, blue)) {
    .entete.defile { background: color-mix(in srgb, var(--surface-raised) 90%, transparent); backdrop-filter: blur(16px) saturate(1.4); }
}
.nav { display: none; margin-left: auto; align-items: center; gap: var(--space-1); }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: var(--cible-tactile); padding: 0 var(--space-3); color: inherit; font: var(--texte-libelle); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px; height: 2px; border-radius: 2px; background: var(--v-orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--v-ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ecole-strong); }
.langues { display: flex; gap: 2px; margin-left: auto; }
.langues a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--cible-tactile); min-height: var(--cible-tactile); color: inherit; font: var(--texte-libelle); text-decoration: none; border-radius: var(--radius-pill); border: 1px solid transparent; }
.langues a[aria-current="true"] { background: var(--ecole-soft); color: var(--ecole-strong); border-color: var(--ecole-strong); }
.entete .cta { display: none; }
.burger { display: none; width: var(--cible-tactile); height: var(--cible-tactile); padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.js .burger { display: inline-grid; }
.burger-traits { display: grid; gap: 5px; }
.burger-traits span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--v-ease), opacity .2s; }
.menu-ouvert .burger-traits span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .burger-traits span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger-traits span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) {
    .nav { display: flex; }
    .langues { margin-left: var(--space-2); }
    .entete .cta { display: inline-flex; margin-left: var(--space-2); }
    .js .burger { display: none; }
}
.menu-mobile { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; padding: calc(var(--v-entete) + var(--space-5)) var(--space-5) var(--space-6); background: var(--surface-raised); color: var(--ink); transform: translateY(-102%); visibility: hidden; transition: transform .5s var(--v-ease), visibility .5s; overflow-y: auto; }
.menu-ouvert .menu-mobile { transform: none; visibility: visible; }
.menu-ouvert .entete { box-shadow: none; }
.pied-logo { margin: 0 0 var(--space-2); }
.pied-logo .logo-image img { height: 40px; }
.menu-mobile a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; color: inherit; font: var(--texte-titre); font-family: var(--v-titres); text-decoration: none; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .45s var(--v-ease); transition-delay: calc(var(--i, 0) * 70ms + 150ms); }
.menu-mobile .bouton { margin-top: var(--space-6); justify-content: center; border: 0; }
.menu-ouvert .menu-mobile a { opacity: 1; transform: none; }
.menu-ouvert body { overflow: hidden; }

/* Boutons */
.bouton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--cible-tactile); padding: var(--space-3) var(--space-5); overflow: hidden; font: var(--texte-libelle); text-decoration: none; border: 2px solid transparent; border-radius: var(--radius-pill); cursor: pointer; transition: transform .25s var(--v-ease), box-shadow .25s; }
.bouton:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.bouton .icone { width: 20px; height: 20px; transition: transform .25s var(--v-ease); }
.bouton:hover .icone { transform: translateX(3px); }
.bouton.principal { background: var(--ecole-strong); color: var(--on-ecole-strong); }
.bouton.accent { background: var(--v-orange); color: var(--v-sur-orange); }
.bouton.accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, var(--v-sur-bleu) 50%, transparent 70%); opacity: .35; transform: translateX(-120%); animation: reflet 4.5s ease-in-out infinite 2s; }
.bouton.contour { background: transparent; color: inherit; border-color: currentColor; }
.bouton.large { width: 100%; }
@keyframes reflet { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Bandeaux clairs en aplat (blanc, gris clair), trame discrète, sans dégradé ; appel final en aplat bleu de la charte. */
.heros, .heros-page, .appel-final { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--surface-raised); }
.heros-page { background: var(--surface-sunken); }
.appel-final { color: var(--v-sur-bleu); background: var(--v-bleu); }
.appel-final :focus-visible { outline-color: var(--v-sur-bleu); }
.heros::before, .heros-page::before, .appel-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 56px 56px; opacity: .04; }
.heros { min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--v-entete) + var(--space-6)) 0 var(--space-7); }
.heros-grille { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .heros-grille { grid-template-columns: 1.08fr .92fr; } }
.surtitre { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--ecole-soft); color: var(--ecole-strong); font: var(--texte-libelle); }
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v-orange); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--v-orange); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.heros h1 { margin: var(--space-5) 0; font-family: var(--v-titres); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; }
.ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.ligne > span { display: inline-block; animation: monte 1s var(--v-ease) both; animation-delay: calc(var(--i, 0) * 140ms + 100ms); }
/* Mot-clé du titre : bleu de la charte souligné d'orange (l'orange seul n'est pas lisible sur blanc). */
.ligne.accent { padding-bottom: .24em; }
.ligne.accent > span { color: var(--v-bleu); text-decoration: underline var(--v-orange); text-decoration-thickness: .14em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
.heros .chapeau { max-width: 58ch; font-size: 1.12rem; line-height: 1.6; color: var(--ink-muted); margin-bottom: var(--space-6); animation: apparait .9s var(--v-ease) both .45s; }
.heros .actions { animation: apparait .9s var(--v-ease) both .6s; }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); padding: 0; list-style: none; animation: apparait .9s var(--v-ease) both .75s; }
.badges li { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); font: var(--texte-corps-petit); }
.badges .icone { width: 18px; height: 18px; color: var(--success); }
@keyframes apparait { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.heros-page { padding: calc(var(--v-entete) + var(--space-7)) 0 var(--space-7); }
.heros-page.avec-carte { padding-bottom: 136px; }
.espace-bas { padding-bottom: var(--space-7); }
.heros-page h1 { font-family: var(--v-titres); font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin: var(--space-4) 0 var(--space-4); }
.heros-page .chapeau { max-width: 62ch; font-size: 1.08rem; line-height: 1.6; color: var(--ink-muted); animation: apparait .9s var(--v-ease) both .3s; }
.heros-page .surtitre { animation: apparait .8s var(--v-ease) both; }

/* Maquette du téléphone (illustration créée pour le site, décorative). */
.scene { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.telephone { position: relative; width: 272px; transform: rotateY(calc(var(--px, 0) * 14deg - 8deg)) rotateX(calc(var(--py, 0) * -10deg + 4deg)); transform-style: preserve-3d; transition: transform .2s linear; }
.telephone-corps { position: relative; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px; background: var(--v-nuit); box-shadow: 0 0 0 2px var(--line), 0 40px 70px -30px var(--v-nuit), var(--shadow-2); animation: leve 7s ease-in-out infinite; }
@keyframes leve { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.telephone-encoche { position: absolute; top: 18px; left: 50%; z-index: 3; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: var(--v-nuit); }
.ecrans { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: var(--surface); color: var(--ink); }
.ecran { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 46px 14px 14px; opacity: 0; transform: translateX(24px) scale(.98); transition: opacity .6s var(--v-ease), transform .6s var(--v-ease); }
.ecran.actif { opacity: 1; transform: none; }
.ecran-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--ecole); color: var(--on-ecole); font: var(--texte-libelle); }
.ecran-tete .logo-image img { height: 16px; }
.ecran-ligne { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-1); font: var(--texte-corps-petit); }
.ecran.actif .ecran-ligne { animation: apparait .55s var(--v-ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ecole-soft); color: var(--ecole-strong); font: var(--texte-legende); font-weight: 700; }
.ecran-ligne .nom { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pastille { padding: 3px 8px; border-radius: var(--radius-pill); font: var(--texte-legende); font-weight: 700; white-space: nowrap; }
.pastille.success { background: var(--success-soft); color: var(--success); }
.pastille.danger { background: var(--danger-soft); color: var(--danger); }
.pastille.warning { background: var(--warning-soft); color: var(--warning); }
.pastille.info { background: var(--info-soft); color: var(--info); }
.ecran-note { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.ecran-bas { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--warning-soft); color: var(--warning); font: var(--texte-legende); }
.ecran-bas.ok { background: var(--success-soft); color: var(--success); }
.ecran-bas .icone { width: 18px; height: 18px; }
.montant { font-family: var(--v-titres); font-weight: 800; font-size: 28px; letter-spacing: -.02em; text-align: center; margin-top: 6px; white-space: nowrap; }
.operateur { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.confirme { display: grid; place-items: center; gap: 6px; text-align: center; font: var(--texte-libelle); color: var(--success); }
.confirme .rond { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--success-soft); }
.ecran.actif .confirme .rond { animation: rebond .7s var(--v-ease) both .2s; }
@keyframes rebond { 0% { transform: scale(.2); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.qr { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; width: 92px; margin: 0 auto; padding: 6px; border-radius: 10px; background: var(--surface-raised); box-shadow: var(--shadow-1); }
.qr i { aspect-ratio: 1; border-radius: 1px; }
.qr i.plein { background: var(--ink); }
.points-ecran { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-4); }
.points-ecran span { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--line-strong); transition: width .4s var(--v-ease), background-color .4s; }
.points-ecran span.actif { width: 24px; background: var(--v-orange); }
.bulle { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--space-2); max-width: 230px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-2); font: var(--texte-corps-petit); font-weight: 600; transform: translate3d(calc(var(--px, 0) * var(--p, 20) * 1px), calc(var(--py, 0) * var(--p, 20) * 1px), 0); animation: apparait .8s var(--v-ease) both; animation-delay: calc(var(--i, 0) * 250ms + 900ms); }
.bulle .rond { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ecole-soft); color: var(--ecole-strong); }
.bulle .rond .icone { width: 18px; height: 18px; }
.bulle.b1 { top: 8%; left: -4%; --p: 36; }
.bulle.b2 { top: 46%; right: -6%; --p: -28; }
.bulle.b3 { bottom: 8%; left: 2%; --p: 22; }
@media (max-width: 520px) { .bulle { max-width: 180px; } .bulle.b1 { left: 0; } .bulle.b2 { right: 0; } .scene { min-height: 520px; } }

/* Ruban défilant des modules, en aplat bleu entre le bandeau et les sections. */
.ruban { overflow: hidden; padding: var(--space-4) 0; background: var(--v-bleu); color: var(--v-sur-bleu); -webkit-mask-image: linear-gradient(90deg, transparent, currentColor 10%, currentColor 90%, transparent); mask-image: linear-gradient(90deg, transparent, currentColor 10%, currentColor 90%, transparent); }
.ruban-piste { display: flex; gap: var(--space-6); width: max-content; animation: defile 46s linear infinite; }
.ruban:hover .ruban-piste { animation-play-state: paused; }
.ruban-piste span { display: inline-flex; align-items: center; gap: var(--space-6); font-family: var(--v-titres); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.ruban-piste span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v-orange); }
@keyframes defile { to { transform: translateX(-50%); } }
/* Sections */
.section { padding: var(--space-7) 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section.alterne { background: var(--surface-sunken); }
.tete-section { max-width: 720px; margin-bottom: var(--space-6); }
.tete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.etiquette { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); color: var(--ecole-strong); font: var(--texte-libelle); letter-spacing: .08em; text-transform: uppercase; }
.etiquette::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--v-orange); }
.tete-section h2 { font-family: var(--v-titres); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; }
.tete-section p { margin-top: var(--space-3); color: var(--ink-muted); font-size: 1.06rem; line-height: 1.6; }
.grille { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grille.deux, .grille.quatre, .grille.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grille.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.carte { position: relative; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-1); transition: transform .35s var(--v-ease), box-shadow .35s, border-color .35s; }
.carte h3 { font-family: var(--v-titres); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: var(--space-4) 0 var(--space-2); }
.carte p { color: var(--ink-muted); line-height: 1.6; }
/* Cartes d'atouts : liseré orange en haut, comme les repères chiffrés. */
.lumiere { border-top: 3px solid var(--v-orange); }
.lumiere:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--v-orange); }
.tuile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--ecole-soft); color: var(--ecole-strong); }
.tuile .icone { width: 28px; height: 28px; }
.icone > * { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js [data-apparait] .tuile .icone > * { stroke-dashoffset: 100; }
.js [data-apparait].visible .tuile .icone > * { animation: trace 1.4s var(--v-ease) forwards .25s; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.points { margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.55; }
.points li + li { margin-top: var(--space-3); }
.points li .icone { width: 20px; height: 20px; margin-top: 2px; color: var(--success); }

/* Apparition au défilement (posée par vitrine.js) */
.js [data-apparait] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--v-ease), transform .9s var(--v-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-apparait].visible { opacity: 1; transform: none; }
.js .lumiere[data-apparait].visible:hover { transform: translateY(-6px); transition-delay: 0s; }

/* Hors ligne : schéma téléphone, file d'attente, serveur, dans un cadre en pointillés. */
.synchro-grille { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 1024px) { .synchro-grille { grid-template-columns: 1fr 1fr; gap: var(--space-7); } }
.schema { position: relative; padding: var(--space-6) var(--space-4); border: 2px dashed var(--ecole-strong); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-1); }
.noeuds { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2); }
.noeud { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-2); width: 96px; text-align: center; font: var(--texte-corps-petit); font-weight: 600; }
.noeud .tuile { position: relative; width: 64px; height: 64px; background: var(--v-bleu); color: var(--v-sur-bleu); }
.piste { position: absolute; left: 48px; right: 48px; top: 31px; height: 2px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); background-size: 12px 2px; }
.paquet { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--v-orange); box-shadow: 0 0 12px var(--v-orange); opacity: 0; }
.en-ligne .paquet { animation: voyage 2.4s var(--v-ease) infinite; animation-delay: calc(var(--i, 0) * 380ms); }
@keyframes voyage { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
.compteur-file { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--v-orange); color: var(--v-sur-orange); font: var(--texte-legende); font-weight: 700; transition: transform .4s var(--v-ease), opacity .4s; }
.en-ligne .compteur-file { transform: scale(0); opacity: 0; }
.coupure { position: absolute; left: calc(25% + 24px); top: 17px; margin-left: -14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--danger-soft); color: var(--danger); transition: transform .4s var(--v-ease), opacity .4s; }
.coupure .icone { width: 16px; height: 16px; }
.en-ligne .coupure { transform: scale(0); opacity: 0; }
.etat { display: flex; justify-content: center; margin-top: var(--space-6); }
.etat span { display: inline-flex; align-items: center; gap: var(--space-2); padding: 8px 14px; border-radius: var(--radius-pill); font: var(--texte-corps-petit); font-weight: 600; }
.etat .hors { background: var(--warning-soft); color: var(--warning); }
.etat .ok { display: none; background: var(--success-soft); color: var(--success); }
.en-ligne .etat .hors { display: none; }
.en-ligne .etat .ok { display: inline-flex; }
.etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etape { position: relative; padding-left: 64px; }
.etape + .etape { margin-top: var(--space-5); }
.etape::before { counter-increment: etape; content: counter(etape); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--v-orange); color: var(--v-sur-orange); font-family: var(--v-titres); font-weight: 800; }
.etape:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: calc(var(--space-5) * -1 + 8px); width: 2px; background: var(--line-strong); }
.etape h3 { font-family: var(--v-titres); font-weight: 700; font-size: 1.1rem; margin-bottom: var(--space-1); }
.etape p { color: var(--ink-muted); }

/* Moyens de paiement : cadre en pointillés, titre posé sur le bord. */
.paiements-grille { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .paiements-grille { grid-template-columns: 1fr 1fr; } }
.cadre { position: relative; padding: var(--space-6) var(--space-4) var(--space-4); border: 2px dashed var(--ecole-strong); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-1); }
@media (min-width: 768px) { .cadre { padding: var(--space-7) var(--space-5) var(--space-5); } }
.cadre-titre { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 4px 16px; border-radius: var(--radius-pill); background: var(--ecole-strong); color: var(--on-ecole-strong); font: var(--texte-libelle); white-space: nowrap; }
.moyens { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.moyen { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: transform .35s var(--v-ease), border-color .35s, box-shadow .35s; }
.moyen:hover { transform: translateY(-4px); border-color: var(--v-orange); box-shadow: var(--shadow-1); }
.moyen .tuile { width: 44px; height: 44px; border-radius: 14px; }
.moyen strong { font-family: var(--v-titres); font-weight: 700; }
.moyen span:last-child { font: var(--texte-corps-petit); color: var(--ink-muted); }
.cadre-pied { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); font: var(--texte-corps-petit); font-weight: 600; color: var(--success); text-align: center; }
.cadre-pied .icone { width: 20px; height: 20px; }

/* Application mobile : boutons des stores, QR du lien /app. */
.application-grille { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .application-grille { grid-template-columns: 1.2fr .8fr; } }
.stores { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.store { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-2) var(--space-4); border: 1px solid transparent; border-radius: var(--radius-md); background: var(--ink); color: var(--surface-raised); text-decoration: none; transition: transform .25s var(--v-ease), box-shadow .25s; }
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.store .icone { width: 26px; height: 26px; }
.store small { display: block; font: var(--texte-legende); }
.store strong { display: block; font-family: var(--v-titres); font-size: 1.05rem; line-height: 1.15; }
.store.bientot { background: var(--surface-sunken); color: var(--ink-muted); border: 1px dashed var(--line-strong); }
.store.bientot:hover { transform: none; box-shadow: none; }
.qr-carte { display: grid; justify-items: center; gap: var(--space-3); width: 100%; max-width: 320px; justify-self: center; text-align: center; }
.qr-carte img { display: block; width: 180px; height: 180px; border-radius: var(--radius-md); background: var(--surface-raised); }
.qr-carte p { color: var(--ink-muted); font: var(--texte-corps-petit); }
.qr-carte a { font: var(--texte-libelle); overflow-wrap: anywhere; }
.pied .pied-application { margin-top: var(--space-5); }
.pied .stores { margin-top: var(--space-3); }
.pied .store { opacity: 1; background: var(--surface-raised); color: var(--ink); }
.pied .store:hover { transform: translateY(-2px); }
.pied .store.bientot { background: transparent; color: inherit; border-color: currentColor; opacity: .8; }

/* Nos partenaires : carte large avec photo, ou carte centrée (logo ou initiales). */
.partenaires { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.partenaire { width: 100%; max-width: 280px; text-align: center; }
.partenaire.avec-photo { max-width: 920px; padding: 0; overflow: hidden; text-align: left; display: grid; }
@media (min-width: 768px) { .partenaire.avec-photo { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.partenaire .photo { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.partenaire-corps { display: grid; justify-items: center; gap: var(--space-3); }
.avec-photo .partenaire-corps { justify-items: start; padding: var(--space-5); }
@media (min-width: 768px) { .avec-photo .partenaire-corps { padding: var(--space-6); } }
.partenaire .logo-partenaire { display: block; width: auto; height: 96px; }
.partenaire .monogramme { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ecole-soft); color: var(--ecole-strong); font-family: var(--v-titres); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.partenaire h3 { margin: 0; font-family: var(--v-titres); font-weight: 800; font-size: 1.35rem; }
.partenaire p { color: var(--ink-muted); }
.partenaire .mention { display: inline-flex; align-items: center; gap: var(--space-2); padding: 4px 12px; border-radius: var(--radius-pill); background: var(--v-orange); color: var(--v-sur-orange); font: var(--texte-libelle); }
.partenaire .bouton { margin-top: var(--space-2); }
/* Profils : onglets (vitrine.js) ; sans script, tous les panneaux sont visibles. */
.onglets { position: relative; display: none; gap: var(--space-1); margin: 0 auto var(--space-6); padding: 6px; width: max-content; max-width: 100%; overflow-x: auto; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: var(--shadow-1); scrollbar-width: none; }
.js .onglets { display: flex; }
.onglets button { position: relative; z-index: 1; min-height: var(--cible-tactile); padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-muted); font: var(--texte-libelle); white-space: nowrap; cursor: pointer; transition: color .3s; }
.onglets button[aria-selected="true"] { color: var(--on-ecole-strong); }
.onglets-curseur { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: var(--radius-pill); background: var(--ecole-strong); transition: transform .45s var(--v-ease), width .45s var(--v-ease); }
.panneaux { display: grid; gap: var(--space-5); }
.panneau[hidden] { display: none; }
.panneau { display: grid; gap: var(--space-5); align-items: center; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-1); }
@media (min-width: 768px) { .panneau { grid-template-columns: 220px 1fr; padding: var(--space-6); } }
.js .panneau:not([hidden]) { animation: apparait .55s var(--v-ease) both; }
.panneau h3 { font-family: var(--v-titres); font-weight: 800; font-size: 1.4rem; margin-bottom: var(--space-4); }
.medaillon { position: relative; display: grid; place-items: center; width: 180px; height: 180px; margin: 0 auto; }
.medaillon::before, .medaillon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--line-strong); animation: tourne 26s linear infinite; }
.medaillon::after { inset: 22px; border-style: solid; border-color: var(--line); animation-direction: reverse; animation-duration: 18s; }
.medaillon .tuile { width: 96px; height: 96px; border-radius: 30px; }
.medaillon .tuile .icone { width: 44px; height: 44px; }
.medaillon .satellite { position: absolute; top: 2px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--v-orange); transform-origin: 7px 88px; animation: tourne 6s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Chiffres (factuels) */
.chiffres { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffre { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--v-orange); box-shadow: var(--shadow-1); text-align: center; }
.chiffre strong { display: block; font-family: var(--v-titres); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--ecole-strong); font-variant-numeric: tabular-nums; }
.chiffre span { display: block; margin-top: var(--space-2); color: var(--ink-muted); font: var(--texte-corps-petit); }

/* Appel final */
.appel-final { padding: var(--space-7) 0; text-align: center; }
@media (min-width: 768px) { .appel-final { padding: 112px 0; } }
.appel-final h2 { max-width: 22ch; margin: 0 auto var(--space-4); font-family: var(--v-titres); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.appel-final p { max-width: 56ch; margin: 0 auto var(--space-6); font-size: 1.08rem; opacity: .9; }
.appel-final .actions { justify-content: center; }
/* Fonctionnalités */
.sommaire { position: sticky; top: var(--v-entete); z-index: 30; background: var(--surface-raised); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
.sommaire ul { display: flex; gap: var(--space-1); margin: 0; padding: var(--space-2) 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sommaire a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-pill); color: var(--ink-muted); font: var(--texte-libelle); text-decoration: none; white-space: nowrap; transition: background-color .3s, color .3s; }
.sommaire a:hover { color: var(--ink); }
.sommaire a.actif { background: var(--ecole-soft); color: var(--ecole-strong); }
.fonction { display: grid; gap: var(--space-5); align-items: center; padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.fonction:last-child { border-bottom: 0; }
@media (min-width: 900px) { .fonction { grid-template-columns: 300px 1fr; gap: var(--space-7); } .fonction:nth-child(even) { grid-template-columns: 1fr 300px; } .fonction:nth-child(even) .visuel { order: 2; } }
.visuel { position: relative; display: grid; place-items: center; height: 220px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ecole-soft); color: var(--ecole-strong); overflow: hidden; }
.visuel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--v-orange); }
.visuel .tuile { position: relative; width: 104px; height: 104px; border-radius: 32px; background: var(--surface-raised); color: var(--v-bleu); box-shadow: var(--shadow-2); animation: leve 6s ease-in-out infinite; }
.visuel .tuile .icone { width: 48px; height: 48px; }
.fonction h2 { font-family: var(--v-titres); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: var(--space-4); }

/* Tarifs */
.offres { display: grid; gap: var(--space-5); align-items: stretch; margin-top: -88px; position: relative; z-index: 2; }
@media (min-width: 1024px) { .offres { grid-template-columns: 1fr 1fr 1fr; } }
.offre { display: flex; flex-direction: column; gap: var(--space-4); }
.offre h2 { font-family: var(--v-titres); font-weight: 800; font-size: 1.35rem; }
.offre.vedette { color: var(--v-sur-bleu); background: var(--v-bleu); border-color: transparent; box-shadow: var(--shadow-2); }
.offre.vedette p { color: inherit; opacity: .9; }
.offre .prix { font-family: var(--v-titres); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--v-orange); }
.offre .bouton { margin-top: auto; }
.modules { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.modules li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--surface-sunken); font: var(--texte-corps-petit); font-weight: 600; }
.modules .icone { width: 20px; height: 20px; color: var(--ecole-strong); }
.faq { max-width: 820px; margin: 0 auto; padding: 0 var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-1); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-3) 0; cursor: pointer; list-style: none; font-family: var(--v-titres); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ecole-soft); color: var(--ecole-strong); font-size: 1.3rem; transition: transform .35s var(--v-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-4); color: var(--ink-muted); line-height: 1.6; }
.faq details[open] p { animation: apparait .45s var(--v-ease) both; }

/* Demande de démo */
.demo-grille { display: grid; gap: var(--space-5); align-items: start; margin-top: -88px; position: relative; z-index: 2; }
@media (min-width: 1024px) { .demo-grille { grid-template-columns: 1.25fr .75fr; } }
.formulaire { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-2); }
@media (min-width: 768px) { .formulaire { padding: var(--space-6); } .formulaire .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); } }
.champ { margin: 0 0 var(--space-4); }
label { display: block; font: var(--texte-libelle); margin: 0 0 var(--space-1); }
.requis { color: var(--danger); }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
    width: 100%; min-height: var(--cible-tactile); padding: var(--space-2) var(--space-3); font: var(--texte-corps); color: var(--ink);
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-md); transition: border-color .25s, box-shadow .25s, background-color .25s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ecole-strong); background: var(--surface-raised); box-shadow: 0 0 0 3px var(--ecole-soft); }
textarea { min-height: 120px; resize: vertical; }
[aria-invalid="true"] { border: 2px solid var(--danger); }
.aide { font: var(--texte-corps-petit); color: var(--ink-muted); margin: var(--space-1) 0 0; }
.note { font: var(--texte-corps-petit); color: var(--ink-muted); margin: 0 0 var(--space-4); }
.erreur-champ { font: var(--texte-corps-petit); color: var(--danger); margin: var(--space-1) 0 0; }
.message { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); margin: 0 0 var(--space-4); }
.message .icone { width: 22px; height: 22px; }
.message ul { margin: var(--space-1) 0 0; padding-left: var(--space-5); }
.message.succes { background: var(--success-soft); color: var(--success); }
.message.erreur { background: var(--danger-soft); color: var(--danger); }
.message.attention { background: var(--warning-soft); color: var(--warning); }
.message.succes .icone { animation: rebond .7s var(--v-ease) both; }
.pot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.envoi .bouton[type=submit] { opacity: .7; pointer-events: none; }
.encart { padding: var(--space-5); border-radius: var(--radius-lg); color: var(--v-sur-bleu); background: var(--v-bleu); box-shadow: var(--shadow-2); }
.encart h2 { font-family: var(--v-titres); font-weight: 800; font-size: 1.25rem; margin-bottom: var(--space-4); }
.encart .etape p { color: inherit; opacity: .88; }
.encart .etape { padding-left: 56px; }
.encart .etape::before { width: 36px; height: 36px; }
.encart .etape:not(:last-child)::after { left: 17px; top: 42px; }
.contacts { display: grid; gap: var(--space-2); margin: var(--space-5) 0 0; padding: var(--space-5) 0 0; list-style: none; border-top: 1px solid var(--line-strong); }
.contacts a { display: flex; align-items: center; gap: var(--space-3); min-height: var(--cible-tactile); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: background-color .25s, transform .25s var(--v-ease); }
.contacts a:hover { transform: translateX(4px); }
@supports (background: color-mix(in srgb, red 50%, blue)) { .contacts a { background: color-mix(in srgb, var(--v-sur-bleu) 8%, transparent); } .contacts a:hover { background: color-mix(in srgb, var(--v-sur-bleu) 16%, transparent); } }
.contacts .libelle { display: block; font: var(--texte-legende); opacity: .8; }
.contacts strong { overflow-wrap: anywhere; }
.encart :focus-visible { outline-color: var(--v-sur-bleu); }

/* Pages de texte (mentions, confidentialité, limite atteinte) */
.texte { max-width: 760px; margin: -88px auto 0; position: relative; z-index: 2; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-2); }
@media (min-width: 768px) { .texte { padding: var(--space-7); } }
.texte h2 { font-family: var(--v-titres); font-weight: 700; font-size: 1.15rem; margin: var(--space-5) 0 var(--space-2); }
.texte h2:first-child { margin-top: 0; }
.texte p { line-height: 1.65; color: var(--ink-muted); }
.texte p + p { margin-top: var(--space-2); }

/* Pied de page */
.pied { padding: var(--space-7) 0 var(--space-5); color: var(--v-sur-bleu); background: var(--v-nuit); }
.pied-grille { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pied h2 { font: var(--texte-libelle); letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: var(--space-3); }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied a { display: inline-flex; align-items: center; min-height: 40px; color: inherit; text-decoration: none; opacity: .88; transition: opacity .2s, transform .2s var(--v-ease); }
.pied a:hover { opacity: 1; transform: translateX(3px); }
.pied p { opacity: .85; line-height: 1.6; margin-top: var(--space-3); }
.pied :focus-visible { outline-color: var(--v-sur-bleu); }
.pied-bas a { display: inline; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
.pied-bas a:hover { transform: none; }
.pied-bas { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line-strong); font: var(--texte-corps-petit); opacity: .75; }

/* Pages légales, suppression de compte, support et guides */
.texte ul, .texte ol { margin: 0 0 var(--space-3); padding-left: var(--space-5); color: var(--ink-muted); line-height: 1.65; }
.texte li + li { margin-top: var(--space-2); }
.texte .note { margin-bottom: var(--space-5); }
.liens-legaux { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); font: var(--texte-corps-petit); color: var(--ink-muted); }
.liens-legaux a { display: inline-flex; align-items: center; min-height: var(--cible-tactile); }
.titre-carte { font-family: var(--v-titres); font-weight: 800; font-size: 1.3rem; margin-bottom: var(--space-4); }
.case { display: flex; gap: var(--space-3); align-items: flex-start; }
.case input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--ecole-strong); }
.case label { font: var(--texte-corps); }
.encart h2 + p, .encart p + h2 { margin-top: var(--space-2); }
.encart p + h2 { margin-top: var(--space-5); }
.encart .delai { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-5); padding: var(--space-3); border-radius: var(--radius-md); background: var(--v-orange); color: var(--v-sur-orange); font: var(--texte-corps-petit); font-weight: 600; }
.encart .delai .icone { width: 20px; height: 20px; }
.points.conserve li .icone { color: var(--ecole-strong); }
.lien-carte { display: block; color: inherit; text-decoration: none; }
.lien-carte h3 { margin-bottom: 0; }
.guide h1 { font-family: var(--v-titres); font-weight: 800; font-size: 1.6rem; margin: 0 0 var(--space-4); }
.guide h2 { margin-top: var(--space-6); }
.guide h3 { font-family: var(--v-titres); font-weight: 700; font-size: 1.05rem; margin: var(--space-4) 0 var(--space-2); }
.guide table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font: var(--texte-corps-petit); }
.guide th, .guide td { padding: var(--space-2); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide code { font-family: var(--police-mono, monospace); background: var(--surface-sunken); padding: 0 4px; border-radius: var(--radius-sm); }
.guide blockquote { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border-left: 4px solid var(--v-orange); background: var(--surface-sunken); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-apparait] { opacity: 1; transform: none; }
    .js [data-apparait] .tuile .icone > * { stroke-dashoffset: 0; }
    .telephone, .bulle { transform: none; }
}
