/* =====================================================================
   redesign-2026.css — Refonte visuelle GLOBALE du site Capsula
   Direction HYBRIDE : hero immersif (dark néon, image de marque par thème)
   + contenu clair raffiné. Chargé sur TOUTES les pages.
   Ne modifie aucun contenu. WCAG AA + prefers-reduced-motion respectés.
   NB : boutons restylés uniquement dans <main> → la nav reste intacte.
   ===================================================================== */

/* =====================================================================
   1. BOUTONS PREMIUM (contenu uniquement, pas la nav/menu mobile)
   ===================================================================== */
main .btn {
  padding: 14px 28px;
  font-size: 0.98rem;
  border-radius: 14px;
  letter-spacing: 0.005em;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

main .btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(5, 8, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 0 26px rgba(0, 229, 255, 0.22);
}

main .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

main .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(5, 8, 20, 0.4), 0 0 36px rgba(124, 58, 237, 0.45);
}

main .btn-primary:hover::after {
  left: 130%;
}

main .btn-outline,
main .btn-ghost {
  padding: 13px 26px;
}

@media (prefers-reduced-motion: reduce) {
  main .btn-primary::after {
    display: none;
  }
}

/* =====================================================================
   2. HERO IMMERSIF PAR THÈME
   Image de marque en fond + voile sombre fort (contraste garanti).
   S'applique à .hero (home) et .page-hero (pages internes).
   ===================================================================== */
.hero,
.page-hero {
  background-color: #070b19 !important; /* base sombre solide : aucune bande claire */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  isolation: isolate; /* contexte d'empilement fiable : le voile recouvre la vidéo */
}

/* Voile directionnel : sombre côté texte (gauche), translucide côté visuel
   (droite) → l'image/vidéo de marque reste bien visible, contraste garanti. */
.hero::before,
.page-hero::before {
  /* Voile vertical : descente PROGRESSIVE en % (aucun plateau, aucune hauteur px
     fixe → pas de rectangle), fondu en rgba(...,0) même teinte (pas de "transparent"
     qui grise le milieu) → surface continue, zéro ligne. */
  background: linear-gradient(to bottom, rgba(6, 9, 20, 0.9) 0%, rgba(6, 9, 20, 0.52) 26%, rgba(6, 9, 20, 0.2) 52%, rgba(6, 9, 20, 0) 78%),
    linear-gradient(100deg, rgba(5, 8, 20, 0.86) 0%, rgba(6, 10, 22, 0.58) 42%, rgba(8, 12, 26, 0.32) 72%, rgba(10, 14, 32, 0.2) 100%),
    radial-gradient(circle at 86% 22%, var(--bg-spot-2), rgba(6, 9, 20, 0) 46%) !important;
  opacity: 1 !important;
}
/* Laser animé NEUTRALISÉ sur les hero : il démarrait à top:20% en mix-blend-mode
   screen → bord net + teinte (cyan/vert) sur la moitié basse = la "ligne" et la
   différence de couleur. Supprimé → fond de hero parfaitement homogène. */
.hero::after,
.page-hero::after {
  display: none !important;
}

/* --- Mapping image ↔ thème --- */
[data-theme="home"] .hero {
  background-image: linear-gradient(135deg, rgba(6, 9, 22, 0.5), rgba(7, 11, 25, 0.42)), url("/images/brand-2026/image-hero2-1600.webp") !important;
}
[data-theme="services"] .page-hero {
  background-image: url("/images/brand-2026/imag7-1600.webp");
}
[data-theme="agents"] .page-hero.agent-hero,
[data-theme="agents"] .page-hero:not(.observatory-hero) {
  background-image: url("/images/brand-2026/image4-1600.webp");
}
[data-theme="agents"] .page-hero.observatory-hero {
  background-image: url("/images/brand-2026/imag1-1600.webp");
}
[data-theme="projets"] .page-hero {
  background-image: url("/images/brand-2026/image3-1600.webp");
}
[data-theme="about"] .page-hero {
  background-image: url("/images/brand-2026/image6-1600.webp");
}
[data-theme="accompagnement"] .page-hero {
  background-image: url("/images/brand-2026/image-hero4-1600.webp");
}
[data-theme="contact"] .page-hero {
  background-image: url("/images/brand-2026/image-hero1-1600.webp");
}
[data-theme="devis"] .page-hero {
  background-image: url("/images/brand-2026/image2-1600.webp");
}
[data-theme="faq"] .page-hero {
  background-image: url("/images/brand-2026/imag9-1600.webp");
}
/* Pages légales : image claire & sobre + voile renforcé pour rester discret */
[data-theme="legal"] .page-hero {
  background-image: url("/images/brand-2026/imag5-1600.webp");
}
[data-theme="legal"] .page-hero::before {
  background: linear-gradient(135deg, rgba(5, 8, 20, 0.88) 0%, rgba(7, 11, 25, 0.8) 100%) !important;
}

/* --- Responsive : sous 980px, on sert les variantes -1000.webp (~moitié du poids).
   Le fond de hero est décoratif ET recouvert par le voile → le -1000 suffit
   largement ; gain data/LCP net sur mobile (où la vidéo ne pèse pas toujours).
   ⚠️ Si tu changes une image dans le mapping ci-dessus, change AUSSI sa
   variante -1000 ici (même thème). --- */
@media (max-width: 980px) {
  [data-theme="home"] .hero {
    background-image: linear-gradient(135deg, rgba(6, 9, 22, 0.5), rgba(7, 11, 25, 0.42)), url("/images/brand-2026/image-hero2-1000.webp") !important;
  }
  [data-theme="services"] .page-hero { background-image: url("/images/brand-2026/imag7-1000.webp") !important; }
  [data-theme="agents"] .page-hero.agent-hero,
  [data-theme="agents"] .page-hero:not(.observatory-hero) { background-image: url("/images/brand-2026/image4-1000.webp") !important; }
  [data-theme="agents"] .page-hero.observatory-hero { background-image: url("/images/brand-2026/imag1-1000.webp") !important; }
  [data-theme="projets"] .page-hero { background-image: url("/images/brand-2026/image3-1000.webp") !important; }
  [data-theme="about"] .page-hero { background-image: url("/images/brand-2026/image6-1000.webp") !important; }
  [data-theme="accompagnement"] .page-hero { background-image: url("/images/brand-2026/image-hero4-1000.webp") !important; }
  [data-theme="contact"] .page-hero { background-image: url("/images/brand-2026/image-hero1-1000.webp") !important; }
  [data-theme="devis"] .page-hero { background-image: url("/images/brand-2026/image2-1000.webp") !important; }
  [data-theme="faq"] .page-hero { background-image: url("/images/brand-2026/imag9-1000.webp") !important; }
  [data-theme="legal"] .page-hero { background-image: url("/images/brand-2026/imag5-1000.webp") !important; }
}

/* =====================================================================
   3. VIDÉO DÉCORATIVE DE HERO (optionnelle, perf-safe)
   <video class="hero-video" autoplay muted loop playsinline poster=...>
   Placée en 1er enfant de .hero / .page-hero. Reste DERRIÈRE le voile.
   ===================================================================== */
.hero-video {
  position: absolute;
  inset: 0; /* plein cadre : MÊME recadrage que l'image de fond → aucune couture/ligne */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  /* léger fondu tout en haut (sous le menu) : douceur, pas de couture car
     l'image de fond dessous est la même, recadrée à l'identique */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
}
/* Empilement : vidéo (0) < voile/laser (1) < contenu (2) → contraste garanti */
.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  z-index: 1 !important;
}
.hero-grid,
.hero-stats-wrap,
.page-hero-grid {
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* =====================================================================
   3bis. REVEAL AU SCROLL ENRICHI + cascade sur les cartes
   Gating sur .reveal (posé par ux.js) → si JS absent, rien n'est masqué.
   ===================================================================== */
.reveal {
  transform: translateY(34px) !important;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}
/* Reset quand visible : DOIT gagner sur le !important ci-dessus (sinon translate permanent) */
.reveal.is-visible {
  transform: translateY(0) !important;
}
/* Le hero ne se translate JAMAIS : évite le gap clair sous le menu au chargement */
.hero.reveal,
.page-hero.reveal,
.hero.reveal.is-visible,
.page-hero.reveal.is-visible {
  transform: none !important;
}
.section.reveal .card,
.section.reveal .timeline-item,
.section.reveal .image-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.section.reveal.is-visible .card,
.section.reveal.is-visible .timeline-item,
.section.reveal.is-visible .image-card {
  opacity: 1;
  transform: none;
}
.section.reveal.is-visible .card:nth-child(2),
.section.reveal.is-visible .timeline-item:nth-child(2) { transition-delay: 0.08s; }
.section.reveal.is-visible .card:nth-child(3),
.section.reveal.is-visible .timeline-item:nth-child(3) { transition-delay: 0.16s; }
.section.reveal.is-visible .card:nth-child(4),
.section.reveal.is-visible .timeline-item:nth-child(4) { transition-delay: 0.24s; }
.section.reveal.is-visible .card:nth-child(5),
.section.reveal.is-visible .timeline-item:nth-child(5) { transition-delay: 0.32s; }
.section.reveal.is-visible .card:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .section.reveal .card,
  .section.reveal .timeline-item,
  .section.reveal .image-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   4. CARTES IMAGE PREMIUM (sections de contenu)
   ===================================================================== */
.image-card {
  position: relative;
  box-shadow: 0 22px 50px rgba(8, 12, 25, 0.14);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.image-card img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.image-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.32);
  box-shadow: 0 34px 70px rgba(8, 12, 25, 0.2), 0 0 38px rgba(0, 229, 255, 0.14);
}
.image-card:hover img {
  transform: scale(1.06);
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.85;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .image-card:hover img {
    transform: none;
  }
}

/* =====================================================================
   5. SPÉCIFIQUE HOME
   ===================================================================== */
[data-theme="home"] .hero {
  padding: 84px 0 88px;
}
/* Suppression du vide entre le menu (sticky) et le contenu du hero interne */
.page-hero {
  padding-top: 48px !important;
  padding-bottom: 58px !important;
}

/* Grande icône thématique en fond du hero (injectée par hero-video.js).
   Façon filigrane lumineux, derrière le contenu (z-1 < contenu z-2). */
.hero-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(360px, 56vw, 760px);
  height: clamp(360px, 56vw, 760px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.06; /* watermark géant : transparaît dans les vides, indétectable sous l'encart */
}
.hero-icon-bg svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-0);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 26px rgba(0, 229, 255, 0.6)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.4));
}
@media (max-width: 900px) {
  .hero-icon-bg {
    opacity: 0.05;
    width: clamp(240px, 70vw, 440px);
    height: clamp(240px, 70vw, 440px);
  }
}
[data-theme="home"] .hero-copy h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.4rem);
}
[data-theme="home"] .hero-copy > p {
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 36ch;
}
[data-theme="home"] .hero-panel {
  border: 1px solid rgba(120, 190, 255, 0.18);
  box-shadow: 0 40px 90px rgba(3, 5, 14, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
[data-theme="home"] .panel-media {
  height: 260px;
}
[data-theme="home"] .image-card img {
  height: 300px;
}
[data-theme="home"] .cta {
  padding: 52px 56px;
  box-shadow: 0 40px 90px rgba(3, 5, 14, 0.4);
}

/* =====================================================================
   6. RESPONSIVE
   ===================================================================== */
@media (max-width: 700px) {
  [data-theme="home"] .hero {
    padding: 60px 0 56px;
  }
  .page-hero {
    padding-top: 34px !important;
    padding-bottom: 44px !important;
  }
  [data-theme="home"] .panel-media {
    height: 200px;
  }
  [data-theme="home"] .image-card img {
    height: 220px;
  }
  [data-theme="home"] .cta {
    padding: 36px 24px;
  }
  .hero,
  .page-hero {
    background-position: center !important;
  }
}

/* Voile RÉEL au-dessus de la vidéo (le ::before pseudo ne couvre pas la couche
   de composition vidéo de Chrome). Injecté par hero-video.js juste après la vidéo. */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Même logique que ::before : descente en %, sans plateau ni px fixe, fondu
     rgba(...,0) → couvre la vidéo sans créer de bande ni de ligne. */
  background: linear-gradient(to bottom, rgba(7, 11, 25, 0.9) 0%, rgba(7, 11, 25, 0.52) 26%, rgba(7, 11, 25, 0.2) 52%, rgba(7, 11, 25, 0) 78%),
    linear-gradient(100deg, rgba(5, 8, 20, 0.82) 0%, rgba(6, 10, 22, 0.5) 45%, rgba(8, 12, 26, 0.18) 100%);
}

/* Home : la vidéo remplace l'aurora (qui créait une bande claire en haut) */
[data-theme="home"] .hero-aurora { display: none; }

/* =====================================================================
   7. LISIBILITÉ DANS LE HERO (le hero est désormais sombre)
   Les .legal-badge étaient stylés pour l'ancien hero CLAIR (color #083344,
   bleu très sombre) → illisibles sur fond sombre. Texte clair cyan + pastille
   un peu plus présente. Contraste WCAG AA largement assuré.
   ===================================================================== */
.page-hero .legal-badge {
  background: rgba(0, 229, 255, 0.16);
  border-color: rgba(0, 229, 255, 0.42);
  color: #9be9ff;
}

/* Kicker du hero HOME : utilisait --muted (#5a6275, prévu fond clair) → ~2.4:1
   sur fond sombre, sous WCAG AA. Aligné sur le kicker des pages internes (clair). */
.hero .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

/* =====================================================================
   8. /PARLER/ — BRIEF GUIDÉ IMMERSIF (transformation dark néon)
   Scopé .dialogue-cinematic → n'impacte QUE la section formulaire de /parler/.
   La logique dialogue.js (step-by-step, résumé, soumission) est INCHANGÉE.
   ===================================================================== */
.dialogue-cinematic {
  position: relative;
  background: #070b19;
  overflow: hidden;
  isolation: isolate;
}
/* Lueurs néon dérivantes (fond immersif) */
.dialogue-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(45% 50% at 12% 16%, rgba(0, 229, 255, 0.16), transparent 60%),
    radial-gradient(42% 46% at 88% 10%, rgba(124, 58, 237, 0.2), transparent 60%),
    radial-gradient(52% 55% at 72% 96%, rgba(45, 107, 245, 0.14), transparent 62%);
}
@media (prefers-reduced-motion: no-preference) {
  .dialogue-cinematic::before {
    animation: dialogueDrift 22s ease-in-out infinite alternate;
  }
}
@keyframes dialogueDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.08); }
}
/* Grille technique discrète */
.dialogue-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(141, 178, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 178, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 76%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 76%);
}
.dialogue-cinematic .dialogue-shell {
  position: relative;
  z-index: 1;
}
/* Panneau formulaire : était blanc opaque → glass sombre néon */
.dialogue-cinematic .dialogue-panel {
  background: rgba(10, 18, 35, 0.5);
  border-color: rgba(141, 178, 255, 0.16);
  box-shadow: 0 40px 90px rgba(3, 5, 14, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}
.dialogue-cinematic .dialogue-panel::before {
  opacity: 0.9; /* renforce la déco néon cyan/violet du panneau sur fond sombre */
}

/* Textes du panneau → clairs (la section est désormais sombre) */
.dialogue-cinematic .dialogue-header h2 { color: #f4f8ff; }
.dialogue-cinematic .dialogue-header .section-kicker { color: var(--accent-0); }
.dialogue-cinematic .dialogue-header .notice,
.dialogue-cinematic .dialogue-help { color: rgba(215, 226, 245, 0.78); }
.dialogue-cinematic .dialogue-step h3 { color: #f4f8ff; }
.dialogue-cinematic .dialogue-progress-head { color: rgba(159, 178, 212, 0.9); }
.dialogue-cinematic .dialogue-progress-head strong { color: #f4f8ff; }

/* Step-pills néon */
.dialogue-cinematic .step-pill {
  background: rgba(141, 178, 255, 0.06);
  border-color: rgba(141, 178, 255, 0.16);
  color: rgba(159, 178, 212, 0.9);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.dialogue-cinematic .step-pill.is-complete {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: #9be9ff;
}
.dialogue-cinematic .step-pill.is-current {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.5);
  color: #d9c8ff;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.35);
}

/* Barre de progression néon glow */
.dialogue-cinematic .dialogue-progress-track {
  background: rgba(141, 178, 255, 0.08);
  border-color: rgba(141, 178, 255, 0.12);
  height: 10px;
}
.dialogue-cinematic .dialogue-progress-track span {
  background: linear-gradient(90deg, #00e5ff, #7c3aed);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Chips premium dark néon */
.dialogue-cinematic .choice-chip {
  background: rgba(13, 22, 42, 0.72);
  border: 1px solid rgba(141, 178, 255, 0.16);
  color: rgba(225, 234, 250, 0.92);
  border-radius: 14px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease,
    border-color 0.3s ease, background 0.3s ease;
}
.dialogue-cinematic .choice-chip-strong {
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.85), rgba(10, 16, 32, 0.85)),
    radial-gradient(circle at 12% 0%, rgba(0, 229, 255, 0.16), transparent 45%);
}
.dialogue-cinematic .choice-chip:hover,
.dialogue-cinematic .choice-chip:focus-visible {
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 229, 255, 0.28);
  transform: translateY(-3px);
  background: rgba(16, 26, 48, 0.85);
}
.dialogue-cinematic .choice-chip.is-selected {
  border-color: rgba(124, 58, 237, 0.7);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.28), rgba(0, 229, 255, 0.16));
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.5), 0 18px 40px rgba(124, 58, 237, 0.3),
    0 0 30px rgba(0, 229, 255, 0.2);
  color: #fff;
  animation: chipPop 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes chipPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Transition d'étape renforcée (slide latéral) */
.dialogue-cinematic .dialogue-step.is-active {
  animation: dialogueStepSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes dialogueStepSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: none; }
}

/* Micro-feedback néon */
.dialogue-cinematic .dialogue-micro-feedback {
  color: #9be9ff;
}

/* Bouton Précédent */
.dialogue-cinematic .dialogue-back-btn {
  background: rgba(141, 178, 255, 0.06);
  border: 1px solid rgba(141, 178, 255, 0.16);
  color: rgba(199, 212, 236, 0.85);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.dialogue-cinematic .dialogue-back-btn:hover {
  color: #9be9ff;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

/* Cartes résumé : glass néon renforcé */
.dialogue-cinematic .summary-card {
  background: rgba(10, 18, 35, 0.66);
  border-color: rgba(141, 178, 255, 0.16);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}
/* Flash néon quand une valeur du résumé s'inscrit (classe posée par dialogue.js) */
.dialogue-cinematic .summary-card strong.is-filled {
  animation: summaryFlash 0.7s ease;
}
@keyframes summaryFlash {
  0% { color: #fff; text-shadow: 0 0 0 transparent; }
  30% { color: #9be9ff; text-shadow: 0 0 14px rgba(0, 229, 255, 0.7); }
  100% { color: #fff; text-shadow: none; }
}

