/* ============================================================
   TREMPLIN — Styles personnalisés (en complément de Tailwind)
   ============================================================ */

:root {
  --tremplin-navy: #0B2A4A;
  --tremplin-navy-light: #153E66;
  --tremplin-gold: #F5A623;
  --tremplin-gold-light: #FFC857;
  --tremplin-cream: #FAF8F5;
  --ring: 0 1px 2px rgba(11,42,74,.04), 0 8px 24px -12px rgba(11,42,74,.18);
  --ring-lg: 0 1px 2px rgba(11,42,74,.05), 0 24px 48px -18px rgba(11,42,74,.28);
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; max-width: 100%; }

/* ---------- Entrée page (body load) ---------- */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn .6s ease both; }

/* ---------- Barre de progression de scroll (dorée, en haut) ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--tremplin-gold), var(--tremplin-gold-light));
  width: 0; transition: width .08s linear;
  pointer-events: none;
}

h1, h2, h3, h4, .font-display { font-family: 'Poppins', sans-serif; }

/* Sélection de texte aux couleurs de marque */
::selection { background: var(--tremplin-gold); color: var(--tremplin-navy); }

/* ============================================================
   FONDS DE PAGE (corrige la "trace" de l'ancien header)
   Le dégradé est porté par le <body>, donc continu derrière la
   navbar flottante ET le hero : aucune couture visible.
   ============================================================ */
body.has-cream-hero {
  background-color: var(--tremplin-cream);
  background-image:
    radial-gradient(1100px 540px at 80% -80px, rgba(245,166,35,0.14), transparent 60%),
    radial-gradient(880px 480px at 2% 30px, rgba(11,42,74,0.06), transparent 55%);
  background-repeat: no-repeat;
}
/* Sur ces pages, le hero ne porte plus de fond propre -> plus de couture */
body.has-cream-hero .hero-bg { background: transparent !important; }

/* ---------- Navigation ---------- */
.nav-link {
  position: relative;
  color: var(--tremplin-navy);
  opacity: 0.72;
  transition: opacity .2s;
  padding-bottom: 4px;
}
.nav-link:hover { opacity: 1; }
.nav-link-active { opacity: 1; font-weight: 600; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--tremplin-gold);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link-active::after { width: 100%; }

.mobile-nav-link { padding: 0.65rem 0.5rem; border-radius: 0.5rem; color: var(--tremplin-navy); }
.mobile-nav-link:hover { background: #F3F4F6; }

.footer-social {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 9999px;
  transition: background .2s, transform .2s;
}
.footer-social:hover { background: var(--tremplin-gold); color: var(--tremplin-navy); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero-bg {
  background:
    radial-gradient(circle at 15% 20%, rgba(245,166,35,0.12), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(11,42,74,0.07), transparent 45%),
    var(--tremplin-cream);
}
.hero-dots {
  background-image: radial-gradient(rgba(11,42,74,0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* ---------- Cartes ---------- */
.universe-card { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease; }
.universe-card:hover { transform: translateY(-8px); box-shadow: var(--ring-lg); }

/* Carte générique avec survol (salles, cours, etc.) */
.card-hover {
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s;
}
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 2px 4px rgba(11,42,74,.06), 0 28px 56px -20px rgba(11,42,74,.32);
  border-color: rgba(245,166,35,.35);
}

/* Zoom doux sur une image contenue dans une carte au survol */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.card-hover:hover .img-zoom img,
.img-zoom:hover img { transform: scale(1.1); }

/* ---------- Badges / pills ---------- */
.pill-gold { background: linear-gradient(135deg, var(--tremplin-gold), var(--tremplin-gold-light)); }

/* ---------- Avantages (icônes) ---------- */
.feature-icon {
  width: 3.25rem; height: 3.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(245,166,35,.16), rgba(11,42,74,.06));
  color: var(--tremplin-navy);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.card-hover:hover .feature-icon { transform: scale(1.18) rotate(-8deg); }

/* ---------- Boutons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--tremplin-navy); color: #fff; font-weight: 600;
  padding: .85rem 1.75rem; border-radius: 9999px;
  transition: transform .15s ease, box-shadow .25s ease, background .2s;
  box-shadow: 0 10px 24px -12px rgba(11,42,74,.6);
}
.btn-primary:hover { background: var(--tremplin-navy-light); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11,42,74,.6); }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--tremplin-gold); color: var(--tremplin-navy); font-weight: 600;
  padding: .85rem 1.75rem; border-radius: 9999px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, background .2s;
  box-shadow: 0 10px 24px -12px rgba(245,166,35,.8);
  position: relative;
}
.btn-gold:hover {
  background: var(--tremplin-gold-light);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px -8px rgba(245,166,35,.6), 0 0 20px rgba(245,166,35,.25);
}
.btn-gold:active { transform: translateY(0) scale(.98); }

/* ---------- Modale de connexion ---------- */
#login-overlay.is-open { display: block; }
#login-overlay.is-open #login-modal { opacity: 1; transform: scale(1); }

.login-tab { color: #6B7280; }
.login-tab-active { background: white; color: var(--tremplin-navy); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* ---------- Scrollbar fine ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--tremplin-cream); }
::-webkit-scrollbar-thumb { background: #D8CFC2; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--tremplin-gold); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Apparition au scroll (classe .fade-up pilotée par IntersectionObserver) */
.fade-up {
  opacity: 0;
  transform: translateY(40px) perspective(800px) rotateX(2deg);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-up.in-view { opacity: 1; transform: translateY(0) perspective(800px) rotateX(0); }

/* Décalage en cascade : ajouter data-delay="1".."6" sur l'élément
   — ou data-stagger injecté par JS pour les grilles automatiques */
.fade-up[data-delay="1"], .fade-up[data-stagger="1"] { transition-delay: .1s; }
.fade-up[data-delay="2"], .fade-up[data-stagger="2"] { transition-delay: .2s; }
.fade-up[data-delay="3"], .fade-up[data-stagger="3"] { transition-delay: .3s; }
.fade-up[data-delay="4"], .fade-up[data-stagger="4"] { transition-delay: .4s; }
.fade-up[data-delay="5"], .fade-up[data-stagger="5"] { transition-delay: .5s; }
.fade-up[data-delay="6"], .fade-up[data-stagger="6"] { transition-delay: .6s; }
.fade-up[data-stagger="7"] { transition-delay: .7s; }
.fade-up[data-stagger="8"] { transition-delay: .8s; }

/* Animations d'entrée immédiates (au chargement) */
@keyframes anim-rise-kf { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes anim-pop-kf  { from { opacity: 0; transform: scale(.92); }       to { opacity: 1; transform: scale(1); } }
@keyframes anim-fade-kf { from { opacity: 0; }                               to { opacity: 1; } }
.anim-rise { animation: anim-rise-kf .8s cubic-bezier(.2,.7,.3,1) both; }
.anim-pop  { animation: anim-pop-kf .7s cubic-bezier(.34,1.56,.64,1) both; }
.anim-fade { animation: anim-fade-kf 1s ease both; }
.anim-delay-1 { animation-delay: .12s; }
.anim-delay-2 { animation-delay: .24s; }
.anim-delay-3 { animation-delay: .36s; }
.anim-delay-4 { animation-delay: .48s; }

/* Flottement doux (éléments décoratifs du hero) */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 5s ease-in-out infinite; }
.floaty-slow { animation: floaty 7s ease-in-out infinite; }

/* Léger halo pulsé */
@keyframes softpulse { 0%,100% { opacity: .5; } 50% { opacity: .85; } }
.softpulse { animation: softpulse 4s ease-in-out infinite; }

/* Animations forcées : on ne coupe plus tout via prefers-reduced-motion,
   certains systèmes (Windows notamment) l'activent par défaut sans que
   l'utilisateur en soit conscient. */

/* ============================================================
   HEADER EN CAPSULE (flottant)
   ============================================================ */
#site-pill {
  box-shadow: 0 8px 24px -10px rgba(11,42,74,0.18);
  transition: box-shadow .3s ease, background .3s ease;
  overflow: hidden;      /* sécurité : la pile ne peut jamais déborder de sa forme arrondie */
  max-height: 5rem;
}
#site-pill img { max-height: 2.75rem; width: auto; }
#site-pill.site-pill-scrolled {
  box-shadow: 0 14px 34px -10px rgba(11,42,74,0.28);
  border-color: rgba(11,42,74,0.1);
}

/* ============================================================
   BARRE DE NAVIGATION MOBILE (pied de page)
   ============================================================ */
#bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0); }
.bottom-nav-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: .6rem 0 .65rem; font-size: .65rem; font-weight: 600;
  color: rgba(11,42,74,.45);
  transition: color .2s ease, transform .15s ease;
  background: none; border: 0; width: 100%;
}
.bottom-nav-link svg { width: 1.35rem; height: 1.35rem; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.bottom-nav-link:active { transform: scale(.9); }
.bottom-nav-link-active { color: var(--tremplin-navy); }
.bottom-nav-link-active svg { color: var(--tremplin-gold); transform: translateY(-2px); }
.bottom-nav-link-active::before {
  content: ''; position: absolute; top: 2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--tremplin-gold);
}

/* ============================================================
   MICRO-INTERACTIONS
   ============================================================ */
button, .tap-pop { transition: transform .15s ease; }
button:active, .tap-pop:active { transform: scale(.95); }

.success-check-circle { animation: successPop .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes successPop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.success-check-path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: successDraw .5s ease forwards .3s; }
@keyframes successDraw { to { stroke-dashoffset: 0; } }
.success-ring { animation: successRing 1.8s ease-out infinite; }
@keyframes successRing {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.35); }
  70% { box-shadow: 0 0 0 18px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.badge-glow { animation: badgeGlow 2.8s ease-in-out infinite; }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,.35); }
  50% { box-shadow: 0 0 0 10px rgba(245,166,35,0); }
}

.confetti-piece {
  position: fixed; top: -12px; z-index: 9999; pointer-events: none;
  border-radius: 2px; animation: confettiFall linear forwards;
}
@keyframes confettiFall { to { transform: translateY(110vh) rotate(540deg); opacity: 0; } }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   ESPACES CONNECTÉS / ADMIN — utilitaires partagés
   ============================================================ */
.stat-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 1.25rem;
  box-shadow: var(--ring); transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--ring-lg); }

.soft-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(11,42,74,.12), transparent); }

/* ============================================================
   ARABE / RTL
   ============================================================ */
.lang-ar, .lang-ar .font-body { font-family: 'Tajawal', 'Inter', sans-serif; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4, .lang-ar .font-display { font-family: 'Tajawal', 'Poppins', sans-serif; }

/* L'underline animé de la nav part de la droite en RTL */
[dir="rtl"] .nav-link::after { left: auto; right: 0; }

/* Les flèches "→" doivent pointer vers la gauche en RTL */
[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* Puces de liste correctement alignées */
[dir="rtl"] ul { padding-right: 0; }

/* La barre de progression des wizards reste lisible en RTL */
[dir="rtl"] .wizard-steps { direction: rtl; }


/* ============================================================
   HERO CARROUSEL (accueil) — défilement des 2 services
   ============================================================ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  background: var(--tremplin-navy);
  /* Pas de spacer sur l'accueil : le hero part de top:0 et passe sous la navbar */
}

.hero-viewport { overflow: hidden; width: 100%; max-width: 100%; }
.hero-track {
  display: flex;
  direction: ltr;              /* ordre des slides constant, même en RTL */
  transition: transform 1s cubic-bezier(.65,0,.35,1);
  will-change: transform;
}
.hero-pane {
  position: relative;
  overflow: hidden;            /* double sécurité : l'image ne déborde jamais de son slide */
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;       /* hauteur dynamique sur mobile (barre d'adresse) */
  display: flex;
  align-items: center;
}

.hero-pane__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: brightness(.95);
}
.hero-pane.is-active .hero-pane__img { animation: heroKenburns 12s ease-out forwards; }
@keyframes heroKenburns {
  0%   { transform: scale(1.2) translate3d(-1%,0,0); filter: brightness(.85); }
  100% { transform: scale(1)   translate3d(0,0,0);   filter: brightness(1); }
}

.hero-pane__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,26,46,.92) 0%, rgba(8,26,46,.70) 42%, rgba(8,26,46,.18) 100%),
    linear-gradient(0deg, rgba(8,26,46,.55) 0%, transparent 45%);
}
[dir="rtl"] .hero-pane__overlay {
  background:
    linear-gradient(270deg, rgba(8,26,46,.92) 0%, rgba(8,26,46,.70) 42%, rgba(8,26,46,.18) 100%),
    linear-gradient(0deg, rgba(8,26,46,.55) 0%, transparent 45%);
}

.hero-pane__content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7.5rem 1.25rem 5rem;
  text-align: start;
}
@media (min-width: 1024px) { .hero-pane__content { padding-left: 2rem; padding-right: 2rem; } }

/* Entrées animées du contenu (jouées quand le slide devient actif) */
.hero-anim { opacity: 0; transform: translateY(44px); filter: blur(6px); }
.hero-pane.is-active .hero-anim { animation: heroContentIn .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero-pane.is-active .hero-anim.d1 { animation-delay: .15s; }
.hero-pane.is-active .hero-anim.d2 { animation-delay: .3s; }
.hero-pane.is-active .hero-anim.d3 { animation-delay: .45s; }
.hero-pane.is-active .hero-anim.d4 { animation-delay: .6s; }
@keyframes heroContentIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Contrôles : flèches */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 3rem; height: 3rem;
  display: none; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.22); }
.hero-arrow.prev { left: 1.25rem; }
.hero-arrow.next { right: 1.25rem; }
@media (min-width: 768px) { .hero-arrow { display: flex; } }

/* Contrôles : points + libellés de service */
.hero-dots {
  position: absolute; bottom: 3.5rem; left: 0; right: 0;
  z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: .9rem;
}
.hero-dot {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.7); font-weight: 600; font-size: .8rem;
  transition: color .3s;
}
.hero-dot .hero-dot__bar {
  display: block; width: 1.5rem; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,.35); transition: background .3s, width .3s;
  animation: heroDotWave 3.4s ease-in-out infinite;
}
.hero-dot:nth-child(2) .hero-dot__bar { animation-delay: .55s; }
@keyframes heroDotWave {
  0%, 100% { transform: translateY(0); border-radius: 999px; }
  50%      { transform: translateY(-4px); border-radius: 999px 999px 40% 40%; }
}
.hero-dot.active { color: #fff; }
.hero-dot.active .hero-dot__bar {
  background: linear-gradient(90deg, var(--tremplin-gold), var(--tremplin-gold-light));
  width: 3rem;
  animation: dotFill 6.5s linear both, heroDotWave 3.4s ease-in-out infinite;
}
@keyframes dotFill {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* Pastille de service (petit badge au-dessus du titre) */
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,166,35,.16);
  border: 1px solid rgba(245,166,35,.5);
  color: #FFD793;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px;
}

/* (animations hero forcées, voir note plus haut) */

/* ============================================================
   WIZARD PREMIUM (.tw-*) — inscription, contact, parcours
   ============================================================ */
.tw-wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
.tw-card {
  background: #fff; border-radius: 28px; padding: 2.25rem;
  box-shadow: 0 30px 60px -22px rgba(11,42,74,.22), 0 2px 6px rgba(11,42,74,.04);
  border: 1px solid rgba(11,42,74,.06);
  position: relative; overflow: hidden;
}
@media (min-width: 640px) { .tw-card { padding: 2.75rem; } }
.tw-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--tremplin-gold), var(--tremplin-gold-light), var(--tremplin-navy));
  background-size: 200% 100%; animation: twSheen 6s linear infinite;
}
@keyframes twSheen { to { background-position: 200% 0; } }

/* --- étapes --- */
.tw-step { display: none; }
.tw-step.active { display: block; animation: twStepIn .55s cubic-bezier(.2,.7,.3,1) both; }
@keyframes twStepIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tw-step-head { text-align: center; margin-bottom: 1.75rem; }
.tw-step-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--tremplin-navy); letter-spacing: -.02em; }
.tw-step-sub { color: #64748b; font-size: .92rem; margin-top: .4rem; }

/* --- points de progression --- */
.tw-dots { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-bottom: 1.75rem; }
.tw-dot { width: 9px; height: 9px; border-radius: 999px; background: #E2E8F0; transition: all .45s cubic-bezier(.65,0,.35,1); }
.tw-dot.done { background: var(--tremplin-gold); }
.tw-dot.active { background: var(--tremplin-navy); width: 30px; }

/* --- cartes de choix --- */
.tw-choices { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .tw-choices { grid-template-columns: 1fr 1fr; } }
.tw-choice {
  position: relative; text-align: center; cursor: pointer;
  border: 2px solid #E8EDF3; border-radius: 22px; background: #F9FBFD;
  padding: 2rem 1.25rem; transition: all .35s cubic-bezier(.2,.7,.3,1);
}
.tw-choice:hover { border-color: var(--tremplin-gold); background: #fff; transform: translateY(-6px); box-shadow: 0 18px 32px -14px rgba(11,42,74,.25); }
.tw-choice.selected { border-color: var(--tremplin-gold); background: #fff; box-shadow: 0 0 0 4px rgba(245,166,35,.16), 0 18px 32px -14px rgba(11,42,74,.25); }
.tw-choice * { pointer-events: none; }
.tw-choice__icon {
  width: 4rem; height: 4rem; margin: 0 auto .9rem; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(245,166,35,.2), rgba(11,42,74,.08));
  color: var(--tremplin-navy); transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.tw-choice:hover .tw-choice__icon, .tw-choice.selected .tw-choice__icon { transform: scale(1.1) rotate(-4deg); }
.tw-choice__title { font-weight: 700; color: var(--tremplin-navy); font-size: 1.05rem; }
.tw-choice__desc { color: #64748b; font-size: .83rem; margin-top: .35rem; line-height: 1.5; }
.tw-choice__check {
  position: absolute; top: .85rem; inset-inline-end: .85rem;
  width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: var(--tremplin-gold); color: var(--tremplin-navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.4); transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.tw-choice.selected .tw-choice__check { opacity: 1; transform: scale(1); }

/* --- champs --- */
.tw-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .tw-grid-2 { grid-template-columns: 1fr 1fr; } }
.tw-field { margin-bottom: 1rem; }
.tw-label { display: block; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #64748B; margin-bottom: .5rem; }
.tw-input {
  width: 100%; padding: .95rem 1rem; font-size: .95rem; color: #1E293B;
  background: #F6F8FB; border: 2px solid transparent; border-radius: 14px;
  transition: all .2s ease; outline: none; box-sizing: border-box;
  font-family: inherit;
}
.tw-input:focus { background: #fff; border-color: var(--tremplin-gold); box-shadow: 0 0 0 4px rgba(245,166,35,.15); }
.tw-input.err { border-color: #EF4444; background: #FEF2F2; animation: twShake .4s; }
@keyframes twShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
textarea.tw-input { min-height: 7rem; resize: vertical; }

/* --- cartes à cocher --- */
.tw-check {
  display: flex; align-items: flex-start; gap: .85rem; cursor: pointer;
  padding: 1rem 1.1rem; margin-bottom: .75rem;
  background: #F9FBFD; border: 2px solid #E8EDF3; border-radius: 14px;
  transition: all .22s ease; font-size: .9rem; color: #334155;
}
.tw-check:hover { border-color: #CBD5E1; background: #fff; }
.tw-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--tremplin-gold); cursor: pointer; margin-top: .1rem; flex-shrink: 0; }
.tw-check input.err { outline: 2px solid #EF4444; outline-offset: 2px; border-radius: 4px; }
.tw-check:has(input:checked) { border-color: var(--tremplin-gold); background: #FFFCF6; }

/* --- jauge de mot de passe --- */
.tw-strength { height: 6px; border-radius: 999px; background: #E8EDF3; overflow: hidden; margin-top: .6rem; }
.tw-strength__bar { height: 100%; width: 0; border-radius: 999px; transition: width .4s ease, background .4s ease; }
.tw-strength__txt { font-size: .75rem; margin-top: .4rem; font-weight: 600; }

/* --- récapitulatif --- */
.tw-recap { background: #F9FBFD; border: 1px solid #E8EDF3; border-radius: 18px; padding: 1.25rem 1.4rem; }
.tw-recap__row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #E2E8F0; font-size: .9rem; }
.tw-recap__row:last-child { border-bottom: 0; }
.tw-recap__k { color: #64748B; }
.tw-recap__v { color: var(--tremplin-navy); font-weight: 600; text-align: end; }

/* --- boutons --- */
.tw-actions { display: flex; gap: .75rem; margin-top: 1.75rem; }
.tw-btn {
  flex: 1; padding: 1rem 1.75rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--tremplin-navy); color: #fff; font-weight: 700; font-size: .95rem;
  font-family: inherit; transition: all .25s ease; box-shadow: 0 10px 24px -12px rgba(11,42,74,.7);
}
.tw-btn:hover { background: var(--tremplin-navy-light); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11,42,74,.7); }
.tw-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.tw-btn-ghost {
  padding: 1rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
  background: #F1F5F9; color: #334155; font-weight: 700; font-size: .95rem;
  font-family: inherit; transition: background .2s;
}
.tw-btn-ghost:hover { background: #E2E8F0; }

/* --- message d'erreur --- */
.tw-err {
  display: none; background: #FEF2F2; color: #991B1B; border-inline-start: 4px solid #EF4444;
  padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.25rem; font-size: .9rem; font-weight: 500;
}
.tw-err.show { display: block; animation: twStepIn .3s both; }

/* --- overlay de chargement --- */
.tw-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 1.25rem;
  background: rgba(8,26,46,.75); backdrop-filter: blur(6px);
}
.tw-overlay.show { display: flex; }
.tw-overlay__box { background: #fff; border-radius: 24px; padding: 2.5rem; text-align: center; max-width: 24rem; width: 100%; animation: twStepIn .4s both; }
.tw-spinner {
  width: 3rem; height: 3rem; margin: 0 auto 1.25rem; border-radius: 50%;
  border: 4px solid #E8EDF3; border-top-color: var(--tremplin-gold); animation: twSpin .8s linear infinite;
}
@keyframes twSpin { to { transform: rotate(360deg); } }
.tw-overlay__title { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--tremplin-navy); font-size: 1.05rem; }
.tw-overlay__txt { color: #64748B; font-size: .87rem; margin-top: .45rem; }

/* --- succès --- */
.tw-done__icon {
  width: 5rem; height: 5rem; margin: 0 auto 1.25rem; border-radius: 999px;
  background: #ECFDF5; color: #059669; display: flex; align-items: center; justify-content: center;
  animation: successPop .55s cubic-bezier(.34,1.56,.64,1) both;
}

/* ============================================================
   MENU MODAL LATÉRAL (ordinateur + mobile)
   ============================================================ */
.menu-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--tremplin-navy); color: #fff; border: 0; cursor: pointer;
  padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .85rem;
  transition: all .25s ease; box-shadow: 0 8px 20px -10px rgba(11,42,74,.8);
}
.menu-toggle:hover { background: var(--tremplin-navy-light); transform: translateY(-1px); }
.menu-toggle__bars { display: flex; flex-direction: column; gap: 3px; }
.menu-toggle__bars span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.menu-toggle:hover .menu-toggle__bars span:nth-child(1) { transform: translateX(3px); }
.menu-toggle:hover .menu-toggle__bars span:nth-child(3) { transform: translateX(-3px); }

.menu-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,26,46,.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.menu-backdrop.open { opacity: 1; pointer-events: auto; }

.menu-panel {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; z-index: 95;
  width: min(26rem, 88vw);
  background: linear-gradient(160deg, #0B2A4A, #153E66);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,.5);
  transform: translateX(110%);
  transition: transform .5s cubic-bezier(.65,0,.35,1);
  display: flex; flex-direction: column; padding: 2rem 1.75rem;
  overflow-y: auto;
}
[dir="rtl"] .menu-panel { transform: translateX(-110%); box-shadow: 24px 0 60px -20px rgba(0,0,0,.5); }
.menu-panel.open { transform: translateX(0); }
.menu-panel__close {
  align-self: flex-end; width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .3s;
}
.menu-panel__close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

.menu-link {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem .9rem; border-radius: 16px; color: #fff; text-decoration: none;
  transition: background .25s ease, transform .25s ease;
  opacity: 0; transform: translateX(26px);
}
[dir="rtl"] .menu-link { transform: translateX(-26px); }
.menu-panel.open .menu-link { animation: menuLinkIn .5s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes menuLinkIn { to { opacity: 1; transform: none; } }
.menu-link:hover { background: rgba(255,255,255,.1); }
.menu-link__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 14px; flex-shrink: 0;
  background: rgba(245,166,35,.16); color: var(--tremplin-gold-light);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .25s;
}
.menu-link:hover .menu-link__icon { transform: scale(1.12) rotate(-5deg); background: rgba(245,166,35,.3); }
.menu-link__t { font-weight: 600; font-size: .98rem; }
.menu-link__s { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: .1rem; }

/* ============================================================
   ANIMATIONS "WHAOU" — mouvement des images & révélations
   ============================================================ */
/* Parallaxe douce sur les images (piloté en JS via --py) */
.parallax { overflow: hidden; }
.parallax img, .parallax .parallax-inner {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  transition: transform .12s linear;
}

/* Révélations directionnelles */
.reveal-l, .reveal-r, .reveal-zoom {
  opacity: 0; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s ease;
  filter: blur(4px);
}
.reveal-l { transform: translateX(-60px) rotate(-2deg); }
.reveal-r { transform: translateX(60px) rotate(2deg); }
.reveal-zoom { transform: scale(.85); }
.reveal-l.in-view, .reveal-r.in-view, .reveal-zoom.in-view { opacity: 1; transform: none; filter: blur(0); }

/* Inclinaison 3D au survol (piloté en JS) */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.tilt-inner { transform: translateZ(28px); }

/* Balayage lumineux sur les cartes */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: skewX(-20deg); transition: left .85s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.shine:hover::after { left: 130%; }

/* Flottement continu (visuels décoratifs) */
.float-slow { animation: floaty 7s ease-in-out infinite; }

/* (parallaxe / tilt / reveals forcés, voir note plus haut) */

/* ------------------------------------------------------------
   Empilement fiable : la navbar flottante doit toujours rester
   au-dessus du hero plein écran (ne dépend pas de Tailwind).
   ------------------------------------------------------------ */
#site-header {
  position: fixed; top: .75rem; left: 0; right: 0; z-index: 60;
}
@media (min-width: 640px) { #site-header { top: 1rem; } }
.hero-carousel { z-index: 0; }

/* ============================================================
   CRÉNEAUX DE SOUTIEN (demande de session, page cours)
   ============================================================ */
.slots { display: grid; grid-template-columns: 1fr; gap: .85rem; margin: .5rem 0 1rem; }
@media (min-width: 640px) { .slots { grid-template-columns: 1fr 1fr; } }
.slot {
  display: flex; flex-direction: column; gap: .45rem; width: 100%; text-align: start;
  background: #F9FBFD; border: 2px solid #E8EDF3; border-radius: 18px; padding: 1rem 1.1rem;
  cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .25s, box-shadow .3s, background .25s;
  font: inherit; color: inherit;
}
.slot:hover:not([disabled]) { border-color: var(--tremplin-gold); background: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(11,42,74,.25); }
.slot.selected { border-color: var(--tremplin-gold); background: #FFFCF6; box-shadow: 0 0 0 4px rgba(245,166,35,.16); }
.slot--full { opacity: .5; cursor: not-allowed; }
.slot--none { margin-bottom: .5rem; border-style: dashed; background: transparent; }
.slot__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.slot__title { font-weight: 700; color: var(--tremplin-navy); font-size: .97rem; }
.slot__when { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--tremplin-navy); }
.slot__when svg { width: 1rem; height: 1rem; color: var(--tremplin-gold); flex-shrink: 0; }
.slot__meta { font-size: .8rem; color: #64748B; }
.slot__badge { flex-shrink: 0; font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #DCFCE7; color: #15803D; white-space: nowrap; }
.slot__badge--hot { background: #FEF3C7; color: #B45309; }
.slot__badge--full { background: #F1F5F9; color: #64748B; }
.slot__fill { display: block; height: 5px; border-radius: 999px; background: #E8EDF3; overflow: hidden; margin-top: .2rem; }
.slot__fill span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--tremplin-gold), #FFC857); transition: width .8s cubic-bezier(.2,.7,.3,1); }
.slots-empty { grid-column: 1 / -1; text-align: center; color: #64748B; font-size: .9rem; padding: 1.5rem 1rem; background: #F9FBFD; border-radius: 16px; }
.slot-skel { height: 7.5rem; border-radius: 18px; background: linear-gradient(90deg, #F1F5F9 0%, #E8EDF3 50%, #F1F5F9 100%); background-size: 200% 100%; animation: slotSkel 1.2s infinite linear; }
@keyframes slotSkel { to { background-position: -200% 0; } }
/* (slots forcés, voir note plus haut) */

/* ============================================================
   ANIMATIONS BOOSTÉES — ajouts
   ============================================================ */

/* FAQ : ouverture/fermeture fluide */
details.fade-up summary { transition: color .2s; }
details.fade-up[open] summary { color: var(--tremplin-gold); }
details.fade-up summary + * {
  overflow: hidden;
  animation: detailsSlide .4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes detailsSlide {
  from { opacity: 0; max-height: 0; transform: translateY(-8px); }
  to   { opacity: 1; max-height: 20rem; transform: translateY(0); }
}
details.fade-up summary svg {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), color .2s;
}
details.fade-up[open] summary svg { color: var(--tremplin-gold); }

/* Compteurs : flash doré quand la valeur atteint la cible */
@keyframes countFlash {
  0%   { color: var(--tremplin-navy); text-shadow: none; }
  50%  { color: var(--tremplin-gold); text-shadow: 0 0 18px rgba(245,166,35,.5); }
  100% { color: var(--tremplin-navy); text-shadow: none; }
}
.count-done { animation: countFlash .8s ease both; }

/* Titres de section : .cta-heading / .section-heading marquent juste le
   titre observé par l'IntersectionObserver (classe .in-view ajoutée au
   scroll). Le motif visuel sous le titre est la rangée de ronds ci-dessous
   (.heading-dots), placée juste après le titre dans le HTML. */
.cta-heading, .section-heading { position: relative; display: inline-block; }

/* ---------- Pointillés dorés animés sous les titres ----------
   Remplace l'ancien trait plein : une rangée de ronds de tailles variées
   qui apparaissent en cascade puis sautillent doucement, chacun à son
   propre rythme (jamais synchronisés = effet vivant et organique). */
.heading-dots {
  display: flex; align-items: flex-end; justify-content: center; gap: 7px;
  margin: 14px auto 0; height: 16px;
}
.heading-dots .dot {
  display: block; border-radius: 50%;
  background: linear-gradient(145deg, var(--tremplin-gold-light), var(--tremplin-gold));
  opacity: 0; transform: scale(0);
}
/* Variante foncée : à utiliser sur un fond doré, où les ronds dorés
   d'origine seraient invisibles. */
.heading-dots--navy .dot {
  background: linear-gradient(145deg, var(--tremplin-navy-light, #153E66), var(--tremplin-navy, #0B2A4A));
}
.heading-dots .dot:nth-child(1) { width: 6px;  height: 6px; }
.heading-dots .dot:nth-child(2) { width: 9px;  height: 9px; }
.heading-dots .dot:nth-child(3) { width: 12px; height: 12px; }
.heading-dots .dot:nth-child(4) { width: 9px;  height: 9px; }
.heading-dots .dot:nth-child(5) { width: 6px;  height: 6px; }

@keyframes dotPopIn {
  0%   { opacity: 0; transform: scale(0) translateY(8px); }
  60%  { opacity: 1; transform: scale(1.2) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes dotHop {
  0%, 68%, 100% { transform: translateY(0); }
  82% { transform: translateY(-8px); }
}
.section-heading.in-view + .heading-dots .dot:nth-child(1),
.cta-heading.in-view + .heading-dots .dot:nth-child(1) {
  animation: dotPopIn .5s cubic-bezier(.34,1.56,.64,1) forwards,
             dotHop 2.3s ease-in-out .5s infinite;
}
.section-heading.in-view + .heading-dots .dot:nth-child(2),
.cta-heading.in-view + .heading-dots .dot:nth-child(2) {
  animation: dotPopIn .5s cubic-bezier(.34,1.56,.64,1) .08s forwards,
             dotHop 2.7s ease-in-out 1.1s infinite;
}
.section-heading.in-view + .heading-dots .dot:nth-child(3),
.cta-heading.in-view + .heading-dots .dot:nth-child(3) {
  animation: dotPopIn .5s cubic-bezier(.34,1.56,.64,1) .16s forwards,
             dotHop 3.1s ease-in-out .3s infinite;
}
.section-heading.in-view + .heading-dots .dot:nth-child(4),
.cta-heading.in-view + .heading-dots .dot:nth-child(4) {
  animation: dotPopIn .5s cubic-bezier(.34,1.56,.64,1) .24s forwards,
             dotHop 2.5s ease-in-out 1.4s infinite;
}
.section-heading.in-view + .heading-dots .dot:nth-child(5),
.cta-heading.in-view + .heading-dots .dot:nth-child(5) {
  animation: dotPopIn .5s cubic-bezier(.34,1.56,.64,1) .32s forwards,
             dotHop 2.9s ease-in-out .7s infinite;
}

/* ---------- Rond doré qui rebondit à côté du wordmark "Tremplin" ---------- */
.logo-dot {
  display: inline-block; width: 7px; height: 7px; margin-inline-start: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--tremplin-gold-light), var(--tremplin-gold));
  box-shadow: 0 2px 6px rgba(245,166,35,.5);
  animation: logoDotBounce 1.7s ease-in-out infinite;
  transform-origin: bottom center;
  vertical-align: top;
}
@keyframes logoDotBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  28%      { transform: translateY(-9px) scale(1); }
  42%      { transform: translateY(0) scale(.85,1.15); }
  56%      { transform: translateY(-3px) scale(1); }
  70%, 90% { transform: translateY(0) scale(1); }
}

/* ---------- Variante sombre des icônes (section "Nous trouver") ---------- */
.feature-icon.on-dark {
  background: linear-gradient(135deg, rgba(245,166,35,.28), rgba(255,255,255,.08));
  color: var(--tremplin-gold-light);
}

/* ---------- Pin qui rebondit (section "Nous trouver") ---------- */
.map-pin-bounce { animation: mapPinBounce 2.4s ease-in-out infinite; transform-origin: bottom center; }
@keyframes mapPinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Header pill : apparition au chargement */
@keyframes pillDrop {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#site-header { animation: pillDrop .7s cubic-bezier(.16,1,.3,1) .1s both; }

/* Texte gradient animé (optionnel, pour les titres marquants) */
.text-gradient {
  background: linear-gradient(135deg, var(--tremplin-navy), var(--tremplin-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sections séparées par un dégradé discret */
.section-fade-top::before {
  content: ''; display: block; height: 80px; margin-top: -80px;
  background: linear-gradient(to bottom, transparent, currentColor);
  opacity: .03; pointer-events: none;
}

/* (toutes les animations sont désormais forcées, voir note plus haut) */

/* ---------- Séparateurs arrondis animés entre sections ----------
   Remplace la jonction nette entre deux sections par une vague qui ondule
   lentement d'un bord à l'autre, comme de l'eau qui vient et repart.
   La couleur se règle via --wave-fill sur le conteneur .wave-divider. */
.wave-divider {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 42px;
  line-height: 0; pointer-events: none; z-index: 1;
  overflow: hidden;   /* la vague est plus large que l'écran : on masque le débord */
}
@media (min-width: 640px) { .wave-divider { height: 56px; } }
.wave-divider--sm { height: 30px; }
@media (min-width: 640px) { .wave-divider--sm { height: 38px; } }

/* Le SVG écrit dans le HTML n'est plus utilisé : étiré sur toute la largeur,
   sa courbe s'aplatissait jusqu'à ressembler à un trait droit. On le masque
   et on dessine la vague ici, avec un motif de largeur fixe (700px) qui
   garde donc sa forme quelle que soit la taille de l'écran. */
.wave-divider__svg { display: none; }

/* La vague est dessinée en image de fond répétée (motif de 700px de large) :
   sa forme reste donc identique sur tous les écrans, au lieu de s'aplatir
   quand elle est étirée. Le motif se raccorde exactement d'une répétition
   à l'autre, donc le défilement boucle sans aucun saut visible. */
.wave-divider::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(100% + 700px);          /* une répétition d'avance pour défiler */
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: 700px 100%;
  /* vague blanche (sections claires) — couleur intégrée à l'image */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C100,-10 200,70 300,30 C400,-10 500,70 600,30 L600,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  animation: waveSlide 11s linear infinite;
}
/* Variante bleu nuit : on reconnaît les séparateurs concernés à la couleur
   déclarée dans leur attribut style (--wave-fill:#0B2A4A), ce qui évite de
   devoir ajouter une classe dans le HTML. */
.wave-divider[style*="0B2A4A"]::before,
.wave-divider[style*="0b2a4a"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C100,-10 200,70 300,30 C400,-10 500,70 600,30 L600,60 L0,60 Z' fill='%230B2A4A'/%3E%3C/svg%3E");
}
/* Décalage d'exactement une répétition (700px) : la boucle est invisible. */
@keyframes waveSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-700px); }
}

/* ---------- Bulle qui saute au clic sur un bouton ---------- */
.click-bubble {
  position: fixed; z-index: 9999; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--tremplin-gold-light), var(--tremplin-gold));
  box-shadow: 0 4px 14px rgba(245,166,35,.5);
  animation: clickBubbleJump .65s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes clickBubbleJump {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.3); }
  15%  { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  55%  { opacity: 1; transform: translate(-50%, calc(-50% - 38px)) scale(.9); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 54px)) scale(.6); }
}