/* =====================================================================
   AUDYA — Formation Socle | Système de design partagé
   Palette officielle : bleu #007EA7, orange #F15A24
   Fonts : Fraunces (display) + Inter Tight (corps)
   ===================================================================== */

/* ----- RÈGLE CHARTE AUDYA (Claire, retour V2) -----
   Italique interdit sur tout le site (charte + lisibilité).
   Cette règle override les `font-style: italic` éventuels du code historique
   et neutralise tous les <em> qui passeraient à travers. */
* { font-style: normal !important; }
em, i { font-style: normal !important; font-weight: 500; color: var(--audya-text); }
.emphasis { font-style: normal; font-weight: 600; color: var(--audya-text); }

:root {
  /* Couleurs officielles AUDYA */
  --audya-blue: #007EA7;
  --audya-blue-dark: #005770;
  --audya-blue-light: #E5F2F7;
  --audya-blue-soft: #F0F7FA;

  --audya-orange: #F15A24;
  --audya-orange-dark: #C9461A;
  --audya-orange-light: #FDEBE2;

  /* Neutres */
  --audya-bg: #F7FAFB;
  --audya-bg-soft: #EEF5F6;
  --audya-white: #FFFFFF;
  --audya-text: #11252A;
  --audya-text-soft: #455A60;
  --audya-text-muted: #7A8A8E;
  --audya-border: #DCE7E9;
  --audya-border-soft: #EDF2F4;

  /* Sémantique - feux d'auto-évaluation */
  --audya-red: #DC4B4B;
  --audya-red-light: #FCE8E8;
  --audya-amber: #E8A33A;
  --audya-amber-light: #FBF1DD;
  --audya-green: #2E9D6E;
  --audya-green-light: #E2F4EC;

  /* Élévations & rayons */
  --shadow-sm: 0 1px 2px rgba(0, 126, 167, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 126, 167, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 126, 167, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 126, 167, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--audya-text);
  background: var(--audya-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--audya-blue); }

/* ===== NAVIGATION partagée ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--audya-border);
  transition: transform 0.3s ease;
}
.nav.nav--hidden { transform: translateY(-100%); }

/* ===== NAV DROPDOWN « Formation » ===== */
.nav-has-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-dropdown-trigger:hover,
.nav-has-dropdown.is-open .nav-dropdown-trigger { color: var(--audya-blue); background: var(--audya-blue-light); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 4px 0 0;
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 8px;
  min-width: 300px;
  z-index: 150;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--audya-text-soft);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  font-weight: 500;
}
.nav-dropdown li a:hover { background: var(--audya-blue-light); color: var(--audya-blue); }
@media (max-width: 900px) {
  .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-logo-suffix {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--audya-text-muted);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid var(--audya-border);
  line-height: 1.15;
}
@media (max-width: 600px) {
  .nav-logo-img { height: 24px; }
  .nav-logo-suffix { display: none; }
  .nav-tabs a { font-size: 12px; padding: 5px 10px; white-space: nowrap; }
  .nav-cta { font-size: 12px; padding: 7px 12px; white-space: nowrap; }
}
/* Anciens styles conservés en fallback (au cas où la nav-logo-mark serait encore référencée quelque part) */
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--audya-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.5px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--audya-text);
  letter-spacing: -0.3px;
}
.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--audya-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: -2px;
}
.nav-tabs { display: flex; gap: 4px; list-style: none; }
.nav-tabs a {
  padding: 8px 14px;
  color: var(--audya-text-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-tabs a:hover { color: var(--audya-blue); background: var(--audya-blue-light); }
.nav-tabs a.is-active { color: var(--audya-blue); background: var(--audya-blue-light); }
.nav-cta {
  background: var(--audya-blue);
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--audya-blue-dark); transform: translateY(-1px); }

/* ===== HAMBURGER MOBILE ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--audya-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--audya-text);
  border-radius: 2px;
  transition: all 0.22s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu déroulant mobile */
@media (max-width: 900px) {
  .nav-tabs.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--audya-border);
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 200;
  }
  .nav-tabs.is-open a {
    font-size: 15px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }
}


/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.btn-primary { background: var(--audya-blue); color: white; }
.btn-primary:hover { background: var(--audya-blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-secondary { background: white; color: var(--audya-blue); border-color: var(--audya-border); }
.btn-secondary:hover { border-color: var(--audya-blue); background: var(--audya-blue-light); }
.btn-orange { background: var(--audya-orange); color: white; }
.btn-orange:hover { background: var(--audya-orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ===== CONTENEURS & SECTIONS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.container-module { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-bg { background: var(--audya-bg-soft); }

/* ===== TYPOGRAPHIE ===== */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--audya-blue);
  background: var(--audya-blue-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-orange { color: var(--audya-orange); background: var(--audya-orange-light); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--audya-text);
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 18px; }

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--audya-text-soft);
  line-height: 1.55;
  font-weight: 400;
}

/* ===== STATUS PILL « en développement » ===== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  vertical-align: middle;
}
.status-pill.is-available { background: var(--audya-green-light); color: var(--audya-green); }
.status-pill.is-dev { background: var(--audya-amber-light); color: #9C6A14; }

.card {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

/* =====================================================================
   FOOTER partagé
   ===================================================================== */
.footer {
  background: var(--audya-text);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}
.footer h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: white; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}
.footer-brand-logo-wrap {
  background: white;
  display: inline-block;
  padding: 14px 22px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.footer-brand-logo {
  display: block;
  height: 64px;
  width: auto;
}
.footer-brand-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-proof {
  display: flex; gap: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  margin-top: 6px;
  flex-wrap: wrap;
}
.footer-proof > div {
  min-width: 0;
}
.footer-proof-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: white;
  line-height: 1;
}
.footer-proof-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.footer-bottom-links a:hover { color: white; }

/* =====================================================================
   HOME — STYLES SPÉCIFIQUES
   ===================================================================== */

/* ---- Hero ---- */
.hero { padding: 80px 0 64px; background: linear-gradient(180deg, #FFFFFF 0%, var(--audya-bg) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero-title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 22px; }
.hero-title em, .hero-title-accent { font-style: normal; color: var(--audya-blue); font-weight: 500; }
.hero-claim {
  font-size: clamp(20px, 2.2vw, 24px);
  font-family: var(--font-display);
  color: var(--audya-orange);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero-text { font-size: 17.5px; color: var(--audya-text-soft); line-height: 1.6; margin-bottom: 28px; max-width: 540px; }
.hero-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--audya-text-soft); margin-bottom: 32px; font-weight: 500; }
.hero-meta .dot { width: 4px; height: 4px; background: var(--audya-text-muted); border-radius: 50%; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-cards { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-card {
  position: absolute;
  width: 320px;
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--audya-border);
  animation: cardFloat 10s ease-in-out infinite;
}
.hero-card-1 { top: 0; left: 0; animation-delay: 0s; z-index: 1; }
.hero-card-2 { top: 110px; right: 0; animation-delay: -3.3s; z-index: 2; }
.hero-card-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: -6.6s; z-index: 3; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
/* Désactiver la rotation pour la carte AUDYA TeX centrée (translateX se cumulerait mal) */
.hero-card-3 { animation: cardFloatCenter 10s ease-in-out infinite; }
@keyframes cardFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}
.hero-card-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--audya-blue); line-height: 1; margin-bottom: 8px; }
.hero-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--audya-text); margin-bottom: 8px; line-height: 1.3; }
.hero-card-text { font-size: 14px; color: var(--audya-text-soft); line-height: 1.5; }

/* Carte AUDYA TeX (carte n°3) — badge orange + flux ORL/MG/audio - mise en avant */
.hero-card.is-tex {
  border-top: 3px solid var(--audya-orange);
  /* Position absolute conservée depuis .hero-card */
}
.hero-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--audya-orange);
  color: white;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.hero-card-actors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--audya-border);
}
.hero-card-actor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--audya-blue);
  font-size: 10.5px;
  font-weight: 600;
  flex: 1;
}
.hero-card-actor svg { color: var(--audya-blue); }
.hero-card-actor:nth-child(5) { color: var(--audya-orange); }
.hero-card-actor:nth-child(5) svg { color: var(--audya-orange); }
.hero-card-arrow {
  font-size: 14px;
  color: var(--audya-text-muted);
  font-weight: 700;
}

/* ---- Intro / pillars ---- */
.intro-section { background: white; border-top: 1px solid var(--audya-border); border-bottom: 1px solid var(--audya-border); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.intro-pillar { padding: 20px; background: var(--audya-blue-soft); border-radius: var(--radius-md); border-left: 3px solid var(--audya-blue); }
.intro-pillar-icon { font-size: 22px; margin-bottom: 6px; }
.intro-pillar-text { font-weight: 600; font-size: 14.5px; color: var(--audya-text); line-height: 1.35; }

/* ---- Programme ---- */
.programme { background: var(--audya-bg-soft); }
.programme-header { text-align: center; margin-bottom: 48px; }
/* ---- Nav d'ancrage (page longue) ---- */
.anchor-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 0;
  margin-bottom: 8px;
}
.anchor-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--audya-blue);
  background: var(--audya-blue-light);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.anchor-link:hover { background: #C8E6F0; }
.programme-header h2 { margin-bottom: 14px; }
.programme-header p { max-width: 680px; margin: 0 auto; }

.module-list { display: grid; gap: 14px; max-width: 940px; margin: 0 auto; }
.module-card {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 22px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.module-card:hover { border-color: var(--audya-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.module-card.is-clinical { border-left: 4px solid var(--audya-orange); }
.module-num {
  width: 56px; height: 56px;
  background: var(--audya-blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--audya-blue);
}
.module-card.is-clinical .module-num { background: var(--audya-orange-light); color: var(--audya-orange); }
.module-info-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--audya-text); margin-bottom: 4px; line-height: 1.3; }
.module-info-sub { font-size: 14px; color: var(--audya-text-soft); }
.module-duration { font-size: 13px; font-weight: 500; color: var(--audya-text-muted); background: var(--audya-bg-soft); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.module-arrow { color: var(--audya-text-muted); transition: all 0.2s; }
.module-card:hover .module-arrow { color: var(--audya-blue); transform: translateX(4px); }

/* ---- Bloc Objectifs (page Programme) ---- */
.objectives-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.objective-card { background: white; border: 1px solid var(--audya-border); border-radius: var(--radius-lg); padding: 28px; }
.objective-card-icon {
  width: 44px; height: 44px;
  background: var(--audya-blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--audya-blue);
}
.objective-card h3 { font-size: 18px; margin-bottom: 8px; }
.objective-card p { font-size: 14.5px; color: var(--audya-text-soft); line-height: 1.55; }
@media (max-width: 800px) { .objectives-cards { grid-template-columns: 1fr; } }

/* ---- Listing long des formations (page Programme) ---- */
.module-detail-list { display: flex; flex-direction: column; gap: 16px; max-width: 940px; margin: 0 auto; }
.module-detail-row {
  display: block;
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.module-detail-row:hover { border-color: var(--audya-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.module-detail-row.is-clinical { border-left: 4px solid var(--audya-orange); }
.module-detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.module-detail-head .module-num { flex-shrink: 0; }
.module-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-left: 74px; }
.module-detail-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--audya-text-muted); margin-bottom: 8px; }
.module-detail-objectifs { list-style: none; padding: 0; margin: 0; }
.module-detail-objectifs li { position: relative; padding: 4px 0 4px 16px; font-size: 13.5px; color: var(--audya-text-soft); line-height: 1.45; }
.module-detail-objectifs li::before { content: '·'; position: absolute; left: 0; color: var(--audya-blue); font-weight: 700; }
.module-detail-conclusion { font-size: 13.5px; color: var(--audya-text); line-height: 1.5; }
@media (max-width: 700px) {
  .module-detail-body { grid-template-columns: 1fr; padding-left: 0; }
}

/* ---- Steps row ---- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; max-width: 940px; margin-left: auto; margin-right: auto; }
.step-item { background: white; border-radius: var(--radius-md); padding: 24px 20px; border: 1px solid var(--audya-border); text-align: center; position: relative; }
.step-item-num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--audya-orange); color: white;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.step-item-text { font-size: 14.5px; color: var(--audya-text); font-weight: 500; line-height: 1.4; margin-top: 6px; }

/* ---- Quiz section ---- */
.quiz-section {
  background: linear-gradient(135deg, var(--audya-blue) 0%, var(--audya-blue-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  margin: 64px auto;
  max-width: 1080px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.quiz-section::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.quiz-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.quiz-eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--audya-orange);
  background: rgba(241, 90, 36, 0.15);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.quiz-title { font-size: clamp(28px, 3.4vw, 36px); color: white; margin-bottom: 14px; line-height: 1.2; }
.quiz-subtitle { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; line-height: 1.55; max-width: 480px; }
.quiz-features { display: flex; gap: 28px; margin-bottom: 32px; flex-wrap: wrap; }
.quiz-feature { font-size: 14.5px; color: rgba(255, 255, 255, 0.92); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.quiz-feature::before { content: '✓'; color: var(--audya-orange); font-weight: 700; font-size: 16px; }
.quiz-cta {
  background: var(--audya-orange);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  border: none; cursor: pointer;
  font-family: var(--font-body);
}
.quiz-cta:hover { background: var(--audya-orange-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(241, 90, 36, 0.4); }
.quiz-visual { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); padding: 28px; backdrop-filter: blur(10px); }
.quiz-visual-score { font-family: var(--font-display); font-size: 64px; font-weight: 600; color: white; line-height: 1; margin-bottom: 8px; }
.quiz-visual-score small { font-size: 28px; color: rgba(255, 255, 255, 0.5); }
.quiz-visual-label { font-size: 13px; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; margin-bottom: 24px; }
.quiz-visual-bar { height: 8px; background: rgba(255, 255, 255, 0.15); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.quiz-visual-bar-fill { height: 100%; background: linear-gradient(90deg, var(--audya-orange) 0%, #FFB088 100%); border-radius: 999px; width: 64%; animation: barGrow 1.6s ease-out; }
@keyframes barGrow { from { width: 0; } }
.quiz-visual-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.5; }

/* ---- Framework block ---- */
.framework {
  max-width: 1080px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 48px;
}
.framework-header { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.framework-icon {
  width: 52px; height: 52px;
  background: var(--audya-blue-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.framework-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.framework-item {
  padding: 20px;
  background: var(--audya-blue-soft);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--audya-blue);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.framework-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--audya-blue-light); }
.framework-item::after {
  content: '';
  position: absolute; top: 16px; right: 16px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23007EA7' stroke-width='1.8' stroke-linecap='round'><path d='M5 9h8M9 5l4 4-4 4'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  transition: all 0.2s;
}
.framework-item:hover::after { opacity: 1; transform: translateX(2px); }
.framework-item-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--audya-blue-dark); margin-bottom: 6px; padding-right: 24px; }
.framework-item-text { font-size: 13.5px; color: var(--audya-text-soft); line-height: 1.5; }

/* ---- Commitment block ---- */
.commitment { text-align: center; max-width: 880px; margin: 0 auto; }
.commitment-lines { display: flex; flex-direction: column; gap: 12px; margin: 32px 0 40px; }
.commitment-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  font-weight: 500;
  color: var(--audya-text);
  line-height: 1.35;
}
.commitment-line strong { color: var(--audya-blue); font-style: normal; font-weight: 600; }
.commitment-text { font-size: 17px; color: var(--audya-text-soft); line-height: 1.55; max-width: 640px; margin: 0 auto 32px; }
.commitment-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Bloc « Prise de contact » (diagnostic + fin de module) ---- */
.hs-form-frame { max-width: 420px; margin: 0 auto; text-align: left; }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header h2 { margin-bottom: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.contact-card {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: 0;
}
.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card > p { font-size: 14.5px; color: var(--audya-text-soft); margin-bottom: 20px; line-height: 1.5; }

/* ---- Section ÉCOSYSTÈME : audio en pivot, 4 acteurs autour ---- */
.ecosystem {
  background: white;
  border-top: 1px solid var(--audya-border);
  border-bottom: 1px solid var(--audya-border);
}
.ecosystem-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.ecosystem-header h2 { margin-bottom: 14px; }
.ecosystem-header p { color: var(--audya-text-soft); }

.ecosystem-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 0;
}

.ecosystem-actors {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ecosystem-actor {
  background: var(--audya-blue-soft);
  border: 1px solid var(--audya-border);
  border-left: 3px solid var(--audya-blue);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: all 0.2s;
}
.ecosystem-actor:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.ecosystem-actors.is-right .ecosystem-actor { border-left: none; border-right: 3px solid var(--audya-blue); flex-direction: row-reverse; text-align: right; }

.ecosystem-actor-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ecosystem-actor-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--audya-text);
  margin-bottom: 2px;
}
.ecosystem-actor-role {
  font-size: 13px;
  color: var(--audya-text-soft);
  line-height: 1.4;
}

.ecosystem-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
.ecosystem-hub {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--audya-blue) 0%, var(--audya-blue-dark) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.ecosystem-hub::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--audya-blue);
  opacity: 0.3;
}
.ecosystem-hub-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.ecosystem-hub-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.85;
  margin-top: 2px;
}

/* Bloc audio + patient — pivot du parcours */
.ecosystem-pivot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 16px 22px 14px;
  background: linear-gradient(180deg, var(--audya-orange-light) 0%, white 100%);
  border: 2px solid var(--audya-orange);
  border-radius: var(--radius-md);
  min-width: 220px;
  text-align: center;
}
.ecosystem-pivot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--audya-orange-dark);
}
.ecosystem-pivot-icon { font-size: 22px; }
.ecosystem-pivot-link {
  font-size: 11px;
  color: var(--audya-orange);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 2px 0;
}
.ecosystem-pivot-tag {
  font-size: 11px;
  color: var(--audya-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  padding-top: 6px;
  border-top: 1px dashed var(--audya-orange);
  width: 100%;
  margin-top: 4px;
}

.ecosystem-link {
  font-size: 11px;
  color: var(--audya-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}

.ecosystem-caption {
  text-align: center;
  margin-top: 36px;
  font-size: 14.5px;
  color: var(--audya-text-soft);
  line-height: 1.55;
  font-style: italic;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .ecosystem-diagram { grid-template-columns: 1fr; gap: 28px; }
  .ecosystem-actors.is-right .ecosystem-actor { border-right: none; border-left: 3px solid var(--audya-blue); flex-direction: row; text-align: left; }
  .ecosystem-actors { gap: 14px; }
  .ecosystem-center { padding: 12px 0; }
}

/* =====================================================================
   MODALES — partagées (utilisées sur home et potentiellement modules)
   ===================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(17, 37, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  animation: overlayFade 0.25s ease-out;
}
.modal-overlay.is-open { display: flex; }
@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalRise 0.3s ease-out;
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  background: linear-gradient(135deg, var(--audya-blue-soft) 0%, var(--audya-blue-light) 100%);
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--audya-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--audya-blue);
  margin-bottom: 10px;
}
.modal-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--audya-text); line-height: 1.25; margin-bottom: 6px; }
.modal-subtitle { font-size: 14.5px; color: var(--audya-text-soft); }

.modal-body { padding: 24px 32px 28px; }
.modal-section { margin-bottom: 22px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--audya-text-muted); margin-bottom: 10px; }
.modal-summary { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--audya-text); line-height: 1.45; font-style: italic; }
.modal-list { list-style: none; padding: 0; }
.modal-list li { position: relative; padding: 8px 0 8px 26px; font-size: 14.5px; color: var(--audya-text); line-height: 1.5; }
.modal-list li::before {
  content: ''; position: absolute;
  left: 4px; top: 16px;
  width: 6px; height: 6px;
  background: var(--audya-orange);
  border-radius: 50%;
}
.modal-implication {
  background: var(--audya-blue-soft);
  border-left: 3px solid var(--audya-blue);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--audya-text);
  line-height: 1.55;
}
.modal-implication strong { color: var(--audya-blue-dark); }

.modal-footer { padding: 16px 32px 24px; border-top: 1px solid var(--audya-border-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.modal-source { font-size: 12.5px; color: var(--audya-text-muted); font-style: italic; }
.modal-source a { color: var(--audya-blue); text-decoration: none; }
.modal-source a:hover { text-decoration: underline; }

.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--audya-text-soft);
  transition: all 0.2s;
  z-index: 2;
}
.modal-close:hover { background: white; color: var(--audya-text); transform: rotate(90deg); box-shadow: var(--shadow-sm); }

/* =====================================================================
   MODULES — STYLES PARTAGÉS (trame Claire en 13 blocs)
   ===================================================================== */

/* ---- Module hero ---- */
.module-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--audya-blue-soft) 0%, var(--audya-bg) 100%);
  border-bottom: 1px solid var(--audya-border);
}
.module-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--audya-text-muted);
  margin-bottom: 20px;
}
.module-breadcrumb a { color: var(--audya-text-muted); text-decoration: none; transition: color 0.2s; }
.module-breadcrumb a:hover { color: var(--audya-blue); }
.module-breadcrumb-sep { opacity: 0.5; }

.module-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.module-hero-num {
  width: 44px; height: 44px;
  background: var(--audya-blue);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
}
.module-hero-duration {
  font-size: 13px; font-weight: 500;
  color: var(--audya-text-muted);
  background: white;
  border: 1px solid var(--audya-border);
  padding: 5px 12px;
  border-radius: 999px;
}

.module-hero-title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; max-width: 760px; }
.module-hero-claim {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--audya-orange);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.4;
}

/* ---- Module section générique ---- */
.module-section { padding: 48px 0; }
.module-section-bg { background: white; border-top: 1px solid var(--audya-border-soft); border-bottom: 1px solid var(--audya-border-soft); }
.module-section-title-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.module-section-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--audya-orange);
  line-height: 1;
  font-style: italic;
}
.module-section-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 0; }

/* ---- Bloc objectifs ---- */
.objectives-list { list-style: none; padding: 0; margin-top: 14px; }
.objectives-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 16px;
  color: var(--audya-text);
  line-height: 1.5;
}
.objectives-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 22px; height: 22px;
  background: var(--audya-blue-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23007EA7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 11.5l3.5 3.5L16 8'/></svg>");
  background-size: 22px;
  background-position: center;
}

/* ---- Messages clés ---- */
.key-msgs { display: grid; gap: 14px; margin-top: 16px; }
.key-msg {
  padding: 18px 22px;
  background: var(--audya-bg-soft);
  border-left: 3px solid var(--audya-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.key-msg-statement { font-weight: 600; font-size: 16.5px; color: var(--audya-text); line-height: 1.45; margin-bottom: 4px; }
.key-msg-explanation { font-size: 15px; color: var(--audya-text-soft); line-height: 1.5; padding-left: 22px; position: relative; }
.key-msg-explanation::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--audya-orange);
  font-weight: 700;
}

/* ---- Auto-évaluation 🔴🟠🟢 ---- */
.assess { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.assess-item { padding: 22px; background: white; border: 1px solid var(--audya-border); border-radius: var(--radius-md); border-top-width: 4px; }
.assess-item.is-red { border-top-color: var(--audya-red); }
.assess-item.is-amber { border-top-color: var(--audya-amber); }
.assess-item.is-green { border-top-color: var(--audya-green); }
.assess-icon { font-size: 22px; margin-bottom: 8px; }
.assess-label { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--audya-text); margin-bottom: 6px; }
.assess-text { font-size: 14px; color: var(--audya-text-soft); line-height: 1.5; }

/* ---- Bloc scène / exemple terrain ---- */
.scene {
  background: linear-gradient(135deg, var(--audya-blue-soft) 0%, white 100%);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 14px;
  border: 1px solid var(--audya-border);
}
.scene-label {
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--audya-blue);
  margin-bottom: 14px;
}
.scene-narration {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-style: italic;
  color: var(--audya-text);
  line-height: 1.55;
  margin-bottom: 18px;
  border-left: 3px solid var(--audya-orange);
  padding-left: 16px;
}
.scene-consequences { padding-left: 0; }
.scene-consequences li {
  list-style: none;
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15px;
  color: var(--audya-text);
  line-height: 1.5;
}
.scene-consequences li::before {
  content: '↳';
  position: absolute;
  left: 6px;
  color: var(--audya-orange);
  font-weight: 700;
}
.scene-conclusion {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--audya-border);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--audya-text);
  line-height: 1.5;
}

/* ---- Pièges / erreurs fréquentes (ton non-culpabilisant) ---- */
.errors-list, .pitfalls-list { list-style: none; padding: 0; margin-top: 14px; }
.errors-list li, .pitfalls-list li {
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px dashed var(--audya-border-soft);
}
.errors-list li:last-child, .pitfalls-list li:last-child { border-bottom: none; }
.errors-list li::before, .pitfalls-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--audya-orange-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'><text x='14' y='20' text-anchor='middle' font-family='Fraunces, Georgia, serif' font-size='17' font-weight='600' fill='%23F15A24' font-style='italic'>?</text></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.pitfall-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--audya-text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.pitfall-title::after {
  content: ' :';
  color: var(--audya-orange);
  font-weight: 700;
}
.errors-list li .err-explain, .pitfalls-list li .err-explain {
  display: block;
  font-size: 14.5px;
  color: var(--audya-text-soft);
  line-height: 1.55;
  font-style: italic;
}
.pitfalls-intro {
  font-size: 15.5px;
  color: var(--audya-text-soft);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 6px;
  padding-left: 4px;
  border-left: 2px solid var(--audya-orange-light);
  padding-left: 14px;
}

/* ---- Cas pratique ---- */
.practice {
  background: white;
  border: 2px solid var(--audya-orange);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 14px;
  position: relative;
}
.practice-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--audya-orange);
  color: white;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 999px;
}
.practice-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--audya-text); margin: 8px 0 14px; }
.practice-context { font-size: 15.5px; color: var(--audya-text); margin-bottom: 14px; line-height: 1.55; }
.practice-content ul { list-style: none; padding: 0; }
.practice-content li { padding: 6px 0 6px 22px; font-size: 14.5px; color: var(--audya-text-soft); position: relative; }
.practice-content li::before { content: '•'; position: absolute; left: 8px; color: var(--audya-orange); font-weight: 700; }
.practice-question {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--audya-orange-light);
  border-radius: var(--radius-sm);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--audya-text);
}

/* ---- AUDYA spotlight ---- */
.audya-spotlight {
  background: linear-gradient(135deg, var(--audya-blue) 0%, var(--audya-blue-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
}
.audya-spotlight::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.audya-spotlight-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.audya-spotlight-title { color: white; font-size: 22px; margin-bottom: 14px; }
.audya-spotlight-text { color: rgba(255, 255, 255, 0.92); font-size: 15.5px; line-height: 1.6; margin-bottom: 14px; }
.audya-spotlight-list { list-style: none; padding: 0; margin: 14px 0; }
.audya-spotlight-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
}
.audya-spotlight-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}
.audya-spotlight-result {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 16.5px;
  color: white;
  font-style: italic;
}
.audya-spotlight-result strong { color: white; font-style: normal; font-weight: 600; }
.audya-spotlight-video-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ---- Mise en application directe ---- */
.action-rules { display: grid; gap: 14px; margin-top: 14px; }
.action-rule {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.action-rule-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: white;
  background: var(--audya-blue);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.action-rule-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--audya-text); margin-bottom: 4px; }
.action-rule-text { font-size: 15px; color: var(--audya-text-soft); line-height: 1.55; }

/* ---- Pièges / situations à anticiper (.traps) — modules 2, 4, 5 ---- */
.traps { display: grid; gap: 14px; margin-top: 14px; }
.trap {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
}
.trap-marker {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: white;
  background: var(--audya-orange);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trap-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--audya-text); margin-bottom: 4px; }
.trap-text { font-size: 15px; color: var(--audya-text-soft); line-height: 1.55; }

/* ---- Timeline "Ce que ça change demain" ---- */
.timeline { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.timeline-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  position: relative;
}
.timeline-card-when {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--audya-orange);
  margin-bottom: 10px;
}
.timeline-card-action { font-size: 15px; color: var(--audya-text); line-height: 1.5; font-weight: 500; }

/* ---- Quiz validation simple ---- */
.quiz-validation {
  background: var(--audya-blue-soft);
  border: 1px solid var(--audya-blue-light);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 14px;
  text-align: center;
}
.quiz-validation-icon { font-size: 28px; margin-bottom: 10px; }
.quiz-validation-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--audya-text); margin-bottom: 8px; }
.quiz-validation-text { font-size: 15px; color: var(--audya-text-soft); margin-bottom: 18px; }

/* ---- Conclusion ---- */
.conclusion {
  background: linear-gradient(180deg, white 0%, var(--audya-bg-soft) 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 14px;
  border-top: 3px solid var(--audya-orange);
}
.conclusion-text {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--audya-text);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 14px;
}
.conclusion-list { list-style: none; padding: 0; margin: 14px 0; }
.conclusion-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 15px;
  color: var(--audya-text);
  line-height: 1.5;
}
.conclusion-list li::before {
  content: '→';
  position: absolute;
  left: 4px;
  color: var(--audya-orange);
  font-weight: 700;
}
.conclusion-final {
  margin-top: 18px;
  padding: 14px 18px;
  background: white;
  border-left: 3px solid var(--audya-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15.5px;
  color: var(--audya-text);
  line-height: 1.55;
}
.conclusion-final strong { color: var(--audya-blue-dark); }

/* ---- Fin de la formation théorique (transition vers les cas pratiques) ---- */
.theory-complete {
  background: linear-gradient(135deg, var(--audya-blue) 0%, var(--audya-blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  color: white;
}
.theory-complete-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}
.theory-complete-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}
.theory-complete-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 12px;
}
.theory-complete-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.theory-complete-actions .btn-primary { background: white; color: var(--audya-blue-dark); }
.theory-complete-actions .btn-primary:hover { background: rgba(255, 255, 255, 0.88); }
.theory-complete-actions .btn-secondary { background: rgba(255, 255, 255, 0.12); color: white; border-color: rgba(255, 255, 255, 0.4); }
.theory-complete-actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.22); border-color: white; }
@media (max-width: 600px) {
  .theory-complete { padding: 32px 22px; }
  .theory-complete-title { font-size: 22px; }
}

/* ---- Livrable ---- */
.deliverable {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 22px;
  align-items: center;
}
.deliverable-icon {
  width: 56px; height: 56px;
  background: var(--audya-orange-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.deliverable-info-label { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--audya-orange); margin-bottom: 4px; }
.deliverable-info-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--audya-text); margin-bottom: 4px; }
.deliverable-info-format { font-size: 13.5px; color: var(--audya-text-soft); }

/* ---- Navigation entre modules (en bas) ---- */
.module-nav {
  border-top: 1px solid var(--audya-border);
  padding: 32px 0 56px;
  background: white;
}
.module-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module-nav-link {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  background: var(--audya-bg-soft);
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.module-nav-link:hover { border-color: var(--audya-blue); background: var(--audya-blue-soft); transform: translateY(-1px); }
.module-nav-link.is-next { justify-content: flex-end; text-align: right; }
.module-nav-meta { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--audya-text-muted); margin-bottom: 4px; }
.module-nav-title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--audya-text); line-height: 1.3; }
.module-nav-arrow { color: var(--audya-text-muted); transition: all 0.2s; flex-shrink: 0; }
.module-nav-link:hover .module-nav-arrow { color: var(--audya-blue); }

/* =====================================================================
   MODULE 6 — CAS CLINIQUE NARRATIF
   Timeline temporelle + encadrés réflexifs + témoignage
   ===================================================================== */

/* Hero du cas clinique - signature visuelle distincte */
.case-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--audya-orange-light) 0%, var(--audya-bg) 100%);
  border-bottom: 1px solid var(--audya-border);
}
.case-hero .module-hero-num {
  background: var(--audya-orange);
}

/* Carte de présentation du patient (en haut du module) */
.patient-card {
  background: white;
  border: 1px solid var(--audya-border);
  border-left: 4px solid var(--audya-orange);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}
.patient-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--audya-orange-light) 0%, var(--audya-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}
.patient-info-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--audya-text);
  margin-bottom: 4px;
}
.patient-info-summary {
  font-size: 15px;
  color: var(--audya-text-soft);
  margin-bottom: 14px;
  line-height: 1.5;
}
.patient-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.patient-tag {
  font-size: 12.5px;
  font-weight: 600;
  background: var(--audya-blue-light);
  color: var(--audya-blue-dark);
  padding: 5px 12px;
  border-radius: 999px;
}
.patient-tag.is-warning {
  background: var(--audya-amber-light);
  color: #9C6A14;
}

/* Timeline chronologique - le métronome temporel */
.case-timeline {
  position: relative;
  padding: 40px 0 20px;
}
.case-timeline::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 60px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--audya-orange) 0%, var(--audya-blue) 100%);
  opacity: 0.25;
}

.case-phase {
  position: relative;
  padding: 0 0 40px 96px;
}
.case-phase:last-child { padding-bottom: 0; }

.case-phase-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid var(--audya-orange);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.case-phase-marker-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--audya-orange);
  letter-spacing: -0.3px;
  line-height: 1;
}
.case-phase-marker-label {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--audya-orange);
  margin-top: 2px;
}

.case-phase-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--audya-text);
  margin-bottom: 6px;
  line-height: 1.25;
  padding-top: 8px;
}
.case-phase-tagline {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--audya-orange);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 18px;
}

.case-phase-narration {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--audya-text);
  line-height: 1.65;
}
.case-phase-narration p { margin-bottom: 12px; }
.case-phase-narration p:last-child { margin-bottom: 0; }
.case-phase-narration em { color: var(--audya-text-soft); font-style: italic; }
.case-phase-narration strong { color: var(--audya-blue-dark); font-weight: 600; }

/* Bloc "Ce qu'AUDYA a permis" pour chaque phase - taille modulée */
.case-audya-action {
  background: var(--audya-blue-soft);
  border-left: 3px solid var(--audya-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 22px;
  margin-bottom: 14px;
}
.case-audya-action-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--audya-blue);
  margin-bottom: 8px;
}
.case-audya-action-list { list-style: none; padding: 0; }
.case-audya-action-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 14.5px;
  color: var(--audya-text);
  line-height: 1.5;
}
.case-audya-action-list li::before {
  content: '→';
  position: absolute;
  left: 4px;
  color: var(--audya-blue);
  font-weight: 700;
}

/* Question réflexive - pause de réflexion */
.case-reflexion {
  background: white;
  border: 1.5px dashed var(--audya-orange);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.case-reflexion-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--audya-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--audya-orange);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
}
.case-reflexion-content { flex: 1; }
.case-reflexion-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--audya-orange);
  margin-bottom: 4px;
}
.case-reflexion-question {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-style: italic;
  font-weight: 500;
  color: var(--audya-text);
  line-height: 1.45;
}

/* Grille récapitulative finale */
.case-recap {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 18px;
}
.case-recap-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.4fr;
  border-bottom: 1px solid var(--audya-border-soft);
}
.case-recap-row:last-child { border-bottom: none; }
.case-recap-row.is-header {
  background: var(--audya-bg-soft);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--audya-text-muted);
}
.case-recap-cell {
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--audya-text);
  line-height: 1.5;
  border-right: 1px solid var(--audya-border-soft);
}
.case-recap-cell:last-child { border-right: none; }
.case-recap-row.is-header .case-recap-cell { padding: 12px 20px; color: var(--audya-text-muted); }
.case-recap-cell.is-when {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--audya-orange);
  background: var(--audya-orange-light);
}
.case-recap-row.is-header .case-recap-cell.is-when { background: var(--audya-bg-soft); color: var(--audya-text-muted); }
.case-recap-cell strong { color: var(--audya-blue-dark); font-weight: 600; }

/* Témoignage final */
.case-testimony {
  background: linear-gradient(135deg, var(--audya-blue-soft) 0%, var(--audya-orange-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-top: 18px;
  position: relative;
}
.case-testimony::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 24px;
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--audya-orange);
  line-height: 1;
  opacity: 0.4;
  font-weight: 700;
}
.case-testimony-text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-style: italic;
  font-weight: 500;
  color: var(--audya-text);
  line-height: 1.55;
  margin-bottom: 18px;
  padding-top: 28px;
}
.case-testimony-author {
  font-size: 14px;
  color: var(--audya-text-soft);
  font-weight: 600;
}
.case-testimony-author small {
  display: block;
  font-weight: 400;
  color: var(--audya-text-muted);
  margin-top: 2px;
  font-size: 13px;
}

/* Note pédagogique en bas */
.case-pedagogy-note {
  background: var(--audya-bg-soft);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--audya-text-soft);
  line-height: 1.6;
  border-left: 3px solid var(--audya-text-muted);
}
.case-pedagogy-note strong { color: var(--audya-text); }

/* Responsive Module 6 */
@media (max-width: 900px) {
  .case-timeline::before { left: 27px; top: 56px; }
  .case-phase { padding-left: 76px; }
  .case-phase-marker { width: 56px; height: 56px; }
  .case-phase-marker-num { font-size: 14px; }
  .case-phase-marker-label { font-size: 8.5px; }
  .case-recap-row { grid-template-columns: 90px 1fr; }
  .case-recap-cell:nth-child(2) { display: none; }
  .case-recap-row.is-header .case-recap-cell:nth-child(3) { border-left: 1px solid var(--audya-border-soft); }
  .patient-card { grid-template-columns: 64px 1fr; gap: 18px; padding: 22px; }
  .patient-avatar { width: 64px; height: 64px; font-size: 30px; }
}
@media (max-width: 600px) {
  .case-testimony { padding: 28px 22px; }
  .case-testimony::before { font-size: 70px; }
  .case-recap-row { grid-template-columns: 1fr; }
  .case-recap-cell { border-right: none; }
  .case-recap-cell.is-when { padding: 10px 20px; }
}

/* =====================================================================
   ANIMATIONS UTILITAIRES
   ===================================================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.6s ease-out backwards; }

/* =====================================================================
   ARCHITECTURE AUDYA — 2 cartes : AUDYA 360 + AUDYA TeX
   ===================================================================== */
.architecture {
  background: var(--audya-bg);
  border-bottom: 1px solid var(--audya-border);
}
.architecture-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.architecture-header h2 { margin-bottom: 14px; }
.architecture-header p { color: var(--audya-text-soft); font-size: 16px; line-height: 1.55; }

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.arch-card {
  background: white;
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s;
}
.arch-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.arch-card.is-360 { border-top: 4px solid var(--audya-blue); }
.arch-card.is-tex { border-top: 4px solid var(--audya-orange); }

.arch-card-header { display: flex; align-items: center; gap: 14px; }
.arch-card-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: white;
}
.arch-card.is-360 .arch-card-pill { background: var(--audya-blue); }
.arch-card.is-tex .arch-card-pill { background: var(--audya-orange); }
.arch-card-tagline {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--audya-text-muted);
}

.arch-card-purpose {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--audya-text);
  line-height: 1.35;
}

.arch-card-list { list-style: none; padding: 0; }
.arch-card-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14.5px;
  color: var(--audya-text);
  line-height: 1.5;
}
.arch-card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 2px;
  border-radius: 999px;
}
.arch-card.is-360 .arch-card-list li::before { background: var(--audya-blue); }
.arch-card.is-tex .arch-card-list li::before { background: var(--audya-orange); }

.arch-card-scope {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--audya-border);
  font-size: 13px;
  color: var(--audya-text-muted);
  font-style: italic;
  line-height: 1.5;
}
.arch-card-scope strong { color: var(--audya-text-soft); font-style: normal; font-weight: 600; }

@media (max-width: 900px) {
  .architecture-grid { grid-template-columns: 1fr; gap: 16px; }
}


@media (max-width: 900px) {
  .nav-tabs { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards { height: 380px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .quiz-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .framework-grid { grid-template-columns: 1fr; }
  .module-card { grid-template-columns: 48px 1fr auto; gap: 16px; padding: 18px 20px; }
  .module-arrow { display: none; }
  .assess { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .module-nav-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .container, .container-narrow, .container-module { padding: 0 20px; }
  .hero { padding: 48px 0 32px; }
  .hero-cards { height: 340px; transform: scale(0.85); }
  .hero-card { width: 280px; padding: 18px; }
  .quiz-section { padding: 36px 24px; margin: 32px 16px; }
  .framework { padding: 28px 20px; }
  .steps-row { grid-template-columns: 1fr; }
  .modal-header { padding: 22px 22px 18px; }
  .modal-body { padding: 20px 22px 22px; }
  .modal-footer { padding: 14px 22px 20px; }
  .modal-title { font-size: 20px; }
  .module-section { padding: 36px 0; }
  .audya-spotlight { padding: 26px 22px; }
  .deliverable { grid-template-columns: 1fr; text-align: center; }
}

/* =============================================================
   AUDYA — Ajouts formation socle v2
   Badges réglementaires · Quiz · Progression · Exercices
   ============================================================= */

/* ── Badges réglementaires (4 types) ─────────────────────── */
.badge-regl,
.badge-pratique,
.badge-audya-reco,
.badge-audya-feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  vertical-align: middle;
  margin-bottom: 2px;
}

/* Bleu foncé — Exigence réglementaire */
.badge-regl {
  background: #1A3A4A;
  color: #fff;
}
.badge-regl::before { content: '⚖️ '; }

/* Bleu clair — Bonne pratique professionnelle */
.badge-pratique {
  background: #D4EEF6;
  color: #0E5A74;
  border: 1px solid #9DD2E8;
}
.badge-pratique::before { content: '✓ '; }

/* Orange — Recommandation AUDYA */
.badge-audya-reco {
  background: rgba(241,90,36,0.1);
  color: #C84A10;
  border: 1px solid rgba(241,90,36,0.3);
}
.badge-audya-reco::before { content: '◆ '; }

/* Vert — Fonctionnalité AUDYA */
.badge-audya-feature {
  background: #E6F4EC;
  color: #1A7A42;
  border: 1px solid #9ACFB0;
}
.badge-audya-feature::before { content: '⬡ '; }

/* Légende badges (bloc compact) */
.badges-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #F5F8FA;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--audya-text-soft);
}

/* ── Moteur quiz (aq-*) ───────────────────────────────────── */
[data-quiz] {
  background: white;
  border: 1px solid var(--audya-border, #D0DDE2);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 24px;
}

.aq-header { margin-bottom: 20px; }
.aq-badge {
  display: inline-block;
  background: var(--audya-blue, #1A7FA8);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.aq-title { font-size: 18px; font-weight: 700; color: var(--audya-text); margin: 6px 0 4px; }
.aq-subtitle { font-size: 13.5px; color: var(--audya-text-soft); margin: 0; }

.aq-progress-bar {
  height: 6px;
  background: #E5EEF2;
  border-radius: 999px;
  margin-bottom: 12px;
  overflow: hidden;
}
.aq-progress-fill {
  height: 100%;
  background: var(--audya-blue, #1A7FA8);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.aq-counter { font-size: 12.5px; color: var(--audya-text-soft); margin-bottom: 16px; }

.aq-q-text { font-size: 16px; font-weight: 600; color: var(--audya-text); margin-bottom: 16px; line-height: 1.5; }

.aq-options { list-style: none; padding: 0; margin: 0 0 16px 0; display: flex; flex-direction: column; gap: 10px; }
.aq-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--audya-border, #D0DDE2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--audya-text);
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.4;
}
.aq-label:hover { border-color: var(--audya-blue, #1A7FA8); background: #F0F8FC; }
.aq-input { flex-shrink: 0; margin-top: 2px; accent-color: var(--audya-blue, #1A7FA8); }

.aq-option.aq-correct .aq-label { border-color: #1A7A42; background: #E6F4EC; font-weight: 600; }
.aq-option.aq-wrong .aq-label   { border-color: #C84A10; background: #FDEEE9; }

.aq-feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.aq-feedback-ok  { background: #E6F4EC; color: #1A7A42; border: 1px solid #9ACFB0; }
.aq-feedback-err { background: #FDEEE9; color: #C84A10; border: 1px solid #F0B8A0; }

.aq-submit { margin-top: 4px; }

/* Résultat */
.aq-result { padding-top: 8px; }
.aq-score {
  text-align: center;
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.aq-passed { background: #E6F4EC; border: 1px solid #9ACFB0; }
.aq-failed { background: #FDEEE9; border: 1px solid #F0B8A0; }
.aq-score-num { font-size: 48px; font-weight: 700; line-height: 1; }
.aq-passed .aq-score-num { color: #1A7A42; }
.aq-failed .aq-score-num { color: #C84A10; }
.aq-score-label { font-size: 14px; color: var(--audya-text-soft); margin-top: 6px; }
.aq-result-msg { font-size: 15px; margin-bottom: 16px; line-height: 1.5; }
.aq-retry { margin-right: 8px; }

/* ── Barre de progression globale ─────────────────────────── */
.global-progress-wrap {
  background: #EEF4F6;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.global-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--audya-text-soft);
  margin-bottom: 8px;
}
.global-progress-bar-track {
  height: 8px;
  background: #D0DDE2;
  border-radius: 999px;
  overflow: hidden;
}
.global-progress-bar-fill {
  height: 100%;
  background: var(--audya-blue, #1A7FA8);
  border-radius: 999px;
  transition: width 0.4s ease;
  width: 0%;
}

/* Pastilles statut module */
.status-not-started { color: var(--audya-text-soft); font-size: 12px; }
.status-visited      { color: #C17B10; font-size: 12px; font-weight: 600; }
.status-validated    { color: #1A7A42; font-size: 12px; font-weight: 700; }

/* Bouton final bloqué */
.btn-locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.final-lock-hint {
  font-size: 13px;
  color: var(--audya-text-soft);
  margin-top: 8px;
  display: none;
}

/* ── Navigation simple bas de page (retour / suivant) ─────── */
.module-nav-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--audya-border, #D0DDE2);
  margin-top: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.module-nav-center { font-size: 13px; color: var(--audya-text-soft); text-align: center; flex: 1; }

/* ── Encart exercice pratique AUDYA ───────────────────────── */
.practice-block {
  background: linear-gradient(135deg, #F0F8FC 0%, #EEF4F6 100%);
  border: 1.5px solid #9DD2E8;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
}
.practice-block-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--audya-blue, #1A7FA8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.practice-task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--audya-text);
  line-height: 1.5;
  margin-bottom: 8px;
}
.practice-task input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; accent-color: var(--audya-blue, #1A7FA8); }
.practice-done-label {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--audya-text-soft);
}
.practice-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--audya-text);
  font-weight: 500;
}
.practice-confirm input[type="checkbox"] { accent-color: var(--audya-blue, #1A7FA8); }

/* ── Mention conformité (bas de module réglementaire) ─────── */
.compliance-notice {
  font-size: 12.5px;
  color: var(--audya-text-soft);
  border-top: 1px solid var(--audya-border, #D0DDE2);
  padding-top: 12px;
  margin-top: 20px;
  line-height: 1.6;
}

/* ── Responsive quiz ──────────────────────────────────────── */
@media (max-width: 600px) {
  [data-quiz] { padding: 18px 16px; }
  .aq-score-num { font-size: 36px; }
  .module-nav-simple { flex-direction: column; align-items: stretch; }
  .module-nav-simple .btn { text-align: center; }
}

/* =====================================================================
   MODALE "FORMATION" RÉUTILISABLE — composant .fm-*
   Généralisé depuis module-3-diapo-prototype.html (validé)
   Utilisé par audya-modal.js sur les modules 1 à 5
   ===================================================================== */
.fm-cta-block {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px 8px;
  text-align: center;
}
.fm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--audya-orange);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.fm-cta-btn:hover { background: var(--audya-orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.fm-cta-badge {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--audya-text-muted);
}
.fm-cta-badge.is-done { color: #1A7A42; font-weight: 600; }
.fm-cta-badge.is-done::before { content: '✓ '; }

.fm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 37, 42, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fm-overlay.is-open { display: flex; }

.fm-modal {
  background: var(--audya-bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1040px;
  height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.fm-modal-header {
  padding: 16px 24px 12px;
  background: white;
  border-bottom: 1px solid var(--audya-border);
}
.fm-modal-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}
.fm-modal-title { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--audya-blue); }
.fm-modal-label { font-size: 13px; font-weight: 600; color: var(--audya-text-soft); white-space: nowrap; }
.fm-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--audya-bg-soft);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--audya-text-soft);
  flex-shrink: 0;
  transition: all 0.2s;
}
.fm-modal-close:hover { background: var(--audya-border); color: var(--audya-text); }
.fm-modal-track-bar { height: 5px; background: var(--audya-border); border-radius: 999px; overflow: hidden; }
.fm-modal-track-fill { height: 100%; background: linear-gradient(90deg, var(--audya-blue), var(--audya-orange)); border-radius: 999px; transition: width 0.35s ease; }

.fm-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0; background: white; border-bottom: 1px solid var(--audya-border); flex-wrap: wrap; }
.fm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--audya-border); cursor: pointer; border: none; padding: 0; transition: all 0.2s; }
.fm-dot:hover { background: var(--audya-blue-light); }
.fm-dot.is-active { background: var(--audya-blue); width: 22px; border-radius: 4px; }

.fm-viewport { flex: 1; overflow: hidden; position: relative; }
.fm-track { display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.fm-slide { min-width: 100%; height: 100%; overflow-y: auto; padding: 32px 0 60px; box-sizing: border-box; }
.fm-slide-inner { max-width: 780px; margin: 0 auto; padding: 0 64px; }

.fm-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: white; border: 1px solid var(--audya-border); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  z-index: 10; transition: all 0.2s; color: var(--audya-blue);
}
.fm-arrow:hover { background: var(--audya-blue); color: white; }
.fm-arrow:disabled { opacity: 0.25; cursor: not-allowed; }
.fm-arrow:disabled:hover { background: white; color: var(--audya-blue); }
.fm-arrow-prev { left: 12px; }
.fm-arrow-next { right: 12px; }

.fm-modal-footer {
  padding: 12px 24px;
  background: white;
  border-top: 1px solid var(--audya-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.fm-modal-footer-hint { font-size: 12.5px; color: var(--audya-text-muted); }

@media (max-width: 700px) {
  .fm-modal { height: 92vh; border-radius: var(--radius-md); }
  .fm-arrow { display: none; }
  .fm-dots { display: none; }
  .fm-slide { padding: 20px 0 40px; }
  .fm-slide-inner { padding: 0 20px; }
}

/* =====================================================================
   USAGE DANS AUDYA•360 — section fin de module
   ===================================================================== */
.usage360-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.usage360-grid.is-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.usage360-video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--audya-bg-soft);
  border: 1.5px dashed var(--audya-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--audya-text-muted);
  text-align: center;
  padding: 20px;
}
.usage360-video-placeholder svg { color: var(--audya-blue); opacity: 0.5; }
.usage360-video-placeholder-title { font-size: 14px; font-weight: 600; color: var(--audya-text-soft); }
.usage360-video-placeholder-text { font-size: 12.5px; max-width: 260px; line-height: 1.5; }
@media (max-width: 700px) {
  .usage360-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CAPTURE CERTIFICAT — quiz réussi (≥80 %)
   ===================================================================== */
.aq-cert-capture {
  margin-top: 20px;
  padding: 22px 24px;
  background: var(--audya-blue-soft);
  border: 1px solid var(--audya-border);
  border-radius: var(--radius-md);
}
.aq-cert-capture-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--audya-text); margin-bottom: 6px; }
.aq-cert-capture-text { font-size: 13.5px; color: var(--audya-text-soft); margin-bottom: 14px; line-height: 1.5; }
