/* ==========================================================
   Feuille de style commune (base reprise de Palier)

   SOMMAIRE
   1. Couleurs, polices (une couleur d'accent par site)
   2. Boutons, formulaires, cartes, puces
   3. Navigation (barre du haut + barre du bas sur mobile)
   4. Accueil : hero, étapes, bandeau final
   5. Questionnaire (choix en cartes)
   6. Pages de l'appli : jours, exercices, séries, minuteur, stats
   7. Modale, toast, apparition au défilement
   8. Bonhomme 3D
   9. Comptes : connexion, inscription, avatar
   10. Dynamique : mouvements, lumières, confettis
   ========================================================== */

/* ---------- 1. Couleurs & polices ---------- */
:root {
  --bg: #0d0e0b;
  --bg-2: #13140f;
  --surface: #191b15;
  --surface-2: #21241c;
  --line: #2c3026;
  --text: #f1f0e8;
  --muted: #9b9c90;
  --faint: #6b6d63;
  --accent: #c6f45c;
  --accent-ink: #12140c;
  --danger: #ff5d5d;
  --gold: #f5c84c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}
body[data-site="muscu"] { --accent: #ff7a45; --accent-ink: #1a0d06; }
body[data-site="course"] { --accent: #4cd6f5; --accent-ink: #061418; }
body[data-site="yoga"] { --accent: #b79cff; --accent-ink: #130c24; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent { color: var(--accent); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.page { padding: 28px 0 120px; }
@media (min-width: 860px) { main.page { padding: 40px 0 64px; } }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-top: 8px; }
.page-head p { margin-top: 8px; max-width: 640px; }

/* ---------- 2. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-danger { background: transparent; border-color: rgba(255, 93, 93, .4); color: var(--danger); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; flex-shrink: 0;
}
.icon-btn svg { width: 18px; height: 18px; }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line); outline: none;
  transition: border-color .2s; font-size: 1rem;
}
.input:focus { border-color: var(--accent); }
.input-sm { padding: 9px 10px; font-size: .95rem; text-align: center; }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* Cartes & grilles */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--muted);
}
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.chip { cursor: pointer; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .btn { margin-top: 16px; }

/* ---------- 3. Navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 14, 11, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: none; gap: 4px; }
.nav-links a {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links svg { width: 18px; height: 18px; }
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-around;
  background: rgba(13, 14, 11, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .7rem; font-weight: 600; color: var(--faint); padding: 4px 8px; }
.bottom-nav a.active { color: var(--accent); }
.bottom-nav svg { width: 22px; height: 22px; }
@media (min-width: 860px) { .nav-links { display: flex; } .bottom-nav { display: none; } }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 110px; color: var(--faint); font-size: .85rem; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (min-width: 860px) { .site-footer { padding-bottom: 28px; } }

/* ---------- 4. Accueil ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 60px; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 42px; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.hero-stats span { color: var(--muted); font-size: .85rem; }
.feature .num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; }
.feature-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 14px; }
.feature-icon svg { width: 22px; height: 22px; }
.section { padding: 30px 0 50px; }
.section > .container > h2 { margin: 10px 0 24px; }
.cta-band {
  margin: 20px 0 60px; padding: 44px 26px; border-radius: 26px; text-align: center;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
}
.cta-band h2 { margin: 10px 0 10px; }
.cta-band .btn { margin-top: 22px; }

/* ---------- 5. Questionnaire ---------- */
.quiz { max-width: 680px; margin: 0 auto; }
.quiz-progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 26px; }
.quiz-progress span { display: block; height: 100%; background: var(--accent); transition: width .3s ease; }
.quiz h2 { margin: 8px 0 6px; }
.choices { display: grid; gap: 10px; margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice {
  text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.choice:hover { border-color: var(--muted); }
.choice.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.choice b { display: block; }
.choice span { font-size: .85rem; color: var(--muted); }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }

/* ---------- 6. Pages de l'appli ---------- */
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs .chip { padding: 9px 15px; font-size: .85rem; white-space: nowrap; }
.list { display: flex; flex-direction: column; gap: 10px; }
.item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line);
}
.item .grow { flex: 1; min-width: 0; }
.item .meta { font-size: .82rem; color: var(--muted); }
.badge-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface-2); font-weight: 800; font-family: var(--font-display); color: var(--accent);
}
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sets { display: grid; gap: 8px; margin-top: 12px; }
.set-row { display: grid; grid-template-columns: 34px 1fr 1fr 44px; gap: 8px; align-items: center; }
.set-row .n { color: var(--faint); font-weight: 700; text-align: center; }
.set-row.done .input { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.check {
  width: 44px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  display: grid; place-items: center; cursor: pointer; color: var(--faint);
}
.check.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check svg { width: 18px; height: 18px; }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.bars i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--accent); min-height: 3px; }
.bars small { font-size: .65rem; color: var(--faint); }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); }

/* Minuteur flottant */
.timer {
  position: fixed; right: 16px; bottom: 90px; z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--accent); box-shadow: var(--shadow);
}
.timer b { font-family: var(--font-display); font-size: 1.4rem; min-width: 64px; }
@media (min-width: 860px) { .timer { bottom: 24px; } }

/* ---------- 7. Modale, toast, animations ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .65);
  display: grid; place-items: center; padding: 16px; animation: fade .2s ease;
}
.modal {
  width: 100%; max-width: 520px; max-height: 88vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 70;
  background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  animation: rise .25s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { animation: reveal .6s ease forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } * { animation: none !important; } }

/* ---------- 8. Bonhomme 3D (yoga) ---------- */
.y3d { position: relative; border-radius: var(--radius-sm); background: radial-gradient(circle at 50% 70%, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; }
.y3d-stage { position: relative; height: 250px; touch-action: none; cursor: grab; }
.y3d-canvas { width: 100%; height: 100%; display: block; }
.y3d-say { position: absolute; left: 12px; top: 10px; right: 56px; font-weight: 700; font-size: .85rem; color: var(--accent); text-align: left; pointer-events: none; }
.y3d-say.pop { animation: rise-in .35s ease; }
.y3d-hint { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: .72rem; color: var(--faint); pointer-events: none; transition: opacity .4s; }
.y3d-hint.gone { opacity: 0; }
.y3d-play { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; font-size: .75rem; }
@keyframes rise-in { from { opacity: 0; transform: translateY(4px); } }
.how-grid { display: grid; gap: 16px; align-items: start; }
.how-grid .y3d-stage { height: 210px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: 1.1fr 1fr; } .how-grid .y3d-stage { height: 300px; } }

/* ---------- 9. Comptes : connexion, inscription, avatar (repris de Palier) ---------- */
.form-error { color: var(--danger); font-size: .88rem; min-height: 1.3em; margin-bottom: 8px; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .auth-wrap { grid-template-columns: 1.05fr 1fr; } }
.auth-side {
  display: none; padding: 48px; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%), var(--bg-2);
  border-right: 1px solid var(--line);
}
.auth-side > * { position: relative; }
.auth-side .auth-visual { position: absolute; right: -40px; bottom: 60px; width: 330px; opacity: .9; pointer-events: none; }
@media (min-width: 900px) { .auth-side { display: flex; } #logoMain { display: none; } }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
@media (max-width: 899px) { .auth-main { align-items: flex-start; padding-top: 28px; } }
.auth-box { width: 100%; max-width: 420px; animation: rise-in .5s ease; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin: 26px 0 22px; }
.seg button { padding: 10px; border: 0; background: transparent; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.seg button.on { background: var(--surface-2); color: var(--text); }
.fineprint { color: var(--faint); font-size: .72rem; text-align: center; margin-top: 18px; opacity: .8; }
.trust { margin: 0 0 20px; padding: 16px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%), var(--surface); }
.trust-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.trust-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: color-mix(in srgb, var(--accent) 15%, var(--surface-2)); }
.trust-head b { display: block; font-size: 1rem; }
.trust-head span { font-size: .8rem; color: var(--muted); }
.trust-list { list-style: none; display: grid; gap: 9px; }
.trust-list li { display: flex; gap: 10px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.trust-list li > span { flex: none; width: 20px; text-align: center; }
.trust-list b { color: var(--text); }
.trust-more { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.trust-more summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.trust-more p { margin-top: 8px; line-height: 1.5; }
.hint { font-size: .76rem; color: var(--faint); line-height: 1.4; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1rem; border-radius: 10px; }
.pw-eye:hover { background: var(--surface-2); }
.pw-meter { display: grid; gap: 5px; margin-top: 2px; }
.pw-bar { height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pw-bar span { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .3s, background .3s; }
.field-error { color: var(--danger); font-size: .82rem; font-weight: 600; line-height: 1.35; }
.field-error:empty { display: none; }
.input.invalid, .input.invalid:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 93, 93, .18); }
.mode-note { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px dashed var(--line); margin-bottom: 16px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--av, var(--accent)); color: #111; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px color-mix(in srgb, var(--av, var(--accent)) 60%, transparent); transition: transform .2s;
}
.avatar:hover { transform: scale(1.08) rotate(-4deg); }
.avatar.big { width: 76px; height: 76px; font-size: 2rem; }
.color-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pick button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; background: var(--c); }
.color-pick button.on { border-color: var(--text); }

/* ---------- 10. Dynamique : mouvements, lumières, confettis ---------- */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; box-shadow: 0 0 12px var(--accent); }
.topbar { transition: background .3s, box-shadow .3s; }
.topbar.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
main.page > .container, .auth-box { animation: page-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
/* l'apparition ne bloque plus le petit soulèvement au survol */
.js .reveal.in { opacity: 1; transform: none; animation: reveal-from .6s ease backwards; }
@keyframes reveal-from { from { opacity: 0; transform: translateY(14px); } }
.btn, .choice, .chip { position: relative; overflow: hidden; }
.ripple { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: currentColor; opacity: .25; pointer-events: none; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
.btn-primary { box-shadow: 0 8px 24px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px var(--accent); }
.card { transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.card.reveal, .tilt { background-image: radial-gradient(400px circle at var(--mx, -100%) var(--my, -100%), color-mix(in srgb, var(--accent) 9%, transparent), transparent 45%); }
@media (hover: hover) {
  .card.reveal:hover, .tilt:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); }
  .item { transition: transform .2s, border-color .2s; }
  .item:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
}
.hero h1 em { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff), var(--accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero::after { content: ''; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%); animation: float 9s ease-in-out infinite; pointer-events: none; }
.hero::before { animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(30px, -24px) scale(1.06); } }
.feature-icon { transition: transform .3s; }
.card:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.progress span, .bars i { transition: width .8s cubic-bezier(.2, .7, .2, 1), height .8s cubic-bezier(.2, .7, .2, 1); }
.bars i { animation: grow-up .9s cubic-bezier(.2, .7, .2, 1) both; transform-origin: bottom; }
@keyframes grow-up { from { transform: scaleY(0); } }
.check.on { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.25); } }
.choice.on { animation: pop-soft .3s ease; }
@keyframes pop-soft { 40% { transform: scale(1.025); } }
.modal { animation: modal-in .3s cubic-bezier(.2, .8, .2, 1.2); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent), 0 0 24px -4px var(--accent); } }
@media (prefers-reduced-motion: reduce) { .scroll-bar { display: none; } }
