/* ═══════════════════════════════════════════════════════════
   GAS INSTITUT — HERO CINÉMATIQUE REFONDU
   Remplace / complète les styles hero existants
═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES HERO ─── */
:root {
  --hero-pink:   #e91e63;
  --hero-purple: #673ab7;
  --hero-gold:   #ffffff;
  --hero-rose:   #912976;
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─────────────────────────────────────────────────────────
   1. HERO CONTAINER — FOND MULTI-COUCHES
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0205;   /* fallback sombre pendant le chargement */
}

/* Image de fond avec Ken Burns */
.hero-bg-layer {
  position: absolute;
  inset: -10%;
  background: url(../images/bg1.jpeg) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center;
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0%,   0%); }
  33%  { transform: scale(1.08) translate(-1.5%, 1%); }
  66%  { transform: scale(1.12) translate(1%,  -1.5%); }
  100% { transform: scale(1.06) translate(0.5%, 0.8%); }
}

/* Overlay gradient dramatique */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(0,0,0,0.82) 0%,
      rgba(145,41,118,0.45) 40%,
      rgba(103,58,183,0.35) 70%,
      rgba(0,0,0,0.75) 100%
    );
  animation: overlayBreath 8s ease-in-out infinite;
}
@keyframes overlayBreath {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.88; }
}

/* Grain cinématique */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grainShift 0.12s steps(1) infinite;
  pointer-events: none;
}
@keyframes grainShift {
  0%  { transform: translate(0,0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(1px, -2px); }
  75% { transform: translate(-1px, 2px); }
}

/* ─────────────────────────────────────────────────────────
   2. LIGNES DÉCO DIAGONALES
───────────────────────────────────────────────────────── */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,64,129,0.5), transparent);
  animation: lineSweep linear infinite;
}
.hero-line:nth-child(1) { top: 20%; width: 70%;  left: -20%;  animation-duration: 6s;  animation-delay: 0s; }
.hero-line:nth-child(2) { top: 45%; width: 50%;  right: -20%; animation-duration: 8s;  animation-delay: 1.5s; animation-direction: reverse; }
.hero-line:nth-child(3) { top: 72%; width: 80%;  left: -30%;  animation-duration: 7s;  animation-delay: 3s; }
.hero-line:nth-child(4) { top: 88%; width: 40%;  right: -10%; animation-duration: 9s;  animation-delay: 0.8s; animation-direction: reverse; }

@keyframes lineSweep {
  0%   { transform: translateX(0) scaleX(0.3); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.7; }
  100% { transform: translateX(140%) scaleX(1); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────
   3. ORBES LUMINEUX FLOTTANTS
───────────────────────────────────────────────────────── */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat ease-in-out infinite;
  mix-blend-mode: screen;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(233,30,99,0.22) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation-duration: 14s; animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(103,58,183,0.2) 0%, transparent 70%);
  bottom: 5%; right: -5%;
  animation-duration: 18s; animation-delay: -5s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  top: 40%; left: 55%;
  animation-duration: 11s; animation-delay: -3s;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0px, 0px) scale(1); }
  25%     { transform: translate(30px,-25px) scale(1.06); }
  50%     { transform: translate(-15px, 20px) scale(0.94); }
  75%     { transform: translate(20px, 10px) scale(1.03); }
}

/* ─────────────────────────────────────────────────────────
   4. CONTENT — TYPOGRAPHIE CINÉMATIQUE
───────────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 2rem;
  margin-top: 80px;
}

.hero-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

/* ── PRE-TITLE ── */
.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: pretitleIn 0.8s var(--ease-cinematic) 0.3s forwards;
}
@keyframes pretitleIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.pretitle-line {
  display: block;
  width: 40px; height: 2px;
  animation: lineExpand 1s var(--ease-cinematic) 0.6s both;
  transform-origin: left;
}
@keyframes lineExpand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.pretitle-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hero-gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.4);
}

/* ── TITRE PRINCIPAL ── */
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  color: #fff;
  margin-bottom: 1.8rem;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Chaque mot du titre arrive séparément */
.hero-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.22em;
}
.hero-word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordReveal 0.75s var(--ease-cinematic) both;
}

/* Les délais sont assignés en JS */

@keyframes wordReveal {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
/* ── SUBTITLE ── */
.hero-subtitle {
  opacity: 0;
  transform: translateY(24px);
  animation: subtitleIn 0.9s var(--ease-cinematic) 1.4s forwards;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.2rem;
}

@keyframes subtitleIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── CTA BUTTONS ── */
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: ctaIn 0.8s var(--ease-cinematic) 1.85s forwards;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@keyframes ctaIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Entrée décalée pour chaque bouton */
.hero-cta a:nth-child(1) {
  opacity: 0;
  animation: btnSlideIn 0.6s var(--ease-spring) 2s forwards;
}
.hero-cta a:nth-child(2) {
  opacity: 0;
  animation: btnSlideIn 0.6s var(--ease-spring) 2.2s forwards;
}

@keyframes btnSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
/* Mot "génie" : dégradé or-rose */
.hero-word.accent .hero-word-inner {
  background: transparent;
  color: white;
  font-weight: 900;
}


/* ─────────────────────────────────────────────────────────
   6. SCROLL CUE — CERCLE PULSANT
───────────────────────────────────────────────────────── */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: scrollCueIn 1s ease 2.8s forwards;
  cursor: pointer;
}
@keyframes scrollCueIn {
  from { opacity: 0; transform: translateX(-50%) translateY(15px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(233,30,99,0); }
  50%     { box-shadow: 0 0 0 10px rgba(233,30,99,0.18); }
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: dotBounce 2s ease-in-out infinite;
}
@keyframes dotBounce {
  0%,100% { transform: translateY(-5px); opacity: 0.4; }
  50%     { transform: translateY(5px);  opacity: 1; }
}
.scroll-cue-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────
   7. BOUTON WHATSAPP — REDESIGNÉ
───────────────────────────────────────────────────────── */
.hero .hero-whatsapp-btn {
  position: absolute !important;
  right: 2rem;
  bottom: 2rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  animation: waBounceIn 0.9s var(--ease-spring) 2.5s both,
             waPop 3s ease-in-out 3.5s infinite;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
}
@keyframes waBounceIn {
  from { opacity: 0; transform: scale(0) rotate(-180deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes waPop {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%     { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}
.hero .hero-whatsapp-btn:hover {
  transform: translateY(-5px) scale(1.06) !important;
  box-shadow: 0 12px 40px rgba(37,211,102,0.6) !important;
  background: #20bd5a !important;
}
.hero .hero-whatsapp-btn svg {
  width: 22px; height: 22px;
}

/* ─────────────────────────────────────────────────────────
   8. FOND QUADRILLAGE LÉGER
───────────────────────────────────────────────────────── */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 75%);
}

/* ─────────────────────────────────────────────────────────
   9. VIGNETTE BORDS
───────────────────────────────────────────────────────── */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* ─────────────────────────────────────────────────────────
   10. RESPONSIVE
───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-floating-stats {
    display: none;
  }
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.5rem) !important;
  }
  .hero-pretitle { margin-bottom: 1rem; }
  .hero .hero-whatsapp-btn {
    right: 1rem;
    bottom: 4.5rem;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .hero-scroll-cue { bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer        { animation: none; }
  .hero-orb             { animation: none; }
  .hero-word-inner      { animation: none; opacity: 1; transform: none; }
  .hero-grain           { display: none; }
}
/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — PRÉSENTATION, POURQUOI CHOISIR, FORMATIONS
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   UTILITAIRE — ÉTAT INITIAL AVANT REVEAL
───────────────────────────────────────────────────────── */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ─────────────────────────────────────────────────────────
   1. SECTION PRÉSENTATION
───────────────────────────────────────────────────────── */

/* Ligne décorative animée sous le titre */
.presentation-header h2 {
  position: relative;
}
.presentation-header h2::after {
  width: 0 !important;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.presentation-header.is-visible h2::after {
  width: 100px !important;
}

/* Feature items : entrée en cascade */
.feature-item {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              background 0.35s ease;
}
.feature-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Icône feature : rebond à l'apparition */
.feature-item.is-visible .feature-icon {
  animation: iconBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes iconBounceIn {
  from { transform: scale(0) rotate(-20deg); }
  to   { transform: scale(1) rotate(0deg); }
}

/* Visual principal : effet reveal avec clip-path */
.presentation-visual .visual-main {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.presentation-visual.is-visible .visual-main {
  clip-path: inset(0 0% 0 0);
}

/* Accent flottant : apparition avec rotation */
.presentation-visual .visual-accent {
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: opacity 0.7s ease 0.9s,
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
}
.presentation-visual.is-visible .visual-accent {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ─────────────────────────────────────────────────────────
   2. SECTION POURQUOI CHOISIR GAS INSTITUT
───────────────────────────────────────────────────────── */

/* Titre section */
.why-choose-header h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-choose-header.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
}
.why-choose-header p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.why-choose-header.is-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* Cards avantages : entrée en vague */
.advantage-card {
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease !important;
}
.advantage-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Icône avantage : pop à l'apparition */
.advantage-card.is-visible .advantage-icon {
  animation: advantageIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
@keyframes advantageIconPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* Hover amélioré */
.advantage-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 25px 55px rgba(233,30,99,0.18) !important;
}

/* Barre latérale gauche animée au hover */
.advantage-card {
  position: relative;
  overflow: hidden;
}
.advantage-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, #e91e63, #673ab7);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.advantage-card:hover::after {
  transform: scaleY(1);
}

/* Badge campus */
.campus-badge {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.campus-badge.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.campus-badge:hover {
  transform: scale(1.04) translateY(-3px) !important;
  box-shadow: 0 20px 50px rgba(233,30,99,0.4) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

/* ─────────────────────────────────────────────────────────
   3. SECTION FORMATIONS
───────────────────────────────────────────────────────── */

/* Header formations */
.formations-preview .presentation-header h2 {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.formations-preview .presentation-header.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
}
.formations-preview .presentation-header p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}
.formations-preview .presentation-header.is-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* Cards formations : entrée alternée */
.formation-card {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease !important;
}
.formation-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card featured conserve son scale */
.formation-card.featured {
  transform: scale(1.05) translateY(45px);
}
.formation-card.featured.is-visible {
  transform: scale(1.05) translateY(0);
}
.formation-card.featured:hover {
  transform: scale(1.05) translateY(-10px) !important;
}

/* Image de la card : zoom au reveal */
.formation-card.is-visible .card-image {
  animation: cardImageReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardImageReveal {
  from { transform: scale(1.12); filter: brightness(0.6); }
  to   { transform: scale(1);    filter: brightness(1); }
}

/* Icône card : rebond */
.formation-card.is-visible .card-icon {
  animation: cardIconBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}
@keyframes cardIconBounce {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);  opacity: 1; }
}

/* Shimmer sur l'image au hover */
.formation-card .card-image {
  position: relative;
  overflow: hidden;
}
.formation-card .card-image::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: skewX(-20deg);
  z-index: 2;
  opacity: 0;
  transition: none;
}
.formation-card:hover .card-image::before {
  animation: cardShimmer 0.7s ease forwards;
}
@keyframes cardShimmer {
  from { left: -75%; opacity: 1; }
  to   { left: 135%; opacity: 0.7; }
}

/* Liste items : apparition en cascade */
.formation-card.is-visible .card-content li {
  animation: listItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.formation-card.is-visible .card-content li:nth-child(1) { animation-delay: 0.35s; }
.formation-card.is-visible .card-content li:nth-child(2) { animation-delay: 0.48s; }
.formation-card.is-visible .card-content li:nth-child(3) { animation-delay: 0.61s; }

@keyframes listItemIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Bouton footer card : slide-up */
.formation-card.is-visible .card-footer {
  animation: footerSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
@keyframes footerSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────
   4. RESPONSIVE
───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal-hidden, .reveal-left, .reveal-right, .reveal-scale,
  .feature-item, .advantage-card, .formation-card,
  .why-choose-header h2, .why-choose-header p,
  .campus-badge, .presentation-visual .visual-main {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
}