/*
Theme Name:  Elioz Framework
Theme URI:   https://elioz.fr
Author:      Elioz
Author URI:  https://elioz.fr
Description: Thème framework interne Elioz — moderne, performant, accessible WCAG AAA, compatible Gutenberg.
Version:     1.3.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License:     Proprietary
License URI: https://elioz.fr
Text Domain: elioz
Tags:        accessibility-ready, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, translation-ready
*/

/* ============================================================
   ELIOZ FRAMEWORK — CSS GLOBAL
   Architecture : Reset → Tokens → Base → Layout → Components
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Couleurs brand */
  --color-navy:       #17166B;
  --color-blue:       #1000f0;
  --color-violet:     #5000b3;
  --color-pink:       #f9daea;
  --color-green:      #00661f;
  --color-black:      #101820;
  --color-white:      #fbfdfe;

  /* Couleurs dérivées */
  --color-navy-dark:  #120e4a;
  --color-blue-light: #3d2ff3;
  --color-bg:         #fbfdfe;
  --color-surface:    #f4f4f8;
  --color-border:     #e0e0ec;
  --color-text:       #101820;
  --color-text-muted: #5a5a72;

  /* Typographie */
  --font-primary:     'Lexend', system-ui, sans-serif;
  --font-logo:        'Aristotelica Pro Display', 'Lexend', sans-serif;
  --font-mono:        'JetBrains Mono', 'Courier New', monospace;

  --text-xs:   .75rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --leading-tight:  1.25;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Espacements */
  --space-1:  .25rem;
  --space-2:  .5rem;
  --space-3:  .75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;

  /* Bordures */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(16,24,32,.08), 0 1px 2px rgba(16,24,32,.06);
  --shadow-md:  0 4px 16px rgba(16,24,32,.1);
  --shadow-lg:  0 12px 40px rgba(16,24,32,.12);
  --shadow-xl:  0 24px 64px rgba(16,24,32,.16);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* Z-index */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
  --z-nav:     400;
}

/* ── 2. RESET MODERNE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-navy);
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
li { margin-bottom: var(--space-2); }

a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
a:hover { color: inherit; }
a:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-primary);
  font-size: var(--text-base);
}

/* ── 3. TYPOGRAPHIE ───────────────────────────────────────── */
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--2xl { max-width: var(--container-2xl); }

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.site-main { flex: 1; margin-top: 0px; }

.card__read-time{
  font-weight: 700;
}

/* ── 5. SKIP LINK ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--color-navy);
  color: var(--color-white) !important;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ── 6. HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: #fbfdfe;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
  margin-bottom: -5px;
}
.site-header__logo:hover,
.site-header__logo:focus {
  background: transparent !important;
  box-shadow: none;
}
/* ── SOUS-MENU "Nos solutions" ────────────────────────────── */
.primary-nav .menu-item-has-children {
  position: relative;
}

/* Flèche dropdown */
.primary-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2317166B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

/* Conteneur sous-menu */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: var(--z-overlay);
}

/* Affichage au survol */
.primary-nav .menu-item-has-children:hover .sub-menu,
.primary-nav .menu-item-has-children:focus-within .sub-menu {
  opacity: 0;
  visibility: visible;
  transform: translateY(0);
}

/* Carte sous-menu */
.primary-nav .sub-menu li {
  margin: 0;
  padding: 0;
}

.primary-nav .sub-menu li a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #ece9f8;
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  height: 86px;
  justify-content: center;
  color: inherit;
}

.primary-nav .sub-menu li a:hover {
  box-shadow: var(--shadow-md);
  border-color: #c8c4f0;
  background: #ffffff;
}

/* Logo dans la carte */
.primary-nav .sub-menu li a img {
  height: 32px;
  width: auto;
  display: block;
}

/* Description sous le logo */
.primary-nav .sub-menu li a span {
  font-family: var(--font-primary);
  font-size: var(--text-ms);
  font-weight: 400;
  color: var(--color-navy);
  display: block;
}
/* ── NAV DROPDOWN DESKTOP — .nav-dropdown-wrapper ──────────── */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown {
  position:   absolute !important;
  top:        calc(100% + 6px) !important;
  left:       0 !important;
  z-index:    9999 !important;
  display:    none !important;
  flex-direction: column;
  gap:        10px;
  padding:    14px;
  background: #ffffff;
  border:     1px solid #e4e0f5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(28, 20, 104, 0.10);
  min-width:  280px;
}

.nav-dropdown-wrapper:hover .nav-dropdown,
.nav-dropdown-wrapper:focus-within .nav-dropdown,
.nav-dropdown-wrapper.is-open .nav-dropdown {
  display:    flex !important;
  opacity:    1 !important;
  visibility: visible !important;
}

.nav-dropdown.align-right {
  left:  auto !important;
  right: 0 !important;
}

.nav-dropdown__arrow {
  position: absolute;
  top:      -8px;
  left:     24px;
  width:    14px;
  height:   8px;
}

/* Card item */
.card-sub-menu {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  padding:        14px 18px;
  background:     #ffffff;
  border:         1px solid #ece9f8;
  border-radius:  12px;
  text-decoration: none;
  width:          100%;
  box-sizing:     border-box;
  color:          inherit;
  transition:     border-color 0.15s ease, box-shadow 0.15s ease;
}

.card-sub-menu:hover {
  border-color: #c8c4f0;
  box-shadow:   0 4px 12px rgba(28, 20, 104, 0.07);
}

.card-sub-menu__logo {
  height:  32px;
  width:   100%;
  display: flex;
  align-items: center;
}

.card-sub-menu__logo svg,
.card-sub-menu__logo img {
  height: 32px;
  width:  auto;
}

.card-sub-menu__desc {
  font-size:   12px;
  font-weight: 400;
  color:       #908fbc;
  line-height: normal;
}

/* ── Logos dual light/dark — visibilité ───────────────────── */
.mobile-nav__sub-logo--dark  { display: none; }
.mobile-nav__sub-logo--light { display: block; }
/* ── LOGO ─────────────────────────────────────────────────── */
.site-logo,
.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img,
.custom-logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-logo__text {
  font-family: var(--font-logo);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -.03em;
}

/* Logo clair / sombre */
.site-logo--light { display: block; height: 40px; width: auto; }
.site-logo--dark  { display: none; }

/* ── NAVIGATION PRINCIPALE ────────────────────────────────── */
.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: #17166B;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
  border: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  background: var(--color-surface);
  color: var(--color-navy);
}

/* ── BOUTONS HEADER NAV ───────────────────────────────────── */
.primary-nav .menu-btn-demo > a {
  background: #F9DAEA;
  color: #17166B !important;
  border-radius: 12px;
  padding: var(--space-2) var(--space-5);
  font-weight: 600;
  border: 2px solid transparent;
}
.primary-nav .menu-btn-demo > a:hover {
  background: #F9DAEA;
  color: #17166B !important;
  border: 2px solid #FBFDFE;
}

.primary-nav .menu-btn-annuaire > a {
  background: #1000F0;
  color: #ffffff !important;
  border-radius: 12px;
  padding: var(--space-2) var(--space-5);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: 20px;
  border: 2px solid transparent;
}
.primary-nav .menu-btn-annuaire > a:hover {
  background: #1000F0;
  color: #ffffff !important;
  border: 2px solid #FBFDFE;
}

/* ── SOUS-MENU DESKTOP (dropdown) ────────────────────────── */
.primary-nav .menu-item-has-children {
  position: relative;
}

/* Indicateur chevron sur le lien parent */
.primary-nav .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav .menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

/* Panneau dropdown */
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: row;
  gap: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e4e0f5;
  border-radius: 12px;
  list-style: none;
  margin: 0;
  z-index: var(--z-nav);
  box-shadow: 0 8px 32px rgba(16, 0, 240, .08);
  white-space: nowrap;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}

/* Carte sous-menu */
.nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 228px;
  min-height: 86px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #ece9f8;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-card:hover {
  border-color: #c5bef0;
  box-shadow: 0 4px 12px rgba(16, 0, 240, .06);
  background: #ffffff;
}

/* Logo dans la carte */
.nav-card__logo {
  display: flex;
  align-items: center;
  height: 32px;
}

.nav-card__logo svg,
.nav-card__logo img {
  height: 32px;
  width: auto;
  max-width: 100%;
}

/* Titre et description */
.nav-card__title {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.nav-card__desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #908fbc;
  line-height: 1.4;
  white-space: normal;
}

/* Fallback si pas de Walker (item simple sans carte) */
.primary-nav .sub-menu > .menu-item > a:not(.nav-card) {
  display: block;
  width: 228px;
  min-height: 86px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #ece9f8;
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color var(--transition-fast);
}

.primary-nav .sub-menu > .menu-item > a:not(.nav-card):hover {
  border-color: #c5bef0;
}

/* Mode sombre */
[data-theme="dark"] .primary-nav .sub-menu {
  background: #1a1830;
  border-color: #2d2b45;
}

[data-theme="dark"] .nav-card {
  background: #1a1830;
  border-color: #2d2b45;
}

[data-theme="dark"] .nav-card:hover {
  background: #1a1830;
  border-color: #5000b3;
}

[data-theme="dark"] .nav-card__title {
  color: #e8e8f0;
}

/* ── BURGER MENU MOBILE ───────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-navy);
  z-index: calc(var(--z-nav) + 1); /* toujours au-dessus du menu */
}
[data-theme="dark"] .nav-toggle { color: #ffffff; }
.nav-toggle:hover { background: var(--color-surface); }
.nav-toggle[aria-expanded="true"]  .icon-burger { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close  { display: none; }
.nav-toggle {
  position: relative;
  z-index: calc(var(--z-nav) + 10) !important;
}

/* ── 7. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background:
    linear-gradient(90deg, #FF9A54 0%, #FF538D 100%) top / 100% 4px no-repeat,
    var(--color-navy);
  color: rgba(255,255,255,.75);
  padding-block: var(--space-12) var(--space-8);
}
.site-footer .container {
  max-width: 1280px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: 0;
}

/* ── FOOTER BRAND ─────────────────────────────────────────── */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.site-footer__brand .site-logo__text { color: var(--color-white); }

.site-footer__brand p {
  font-size: var(--text-base);
  margin-top: var(--space-4);
  color: rgba(255,255,255,.6);
}

/* ── FOOTER WIDGETS — reset card style ───────────────────── */
.site-footer .widget,
.site-footer__brand .widget,
.footer-widget .widget {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transform: none !important;
}

.site-footer__brand .widget {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
/* ── Pleine largeur page accueil ──────────────────────────── */
.entry-content--full {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.entry-content--full > .wp-block-group {
    max-width: 100% !important;
    width: 100% !important;
}

/* Titres colonnes footer */
.footer-widget .widget-title,
.footer-widget .widgettitle,
.footer-widget h2,
.footer-widget h3 {
  color: #ffffff;
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-4);
  margin-top: 0;
  display: inline-block;
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-widget--social .widget-title {
  white-space: nowrap;
  letter-spacing: .02em;
}
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-widget .widget .footer-social-list li {
  margin-bottom: 0;
}
.footer-widget .widget .footer-social-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.footer-social-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.footer-widget .widget-title::after,
.footer-widget .widgettitle::after,
.footer-widget h2::after,
.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #FF9A54 0%, #FF538D 100%);
  border-radius: 2px;
}

/* Liens footer widgets */
.footer-widget .widget a,
.footer-widget .widget ul a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: var(--space-2);
}
/* Listes footer widgets */
.footer-widget .widget ul {
  list-style: none;
  padding: 0;
  margin: 0px 0 0 0;
}
.footer-widget .widget li { margin-bottom: var(--space-2); }

/* Texte brand */
.site-footer__brand .widget p,
.site-footer__brand .widget .textwidget p {
  color: rgba(255,255,255,.6);
  font-size: var(--text-base);
  margin: 0 0 var(--space-3);
}
.site-footer__brand .widget strong { color: rgba(255,255,255,.9); }

/* Image/logo brand */
.site-footer__brand .widget img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: var(--space-4);
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social a:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* Suppression de tous les effets hover sur les liens du footer */
.site-footer a:hover,
.site-footer .widget a:hover,
.footer-legal-nav a:hover {
  color: inherit;
  background: transparent !important;
  text-decoration: none;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-legal-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-nav a {
  font-family: var(--font-body, 'Lexend', sans-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color var(--transition-fast, .15s ease);
}

.footer-legal-nav a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-legal-nav { gap: 20px; justify-content: center; }
}

/* ── FOOTER BOTTOM ────────────────────────────────────────── */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal-menu a {
  text-decoration: none;
}

.site-footer__bottom .footer-brand-link {
  color: #6C6BA1;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

/* ── THEME TOGGLE ─────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}

.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── 8. BOUTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }

.btn--primary { background: var(--color-blue); color: var(--color-white); border-color: var(--color-blue); }
.btn--primary:hover { background: var(--color-violet); border-color: var(--color-violet); color: var(--color-white); }

.btn--secondary { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn--secondary:hover { background: var(--color-navy); color: var(--color-white); }

.btn--ghost { background: transparent; color: var(--color-blue); border-color: transparent; }
.btn--ghost:hover { background: rgba(16,0,240,.06); }

.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* ── 9. CARTES ────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card__image { aspect-ratio: 16/9; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card__image img { transform: scale(1.04); }

.card__body { padding: var(--space-6); }
.card__title { font-size: var(--text-lg); margin-bottom: var(--space-3); color: var(--color-navy); }
.card__excerpt { font-size: var(--text-sm); color: var(--color-navy); margin-bottom: var(--space-4); }

/* ── 10. POSTS & BLOG ─────────────────────────────────────── */
.entry-header { margin-bottom: var(--space-8); }
.entry-title { font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl)); color: var(--color-navy); margin-bottom: var(--space-4); }

.entry-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6);border-top: 1px solid navy;
  padding-top: 10px; }
.entry-meta a { color: var(--color-blue); }

.entry-content { font-size: var(--text-lg); line-height: var(--leading-loose); max-width: 100ch; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: var(--space-10); margin-bottom: var(--space-4); }
.entry-content img { border-radius: var(--radius-lg); margin-block: var(--space-4); }
.entry-content blockquote { border-left: 4px solid var(--color-blue); padding-left: var(--space-6); margin-inline: 0; margin-block: var(--space-8); font-style: italic; font-size: var(--text-xl); color: var(--color-navy); }
.entry-content code { background: var(--color-surface); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: .875em; }
.entry-content pre { background: var(--color-black); color: #e2e8f0; padding: var(--space-6); border-radius: var(--radius-lg); overflow-x: auto; margin-block: var(--space-6); }
.entry-content pre code { background: none; padding: 0; font-size: var(--text-sm); color: inherit; }
/* ── ALIGNLEFT WordPress (image + texte côte à côte) ─────── */
.entry-content .alignleft {
  float: left;
  margin-right: var(--space-4);
  margin-bottom: var(--space-2);
  margin-top: 22px;;
}

.entry-content figure.wp-block-image {
  display: inline;
}

.entry-content figure.wp-block-image + p {
  overflow: inline;
}

/* ── DETAILS / SUMMARY ────────────────────────────────────── */
details {
  background: var(--color-pink);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-block: var(--space-4);
}

details[open] {
  background: var(--color-white);
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy);
  font-size: var(--text-base);
  list-style: none;
  position: relative;
  padding-right: var(--space-6);
  outline: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-xl);
  color: var(--color-blue);
  transition: transform .2s ease;
}

details[open] summary::after {
  content: "−";
}

summary:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

details > *:not(summary) {
  margin-top: var(--space-3);
}

/* ── ALIGNEMENT WordPress (image + texte) ─────────────────── */
.entry-content .alignleft {
  float: left;
  margin-right: var(--space-4);
  margin-bottom: var(--space-2);
  margin-top: 22px;
}

.entry-content .alignright {
  float: right;
  margin-left: var(--space-4);
  margin-bottom: var(--space-2);
  margin-top: 22px;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.entry-content figure.wp-block-image {
  max-width: 100%;
}

.entry-content figure.wp-block-image.alignleft  { float: left;  margin-right: var(--space-4); }
.entry-content figure.wp-block-image.alignright { float: right; margin-left: var(--space-4); }
.entry-content figure.wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content figure.wp-block-image img {
  max-width: 100%;
  height: auto;
}
/* ── 11. PAGINATION ───────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-12); flex-wrap: wrap; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; text-decoration: none; border: 1.5px solid var(--color-border); transition: all var(--transition-fast); }
.pagination a:hover { border-color: var(--color-navy); color: var(--color-navy); }
.pagination .current { background: var(--color-pink); border-color: var(--color-navy); color: var(--color-white); }

/* ── 12. FORMULAIRES ──────────────────────────────────────── */
.form-group { margin-bottom: var(--space-6); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); color: var(--color-text); }
.form-control { width: 100%; padding: var(--space-3) var(--space-4); border: 2px solid var(--color-border); border-radius: var(--radius-md); font-family: var(--font-primary); font-size: var(--text-base); color: var(--color-text); background: var(--color-white); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); appearance: none; }
.form-control:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(16,0,240,.12); }

/* ── 13. ACCESSIBILITÉ ────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── 13b. MODE SOMBRE — OS ────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:         #0f0e1a;
    --color-surface:    #1a1830;
    --color-border:     #2d2b45;
    --color-text:       #e8e8f0;
    --color-text-muted: #9090a8;
  }
  body { background-color: #0f0e1a; color: #e8e8f0; }
  .site-header  { background: #0f0e1a; border-color: #2d2b45; }
  .card         { background: #1a1830; border-color: #2d2b45; }
  .site-logo--light { display: none; }
  .site-logo--dark  { display: block; height: 48px; width: auto; }
  .primary-nav a { color: #e8e8f0; border-color: transparent; }
  .primary-nav a:hover,
  .primary-nav .current-menu-item > a,
  .primary-nav .current-menu-ancestor > a { background: rgba(255,255,255,.08); color: #ffffff; }
  .primary-nav .menu-btn-demo > a { background: rgba(249,218,234,.15); color: #F9DAEA !important; }
  .primary-nav .menu-btn-demo > a:hover { border: 2px solid rgba(251,253,254,.3); }
  .primary-nav .menu-btn-annuaire > a { background: #1000F0; color: #ffffff !important; }
  .primary-nav .menu-btn-annuaire > a:hover { border: 2px solid rgba(251,253,254,.3); }
  .site-footer .widget,
  .site-footer__brand .widget,
  .footer-widget .widget { background: transparent !important; border: none !important; }
  .footer-widget .widget a { color: rgba(255,255,255,.55); }
}

/* ── 13c. MODE SOMBRE — bouton [data-theme="dark"] ───────── */
[data-theme="dark"] body { background-color: #0f0e1a; color: #e8e8f0; }
[data-theme="dark"] .site-header  { background: #0f0e1a; border-color: #2d2b45; }
[data-theme="dark"] .card         { background: #1a1830; border-color: #2d2b45; }
[data-theme="dark"] .site-logo--light { display: none; }
[data-theme="dark"] .site-logo--dark  { display: block; height: 40px; width: auto; margin-top: -8px;}
[data-theme="dark"] .primary-nav a { color: #e8e8f0; border-color: transparent; }
[data-theme="dark"] .primary-nav a:hover,
[data-theme="dark"] .primary-nav .current-menu-item > a,
[data-theme="dark"] .primary-nav .current-menu-ancestor > a { background: rgba(255,255,255,.08); color: #ffffff; }
[data-theme="dark"] .primary-nav .menu-btn-demo > a { background: rgba(249,218,234,.15); color: #F9DAEA !important; }
[data-theme="dark"] .primary-nav .menu-btn-demo > a:hover { border: 2px solid rgba(251,253,254,.3); }
[data-theme="dark"] .primary-nav .menu-btn-annuaire > a { background: #1000F0; color: #ffffff !important; }
[data-theme="dark"] .primary-nav .menu-btn-annuaire > a:hover { border: 2px solid rgba(251,253,254,.3); }
[data-theme="dark"] .site-footer .widget,
[data-theme="dark"] .site-footer__brand .widget,
[data-theme="dark"] .footer-widget .widget { background: transparent !important; border: none !important; }
[data-theme="dark"] .footer-widget .widget a { color: rgba(255,255,255,.55); }

/* ── 13d. MODE CLAIR — bouton [data-theme="light"] ───────── */
[data-theme="light"] body { background-color: #fbfdfe; color: var(--color-navy); }
[data-theme="light"] .site-header { background: #fbfdfe; border-color: #e0e0ec; }
[data-theme="light"] .card        { background: #fbfdfe; border-color: #e0e0ec; }
[data-theme="light"] .site-logo--light { display: block; height: 40px; width: auto; margin-top: -8px;}
[data-theme="light"] .site-logo--dark  { display: none; }
[data-theme="light"] .primary-nav a { color: #17166B; }
[data-theme="light"] .primary-nav a:hover,
[data-theme="light"] .primary-nav .current-menu-item > a,
[data-theme="light"] .primary-nav .current-menu-ancestor > a { background: #f4f4f8; color: #17166B; }
[data-theme="light"] .primary-nav .menu-btn-demo > a { background: #F9DAEA; color: #17166B !important; }
[data-theme="light"] .primary-nav .menu-btn-demo > a:hover { border: 2px solid #FBFDFE; }
[data-theme="light"] .primary-nav .menu-btn-annuaire > a { background: #1000F0; color: #ffffff !important; }
[data-theme="light"] .primary-nav .menu-btn-annuaire > a:hover { border: 2px solid #FBFDFE; }
[data-theme="light"] .site-footer .widget,
[data-theme="light"] .site-footer__brand .widget,
[data-theme="light"] .footer-widget .widget { background: transparent !important; border: none !important; }
[data-theme="light"] .footer-widget .widget a { color: rgba(255,255,255,.65); }

/* ── 14. LSF ──────────────────────────────────────────────── */
.lsf-video-wrapper { position: relative; display: inline-block; }
.lsf-trigger { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); background: var(--color-navy); color: var(--color-white); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; cursor: pointer; border: none; transition: background var(--transition-fast); }
.lsf-trigger:hover { background: var(--color-blue); }
.lsf-video-overlay { position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: var(--z-modal); background: var(--color-navy); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); max-width: 320px; display: none; }
.lsf-video-overlay.is-visible { display: block; }
.lsf-video-overlay video { width: 100%; display: block; }
.lsf-close { position: absolute; top: var(--space-2); right: var(--space-2); width: 32px; height: 32px; background: rgba(255,255,255,.2); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--color-white); cursor: pointer; border: none; font-size: 1.2rem; line-height: 1; }

/* ── 15. GUTENBERG ────────────────────────────────────────── */
.wp-block-image img { border-radius: var(--radius-lg); }
.wp-block-quote { border-left: 4px solid var(--color-blue); padding-left: var(--space-6); margin-inline: 0; }
.wp-block-button .wp-block-button__link { border-radius: var(--radius-md) !important; font-family: var(--font-primary); font-weight: 600; }
.wp-block-cover { border-radius: var(--radius-xl); }
.wp-block-separator { border-color: var(--color-border); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.alignwide { max-width: var(--container-2xl); margin-inline: auto; }

/* ── 16. UTILITAIRES ──────────────────────────────────────── */
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.text-navy   { color: var(--color-navy); } .text-blue { color: var(--color-blue); }
.text-muted  { color: var(--color-text-muted); } .text-white { color: var(--color-white); }
.bg-navy     { background-color: var(--color-navy); } .bg-blue { background-color: var(--color-blue); }
.bg-surface  { background-color: var(--color-surface); } .bg-pink { background-color: var(--color-pink); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); } .mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); } .mb-8 { margin-bottom: var(--space-8); }
.mt-12 { margin-top: var(--space-12); } .mb-12 { margin-bottom: var(--space-12); }
.hidden { display: none; } .invisible { visibility: hidden; }

/* ── 16b. MENU MOBILE ─────────────────────────────────────── */

/* Panneau principal — masqué par défaut sur desktop */
.site-header-mobile {
  display: none;
}

/* Overlay fond */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: calc(var(--z-nav) + 4);
  display: none;
}
.mobile-menu-overlay.is-visible {
  display: block;
}

/* ── 17. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

  /* Masquer la nav desktop, afficher le burger */
  .primary-nav { display: none !important; }
  .nav-toggle   { display: flex; }

  /* ── Panneau menu mobile — specs Figma node 620:2651 ─────── */
  .site-header-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fbfdfe;
    border-bottom: 3px solid #f9daea;
    border-radius: 0 0 12px 12px;
    z-index: calc(var(--z-nav) + 5);
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    max-height: 92vh;
    box-sizing: border-box;
  }

  .site-header-mobile:not(.is-collapsed) {
    transform: translateY(0);
  }

  /* Top bar : logo + bouton fermer — padding 24px 36px (Figma) */
  .site-header-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 36px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 0 0 12px 12px;
  }

  .site-header-mobile__logo img {
    height: 40px;
    width: auto;
    display: block;
  }

  /* Bouton X — 20px comme Figma */
  .site-header-mobile__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #1c1468;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  /* ── Navigation items — Figma : px-38px py-6px, 18px, #1c1468 */
  .mobile-nav {
    width: 100%;
    flex-shrink: 0;
  }

  .mobile-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav__item {
    border-bottom: 1px solid #f3f3f8;
    width: 100%;
  }

  .mobile-nav__link,
  .mobile-nav__item--dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 38px;
    font-size: 18px;
    font-weight: 400;
    color: #1c1468;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    line-height: 30px;
    box-sizing: border-box;
    text-align: left;
  }

  .mobile-nav__chevron {
    flex-shrink: 0;
    color: #1c1468;
    transition: transform 0.2s ease;
  }

  .mobile-nav__item--dropdown.is-open .mobile-nav__chevron {
    transform: rotate(180deg);
  }

  /* ── Sous-panneau accordéon — bg #fbfbff, p-14px, gap-14px */
  .mobile-nav__sub {
    background: #fbfbff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    justify-content: center;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-nav__sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .mobile-nav__sub-item {
    width: 100%;
  }

  /* Carte sous-menu — white, border #ece9f8, rounded-12, h-86px, p-14px 18px */
  .mobile-nav__sub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #ece9f8;
    border-radius: 12px;
    height: 86px;
    padding: 14px 18px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
  }

  /* Logo dans carte mobile — h-32px (Figma) */
  .mobile-nav__sub-logo {
    height: 32px;
    width: auto;
    display: block;
  }

  /* Description — 12px, #908fbc (Figma) */
  .mobile-nav__sub-desc {
    font-size: 12px;
    font-weight: 400;
    color: #908fbc;
    font-family: var(--font-primary);
    line-height: normal;
  }

  /* ── Actions section — px-36px py-18px, gap-25px (Figma) ─── */
  .mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 36px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  /* Bouton Annuaire — bg #1000f0, border #000e9a, rounded-8, p-14px */
  .btn--annuaire-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding: 14px;
    background: #1000f0;
    border: 1px solid #000e9a;
    border-radius: 8px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
  }

  .btn--annuaire-mobile__header {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .btn--annuaire-mobile__icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: block;
  }

  /* Titre bold 18px blanc (Figma) */
  .btn--annuaire-mobile__title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-primary);
    line-height: 18px;
  }

  /* Sous-titre light 12px blanc (Figma) */
  .btn--annuaire-mobile__desc {
    font-size: 12px;
    font-weight: 300;
    color: #ffffff;
    font-family: var(--font-primary);
    line-height: normal;
    margin: 0;
    padding: 0;
  }

  /* Bouton Démonstration — border-2 #ece9f8, rounded-8, px-18px py-16px, 18px */
  .btn--demo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    border: 2px solid #ece9f8;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 400;
    color: #1c1468;
    text-decoration: none;
    font-family: var(--font-primary);
    width: 100%;
    box-sizing: border-box;
    line-height: 18px;
  }

  /* ── Light mode explicite — blanc garanti ────────────────── */
  [data-theme="light"] .site-header-mobile {
    background: #fbfdfe !important;
    border-color: #f9daea !important;
  }
  [data-theme="light"] .site-header-mobile__close { color: #1c1468 !important; }
  [data-theme="light"] .mobile-nav__item          { border-color: #f3f3f8 !important; }
  [data-theme="light"] .mobile-nav__link,
  [data-theme="light"] .mobile-nav__item--dropdown,
  [data-theme="light"] .mobile-nav__chevron        { color: #1c1468 !important; }
  [data-theme="light"] .mobile-nav__sub            { background: #fbfbff !important; }
  [data-theme="light"] .mobile-nav__sub-card       { background: #ffffff !important; border-color: #ece9f8 !important; }
  [data-theme="light"] .mobile-nav__sub-desc       { color: #908fbc !important; }
  [data-theme="light"] .btn--demo-mobile           { color: #1c1468 !important; border-color: #ece9f8 !important; }

  /* ── Dark mode — panneau mobile ──────────────────────────── */
  [data-theme="dark"] .site-header-mobile {
    background: #0f0e1a;
    border-color: #5000b3;
  }
  [data-theme="dark"] .site-header-mobile__close { color: #e8e8f0; }
  [data-theme="dark"] .mobile-nav__item          { border-color: #2d2b45; }
  [data-theme="dark"] .mobile-nav__link,
  [data-theme="dark"] .mobile-nav__item--dropdown,
  [data-theme="dark"] .mobile-nav__chevron        { color: #e8e8f0; }
  [data-theme="dark"] .mobile-nav__sub            { background: #1a1830; }
  [data-theme="dark"] .mobile-nav__sub-card       { background: #21202B; border-color: #2d2b45; }
  [data-theme="dark"] .mobile-nav__sub-desc       { color: #9090a8; }
  [data-theme="dark"] .btn--demo-mobile           { color: #e8e8f0; border-color: #2d2b45; }

  @media (prefers-color-scheme: dark) {
    .site-header-mobile     { background: #0f0e1a; border-color: #5000b3; }
    .site-header-mobile__close { color: #e8e8f0; }
    .mobile-nav__item       { border-color: #2d2b45; }
    .mobile-nav__link,
    .mobile-nav__item--dropdown,
    .mobile-nav__chevron    { color: #e8e8f0; }
    .mobile-nav__sub        { background: #1a1830; }
    .mobile-nav__sub-card   { background: #21202B; border-color: #2d2b45; }
    .mobile-nav__sub-desc   { color: #9090a8; }
    .btn--demo-mobile       { color: #e8e8f0; border-color: #2d2b45; }
  }

  /* ── Footer ─────────────────────────────────────────────── */
  .site-footer__grid    { grid-template-columns: 1fr; }
  .site-footer__bottom  { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --space-6: 1rem; }
  .container { padding-inline: var(--space-4); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION : Deux Parcours — "Une solution pensée pour chacun"
   Figma node: 691-3781
   v1.3.0 — elioz-theme
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Section wrapper ────────────────────────────────────────────────────── */
.elioz-deux-parcours {
  background: var(--color-white);
  padding: 100px 120px 50px;
  font-family: var(--font-body, 'Lexend', sans-serif);
}

.elioz-deux-parcours__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.elioz-deux-parcours .elioz-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Badge pill */
.elioz-deux-parcours .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: #F9DAEA;
  border: 1px solid #ffffff;
  border-radius: 100px;
}
.elioz-deux-parcours .badge-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C41952;
  flex-shrink: 0;
}
.elioz-deux-parcours .badge-pill__label {
  font-size: 14px;
  font-weight: 500;
  color: #C41952;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Heading block */
.elioz-deux-parcours .elioz-section__titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 828px;
}
.elioz-deux-parcours .elioz-section__h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-navy, #1C1468);
}
.elioz-deux-parcours .elioz-section__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: #656B9F;
}

/* ─── Cards grid ─────────────────────────────────────────────────────────── */
.elioz-deux-parcours .elioz-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  width: 100%;
}

/* ─── Card base ──────────────────────────────────────────────────────────── */
.elioz-deux-parcours .elioz-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 459px;
  padding: 24px 38px;
  border-radius: 28px;
  border: 2px solid transparent;
  gap: 24px;
}

/* Card dark */
.elioz-deux-parcours .elioz-card--dark {
  background: linear-gradient(43.34deg, #1C1468 55.98%, #280F79 100%);
  border-color: #7B73C8;
}

/* Card light */
.elioz-deux-parcours .elioz-card--light {
  background: linear-gradient(43.34deg, #FFF6FB 29.98%, #FCE8F2 100%);
  border-color: #FDD2E8;
}

/* ─── Card badge ─────────────────────────────────────────────────────────── */
.elioz-deux-parcours .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid;
  align-self: flex-start;
}
.elioz-deux-parcours .card-badge--dark  { background: #362E83; border-color: #7D78B5; }
.elioz-deux-parcours .card-badge--light { background: #F9DAEA; border-color: #E6B5CE; }

.elioz-deux-parcours .card-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.elioz-deux-parcours .card-badge__dot--dark  { background: #7D78B5; }
.elioz-deux-parcours .card-badge__dot--light { background: #B2266E; }

.elioz-deux-parcours .card-badge__label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.elioz-deux-parcours .card-badge__label--dark  { color: #ffffff; white-space: nowrap; }
.elioz-deux-parcours .card-badge__label--light { color: #B2266E; }

/* ─── Card content ───────────────────────────────────────────────────────── */
.elioz-deux-parcours .card-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.elioz-deux-parcours .card-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 48px;
}
.elioz-deux-parcours .card-title--dark  { color: #ffffff; }
.elioz-deux-parcours .card-title--light { color: #1C1468; }

.elioz-deux-parcours .card-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}
.elioz-deux-parcours .card-desc--dark  { color: #FBFDFE; }
.elioz-deux-parcours .card-desc--light { color: #656B9F; }

/* ─── Feature list ───────────────────────────────────────────────────────── */
.elioz-deux-parcours .card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.elioz-deux-parcours .card-feature {
  display: flex;
  align-items: center;
  gap: 9px;
}
.elioz-deux-parcours .card-feature__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.elioz-deux-parcours .card-feature__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.elioz-deux-parcours .card-feature__icon--dark::before  { background: rgba(255,255,255,0.15); }
.elioz-deux-parcours .card-feature__icon--light::before { background: rgba(176,38,110,0.12); }

.elioz-deux-parcours .card-feature__icon svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
}
.elioz-deux-parcours .card-feature__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.elioz-deux-parcours .card-feature__text--dark  { color: #ffffff; white-space: nowrap; }
.elioz-deux-parcours .card-feature__text--light { color: #1C1468; white-space: nowrap; }

/* ─── CTA Button ─────────────────────────────────────────────────────────── */
.elioz-deux-parcours .card-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body, 'Lexend', sans-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  align-self: flex-start;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.elioz-deux-parcours .card-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.elioz-deux-parcours .card-btn--dark {
  background: #FBFDFE;
  color: #1C1468;
}
.elioz-deux-parcours .card-btn--light {
  background: #1000F0;
  color: #FFFAFF;
}
.elioz-deux-parcours .card-btn__arrow {
  width: 24px; height: 24px;
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .elioz-deux-parcours {
    padding: 80px 40px 40px;
  }
  .elioz-deux-parcours__inner            { gap: 48px; }
  .elioz-deux-parcours .elioz-cards     { gap: 32px; }
  .elioz-deux-parcours .elioz-section__h2 { font-size: 34px; }
  .elioz-deux-parcours .elioz-card       { padding: 24px 28px; }
}

@media (max-width: 768px) {
  .elioz-deux-parcours {
    padding: 64px 20px 40px;
  }
  .elioz-deux-parcours__inner { gap: 40px; }
  .elioz-deux-parcours .elioz-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .elioz-deux-parcours .elioz-section__h2     { font-size: 28px; }
  .elioz-deux-parcours .elioz-section__subtitle { font-size: 17px; line-height: 28px; }
  .elioz-deux-parcours .elioz-card             { min-height: auto; padding: 24px; }
  .elioz-deux-parcours .card-title             { font-size: 26px; line-height: 38px; }
  .elioz-deux-parcours .card-btn {
    font-size: 17px;
    padding: 16px 20px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .elioz-deux-parcours                          { padding: 48px 16px 32px; }
  .elioz-deux-parcours .elioz-section__h2       { font-size: 24px; }
  .elioz-deux-parcours .card-badge__label        { white-space: normal; }
  .elioz-deux-parcours .card-feature__text       { white-space: normal; }
  .elioz-deux-parcours .card-badge__label--dark  { white-space: normal; }
  .elioz-deux-parcours .card-feature__text--dark { white-space: normal; }
}
