@charset "UTF-8";
/* ==========================================================================
   MAIN SCSS - oljen.fr
   ========================================================================== */
/* 1. ABSTRACTS */
/* ==========================================================================
   VARIABLES CSS - Projet oljen.fr
   ========================================================================== */
:root {
  /* Couleurs principales */
  --vert-canard: #35575A;
  --vert-canard-rgb: 53, 87, 90;
  --vert-canard-clair: #BAD4D7;
  --vert-nuit: #1B2B2D;
  --noir: #000000;
  --or: #E8BB8B;
  --or-rgb: 232, 187, 139;
  --or-clair: #F4DCC3;
  --or-fonce: #96632D;
  /* Couleurs neutres */
  --blanc: #FFFFFF;
  --blanc-rgb: 255, 255, 255;
  --fond: #F6F6F6;
  --texte: #2D3748;
  --texte-leger: #718096;
  /* Couleurs d'interface */
  --bleu-lien: #053d96;
  --gris-border: #E2E8F0;
  --input-placeholder: #A0AEC0;
  /* Typographie */
  --font-titre: 'Inknut Antiqua', Georgia, serif;
  --font-corps: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Font-weights */
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* Tailles de police (7 niveaux) */
  --text-xs: 0.625rem;
  /* 10px */
  --text-s: 0.875rem;
  /* 14px */
  --text-base: 1.125rem;
  /* 18px */
  --text-lg: 1.375rem;
  /* 22px */
  --text-xl: 1.75rem;
  /* 28px */
  --text-2xl: 2.25rem;
  /* 36px */
  --text-3xl: 3rem;
  /* 48px */
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-xxl: 5rem;
  /* Layout */
  --max-width: 1200px;
  --header-height: 75px;
  /* Carousel */
  --carousel-arrow-size: 38px;
  /* Content Blocks */
  --content-block-max-width: 950px;
  --content-block-padding-h: 20px;
  --content-block-gap: 30px;
  --content-block-gap-mobile: 20px;
  --section-title-padding-v: var(--space-xl);
  --section-padding-v: var(--space-xl);
  --section-rule: rgba(53, 87, 90, 0.12);
  /* Content Blocks - Typographie */
  --h1-size: 2rem;
  /* 32px */
  --h2-size-desktop: 2.125rem;
  /* 34px */
  --h2-size-mobile: 1.875rem;
  /* 30px */
  --text-size-desktop: 1.125rem;
  /* 18px */
  --text-size-mobile: 1rem;
  /* 16px */
  /* Cards */
  --card-padding: var(--space-lg);
  --card-padding-tablet: var(--space-md);
  --card-padding-mobile: 1.25rem;
  /* Typographie - Ratios */
  --line-height-title: 1.2;
  --line-height-content: 1.6;
  /* Transitions */
  --transition: all 0.25s ease;
  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-footer: 0 -4px 12px rgba(0, 0, 0, 0.25);
  --shadow-coffret: 0 14px 48px rgba(0, 0, 0, 0.22), 0 3px 10px rgba(0, 0, 0, 0.12);
  /* Border radius - Coins carrés (modifiable globalement) */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-circle: 50%; }

/* ==========================================================================
   RESPONSIVE - Tailles de police mobile
   ========================================================================== */
@media (max-width: 599px) {
  :root {
    --text-xs: 0.5rem;
    --text-s: 0.75rem;
    --text-base: 0.9375rem;
    --text-lg: 1.125rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem; } }

/* ==========================================================================
   MIXINS - oljen.fr
   ========================================================================== */
/* Texture de bruit SVG sur fond vert canard.
   $opacity : intensité du grain (0.3 par défaut, 0.5 pour le header).
   Requiert que l'élément appelant soit positionné (position != static). */
/* 2. BASE */
/* ==========================================================================
   RESET CSS - Projet oljen.fr
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: var(--font-corps);
  background: var(--fond);
  color: var(--texte);
  line-height: var(--line-height-content); }

h1, h2, h3 {
  line-height: var(--line-height-title); }

ul, ol, li {
  line-height: var(--line-height-content);
  margin-bottom: 0 !important; }

main strong,
main em {
  font-weight: var(--font-weight-semibold);
  font-style: normal; }

main a {
  color: var(--bleu-lien);
  font-weight: var(--font-weight-semibold);
  font-style: normal;
  text-decoration: none;
  transition: var(--transition); }

main a:hover {
  color: var(--or); }

/* ==========================================================================
   SYSTÈME D'ESPACEMENT VERTICAL

   PAGES AVEC SECTIONS ALTERNÉES (.sections-page) :
     L'espacement inter-sections vient du padding de la <section> elle-même.
     La <section> porte aussi le fond coloré et la ligne de séparation.
     Le .section-title-block n'a plus margin-top ni background dans ce contexte.
     Exclusions : .formation-hero, .hero ont leur propre traitement et ne
     reçoivent pas le padding ni la bordure alternée.

   AUTRES PAGES :
     L'espacement inter-sections vient de .section-title-block via :
       - margin-top: --section-title-padding-v
       - padding-bottom: --section-title-padding-v
   ========================================================================== */
/* ==========================================================================
   ESPACEMENT APRÈS HEADER
   ========================================================================== */
.nav-overlay + .hero,
.nav-overlay + .formation-hero,
.nav-overlay + main {
  padding-top: var(--space-xl); }

.nav-overlay + .promo-banner + .hero,
.nav-overlay + .promo-banner + .formation-hero,
.nav-overlay + .promo-banner + main {
  padding-top: 0; }

.nav-overlay + main:has(> .hero:first-child),
.nav-overlay + main:has(> .formation-hero:first-child),
.nav-overlay + main:has(> .youtube-hero:first-child) {
  padding-top: 0; }

/* ==========================================================================
   ESPACEMENT DES SECTIONS — pages avec sections alternées (.sections-page)

   Sélecteur d'exclusion : :not(.formation-hero):not(.hero)
   Ces éléments ont leur propre traitement visuel et sont exclus du système
   de padding, fond et bordure alterné.
   ========================================================================== */
.sections-page > section:not(.formation-hero):not(.hero) {
  scroll-margin-top: var(--header-height);
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v); }

.sections-page > section.section--odd {
  background-color: var(--blanc); }

.sections-page > section.section--even {
  background-color: var(--fond); }

.sections-page > section:not(.formation-hero):not(.hero) .section-title-block {
  margin-top: 0;
  background: transparent; }

.sections-page > section:not(.formation-hero):not(.hero) + section:not(.formation-hero):not(.hero) {
  border-top: 1px solid var(--section-rule); }

.sections-page > section:not(.formation-hero):not(.hero) > *:last-child {
  margin-bottom: 0; }

@media (max-width: 599px) {
  .sections-page > section:not(.formation-hero):not(.hero) {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl); } }

/* ==========================================================================
   AJUSTEMENTS TYPOGRAPHIQUES
   ========================================================================== */
.section-title {
  margin-bottom: var(--space-xl); }

.page-header {
  margin-bottom: calc(var(--space-lg) / 2); }

h1 + h2 {
  margin-top: calc(var(--space-lg) - var(--space-xl)); }

h2 + h3 {
  margin-top: calc(var(--space-lg) - var(--space-xl)); }

/* ==========================================================================
   CLASSES UTILITAIRES
   ========================================================================== */
.card-standard {
  background: var(--blanc);
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); }
  @media (max-width: 899px) {
    .card-standard {
      padding: var(--card-padding-tablet); } }
  @media (max-width: 599px) {
    .card-standard {
      padding: var(--card-padding-mobile); } }
.container-content {
  max-width: var(--content-block-max-width);
  margin: 0 auto;
  padding: 0 var(--content-block-padding-h); }

.border-or-left {
  border-left: 4px solid var(--or); }

.card-bordered-vert {
  border-left: 4px solid var(--vert-canard); }

.card-bordered-vert-thin {
  border-left: 3px solid var(--vert-canard); }

.card-bordered-gold {
  border-left: 4px solid var(--or); }

/* ==========================================================================
   FLEXBOX
   ========================================================================== */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center; }

.flex-center-v {
  display: flex;
  align-items: center; }

.flex-center-h {
  display: flex;
  justify-content: center; }

/* ==========================================================================
   PHOTOS CIRCULAIRES
   ========================================================================== */
.photo-circle {
  border-radius: 50%;
  object-fit: cover;
  display: block; }

.photo-circle-150 {
  width: 150px;
  height: 150px; }

.photo-circle-200 {
  width: 200px;
  height: 200px; }

.photo-circle-240 {
  width: 240px;
  height: 240px; }

/* ==========================================================================
   CONTENEURS D'ICONES
   ========================================================================== */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0; }

.icon-container-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50%; }

/* ==========================================================================
   PROSE — Typographie du texte ordinaire
   Source de vérité unique pour emphase (strong, em) et liens dans les
   contextes de narration, image-text et blocs de texte.

   Exception délibérée : .dlg__bubble (fond coloré, emphase --vert-nuit)
   reste dans _dialogue.scss.
   ========================================================================== */
.narr__text strong,
.narr__text em,
.scene-dual__narr strong,
.scene-dual__narr em,
.image-text-text strong,
.image-text-text em,
.text-block strong,
.text-block em,
.content-block strong,
.content-block em,
.formation-text strong,
.formation-text em,
.testimonial-text strong,
.testimonial-text em {
  color: var(--vert-canard); }

.narr__text a,
.scene-dual__narr a,
.image-text-text a,
.text-block a,
.content-block a,
.formation-text a,
.testimonial-text a {
  font-weight: var(--font-weight-semibold); }

/* 3. COMPONENTS */
/* ==========================================================================
   WHITE CARD — Carte à fond blanc
   Patron visuel commun de toutes les cartes blanches du site.
   ========================================================================== */
.white-card {
  background: var(--blanc);
  box-shadow: var(--shadow-lg);
  padding: var(--card-padding);
  border-radius: var(--radius-lg); }

.white-card--coffret {
  box-shadow: var(--shadow-coffret); }

.white-card--subtle {
  box-shadow: var(--shadow-md); }

.white-card--accent-or {
  border-left: 4px solid var(--or); }

.white-card--compact {
  padding: var(--space-md); }

.white-card--tight {
  padding: var(--space-sm); }

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--or);
  color: var(--texte);
  border: 2px solid var(--or);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-corps);
  cursor: pointer; }

.btn-primary:hover {
  background: var(--blanc);
  color: var(--or-fonce);
  border-color: var(--or-fonce);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--or-fonce);
  border: 2px solid var(--or-fonce);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-corps);
  cursor: pointer; }

.btn-secondary:hover {
  background: var(--or);
  color: var(--texte);
  border-color: var(--or);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.btn-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--blanc);
  color: var(--vert-canard);
  border: 2px solid var(--blanc);
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-corps);
  cursor: pointer; }

.btn-white:hover {
  background: var(--or);
  color: var(--vert-canard);
  border-color: var(--or);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

.btn-link {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--vert-canard);
  font-size: var(--text-s);
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-corps); }

.btn-link:hover {
  color: var(--or); }

/* Pleine largeur sur mobile si nécessaire */
@media (max-width: 899px) {
  .btn-primary.btn-full-width-mobile,
  .btn-secondary.btn-full-width-mobile,
  .btn-white.btn-full-width-mobile {
    width: 100%; } }

/* ============================================================
   CARTE FORMATION
   ============================================================ */
.formation-card {
  background: var(--blanc);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0; }

/* Zone image */
.card-image {
  width: 100%;
  max-width: 200px;
  margin: 0 auto var(--space-md) auto;
  display: flex;
  align-items: center;
  justify-content: center; }

.card-image img,
.card-image .card-cover {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition); }

/* Animation wiggle */
:root {
  --wiggle-max-angle: 4deg;
  --wiggle-duration: 1s; }

.wiggling img {
  animation: wiggle var(--wiggle-duration) ease-out; }

@keyframes wiggle {
  0% {
    transform: rotate(0deg); }
  10% {
    transform: rotate(calc(-1 * var(--wiggle-max-angle))); }
  20% {
    transform: rotate(calc(0.7 * var(--wiggle-max-angle))); }
  30% {
    transform: rotate(calc(-0.5 * var(--wiggle-max-angle))); }
  40% {
    transform: rotate(calc(0.35 * var(--wiggle-max-angle))); }
  50% {
    transform: rotate(calc(-0.2 * var(--wiggle-max-angle))); }
  60% {
    transform: rotate(calc(0.1 * var(--wiggle-max-angle))); }
  70% {
    transform: rotate(calc(-0.05 * var(--wiggle-max-angle))); }
  80% {
    transform: rotate(calc(0.025 * var(--wiggle-max-angle))); }
  90% {
    transform: rotate(calc(-0.0125 * var(--wiggle-max-angle))); }
  100% {
    transform: rotate(0deg); } }

/* Contenu texte */
.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; }

.card-title {
  font-family: var(--font-titre);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--vert-canard);
  margin-bottom: 0;
  text-align: center; }

.card-learn-more {
  display: block;
  padding: var(--space-xs) 0;
  text-align: center;
  font-style: italic;
  font-size: var(--text-s);
  color: var(--texte-leger);
  text-decoration: none; }

.card-learn-more:hover {
  color: var(--vert-canard); }

.card-price {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--or-fonce);
  text-align: center;
  margin: 0 0 var(--space-xs) 0; }

.card-description {
  font-size: var(--text-base);
  line-height: var(--line-height-content);
  color: var(--texte);
  text-align: center;
  flex-grow: 1;
  margin-bottom: var(--space-md); }

.card-actions {
  display: flex;
  flex-direction: column; }

/* Override : bouton pleine largeur dans la carte */
.card-actions .btn-primary {
  display: block;
  width: 100%;
  box-sizing: border-box; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 599px) {
  .formation-card {
    width: 260px;
    padding: var(--card-padding-mobile); }
  .card-image {
    max-width: 180px; } }

/* ============================================================
   CAROUSEL FORMATIONS
   ============================================================ */
.carousel-section {
  background: var(--fond);
  opacity: 0;
  transition: opacity 0.4s ease; }

.carousel-section.is-ready {
  opacity: 1; }

/* --- Dialogue au-dessus du carousel --- */
.carousel-dialogue .scene {
  margin-bottom: var(--space-md); }

.carousel-dialogue .scene:has(.dlg:only-child) .dlg--right {
  justify-content: center; }

/* --- Tabs de filtrage --- */
.carousel-filter {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

.carousel-pills {
  display: flex;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--gris-border);
  width: 100%;
  background: var(--blanc);
  box-shadow: var(--shadow-md);
  clip-path: inset(-20px -20px 0 -20px); }

.carousel-pill {
  flex: 1;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--texte);
  font-family: var(--font-corps);
  font-size: var(--text-base);
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  margin-bottom: -1px; }

.carousel-pill:hover {
  color: var(--vert-canard);
  background: transparent;
  border-bottom-color: var(--vert-canard-clair); }

.carousel-pill.active {
  color: var(--vert-canard);
  font-weight: var(--font-weight-semibold);
  background: transparent;
  border-bottom-color: var(--or); }

/* --- Wrapper + flèches --- */
.carousel-wrapper {
  position: relative;
  max-width: var(--content-block-max-width);
  margin: 0 auto;
  background: var(--blanc);
  box-shadow: var(--shadow-md);
  clip-path: inset(0 -20px -20px -20px); }
  .carousel-wrapper::before, .carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0px;
    z-index: 1;
    pointer-events: none; }
  .carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--fond), transparent); }
  .carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--fond), transparent); }

/* --- Track --- */
.carousel-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: 0 var(--space-lg);
  -ms-overflow-style: none;
  scrollbar-width: none; }

.carousel-track::-webkit-scrollbar {
  display: none; }

/* --- Mini-carte --- */
.formation-card-mini {
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; }
  .formation-card-mini.is-selected {
    background: linear-gradient(135deg, var(--blanc) 0%, color-mix(in srgb, var(--or-clair) 25%, var(--blanc)) 100%); }
  .formation-card-mini.is-selected::before {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.4s ease; }
  .formation-card-mini.is-selected::after {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.4s ease; }

.mini-card-image {
  width: 150px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center; }

.mini-card-image img,
.mini-card-image .mini-cover {
  width: 100%;
  height: auto;
  object-fit: contain; }

.mini-card-tagline {
  font-family: var(--font-corps);
  font-size: var(--text-s);
  color: var(--texte);
  line-height: var(--line-height-content);
  margin: 0 0 var(--space-md) 0;
  flex-grow: 1; }
  .mini-card-tagline em {
    color: var(--vert-canard);
    font-style: normal;
    font-weight: var(--font-weight-semibold); }

.mini-card-actions {
  width: 100%; }

.mini-card-actions .btn-primary {
  display: block;
  width: 100%;
  box-sizing: border-box; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 599px) {
  .carousel-arrow {
    display: none; }
  .formation-card-mini {
    width: 200px; }
  .carousel-track {
    padding-inline: var(--space-sm); } }

@media (max-width: 899px) {
  .carousel-filter {
    padding-inline: var(--space-sm); }
    .carousel-filter .carousel-pills {
      overflow-x: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
      box-shadow: var(--shadow-md);
      clip-path: inset(-20px -20px 0 -20px); }
      .carousel-filter .carousel-pills::-webkit-scrollbar {
        display: none; }
    .carousel-filter .carousel-pill {
      flex: 0 0 auto;
      padding-inline: var(--space-sm); } }

/* ==========================================================================
   DIALOGUE — Bulles de dialogue avec personnages
   Layouts : scene (1 ou N dlg) + narr + scene-dual
   ========================================================================== */
.dlg__bubble {
  position: relative;
  background: var(--vert-canard-clair);
  padding: var(--space-md);
  filter: drop-shadow(4px 5px 0 var(--vert-canard));
  font-size: var(--text-base);
  line-height: var(--line-height-content);
  color: var(--noir);
  text-align: left;
  width: fit-content; }
  .dlg__bubble p {
    margin: 0; }
    .dlg__bubble p + p {
      margin-top: 0.5em; }
  .dlg__bubble strong,
  .dlg__bubble em {
    color: var(--vert-nuit); }
  .dlg__bubble::after {
    content: '';
    position: absolute;
    background: var(--vert-canard-clair); }

.dlg__bubble--tail-down-left::after {
  bottom: -15px;
  height: 17px;
  width: calc(max(150px, 20%) - 90px);
  left: 90px;
  clip-path: polygon(10px 0, 100% 0, 0 100%); }

.dlg__bubble--tail-down-right::after {
  bottom: -15px;
  height: 17px;
  width: calc(max(150px, 20%) - 90px);
  right: 90px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%); }

.dlg__bubble--tail-side-left::after {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  height: 26px;
  width: 38px;
  left: -38px;
  right: auto;
  clip-path: polygon(100% 0, 0 0, 100% 100%); }

.dlg__bubble--tail-side-right::after {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  height: 26px;
  width: 38px;
  right: -38px;
  left: auto;
  clip-path: polygon(0 0, 100% 0, 0 100%); }

.dlg__character {
  margin: 0;
  flex-shrink: 0;
  line-height: 0; }
  .dlg__character picture,
  .dlg__character img {
    display: block; }

.dlg__character--flipped img {
  transform: scaleX(-1); }

.scene {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }
  .scene .dlg {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs); }
    .scene .dlg--left {
      align-items: flex-start; }
    .scene .dlg--right {
      align-items: flex-end; }

.scene:has(.scene__step) {
  flex-direction: column;
  align-items: stretch; }
  .scene:has(.scene__step) > .dlg {
    flex: none;
    width: 100%; }

.scene__step {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md); }
  .scene__step .dlg__character {
    flex-shrink: 0; }
  .scene__step--char-left {
    flex-direction: row; }
    .scene__step--char-left .dlg__bubble::after {
      bottom: -15px;
      height: 17px;
      width: calc(max(150px, 20%) - 90px);
      right: 90px;
      clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%); }
  .scene__step--char-right {
    flex-direction: row-reverse; }
    .scene__step--char-right .dlg__bubble::after {
      bottom: -15px;
      height: 17px;
      width: calc(max(150px, 20%) - 90px);
      left: 90px;
      clip-path: polygon(10px 0, 100% 0, 0 100%); }

.scene:has(.dlg:only-child) .dlg {
  flex-direction: row;
  align-items: flex-end;
  width: 100%;
  gap: calc(38px + 16px);
  flex: none; }
  .scene:has(.dlg:only-child) .dlg .dlg__bubble {
    flex: none;
    margin-bottom: 5px; }

.scene:has(.dlg:only-child) .dlg__character {
  align-self: flex-end; }

.scene:has(.dlg:only-child) .dlg--right {
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end; }

.scene:has(.dlg:only-child) .dlg--left {
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: flex-end; }

.narr {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }
  .narr__text {
    flex: 1;
    font-size: var(--text-base);
    line-height: var(--line-height-content);
    color: var(--texte); }
    .narr__text p {
      margin: 0; }
      .narr__text p + p {
        margin-top: 0.75em; }
  .narr--char-right {
    flex-direction: row; }
  .narr--char-left {
    flex-direction: row-reverse; }
  .narr--align-bottom {
    align-items: flex-end; }

.scene-dual {
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }
  .scene-dual__bubbles {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-md); }
    .scene-dual__bubbles .dlg__bubble {
      flex: none;
      max-width: 50%; }
  .scene-dual__bottom {
    display: flex;
    align-items: flex-end;
    gap: var(--space-md); }
  .scene-dual__narr {
    flex: 1;
    font-size: var(--text-base);
    line-height: var(--line-height-content);
    color: var(--texte); }
    .scene-dual__narr p {
      margin: 0; }
      .scene-dual__narr p + p {
        margin-top: 0.75em; }

@media (max-width: 599px) {
  .scene:not(:has(.dlg:only-child)):not(:has(.scene__step)) {
    flex-direction: column; }
    .scene:not(:has(.dlg:only-child)):not(:has(.scene__step)) .dlg {
      width: 100%; }
      .scene:not(:has(.dlg:only-child)):not(:has(.scene__step)) .dlg--right {
        align-items: flex-end; }
  .scene:has(.scene__step) .scene__step {
    flex-direction: column;
    align-items: stretch; }
    .scene:has(.scene__step) .scene__step .dlg__character {
      align-self: flex-start; }
  .scene-dual {
    display: flex;
    flex-direction: column;
    gap: var(--space-md); }
    .scene-dual__bubbles, .scene-dual__bottom {
      display: contents; }
    .scene-dual__bubbles > :first-child {
      order: 1;
      max-width: 85%;
      align-self: flex-start; }
    .scene-dual .dlg__character--left {
      order: 2;
      align-self: flex-start; }
    .scene-dual__bubbles > :last-child {
      order: 3;
      max-width: 85%;
      align-self: flex-end; }
    .scene-dual .dlg__character--right {
      order: 4;
      align-self: flex-end; }
    .scene-dual__narr {
      order: 5; } }

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonial-with-photo {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0; }

.testimonial-with-photo .testimonial-content {
  display: flex;
  gap: var(--space-lg);
  padding: var(--card-padding);
  background: var(--blanc);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); }

.testimonial-with-photo .testimonial-photo {
  flex: 0 0 150px; }

.testimonial-with-photo .testimonial-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block; }

.testimonial-with-photo .testimonial-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm); }

.testimonial-with-photo .testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.6;
  font-style: italic;
  color: var(--texte);
  margin: 0; }

.testimonial-with-photo .testimonial-quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

.testimonial-with-photo .testimonial-quote a {
  font-weight: var(--font-weight-semibold); }

.testimonial-with-photo .testimonial-author {
  font-size: var(--text-s);
  color: var(--vert-canard);
  margin: 0;
  text-align: right; }

.testimonial-with-photo .author-name {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

/* ==========================================================================
   TÉMOIGNAGE SANS PHOTO
   ========================================================================== */
.testimonial-without-photo {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--content-block-padding-h); }

.testimonial-without-photo .testimonial-content {
  padding: var(--card-padding);
  background: var(--blanc);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); }

.testimonial-without-photo .testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.6;
  font-style: italic;
  color: var(--texte);
  margin: 0 0 var(--space-sm) 0; }

.testimonial-without-photo .testimonial-quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

.testimonial-without-photo .testimonial-quote a {
  font-weight: var(--font-weight-semibold); }

.testimonial-without-photo .testimonial-author {
  font-size: var(--text-s);
  color: var(--vert-canard);
  margin: 0;
  text-align: right; }

.testimonial-without-photo .author-name {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 899px) {
  .testimonial-with-photo .testimonial-content,
  .testimonial-without-photo .testimonial-content {
    padding: var(--card-padding-tablet); } }

@media (max-width: 599px) {
  .testimonial-with-photo .testimonial-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--card-padding-mobile); }
  .testimonial-without-photo .testimonial-content {
    padding: var(--card-padding-mobile); } }

/* ==========================================================================
   TEMOIGNAGE LIBRE (V3 — sans carte, intégré au flux)
   ========================================================================== */
.testimonial-libre {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: var(--space-lg); }

.testimonial-libre__photo {
  flex: 0 0 150px; }

.testimonial-libre__photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block; }

.testimonial-libre__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm); }

.testimonial-libre__quote {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--texte);
  margin: 0; }

.testimonial-libre__quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

.testimonial-libre__quote a {
  font-weight: var(--font-weight-semibold); }

.testimonial-libre__author {
  font-style: italic; }

@media (max-width: 599px) {
  .testimonial-libre {
    flex-direction: column;
    align-items: center;
    text-align: center; } }

/* ==========================================================================
   TÉMOIGNAGE COMPACT (accordion)
   ========================================================================== */
.testimonials-stack {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md); }

.testimonial-compact__inner {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start; }

.testimonial-compact__photo {
  flex: 0 0 150px; }

.testimonial-compact__photo img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  display: block; }

.testimonial-compact__body {
  --collapsed-height: 150px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: var(--collapsed-height);
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }

.testimonial-compact__text-wrapper {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative; }

/* Fade ancré au bas du text-wrapper, là où le texte est coupé */
.testimonial-compact__text-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(var(--blanc-rgb), 0), rgba(var(--blanc-rgb), 1));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.25s ease 0.1s; }

.testimonial-compact.is-open .testimonial-compact__text-wrapper::after {
  opacity: 0; }

.testimonial-compact__quote {
  font-size: var(--text-base);
  line-height: 1.6;
  font-style: italic;
  color: var(--texte);
  margin: 0; }

.testimonial-compact__quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

.testimonial-compact__quote a {
  font-weight: var(--font-weight-semibold); }

.testimonial-compact__footer {
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: var(--space-xs); }

.testimonial-compact__author {
  font-size: var(--text-s);
  color: var(--vert-canard);
  margin: 0;
  text-align: right; }

.testimonial-compact__author .author-name {
  font-weight: var(--font-weight-semibold); }

.testimonial-compact__toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  color: var(--vert-canard);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease; }

.testimonial-compact__toggle:hover {
  color: var(--or-fonce); }

.testimonial-compact__chevron {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }

.testimonial-compact.is-open .testimonial-compact__chevron {
  transform: rotate(225deg) translate(-2px, -2px); }

/* ============================================================
   RESPONSIVE (compact)
   ============================================================ */
@media (max-width: 899px) {
  .testimonial-compact__inner {
    padding: var(--card-padding-tablet); } }

@media (max-width: 599px) {
  .testimonial-compact__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--card-padding-mobile); }
  .testimonial-compact__body {
    --collapsed-height: 150px;
    flex: none;
    width: 100%; }
  .testimonial-compact__footer {
    justify-content: center;
    gap: var(--space-sm); }
  .testimonial-compact__toggle {
    position: static;
    transform: none;
    padding: 0; }
  .testimonial-compact__author {
    text-align: center; } }

.trailer-player-wrapper {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

.trailer-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg); }
  .trailer-player::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 10px solid var(--vert-canard);
    z-index: 1;
    pointer-events: none; }
  .trailer-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease; }
    .trailer-player iframe.is-visible {
      opacity: 1; }

/* ==========================================================================
   BANNERS — formation-banner et pack-banner
   ========================================================================== */
/* Styles communs */
.formation-banner-section,
.pack-banner-section {
  max-width: var(--content-block-max-width);
  margin-inline: auto; }

.formation-banner-section {
  margin-top: var(--space-xl); }

.formation-banner-content,
.pack-banner-content {
  display: flex;
  gap: var(--space-xl);
  align-items: center; }

.formation-banner-image,
.pack-banner-image {
  flex-shrink: 0;
  width: 100px; }

.formation-banner-image img,
.pack-banner-image img {
  width: 100%;
  height: auto;
  object-fit: contain; }

.formation-banner-text,
.pack-banner-text {
  flex-grow: 1; }

.formation-banner-action,
.pack-banner-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-end; }

.product-banner-title {
  font-family: var(--font-titre);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--vert-canard);
  margin: 0 0 var(--space-xs) 0; }

.formation-banner-description,
.pack-banner-description {
  font-size: var(--text-base);
  color: var(--texte);
  margin: 0; }

.formation-banner-description strong,
.pack-banner-description strong {
  color: var(--or-fonce);
  font-weight: var(--font-weight-semibold); }

.formation-banner-pricing,
.pack-banner-pricing {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: var(--space-sm); }

.formation-banner-price,
.pack-banner-price {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--or-fonce);
  margin: 0; }

/* Prix barré — pack uniquement */
.pack-banner-price-striked {
  font-size: var(--text-base);
  color: var(--texte-leger);
  text-decoration: line-through;
  margin: 0; }

/* Largeurs CTA */
.formation-banner-cta .btn-primary {
  min-width: 200px;
  width: 200px; }

.pack-banner-cta .btn-primary {
  min-width: 220px;
  width: 220px; }

/* Tablette */
@media (max-width: 899px) {
  .formation-banner-content,
  .pack-banner-content {
    gap: var(--space-lg); }
  .formation-banner-image,
  .pack-banner-image {
    width: 80px; }
  .pack-banner-action {
    align-items: center; }
  .pack-banner-cta .btn-primary {
    width: 100%;
    max-width: 300px; } }

/* Mobile */
@media (max-width: 599px) {
  .formation-banner-content,
  .pack-banner-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center; }
  .formation-banner-image,
  .pack-banner-image {
    width: 100px;
    margin: 0 auto; }
  .formation-banner-action,
  .pack-banner-action {
    width: 100%;
    align-items: center; }
  .pack-banner-pricing {
    justify-content: center; }
  .formation-banner-cta .btn-primary,
  .pack-banner-cta .btn-primary {
    width: 100%;
    max-width: 300px; } }

/* ==========================================================================
   FORMATION STRUCTURE
   ========================================================================== */
.formation-structure__inner {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

.formation-structure__table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
  background: var(--blanc); }

.formation-structure__head-titre, .formation-structure__head-duree {
  background: var(--vert-canard);
  color: var(--blanc);
  font-family: var(--font-corps);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  padding: var(--space-sm) var(--space-md);
  text-align: left; }

.formation-structure__head-titre {
  font-family: var(--font-titre);
  font-weight: var(--font-weight-semibold); }

.formation-structure__head-duree {
  width: 120px;
  border-left: 1px solid var(--gris-border);
  white-space: nowrap;
  text-align: center; }

.formation-structure__row {
  border-bottom: 1px solid var(--gris-border); }
  .formation-structure__row:last-child {
    border-bottom: none; }

.formation-structure__titre {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--texte);
  vertical-align: middle; }

.formation-structure__duree {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--vert-canard);
  width: 120px;
  border-left: 1px solid var(--gris-border);
  vertical-align: middle;
  white-space: nowrap;
  text-align: center; }

.formation-structure__icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: var(--space-xs);
  color: var(--vert-canard);
  line-height: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 599px) {
  .formation-structure__head-titre, .formation-structure__head-duree, .formation-structure__titre, .formation-structure__duree {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-s); }
  .formation-structure__head-duree, .formation-structure__duree {
    width: 90px; }
  .formation-structure__icon svg {
    width: 16px;
    height: 16px; } }

/* -- DESIGN LAB (outil preview dev uniquement) -- */
.design-lab {
  position: absolute;
  bottom: 0;
  left: var(--space-lg);
  transform: translateY(100%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: var(--vert-canard);
  box-shadow: var(--shadow-md);
  z-index: 999;
  isolation: isolate; }
  .design-lab::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }

.design-lab-btn {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s; }

.design-lab-btn:nth-child(1) {
  background: var(--blanc); }

.design-lab-btn:nth-child(2) {
  background: var(--or-clair); }

.design-lab-btn:nth-child(3) {
  background: var(--or-fonce); }

.design-lab-btn:hover {
  transform: scale(1.25); }

.design-lab-btn.active {
  outline: 2px solid var(--blanc);
  outline-offset: 2px; }

.design-lab-viewport {
  font-family: monospace;
  font-size: 10px;
  color: var(--blanc);
  opacity: 0.6;
  margin-left: 4px;
  user-select: none; }

/* 4. LAYOUT */
/* ==========================================================================
   HEADER - oljen.fr
   ========================================================================== */
/* ==========================================================================
   STRUCTURE PRINCIPALE
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--vert-canard);
  z-index: 2000;
  box-shadow: var(--shadow-header);
  isolation: isolate; }
  .header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }

.header-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between; }

/* ==========================================================================
   LOGO
   ========================================================================== */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none; }

.logo-img {
  height: 50px;
  width: auto;
  display: block; }

.logo-text {
  font-family: var(--font-titre);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--blanc);
  letter-spacing: 0.02em; }

/* ==========================================================================
   NAVIGATION - Desktop
   ========================================================================== */
.nav {
  display: none;
  align-items: stretch;
  gap: 0; }

.nav-item {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center; }

.nav-link {
  color: var(--blanc);
  text-decoration: none;
  font-family: var(--font-corps);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px; }

.nav-link:hover {
  color: var(--or); }

.nav-link.active {
  color: var(--or); }

/* ==========================================================================
   NAVIGATION - Chevron
   ========================================================================== */
.nav-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 4px;
  flex-shrink: 0; }

/* ==========================================================================
   NAVIGATION - Dropdown Desktop
   ========================================================================== */
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vert-canard);
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.35);
  min-width: 220px;
  flex-direction: column;
  z-index: 10;
  isolation: isolate; }
  .nav-dropdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }

.nav-item--dropdown.is-open .nav-dropdown {
  display: flex; }

.nav-dropdown-link {
  color: var(--blanc);
  text-decoration: none;
  padding: 0.7rem var(--space-md);
  font-size: var(--text-s);
  font-weight: var(--font-weight-semibold);
  transition: var(--transition);
  border-bottom: 1px solid rgba(var(--blanc-rgb), 0.12);
  white-space: nowrap; }
  .nav-dropdown-link:last-child {
    border-bottom: none; }
  .nav-dropdown-link:hover {
    color: var(--or);
    background: rgba(var(--blanc-rgb), 0.05); }

.nav-dropdown-link--overview {
  color: var(--blanc); }
  .nav-dropdown-link--overview:hover {
    color: var(--or); }

/* ==========================================================================
   MENU HAMBURGER (Mobile/Tablette)
   ========================================================================== */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100; }

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--blanc);
  border-radius: var(--radius-sm);
  transition: var(--transition); }

/* Animation hamburger -> croix */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg); }

.menu-toggle.active span:nth-child(2) {
  opacity: 0; }

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg); }

/* ==========================================================================
   OVERLAY MENU (Mobile/Tablette)
   ========================================================================== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(var(--vert-canard-rgb), 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
  overflow-y: auto; }

.nav-overlay.active {
  opacity: 1;
  visibility: visible; }

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) var(--space-md); }

.nav-overlay .nav-link {
  font-size: var(--text-xl);
  padding: var(--space-sm);
  justify-content: center; }

/* ==========================================================================
   OVERLAY MOBILE - Accordion
   ========================================================================== */
.overlay-item {
  display: flex;
  flex-direction: column;
  align-items: center; }

.overlay-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center; }

.overlay-dropdown {
  display: none;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm); }

.overlay-item--dropdown.is-open .overlay-dropdown {
  display: flex; }

.overlay-dropdown-link {
  color: rgba(var(--blanc-rgb), 0.75);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  padding: 0.3rem var(--space-sm);
  transition: var(--transition); }
  .overlay-dropdown-link:hover {
    color: var(--or); }

.overlay-dropdown-link--overview {
  color: var(--or); }
  .overlay-dropdown-link--overview:hover {
    color: var(--blanc); }

/* ==========================================================================
   RESPONSIVE - Desktop
   ========================================================================== */
@media (min-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    max-width: none; }
  .nav {
    display: flex;
    gap: clamp(8px, calc(8px + 40 * ((100vw - 700px) / 1220)), 48px); }
  .menu-toggle {
    display: none; }
  .nav-overlay {
    display: none; } }

/* ==========================================================================
   RESPONSIVE - Tablette
   ========================================================================== */
@media (min-width: 600px) and (max-width: 899px) {
  .header-inner {
    padding: 0 var(--space-md); } }

/* ==========================================================================
   RESPONSIVE - Mobile
   ========================================================================== */
@media (max-width: 599px) {
  .header-inner {
    padding: 0 var(--space-sm); } }

/* ==========================================================================
   FOOTER - oljen.fr
   ========================================================================== */
.footer {
  position: relative;
  width: 100%;
  background: var(--vert-canard);
  overflow: hidden;
  isolation: isolate; }
  .footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg); }

/* Grille 5 colonnes : logo + 3 sections nav + légal */
.footer-grid {
  display: grid;
  grid-template-columns: .5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  align-items: start; }

/* Colonne logo */
.footer-col--logo {
  padding-right: var(--space-lg); }

.footer-logo-link {
  display: inline-block; }

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block; }

/* Titres de colonnes : grisés (rien à cliquer au niveau du titre) */
.footer-col-title {
  font-family: var(--font-titre);
  font-size: var(--text-s);
  font-weight: var(--font-weight-semibold);
  color: rgba(var(--blanc-rgb), 0.4);
  margin: 0 0 var(--space-xs) 0;
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(var(--blanc-rgb), 0.15); }

/* Liste de liens */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-xs) / 2); }

/* Liens cliquables : blancs */
.footer-link {
  font-family: var(--font-corps);
  font-size: var(--text-s);
  color: var(--blanc);
  text-decoration: none;
  transition: color var(--transition-fast); }
  .footer-link:hover {
    color: rgba(var(--blanc-rgb), 0.7); }

/* Lien "Présentation" : mis en valeur en or dans la colonne Formations */
.footer-link--overview {
  color: var(--blanc); }
  .footer-link--overview:hover {
    color: rgba(var(--blanc-rgb), 0.7); }

/* Liens légaux : atténués (aucun intérêt de les mettre en valeur) */
.footer-col--legal .footer-link {
  color: rgba(var(--blanc-rgb), 0.4); }
  .footer-col--legal .footer-link:hover {
    color: rgba(var(--blanc-rgb), 0.65); }

/* Copyright sous le logo */
.footer-copyright {
  font-family: var(--font-corps);
  font-size: var(--text-xs);
  color: rgba(var(--blanc-rgb), 0.35);
  margin: var(--space-xs) 0 0 0;
  line-height: 1.5; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg); }
  .footer-col--logo {
    grid-column: 1 / -1;
    padding-right: 0; } }

@media (max-width: 599px) {
  .footer-grid {
    grid-template-columns: 1fr; }
  .footer-inner {
    padding: var(--space-xl) var(--space-lg); } }

/* 5. PAGES */
/* ==========================================================================
   HERO BANNER - Page d'accueil
   ========================================================================== */
.hero {
  background-color: var(--vert-canard);
  height: 415px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate; }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }
  .hero__inner {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    max-width: 450px; }
  .hero__logo picture {
    display: block; }
  .hero__logo img {
    width: 450px;
    max-width: 100%; }
  .hero__deco {
    flex: 1;
    display: flex;
    align-items: center;
    opacity: 0.3; }
    .hero__deco picture {
      display: block; }
    .hero__deco img {
      width: 270px;
      height: auto; }
    .hero__deco--gauche {
      justify-content: flex-end;
      padding-right: var(--space-2xl); }
    .hero__deco--droite {
      justify-content: flex-start;
      padding-left: var(--space-2xl); }

.hero-accroche {
  color: var(--blanc);
  font-family: var(--font-corps);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-content);
  margin: 0; }
  .hero-accroche em {
    color: var(--or);
    font-style: normal; }

@media (max-width: 768px) {
  .hero {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-md); }
    .hero__logo {
      display: none; }
    .hero__inner {
      max-width: 100%;
      padding: 0; }
    .hero__deco {
      flex: none;
      padding: 0; }
      .hero__deco--gauche {
        display: none; }
      .hero__deco--droite {
        justify-content: center; } }

/* ==========================================================================
   FORMATION HERO HEADER
   ========================================================================== */
.formation-hero {
  background-color: var(--vert-canard);
  min-height: 365px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate; }
  .formation-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }
  .formation-hero__tri-deco {
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    line-height: 0;
    opacity: 0.24; }
    .formation-hero__tri-deco--gauche {
      left: 0; }
    .formation-hero__tri-deco--droite {
      display: none; }
  .formation-hero__center {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 75px;
    width: 850px;
    max-width: 100%;
    position: relative;
    z-index: 1; }
  .formation-hero__coffret {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; }
    .formation-hero__coffret picture {
      display: block; }
    .formation-hero__coffret img {
      display: block;
      height: 280px;
      width: auto;
      max-width: none;
      filter: drop-shadow(0px 14px 48px rgba(0, 0, 0, 0.65)); }
  .formation-hero__content {
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start; }
  .formation-hero__body {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: var(--space-lg);
    width: 100%;
    margin-top: var(--space-md); }
  .formation-hero__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0; }
  .formation-hero__nav-label {
    font-family: var(--font-corps);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 var(--space-xs) 0; }
  .formation-hero__nav-link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: var(--blanc);
    font-family: var(--font-texte);
    font-size: var(--text-size-desktop);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-content);
    text-decoration: none;
    transition: var(--transition); }
    .formation-hero__nav-link::before {
      content: '';
      flex-shrink: 0;
      width: 5px;
      height: 5px;
      border: 1.5px solid var(--blanc);
      border-radius: 50%;
      background: transparent;
      transition: var(--transition); }
    .formation-hero__nav-link:hover {
      color: var(--or); }
      .formation-hero__nav-link:hover::before {
        border-color: var(--or);
        background: var(--or); }
  .formation-hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end; }
  .formation-hero__tagline {
    width: 250px;
    text-align: right;
    color: var(--blanc);
    font-family: var(--font-texte);
    font-size: var(--text-size-desktop);
    line-height: var(--line-height-content); }
    .formation-hero__tagline em {
      font-style: normal;
      color: var(--or); }
  .formation-hero__cta {
    margin-top: auto; }
  .formation-hero__title {
    color: var(--blanc);
    font-family: var(--font-titre);
    font-size: var(--h1-size);
    font-weight: var(--font-weight-bold);
    font-variant: small-caps;
    line-height: var(--line-height-title);
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md); }
    .formation-hero__title::before, .formation-hero__title::after {
      content: '';
      flex: 1;
      height: 2px;
      background: var(--blanc); }

@media (max-width: 768px) {
  .formation-hero {
    display: none; } }

/* ==========================================================================
   YOUTUBE CHANNEL HERO HEADER
   ========================================================================== */
.youtube-hero {
  background-color: var(--vert-canard);
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  isolation: isolate; }
  .youtube-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1; }
  .youtube-hero__tri-deco {
    position: absolute;
    top: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    line-height: 0;
    opacity: 0.24; }
    .youtube-hero__tri-deco--gauche {
      left: 0; }
    .youtube-hero__tri-deco--droite {
      display: none; }
  .youtube-hero__center {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 75px;
    width: 850px;
    max-width: 100%;
    position: relative;
    z-index: 1; }
  .youtube-hero__left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm); }
  .youtube-hero__logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; }
    .youtube-hero__logo picture {
      display: block; }
    .youtube-hero__logo img {
      display: block;
      width: 240px;
      height: auto;
      max-width: none;
      filter: drop-shadow(0px 10px 32px rgba(0, 0, 0, 0.45)); }
  .youtube-hero__content {
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start; }
  .youtube-hero__body {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: var(--space-lg);
    width: 100%;
    margin-top: var(--space-md); }
  .youtube-hero__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0; }
  .youtube-hero__nav-label {
    font-family: var(--font-corps);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 var(--space-xs) 0; }
  .youtube-hero__nav-link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: var(--blanc);
    font-family: var(--font-texte);
    font-size: var(--text-size-desktop);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-content);
    text-decoration: none;
    transition: var(--transition); }
    .youtube-hero__nav-link::before {
      content: '';
      flex-shrink: 0;
      width: 5px;
      height: 5px;
      border: 1.5px solid var(--blanc);
      border-radius: 50%;
      background: transparent;
      transition: var(--transition); }
    .youtube-hero__nav-link:hover {
      color: var(--or); }
      .youtube-hero__nav-link:hover::before {
        border-color: var(--or);
        background: var(--or); }
  .youtube-hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end; }
  .youtube-hero__tagline {
    width: 240px;
    text-align: left;
    color: var(--blanc);
    font-family: var(--font-texte);
    font-size: var(--text-size-desktop);
    line-height: var(--line-height-content); }
    .youtube-hero__tagline em {
      font-style: normal;
      color: var(--or); }
  .youtube-hero__cta {
    margin-top: auto; }
  .youtube-hero__title {
    color: var(--blanc);
    font-family: var(--font-titre);
    font-size: var(--h1-size);
    font-weight: var(--font-weight-bold);
    font-variant: small-caps;
    line-height: var(--line-height-title);
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md); }
    .youtube-hero__title::before, .youtube-hero__title::after {
      content: '';
      flex: 1;
      height: 2px;
      background: var(--blanc); }

@media (max-width: 768px) {
  .youtube-hero {
    display: none; } }

/* ==========================================================================
   CONTENT BLOCKS
   ========================================================================== */
/* Espacement entre blocs consécutifs */
.content-block + .content-block,
.content-block + .text-block {
  margin-top: var(--content-block-gap); }

.content-block + .section-title-block {
  margin-top: var(--content-block-gap); }

@media (max-width: 599px) {
  .content-block + .content-block,
  .content-block + .text-block,
  .content-block + .section-title-block {
    margin-top: var(--content-block-gap-mobile); } }

/* ==========================================================================
   BLOC 1 - TITRE DE SECTION
   ========================================================================== */
.section-title-block {
  margin-top: var(--section-title-padding-v);
  padding: 0 var(--space-lg) var(--section-title-padding-v);
  background: var(--fond);
  text-align: center; }

.section-title-block h2 {
  font-family: var(--font-titre);
  font-size: var(--h2-size-desktop);
  font-weight: var(--font-weight-bold);
  color: var(--vert-canard);
  text-transform: uppercase; }

/* Variante : trait simple de part et d'autre */
.section-title-simple {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-md); }

.section-title-simple::before,
.section-title-simple::after {
  content: '';
  flex: 0 0 80px;
  height: 2px;
  background: var(--vert-canard);
  /* Centre la barre sur la première ligne : (font-size × line-height - 2px) / 2 */
  margin-top: calc((var(--h2-size-desktop) * var(--line-height-title) - 2px) / 2); }

@media (max-width: 899px) {
  .section-title-simple::before,
  .section-title-simple::after {
    flex: 0 0 60px; } }

@media (max-width: 599px) {
  .section-title-block {
    margin-top: var(--space-xl);
    padding: 0 var(--space-sm) var(--space-xl); }
  .section-title-block h2 {
    font-size: var(--h2-size-mobile); }
  .section-title-simple::before,
  .section-title-simple::after {
    flex: 0 0 40px;
    margin-top: calc((var(--h2-size-mobile) * var(--line-height-title) - 2px) / 2); } }

/* ==========================================================================
   BLOC 2 - IMAGE + TEXTE
   ========================================================================== */
.image-text-block {
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }

.image-text-content {
  display: grid;
  grid-template-columns: var(--itb-image-width, 380px) 1fr;
  gap: var(--space-xl);
  align-items: center; }

.image-text-image {
  width: var(--itb-image-width, 380px);
  flex-shrink: 0; }
  .image-text-image picture,
  .image-text-image img {
    display: block;
    width: 100%;
    height: auto; }

.image-text-text {
  display: flex;
  flex-direction: column; }
  .image-text-text p {
    font-size: var(--text-size-desktop);
    line-height: var(--line-height-content);
    margin: 0; }
    .image-text-text p + p {
      margin-top: var(--space-md); }
  .image-text-text p + ul {
    margin-top: var(--space-md); }
  .image-text-text ul + p {
    margin-top: var(--space-lg); }
  .image-text-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0; }
    .image-text-text ul li {
      position: relative;
      padding-left: var(--space-lg);
      font-size: var(--text-size-desktop);
      line-height: var(--line-height-content);
      margin-bottom: 0; }
      .image-text-text ul li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--vert-canard);
        font-weight: var(--font-weight-semibold);
        font-size: 1.2em; }

/* Modificateur : image à droite, texte à gauche
 * Usage :
 *   <div class="image-text-block image-text-block--reversed">
 *     <div class="image-text-content">
 *       <figure class="image-text-image">...</figure>  <!-- image AVANT texte dans le DOM -->
 *       <div class="image-text-text">...</div>
 *     </div>
 *   </div>
 * Sur mobile l'ordre DOM reprend (image d'abord = image en haut), quelle que soit la variante.
 */
.image-text-block--reversed .image-text-content {
  grid-template-columns: 1fr 380px; }

.image-text-block--reversed .image-text-text {
  order: 1; }

.image-text-block--reversed .image-text-image {
  order: 2; }

/* Variante avec CTA : la colonne texte s'etire jusqu'a la hauteur du coffret,
   le bouton est colle en bas a droite via margin-top: auto + align-self: flex-end */
.image-text-block--with-cta .image-text-content {
  align-items: stretch; }

.image-text-block__cta {
  margin-top: auto;
  align-self: flex-end; }

@media (max-width: 899px) {
  .image-text-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg); }
  .image-text-image {
    width: 100%;
    max-width: 380px;
    margin: 0 auto; }
  /* Réinitialisation de l'ordre sur mobile : la grille est en colonne unique,
       l'ordre DOM reprend (image avant texte dans le HTML = image en haut). */
  .image-text-block--reversed .image-text-text,
  .image-text-block--reversed .image-text-image {
    order: 0; } }

@media (max-width: 599px) {
  .image-text-text p,
  .image-text-text ul li {
    font-size: var(--text-size-mobile); } }

/* ==========================================================================
   BLOC 3 - PARAGRAPHE DE TEXTE SIMPLE
   ========================================================================== */
.text-block {
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }
  .text-block p {
    font-size: var(--text-size-desktop);
    line-height: var(--line-height-content);
    margin: 0; }
    .text-block p + p {
      margin-top: var(--space-md); }
  .text-block p + ul {
    margin-top: var(--space-md); }
  .text-block ul {
    list-style: none;
    padding-left: 0;
    margin: 0; }
    .text-block ul li {
      position: relative;
      padding-left: var(--space-lg);
      font-size: var(--text-size-desktop);
      line-height: var(--line-height-content);
      margin-bottom: 0; }
      .text-block ul li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--vert-canard);
        font-weight: var(--font-weight-semibold);
        font-size: 1.2em; }

@media (max-width: 599px) {
  .text-block p,
  .text-block ul li {
    font-size: var(--text-size-mobile); } }

/* ==========================================================================
   BLOC 4 - IMAGE + CASCADE DIALOGUE (+ CTA optionnel)
   ========================================================================== */
.image-dialogue-block {
  max-width: var(--content-block-max-width);
  margin-inline: auto;
  padding-inline: var(--content-block-padding-h);
  margin-bottom: var(--space-lg); }

.image-dialogue-content {
  display: grid;
  grid-template-columns: var(--idb-image-width, 230px) 1fr;
  gap: var(--space-xl);
  align-items: center; }

.image-dialogue-image {
  width: var(--idb-image-width, 230px);
  flex-shrink: 0; }
  .image-dialogue-image picture,
  .image-dialogue-image img {
    display: block;
    width: 100%;
    height: auto; }

.image-dialogue-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md); }
  .image-dialogue-right .scene {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    margin-bottom: 0; }
  .image-dialogue-right .narr {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    margin-bottom: 0; }

.image-dialogue-right .narr--with-cta {
  align-items: flex-end; }

.narr--with-cta .narr__text {
  display: flex;
  flex-direction: column; }

.narr--with-cta .image-dialogue-block__cta {
  margin-top: var(--space-sm);
  align-self: flex-end; }

.image-dialogue-block__cta {
  margin-top: auto;
  align-self: flex-end; }

@media (max-width: 899px) {
  .image-dialogue-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg); }
  .image-dialogue-image {
    width: 100%;
    max-width: 230px;
    margin: 0 auto; } }

/* ==========================================================================
   BLOC CREDENTIALS / QUI SUIS-JE
   ========================================================================== */
.credentials-block {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

.credentials-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  align-items: center; }

.credentials-photo {
  width: 240px;
  height: 240px; }

.credentials-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  display: block; }

.credentials-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs); }

.credentials-text h3:not(.credentials-subtitle) {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--vert-canard);
  margin: 0;
  line-height: 1.2; }

.credentials-text h3.credentials-subtitle {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: var(--font-weight-normal);
  color: var(--vert-canard);
  margin: 0;
  line-height: 1.5; }

.credentials-text > p:last-child {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--texte);
  margin: 0; }

/* Timeline CV */
.credentials-timeline {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm); }

.timeline-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem; }

.timeline-line::before {
  content: '';
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 3px;
  background: var(--or);
  z-index: 1; }

.timeline-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem; }

.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--or);
  border: 4px solid var(--blanc);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--or);
  order: 2; }

.timeline-year {
  font-family: var(--font-corps);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard);
  margin: 0;
  order: 1; }

.timeline-label {
  font-size: 0.875rem;
  color: var(--vert-canard);
  text-align: center;
  max-width: 150px;
  line-height: 1.3;
  order: 3; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 899px) {
  .credentials-card {
    padding: var(--card-padding-tablet); }
  .credentials-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center; }
  .credentials-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto; }
  .credentials-text h3:not(.credentials-subtitle) {
    font-size: 1.75rem; }
  .credentials-text h3.credentials-subtitle {
    font-size: 1.125rem; }
  .credentials-text > p:last-child {
    font-size: 1rem; }
  .timeline-line {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0;
    gap: var(--space-lg); }
  .timeline-line::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: auto;
    transform: translateX(-50%); }
  .timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    max-width: 500px; }
  .timeline-year {
    text-align: right;
    order: 1;
    grid-column: 1; }
  .timeline-dot {
    order: 2;
    grid-column: 2;
    justify-self: center; }
  .timeline-label {
    text-align: left;
    order: 3;
    grid-column: 3; } }

@media (max-width: 599px) {
  .credentials-card {
    padding: var(--card-padding-mobile); }
  .credentials-photo {
    width: 160px;
    height: 160px; }
  .credentials-text h3:not(.credentials-subtitle) {
    font-size: 1.5rem; }
  .credentials-text h3.credentials-subtitle {
    font-size: 1rem; }
  .timeline-item {
    max-width: 400px; }
  .timeline-year {
    font-size: 0.8125rem;
    min-width: 3.5rem; }
  .timeline-label {
    font-size: 0.8125rem; } }

/* ==========================================================================
   FORMATION FAQ
   Section accordion de questions/réponses sur les pages de formation.
   ========================================================================== */
.formation-faq {
  background: transparent;
  padding: 0 var(--space-lg); }

.faq-inner {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl); }

.faq-item {
  border-left: 3px solid var(--vert-canard); }

.faq-item summary {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard);
  font-family: var(--font-corps);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm); }

.faq-item summary::-webkit-details-marker {
  display: none; }

.faq-item summary::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2335575A" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><polyline points="9 18 15 12 9 6"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s; }

.faq-item[open] summary::before {
  transform: rotate(90deg); }

.faq-answer {
  margin-top: var(--space-sm);
  margin-left: calc(16px + var(--space-sm));
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--texte); }

.faq-answer p {
  margin-bottom: var(--space-sm); }

.faq-answer p:last-child {
  margin-bottom: 0; }

.faq-answer a {
  color: var(--vert-canard);
  text-decoration: none; }

.faq-answer strong {
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard); }

/* Double CTA final : Formation seule / Pack complet */
.formation-cta-double {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-lg); }

.cta-option {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start; }

.cta-option-image {
  height: 150px; }

.cta-option-image img {
  height: 100%;
  width: auto;
  display: block; }

.cta-option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; }

.double-cta-title {
  font-family: var(--font-titre);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--vert-canard);
  margin: 0 0 calc(var(--space-sm) / 2) 0; }

.cta-option-price {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--or-fonce);
  margin: 0 0 var(--space-sm) 0; }

.cta-option-content a {
  align-self: center; }

/* Responsive */
@media (max-width: 899px) {
  .formation-faq {
    padding: 0 var(--space-md); }
  .formation-cta-double {
    flex-direction: column; }
  .cta-option {
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    padding: var(--space-md); }
  .cta-option-image {
    height: 100px; }
  .cta-option-content a {
    width: 100%; } }

@media (max-width: 599px) {
  .formation-faq {
    padding: 0 var(--space-sm); } }

/* ==========================================================================
   YOUTUBE SEARCH — grille de videos et moteur de recherche Fuse.js
   ========================================================================== */
/* --------------------------------------------------------------------------
   Accessibilite — ecran uniquement
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0; }

/* --------------------------------------------------------------------------
   Conteneur principal
   -------------------------------------------------------------------------- */
.video-search {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-block-padding-h) var(--space-2xl); }

/* --------------------------------------------------------------------------
   Controles : champ de recherche
   -------------------------------------------------------------------------- */
.video-search__controls {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md); }
  .video-search__controls > [role="search"] {
    flex: 1; }
  @media (max-width: 480px) {
    .video-search__controls {
      flex-direction: column; } }
.video-search__input,
.video-search__filter {
  width: 100%;
  padding: 0.625rem var(--space-sm);
  font-family: var(--font-corps);
  font-size: var(--text-s);
  color: var(--texte);
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none; }
  .video-search__input:focus,
  .video-search__filter:focus {
    border-color: var(--vert-canard);
    box-shadow: 0 0 0 2px rgba(var(--vert-canard-rgb), 0.18); }
  .video-search__input:disabled,
  .video-search__filter:disabled {
    opacity: 0.5;
    cursor: not-allowed; }

.video-search__filter {
  flex-shrink: 0;
  width: auto;
  min-width: 180px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2335575A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem; }
  @media (max-width: 480px) {
    .video-search__filter {
      width: 100%; } }
/* --------------------------------------------------------------------------
   Message "aucun resultat"
   -------------------------------------------------------------------------- */
.video-search__no-result {
  font-size: var(--text-s);
  color: var(--texte-leger);
  text-align: center;
  padding: var(--space-lg) 0;
  margin: 0; }

/* --------------------------------------------------------------------------
   Grille de cartes
   -------------------------------------------------------------------------- */
.video-search__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); }
  @media (max-width: 768px) {
    .video-search__grid {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) {
    .video-search__grid {
      grid-template-columns: 1fr; } }
/* --------------------------------------------------------------------------
   Carte video
   -------------------------------------------------------------------------- */
.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--fond);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition); }
  .video-card:hover, .video-card:focus-visible {
    box-shadow: var(--shadow-md);
    border-color: var(--vert-canard);
    outline: none; }

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--vert-nuit); }
  .video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }

.video-card__niveau {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  background: var(--vert-canard);
  color: var(--blanc);
  font-family: var(--font-corps);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  pointer-events: none; }

.video-card__body {
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs); }

.video-card__titre {
  margin: 0;
  font-family: var(--font-corps);
  font-size: var(--text-s);
  font-weight: var(--font-weight-semibold);
  color: var(--texte);
  line-height: var(--line-height-content);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.video-card__notions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem; }

.video-card__notion {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--texte-leger);
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.4rem;
  line-height: 1.5; }

.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-top: auto; }

.video-card__duration {
  font-size: var(--text-xs);
  color: var(--texte-leger);
  font-variant-numeric: tabular-nums;
  white-space: nowrap; }

/* --------------------------------------------------------------------------
   Highlighting Fuse.js
   -------------------------------------------------------------------------- */
.video-card mark {
  background: rgba(var(--or-rgb), 0.35);
  color: inherit;
  padding: 0;
  border-radius: 2px; }

/* --------------------------------------------------------------------------
   Bouton "Voir plus"
   -------------------------------------------------------------------------- */
.video-search__more {
  display: block;
  margin: var(--space-lg) auto 0;
  padding: 0.625rem var(--space-lg);
  font-family: var(--font-corps);
  font-size: var(--text-s);
  font-weight: var(--font-weight-semibold);
  color: var(--vert-canard);
  background: transparent;
  border: 2px solid var(--vert-canard);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition); }
  .video-search__more:hover, .video-search__more:focus-visible {
    background: var(--vert-canard);
    color: var(--blanc);
    outline: none; }
