@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette standard */
  --red:      #C41E1E;
  --red-dark: #8B0000;
  --red-deep: #6B0000;
  --rose:     #FFE4E4;
  --rose-mid: #FFCCCC;
  --white:    #FFFFFF;
  --cream:    #FFF8F8;
  --text:     #2D1515;
  --muted:    #6B5050; /* corrigé : ratio 4.6:1 sur blanc ✓ */
  --light:    #F5E8E8;

  /* Accessibilité — overridées par les modes */
  --a11y-font: "Inter", sans-serif;
  --a11y-heading-font: "Nunito", sans-serif;
  --a11y-base-size: 1rem;
  --a11y-line-height: 1.6;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--a11y-font);
  font-size: var(--a11y-base-size);
  line-height: var(--a11y-line-height);
  background: var(--cream); color: var(--text); overflow-x: hidden;
}

/* ══ MODES D'ACCESSIBILITÉ ══════════════════════════════════════════ */

/* Mode police lisible (Atkinson Hyperlegible — dyslexie, malvoyants) */
body.police-lisible {
  --a11y-font: "Atkinson Hyperlegible", sans-serif;
  --a11y-heading-font: "Atkinson Hyperlegible", sans-serif;
  --a11y-line-height: 1.85;
  letter-spacing: 0.02em;
  word-spacing: 0.1em;
}
body.police-lisible h1, body.police-lisible h2, body.police-lisible h3,
body.police-lisible h4, body.police-lisible .nav-name { font-family: "Atkinson Hyperlegible", sans-serif !important; }

/* Mode texte agrandi */
body.texte-grand { --a11y-base-size: 1.15rem; }

/* Mode daltonien — palette bleu/orange (accessible deuteranopie/protanopie) */
body.daltonien {
  --red:      #1565C0;
  --red-dark: #0D47A1;
  --red-deep: #083187;
  --rose:     #E3F2FD;
  --rose-mid: #BBDEFB;
  --cream:    #F0F7FF;
  --light:    #DDEEFF;
  --muted:    #3E5F8A;
}
body.daltonien .btn-primary { background: #1565C0; box-shadow: 0 4px 16px rgba(21,101,192,0.4); }
body.daltonien .btn-primary:hover { box-shadow: 0 8px 24px rgba(21,101,192,0.55); }
body.daltonien footer { background: #0D47A1; }
body.daltonien .chat-header { background: linear-gradient(135deg, #1565C0, #1976D2) !important; }

/* ══ FOCUS CLAVIER VISIBLE (WCAG 2.1 2.4.7 + 2.4.11) ═════════════ */
:focus-visible {
  outline: 3px solid #1565C0;
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(21,101,192,0.18);
}
/* Supprime l'outline souris, garde celui clavier */
:focus:not(:focus-visible) { outline: none; box-shadow: none; }
body.daltonien :focus-visible { outline-color: #E65100; box-shadow: 0 0 0 5px rgba(230,81,0,0.18); }

/* ══ SKIP LINK (lecteurs d'écran + clavier) ════════════════════════ */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--red-dark); color: #fff; padding: 10px 20px;
  border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
  font-size: 0.95rem; transition: top .2s;
}
.skip-link:focus { top: 0; }
body.daltonien .skip-link { background: #0D47A1; }

/* ══ WIDGET ACCESSIBILITÉ ═══════════════════════════════════════════ */
.a11y-btn-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 9980;
  background: var(--red-dark); color: #fff;
  border: none; border-radius: 50%; width: 48px; height: 48px;
  font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
  aria-label: "Options d'accessibilité";
}
.a11y-btn-toggle:hover { transform: scale(1.1); }
body.daltonien .a11y-btn-toggle { background: #0D47A1; }

.a11y-panel {
  position: fixed; bottom: 78px; right: 20px; z-index: 9981;
  background: #fff; border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18); min-width: 230px;
  border: 1.5px solid var(--rose-mid); display: none; flex-direction: column; gap: 10px;
}
.a11y-panel.open { display: flex; }
.a11y-panel-title {
  font-family: var(--a11y-heading-font); font-weight: 800;
  font-size: 0.85rem; color: var(--red-dark); margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
body.daltonien .a11y-panel-title { color: #0D47A1; }
.a11y-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--text);
}
.a11y-toggle {
  width: 44px; height: 24px; border-radius: 99px; border: none; cursor: pointer;
  background: #ccc; position: relative; transition: background .2s; flex-shrink: 0;
}
.a11y-toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.a11y-toggle.on { background: var(--red); }
.a11y-toggle.on::after { transform: translateX(20px); }
body.daltonien .a11y-toggle.on { background: #1565C0; }
.a11y-panel-close {
  align-self: flex-end; background: none; border: none; cursor: pointer;
  font-size: 0.8rem; color: var(--muted); margin-top: 4px; padding: 2px 6px;
}

/* ══ TAILLE MINIMALE ZONES CLIQUABLES (WCAG 2.5.5) ════════════════ */
button, a[role="button"], input[type="submit"] { min-height: 44px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ══ ÉLÉMENT VISUELLEMENT CACHÉ MAIS ACCESSIBLE ════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══ LIVE REGION POUR ANNONCES DYNAMIQUES ══════════════════════════ */
#a11y-announce {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* ══ ANIMATION RÉDUITE (prefers-reduced-motion) ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ══ CONTRASTE ÉLEVÉ (prefers-contrast: high) ═════════════════════ */
@media (prefers-contrast: high) {
  :root {
    --red: #9B0000; --red-dark: #6B0000; --muted: #4A3535;
    --rose: #FFCCCC; --rose-mid: #FF9999; --cream: #FFFFFF;
  }
  .nav-card, .msg-bubble { border-width: 2px !important; }
}

/* ══ ANIMATIONS ORIGINALES ══════════════════════════════════════════ */

/* Ripple effect sur les boutons */
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Texte gradient sur les gros titres */
.page-hero h1,
.hero-text h1 {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 45%, #FF5252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(196,30,30,0.18));
}
body.daltonien .page-hero h1,
body.daltonien .hero-text h1 {
  background: linear-gradient(135deg, #083187, #1565C0, #42A5F5);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Anneau orbital du logo hero */
.logo-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
}
.logo-ring-wrap img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 32px rgba(196,30,30,0.3));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { transform: scale(1); filter: drop-shadow(0 8px 32px rgba(196,30,30,0.3)); }
  50%      { transform: scale(1.04); filter: drop-shadow(0 12px 40px rgba(196,30,30,0.5)); }
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(0deg);
  animation: orbit linear infinite;
}
@keyframes orbit { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Stats — mise en valeur des chiffres */
.stats-grid { position: relative; z-index: 1; }
.stat-item {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.stat-item:hover { transform: translateY(-6px) scale(1.04); }
.stat-num {
  display: block;
  background: linear-gradient(135deg, #fff 30%, rgba(255,220,220,0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* Cards avec effet glassmorphism subtil */
.nav-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s;
  will-change: transform;
}

/* Shimmer sur btn-primary */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmerBtn 3s ease-in-out infinite;
}
@keyframes shimmerBtn {
  0%   { left: -100%; }
  40%,100% { left: 150%; }
}

/* Fond hero avec gradient animé en profondeur */
#hero {
  background: linear-gradient(160deg, #fff 0%, #FFF0F0 40%, #FFE4E4 75%, #FFD0D0 100%);
  background-size: 300% 300%;
  animation: heroBg 12s ease-in-out infinite;
}
@keyframes heroBg {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Badge animé dans le hero */
.badge {
  animation: badgePop .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes badgePop {
  from { opacity: 0; transform: scale(.7) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Entrée en scène du titre hero */
.hero-text h1 {
  animation: heroTitleIn .9s cubic-bezier(.22,1,.36,1) .15s both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Hero sub — réservé pour le typewriter */
.hero-sub { min-height: 3em; }

/* Boutons hero avec délai */
.hero-btns {
  animation: heroBtnsIn .8s ease .9s both;
}
@keyframes heroBtnsIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Section label avec underline animé */
.section-label::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .5s ease;
  margin-top: 4px;
}
.visible .section-label::after,
.section-label:not(.reveal) ~ * .section-label::after { width: 40px; }

/* Nav active avec point indicateur */
.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* Cards conséils et nav — glow au hover */
.conseil-card:hover,
.nav-card:hover {
  border-color: rgba(196,30,30,0.35) !important;
}

/* Footer avec effet de grain léger */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  pointer-events: none;
}
footer { position: relative; overflow: hidden; }

/* Mobile : pas de tilt 3D */
@media (max-width: 768px) {
  .nav-card, .conseil-card { transform: none !important; box-shadow: none !important; }
  .logo-ring-wrap { width: 180px; height: 180px; }
  .orbit-ring { display: none; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(255,248,248,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196,30,30,0.1);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 2px 10px rgba(196,30,30,0.3); }
.nav-mascot { width: 38px !important; height: 38px !important; border-radius: 50% !important; object-fit: contain !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.nav-mascot:hover { transform: rotate(-8deg) scale(1.15); }
.nav-name { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.4rem; color: var(--red-dark); }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; transition: all .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--rose); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--red-dark); margin: 5px 0; border-radius: 2px; transition: all .3s; }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rose); z-index: 99; padding: 12px 5vw; flex-direction: column; gap: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text); text-decoration: none; font-weight: 600; padding: 12px 16px; border-radius: 12px; transition: background .2s; }
.nav-mobile a:hover, .nav-mobile a.active { background: var(--rose); color: var(--red); }

/* ── PAGE HEADER ── */
.page-hero {
  padding: 110px 5vw 60px;
  background: linear-gradient(160deg, #fff 0%, #FFF0F0 60%, #FFE4E4 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; pointer-events: none; }
.page-hero .blob1 { width: 400px; height: 400px; background: #FFAAAA; top: -100px; right: -80px; }
.page-hero .blob2 { width: 300px; height: 300px; background: #FFD0D0; bottom: -60px; left: -60px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--rose); border: 1.5px solid var(--rose-mid);
  border-radius: 99px; padding: 6px 18px;
  font-size: 0.78rem; color: var(--red-dark); font-weight: 700; margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15; letter-spacing: -1px; color: var(--red-dark); margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ── WAVE ── */
.wave { display: block; width: 100%; line-height: 0; overflow: hidden; }
.wave svg { display: block; width: 100%; }

/* ── SECTIONS ── */
section { padding: 70px 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.section-title { font-family: "Nunito", sans-serif; font-weight: 900; font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--red-dark); letter-spacing: -0.5px; margin-bottom: 10px; }
.section-desc { color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; font-size: 0.97rem; }

/* ── BOUTONS ── */
.btn-primary {
  background: var(--red); color: #fff; border: none;
  padding: 13px 28px; border-radius: 99px;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 0.95rem;
  cursor: pointer; transition: transform .15s, box-shadow .15s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(196,30,30,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,30,30,0.45); }
.btn-outline {
  background: #fff; color: var(--red); border: 2px solid var(--rose-mid);
  padding: 11px 28px; border-radius: 99px;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 0.95rem;
  cursor: pointer; transition: border-color .2s, background .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--red); background: var(--rose); }

/* ── CARDS NAVIGATION ── */
.nav-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.nav-card {
  background: #fff; border: 1.5px solid var(--rose); border-radius: 22px;
  padding: 28px 24px; text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.nav-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), #FF6B6B);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(139,0,0,0.12); border-color: var(--rose-mid); }
.nav-card:hover::after { transform: scaleX(1); }
.nav-card-icon { font-size: 2.2rem; }
.nav-card h3 { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--red-dark); }
.nav-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.nav-card-arrow { margin-top: auto; color: var(--red); font-weight: 700; font-size: 0.9rem; }

/* ── FOOTER ── */
/* ── MARQUEE DÉFILANT ── */
.marquee-strip {
  background: var(--red-dark); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; padding: 12px 0; position: relative;
}
.marquee-strip::before, .marquee-strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--red-dark), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(270deg, var(--red-dark), transparent); }
.marquee-track {
  display: flex; gap: 32px; width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 0.85rem;
  color: rgba(255,255,255,0.72); white-space: nowrap; padding: 4px 0;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

footer { background: var(--red-dark); text-align: center; padding: 50px 5vw; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: contain; background: #fff; padding: 4px; }
.footer-name { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.3rem; color: #fff; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-socials { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer-social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; padding: 12px 26px; border-radius: 16px;
  font-family: "Nunito", sans-serif; font-size: 0.95rem; font-weight: 800;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
}
.footer-social-btn::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  transition: opacity .22s;
  background: rgba(255,255,255,0.18);
}
.footer-social-btn:hover::before { opacity: 1; }
.footer-social-btn:hover { transform: translateY(-4px) scale(1.04); }
.footer-social-btn.tiktok {
  background: linear-gradient(135deg, #010101 0%, #1a1a2e 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4), 0 0 0 1.5px rgba(255,255,255,0.08);
}
.footer-social-btn.tiktok:hover {
  box-shadow: 0 12px 34px rgba(0,0,0,0.5), 0 0 0 1.5px #69C9D0, 0 0 20px rgba(105,201,208,0.3);
}
.footer-social-btn.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(220,39,67,0.45);
}
.footer-social-btn.instagram:hover {
  box-shadow: 0 12px 34px rgba(220,39,67,0.6), 0 0 20px rgba(240,148,51,0.3);
}
.footer-social-btn svg { flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.urgence-strip {
  display: inline-flex; gap: 20px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  padding: 10px 20px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center;
}
.urgence-strip span { color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600; }
.urgence-strip strong { color: #fff; }
footer p { color: rgba(255,255,255,0.45); font-size: 0.8rem; line-height: 1.8; }
footer strong { color: rgba(255,255,255,0.75); }

/* ══ GRAIN + SPOTLIGHT ═══════════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9980; pointer-events: none;
  background: radial-gradient(700px circle at var(--mx,50%) var(--my,50%),
    rgba(196,30,30,0.05), transparent 55%);
  transition: background .1s;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9979; pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* ══ MANIFESTO SECTION ═══════════════════════════════════════════════ */
#manifesto {
  background: var(--red-dark); padding: 90px 5vw;
  text-align: center; position: relative; overflow: hidden;
}
#manifesto::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg,#6B0000 0%,#C41E1E 50%,#8B0000 100%);
  background-size: 200% 200%; animation: manifestoBg 10s ease-in-out infinite;
}
@keyframes manifestoBg { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.manifesto-inner { position:relative; z-index:1; max-width:750px; margin:0 auto; }
.manifesto-eyebrow {
  display:inline-block; font-size:0.72rem; font-weight:800;
  letter-spacing:4px; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin-bottom:20px;
}
.manifesto-big {
  font-family:"Nunito",sans-serif; font-weight:900;
  font-size:clamp(3.5rem, 11vw, 8rem);
  line-height:.95; color:#fff; letter-spacing:-4px; margin:0 0 16px;
}
.manifesto-big em {
  background:linear-gradient(135deg,#FF6B6B,#FFD0D0 60%,#FF9999);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  font-style:normal;
}
.manifesto-sub {
  color:rgba(255,255,255,0.55); font-size:1.1rem; font-weight:500;
  max-width:480px; margin:0 auto 36px; line-height:1.7;
}
.manifesto-cta { background:#fff; color:var(--red-dark); font-size:1rem; }
.manifesto-cta:hover { background:var(--rose); box-shadow:0 12px 32px rgba(0,0,0,0.2) !important; }
.manifesto-bg-text {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-family:"Nunito",sans-serif; font-weight:900;
  font-size:clamp(8rem,22vw,20rem); line-height:1;
  color:rgba(255,255,255,0.03); pointer-events:none; user-select:none;
  white-space:nowrap; letter-spacing:-8px;
}

/* ══ CARD SHINE ══════════════════════════════════════════════════════ */
.nav-card, .conseil-card {
  --shine-x: 50%; --shine-y: 50%;
}
.nav-card::before, .conseil-card::before {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:radial-gradient(circle at var(--shine-x) var(--shine-y),
    rgba(255,255,255,0.18) 0%, transparent 65%);
  opacity:0; transition:opacity .25s; pointer-events:none; z-index:1;
}
.nav-card:hover::before, .conseil-card:hover::before { opacity:1; }


/* ══ FLOATING BOB ════════════════════════════════════════════════════ */
.floating-bob {
  position: fixed; bottom: 88px; left: 20px; z-index: 490;
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px;
}
.floating-bob-btn {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid var(--rose-mid); background: #fff;
  overflow: visible; cursor: none;
  box-shadow: 0 6px 24px rgba(196,30,30,0.22);
  animation: fbFloat 3.5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: box-shadow .3s, border-color .3s;
  position: relative;
}
.floating-bob-btn img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.floating-bob-btn:hover { border-color: var(--red); box-shadow: 0 10px 32px rgba(196,30,30,0.35); }
.floating-bob-bubble {
  background: #fff; border: 1.5px solid var(--rose-mid);
  border-radius: 14px 14px 14px 4px;
  padding: 7px 12px; font-size: 0.76rem; font-weight: 700;
  color: var(--red-dark); box-shadow: 0 4px 14px rgba(139,0,0,0.1);
  opacity: 0; transform: translateX(-6px) scale(.95);
  transition: opacity .25s, transform .25s;
  white-space: nowrap; pointer-events: none;
}
.floating-bob:hover .floating-bob-bubble { opacity: 1; transform: none; }
@keyframes fbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@media (max-width: 768px) { .floating-bob { display: none; } }

/* ══ STATS CARDS REDESIGN ════════════════════════════════════════════ */
#stats { overflow: hidden; position: relative; }
#stats::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #8B0000, #C41E1E 50%, #8B0000);
  background-size: 200% 200%; animation: statsBg 8s ease-in-out infinite;
}
@keyframes statsBg { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 1rem !important;
  max-width: 960px; margin: 0 auto;
  position: relative; z-index: 1; flex-wrap: unset !important;
}
.stat-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; padding: 28px 20px;
  text-align: center; backdrop-filter: blur(6px);
  border-right: none !important;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s;
  position: relative; overflow: hidden;
}
.stat-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.stat-item:hover { transform: translateY(-6px) scale(1.04); background: rgba(255,255,255,0.18); }
.stat-num { font-size: 2.6rem !important; }
.stat-label { color: rgba(255,255,255,0.78) !important; font-size: 0.82rem !important; margin-top: 8px !important; }

/* ══ NUMÉRO DÉCORATIF EN FOND ════════════════════════════════════════ */
.section-deco-num {
  position: absolute; right: 3vw; top: 50%; transform: translateY(-50%);
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: clamp(6rem, 14vw, 11rem);
  color: rgba(196,30,30,0.04);
  pointer-events: none; user-select: none;
  line-height: 1; letter-spacing: -4px; z-index: 0;
}

/* ══ UNDERLINE ANIMÉ SUR .section-title ═════════════════════════════ */
.section-title {
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #FF6B6B, transparent);
  border-radius: 2px;
  transition: width .7s cubic-bezier(.22,1,.36,1) .15s;
}
.reveal.visible .section-title::after,
.section-title:not(.reveal)::after { width: 60%; }

/* ══ FORMES GÉO ANIMÉES (page heroes) ═══════════════════════════════ */
.hero-shape {
  position: absolute; pointer-events: none; opacity: 0.55;
  border-radius: 50%;
}
.hero-shape-1 {
  width: 18px; height: 18px;
  background: var(--red); top: 20%; left: 8%;
  animation: geoFloat1 5s ease-in-out infinite;
}
.hero-shape-2 {
  width: 10px; height: 10px;
  background: var(--rose-mid); top: 60%; left: 15%;
  animation: geoFloat1 7s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 14px; height: 14px;
  border: 2px solid var(--red); background: transparent;
  top: 30%; right: 10%;
  animation: geoFloat2 6s ease-in-out infinite;
}
.hero-shape-4 {
  width: 8px; height: 8px;
  background: #FF6B6B; bottom: 20%; right: 18%;
  animation: geoFloat2 4.5s ease-in-out infinite reverse;
}
.hero-shape-triangle {
  position: absolute; pointer-events: none; opacity: 0.4;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 17px solid var(--red);
  top: 70%; left: 6%;
  animation: geoSpin 10s linear infinite;
}
@keyframes geoFloat1 { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-14px) rotate(15deg)} }
@keyframes geoFloat2 { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(10px) scale(1.2)} }
@keyframes geoSpin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .hero-shape, .hero-shape-triangle { display: none; } }

/* ══ SECTION AVEC POSITION RELATIVE (pour deco-num) ═════════════════ */
#sections { position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 480px) {
  section { padding: 50px 5vw; }
}

/* ══════════════════════════════════════════════════════════════════
   NEXUS — IDENTITY UPGRADES (unicité visuelle)
══════════════════════════════════════════════════════════════════ */

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dark); }

/* ── Animated gradient on h1 em (hero title) ── */
h1 em {
  background: linear-gradient(90deg, var(--red), #FF4D4D, #FF9090, var(--red-dark), var(--red));
  background-size: 400% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-style: normal;
  animation: h1GradFlow 5s linear infinite;
}
@keyframes h1GradFlow { to { background-position: 400% center; } }

/* ── Neon pulse on primary button ── */
.btn-primary {
  animation: btnNeonPulse 3s ease-in-out infinite;
  position: relative;
}
@keyframes btnNeonPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(196,30,30,0.38); }
  50%     { box-shadow: 0 8px 30px rgba(196,30,30,0.65), 0 0 0 5px rgba(196,30,30,0.12); }
}

/* ── 3D perspective on nav-cards grid ── */
.nav-cards { perspective: 1200px; }
.nav-card {
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s, border-color .3s;
}
.nav-card:hover {
  transform: translateY(-10px) rotateX(-4deg) scale(1.02) !important;
  box-shadow: 0 24px 55px rgba(139,0,0,0.16) !important;
}

/* ── Glowing border on card hover ── */
.nav-card.glowing, .conseil-card.glowing {
  border-color: transparent !important;
  animation: cardGlowPulse 2s ease-in-out infinite;
}
@keyframes cardGlowPulse {
  0%,100% { box-shadow: 0 24px 55px rgba(196,30,30,0.16), 0 0 0 2px rgba(196,30,30,0.5), 0 0 18px rgba(196,30,30,0.18); }
  50%     { box-shadow: 0 26px 60px rgba(196,30,30,0.24), 0 0 0 2px #FF6B6B,               0 0 35px rgba(255,107,107,0.3); }
}

/* ── Dot grid on #sections ── */
#sections {
  position: relative;
}
#sections::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(196,30,30,0.07) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}
#sections > * { position: relative; z-index: 1; }

/* ── Animated manifesto em (make the gradient flow) ── */
.manifesto-big em {
  animation: manifestoEm 4s linear infinite;
  background: linear-gradient(135deg, #FF6B6B, #FFD0D0, #FF9999, #FFD0D0, #FF6B6B);
  background-size: 400% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes manifestoEm { to { background-position: 400% center; } }

/* ── Holographic shimmer on stat numbers ── */
.stat-num.holo {
  background: linear-gradient(90deg, #fff 0%, #FFD0D0 25%, #fff 50%, #FFD0D0 75%, #fff 100%);
  background-size: 500% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: statHolo 2.2s ease-in-out forwards;
}
@keyframes statHolo { 0% { background-position: 0% center; } 100% { background-position: 500% center; } }

/* ── Page transition ── */
body { animation: pageSlideIn .4s ease both; }
@keyframes pageSlideIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.page-exit { animation: pageSlideOut .32s ease forwards; }
@keyframes pageSlideOut {
  to { opacity: 0; }
}

/* ── Scroll progress ring ── */
#scrollRing {
  position: fixed; top: 14px; right: 14px; z-index: 99990;
  pointer-events: none; width: 44px; height: 44px;
  opacity: 0; transition: opacity .3s;
}
#scrollRing.visible { opacity: 1; }
#scrollRing svg { transform: rotate(-90deg); display: block; }
#scrollRing .ring-track { fill: none; stroke: var(--rose-mid); stroke-width: 3.5; }
#scrollRing .ring-fill  { fill: none; stroke: var(--red);      stroke-width: 3.5;
  stroke-linecap: round; transition: stroke-dashoffset .12s linear; }

/* ── Curseur personnalisé désactivé ── */

#nx-cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 999999; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2563EB;
  margin-left: -5px; margin-top: -5px;
  will-change: transform;
  transition: width .18s cubic-bezier(.34,1.56,.64,1),
              height .18s cubic-bezier(.34,1.56,.64,1),
              margin .18s cubic-bezier(.34,1.56,.64,1),
              background .18s, opacity .2s;
}
#nx-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999997; pointer-events: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,0.6);
  margin-left: -19px; margin-top: -19px;
  will-change: transform;
  transition: width .25s cubic-bezier(.34,1.56,.64,1),
              height .25s cubic-bezier(.34,1.56,.64,1),
              margin .25s cubic-bezier(.34,1.56,.64,1),
              border-color .2s, opacity .2s;
}
/* Trail */
.nx-trail {
  position: fixed; top: 0; left: 0; z-index: 999996; pointer-events: none;
  border-radius: 50%; background: #2563EB;
  margin-left: -3px; margin-top: -3px;
  will-change: transform;
}
/* Hover */
#nx-cursor-dot.hover  { width: 6px; height: 6px; margin-left: -3px; margin-top: -3px; background: #fff; }
#nx-cursor-ring.hover {
  width: 44px; height: 44px; margin-left: -22px; margin-top: -22px;
  background: rgba(37,99,235,0.1);
  border-color: #2563EB;
}
/* Mode texte */
#nx-cursor-dot.text  { width: 3px; height: 22px; border-radius: 2px; margin-left: -1.5px; margin-top: -11px; background: #2563EB; }
#nx-cursor-ring.text { opacity: 0; }
/* Clic */
#nx-cursor-dot.click  { transform: scale(0.75) !important; }
#nx-cursor-ring.click { width: 28px; height: 28px; margin-left: -14px; margin-top: -14px; border-color: #2563EB; opacity: 1; }
/* Label contextuel */
#nx-cursor-label {
  position: fixed; top: 0; left: 0; z-index: 999998; pointer-events: none;
  background: #2563EB; color: #fff;
  font-family: "Nunito", sans-serif; font-size: 0.72rem; font-weight: 800;
  padding: 4px 10px; border-radius: 99px;
  white-space: nowrap; opacity: 0;
  transition: opacity .18s;
  will-change: transform;
}
#nx-cursor-label.show { opacity: 1; }
/* Ripple clic */
.nx-ripple {
  position: fixed; z-index: 999995; pointer-events: none;
  width: 0; height: 0; border-radius: 50%;
  border: 2px solid #2563EB;
  margin-left: 0; margin-top: 0;
  animation: cursorRipple .5s ease-out forwards;
}
@keyframes cursorRipple {
  0%   { width: 0; height: 0; margin: 0; opacity: .8; }
  100% { width: 60px; height: 60px; margin-left: -30px; margin-top: -30px; opacity: 0; }
}

/* ── Reduced motion overrides ── */
@media (prefers-reduced-motion: reduce) {
  h1 em, .manifesto-big em { animation: none; }
  .btn-primary { animation: none; }
  body { animation: none; }
  body.page-exit { animation: none; }
  .stat-num.holo { animation: none; }
  .nav-card.glowing, .conseil-card.glowing { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION TÉMOIGNAGES
══════════════════════════════════════════════════════════════════ */
#temoignages {
  background: linear-gradient(160deg, #0A0000 0%, #1a0000 40%, #2d0000 100%);
  padding: 90px 5vw; position: relative; overflow: hidden;
}
#temoignages .temo-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 20% 50%, rgba(196,30,30,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 80% 50%, rgba(139,0,0,0.14) 0%, transparent 70%);
}
#temoignages .section-label { color: rgba(255,200,200,0.6); }
#temoignages .section-title { color: #fff; padding-bottom: 10px; margin-bottom: 40px; }
#temoignages .section-title::after { background: linear-gradient(90deg, #FF6B6B, #FFD0D0, transparent); }
.temo-carousel {
  position: relative; min-height: 200px;
  max-width: 780px; margin: 0 auto 28px;
}
.temo-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.temo-card.active {
  opacity: 1; transform: none; pointer-events: auto; position: relative;
}
.temo-quote-mark {
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: 6rem; line-height: 0.6;
  color: rgba(196,30,30,0.5);
  height: 40px;
}
.temo-card blockquote {
  font-family: "Nunito", sans-serif; font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.65; color: rgba(255,255,255,0.92);
  margin: 0; font-style: italic;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.temo-card cite {
  font-style: normal; font-size: 0.85rem;
  color: rgba(255,255,255,0.45); font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.temo-tag {
  background: rgba(196,30,30,0.4); color: #FFB3B3;
  padding: 3px 10px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
}
.temo-controls {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 20px;
}
.temo-dot {
  width: 32px; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,0.2); border: none; cursor: pointer;
  transition: background .3s, width .3s;
  min-height: 0; padding: 0;
}
.temo-dot.active { background: #FF6B6B; width: 48px; }
.temo-dot:hover { background: rgba(255,100,100,0.5); }
.temo-disclaimer {
  text-align: center; color: rgba(255,255,255,0.2);
  font-size: 0.72rem; font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 3 ÉTAPES
══════════════════════════════════════════════════════════════════ */
#etapes {
  background: var(--cream); padding: 80px 5vw; position: relative;
}
#etapes::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,228,228,0.6) 0%, transparent 70%);
}
#etapes .container { position: relative; z-index: 1; }
.steps-row {
  display: flex; align-items: flex-start; gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap; justify-content: center;
}
.step-card {
  flex: 1; min-width: 220px; max-width: 300px;
  background: #fff;
  border: 1.5px solid var(--rose);
  border-radius: 24px; padding: 36px 28px;
  text-align: center; position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(139,0,0,0.12);
  border-color: var(--red);
}
.step-num {
  position: absolute; top: -14px; left: 24px;
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: 0.72rem; letter-spacing: 2px;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 99px;
  text-transform: uppercase;
}
.step-icon {
  font-size: 2.8rem; margin-bottom: 16px; margin-top: 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(196,30,30,0.2));
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.step-card:hover .step-icon { transform: scale(1.15) rotate(-5deg); }
.step-card h3 {
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: 1.25rem; color: var(--red-dark); margin-bottom: 10px;
}
.step-card p {
  color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px;
}
.step-link {
  display: inline-block; color: var(--red); font-weight: 800;
  font-size: 0.82rem; text-decoration: none;
  border-bottom: 2px solid var(--rose-mid);
  transition: border-color .2s, color .2s;
}
.step-link:hover { border-color: var(--red); color: var(--red-dark); }
.step-arrow {
  width: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px;
  color: var(--rose-mid); font-size: 1.8rem;
}
.step-arrow::after { content: "→"; }
@media (max-width: 720px) {
  .step-arrow { display: none; }
  .steps-row { gap: 16px; }
}


/* ══════════════════════════════════════════════════════════════════
   GRADIENT BORDER CARDS (effet premium)
══════════════════════════════════════════════════════════════════ */
.nav-card {
  background-clip: padding-box;
}
.nav-card.grad-border {
  border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--red), #FF6B6B, var(--rose-mid));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ══════════════════════════════════════════════════════════════════
   ENHANCED KAHOOT PAGE
══════════════════════════════════════════════════════════════════ */
.kahoot-stats-strip {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.kahoot-stat {
  flex: 1; min-width: 100px; background: rgba(70,23,143,0.06);
  border: 1.5px solid rgba(70,23,143,0.15); border-radius: 16px;
  padding: 14px 16px; text-align: center;
}
.kahoot-stat-num {
  font-family: "Nunito", sans-serif; font-weight: 900;
  font-size: 1.6rem; color: #46178F; display: block;
}
.kahoot-stat-label {
  font-size: 0.72rem; font-weight: 700; color: #6B5050;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════════
   REDUCED MOTION — nouvelles animations
══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .temo-card { transition: none; }
  .step-card { transition: none; }
  .step-card:hover { transform: none; }
  .step-card:hover .step-icon { transform: none; }
}
