/* ==========================================================================
   Acrobate — design system « La piste »
   Chargé dans le <head> de layouts/app : appliqué dès le premier rendu
   (contrairement aux classes Tailwind CDN, générées après) → aucun décalage.

   Couleurs du logo : bleu = vision · vert = action · ambre = performance.
   Typo : Outfit (titres, écho au logo) + Inter (texte).
   ========================================================================== */

/* Repli d'Inter aux métriques calées (Arial ajusté) : l'arrivée de la webfont ne fait plus « sauter » le texte (CLS) */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }

:root {
    --ac-night: #181C36;     /* scène */
    --ac-navy: #272D4F;      /* logo, titres */
    --ac-blue: #6B9BD0;      /* vision */
    --ac-blue-ink: #3B6CA8;  /* bleu lisible sur fond clair */
    --ac-green: #45B556;     /* action */
    --ac-green-ink: #2F8A3E;
    --ac-amber: #F6B25E;     /* performance, appel à l'action */
    --ac-amber-hover: #FFC173;
    --ac-paper: #F8FAFC;     /* fond alterné */
    --ac-line: #E2E8F0;
    --ac-ink: #475569;       /* texte courant */
    --ac-danger: #DC2626;

    --ac-font-display: 'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif;
    --ac-font-sans: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ac-radius: 1rem;
    --ac-focus: 0 0 0 4px rgba(107, 155, 208, .35);
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
[x-cloak] { display: none !important; }
body { font-family: var(--ac-font-sans); color: var(--ac-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .font-display { font-family: var(--ac-font-display); letter-spacing: -0.015em; }

/* ---------- Typographie de section ---------- */
.ac-eyebrow { display: inline-block; font-family: var(--ac-font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ac-blue-ink); }
.ac-eyebrow--on-dark { color: var(--ac-amber); }
.ac-h2 { font-family: var(--ac-font-display); font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.12; font-weight: 700; color: var(--ac-navy); }
.ac-on-dark .ac-h2, .ac-h2--on-dark { color: #fff; }
.ac-lead { font-size: 1.125rem; line-height: 1.7; color: var(--ac-ink); }

/* ---------- Boutons : un seul appel à l'action (ambre), un secondaire (contour) ---------- */
.ac-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3rem; padding: .75rem 1.5rem; border-radius: 9999px;
    font-family: var(--ac-font-sans); font-size: .9375rem; font-weight: 600; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    border: 1px solid transparent;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.ac-btn:focus-visible { outline: none; box-shadow: var(--ac-focus); }
.ac-btn:disabled, .ac-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; }
.ac-btn--lg { min-height: 3.5rem; padding: 1rem 2rem; font-size: 1rem; }
.ac-btn--sm { min-height: 2.5rem; padding: .5rem 1.125rem; font-size: .875rem; }
.ac-btn--block { width: 100%; }

.ac-btn--primary { background: var(--ac-amber); color: var(--ac-night); box-shadow: 0 10px 30px -12px rgba(246, 178, 94, .75); }
.ac-btn--primary:hover { background: var(--ac-amber-hover); transform: translateY(-1px); }
.ac-btn--dark { background: var(--ac-navy); color: #fff; }
.ac-btn--dark:hover { background: var(--ac-night); transform: translateY(-1px); }
.ac-btn--outline { background: transparent; color: var(--ac-navy); border-color: #CBD5E1; }
.ac-btn--outline:hover { border-color: var(--ac-navy); background: #fff; }
.ac-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.ac-btn--ghost-light:hover { border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .08); }

.ac-link { display: inline-flex; align-items: center; gap: .375rem; font-weight: 600; color: var(--ac-navy); text-decoration: none; }
.ac-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ac-link svg { transition: transform .2s; }
.ac-link:hover svg { transform: translateX(3px); }

/* ---------- Formulaires ---------- */
.ac-field { display: flex; flex-direction: column; gap: .5rem; }
.ac-label { font-size: .875rem; font-weight: 600; color: var(--ac-navy); }
.ac-label .ac-optional { font-weight: 400; color: #94A3B8; }
.ac-hint { font-size: .8125rem; color: #64748B; }
.ac-error { font-size: .8125rem; font-weight: 500; color: var(--ac-danger); }

.ac-input, .ac-select, .ac-textarea {
    width: 100%; min-height: 3.25rem; padding: .875rem 1rem;
    font: inherit; font-size: 1rem; color: var(--ac-navy);
    background: #fff; border: 1px solid var(--ac-line); border-radius: .875rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    -webkit-appearance: none; appearance: none;
}
.ac-input::placeholder, .ac-textarea::placeholder { color: #94A3B8; }
.ac-input:hover, .ac-select:hover, .ac-textarea:hover { border-color: #CBD5E1; }
.ac-input:focus, .ac-select:focus, .ac-textarea:focus { outline: none; border-color: var(--ac-blue-ink); box-shadow: var(--ac-focus); }
.ac-input[aria-invalid="true"], .ac-select[aria-invalid="true"], .ac-textarea[aria-invalid="true"],
.ac-input.is-invalid, .ac-select.is-invalid, .ac-textarea.is-invalid { border-color: var(--ac-danger); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.ac-textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.ac-select {
    padding-right: 2.75rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23272D4F' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
}
.ac-checkbox { width: 1.125rem; height: 1.125rem; accent-color: var(--ac-navy); }

/* ---------- Cartes & puces ---------- */
.ac-card { background: #fff; border-radius: var(--ac-radius); box-shadow: 0 0 0 1px var(--ac-line), 0 1px 2px rgba(15, 23, 42, .04); }
.ac-card--hover { transition: transform .3s, box-shadow .3s; }
.ac-card--hover:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #CBD5E1, 0 24px 48px -24px rgba(39, 45, 79, .35); }
.ac-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; color: var(--ac-navy); background: #F1F5F9; }
.ac-chip--on-dark { color: #E2E8F0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ac-dot { display: inline-block; width: .5rem; height: .5rem; flex-shrink: 0; border-radius: 9999px; background: var(--c, var(--ac-blue)); }

/* ---------- Scène sombre (hero, en-têtes de page, sections fortes) ---------- */
.ac-stage { position: relative; isolation: isolate; overflow: hidden; color: #fff; background-color: var(--ac-night); background-image: radial-gradient(120% 80% at 50% 0%, #2E3560 0%, var(--ac-night) 62%); }
.ac-stage-decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ac-floor-glow, .ac-ring { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.ac-floor-glow { bottom: -210px; height: 420px; width: 130%; background: radial-gradient(closest-side, rgba(246, 178, 94, .16), rgba(107, 155, 208, .06) 60%, transparent); }
.ac-ring--outer { bottom: -150px; height: 300px; width: 118%; border: 1px solid rgba(107, 155, 208, .28); }
.ac-ring--inner { bottom: -120px; height: 240px; width: 100%; border: 1px dashed rgba(255, 255, 255, .08); }
@media (min-width: 640px) {
    .ac-floor-glow { width: 110%; }
    .ac-ring--outer { width: 96%; }
    .ac-ring--inner { width: 80%; }
}
/* Bord de piste : arche vers la section suivante */
.ac-arch { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 2.5rem; display: block; }
.ac-arch--top { top: 0; bottom: auto; }
@media (min-width: 640px) { .ac-arch { height: 4rem; } }

/* Projecteurs : faisceaux coniques qui balaient lentement */
.ac-beam {
    position: absolute; top: -6%; height: 115%; width: 120%;
    transform-origin: 50% 0; pointer-events: none; will-change: transform;
    -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 92%);
            mask-image: linear-gradient(to bottom, #000 25%, transparent 92%);
}
.ac-beam--left  { left: -45%; background: conic-gradient(from 148deg at 50% 0%, transparent 0deg, rgba(255,255,255,.075) 14deg, rgba(255,255,255,.02) 26deg, transparent 30deg); animation: ac-sweep 11s ease-in-out infinite alternate; }
.ac-beam--right { right: -45%; background: conic-gradient(from 182deg at 50% 0%, transparent 0deg, rgba(246,178,94,.06) 6deg, rgba(255,255,255,.075) 16deg, transparent 30deg); animation: ac-sweep 13s ease-in-out -4s infinite alternate-reverse; }
@keyframes ac-sweep { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

/* En-tête de page (inner pages) : scène compacte */
.ac-page-hero__inner { position: relative; padding-top: 3rem; padding-bottom: 5.5rem; }
@media (min-width: 640px) { .ac-page-hero__inner { padding-top: 3.75rem; padding-bottom: 6.5rem; } }
@media (min-width: 1024px) { .ac-page-hero__inner { padding-top: 4.5rem; padding-bottom: 7.5rem; } }
.ac-page-hero__title { font-family: var(--ac-font-display); font-weight: 700; color: #fff; font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.ac-page-hero__subtitle { margin-top: 1.25rem; max-width: 44rem; font-size: 1.125rem; line-height: 1.7; color: #CBD5E1; text-wrap: pretty; }
.ac-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; margin-bottom: 1.5rem; font-size: .875rem; color: #94A3B8; }
.ac-breadcrumb a { color: #CBD5E1; text-decoration: none; }
.ac-breadcrumb a:hover { color: #fff; }
.ac-breadcrumb [aria-current="page"] { color: #fff; }

/* Jonglage : 3 balles (vision, action, performance) */
.ac-juggle { position: relative; width: 150px; height: 84px; }
.ac-juggle--sm { transform: scale(.72); transform-origin: left top; margin-bottom: -24px; }
.ac-ball {
    position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 9999px;
    background: var(--c);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent), 0 0 22px var(--c);
    offset-path: path('M18 74 C18 -14 132 -14 132 74 C132 86 18 86 18 74 Z');
    offset-rotate: 0deg;
    animation: ac-juggle 2.7s linear infinite;
}
@keyframes ac-juggle { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* Apparition douce */
.ac-rise { animation: ac-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ac-rise { from { opacity: 0; transform: translateY(14px); } }

/* Trapèze : la carte se balance au survol */
.ac-trapeze { transform-origin: 50% 0; }
.ac-trapeze:hover, .ac-trapeze:focus-within { animation: ac-swing 1.6s cubic-bezier(.3, .6, .3, 1) both; }
@keyframes ac-swing { 0% { transform: rotate(0); } 22% { transform: rotate(1.8deg); } 48% { transform: rotate(-1.2deg); } 72% { transform: rotate(.6deg); } 100% { transform: rotate(0); } }

/* Rangée de discipline (catalogue homepage) : retour visuel au survol ET au toucher, jamais indispensable */
.ac-act { transition: background-color .2s; -webkit-tap-highlight-color: transparent; }
.ac-act:hover, .ac-act:active { background-color: color-mix(in srgb, var(--c) 6%, #fff); }
.ac-act:hover .ac-act__go, .ac-act:active .ac-act__go { background: var(--ac-navy); }
.ac-act:focus-visible { outline: none; box-shadow: inset var(--ac-focus); }

/* Carrousel mobile (formations phares) : défilement natif avec aimantation, la carte suivante dépasse pour inviter à glisser.
   Dès 640px, la liste redevient une grille (classes sm:grid). */
.ac-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; padding: .25rem 1.25rem 1rem; list-style: none; scrollbar-width: none; overscroll-behavior-x: contain; }
.ac-rail::-webkit-scrollbar { display: none; }
.ac-rail__item { flex: 0 0 84%; max-width: 22rem; scroll-snap-align: start; }
@media (min-width: 640px) { .ac-rail { display: grid; overflow: visible; padding: 0; } .ac-rail__item { max-width: none; } }

/* ---------- Contenu riche (pages, articles, descriptions de formation) ---------- */
.ac-prose { color: var(--ac-ink); font-size: 1.0625rem; line-height: 1.75; }
.ac-prose > * + * { margin-top: 1.1em; }
.ac-prose h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 700; color: var(--ac-navy); margin-top: 2em; }
.ac-prose h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; color: var(--ac-navy); margin-top: 1.6em; }
.ac-prose a { color: var(--ac-blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.ac-prose strong { color: var(--ac-navy); }
.ac-prose ul { list-style: none; padding-left: 0; }
.ac-prose ul > li { position: relative; padding-left: 1.5rem; }
.ac-prose ul > li + li { margin-top: .5em; }
.ac-prose ul > li::before { content: ''; position: absolute; left: .25rem; top: .7em; width: .45rem; height: .45rem; border-radius: 9999px; background: var(--ac-amber); }
.ac-prose ol { padding-left: 1.25rem; list-style: decimal; }
.ac-prose blockquote { border-left: 3px solid var(--ac-amber); padding-left: 1.25rem; color: var(--ac-navy); font-style: italic; }
.ac-prose img { border-radius: var(--ac-radius); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ac-beam, .ac-trapeze:hover, .ac-trapeze:focus-within, .ac-rise { animation: none !important; }
    .ac-ball { animation-play-state: paused; }
    .ac-btn, .ac-card--hover, .ac-motion { transition: none !important; transform: none !important; }
}

/* ---------- Menu principal ---------- */
.ac-nav { background-color: rgba(24, 28, 54, .96); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.ac-nav-bar { display: flex; align-items: center; height: 4rem; }
@media (min-width: 1024px) { .ac-nav-bar { height: 4.5rem; } }
.ac-nav-link {
    position: relative; display: inline-flex; align-items: center; gap: .25rem;
    padding: .5rem .6rem; border-radius: 9999px;
    font-size: .9375rem; font-weight: 500; color: #CBD5E1; white-space: nowrap;
    transition: color .2s, background-color .2s;
}
.ac-nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ac-nav-link:focus-visible { outline: none; box-shadow: var(--ac-focus); }
.ac-nav-link.is-active { color: #fff; }
.ac-nav-link.is-active::after { content: ''; position: absolute; left: .6rem; right: .6rem; bottom: .05rem; height: 2px; border-radius: 2px; background: var(--ac-amber); }

/* Téléphone dans le menu : la pastille ambre attire l'œil ; le numéro s'affiche dès que la place le permet */
.ac-nav-phone { display: inline-flex; align-items: center; gap: .6rem; height: 2.75rem; padding: 0 .3rem; border-radius: 9999px; color: #fff; font-weight: 600; font-size: .9375rem; white-space: nowrap; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.ac-nav-phone__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: rgba(246, 178, 94, .16); color: var(--ac-amber); box-shadow: inset 0 0 0 1px rgba(246, 178, 94, .45); transition: background-color .2s, color .2s; }
.ac-nav-phone__number { display: none; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.ac-nav-phone:hover .ac-nav-phone__icon { background: var(--ac-amber); color: var(--ac-night); }
.ac-nav-phone:focus-visible { outline: none; box-shadow: var(--ac-focus); }
@media (min-width: 768px) { .ac-nav-phone { padding-right: 1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); } .ac-nav-phone__number { display: inline; } }

/* Bouton « Réserver une session » : abrégé en « Réserver » quand le menu complet manque de place */
/* Libellé court quand le menu complet manque de place, complet ailleurs */
.ac-nav-cta-more-alt { display: none; }
@media (min-width: 1280px) and (max-width: 1535px) { .ac-nav-cta-more { display: none; } .ac-nav-cta-more-alt { display: inline; } }

/* ---------- Homepage : hero ---------- */
.ac-hero-inner { padding-top: 2.25rem; padding-bottom: 5.5rem; }
@media (min-width: 640px) { .ac-hero-inner { padding-top: 3rem; padding-bottom: 6.5rem; } }
@media (min-width: 1024px) { .ac-hero-inner { padding-top: 3.5rem; padding-bottom: 7rem; } }
.ac-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .ac-hero-grid { grid-template-columns: minmax(0, 1fr) 24rem; gap: 4rem; } }
.ac-hero-title { font-family: var(--ac-font-display); font-weight: 700; color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }  /* pas de text-wrap: balance : le curseur de la machine à écrire le ferait recalculer (décalage) */
/* Signature du hero : balles + « Centre de formation & d'accompagnement » (styles critiques ici, pas en classes Tailwind CDN) */
.ac-kicker { display: flex; align-items: center; gap: .875rem; }
.ac-kicker__juggle { position: relative; flex-shrink: 0; width: 66px; height: 37px; }
.ac-kicker__juggle .ac-juggle { position: absolute; left: 0; top: 0; transform: scale(.44); transform-origin: left top; }
.ac-kicker__text { font-family: var(--ac-font-display); font-weight: 600; text-transform: uppercase; color: var(--ac-amber); font-size: .875rem; line-height: 1.35; letter-spacing: .12em; }
@media (min-width: 640px) { .ac-kicker { gap: 1rem; } .ac-kicker__juggle { width: 82px; height: 46px; } .ac-kicker__juggle .ac-juggle { transform: scale(.55); } .ac-kicker__text { font-size: 1rem; letter-spacing: .16em; } }
@media (min-width: 1024px) { .ac-kicker__text { font-size: 1.0625rem; } }
.ac-kicker__amp { color: var(--ac-amber); }
.ac-hero-cta .ac-btn { width: 100%; }
@media (min-width: 640px) { .ac-hero-cta .ac-btn { width: auto; } }
.ac-billboard { display: none; }
@media (min-width: 1024px) {
    .ac-billboard { display: block; padding: 1.5rem; border-radius: 1.5rem; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px -30px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

/* Machine à écrire (titre du hero) : masqué tant que non révélé ; filet de sécurité à 4 s */
.ac-tw #home-hero-title .tw-c { opacity: 0; animation: tw-failsafe 0s linear 4s forwards; }
.ac-tw #home-hero-title .tw-c.tw-on { opacity: 1; }
@keyframes tw-failsafe { to { opacity: 1; } }
#home-hero-title .tw-last { position: relative; }
#home-hero-title .tw-last::after { content: ''; position: absolute; right: -0.07em; top: 0.12em; bottom: 0.04em; width: 0.07em; border-radius: 2px; background: var(--ac-amber); animation: tw-blink 1s steps(1) infinite; }
#home-hero-title.tw-done .tw-last::after { animation: tw-out .5s ease-out 1.1s forwards; }
html:not(.ac-tw) #home-hero-title .tw-last::after { display: none; }
@keyframes tw-blink { 50% { opacity: 0; } }
@keyframes tw-out { to { opacity: 0; } }

/* ---------- « Pourquoi Acrobate ? » : le trait unique (homepage) ----------
   Par défaut tout est tracé et lisible ; .is-armed (posée par le JS, hors mouvement réduit) masque ce qui s'allume au défilement. */
.ac-line { position: relative; color: #fff; background-color: var(--ac-night); background-image: radial-gradient(90% 55% at 50% 0%, #2B3159 0%, var(--ac-night) 70%); padding: 6.5rem 0 3rem; overflow: hidden; }
.ac-line__arch { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 2.5rem; }
@media (min-width: 640px) { .ac-line__arch { height: 4rem; } .ac-line { padding-top: 8rem; } }
.ac-line__inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .ac-line__inner { padding: 0 2rem; } }
.ac-line__eyebrow { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ac-amber); }
.ac-line__title { margin: .6rem 0 0; max-width: 18ch; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -.03em; color: #fff; text-wrap: balance; }

.ac-line__stage { position: relative; margin-top: 2rem; }
.ac-line__stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.ac-line__stage--wide { display: none; }
.ac-line__stage--tall { max-width: 30rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .ac-line__stage--wide { display: block; margin-top: 1rem; } .ac-line__stage--tall { display: none; } }

.ac-line__stroke { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ac-line__stage--tall .ac-line__stroke { stroke-width: 2.6; }
.ac-line__ghost { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; stroke-linecap: round; }
.ac-line__leap { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.6; stroke-dasharray: 2 8; stroke-linecap: round; opacity: 0; }
.ac-line__emblem { transform-box: fill-box; transform-origin: center; }
.is-armed .ac-line__emblem { opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.is-armed .ac-line__emblem.is-on { opacity: 1; transform: none; }

/* Les messages, posés sur leurs planches */
.ac-line__steps { list-style: none; margin: 0; padding: 0; }
.ac-line__step h3 { margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: -.02em; color: var(--c); }
.ac-line__step p { margin: .4rem 0 0; font-size: .95rem; line-height: 1.5; color: #CBD5E1; }
.ac-line__step { position: absolute; transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.is-armed .ac-line__step { opacity: .14; transform: translateY(8px); }
.is-armed .ac-line__step.is-on { opacity: 1; transform: none; }
/* Grand écran : au-dessus de chaque planche (planches : 260→485, 485→712, 712→940 sur 1200) */
.ac-line__stage--wide .ac-line__step { bottom: calc(100% * 96 / 300); width: calc(100% * 205 / 1200); }
.ac-line__stage--wide .ac-line__step:nth-child(1) { left: calc(100% * 270 / 1200); }
.ac-line__stage--wide .ac-line__step:nth-child(2) { left: calc(100% * 497 / 1200); }
.ac-line__stage--wide .ac-line__step:nth-child(3) { left: calc(100% * 724 / 1200); }
/* Mobile : à côté de chaque palier (paliers à y = 300, 450, 600 sur 760) */
.ac-line__stage--tall .ac-line__step { left: calc(100% * 160 / 360); right: 0; transform-origin: left; }
.ac-line__stage--tall .ac-line__step:nth-child(1) { top: calc(100% * 222 / 760); }
.ac-line__stage--tall .ac-line__step:nth-child(2) { top: calc(100% * 372 / 760); }
.ac-line__stage--tall .ac-line__step:nth-child(3) { top: calc(100% * 522 / 760); }
.ac-line__stage--tall .ac-line__step h3 { font-size: clamp(1.15rem, .9rem + 1.2vw, 1.5rem); }
.ac-line__stage--tall .ac-line__step p { font-size: .875rem; }

.ac-line__sign { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .5rem 1.25rem; text-align: center; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: #CBD5E1; }
@media (min-width: 1024px) { .ac-line__sign { justify-content: flex-end; margin-top: .5rem; } }
.ac-line__sign p { margin: 0; }
.ac-line__sign strong { color: #fff; font-family: var(--ac-font-display); font-weight: 700; }
.ac-line__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ac-amber); text-decoration: none; }
.ac-line__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-armed .ac-line__sign { opacity: 0; transform: translateY(8px); transition: opacity .6s .15s, transform .6s .15s; }
.is-armed .ac-line__sign.is-on { opacity: 1; transform: none; }

/* ---------- Pied de page : le rappel ---------- */
.ac-footer { position: relative; overflow: hidden; color: #CBD5E1; background-color: var(--ac-night); background-image: radial-gradient(80% 60% at 85% 0%, rgba(246, 178, 94, .10), transparent 60%), radial-gradient(90% 70% at 15% 0%, #262C54 0%, var(--ac-night) 65%); padding-top: 6rem; }
@media (min-width: 640px) { .ac-footer { padding-top: 7.5rem; } }
.ac-footer__call { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1024px) { .ac-footer__call { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.ac-footer__title { margin: .5rem 0 0; font-family: var(--ac-font-display); font-weight: 700; color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.ac-footer__reach { display: grid; gap: 1.25rem; }
.ac-footer__phone { display: inline-flex; align-items: center; gap: 1rem; padding: .9rem 1.5rem .9rem .9rem; border-radius: 1.25rem; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.ac-footer__phone:hover { background: rgba(246, 178, 94, .08); box-shadow: inset 0 0 0 1px rgba(246, 178, 94, .45); }
.ac-footer__phone:focus-visible { outline: none; box-shadow: var(--ac-focus); }
.ac-footer__phone-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; flex-shrink: 0; border-radius: 9999px; background: var(--ac-amber); color: var(--ac-night); }
.ac-footer__phone-number { display: block; margin-top: .1rem; font-family: var(--ac-font-display); font-weight: 700; color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ac-footer__line { display: flex; align-items: flex-end; margin: 3.5rem 0 0; color: rgba(255,255,255,.3); }
.ac-footer__line-end { display: block; height: 3.25rem; width: auto; flex-shrink: 0; overflow: visible; }
.ac-footer__line-mid { flex: 1; height: 1.5px; margin-bottom: calc(3.25rem * 2 / 52); background: currentColor; }
@media (max-width: 639px) { .ac-footer__line-end { height: 2.5rem; } .ac-footer__line-mid { margin-bottom: calc(2.5rem * 2 / 52); } }

.ac-footer__grid { display: grid; gap: 2.5rem; padding: 3rem 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-footer__brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .ac-footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 3rem; } .ac-footer__brand { grid-column: auto; } }
.ac-footer__heading { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
@media (min-width: 640px) { .ac-footer__heading { font-size: .8125rem; letter-spacing: .16em; } }
.ac-footer__links { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ac-footer__links a { color: #CBD5E1; font-size: .9375rem; text-decoration: none; transition: color .2s; }
.ac-footer__links a:hover { color: #fff; }
.ac-footer__links a.is-more { color: var(--ac-amber); font-weight: 600; }
.ac-footer__social { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; color: #CBD5E1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: background-color .2s, color .2s; }
.ac-footer__social:hover { background: rgba(255,255,255,.1); color: #fff; }
.ac-footer__legal { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 0 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; color: #64748B; }
.ac-footer__legal a { color: #94A3B8; text-decoration: none; }
.ac-footer__legal a:hover { color: #fff; }
@media (min-width: 640px) { .ac-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Accompagnements entreprises : cartes de service ---------- */
.ac-service { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--ac-radius); background: #fff; box-shadow: 0 0 0 1px var(--ac-line), 0 24px 48px -36px rgba(39, 45, 79, .35); overflow: hidden; }
.ac-service::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
@media (min-width: 640px) { .ac-service { padding: 2.25rem; } }
.ac-service__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 9999px; color: var(--ink); background: color-mix(in srgb, var(--c) 14%, #fff); }
.ac-service__num { font-family: var(--ac-font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: color-mix(in srgb, var(--c) 45%, #fff); }
.ac-service__title { margin: 1.5rem 0 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ac-navy); text-wrap: balance; }
.ac-service__tagline { margin: .75rem 0 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.ac-service__text { margin: .75rem 0 0; flex: 1; font-size: 1rem; line-height: 1.65; color: var(--ac-ink); }
.ac-service__cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--ac-line); font-weight: 600; color: var(--ac-navy); text-decoration: none; }
.ac-service__cta svg { transition: transform .2s; }
.ac-service__cta:hover { color: var(--ink); }
.ac-service__cta:hover svg { transform: translateX(3px); }
.ac-service__cta:focus-visible { outline: none; box-shadow: var(--ac-focus); border-radius: .5rem; }

/* ---------- Page « Acrobate » (à propos) ---------- */
.ac-about__quote { margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ac-navy); text-wrap: balance; }
.ac-about__lead { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.75; color: var(--ac-ink); }
.ac-about__beat { padding: 2rem 1.75rem 2.25rem; border-radius: var(--ac-radius); background: #fff; box-shadow: 0 0 0 1px var(--ac-line), 0 24px 48px -36px rgba(39, 45, 79, .35); }
.ac-about__figure { display: block; width: 100%; max-width: 15rem; height: auto; margin: 0 auto; overflow: visible; }
.ac-about__figure .ac-draw { fill: none; stroke: var(--ac-navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ac-about__head { fill: var(--ac-amber); }
.ac-about__mark { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; }
.ac-about__beat-title { margin: 1.5rem 0 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem); line-height: 1.15; color: var(--ac-navy); }
.ac-about__beat-text { margin: .5rem 0 0; font-size: 1.0625rem; color: var(--ac-ink); }
.ac-about__beat-title::before { content: ''; display: block; width: 2rem; height: 3px; margin-bottom: 1rem; border-radius: 3px; background: var(--c); }
/* Dessin au trait à l'apparition (armé par le JS, hors mouvement réduit) */
.is-armed .ac-about__figure .ac-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .2, 1); }
.is-armed .ac-about__figure .ac-draw--late { transition-delay: .7s; }
.is-armed .ac-about__head, .is-armed .ac-about__mark, .is-armed .ac-about__mark-dot { opacity: 0; transition: opacity .5s .9s; }
.is-armed .is-drawn .ac-about__figure .ac-draw { stroke-dashoffset: 0; }
.is-armed .is-drawn .ac-about__head, .is-armed .is-drawn .ac-about__mark, .is-armed .is-drawn .ac-about__mark-dot { opacity: 1; }
.ac-about__commit { position: relative; padding-top: 1.25rem; border-top: 3px solid var(--c); }
.ac-about__commit-num { font-family: var(--ac-font-display); font-weight: 700; font-size: .9375rem; color: var(--c); }
.ac-about__commit-text { margin: .5rem 0 0; font-family: var(--ac-font-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.2; letter-spacing: -.015em; color: var(--ac-navy); text-wrap: pretty; }

/* Mobile : liens du pied de page = vraies cibles tactiles (≥ 40px), sans changer l'espacement visuel */
@media (max-width: 1023px) {
    .ac-footer__links { gap: 0; margin-top: .75rem; }
    .ac-footer__links a { display: flex; align-items: center; min-height: 2.75rem; }
    .ac-footer__brand ul a { display: inline-flex; align-items: center; min-height: 2.75rem; }
    .ac-footer__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
    .ac-breadcrumb a { display: inline-flex; align-items: center; min-height: 2.25rem; }
}

/* Fiche formation : barre d'inscription fixe (téléphone et petite tablette) */
.ac-stickybar { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .7rem .7rem 1.1rem; border-radius: 1.25rem; background: rgba(24, 28, 54, .97); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 40px -12px rgba(0,0,0,.5); transform: translateY(160%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ac-stickybar.is-on { transform: none; }
@media (min-width: 1024px) { .ac-stickybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .ac-stickybar { transition: none; } }

/* Lien d'évitement (clavier) : invisible jusqu'au focus */
.ac-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1.25rem; border-radius: 9999px; background: var(--ac-amber); color: var(--ac-night); font-weight: 600; text-decoration: none; transition: top .15s; }
.ac-skip:focus { top: 1rem; outline: none; box-shadow: var(--ac-focus); }
main:focus { outline: none; }

/* ---------- Formats de formation (présentiel / en ligne / intra) ---------- */
.ac-format { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--ac-radius); background: #fff; box-shadow: 0 0 0 1px var(--ac-line); border-top: 3px solid var(--c); }
.ac-format__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; color: var(--ac-navy); background: color-mix(in srgb, var(--c) 16%, #fff); }
.ac-format__title { margin: 1rem 0 0; font-family: var(--ac-font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--ac-navy); }
.ac-format__text { margin: .5rem 0 0; flex: 1; font-size: .9375rem; line-height: 1.6; color: var(--ac-ink); }
.ac-format__cta { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; margin-top: .75rem; font-weight: 600; color: var(--ac-navy); text-decoration: none; }
.ac-format__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Choix exclusif sous forme de tuiles (boutons radio accessibles) */
.ac-choice { position: relative; display: block; cursor: pointer; }
.ac-choice__input { position: absolute; opacity: 0; inset: 0; }
.ac-choice__box { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .75rem 1rem; border-radius: .875rem; background: #fff; box-shadow: inset 0 0 0 1px var(--ac-line); transition: box-shadow .15s, background-color .15s; }
.ac-choice__box::before { content: ''; flex-shrink: 0; width: 1.125rem; height: 1.125rem; border-radius: 9999px; box-shadow: inset 0 0 0 2px #CBD5E1; transition: box-shadow .15s; }
.ac-choice__title { font-weight: 600; color: var(--ac-navy); font-size: .9375rem; }
.ac-choice__input:checked + .ac-choice__box { background: #F8FAFC; box-shadow: inset 0 0 0 2px var(--ac-navy); }
.ac-choice__input:checked + .ac-choice__box::before { box-shadow: inset 0 0 0 5px var(--ac-navy); }
.ac-choice__input:focus-visible + .ac-choice__box { box-shadow: inset 0 0 0 2px var(--ac-navy), var(--ac-focus); }

/* ---------- Inclus dans chaque formation : certificat + accompagnement ---------- */
.ac-included { padding: 1.5rem; border-radius: var(--ac-radius); background: #fff; box-shadow: 0 0 0 1px var(--ac-line); }
@media (min-width: 640px) { .ac-included { padding: 1.75rem; } }
.ac-included__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; color: var(--ac-green-ink); background: color-mix(in srgb, var(--ac-green) 15%, #fff); }
.ac-included__title { margin: 0; font-family: var(--ac-font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--ac-navy); }
.ac-included__text { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.6; color: var(--ac-ink); }
/* Aperçu du certificat (reprend le modèle remis : cadre bleu arrondi, « Certificat. », sceau) */
.ac-cert { margin: 0; padding: .7rem; border-radius: 1.25rem; background: var(--ac-blue); }
.ac-cert__paper { position: relative; aspect-ratio: 1.414 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 1.25rem; border-radius: 2.25rem / 1.75rem; background: #fff; text-align: center; overflow: hidden; container-type: inline-size; }
.ac-cert__logo { position: absolute; left: 7%; top: 9%; width: 26%; height: auto; }
.ac-cert__title { margin: 0; font-family: var(--ac-font-display); font-weight: 800; color: var(--ac-blue); font-size: 13cqi; line-height: 1; letter-spacing: -.02em; }
.ac-cert__title span { color: var(--ac-green); }
.ac-cert__kind { margin: .4em 0 0; font-size: 2.6cqi; letter-spacing: .08em; color: var(--ac-navy); }
.ac-cert__name { margin: .55em 0 0; padding: 0 .6em .1em; font-family: var(--ac-font-display); font-weight: 800; font-size: 7.5cqi; color: var(--ac-navy); border-bottom: 1px solid var(--ac-navy); }
.ac-cert__course { margin: .7em 0 0; max-width: 80%; font-size: 2.7cqi; font-weight: 600; line-height: 1.3; color: var(--ac-navy); }
.ac-cert__foot { display: flex; align-items: center; justify-content: center; gap: 6cqi; width: 80%; margin-top: 5%; }
.ac-cert__line { flex: 1; height: 1.5px; background: var(--ac-navy); opacity: .7; }
.ac-cert__seal { display: grid; place-items: center; width: 9cqi; height: 9cqi; border-radius: 9999px; background: var(--ac-green); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ac-green); }
.ac-cert__seal span { width: 62%; height: 62%; border-radius: 9999px; background: var(--ac-amber); }

/* ---------- Garantie « Satisfait ou remboursé » ---------- */
.ac-guarantee { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; border-radius: var(--ac-radius); background: linear-gradient(135deg, #F0FAF2, #fff 70%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac-green) 35%, #fff); }
@media (min-width: 640px) { .ac-guarantee { flex-direction: row; align-items: center; gap: 1.75rem; padding: 2rem; } }
.ac-guarantee__seal { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; width: 5.5rem; height: 5.5rem; border-radius: 9999px; color: #fff; background: var(--ac-green-ink); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ac-green); }
.ac-guarantee__pct { margin-top: .15rem; font-family: var(--ac-font-display); font-weight: 800; font-size: .95rem; line-height: 1; }
.ac-guarantee__title { margin: .35rem 0 0; font-family: var(--ac-font-display); font-weight: 700; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); line-height: 1.15; color: var(--ac-navy); }
.ac-guarantee__text { margin: .6rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--ac-ink); }
.ac-guarantee__sign { margin: .6rem 0 0; font-weight: 600; color: var(--ac-green-ink); }
.ac-guarantee-inline { display: flex; align-items: center; gap: .5rem; margin: .75rem 0 0; font-size: .875rem; color: var(--ac-ink); }
.ac-guarantee-inline svg { color: var(--ac-green-ink); }
.ac-guarantee-inline strong { color: var(--ac-navy); font-weight: 600; }
.ac-guarantee-inline--dark { color: #CBD5E1; }
.ac-guarantee-inline--dark svg { color: var(--ac-green); }
.ac-guarantee-inline--dark strong { color: #fff; }

/* ---------- « Mon parcours » : sélection de formations (pas un panier) ---------- */
.ac-parcours-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .55rem 1.1rem; border-radius: 9999px; font-weight: 600; font-size: .9375rem; color: var(--ac-navy); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ac-line); cursor: pointer; transition: box-shadow .2s, background-color .2s, color .2s; }
.ac-parcours-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ac-navy); }
.ac-parcours-btn:focus-visible, .ac-parcours-icon:focus-visible { outline: none; box-shadow: var(--ac-focus); }
.ac-parcours-btn.is-on { color: var(--ac-green-ink); background: #F0FAF2; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac-green) 60%, #fff); }
.ac-parcours-btn--on-dark { color: #E2E8F0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
.ac-parcours-btn--on-dark:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.ac-parcours-btn--on-dark.is-on { color: #fff; background: rgba(69,181,86,.18); box-shadow: inset 0 0 0 1.5px var(--ac-green); }
.ac-parcours-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 9999px; color: var(--ac-navy); background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px var(--ac-line), 0 4px 12px -4px rgba(15,23,42,.25); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.ac-parcours-icon:hover { transform: scale(1.06); }
.ac-parcours-icon.is-on { color: #fff; background: var(--ac-green-ink); box-shadow: 0 0 0 2px #fff; }
.ac-parcours-icon__check, .is-on > .ac-parcours-icon__plus { display: none; }
.is-on > .ac-parcours-icon__check { display: block; }

.ac-tray__pill { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .5rem .6rem .5rem 1.1rem; border-radius: 9999px; color: #fff; font-weight: 600; font-size: .9375rem; background: rgba(24, 28, 54, .97); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px -12px rgba(0,0,0,.55); cursor: pointer; transition: bottom .3s; }
.ac-tray__pill[hidden] { display: none; }
.ac-tray__pill svg { color: var(--ac-amber); }
.ac-tray__count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; padding: 0 .4rem; border-radius: 9999px; background: var(--ac-amber); color: var(--ac-night); font-size: .8125rem; font-weight: 700; }
.ac-tray__pill.is-pulse { animation: ac-pill-pulse .6s ease; }
@keyframes ac-pill-pulse { 40% { transform: scale(1.08); } }
.ac-tray.is-raised .ac-tray__pill { bottom: calc(5.75rem + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .ac-tray__pill { right: 1.5rem; bottom: 1.5rem; } .ac-tray.is-raised .ac-tray__pill { bottom: 1.5rem; } }
.ac-tray__backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(15, 18, 38, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.ac-tray__panel { position: fixed; z-index: 61; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(26rem, 100%); padding: 1.5rem; overflow-y: auto; color: #CBD5E1; background: var(--ac-night); background-image: radial-gradient(120% 60% at 50% 0%, #2B3159 0%, var(--ac-night) 65%); box-shadow: -20px 0 60px -20px rgba(0,0,0,.6); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); visibility: hidden; }
@media (min-width: 640px) { .ac-tray__panel { padding: 2rem; } }
.ac-tray.is-open .ac-tray__backdrop { opacity: 1; pointer-events: auto; }
.ac-tray.is-open .ac-tray__panel { transform: none; visibility: visible; }
.ac-tray__close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 9999px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.ac-tray__close:hover { background: rgba(255,255,255,.08); }
.ac-tray__list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.ac-tray__foot { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .75rem; }
.ac-tray__more { min-height: 2.75rem; font-weight: 600; color: #CBD5E1; text-decoration: underline; text-underline-offset: 4px; }
.ac-tray__more:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .ac-tray__panel, .ac-tray__backdrop { transition: none; } .ac-tray__pill.is-pulse { animation: none; } }

.ac-parcours-item { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ac-parcours-item .ac-dot { flex-shrink: 0; }
.ac-parcours-item__title { display: block; font-weight: 600; color: #fff; text-decoration: none; line-height: 1.3; }
.ac-parcours-item__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-parcours-item__meta { display: block; margin-top: .15rem; font-size: .8125rem; color: #94A3B8; }
.ac-parcours-item__rm { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 9999px; font-size: 1.25rem; line-height: 1; color: #94A3B8; }
.ac-parcours-item__rm:hover { color: #fff; background: rgba(255,255,255,.08); }
/* Même liste, sur fond clair (page /mon-parcours) */
.ac-parcours-page-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.ac-parcours-page-list .ac-parcours-item { border-bottom-color: var(--ac-line); }
.ac-parcours-page-list .ac-parcours-item__title { color: var(--ac-navy); }
.ac-parcours-page-list .ac-parcours-item__meta { color: #64748B; }
.ac-parcours-page-list .ac-parcours-item__rm { color: #64748B; }
.ac-parcours-page-list .ac-parcours-item__rm:hover { color: var(--ac-navy); background: var(--ac-paper); }

/* ---------- Pages légales ---------- */
.ac-legal-toc__title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #64748B; cursor: default; list-style: none; }
.ac-legal-toc summary::-webkit-details-marker { display: none; }
.ac-legal-toc__list { list-style: none; margin: .75rem 0 0; padding: 0 0 0 .875rem; border-left: 2px solid var(--ac-line); display: grid; gap: .1rem; }
.ac-legal-toc__list a { display: block; padding: .35rem 0; font-size: .9375rem; line-height: 1.35; color: var(--ac-ink); text-decoration: none; }
.ac-legal-toc__list a:hover { color: var(--ac-navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .ac-legal-toc { padding: 1rem 1.25rem; border-radius: var(--ac-radius); background: var(--ac-paper); box-shadow: inset 0 0 0 1px var(--ac-line); } .ac-legal-toc__title { cursor: pointer; } }
.ac-legal-pages__link { display: flex; align-items: center; min-height: 2.5rem; padding: 0 .75rem; border-radius: .75rem; font-size: .9375rem; color: var(--ac-ink); text-decoration: none; }
.ac-legal-pages__link:hover { background: var(--ac-paper); color: var(--ac-navy); }
.ac-legal-pages__link.is-active { background: var(--ac-paper); color: var(--ac-navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--ac-blue); }
.ac-legal h2 { scroll-margin-top: 6rem; font-size: 1.45rem; margin-top: 2.25em; }
.ac-legal > h2:first-child { margin-top: 0; }
.ac-legal table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.45; display: block; overflow-x: auto; }
.ac-legal th, .ac-legal td { padding: .65rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ac-line); }
.ac-legal th { font-weight: 600; color: var(--ac-navy); background: var(--ac-paper); white-space: nowrap; }
.ac-legal code { font-size: .8125rem; padding: .1rem .35rem; border-radius: .35rem; background: var(--ac-paper); color: var(--ac-navy); white-space: nowrap; }

.ac-footer__cookies { padding: 0; background: none; border: 0; font: inherit; color: #94A3B8; cursor: pointer; text-decoration: none; }
.ac-footer__cookies:hover { color: #fff; }
@media (max-width: 1023px) { .ac-footer__cookies { display: inline-flex; align-items: center; min-height: 2.75rem; } }
/* Mention sous les formulaires : acceptation des CGV et de la politique de confidentialité */
.ac-form-legal { margin: .75rem 0 0; font-size: .8125rem; line-height: 1.5; text-align: center; color: #64748B; }
.ac-form-legal a { color: var(--ac-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page 404 : « Petit faux pas » ---------- */
.ac-404 { min-height: calc(100vh - 4rem); min-height: calc(100svh - 4rem); display: flex; align-items: center; }
@media (min-width: 1024px) { .ac-404 { min-height: calc(100svh - 4.5rem); } }
.ac-404__inner { position: relative; width: 100%; max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; text-align: center; }
.ac-404__scene { display: block; width: 100%; max-width: 30rem; height: auto; margin: 0 auto 1.25rem; overflow: visible; }
.ac-404__digit { font-family: var(--ac-font-display); font-weight: 800; font-size: 210px; fill: #fff; letter-spacing: -.04em; }
.ac-404__title { margin: .5rem 0 0; font-family: var(--ac-font-display); font-weight: 700; color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.ac-404__text { margin: 1rem auto 0; max-width: 34rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #CBD5E1; text-wrap: pretty; }
.ac-404__suggest { margin: 1.25rem 0 0; color: #CBD5E1; }
.ac-404__suggest a { font-weight: 600; color: var(--ac-amber); text-decoration: underline; text-underline-offset: 4px; }
.ac-404__ctas { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 640px) { .ac-404__ctas { flex-direction: row; justify-content: center; } }
.ac-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin-top: 2rem; }
.ac-404__links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .9375rem; color: #CBD5E1; text-decoration: none; }
.ac-404__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Perdre l'équilibre, se rattraper, puis un léger balancement (pivot : les pieds, sur le haut de l'anneau) */
.ac-404__acrobat, .ac-404__ring, .ac-404__arms { transform-box: view-box; }
.ac-404__acrobat { transform-origin: 300px 149px; animation: ac404-recover 3.2s cubic-bezier(.45, .05, .35, 1) .4s both, ac404-sway 4s ease-in-out 3.6s infinite; }
.ac-404__arms { transform-origin: 300px 76px; animation: ac404-arms 3.2s ease-in-out .4s both; }
.ac-404__ring { transform-origin: 300px 298px; animation: ac404-rock 3.2s cubic-bezier(.45, .05, .35, 1) .4s both; }
@keyframes ac404-recover {
    0%   { transform: rotate(0); }
    18%  { transform: rotate(16deg); }
    30%  { transform: rotate(22deg) translateX(2px); }
    44%  { transform: rotate(-11deg); }
    58%  { transform: rotate(6deg); }
    72%  { transform: rotate(-3deg); }
    86%  { transform: rotate(1deg); }
    100% { transform: rotate(0); }
}
@keyframes ac404-arms {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(-28deg); }
    32% { transform: rotate(34deg); }
    46% { transform: rotate(-20deg); }
    60% { transform: rotate(10deg); }
    76% { transform: rotate(-4deg); }
}
@keyframes ac404-rock {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-2.5deg); }
    45% { transform: rotate(1.6deg); }
    65% { transform: rotate(-.8deg); }
}
@keyframes ac404-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(1.6deg); } }
@media (prefers-reduced-motion: reduce) { .ac-404__acrobat, .ac-404__arms, .ac-404__ring { animation: none; } }
