/* =============================================
   WOW.CSS - Illustration animée de la formation, encart formation,
   couvertures d'articles, vignettes du blog, micro-interactions.
   Sans dépendance. Tout mouvement coupé si prefers-reduced-motion.
   ============================================= */

/* ── Illustration animée (fenêtre de chat + cartes flottantes) ── */
.wow-box { container-type: inline-size; position: relative; }
.wow {
  --mx: 0; --my: 0;
  --wb: #8B1538; --wp: #C41E5E; --wl: #ff8cb4;
  position: relative;
  width: 100%;
  aspect-ratio: 560 / 470;
  font-size: 15px;
  font-size: min(15px, 2.68cqw);
  font-family: 'Inter Tight', 'Nunito', system-ui, sans-serif;
  line-height: 1.35;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}
.wow svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.wow-halo {
  position: absolute; inset: 4% 6%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 62% 40%, rgba(196, 30, 94, .55), transparent 70%),
    radial-gradient(closest-side at 32% 66%, rgba(139, 21, 56, .5), transparent 72%),
    radial-gradient(closest-side at 50% 50%, rgba(255, 140, 180, .22), transparent 80%);
  filter: blur(18px);
  animation: wow-breathe 9s ease-in-out infinite alternate;
}
.wow-ring {
  position: absolute; left: 50%; top: 50%;
  width: 82%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 140, 180, .55) 26%, transparent 36% 62%, rgba(196, 30, 94, .5) 72%, transparent 82%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  opacity: .8;
  animation: wow-spin 22s linear infinite;
}
.wow-ring::after {
  content: ''; position: absolute; inset: 9%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .1);
}

/* Fenêtre */
.wow-win {
  position: absolute; left: 50%; top: 50%;
  width: 24em;
  translate: -50% -50%;
  transform: translate3d(calc(var(--mx) * -.5em), calc(var(--my) * -.4em), 0) rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 4deg));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  border-radius: 1.25em;
  background: linear-gradient(160deg, #2a1e30 0%, #171119 60%, #120d15 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 2.5em 4em -1.5em rgba(10, 5, 12, .75), 0 0 0 1px rgba(0, 0, 0, .3), 0 0 4em -1em rgba(196, 30, 94, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
  z-index: 2;
}
.wow-bar { display: flex; align-items: center; gap: .38em; padding: .75em .95em; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.wow-bar i { width: .55em; height: .55em; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.wow-bar i:first-child { background: #e0587f; }
.wow-bar span { margin-left: auto; margin-right: auto; padding-right: 2.2em; font-size: .72em; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .5); }
.wow-chat { padding: .95em .95em .3em; min-height: 13.4em; transition: opacity .4s; }
.wow-q {
  margin: 0 0 .9em auto;
  max-width: 85%;
  min-height: 4.4em;
  padding: .65em .85em;
  border-radius: 1em 1em .3em 1em;
  background: linear-gradient(140deg, rgba(196, 30, 94, .32), rgba(139, 21, 56, .22));
  border: 1px solid rgba(255, 140, 180, .22);
  font-size: .84em;
  line-height: 1.42;
  color: rgba(255, 255, 255, .94);
}
.wow-caret { display: none; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.18em; background: var(--wl); animation: wow-blink .9s steps(2) infinite; }
.wow.is-typing .wow-caret { display: inline-block; }
.wow-a { position: relative; display: grid; grid-template-columns: 1.9em 1fr; column-gap: .65em; align-items: start; }
.wow-av {
  grid-row: span 2;
  width: 1.9em; height: 1.9em; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--wp), var(--wb));
  box-shadow: 0 0 1.2em rgba(196, 30, 94, .6);
}
.wow-av svg { width: 1.05em; height: 1.05em; fill: #fff; stroke: none; }
.wow-dots { display: none; gap: .3em; padding: .65em 0; }
.wow-dots i { width: .45em; height: .45em; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: wow-dot 1s ease-in-out infinite; }
.wow-dots i:nth-child(2) { animation-delay: .15s; }
.wow-dots i:nth-child(3) { animation-delay: .3s; }
.wow.is-think .wow-dots { display: flex; }
.wow.is-think .wow-lines { display: none; }
.wow-lines { display: grid; gap: .5em; padding-top: .2em; }
.wow-lines b { font-size: .84em; font-weight: 600; color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wow-lines i { height: .5em; border-radius: 1em; background: linear-gradient(90deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .1)); transform-origin: left; }
.wow-l1 { width: 96%; } .wow-l2 { width: 84%; } .wow-l3 { width: 58%; }
.wow-ok {
  grid-column: 2;
  justify-self: start;
  display: inline-flex; align-items: center; gap: .4em;
  margin-top: .85em;
  padding: .38em .75em .38em .5em;
  border-radius: 2em;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 140, 180, .35);
  font-size: .74em; font-weight: 700; letter-spacing: .01em;
  color: #ffd2e1;
  transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.wow-ok svg { width: 1.2em; height: 1.2em; stroke: var(--wl); stroke-width: 2.4; }
.wow-in {
  display: flex; align-items: center; gap: .6em;
  margin: .55em .8em .85em;
  padding: .45em .45em .45em .95em;
  border-radius: 2em;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .78em; color: rgba(255, 255, 255, .42);
}
.wow-in b { margin-left: auto; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--wp), var(--wb)); color: #fff; }
.wow-in b svg { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.wow.is-typing .wow-in b { animation: wow-pulse 1.2s ease-in-out infinite; }
.wow-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .09) 47%, rgba(255, 255, 255, .02) 53%, transparent 60%);
  background-size: 260% 100%;
  animation: wow-sheen 7s ease-in-out infinite;
}

/* États animés (uniquement quand le script tourne) */
.wow.is-live .wow-lines b { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.2, .8, .2, 1); }
.wow.is-live .wow-lines i { transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.wow.is-live .wow-ok { opacity: 0; transform: translateY(.5em) scale(.94); }
.wow.is-live.is-answer .wow-lines b { clip-path: inset(0 0 0 0); }
.wow.is-live.is-answer .wow-lines i { transform: none; }
.wow.is-live.is-answer .wow-l1 { transition-delay: .35s; }
.wow.is-live.is-answer .wow-l2 { transition-delay: .6s; }
.wow.is-live.is-answer .wow-l3 { transition-delay: .85s; }
.wow.is-live.is-done .wow-ok { opacity: 1; transform: none; }
.wow.is-live.is-out .wow-chat { opacity: 0; }
.wow.is-live.is-out .wow-lines b, .wow.is-live.is-out .wow-lines i { transition-duration: 0s; transition-delay: 0s; }

/* Cartes flottantes */
.wow-c {
  position: absolute; z-index: 3;
  --z: 1;
  transform: translate3d(calc(var(--mx) * var(--z) * 1em), calc(var(--my) * var(--z) * .8em), 0);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.wow-cf {
  position: relative;
  display: grid;
  grid-template-columns: 2.1em 1fr;
  column-gap: .6em;
  align-items: center;
  min-width: 9.6em;
  padding: .6em .85em .6em .6em;
  border-radius: 1em;
  background: linear-gradient(160deg, rgba(255, 253, 249, .97), rgba(248, 240, 238, .93));
  color: #14101a;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1.4em 2.4em -1em rgba(20, 10, 18, .55), inset 0 1px 0 #fff;
  animation: wow-float 6.5s ease-in-out infinite alternate;
  transition: box-shadow .5s, scale .5s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
.wow-cf::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .85) 48%, transparent 60%);
  background-size: 300% 100%; background-position: 120% 0;
}
.wow-cf > svg {
  grid-row: span 2;
  width: 2.1em; height: 2.1em; padding: .42em;
  border-radius: .65em;
  color: #fff; stroke-width: 1.8;
  background: linear-gradient(140deg, var(--wp), var(--wb));
  box-shadow: 0 .4em .9em -.3em rgba(139, 21, 56, .7);
}
.wow-cf b { font-size: .8em; font-weight: 700; letter-spacing: -.005em; line-height: 1.2; }
.wow-cf small { font-size: .66em; color: #6b6474; line-height: 1.25; }
.wow-c.is-hot .wow-cf { scale: 1.07; box-shadow: 0 1.6em 2.8em -1em rgba(139, 21, 56, .7), 0 0 0 2px rgba(255, 140, 180, .85), 0 0 2.2em rgba(196, 30, 94, .55); }
.wow-c.is-hot .wow-cf::after { animation: wow-glint 1.1s ease-out; }

.wow-c1 { left: 0; top: 13%; --z: 1.3; }
.wow-c2 { right: -1%; top: 4%; --z: .9; }
.wow-c3 { left: 2%; bottom: 12%; --z: 1.1; }
.wow-c4 { right: 0; bottom: 20%; --z: 1.5; }
.wow-c5 { left: 41%; bottom: -1%; --z: .7; }
.wow-c2 .wow-cf { animation-delay: -2s; animation-duration: 7.5s; }
.wow-c3 .wow-cf { animation-delay: -4s; animation-duration: 6s; }
.wow-c4 .wow-cf { animation-delay: -1s; animation-duration: 8s; }
.wow-c5 .wow-cf { animation-delay: -3s; animation-duration: 7s; }

/* Carte « Tableau » : mini grille ; carte « Graphique » : barres */
.wow-grid { grid-template-columns: repeat(3, 1.9em); grid-auto-rows: .62em; gap: .28em; min-width: 0; padding: .6em .7em .7em; }
.wow-grid b { grid-column: 1 / -1; margin-bottom: .1em; height: auto; }
.wow-grid { align-items: stretch; }
.wow-grid span { height: .62em; border-radius: .18em; background: #e3d5da; }
.wow-grid span:nth-of-type(1), .wow-grid span:nth-of-type(2), .wow-grid span:nth-of-type(3) { background: linear-gradient(90deg, var(--wp), var(--wb)); opacity: .85; }
.wow-grid span:nth-of-type(5) { background: #ffd2e1; }
.wow-bars { grid-template-columns: repeat(5, .95em); grid-template-rows: auto 3.2em; column-gap: .38em; align-items: end; min-width: 0; padding: .6em .75em .7em; }
.wow-bars b { grid-column: 1 / -1; margin-bottom: .35em; }
.wow-bars span { height: 100%; border-radius: .25em .25em .1em .1em; background: linear-gradient(180deg, var(--wl), var(--wb)); transform-origin: bottom; transform: scaleY(var(--h)); animation: wow-bar 4.5s ease-in-out infinite alternate; }
.wow-bars span:nth-of-type(2) { animation-delay: -1s; } .wow-bars span:nth-of-type(3) { animation-delay: -2.2s; }
.wow-bars span:nth-of-type(4) { animation-delay: -.5s; } .wow-bars span:nth-of-type(5) { animation-delay: -3s; }

/* Particules */
.wow-p { position: absolute; width: .45em; height: .45em; border-radius: 50%; background: var(--wl); box-shadow: 0 0 .9em .25em rgba(255, 140, 180, .7); animation: wow-twinkle 3.2s ease-in-out infinite; }
.wow-p1 { left: 22%; top: 6%; } .wow-p2 { right: 12%; top: 46%; animation-delay: -1.2s; } .wow-p3 { left: 6%; top: 60%; animation-delay: -2.1s; width: .3em; height: .3em; }

@keyframes wow-breathe { from { transform: scale(.94); opacity: .8; } to { transform: scale(1.06); opacity: 1; } }
@keyframes wow-spin { to { rotate: 360deg; } }
@keyframes wow-blink { 50% { opacity: 0; } }
@keyframes wow-dot { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-.25em); opacity: 1; } }
@keyframes wow-pulse { 50% { box-shadow: 0 0 0 .4em rgba(196, 30, 94, .25); } }
@keyframes wow-sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes wow-float { from { translate: 0 -.35em; rotate: -1.2deg; } to { translate: 0 .45em; rotate: 1.2deg; } }
@keyframes wow-glint { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@keyframes wow-bar { from { transform: scaleY(calc(var(--h) * .55)); } to { transform: scaleY(var(--h)); } }
@keyframes wow-twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }

@container (max-width: 420px) {
  .wow-c5 { display: none; }
  .wow-cf small { display: none; }
  .wow-cf { min-width: 0; }
}

/* ── Encart formation spectaculaire (accueil + blog) ── */
.fc-home { padding: 10px 24px 0; }
.fcw {
  --sx: -40%; --sy: -40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: clamp(32px, 4.4vw, 60px) clamp(24px, 4vw, 56px);
  border-radius: 30px;
  background: #14101a;
  color: rgba(255, 255, 255, .8);
  font-family: 'Nunito', system-ui, sans-serif;
  text-align: left;
  box-shadow: 0 50px 100px -50px rgba(20, 16, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.fcw::before {
  content: ''; position: absolute; z-index: -1; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--fcw-a, 0deg), rgba(255, 140, 180, .0) 0 20%, rgba(255, 140, 180, .7) 30%, rgba(196, 30, 94, .0) 40% 70%, rgba(196, 30, 94, .6) 80%, rgba(255, 140, 180, 0) 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: fcw-border 10s linear infinite;
}
.fcw::after {
  content: ''; position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--sx) var(--sy), rgba(255, 140, 180, .12), transparent 60%),
    radial-gradient(60% 80% at 82% 30%, rgba(196, 30, 94, .45), transparent 70%),
    radial-gradient(50% 70% at 0% 110%, rgba(139, 21, 56, .55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 34px 34px;
}
@property --fcw-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fcw-border { to { --fcw-a: 360deg; } }
.fcw-k {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 180, .35);
  background: rgba(255, 255, 255, .04);
  font: 700 12px/1.2 'Inter Tight', 'Nunito', sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: #ffb3cd;
}
.fcw-k i { width: 8px; height: 8px; border-radius: 50%; background: #ff8cb4; box-shadow: 0 0 0 0 rgba(255, 140, 180, .6); animation: fcw-ping 2s ease-out infinite; }
@keyframes fcw-ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 140, 180, 0); } }
.fcw-t {
  margin: 18px 0 0;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
}
.fcw-t em {
  font-family: inherit; font-style: italic;
  background: linear-gradient(95deg, #ff8cb4, #ffd9e6 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.fcw-p { margin: 18px 0 0; max-width: 34em; font-size: 17px; line-height: 1.62; color: rgba(255, 255, 255, .78); }
.fcw-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.fcw-b {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C41E5E, #8B1538);
  color: #fff;
  font: 700 16px/1 'Inter Tight', 'Nunito', sans-serif;
  text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(196, 30, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.fcw-b::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 150% 0;
  animation: fcw-shine 4.5s ease-in-out infinite;
}
@keyframes fcw-shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.fcw-b:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(196, 30, 94, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
.fcw-b:focus-visible { outline: 2px solid #ff8cb4; outline-offset: 4px; }
.fcw-alt { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.fcw-alt a { color: #ffb3cd; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 179, 205, .4); text-underline-offset: 3px; }
.fcw-alt a:hover { text-decoration-color: currentColor; }
.fcw-vis { margin: -10px -10px -10px 0; }
@media (max-width: 860px) {
  .fcw { grid-template-columns: minmax(0, 1fr); padding: 30px 22px 26px; border-radius: 24px; }
  .fcw-vis { order: -1; margin: -6px -8px 0; }
  .fcw-p { font-size: 16px; }
}
@media (max-width: 600px) {
  .fc-home { padding: 8px 16px 0; }
  .fcw { margin-bottom: 24px; }
  .fcw-b { width: 100%; justify-content: center; }
}

/* ── Hero de la page de vente : illustration + bande « En pratique » ── */
.phero--wow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.phero--wow .wow-box { animation: rise 1s cubic-bezier(.2, .8, .2, 1) .2s both; }
.dossier--strip { max-width: 1184px; margin: 0 auto 8px; padding: 22px 30px; }
.dossier--strip dl { margin: 10px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 26px; }
.dossier--strip dl > div { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 10px 0 4px; border-bottom: 0; }
.dossier--strip dd { text-align: left; }
.dossier--strip dt { font-size: 14px; }
@media (max-width: 1100px) {
  .phero--wow { grid-template-columns: minmax(0, 1fr); }
  .phero--wow .wow-box { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
  .dossier--strip { margin: 0 20px 8px; }
  .dossier--strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dossier--strip dl > div { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 12px 0; }
}

/* ── Couverture d'article ── */
.phero--solo.has-cover { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.phero--solo.has-cover h1 { font-size: clamp(40px, 4.4vw, 64px); }
.cover {
  --sx: -40%; --sy: -40%;
  position: relative;
  margin: 0;
  perspective: 1400px;
  animation: rise 1s cubic-bezier(.2, .8, .2, 1) .25s both;
}
.cover::before {
  content: ''; position: absolute; inset: 10% 6% -4%; z-index: -1;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(196, 30, 94, .45), rgba(139, 21, 56, .15) 60%, transparent);
  filter: blur(24px);
}
.cover-in {
  position: relative; display: block; overflow: hidden;
  border-radius: 22px;
  transform: rotateY(-9deg) rotateX(3deg);
  transform-origin: 60% 50%;
  box-shadow: 0 50px 80px -40px rgba(20, 16, 26, .7), 0 0 0 1px rgba(20, 16, 26, .08);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .8s;
}
.cover-in::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(255, 255, 255, .14), transparent 60%);
}
.cover img { display: block; width: 100%; height: auto; }
.cover:hover .cover-in { transform: none; box-shadow: 0 40px 70px -36px rgba(139, 21, 56, .6), 0 0 0 1px rgba(20, 16, 26, .08); }
@media (max-width: 1100px) {
  .phero--solo.has-cover { grid-template-columns: minmax(0, 1fr); }
  .cover { max-width: 760px; }
  .cover-in { transform: none; }
}
@media (max-width: 640px) {
  .cover-in { border-radius: 16px; }
}

/* ── Vignettes des cartes du blog ── */
.post { --sx: -40%; --sy: -40%; position: relative; }
.post-img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 50%;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), filter .6s;
}
.post-cover:has(.post-img)::before { opacity: .55; }
.post-cover:has(.post-img) span { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.post:hover .post-img { transform: scale(1.07); filter: saturate(1.15) brightness(1.08); }
.post::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(196, 30, 94, .07), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.post:hover::after { opacity: 1; }
.post:hover { border-color: rgba(139, 21, 56, .28); }

/* ── Cartes de prix : brillance au survol ── */
.price { --sx: -40%; --sy: -40%; background-image: radial-gradient(360px circle at var(--sx) var(--sy), rgba(196, 30, 94, .08), transparent 60%); }
.price--hl { background-image: radial-gradient(360px circle at var(--sx) var(--sy), rgba(255, 255, 255, .1), transparent 60%); }
.price:hover { border-color: rgba(139, 21, 56, .3); }
.price--hl { box-shadow: 0 30px 60px -36px rgba(139, 21, 56, .55); }
.price--hl:hover { box-shadow: 0 40px 70px -34px rgba(196, 30, 94, .7), 0 0 0 1px rgba(255, 140, 180, .35); }

/* ── Aperçus de l'espace élève (captures dans un cadre d'appareil) ── */
.shots { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 22px; margin: 30px 0 10px; }
.shot { margin: 0; }
.shot:first-child { grid-row: span 2; }
.shot-dev {
  position: relative; display: block; overflow: hidden;
  border-radius: 18px;
  background: #1b1520;
  padding: 30px 8px 8px;
  box-shadow: 0 40px 70px -40px rgba(20, 16, 26, .7), 0 0 0 1px rgba(20, 16, 26, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
}
.shot-dev::before {
  content: ''; position: absolute; left: 14px; top: 11px; width: 9px; height: 9px; border-radius: 50%;
  background: #e0587f; box-shadow: 15px 0 0 rgba(255, 255, 255, .22), 30px 0 0 rgba(255, 255, 255, .22);
}
.shot-dev::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .1) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0; transition: background-position 1.1s ease;
}
.shot-dev img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot:hover .shot-dev { transform: translateY(-4px); box-shadow: 0 50px 80px -40px rgba(139, 21, 56, .55), 0 0 0 1px rgba(20, 16, 26, .1); }
.shot:hover .shot-dev::after { background-position: -30% 0; }
.shot figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted, #625d6b); }
.shot figcaption b { display: block; color: var(--ink, #14101a); font-size: 15px; }
@media (max-width: 760px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shot:first-child { grid-row: auto; }
}

/* ── Mouvement réduit : tout est figé ── */
@media (prefers-reduced-motion: reduce) {
  .wow *, .wow *::before, .wow *::after, .fcw::before, .fcw-k i, .fcw-b::after, .cover, .phero--wow .wow-box { animation: none !important; }
  .wow-win, .wow-c, .cover-in, .post-img, .shot-dev, .fcw-b { transition: none !important; }
  .cover-in { transform: none; }
  .post:hover .post-img { transform: none; }
}

/* Encart formation sans illustration (pages guides) */
.fcw--solo { grid-template-columns: minmax(0, 1fr); }
.fcw--solo .fcw-txt { max-width: 760px; }
