/* ============================================
   CLAV'TEK / ELYONIS — Site Vitrine
   Brand officielle Elyonis (mai 2026)
   Inter SemiBold (titres) + Atkinson Hyperlegible (corps)
   ============================================ */

/* --- Variables — Charte officielle Elyonis --- */
:root {
  /* === PALETTE PRIMAIRE (officielle brand book) === */
  --coral: #f14d68;             /* Vibrant Coral Rose — warmth, empathy */
  --coral-80: #f37183;
  --coral-60: #f6959e;
  --coral-40: #f8b8ba;
  --coral-soft: rgba(241, 77, 104, 0.1);

  --orchid: #c4487e;            /* Empowered Orchid — creativity, innovation */
  --orchid-80: #cf6d97;
  --orchid-60: #db91b0;
  --orchid-40: #e7b5c9;
  --orchid-soft: rgba(196, 72, 126, 0.1);

  --deep-blue: #153ea7;         /* Deep Trust Blue — reliability, professionalism */
  --deep-blue-80: #4565b9;
  --deep-blue-60: #748bcb;
  --deep-blue-40: #a3b1dc;
  --deep-blue-soft: rgba(21, 62, 167, 0.08);

  --sky-blue: #378fd9;          /* Accessible Sky Blue — clarity, accessibility */
  --sky-blue-80: #5fa5e0;
  --sky-blue-60: #87bce7;
  --sky-blue-40: #afd2ee;
  --sky-blue-soft: rgba(55, 143, 217, 0.1);

  /* === GRADIENTS SIGNATURE === */
  --gradient-elyonis: linear-gradient(135deg, #f14d68 0%, #c4487e 35%, #153ea7 75%, #378fd9 100%);
  --gradient-elyonis-soft: linear-gradient(135deg, rgba(241,77,104,0.08) 0%, rgba(196,72,126,0.08) 35%, rgba(21,62,167,0.08) 100%);
  --gradient-magenta-blue: linear-gradient(135deg, #c4487e 0%, #153ea7 100%);
  --gradient-blue: linear-gradient(135deg, #153ea7 0%, #378fd9 100%);
  --gradient-warm: linear-gradient(135deg, #f14d68 0%, #c4487e 100%);
  --gradient-hero: linear-gradient(135deg, #0a1f3e 0%, #153ea7 50%, #378fd9 100%);
  --gradient-text-warm: linear-gradient(135deg, #f14d68 0%, #c4487e 50%, #153ea7 100%);
  --gradient-text-cool: linear-gradient(135deg, #153ea7 0%, #378fd9 100%);

  /* === ALIAS LEGACY (pour compat avec markup existant) === */
  --marine-900: #0a1f3e;
  --marine-800: #0e2f7c;
  --marine-700: #153ea7;  /* = deep-blue (primaire) */
  --marine-600: #1e4eb8;
  --marine-500: #378fd9;  /* = sky-blue */
  --marine-400: #5fa5e0;
  --marine-300: #87bce7;
  --marine-200: #afd2ee;
  --marine-100: #d4e4f5;
  --marine-50: #eef4fc;
  --steel-800: #2a3a52;
  --steel-600: #5c6a82;
  --steel-400: #8a96aa;
  --steel-300: #b5becc;
  --steel-200: #d4dae3;
  --steel-100: #e8ecf2;

  /* Neutres warm-leaning */
  --ink: #0a0f1f;
  --text: #1a2138;
  --text-soft: #424a63;
  --text-muted: #6b7390;
  --text-dim: #98a0ba;
  --line: #e4e8f0;
  --line-soft: #eef1f7;
  --bg: #eef3fa;       /* Blanc bleute anodise — base premium du site */
  --bg-alt: #e8eef7;   /* Variante legerement plus profonde */
  --bg-soft: #f8fafd;
  --white: #ffffff;

  /* Fonctionnels */
  --success: #16a34a;
  --success-soft: #dcfce7;
  --warning: #f59e0b;
  --danger: var(--coral);
  --info: var(--sky-blue);

  /* Chromatic crown (visuels app) */
  --chroma-red: #ef4444;
  --chroma-orange: #f97316;
  --chroma-yellow: #eab308;
  --chroma-green: #22c55e;
  --chroma-blue: #3b82f6;
  --chroma-purple: #a855f7;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 31, 62, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 31, 62, 0.07);
  --shadow-md: 0 8px 24px rgba(10, 31, 62, 0.09);
  --shadow-lg: 0 16px 48px rgba(10, 31, 62, 0.14);
  --shadow-xl: 0 24px 64px rgba(10, 31, 62, 0.18);
  --shadow-coral: 0 8px 24px rgba(241, 77, 104, 0.25);
  --shadow-blue: 0 8px 24px rgba(21, 62, 167, 0.22);
  --shadow-elyonis: 0 12px 40px rgba(196, 72, 126, 0.18), 0 12px 40px rgba(21, 62, 167, 0.18);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Transitions */
  --t-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 960px;
  --max-w-wide: 1320px;
  --header-h: 72px;

  /* Typo signatures officielles */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17.5px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(21, 62, 167, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 62, 167, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Vignette douce qui attenue le grid vers les bords pour plus d'elegance */
/* Ombres bleues décoratives : 2 orbes très diffuses dans les coins, statiques.
   Pas d'animation → fini les bandes horizontales mouvantes.
   Énormes ellipses (1200px+) et opacité 3% → effet "lumière ambiante" indétectable comme orbe. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1400px 900px at 0% 0%, rgba(21, 62, 167, 0.035), transparent 60%),
    radial-gradient(ellipse 1400px 900px at 100% 100%, rgba(55, 143, 217, 0.032), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Sections alt = fond plein qui couvre le grid */
.section--alt {
  position: relative;
  z-index: 1;
}
/* section--alt n'a plus de fond grisé — les orbes du body suffisent pour donner vie */

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deep-blue);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--sky-blue);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
}

::selection {
  background: var(--deep-blue);
  color: white;
}

/* === Scrollbar personnalisée aux couleurs de la marque === */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--deep-blue) transparent;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(21, 62, 167, 0.35);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(21, 62, 167, 0.55);
  background-clip: padding-box;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.022em;
}

/* Safety net : aucun titre ne peut etre blanc sauf dans un composant explicitement sombre */
body > section h1,
body > section h2,
body > section h3,
body > section h4,
body > .cta-banner h1,
body > .cta-banner h2,
body > .cta-banner h3,
body > .hero h1,
body > .hero h2,
body > .hero h3 {
  color: var(--ink);
}

/* Les composants vraiment sombres redonnent du blanc proprement */
.app-mockup h1, .app-mockup h2, .app-mockup h3, .app-mockup h4,
.cat-mockup h1, .cat-mockup h2, .cat-mockup h3, .cat-mockup h4,
.footer h1, .footer h2, .footer h3, .footer h4,
.card[style*="var(--ink)"] h1,
.card[style*="var(--ink)"] h2,
.card[style*="var(--ink)"] h3,
.card[style*="var(--ink)"] h4 {
  color: white;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-soft); }

.text-grad {
  background: var(--gradient-text-warm);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-grad-cool {
  background: var(--gradient-text-cool);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-grad-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8b8ba 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-center { text-align: center; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.container--narrow { max-width: var(--max-w-narrow); }
.container--wide { max-width: var(--max-w-wide); }

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section--sm { padding: 3rem 0; }
.section--lg { padding: 6rem 0; }

/* === SECTION--ALT : ilot blanc premium qui rompt l'uniformite === */
.section--alt {
  background: #ffffff;
  position: relative;
  z-index: 1;
  /* Bordures arrondies pour effet "carte" sur toute la largeur */
  border-radius: 28px;
  margin: 0 auto;
  max-width: calc(100% - 2.5rem);
  box-shadow:
    0 1px 2px rgba(21, 62, 167, 0.03),
    0 12px 40px -16px rgba(21, 62, 167, 0.12),
    0 32px 64px -32px rgba(21, 62, 167, 0.08);
  border: 1px solid rgba(21, 62, 167, 0.05);
}

/* Subtil halo bleu interne pour donner de la profondeur a l'ilot */
.section--alt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 700px 350px at 50% 0%, rgba(21, 62, 167, 0.04), transparent 60%),
    radial-gradient(ellipse 600px 300px at 50% 100%, rgba(55, 143, 217, 0.035), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 720px) {
  .section--alt {
    border-radius: 20px;
    max-width: calc(100% - 1rem);
  }
}
.section--dark {
  background: var(--gradient-hero);
  color: white;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: white; }
.section--dark p { color: rgba(255,255,255,0.85); }

.section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section__header h2 {
  margin-bottom: 0;
}

.section__header p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--deep-blue-soft);
  color: var(--deep-blue);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(21, 62, 167, 0.15);
}

.eyebrow--dark {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.eyebrow--success {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(22, 163, 74, 0.2);
}

.eyebrow--coral {
  background: var(--coral-soft);
  color: var(--coral);
  border-color: rgba(241, 77, 104, 0.2);
}

.eyebrow--gradient {
  background: linear-gradient(135deg, rgba(241,77,104,0.1), rgba(21,62,167,0.1));
  color: var(--orchid);
  border-color: rgba(196, 72, 126, 0.2);
}

/* Mini drapeau français (3 bandes verticales) dans le eyebrow */
.eyebrow__flag {
  display: inline-flex;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}
.eyebrow__flag span {
  display: block;
  flex: 1;
}

/* === GRID === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: all var(--t);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
  filter: saturate(0.7);
  transform: none !important;
  box-shadow: none !important;
}

.btn--primary {
  background: var(--gradient-magenta-blue);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-elyonis);
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

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

.btn--coral {
  background: var(--coral);
  color: white;
  box-shadow: var(--shadow-coral);
}

.btn--coral:hover {
  background: var(--coral-80);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(241, 77, 104, 0.35);
}

.btn--ghost {
  background: white;
  color: var(--deep-blue);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--sky-blue);
  color: var(--deep-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: white;
  color: var(--deep-blue);
}

.btn--light:hover {
  background: var(--marine-50);
  color: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn--lg {
  padding: 1.05rem 2.1rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn .btn__arrow { transition: transform var(--t); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(238, 243, 250, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(21, 62, 167, 0.06);
  z-index: 1000;
  transition: all var(--t);
}

.header--scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform var(--t);
}

.header__logo:hover {
  transform: scale(1.02);
}

.header__logo-img {
  height: 48px;
  width: auto;
  transition: transform var(--t-slow);
}

.header__logo:hover .header__logo-img {
  transform: rotateY(15deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: var(--font-display);
  padding: 0.5rem 0.95rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--r-xs);
  transition: all var(--t-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--deep-blue);
  background: var(--deep-blue-soft);
}

.nav__link--active {
  color: var(--deep-blue);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gradient-magenta-blue);
  border-radius: 2px;
}

.nav__cta { margin-left: 1rem; }

.nav__toggle {
  display: none;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0.5rem;
  color: var(--deep-blue);
  border-radius: var(--r-xs);
}

.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 992px) {
  .nav__toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
    z-index: 999;
  }
  .nav--open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; padding: 1.25rem; gap: 0.25rem; align-items: stretch; }
  .nav__link, .nav__cta { width: 100%; margin-left: 0; }
  .nav__cta { margin-top: 0.5rem; }
  .nav__cta .btn { width: 100%; }
  .nav__link--active::after { display: none; }
}

/* === HERO === */
.hero {
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background: transparent;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero--sm {
  padding: calc(var(--header-h) + 2.25rem) 0 2.75rem;
}

/* === HERO BRAND (page produit) — décor 4 icones + spotlight === */
.hero--brand {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}

.hero-brand-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Spotlight central derrière le brand-mark — donne de la profondeur */
.hero-brand-decor__spotlight {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -30%);
  background:
    radial-gradient(circle at center,
      rgba(196, 72, 126, 0.10) 0%,
      rgba(21, 62, 167, 0.08) 35%,
      transparent 65%);
  filter: blur(8px);
}

/* Icones flottantes — chacune une catégorie, dans les 4 coins de la zone vide */
.hero-brand-decor__icon {
  position: absolute;
  width: 88px;
  height: 88px;
  opacity: 0.08;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: heroIconFloat 7s ease-in-out infinite;
}

.hero-brand-decor__icon--eye    { top: 14%;  left: 9%;   color: var(--coral);     transform: rotate(-8deg); animation-delay: 0s;    }
.hero-brand-decor__icon--ear    { top: 14%;  right: 10%; color: var(--deep-blue); transform: rotate(6deg);  animation-delay: -1.7s; }
.hero-brand-decor__icon--hand   { bottom: 18%; left: 11%; color: var(--orchid);   transform: rotate(10deg); animation-delay: -3.5s; }
.hero-brand-decor__icon--brain  { bottom: 18%; right: 9%; color: var(--sky-blue); transform: rotate(-7deg); animation-delay: -5.2s; }

@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0)   rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

/* Variables de rotation par variante pour preserver l'angle de chaque icone */
.hero-brand-decor__icon--eye   { --r: -8deg; }
.hero-brand-decor__icon--ear   { --r: 6deg;  }
.hero-brand-decor__icon--hand  { --r: 10deg; }
.hero-brand-decor__icon--brain { --r: -7deg; }

/* Mobile : icones plus petites + spotlight ajusté */
@media (max-width: 720px) {
  .hero-brand-decor__icon { width: 56px; height: 56px; opacity: 0.07; }
  .hero-brand-decor__icon--eye   { top: 8%;  left: 4%;  }
  .hero-brand-decor__icon--ear   { top: 8%;  right: 4%; }
  .hero-brand-decor__icon--hand  { bottom: 8%; left: 4%; }
  .hero-brand-decor__icon--brain { bottom: 8%; right: 4%; }
  .hero-brand-decor__spotlight { width: 480px; height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-decor__icon { animation: none; }
}

/* Hero : pas d'ombre interne — laisse les orbes globales du body donner la vie */
.hero::before { content: none; }

.hero h1, .hero h2, .hero h3 { color: var(--ink); }
.hero p { color: var(--text-muted); }

/* Variantes "light" (boutons/eyebrows/text-grad) → swap automatique pour fond clair dans le hero */
.hero .eyebrow--dark {
  background: var(--deep-blue-soft);
  color: var(--deep-blue);
  border-color: rgba(21, 62, 167, 0.18);
  backdrop-filter: none;
}
.hero .btn--light {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.hero .btn--light:hover {
  background: #000;
  color: white;
}
.hero .btn--outline-light {
  background: transparent;
  color: var(--deep-blue);
  border: 1.5px solid var(--deep-blue);
}
.hero .btn--outline-light:hover {
  background: var(--deep-blue);
  color: white;
}
.hero .text-grad-light {
  background: var(--gradient-magenta-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero strong[style*="color:white"] {
  color: var(--ink) !important;
}
.hero__signals span {
  color: var(--text-muted);
}
.hero__signals svg {
  color: var(--success);
}
.hero .eyebrow .eyebrow__flag {
  border-color: rgba(0,0,0,0.15);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero__content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.15s backwards;
}

.hero__btn-group {
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero__signals {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

.hero__signals span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__signals svg {
  width: 14px;
  height: 14px;
  color: rgb(134, 239, 172);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  animation: fadeInScale 1s ease-out 0.4s backwards;
}

.hero--sm {
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
}

.hero--sm .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero--sm .hero__content p {
  margin: 0 auto 1.5rem;
}

.hero--sm .hero__signals { justify-content: center; }

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero__content p { margin: 0 auto 2rem; }
  .hero__btn-group { justify-content: center; }
  .hero__signals { justify-content: center; }
}

/* === APP MOCKUP — Elyonis === */
.app-mockup {
  background: linear-gradient(180deg, #1a2042 0%, #0f1530 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(196, 72, 126, 0.18);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  transform-style: préservé-3d;
}

.app-mockup--float {
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-8px) rotateX(-1deg); }
}

.app-mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}

.app-mockup__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.app-mockup__brand img,
.app-mockup__brand-img {
  width: auto;
  height: 22px;
  max-width: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.app-mockup__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

.app-mockup__profile {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.app-mockup__profile::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-magenta-blue);
}

.app-mockup__body {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 320px;
}

.app-mockup__sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,0.06);
  /* Empêche le sidebar de s'écraser même si le mockup global est étroit */
  min-width: 0;
}

.app-mockup__tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  background: transparent;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  transition: all var(--t);
  cursor: pointer;
  font-family: var(--font-display);
  /* Empêche le débordement quand le zoom global agrandit la page */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.app-mockup__tab svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.app-mockup__tab:hover {
  background: rgba(255,255,255,0.04);
  color: white;
}

.app-mockup__tab--active {
  background: linear-gradient(135deg, rgba(241, 77, 104, 0.2), rgba(21, 62, 167, 0.2));
  color: white;
  border-color: rgba(241, 77, 104, 0.4);
  box-shadow: 0 0 14px rgba(196, 72, 126, 0.2);
}

.app-mockup__content {
  padding: 1rem 1.25rem;
}

.app-mockup__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

/* === Filtre personnalisé Elyonis : couronne hex + lum/contraste === */
.elyonis-filter__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.elyonis-filter__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1;
}

.elyonis-filter__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

/* Couronne 6 hex en flower */
.ely-crown {
  position: relative;
  width: 108px;
  height: 96px;
  margin: 0 auto;
}

.ely-crown__hex {
  position: absolute;
  width: 30px;
  height: 34px;
  background: var(--c);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.ely-crown__hex:hover {
  transform: scale(1.12);
  filter: brightness(1.15);
}

.ely-crown__hex--active {
  transform: scale(1.18);
  filter: brightness(1.2) drop-shadow(0 0 6px var(--c));
  outline: 2px solid white;
  outline-offset: 1px;
}

/* Positionnement flower 2-2-2 (vue de l'app Elyonis : jaune-vert / orange-violet / rouge-bleu nuancés) */
.ely-crown__hex--tl { top: 4px;  left: 22px; }
.ely-crown__hex--tm { top: 4px;  left: 56px; }
.ely-crown__hex--tr { top: 31px; left: 74px; }
.ely-crown__hex--bm { top: 31px; left: 4px;  }
.ely-crown__hex--bl { top: 58px; left: 22px; }
.ely-crown__hex--br { top: 58px; left: 56px; }

/* Aperçu hex selectionnée */
.elyonis-filter__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.5rem;
}

.elyonis-filter__preview-hex {
  width: 48px;
  height: 54px;
  background: var(--c);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,255,255,0.15);
  transition: background 0.25s ease;
}

.elyonis-filter__preview-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Lignes de controle lumin/contraste */
.elyonis-filter__control {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.elyonis-filter__control-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.elyonis-filter__counter {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: stretch;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.elyonis-filter__counter button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  transition: background 0.15s ease;
}

.elyonis-filter__counter button:hover {
  background: rgba(255,255,255,0.08);
}

.elyonis-filter__counter button:active {
  background: rgba(255,255,255,0.16);
}

.elyonis-filter__counter span {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  font-variant-numeric: tabular-nums;
  padding: 0.45rem 0;
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.elyonis-filter__reset {
  display: block;
  margin-left: auto;
  margin-top: 0.65rem;
  padding: 0.45rem 0.85rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.elyonis-filter__reset:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

/* === Filtre personnalisé legacy (attenuation par couleur — gardé pour compat) === */
.attenuation-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  margin: 0.4rem 0 1.1rem;
}

.attenuation-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--sw);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.attenuation-swatch:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.attenuation-swatch--active {
  border-color: white;
  box-shadow: 0 0 0 2px var(--coral), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.08);
}

.attenuation-swatch--active::after {
  content: '';
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid white;
}

.attenuation-slider-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.attenuation-slider-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.attenuation-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, var(--coral) 50%, var(--coral) 100%);
  outline: none;
  cursor: pointer;
}

.attenuation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--coral);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(241, 77, 104, 0.5);
}

.attenuation-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--coral);
  cursor: pointer;
}

.attenuation-slider-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
  text-align: right;
}

.attenuation-hint {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.app-mockup__counter {
  display: flex;
  align-items: stretch;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xs);
  overflow: hidden;
  max-width: 220px;
}

.app-mockup__counter button {
  background: transparent;
  border: none;
  color: white;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  font-weight: 600;
}

.app-mockup__counter span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

/* Toggle */
.toggle {
  display: inline-flex;
  width: 36px;
  height: 20px;
  background: var(--success);
  border-radius: 50px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: all var(--t);
}

.toggle--off { background: rgba(255,255,255,0.15); }
.toggle--off::after { left: 2px; right: auto; }

/* === COURONNE CHROMATIQUE === */
.chromatic {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.chromatic__hex {
  position: absolute;
  width: 64px;
  height: 64px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all var(--t);
  cursor: pointer;
}

.chromatic__hex:hover {
  transform: scale(1.15);
  z-index: 5;
  filter: brightness(1.15);
}

.chromatic__hex--c { top: 68px; left: 68px; background: white; z-index: 2; }
.chromatic__hex--tl { top: 14px; left: 35px; background: var(--chroma-red); }
.chromatic__hex--tr { top: 14px; left: 101px; background: var(--chroma-purple); }
.chromatic__hex--ml { top: 68px; left: 2px; background: var(--chroma-orange); }
.chromatic__hex--mr { top: 68px; left: 134px; background: var(--chroma-blue); }
.chromatic__hex--bl { top: 122px; left: 35px; background: var(--chroma-yellow); }
.chromatic__hex--br { top: 122px; left: 101px; background: var(--chroma-green); }

/* === FOCUS GRID === */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.focus-option {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(255,255,255,0.7);
  transition: all var(--t);
  cursor: pointer;
}

.focus-option:hover {
  border-color: rgba(241, 77, 104, 0.3);
  color: white;
}

.focus-option--active {
  background: rgba(21, 62, 167, 0.25);
  border-color: var(--sky-blue);
  color: white;
  box-shadow: 0 0 12px rgba(55, 143, 217, 0.3);
}

.focus-option__num {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.focus-option svg { width: 22px; height: 22px; }

/* === CARDS === */
.card {
  background: white;
  border: 1px solid rgba(21, 62, 167, 0.08);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(21, 62, 167, 0.04),
    0 8px 24px -12px rgba(21, 62, 167, 0.10);
}

.card:hover {
  border-color: rgba(21, 62, 167, 0.18);
  box-shadow:
    0 2px 4px rgba(21, 62, 167, 0.06),
    0 16px 40px -16px rgba(21, 62, 167, 0.20);
  transform: translateY(-2px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-magenta-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--marine-200);
  box-shadow: var(--shadow-md);
}

.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--marine-50);
  border: 1px solid var(--marine-100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--deep-blue);
  transition: all var(--t);
}

.card:hover .card__icon {
  background: var(--marine-100);
  transform: scale(1.05);
}

.card__icon svg { width: 22px; height: 22px; }

/* Variant : icon gradient (Elyonis brand) */
.card__icon--gradient {
  background: var(--gradient-magenta-blue);
  border-color: transparent;
  color: white;
}

.card__icon--coral {
  background: var(--coral-soft);
  border-color: rgba(241,77,104,0.15);
  color: var(--coral);
}

.card__icon--orchid {
  background: var(--orchid-soft);
  border-color: rgba(196,72,126,0.15);
  color: var(--orchid);
}

.card__icon--sky {
  background: var(--sky-blue-soft);
  border-color: rgba(55,143,217,0.15);
  color: var(--sky-blue);
}

.card h3 { margin-bottom: 0.5rem; color: var(--ink); }
.card p { font-size: 0.95rem; color: var(--text-soft); }

/* === FEATURE ROW === */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem 0;
}

.feature-row:nth-child(even) .feature-row__visual {
  order: -1;
}

.feature-row__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__content h3,
.feature-row__content h2 {
  margin-bottom: 1rem;
}

.feature-row__content > p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-list li strong { color: var(--ink); }

@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row:nth-child(even) .feature-row__visual { order: 0; }
}

/* === STATS === */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background var(--t);
}

.stat:last-child { border-right: none; }
.stat:hover { background: var(--deep-blue-soft); }

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-text-warm);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.section--dark .stat {
  background: rgba(255,255,255,0.04);
  border-right-color: rgba(255,255,255,0.08);
}

.section--dark .stat:hover {
  background: rgba(255,255,255,0.08);
}

.section--dark .stat__number {
  background: linear-gradient(135deg, #ffffff 0%, #f8b8ba 50%, #afd2ee 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section--dark .stat__label { color: rgba(255,255,255,0.7); }

.section--dark .stats-band {
  background: transparent;
  border-color: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* === PRICING === */
.pricing-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--marine-200);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--orchid);
  background: linear-gradient(180deg, var(--orchid-soft) 0%, white 30%);
  box-shadow: 0 0 0 1px var(--orchid), var(--shadow-md);
  transform: scale(1.02);
}

.pricing-card--popular:hover { transform: scale(1.02) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-magenta-blue);
  color: white;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 { margin-bottom: 0.35rem; }
.pricing-card__sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.pricing-card__price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__price-unit {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-card__period {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.pricing-card__features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

.pricing-card__features li svg.check { color: var(--success); }
.pricing-card__features li svg.cross { color: var(--text-dim); }
.pricing-card__features li strong { color: var(--ink); }

.pricing-card .btn { width: 100%; }

/* === COMPARISON TABLE === */
.compare-table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
}

.compare-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.88rem;
  background: var(--bg-alt);
  white-space: nowrap;
}

.compare-table th.highlight {
  background: var(--gradient-magenta-blue);
  color: white;
}

.compare-table td.highlight-col {
  background: linear-gradient(90deg, var(--coral-soft), var(--deep-blue-soft));
  color: var(--ink);
  font-weight: 600;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover {
  background: var(--bg-soft);
}

.compare-table tbody tr:hover td.highlight-col {
  background: linear-gradient(90deg, rgba(241,77,104,0.15), rgba(21,62,167,0.15));
}

.compare-table .check-icon { color: var(--success); font-weight: 600; font-size: 1.05rem; }
.compare-table .cross-icon { color: var(--text-dim); font-size: 1.05rem; }

/* === AID BOX === */
.aid-box {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--deep-blue);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--t);
}

.aid-box:hover {
  border-left-color: var(--orchid);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

.aid-box__icon {
  width: 40px;
  height: 40px;
  background: var(--deep-blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--deep-blue);
}

.aid-box__icon svg { width: 20px; height: 20px; }

.aid-box h4 { margin-bottom: 0.4rem; color: var(--ink); }
.aid-box p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }

@media (max-width: 600px) {
  .aid-box { flex-direction: column; }
}

/* === SEGMENT CARDS === */
.segment-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--t);
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: var(--orchid);
  box-shadow: var(--shadow-md);
}

.segment-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--gradient-magenta-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-blue);
}

.segment-card__icon svg { width: 28px; height: 28px; }

.segment-card h3 { margin-bottom: 0.5rem; }

/* === CTA BANNER : bloc premium isole avec gradient subtle === */
.cta-banner {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fc 100%);
  overflow: hidden;
  text-align: center;
  color: var(--ink);
  border-radius: 28px;
  margin: 3rem auto;
  max-width: calc(100% - 2.5rem);
  box-shadow:
    0 1px 2px rgba(21, 62, 167, 0.04),
    0 16px 48px -20px rgba(21, 62, 167, 0.18),
    0 40px 80px -40px rgba(21, 62, 167, 0.12);
  border: 1px solid rgba(21, 62, 167, 0.06);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 600px 350px at 20% 30%, rgba(21, 62, 167, 0.10), transparent 60%),
    radial-gradient(ellipse 500px 350px at 80% 70%, rgba(55, 143, 217, 0.09), transparent 60%),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(196, 72, 126, 0.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 720px) {
  .cta-banner {
    border-radius: 20px;
    max-width: calc(100% - 1rem);
    margin: 1.5rem auto;
    padding: 2.5rem 1.25rem;
  }
}

.cta-banner h1, .cta-banner h2, .cta-banner h3 { color: var(--ink); }
.cta-banner p { color: var(--text-muted); }
.cta-banner .text-grad-light {
  background: var(--gradient-magenta-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-banner .btn--light {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.cta-banner .btn--light:hover { background: #000; color: white; }
.cta-banner .btn--outline-light {
  background: transparent;
  color: var(--deep-blue);
  border: 1.5px solid var(--deep-blue);
}
.cta-banner .btn--outline-light:hover { background: var(--deep-blue); color: white; }

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 { color: var(--ink); margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2rem; }

/* === FORMS === */
.form {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form--wide { max-width: 880px; }

.form__group { margin-bottom: 1.25rem; }

.form__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.93rem;
}

.form__label .required { color: var(--coral); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  transition: all var(--t);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--sky-blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--sky-blue-soft);
}

.form__textarea { min-height: 130px; resize: vertical; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
}

.form__hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.form__radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.form__radio { position: relative; cursor: pointer; }
.form__radio input { position: absolute; opacity: 0; }

.form__radio span {
  display: block;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  transition: all var(--t);
}

.form__radio input:checked + span {
  border-color: var(--orchid);
  background: var(--orchid-soft);
  color: var(--orchid);
  font-weight: 600;
}

.form__radio:hover span { border-color: var(--sky-blue); }

/* === ACCORDION === */
.accordion {
  max-width: 820px;
  margin: 0 auto;
}

.accordion__cat { margin-bottom: 2.5rem; }

.accordion__cat-title {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orchid-soft);
  font-size: 1.2rem;
  color: var(--ink);
}

.accordion__item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color var(--t);
}

.accordion__item:hover { border-color: var(--marine-200); }

.accordion__item--open {
  border-color: var(--orchid);
  box-shadow: var(--shadow-sm);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color var(--t);
}

.accordion__trigger:hover { color: var(--deep-blue); }

.accordion__trigger svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t);
  flex-shrink: 0;
  color: var(--text-muted);
}

.accordion__item--open .accordion__trigger svg {
  transform: rotate(180deg);
  color: var(--orchid);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion__body a { color: var(--deep-blue); }

/* === CALCULATOR === */
.calculator {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.calculator__field { margin-bottom: 1.5rem; }

.calculator__result {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--coral-soft), var(--deep-blue-soft));
  border: 1px solid rgba(196, 72, 126, 0.2);
  border-radius: var(--r);
  text-align: center;
  display: none;
}

.calculator__result.is-visible {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

.calculator__result-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-text-warm);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.calculator__result-detail {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* === LOGO BAR === */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-bar span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer__brand-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-display);
  color: white;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links li { margin-bottom: 0.5rem; }

.footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color var(--t);
}

.footer__links a:hover { color: white; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--deep-blue); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { color: var(--text-dim); }

/* === TAGS === */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag--marine { background: var(--deep-blue-soft); color: var(--deep-blue); }
.tag--coral { background: var(--coral-soft); color: var(--coral); }
.tag--orchid { background: var(--orchid-soft); color: var(--orchid); }
.tag--sky { background: var(--sky-blue-soft); color: var(--sky-blue); }
.tag--success { background: var(--success-soft); color: var(--success); }
.tag--warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); }

/* === TRUST BADGES === */
.trust-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--t);
}

.trust-badge:hover {
  border-color: var(--orchid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--deep-blue);
}

/* === SR-ONLY === */
.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;
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--deep-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-nav:focus { top: 0; }

/* === LEGAL === */
.légal { max-width: 800px; margin: 0 auto; }

.légal h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.légal h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.08rem;
}

.légal p, .légal li {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.97rem;
}

.légal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.légal strong { color: var(--ink); }

/* === MODE IMMERSIF — Variables globales partagees === */
:root {
  --chrom-brightness: 1;
  --chrom-contrast: 1;
  --chrom-zoom: 1;
  --chrom-attenuation-saturate: 1;
  --chrom-attenuation-brightness: 1;
}

/* Filtres luminosité/contraste sur tout le site (sauf header & toast) */
body.chrom-filters > section,
body.chrom-filters > .hero,
body.chrom-filters > .cta-banner,
body.chrom-filters > .footer {
  filter: brightness(var(--chrom-brightness)) contrast(var(--chrom-contrast));
  transition: filter 0.35s ease;
}

/* Atténuation de couleur (legacy, garde pour compat eventuel) */
body.chrom-attenuation > section,
body.chrom-attenuation > .hero,
body.chrom-attenuation > .cta-banner,
body.chrom-attenuation > .footer {
  filter:
    brightness(calc(var(--chrom-brightness) * var(--chrom-attenuation-brightness)))
    contrast(var(--chrom-contrast))
    saturate(var(--chrom-attenuation-saturate));
  transition: filter 0.35s ease;
}

/* === Filtre personnalisé Elyonis (SVG feComponentTransfer) ===
   S'applique sur tout le site : textes, fonds, images, icônes — tout est rendu pixel,
   donc le filtre touche tous les éléments de la couleur sélectionnée. */
body.ely-filter-on > section,
body.ely-filter-on > .cta-banner,
body.ely-filter-on > .footer,
body.ely-filter-on > .hero {
  filter: url(#elyonis-color-filter);
  transition: filter 0.3s ease;
}

/* Loupe globale via font-size scaling (préserve le layout) */
html.chrom-zoom {
  font-size: calc(17.5px * var(--chrom-zoom));
}

html.chrom-zoom body {
  transition: font-size 0.35s ease;
}

/* === HERO TRY BUBBLE — "Essayez-moi !" === */
.hero__visual {
  position: relative;
}

.hero-try-bubble {
  position: absolute;
  top: -110px;
  right: -8px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem 0.7rem 1rem;
  background: linear-gradient(135deg, #fff 0%, #fff5f6 100%);
  border: 1px solid rgba(241,77,104,0.3);
  border-radius: 50px;
  box-shadow: 0 12px 36px rgba(241,77,104,0.35), 0 0 0 1px rgba(255,255,255,0.5) inset;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--coral);
  z-index: 20;
  white-space: nowrap;
  animation: tryBubbleWiggle 3s ease-in-out infinite, tryBubbleEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
  cursor: default;
  transform-origin: top right;
}

/* Bouton X pour fermer */
.hero-try-bubble__close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(241,77,104,0.4);
  transition: all 0.2s ease;
  font-family: inherit;
  z-index: 2;
}

.hero-try-bubble__close:hover {
  transform: scale(1.15) rotate(90deg);
  background: #d63a55;
}

.hero-try-bubble__close svg {
  display: block;
}

.hero-try-bubble__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(241,77,104,0.2);
  animation: tryBubblePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-try-bubble__text {
  letter-spacing: -0.01em;
}

.hero-try-bubble__arrow {
  position: absolute;
  top: calc(100% - 14px);
  left: -58px;
  color: var(--coral);
  animation: tryBubbleArrowFloat 2.4s ease-in-out infinite;
  pointer-events: none;
}

/* Cachee une fois que l'utilisateur a interagit */
.hero-try-bubble.is-dismissed {
  animation: tryBubbleExit 0.4s ease-out forwards;
}

@keyframes tryBubbleEnter {
  0% { opacity: 0; transform: scale(0.6) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(2deg); }
}

@keyframes tryBubbleWiggle {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-4px); }
}

@keyframes tryBubblePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(241,77,104,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(241,77,104,0.05); }
}

@keyframes tryBubbleArrowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 4px); }
}

@keyframes tryBubbleExit {
  0% { opacity: 1; transform: scale(1) rotate(2deg); }
  100% { opacity: 0; transform: scale(0.5) translateY(-20px) rotate(15deg); }
}

@media (max-width: 960px) {
  .hero-try-bubble {
    top: -60px;
    right: 50%;
    transform: translateX(50%) rotate(1deg);
    animation: tryBubbleWiggleMobile 3s ease-in-out infinite, tryBubbleEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
  }

  .hero-try-bubble__arrow { display: none; }

  @keyframes tryBubbleWiggleMobile {
    0%, 100% { transform: translateX(50%) rotate(1deg) translateY(0); }
    50% { transform: translateX(50%) rotate(-1deg) translateY(-3px); }
  }
}

/* === HERO MOCKUP — Pointeur (style Elyonis : + × ○ ⊕ avec glow) === */
.hero-cursor-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.hero-cursor-shapes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.hero-cursor-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.hero-cursor-btn {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  padding: 0;
}

.hero-cursor-btn:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  transform: translateY(-1px);
}

.hero-cursor-btn--active {
  background: rgba(34,197,94,0.18);
  border-color: rgba(34,197,94,0.7);
  color: white;
  box-shadow: 0 0 12px rgba(34,197,94,0.35), inset 0 0 8px rgba(34,197,94,0.1);
}

.hero-cursor-color {
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  padding: 0;
}

.hero-cursor-color:hover {
  transform: scale(1.1);
  border-color: rgba(255,255,255,0.4);
}

.hero-cursor-color--active {
  border-color: white;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3), 0 0 14px currentColor;
}

/* === Preview du curseur (reproduit le style "Pointer Container" Elyonis) === */
.hero-cursor-preview-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.hero-cursor-preview {
  position: relative;
  width: 100%;
  height: 88px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 70%, transparent 100%),
    rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-cursor-preview-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--cursor-glow, transparent) 0%, transparent 50%);
  opacity: 0.7;
  transition: background 0.25s ease;
  pointer-events: none;
}

.hero-cursor-preview svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px var(--cursor-shadow, rgba(0,0,0,0.4))) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  color: var(--cursor-color, white);
  transition: color 0.2s ease, filter 0.25s ease;
}

/* === HERO MOCKUP — Voix === */
.hero-voice-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  color: white;
  font-size: 0.82rem;
  cursor: pointer;
  margin-bottom: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.hero-voice-toggle:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}

.hero-voice-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-voice-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-voice-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}

.hero-voice-pick {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s ease;
}

.hero-voice-pick:hover {
  background: rgba(255,255,255,0.05);
  color: white;
  border-color: rgba(255,255,255,0.18);
}

.hero-voice-pick--active {
  background: linear-gradient(90deg, rgba(241,77,104,0.18), rgba(21,62,167,0.18));
  border-color: rgba(241,77,104,0.4);
  color: white;
  box-shadow: 0 0 0 1px rgba(241,77,104,0.2);
}

.hero-voice-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.hero-voice-avatar--male {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.hero-voice-avatar--female {
  background: linear-gradient(135deg, #f14d68 0%, #c4487e 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(241, 77, 104, 0.3);
}

.hero-voice-pick--active .hero-voice-avatar {
  transform: scale(1.05);
}

.hero-voice-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.hero-voice-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  line-height: 1.2;
}

.hero-voice-pick:not(.hero-voice-pick--active) .hero-voice-name {
  color: rgba(255,255,255,0.85);
}

.hero-voice-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.2;
}

/* === Bouton TESTER : cercle play distinctif === */
.hero-voice-test-btn {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 77, 104, 0.15);
  border: 1px solid rgba(241, 77, 104, 0.4);
  border-radius: 7px;
  color: var(--coral);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-family: inherit;
  padding: 0;
}

.hero-voice-test-btn:hover {
  background: var(--coral);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(241, 77, 104, 0.35);
  border-color: var(--coral);
}

.hero-voice-test-btn:active {
  transform: scale(0.95);
}

.hero-voice-test-btn.is-playing {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
  animation: voiceTestPulse 1.2s ease-in-out infinite;
}

@keyframes voiceTestPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 77, 104, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(241, 77, 104, 0); }
}

.hero-voice-test-btn.is-playing svg {
  animation: voiceTestSpin 0.6s ease-in-out infinite alternate;
}

@keyframes voiceTestSpin {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.hero-voice-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

body.voice-reading-mode .hero-voice-hint {
  color: rgb(134, 239, 172);
}

/* === Mode lecture vocale active : highlight au hover === */
body.voice-reading-mode :is(p, h1, h2, h3, h4, h5, h6, li, td, label, blockquote) {
  cursor: pointer;
  transition: background 0.15s ease;
}

body.voice-reading-mode :is(p, h1, h2, h3, h4, h5, h6, li, td, label, blockquote):hover {
  background: rgba(241,77,104,0.08);
  outline: 2px dashed rgba(241,77,104,0.3);
  outline-offset: 2px;
}

body.voice-reading-active :is(p, h1, h2, h3, h4, h5, h6, li, td, label, blockquote).is-reading {
  background: rgba(241,77,104,0.15);
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* === Custom cursors === */
body[data-hero-cursor="cross"] { cursor: crosshair; }
body[data-hero-cursor="ring"] { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" stroke="white" stroke-width="3" fill="none" stroke-linecap="round"/><circle cx="16" cy="16" r="12" stroke="black" stroke-width="1" fill="none"/></svg>') 16 16, auto; }
body[data-hero-cursor="target"] { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="14" stroke="white" stroke-width="3" fill="none"/><line x1="20" y1="4" x2="20" y2="36" stroke="white" stroke-width="3"/><line x1="4" y1="20" x2="36" y2="20" stroke="white" stroke-width="3"/><circle cx="20" cy="20" r="14" stroke="black" stroke-width="1" fill="none"/></svg>') 20 20, auto; }

/* === MODE IMMERSIF (texte + icones SVG, fonds preserves) === */
body.chrom-immersive,
body.chrom-immersive *:not(.chromatic):not(.chromatic *) {
  color: var(--chrom-color) !important;
  transition: color 0.35s ease, fill 0.35s ease, stroke 0.35s ease;
}

/* Force tous les SVG decoratifs a là couleur (sauf ceux dans là couronne) */
body.chrom-immersive svg:not(.chromatic svg):not(.chromatic *) {
  color: var(--chrom-color) !important;
}

body.chrom-immersive svg:not(.chromatic svg):not(.chromatic *) :is(path, circle, rect, line, polyline, polygon, ellipse, g) {
  stroke: currentColor !important;
}

/* Fill currentColor mais on préservé fill="none" pour les icones outline */
body.chrom-immersive svg:not(.chromatic svg):not(.chromatic *) :is(path, circle, rect, polygon, ellipse, g):not([fill="none"]) {
  fill: currentColor !important;
}

/* Gradients de texte → couleur immersive plate */
body.chrom-immersive .text-grad,
body.chrom-immersive .text-grad-cool,
body.chrom-immersive .text-grad-light {
  background: none !important;
  -webkit-text-fill-color: var(--chrom-color) !important;
  color: var(--chrom-color) !important;
}

/* Préserver les logos PNG/JPG (images bitmap) */
body.chrom-immersive img {
  /* Pas affecte par color, OK */
}

/* Préserver les hexagones de là couronne */
body.chrom-immersive .chromatic__hex {
  color: initial !important;
}

/* Marquer visuellement les zones de texte modifié */
body.chrom-immersive::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--chrom-color);
  z-index: 10001;
  box-shadow: 0 0 12px var(--chrom-color);
  animation: chromBarIn 0.4s ease;
}

@keyframes chromBarIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.chromatic-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: white;
  padding: 0.7rem 0.9rem 0.7rem 1.1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
  z-index: 10000;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-display);
  font-size: 0.88rem;
  max-width: calc(100vw - 32px);
}

.chromatic-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.chromatic-toast__color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2), 0 0 12px currentColor;
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.chromatic-toast__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chromatic-toast__label strong {
  color: white;
  font-weight: 700;
}

.chromatic-toast__close {
  background: white;
  color: var(--ink);
  border: none;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.chromatic-toast__close:hover {
  background: var(--coral);
  color: white;
  transform: scale(1.05);
}

/* Header reste lisible même avec overlay */
.header {
  z-index: 9991;
}

/* === BRAND BADGE (Elyonis pulse) === */
.brand-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-pulse__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-magenta-blue);
  box-shadow: 0 0 0 4px rgba(196, 72, 126, 0.2);
  animation: pulse 2s infinite;
}

/* === CAT EXPLORER (tabs interactifs catégories + mockup live) === */
.cat-explorer {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cat-explorer__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cat-tab {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: left;
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font-body);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.cat-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-magenta-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-slow);
}

.cat-tab:hover {
  border-color: var(--marine-200);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

.cat-tab--active {
  border-color: var(--orchid);
  background: linear-gradient(135deg, rgba(241,77,104,0.04) 0%, white 30%, rgba(21,62,167,0.04) 100%);
  box-shadow: var(--shadow-md);
}

.cat-tab--active::before {
  transform: scaleY(1);
}

.cat-tab__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t);
}

.cat-tab--active .cat-tab__icon,
.cat-tab:hover .cat-tab__icon {
  transform: scale(1.08) rotate(-4deg);
}

.cat-tab__icon svg {
  width: 22px;
  height: 22px;
}

.cat-tab__body {
  flex: 1;
  min-width: 0;
}

.cat-tab__body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-tab__body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
}

.cat-tab__body ul {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.4rem;
}

.cat-tab__body ul li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.cat-tab__body ul li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--orchid);
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-tab__body ul li strong {
  color: var(--ink);
}

.cat-tab--active .cat-tab__body ul {
  display: flex;
  animation: fadeInUp 0.35s ease-out;
}

.cat-tab__chevron {
  align-self: center;
  color: var(--text-dim);
  transition: all var(--t);
  flex-shrink: 0;
}

.cat-tab--active .cat-tab__chevron {
  color: var(--orchid);
  transform: translateX(3px);
}

/* Panel droit avec mockup */
.cat-explorer__panel {
  position: relative;
}

.cat-explorer__sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.cat-panel {
  display: none;
}

.cat-panel--active {
  display: block;
  animation: catPanelIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes catPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cat-panel__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cat-mockup {
  background: linear-gradient(180deg, #1a2042 0%, #0f1530 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(196, 72, 126, 0.15);
  min-height: 380px;
}

/* Illustration hero d'un panel categorie (visuel app Elyonis officiel) */
.cat-mockup__hero-illustration {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: -0.5rem auto 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  object-fit: contain;
}

.cat-mockup__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-mockup__title::before {
  content: '';
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: var(--gradient-magenta-blue);
}

/* === Démo interactive Couronne Chromatique === */
.chrom-reset {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}

.chrom-reset:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  transform: rotate(-90deg);
}

.cat-mockup__title {
  justify-content: flex-start;
}

.chromatic--interactive {
  margin: 1rem auto 0.5rem;
}

.chromatic--interactive .chromatic__hex--c {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
}

.chromatic--interactive .chromatic__hex--c.is-color {
  box-shadow: 0 0 24px currentColor;
}

.chromatic--interactive .chromatic__hex--c.is-color::after {
  content: '✕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.chromatic--interactive .chromatic__hex--c.is-color:hover::after {
  opacity: 1;
}

.chromatic--interactive .chromatic__hex--c.is-color:hover {
  transform: scale(1.05);
}

.chromatic--interactive .chromatic__hex[data-color] {
  cursor: pointer;
}

.chromatic--interactive .chromatic__hex[data-color].is-active {
  transform: scale(1.18);
  filter: brightness(1.2);
  z-index: 6;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4), 0 8px 24px rgba(0,0,0,0.4);
}

.chrom-active-label {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.chrom-active-label span {
  color: white;
  font-weight: 600;
}

/* Preview zone */
.chrom-preview-wrap {
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.85rem;
  position: relative;
  overflow: hidden;
}

.chrom-preview-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.chrom-preview {
  background: white;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 130px;
  user-select: none;
}

.chrom-preview__inner {
  padding: 1rem 1.1rem;
  color: #1a2138;
  transition: filter 0.25s ease, transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 0 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  cursor: default;
}

.chrom-preview__inner.is-zoomed {
  cursor: grab;
}

.chrom-preview__inner.is-grabbing {
  cursor: grabbing;
  transition: filter 0.25s ease;
}

.chrom-preview__tag {
  display: inline-block;
  font-size: 0.65rem;
  background: var(--orchid-soft);
  color: var(--orchid);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.chrom-preview__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  transition: color 0.25s ease;
}

.chrom-preview__text {
  font-size: 0.82rem;
  color: #424a63;
  line-height: 1.45;
  margin-bottom: 0.6rem;
  transition: color 0.25s ease;
}

.chrom-preview__btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--deep-blue);
  transition: color 0.25s ease;
  font-family: var(--font-display);
}

/* Sliders */
.chrom-sliders {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.chrom-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  gap: 1rem;
}

.chrom-slider__label {
  font-family: var(--font-display);
  font-weight: 500;
}

.chrom-counter {
  display: flex;
  align-items: stretch;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  width: 130px;
  user-select: none;
}

.chrom-counter button {
  background: transparent;
  border: none;
  color: white;
  padding: 0.4rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast);
  font-family: inherit;
}

.chrom-counter button:hover {
  background: rgba(255,255,255,0.08);
}

.chrom-counter button:active {
  background: rgba(241,77,104,0.2);
}

.chrom-counter__value {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: white;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
}

.chrom-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem;
  background: rgba(196,72,126,0.1);
  border: 1px solid rgba(196,72,126,0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.chrom-hint svg {
  color: var(--orchid);
}

/* Responsive */
@media (max-width: 960px) {
  .cat-explorer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cat-explorer__sticky {
    position: static;
  }

  .cat-tab__body ul {
    display: none !important;
  }

  .cat-tab--active .cat-tab__body ul {
    display: flex !important;
  }
}

/* === FEATURE BLOCK (catégorie handicap compact) === */
.feature-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.feature-block:hover {
  transform: translateY(-3px);
  border-color: var(--marine-200);
  box-shadow: var(--shadow-md);
}

.feature-block__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.feature-block__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t);
}

.feature-block:hover .feature-block__icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-block__icon svg {
  width: 22px;
  height: 22px;
}

.feature-block h3 {
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-block__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.feature-block__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

.feature-block__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.feature-block__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--orchid);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-block__list li strong {
  color: var(--ink);
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--coral) 0%, var(--orchid) 50%, var(--deep-blue) 100%);
  border-radius: 1px;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  position: relative;
}

.timeline__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--line);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  transition: all var(--t);
}

.timeline__item--done .timeline__dot {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}

.timeline__item--done .timeline__dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.timeline__item--active .timeline__dot {
  background: var(--gradient-magenta-blue);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(196, 72, 126, 0.18);
  animation: pulse 2s infinite;
}

.timeline__content {
  flex: 1;
  padding-bottom: 0.5rem;
}

.timeline__date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--orchid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.timeline__content h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.timeline__item--done .timeline__content h4 {
  color: var(--text-muted);
}

/* === PATH CARDS (Pro / Particulier) === */
.path-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.path-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-magenta-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.path-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.path-card:hover::after { transform: scaleX(1); }

.path-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  transition: transform var(--t);
}

.path-card--pro .path-card__icon {
  background: var(--gradient-text-cool);
  box-shadow: 0 8px 24px rgba(21, 62, 167, 0.25);
}

.path-card--user .path-card__icon {
  background: var(--gradient-warm);
  box-shadow: 0 8px 24px rgba(241, 77, 104, 0.25);
}

.path-card:hover .path-card__icon { transform: scale(1.08) rotate(-4deg); }

.path-card__icon svg { width: 28px; height: 28px; }

.path-card h3 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.path-card p {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--deep-blue);
  font-size: 0.95rem;
}

.path-card:hover .path-card__cta { color: var(--orchid); }

.path-card__cta svg {
  transition: transform var(--t);
}

.path-card:hover .path-card__cta svg {
  transform: translateX(4px);
}

/* === BRAND MARK (Elyonis logo présentation propre) === */
.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem auto 0;
  animation: fadeInScale 0.9s ease-out 0.2s backwards;
}

.brand-mark__container {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(21,62,167,0.05), transparent 60%),
    white;
  border: 1px solid rgba(21, 62, 167, 0.12);
  border-radius: 28px;
  box-shadow:
    0 20px 50px -10px rgba(21, 62, 167, 0.25),
    0 4px 14px rgba(21, 62, 167, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  transition: transform var(--t-slow);
}

.brand-mark__container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(241,77,104,0.4), rgba(196,72,126,0.3), rgba(55,143,217,0.4));
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand-mark:hover .brand-mark__container {
  transform: translateY(-4px);
}

.brand-mark__logo {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(21, 62, 167, 0.25));
  transition: transform var(--t-slow);
}

.brand-mark:hover .brand-mark__logo {
  transform: scale(1.05);
}

.brand-mark__wordmark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  background: var(--gradient-magenta-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 1.25rem;
}

.brand-mark__tagline {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .brand-mark__container { width: 108px; height: 108px; }
  .brand-mark__logo { height: 80px; width: auto; }
  .brand-mark__wordmark { font-size: 1.5rem; }
  .brand-mark__tagline { font-size: 0.85rem; padding: 0 1rem; }
}

/* === Elyonis icon container (logo Elyonis avec fond gradient) === */
.elyonis-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: white;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.elyonis-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elyonis-icon--sm { width: 28px; height: 28px; }
.elyonis-icon--md { width: 48px; height: 48px; }
.elyonis-icon--lg { width: 80px; height: 80px; }
.elyonis-icon--xl { width: 120px; height: 120px; }

/* === IMPRESSION — pratique pour les mentions légales / CGV === */
@media print {
  /* Elements purement decoratifs ou non pertinents sur papier */
  .header, .footer, .nav__toggle, .cta-banner,
  .hero-try-bubble, .hero-brand-decor, .chromatic-toast,
  .skip-nav, body::before, body::after,
  .btn, .btn-group, .breadcrumb svg {
    display: none !important;
  }

  body {
    background: white !important;
    color: #000 !important;
  }

  body::before, body::after { content: none !important; }

  a { color: #000 !important; text-decoration: underline; }

  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: 400;
  }

  .section, .hero {
    padding: 0.5rem 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .section--alt {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
  }

  h1, h2, h3, h4 { color: #000 !important; }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
