/* ── AI Business Accelerator : page d'inscription ─────────────────────────────
   Métaphore « AI Business OS » : les briques de l'entreprise s'assemblent autour de « votre entreprise IA ».
   Règle de l'Académie : en-tête sombre, contenu clair, cartes sombres. Accent de la page : violet ;
   l'or est réservé à l'inscription (comme sur la page Bootcamps). */
body { background: #f5f7fb; }
html { scroll-behavior: smooth; }

/* ── En-tête ── */
.ab-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: center; min-height: min(86vh, 820px);
  padding: 64px max(48px, calc((100vw - 1200px) / 2 + 48px)) 72px; background: #0a0a14; color: #e2e8f0; }
.ab-aurore { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .55; }
.ab-aurore i { position: absolute; border-radius: 50%; animation: ab-derive 22s ease-in-out infinite alternate; }
.ab-aurore i:nth-child(1) { width: 46%; height: 50%; left: 48%; top: 8%; background: rgba(168,85,247,.55); }
.ab-aurore i:nth-child(2) { width: 38%; height: 42%; left: 62%; top: 48%; background: rgba(0,212,255,.35); animation-duration: 27s; animation-delay: -6s; }
.ab-aurore i:nth-child(3) { width: 30%; height: 34%; left: 8%; top: 62%; background: rgba(245,158,11,.25); animation-duration: 31s; animation-delay: -12s; }
@keyframes ab-derive { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 5%) scale(1.12); } 100% { transform: translate(5%, -4%) scale(.95); } }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent 75%); }
.ab-texte { position: relative; z-index: 2; }
.ab-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; color: #f5dcb0; background: rgba(232,192,125,.1); border: 1px solid rgba(232,192,125,.35); }
.ab-badge i { width: 9px; height: 9px; border-radius: 50%; background: #f5dcb0; animation: ab-pouls 2s ease-in-out infinite; }
@keyframes ab-pouls { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,220,176,.7); } 50% { box-shadow: 0 0 0 7px rgba(245,220,176,0); } }
.ab-hero h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; color: #fff; font-size: clamp(42px, 5vw, 76px); line-height: 1.02;
  letter-spacing: -.015em; margin-bottom: 10px; }
.ab-hero h1 em { font-style: italic; background: linear-gradient(100deg, #c4b5fd, #a855f7 45%, #00d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-tag { display: inline-block; vertical-align: middle; margin-left: 10px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  padding: 5px 10px; border-radius: 8px; color: #f5dcb0; background: rgba(232,192,125,.12); border: 1px solid rgba(232,192,125,.3); }
.ab-methode { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: #c4b5fd; margin-bottom: 18px; }
.ab-sous { font-size: 18px; line-height: 1.65; color: rgba(226,232,240,.78); max-width: 33em; margin-bottom: 30px; }
.ab-chiffres { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 28px; margin-bottom: 34px; }
.ab-chiffres b { display: block; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 42px; line-height: 1; color: #fff; }
.ab-chiffres span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(226,232,240,.6); }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-bottom: 18px; }
.ab-lien { color: #fff; font-size: 16px; font-weight: 600; padding: 6px 0; background: linear-gradient(#a855f7, #a855f7) 0 100% / 100% 1px no-repeat; }
.ab-lien:hover { color: #c4b5fd; }
.ab-prix { font-size: 14.5px; color: rgba(226,232,240,.7); }
.ab-prix b { color: #f5dcb0; font-weight: 700; }
.ab-prix s { color: rgba(226,232,240,.45); }

/* Illustration : l'OS de votre entreprise s'assemble */
.ab-os { position: relative; z-index: 2; width: min(100%, 540px); aspect-ratio: 1; margin: 0 auto; }
.ab-os svg.ab-liens { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-liens line { stroke: url(#ab-degrade); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .8;
  transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i) * .32s + .55s); }
.ab-pret .ab-liens line { stroke-dashoffset: 0; }
.ab-liens circle.ab-flux { fill: #fff; filter: drop-shadow(0 0 6px #c4b5fd); opacity: 0; }
.ab-pret .ab-liens circle.ab-flux { opacity: 1; transition: opacity .4s; transition-delay: 3.6s; }
.ab-noyau { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, #2a1d55, #120c2b 70%);
  border: 1px solid rgba(196,181,253,.35); box-shadow: 0 0 0 10px rgba(168,85,247,.08), 0 30px 80px rgba(0,0,0,.6); }
.ab-noyau svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); rotate: -90deg; }
.ab-noyau svg circle { fill: none; stroke-width: 4; }
.ab-noyau .ab-anneau { stroke: url(#ab-degrade-anneau); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3s cubic-bezier(.65,0,.35,1) .6s; }
.ab-pret .ab-noyau .ab-anneau { stroke-dashoffset: 0; }
.ab-noyau small { display: block; font-size: 12px; color: #c4b5fd; letter-spacing: .3px; }
.ab-noyau b { display: block; font-size: clamp(14px, 1.5vw, 17px); color: #fff; line-height: 1.25; margin: 4px 0; padding: 0 12px; }
.ab-noyau em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: #f5dcb0; }
.ab-noyau.ab-complet { animation: ab-noyau 2.6s ease-in-out infinite; }
@keyframes ab-noyau { 0%, 100% { box-shadow: 0 0 0 10px rgba(168,85,247,.08), 0 30px 80px rgba(0,0,0,.6); }
  50% { box-shadow: 0 0 0 18px rgba(168,85,247,.04), 0 0 60px rgba(196,181,253,.35), 0 30px 80px rgba(0,0,0,.6); } }
.ab-brique { position: absolute; width: 19%; translate: -50% -50%; padding: 10px 8px 9px; border-radius: 14px; text-align: center;
  background: rgba(20,16,44,.86); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 14px 34px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; scale: .6; transition: opacity .5s ease, scale .7s cubic-bezier(.34,1.56,.64,1), border-color .4s;
  transition-delay: calc(var(--i) * .32s + .4s); will-change: transform; }
.ab-pret .ab-brique { opacity: 1; scale: 1; }
.ab-brique svg { width: 26px; height: 26px; display: block; margin: 0 auto 6px; color: var(--c, #c4b5fd); }
.ab-brique span { display: block; font-size: 12px; font-weight: 600; color: #fff; line-height: 1.2; }
.ab-brique:hover { border-color: var(--c, #c4b5fd); }

/* ── Bouton d'inscription : or, vivant (repris du programme ouvert de la page Bootcamps) ── */
.ab-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 17px 30px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #f5dcb0, #e8c07d); color: #1a1206; font-family: 'DM Sans', sans-serif; font-size: 16.5px; font-weight: 700;
  overflow: hidden; isolation: isolate; animation: ab-lueur 2.6s ease-in-out infinite; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.ab-cta::before { content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 48%, rgba(255,250,235,.95) 50%, rgba(255,255,255,.75) 52%, transparent 70%);
  background-size: 250% 100%; background-position: 160% 0; animation: ab-reflet 3.2s cubic-bezier(.65,0,.35,1) infinite; }
.ab-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 44px rgba(232,192,125,.5), 0 0 0 4px rgba(232,192,125,.18); }
.ab-cta .ab-fleche { display: inline-block; animation: ab-fleche 1.6s ease-in-out infinite; }
.ab-cta .ab-etoile { position: absolute; width: 10px; height: 10px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 12%, #fff 13% 14%, transparent 15% 37%, #fff 38% 39%, transparent 40% 62%, #fff 63% 64%, transparent 65% 87%, #fff 88% 89%, transparent 90%);
  filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); animation: ab-scintille 2.4s ease-in-out infinite; }
.ab-cta .ab-etoile.e1 { top: 16%; left: 10%; animation-delay: .2s; }
.ab-cta .ab-etoile.e2 { top: 58%; left: 52%; animation-delay: 1s; width: 8px; height: 8px; }
.ab-cta .ab-etoile.e3 { top: 20%; right: 9%; animation-delay: 1.7s; }
.ab-cta.ab-appel { animation: ab-appel .9s cubic-bezier(.34,1.56,.64,1), ab-lueur 2.6s ease-in-out infinite; }
.ab-zone { position: relative; display: inline-block; }
.ab-zone.ab-plein { display: block; }
.ab-zone.ab-plein .ab-cta { width: 100%; justify-content: center; }
.ab-onde { position: absolute; inset: 0; border-radius: 12px; pointer-events: none; border: 2px solid rgba(245,220,176,.75); opacity: 0;
  animation: ab-onde 2.8s cubic-bezier(.16,1,.3,1) infinite; }
.ab-onde.o2 { animation-delay: 1.4s; }
.ab-feu { position: absolute; inset: -44px -26px -18px; z-index: 3; pointer-events: none; display: block; }
@keyframes ab-lueur { 0%, 100% { box-shadow: 0 8px 24px rgba(232,192,125,.22), 0 0 0 0 rgba(232,192,125,.45); } 50% { box-shadow: 0 12px 34px rgba(232,192,125,.4), 0 0 0 8px rgba(232,192,125,0); } }
@keyframes ab-reflet { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes ab-scintille { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1.15) rotate(45deg); } 60% { opacity: .8; transform: scale(.9) rotate(60deg); } }
@keyframes ab-fleche { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes ab-onde { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15, 1.6); } }
@keyframes ab-appel { 0% { scale: 1; rotate: 0deg; } 25% { scale: 1.07; rotate: -1.5deg; } 45% { scale: .98; rotate: 1.2deg; } 65% { scale: 1.04; rotate: -.6deg; } 100% { scale: 1; rotate: 0deg; } }
.ab-cta:focus-visible, .ab-lien:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ── Contenu sur fond clair ── */
.section .section-label { color: #7c3aed; }
.section .section-title { color: #0f1523; }
.section .section-title em { color: #7c3aed; }
.section .section-sub { color: #4a5468; }
.audience-card, .mod-item, .week-card { box-shadow: 0 10px 28px rgba(15,21,35,.12); }
.audience-card:hover, .mod-item:hover, .week-card:hover { border-color: rgba(168,85,247,.45); transform: translateY(-3px); }
.audience-card, .mod-item, .week-card { transition: border-color .3s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.audience-icon svg { width: 34px; height: 34px; color: #c4b5fd; }
.audience-card:hover .audience-icon svg { color: #f5dcb0; }
.prerequis { background: #fff; border-color: rgba(124,58,237,.25); box-shadow: 0 8px 22px rgba(15,21,35,.06); }
.prerequis-text { color: #1f2a3d; }
.prerequis-text strong { color: #7c3aed; }
.locked-overlay::after { background: linear-gradient(rgba(245,247,251,0), #f5f7fb); }
.locked-card { background: rgba(14,10,32,.94); }
.locked-icon { display: inline-block; animation: ab-cadenas 3.4s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes ab-cadenas { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-10deg); } 82% { transform: rotate(8deg); } 89% { transform: rotate(-4deg); } }
.locked-blur { position: relative; }
.locked-overlay::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(196,181,253,.18) 50%, transparent 65%); background-size: 250% 100%; animation: ab-balaye 4s ease-in-out infinite; }
@keyframes ab-balaye { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }
.final-project { background: linear-gradient(135deg, #1b1740, #0e0b24); border-color: rgba(196,181,253,.25); box-shadow: 0 24px 60px rgba(15,21,35,.25); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.price-card { box-shadow: 0 14px 36px rgba(15,21,35,.16); }
.price-card.featured { border-color: transparent; transform: translateY(-10px); box-shadow: 0 30px 70px rgba(15,21,35,.32); }
.price-card.featured:hover { transform: translateY(-14px); }
.price-card.featured::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ab-angle, 0deg), #f5dcb0, #a855f7, #00d4ff, #f5dcb0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ab-tourne 6s linear infinite; }
@property --ab-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ab-tourne { to { --ab-angle: 360deg; } }
.price-card-popular { background: linear-gradient(90deg, #f5dcb0, #e8c07d); color: #1a1206; }
.price-tier.gold { color: #f5dcb0; }
.price-card.featured .price-cta { background: linear-gradient(135deg, #f5dcb0, #e8c07d); color: #1a1206; }
.cur-switch-hint { color: #4a5468; }
.cur-switch-btn { background: #fff; border-color: rgba(15,21,35,.16); color: #1f2a3d; }
.pricing-note { color: #4a5468; }
.pricing-note strong { color: #b45309; }
.help-box { background: #fff; box-shadow: 0 8px 22px rgba(15,21,35,.06); }
.help-box-txt { color: #3a4356; }
.help-box-txt strong { color: #0f1523; }

/* Parcours en cinq étapes */
.ab-parcours { list-style: none; margin: 8px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ab-piste { position: absolute !important; left: 10%; right: 10%; top: 31px; height: 3px; padding: 0 !important; border-radius: 3px; background: rgba(15,21,35,.1); }
.ab-piste i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #00d4ff, #a855f7, #f59e0b); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(168,85,247,.5); }
.ab-etape { position: relative; text-align: center; }
.ab-etape-rond { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #141030; border: 2px solid rgba(15,21,35,.12); color: rgba(226,232,240,.5); box-shadow: 0 10px 26px rgba(15,21,35,.18);
  transition: border-color .5s, color .5s, transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s; }
.ab-etape-rond svg { width: 28px; height: 28px; }
.ab-etape.ab-allume .ab-etape-rond { border-color: #a855f7; color: #c4b5fd; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(168,85,247,.14), 0 12px 30px rgba(124,58,237,.35); }
.ab-etape small { display: inline-block; font-size: 12px; font-weight: 700; color: #7c3aed; background: rgba(124,58,237,.09); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.ab-etape h3 { font-size: 18px; font-weight: 700; color: #0f1523; margin-bottom: 6px; }
.ab-etape p { font-size: 14.5px; line-height: 1.55; color: #4a5468; }
.ab-final { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; padding: 16px 22px; border-radius: 14px;
  background: linear-gradient(135deg, #1b1740, #0e0b24); color: #fff; font-weight: 600; box-shadow: 0 16px 40px rgba(15,21,35,.22); }
.ab-final b { color: #f5dcb0; }

/* Semaine type en barre */

/* Dernier appel */
.bottom-cta { background: radial-gradient(700px 360px at 50% 100%, rgba(168,85,247,.22), transparent 70%), #0a0a14; margin-top: 40px; }
.bottom-cta h2 em { color: #c4b5fd; }

/* Barre d'inscription qui suit le visiteur */
.ab-barre-insc { position: fixed; left: 50%; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 20px;
  border-radius: 16px; background: rgba(14,10,32,.92); border: 1px solid rgba(196,181,253,.25); box-shadow: 0 20px 50px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #e2e8f0;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s; }
.ab-barre-insc.ab-visible { transform: translate(-50%, 0); opacity: 1; }
.ab-barre-insc div b { display: block; color: #fff; font-size: 14.5px; }
.ab-barre-insc div span { display: block; font-size: 13px; color: rgba(226,232,240,.7); }
.ab-barre-insc div span i { font-style: normal; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f5dcb0; margin-right: 6px; animation: ab-pouls 2s infinite; }
.ab-barre-insc .ab-cta { padding: 12px 20px; font-size: 15px; animation: none; }

/* Retouches : projet final sombre jusqu'en bas, boutons d'offre, semaine sans doublon, verrou en or */
.final-project .locked-overlay::after { background: linear-gradient(rgba(14,11,36,0), #0e0b24); }
.ab-semaine + .week-grid { display: none; }
.price-card .price-cta:not(.outline):not(.ab-cta) { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; }
.price-card .price-cta:not(.outline):not(.ab-cta):hover { box-shadow: 0 8px 26px rgba(124,58,237,.4); transform: translateY(-2px); }
.price-cta.outline:hover { border-color: #c4b5fd; color: #c4b5fd; }
.locked-cta.primary { background: linear-gradient(135deg, #f5dcb0, #e8c07d); color: #1a1206; }
.locked-cta.primary:hover { box-shadow: 0 10px 30px rgba(232,192,125,.45); }

/* ── Animations d'apparition ──────────────────────────────────────────────── */
/* En-tête : chaque élément arrive à son tour au chargement (sans attendre le script) */
@media (prefers-reduced-motion: no-preference) {
  .ab-texte > * { animation: ab-monte .9s cubic-bezier(.16,1,.3,1) both; }
  .ab-texte > :nth-child(1) { animation-delay: .1s; } .ab-texte > :nth-child(2) { animation-delay: .22s; }
  .ab-texte > :nth-child(3) { animation-delay: .36s; } .ab-texte > :nth-child(4) { animation-delay: .48s; }
  .ab-texte > :nth-child(5) { animation-delay: .6s; } .ab-texte > :nth-child(6) { animation-delay: .74s; } .ab-texte > :nth-child(7) { animation-delay: .86s; }
  .ab-os { animation: ab-zoom 1.4s cubic-bezier(.16,1,.3,1) .2s both; }
}
@keyframes ab-monte { from { opacity: 0; translate: 0 28px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
@keyframes ab-zoom { from { opacity: 0; scale: .82; filter: blur(8px); } to { opacity: 1; scale: 1; filter: none; } }
/* Au défilement : les blocs montent du flou au net, en cascade */
.ab-rev { opacity: 0; translate: 0 34px; filter: blur(5px);
  transition: opacity .7s ease, translate .9s cubic-bezier(.16,1,.3,1), filter .7s ease; transition-delay: calc(var(--d, 0) * 80ms); }
.ab-rev.ab-vu { opacity: 1; translate: 0 0; filter: none; }
/* Icônes tracées au trait à leur apparition */
.ab-trace svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.65,0,.35,1) .25s; }
.ab-trace.ab-vu svg *, .ab-etape.ab-allume .ab-trace svg * { stroke-dashoffset: 0; }
/* Offres : l'ancien prix se barre sous vos yeux, puis le nouveau prix s'affirme */
.price-old { position: relative; display: inline-block; text-decoration: none; }
.price-old::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: #f87171;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.65,0,.35,1) .55s; }
.price-card.ab-vu .price-old::after { transform: scaleX(1); }
.price-new { display: inline-block; transition: scale .6s cubic-bezier(.34,1.56,.64,1) 1s, color .6s 1s; }
.price-card.ab-rev .price-new { scale: .85; }
.price-card.ab-vu .price-new { scale: 1; }
.price-card.featured.ab-vu .price-new { color: #f5dcb0; }
.price-early { position: relative; overflow: hidden; }
.price-early::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,230,180,.45) 50%, transparent 65%);
  background-size: 250% 100%; animation: ab-balaye 3.6s ease-in-out infinite; }
/* Programme : le numéro du module s'allume au survol */
.mod-num { transition: color .3s, text-shadow .3s; }
.mod-item:hover .mod-num { color: #f5dcb0; text-shadow: 0 0 14px rgba(245,220,176,.6); }
/* Barre de lecture dorée en haut de la page */
.ab-lecture { position: fixed; left: 0; top: 0; z-index: 1000; height: 3px; width: 100%; pointer-events: none;
  background: linear-gradient(90deg, #a855f7, #f5dcb0); transform-origin: 0 50%; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) {
  .ab-rev { opacity: 1; translate: none; filter: none; transition: none; }
  .ab-trace svg * { stroke-dashoffset: 0; transition: none; }
  .price-old::after { transform: scaleX(1); transition: none; }
  .price-early::after { animation: none; }
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-hero { grid-template-columns: 1fr; text-align: left; }
  .ab-os { width: min(100%, 460px); }
  .ab-parcours { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 900px) {
  .ab-hero { padding: 40px 20px 56px; min-height: 0; gap: 28px; }
  .ab-chiffres { grid-template-columns: repeat(2, auto); gap: 18px 32px; }
  .ab-actions .ab-zone, .ab-actions .ab-cta { width: 100%; justify-content: center; }
  .ab-brique { width: 22%; padding: 8px 4px; }
  .ab-brique span { font-size: 10.5px; }
  .ab-brique svg { width: 20px; height: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .ab-parcours { grid-template-columns: 1fr; overflow: visible; gap: 22px; }
  .ab-piste { left: 31px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; }
  .ab-piste i { transform-origin: 50% 0; transform: scaleY(0); }
  .ab-etape { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .ab-etape-rond { margin: 0; grid-row: span 3; }
  .ab-barre-insc { left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); justify-content: space-between; }
  .ab-barre-insc.ab-visible { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ab-aurore i, .ab-badge i, .ab-cta, .ab-cta::before, .ab-cta .ab-etoile, .ab-cta .ab-fleche, .ab-onde, .locked-icon, .locked-overlay::before,
  .price-card.featured::before, .ab-noyau.ab-complet, .ab-barre-insc div span i { animation: none; }
  .ab-brique, .ab-liens line, .ab-noyau .ab-anneau { transition: none; }
  .ab-brique { opacity: 1; scale: 1; } .ab-liens line, .ab-noyau .ab-anneau { stroke-dashoffset: 0; }
}

/* ── FAQ : cartes sombres en accordéon sur fond clair ── */
.ab-faq { max-width: 860px; margin: 8px auto 0; display: grid; gap: 14px; }
.ab-faq-item { background: linear-gradient(135deg, #17142f, #0e0b22); border: 1px solid rgba(196,181,253,.16); border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15,21,35,.14); overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.16,1,.3,1); }
.ab-faq-item:hover { border-color: rgba(168,85,247,.45); transform: translateY(-2px); }
.ab-faq-item[open] { border-color: rgba(245,220,176,.4); box-shadow: 0 18px 44px rgba(15,21,35,.24); }
.ab-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; color: #fff; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.ab-faq-item summary::-webkit-details-marker { display: none; }
.ab-faq-item summary:focus-visible { outline: 2px solid #c4b5fd; outline-offset: -4px; border-radius: 14px; }
.ab-faq-item summary i { position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(196,181,253,.35); transition: transform .45s cubic-bezier(.16,1,.3,1), background .3s, border-color .3s; }
.ab-faq-item summary i::before, .ab-faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #c4b5fd; transition: transform .45s cubic-bezier(.16,1,.3,1), background .3s; }
.ab-faq-item summary i::after { transform: rotate(90deg); }
.ab-faq-item[open] summary i { transform: rotate(180deg); background: rgba(245,220,176,.12); border-color: rgba(245,220,176,.5); }
.ab-faq-item[open] summary i::before, .ab-faq-item[open] summary i::after { background: #f5dcb0; }
.ab-faq-item[open] summary i::after { transform: rotate(0deg); }
.ab-faq-rep { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.16,1,.3,1); }
.ab-faq-rep > p { overflow: hidden; margin: 0; padding: 0 24px; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.7; }
.ab-faq-item[open] .ab-faq-rep { grid-template-rows: 1fr; }
.ab-faq-item[open] .ab-faq-rep > p { padding-bottom: 22px; animation: ab-faq-texte .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes ab-faq-texte { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ab-faq-item summary { padding: 18px; font-size: 15.5px; } .ab-faq-rep > p { padding: 0 18px; } .ab-faq-item[open] .ab-faq-rep > p { padding-bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .ab-faq-item, .ab-faq-rep, .ab-faq-item summary i, .ab-faq-item summary i::before, .ab-faq-item summary i::after { transition: none; } .ab-faq-item[open] .ab-faq-rep > p { animation: none; } }
/* Semaine type : anneau qui se dessine, barres, mise en avant tournante */
.ab-semaine { margin: 0 0 22px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, #17142f, #0e0b22); box-shadow: 0 18px 44px rgba(15,21,35,.2); color: #e2e8f0; border: 1px solid rgba(196,181,253,.14); }
.ab-semaine-titre { font-weight: 600; font-size: 15px; letter-spacing: .3px; color: rgba(226,232,240,.75); margin-bottom: 18px; }
.ab-sem-grille { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 34px; align-items: center; }
.ab-semaine [data-cat="c"] { --col: #a855f7; } .ab-semaine [data-cat="a"] { --col: #00d4ff; } .ab-semaine [data-cat="q"] { --col: #f59e0b; } .ab-semaine [data-cat="t"] { --col: #10b981; }
.ab-donut { position: relative; width: 230px; aspect-ratio: 1; }
.ab-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ab-donut circle { fill: none; stroke-width: 12; }
.ab-donut-fond { stroke: rgba(255,255,255,.06); }
.ab-donut circle[data-cat] { stroke: var(--col); stroke-linecap: round; stroke-dasharray: 0 100; stroke-dashoffset: calc(var(--deb) * -1);
  transition: stroke-dasharray 1s cubic-bezier(.65,0,.35,1) calc(.15s + var(--i) * .32s), opacity .4s, stroke-width .4s; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--col) 60%, transparent)); }
.ab-donut circle.ab-plage { stroke-dasharray: 0 100; opacity: .45; stroke-linecap: butt; animation: ab-plage-anneau 2.4s ease-in-out infinite; }
.ab-semaine.ab-vu .ab-donut circle[data-cat] { stroke-dasharray: var(--len) 100; }
@keyframes ab-plage-anneau { 0%, 100% { opacity: .3; } 50% { opacity: .65; } }
.ab-donut-centre { position: absolute; inset: 22%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ab-donut-centre b { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 30px; line-height: 1.05; color: #fff; transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1); }
.ab-donut-centre span { margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: rgba(226,232,240,.65); transition: opacity .25s; max-width: 130px; }
.ab-donut-centre.ab-change b, .ab-donut-centre.ab-change span { opacity: 0; transform: translateY(4px); }
.ab-sem-lignes { display: grid; gap: 10px; }
.ab-sem-ligne { display: grid; grid-template-columns: 12px minmax(0, 210px) minmax(0, 1fr) 74px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.03); cursor: default; outline: none;
  opacity: 0; transform: translateX(14px); transition: opacity .6s calc(.2s + var(--i) * .15s), transform .7s cubic-bezier(.16,1,.3,1) calc(.2s + var(--i) * .15s), background .35s, border-color .35s; }
.ab-semaine.ab-vu .ab-sem-ligne { opacity: 1; transform: none; }
.ab-sem-pastille { width: 12px; height: 12px; border-radius: 50%; background: var(--col); box-shadow: 0 0 0 0 var(--col); }
.ab-sem-txt b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; }
.ab-sem-txt small { display: block; font-size: 12.5px; color: rgba(226,232,240,.6); margin-top: 1px; }
.ab-sem-piste { position: relative; height: 10px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.ab-sem-piste i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--w) * 100%); border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--col) 70%, #fff 0%), var(--col));
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65,0,.35,1) calc(.45s + var(--i) * .2s); }
.ab-sem-piste i.ab-plage { left: calc(var(--x) * 100%); border-radius: 0 6px 6px 0; background: repeating-linear-gradient(45deg, var(--col) 0 5px, transparent 5px 10px); opacity: .55; transition-delay: calc(1.3s + var(--i) * .2s); animation: ab-plage-barre 2.4s ease-in-out infinite; }
@keyframes ab-plage-barre { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
.ab-semaine.ab-vu .ab-sem-piste i { transform: scaleX(1); }
.ab-sem-val { font-style: normal; text-align: right; font-weight: 700; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Activité mise en avant */
.ab-sem-ligne.ab-on { background: color-mix(in srgb, var(--col) 12%, transparent); border-color: color-mix(in srgb, var(--col) 45%, transparent); }
.ab-sem-ligne.ab-on .ab-sem-pastille { animation: ab-sem-pouls 1.6s ease-out infinite; }
.ab-sem-ligne:focus-visible { border-color: #c4b5fd; }
@keyframes ab-sem-pouls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--col) 70%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.ab-semaine.ab-focus .ab-donut circle[data-cat] { opacity: .22; }
.ab-semaine.ab-focus .ab-donut circle[data-cat].ab-on { opacity: 1; stroke-width: 15; }
.ab-semaine.ab-focus .ab-donut circle.ab-plage.ab-on { opacity: .6; animation: none; }
@media (max-width: 900px) {
  .ab-sem-grille { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .ab-donut { width: 200px; }
  .ab-sem-lignes { width: 100%; }
}
@media (max-width: 600px) {
  .ab-semaine { padding: 20px 16px; }
  .ab-sem-ligne { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px; }
  .ab-sem-piste { grid-column: 2 / -1; grid-row: 2; }
  .ab-sem-pastille { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-donut circle[data-cat], .ab-sem-ligne, .ab-sem-piste i, .ab-donut-centre b, .ab-donut-centre span { transition: none !important; animation: none !important; }
  .ab-donut circle[data-cat] { stroke-dasharray: var(--len) 100; } .ab-sem-ligne { opacity: 1; transform: none; } .ab-sem-piste i { transform: none; }
}
/* fin semaine type */

/* ── Prix en FCFA : montants plus longs qu'en euros, on réduit la taille pour rester dans la carte ── */
html[data-currency="XOF"] .price-card .price-new { font-size: 34px; }
@media (max-width: 1100px) and (min-width: 769px) { html[data-currency="XOF"] .price-card .price-new { font-size: 30px; } }
