@charset "UTF-8";
/* ==========================================================================
   MAIN SCSS - Oljen ECG
   Compile avec: sass scss/main.scss static/css/main.css
   ========================================================================== */
/* ==========================================================================
   1. ABSTRACTS - Variables, Mixins
   ========================================================================== */
/* ==========================================================================
   VARIABLES CSS - Projet oljen-ecg.fr
   FICHIER UNIQUE PARTAGÉ PAR TOUS LES PROTOTYPES
   ========================================================================== */
:root {
  /* Couleurs principales */
  --bleu-profond: #1a3a5c;
  --bleu-profond-rgb: 26, 58, 92;
  /* Canaux RGB pour transparence */
  --or: #E8BB8B;
  --or-clair: #F4DCC3;
  --or-fonce: #96632D;
  /* Couleurs neutres */
  --blanc: #FFFFFF;
  --blanc-rgb: 255, 255, 255;
  /* Canaux RGB pour transparence */
  --fond: #F6F6F6;
  --texte: #2D3748;
  --texte-leger: #718096;
  /* Gris plus clair pour textes secondaires */
  /* Couleurs d'interface */
  --gris-border: #E2E8F0;
  /* Bordures inputs, placeholders */
  --input-placeholder: #A0AEC0;
  /* Texte placeholder inputs */
  /* Typographie */
  --font-titre: 'Inknut Antiqua', Georgia, serif;
  --font-corps: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Font-weights - Système complet */
  --font-weight-normal: 400;
  /* Texte de base, sous-titres légers */
  --font-weight-semibold: 600;
  /* Emphases, boutons, navigation, UI */
  --font-weight-bold: 700;
  /* Titres H1/H2/H3 uniquement */
  /* Système de tailles de police harmonisé (7 niveaux) */
  --text-xs: 0.625rem;
  /* 10px - Réservé (non utilisé actuellement) */
  --text-s: 0.875rem;
  /* 14px - Petit (labels, légendes, footer) */
  --text-base: 1.125rem;
  /* 18px - Normal (texte principal) */
  --text-lg: 1.375rem;
  /* 22px - Grand (taglines, intros) */
  --text-xl: 1.75rem;
  /* 28px - Très grand (sous-titres, prix) */
  --text-2xl: 2.25rem;
  /* 36px - Très très grand (titres H2) */
  --text-3xl: 3rem;
  /* 48px - Géant (titres H1) */
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  /* Content Blocks - Dimensions */
  --content-block-max-width: 950px;
  --content-block-padding-h: 20px;
  --image-size: 385px;
  --image-text-gap: 40px;
  --formation-image-height: 320px;
  /* Content Blocks - Espacements */
  --content-block-gap: 30px;
  --content-block-gap-mobile: 20px;
  --section-title-padding-v: 50px;
  /* Padding des encarts blancs - Système responsive harmonisé */
  --card-padding: var(--space-lg);
  /* 32px - Desktop */
  --card-padding-tablet: var(--space-md);
  /* 24px - Tablette (< 900px) */
  --card-padding-mobile: 1.25rem;
  /* 20px - Mobile (< 600px) */
  /* Espacements spécifiques cartes formations */
  --card-title-gap: calc(var(--space-sm) / 2);
  /* 8px - Espace titre → lien "En savoir plus" */
  /* Content Blocks - Typographie */
  --h2-size-desktop: 2.125rem;
  /* 34px */
  --h2-size-mobile: 1.875rem;
  /* 30px */
  --text-size-desktop: 1.125rem;
  /* 18px */
  --text-size-mobile: 1rem;
  /* 16px */
  --line-height-title: 1.2;
  /* Titres h1/h2/h3 */
  --line-height-content: 1.6;
  /* Paragraphes et texte courant */
  /* 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);
  /* Ombre inversée (vers le haut) */
  /* Border radius - Actuellement à 0 (coins carrés), modifiable globalement */
  --radius-sm: 0;
  /* Petits éléments (boutons, inputs) - Future valeur : 6px */
  --radius-md: 0;
  /* Éléments moyens (inputs, petites cards) - Future valeur : 8px */
  --radius-lg: 0;
  /* Grandes cards, témoignages - Future valeur : 12px */
  --radius-xl: 0;
  /* Grands conteneurs - Future valeur : 16px */
  --radius-circle: 50%;
  /* Éléments circulaires (photos, icônes) */ }

/* ==========================================================================
   RESPONSIVE - Tailles de police mobile
   ========================================================================== */
@media (max-width: 599px) {
  :root {
    --text-xs: 0.5rem;
    /* 8px - Réservé (non utilisé actuellement) */
    --text-s: 0.75rem;
    /* 12px - Petit */
    --text-base: 0.9375rem;
    /* 15px - Normal */
    --text-lg: 1.125rem;
    /* 18px - Grand */
    --text-xl: 1.5rem;
    /* 24px - Très grand */
    --text-2xl: 1.875rem;
    /* 30px - Très très grand */
    --text-3xl: 2.25rem;
    /* 36px - Géant */ } }

/* ==========================================================================
   2. BASE - Reset, Spacing, Typography
   ========================================================================== */
/* ==========================================================================
   RESET CSS - Projet oljen-ecg.fr
   FICHIER UNIQUE PARTAGÉ PAR TOUS LES PROTOTYPES
   ========================================================================== */
/* Reset de base */
* {
  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); }

/* Interligne des titres */
h1, h2, h3 {
  line-height: var(--line-height-title); }

/* Interligne des listes */
ul, ol, li {
  line-height: var(--line-height-content); }

/* Suppression margin-bottom des listes */
ul, ol, li {
  margin-bottom: 0 !important; }

/* Liens dans le contenu principal */
main a {
  color: var(--or-fonce);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: var(--transition); }

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

/* ==========================================================================
   SYSTÈME D'ESPACEMENT VERTICAL
   Règle simple : 48px entre blocs, 32px entre titres successifs
   ========================================================================== */
/* Variables d'espacement */
:root {
  --spacing-block: 48px;
  /* Espacement entre blocs */
  --spacing-title: 32px;
  /* Espacement entre titres successifs (h1→h2, h2→h3) */ }

/* ==========================================================================
   BLOCS PRINCIPAUX - Espacement standard 48px
   ========================================================================== */
.promo-banner,
.hero,
.formation-hero,
.formation-banner-section,
.formation-structure,
.pack-banner-section,
.formation-faq,
.credentials-block,
.testimonial-with-photo,
.testimonial-without-photo,
.formations-section,
.pack-banner {
  margin-bottom: var(--spacing-block); }

/* ==========================================================================
   TITRES DE SECTION - Espacement par défaut 48px
   ========================================================================== */
.section-title {
  margin-bottom: var(--spacing-block); }

/* ==========================================================================
   EXCEPTION : Titres successifs - Espacement réduit 32px
   ========================================================================== */
/* H1 immédiatement suivi de H2 : compenser pour avoir 32px total */
h1 + h2 {
  margin-top: calc(var(--spacing-title) - var(--spacing-block)); }

/* H2 immédiatement suivi de H3 : compenser pour avoir 32px total */
h2 + h3 {
  margin-top: calc(var(--spacing-title) - var(--spacing-block)); }

/* Page formations : H1 "Formations" → H2 "1ère année" - Espacement réduit */
.page-header {
  margin-bottom: calc(var(--spacing-title) / 2); }

/* ==========================================================================
   RESPONSIVE - TABLETTE (600px - 899px)
   ========================================================================== */
@media (max-width: 899px) {
  :root {
    --spacing-block: 40px;
    --spacing-title: 24px; } }

/* ==========================================================================
   RESPONSIVE - MOBILE (< 600px)
   ========================================================================== */
@media (max-width: 599px) {
  :root {
    --spacing-block: 32px;
    --spacing-title: 20px; } }

/* ==========================================================================
   CLASSES UTILITAIRES - Patterns réutilisables
   ========================================================================== */
/* Card standard avec padding responsive */
.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); } }
/* Conteneur centré avec max-width */
.container-content {
  max-width: var(--content-block-max-width);
  margin: 0 auto;
  padding: 0 var(--content-block-padding-h); }

/* Bordures latérales colorées (gauche) */
.border-or-left {
  border-left: 4px solid var(--or); }

.card-bordered-blue {
  border-left: 4px solid var(--bleu-profond); }

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

.card-bordered-blue-thin {
  border-left: 3px solid var(--bleu-profond); }

/* ==========================================================================
   FLEXBOX - Centrage et alignement
   ========================================================================== */
/* Centrage complet (horizontal + vertical) */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center; }

/* Centrage vertical uniquement */
.flex-center-v {
  display: flex;
  align-items: center; }

/* Centrage horizontal uniquement */
.flex-center-h {
  display: flex;
  justify-content: center; }

/* ==========================================================================
   PHOTOS CIRCULAIRES - Tailles standards
   ========================================================================== */
.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'ICÔNES
   ========================================================================== */
.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%; }

/* ==========================================================================
   3. COMPONENTS - Éléments réutilisables
   ========================================================================== */
/* ==========================================================================
   LOGO - Styles partagés pour le logo image
   Utilisé dans : Header, Footer
   ========================================================================== */
/* Logo image avec mode de fusion */
.logo-img {
  width: 180px;
  height: auto;
  mix-blend-mode: lighten;
  /* Rend le fond noir transparent sur fond sombre */ }

/* Lien contenant le logo (pas de décoration, pas d'effet hover) */
.logo-link {
  display: inline-block;
  line-height: 0;
  /* Évite l'espace vertical autour de l'image */
  cursor: pointer;
  /* Indique que c'est cliquable */ }

/**
 * Styles de boutons factorisés
 * Tous les boutons du site utilisent ces styles
 */
/* ========================================
   BOUTON PRIMAIRE
   ======================================== */
.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: transparent;
  color: var(--or-fonce);
  border: 2px solid var(--or-fonce);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

/* Exception : BOUTONS - Jamais de soulignement */
main .btn-primary,
.content-block .btn-primary,
.text-block .btn-primary,
.image-text-text .btn-primary,
.formation-text .btn-primary,
.formation-button.btn-primary {
  color: var(--texte) !important;
  text-decoration: none !important; }

main .btn-primary:hover,
.content-block .btn-primary:hover,
.text-block .btn-primary:hover,
.image-text-text .btn-primary:hover,
.formation-text .btn-primary:hover,
.formation-button.btn-primary:hover {
  color: var(--or-fonce) !important;
  text-decoration: none !important; }

/* ========================================
   BOUTON SECONDAIRE
   ======================================== */
.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: 2px solid var(--or);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

/* Exception : BOUTONS secondaires - Jamais de soulignement */
main .btn-secondary,
.content-block .btn-secondary,
.text-block .btn-secondary,
.image-text-text .btn-secondary,
.formation-text .btn-secondary {
  text-decoration: none !important; }

main .btn-secondary:hover,
.content-block .btn-secondary:hover,
.text-block .btn-secondary:hover,
.image-text-text .btn-secondary:hover,
.formation-text .btn-secondary:hover {
  text-decoration: none !important; }

/* ========================================
   BOUTON BLANC (variante pour fond sombre)
   ======================================== */
.btn-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--blanc);
  color: var(--bleu-profond);
  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(--bleu-profond);
  border-color: var(--or);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

/* ========================================
   LIEN SECONDAIRE (texte discret)
   ======================================== */
.btn-link {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--bleu-profond);
  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); }

/* ========================================
   VARIATIONS RESPONSIVES
   ======================================== */
/* 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%; } }

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
/* Témoignage avec photo */
.testimonial-with-photo {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom géré par spacing.scss */
  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; }

/* Mots en emphase (gras bleu profond) */
.testimonial-with-photo .testimonial-quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--bleu-profond); }

/* Liens dans témoignages (gras doré, pas de soulignement) */
.testimonial-with-photo .testimonial-quote a {
  font-weight: var(--font-weight-semibold);
  color: var(--or-fonce);
  text-decoration: none; }

.testimonial-with-photo .testimonial-quote a:hover {
  color: var(--or); }

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

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 899px) {
  .testimonial-with-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); } }

/* ==========================================================================
   TÉMOIGNAGE SANS PHOTO
   ========================================================================== */
.testimonial-without-photo {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom géré par spacing.scss */
  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; }

/* Mots en emphase (gras bleu profond) */
.testimonial-without-photo .testimonial-quote strong {
  font-weight: var(--font-weight-semibold);
  color: var(--bleu-profond); }

/* Liens dans témoignages (gras doré, pas de soulignement) */
.testimonial-without-photo .testimonial-quote a {
  font-weight: var(--font-weight-semibold);
  color: var(--or-fonce);
  text-decoration: none; }

.testimonial-without-photo .testimonial-quote a:hover {
  color: var(--or); }

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

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

/* Responsive pour le témoignage sans photo */
@media (max-width: 899px) {
  .testimonial-without-photo .testimonial-content {
    padding: var(--card-padding-tablet); } }

@media (max-width: 599px) {
  .testimonial-without-photo .testimonial-content {
    padding: var(--card-padding-mobile); } }

/* ==========================================================================
   BANNERS - Composants formation-banner et pack-banner
   Code factorisé pour éviter la duplication
   ========================================================================== */
/* ==========================================================================
   STYLES COMMUNS (formation-banner et pack-banner)
   ========================================================================== */
.formation-banner,
.pack-banner {
  background: var(--blanc);
  border-left: 4px solid var(--or);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: var(--card-padding); }

.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;
  height: auto; }

.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(--bleu-profond);
  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; }

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

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

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

/* ==========================================================================
   4. LAYOUT - Structure de page (header, footer, etc.)
   ========================================================================== */
/* ==========================================================================
   HEADER - Styles pour le composant Header
   ========================================================================== */
/* ==========================================================================
   HEADER - Structure principale
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bleu-profond);
  z-index: 2000;
  box-shadow: var(--shadow-header); }

.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 styles définis dans prototypes/shared/css/logo.css */
/* ==========================================================================
   NAVIGATION - Desktop
   ========================================================================== */
.nav {
  display: none;
  /* Caché par défaut (mobile first) */ }

.nav-link {
  color: var(--blanc);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm); }

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

.nav-link.active {
  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(--bleu-profond-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; }

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

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

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

/* ==========================================================================
   RESPONSIVE - Desktop
   ========================================================================== */
@media (min-width: 900px) {
  /* Navigation visible en mode desktop */
  .nav {
    display: flex;
    gap: var(--space-md); }
  /* Hamburger caché en mode desktop */
  .menu-toggle {
    display: none; }
  /* Overlay caché en mode desktop */
  .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); }
  /* Logo responsive : taille ajustée via logo.css si nécessaire */ }

/* ==========================================================================
   FOOTER - Styles simplifiés
   Structure : Branding | Réseaux | Légal+Contact+Copyright
   ========================================================================== */
/* Footer global */
.footer {
  background: var(--bleu-profond);
  color: var(--blanc);
  padding: var(--space-lg) 0;
  /* Padding vertical seulement */
  /* margin-top supprimé - espacement géré par margin-bottom des blocs précédents */
  box-shadow: var(--shadow-footer);
  /* Ombre portée vers le haut */ }

/* Container principal - 3 colonnes en desktop */
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  /* Padding horizontal comme le header */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg); }

/* Desktop : ajustement colonnes */
@media (min-width: 900px) {
  .footer-inner {
    gap: var(--space-xl); } }

/* ========== GAUCHE : Branding ========== */
.footer-brand {
  display: flex;
  align-items: center; }

/* Logo styles définis dans prototypes/shared/css/logo.css */
/* ========== CENTRE : Réseaux sociaux ========== */
.footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: center; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--blanc);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition); }

.social-link:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

.social-link svg {
  width: 20px;
  height: 20px; }

/* ========== DROITE : Légal + Contact + Copyright ========== */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem; }

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-s); }

.footer-link {
  color: var(--blanc);
  text-decoration: none;
  transition: var(--transition); }

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

.separator {
  color: var(--or); }

.copyright {
  font-size: var(--text-s);
  color: rgba(255, 255, 255, 0.6); }

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 899px) {
  .footer {
    padding: var(--space-lg) 0;
    /* Padding vertical seulement */ }
  .footer-inner {
    padding: 0 var(--space-sm);
    /* Padding horizontal cohérent avec header mobile */
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center; }
  /* Branding : centré */
  .footer-brand {
    justify-content: center;
    flex-wrap: wrap; }
  /* Réseaux : déjà centré */
  .footer-social {
    justify-content: center; }
  /* Légal : centré + empilé */
  .footer-legal {
    align-items: center; }
  .legal-links {
    flex-wrap: wrap;
    justify-content: center; } }

/* ========== STICKY FOOTER ========== */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

main {
  flex: 1; }

/* ========================================
   BLOC PROMO NOEL
   ======================================== */
.promo-banner {
  position: relative;
  background: var(--bleu-profond);
  padding: var(--space-lg);
  text-align: center;
  overflow: hidden; }

/* Conteneur des flocons animés */
.snowflakes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1; }

/* Flocon individuel */
.snowflake {
  position: absolute;
  top: -60px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
  user-select: none;
  pointer-events: none;
  animation: snowfall linear infinite; }

/* Animation de chute */
@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1; }
  100% {
    transform: translateY(100vh) translateX(var(--drift)) rotate(360deg);
    opacity: 0.3; } }

.promo-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto; }

/* Titre principal */
.promo-banner h2 {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--blanc);
  margin-bottom: var(--space-sm); }

/* Texte promo */
.promo-banner-text {
  font-size: var(--text-lg);
  color: var(--blanc);
  margin-bottom: var(--space-md);
  line-height: 1.5; }

/* Code promo en OR (même style que <strong> mais en doré) */
.promo-code {
  color: var(--or);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-lg); }

/* Bouton blanc (variante) */
.promo-banner .btn-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--blanc);
  color: var(--bleu-profond);
  border: 2px solid var(--blanc);
  border-radius: 0;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer; }

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

/* Personnages de Noël */
.promo-character {
  position: absolute;
  height: 150px;
  width: auto;
  top: 55%;
  transform: translateY(-50%);
  mix-blend-mode: lighten;
  z-index: 1;
  cursor: pointer; }

.promo-character-left {
  left: calc(50% - 500px); }

.promo-character-right {
  right: calc(50% - 500px); }

/* Animation bounce - Gérée par JavaScript */
.promo-character.bouncing {
  animation: bounce 0.6s ease-in-out infinite; }

/* Keyframes - Bounce trampoline simple */
@keyframes bounce {
  0%, 100% {
    transform: translateY(-50%) scaleY(1) scaleX(1); }
  10% {
    transform: translateY(-50%) scaleY(0.95) scaleX(1.02);
    /* Compression avant saut */ }
  40% {
    transform: translateY(calc(-50% - 25px)) scaleY(1.03) scaleX(0.99);
    /* Point haut */ }
  80% {
    transform: translateY(-50%) scaleY(0.96) scaleX(1.02);
    /* Atterrissage */ } }

/* Classe pour masquer le bloc après la promo */
.promo-banner.hidden {
  display: none; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 899px) {
  .promo-banner {
    padding: var(--space-md); }
  /* Masquer les personnages sur tablette et mobile */
  .promo-character {
    display: none; } }

@media (max-width: 599px) {
  .promo-banner {
    padding: var(--card-padding-mobile) var(--space-sm); }
  .promo-code {
    display: block;
    margin-top: 0.5rem; }
  .promo-banner .btn-white {
    width: 100%;
    padding: 0.75rem 2rem; } }

/* ==========================================================================
   5. PAGES - Styles spécifiques aux pages
   ========================================================================== */
/* ==========================================================================
   HERO SECTION - Prototype
   ========================================================================== */
.hero {
  background: var(--fond);
  padding: 0 var(--space-lg); }

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto; }

/* ==========================================================================
   HEADER - Titre + Tagline
   ========================================================================== */
.hero-header {
  text-align: center;
  margin-bottom: 50px; }

.hero-header h1 {
  font-family: var(--font-titre);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin-bottom: var(--space-md); }

.hero-tagline {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--texte);
  max-width: 800px;
  margin: 0 auto; }

/* ==========================================================================
   CARTES D'OFFRES
   ========================================================================== */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl); }

.hero-card {
  position: relative;
  background: var(--blanc);
  padding: var(--space-lg);
  /* 2rem = 32px au lieu de 48px */
  /* border: 3px solid var(--bleu-profond); */
  border-radius: 0;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* 1.5rem = 24px entre tous les éléments */
  overflow: hidden;
  /* Pour le badge diagonal */ }

/* Carte mise en avant (Formations - centrale) */
.hero-card--featured {
  /* border: 3px solid var(--or); */
  box-shadow: var(--shadow-lg);
  z-index: 2; }

/* Badge promo diagonal - Texte or sur fond bleu (par défaut) */
.promo-badge {
  position: absolute;
  top: 35px;
  right: -45px;
  width: 200px;
  background: var(--bleu-profond);
  color: var(--or);
  padding: 0.5rem 0;
  text-align: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-s);
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10; }

/* Badge promo diagonal - Variante or (texte bleu sur fond or) */
.promo-badge--gold {
  background: var(--or);
  color: var(--bleu-profond); }

/* Badge "Le plus populaire" (en haut à gauche, discret) */
.popular-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--bleu-profond);
  color: var(--or);
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  z-index: 5; }

/* Icônes */
.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0;
  /* Pas de margin-bottom, le gap flex suffit */ }

.card-icon svg {
  width: 48px;
  height: 48px; }

.card-icon-formations {
  background: rgba(var(--bleu-profond-rgb), 0.1);
  color: var(--bleu-profond); }

.card-icon-stages {
  background: rgba(var(--bleu-profond-rgb), 0.1);
  color: var(--bleu-profond); }

.card-icon-cours {
  background: rgba(var(--bleu-profond-rgb), 0.1);
  color: var(--bleu-profond); }

/* Contenu carte */
.hero-card h3 {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  text-align: center;
  margin: 0; }

.card-subtitle {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--or-fonce);
  text-align: center;
  margin: 0; }

/* Détail sous le sous-titre (prix horaire) */
.card-subtitle-detail {
  font-size: var(--text-s);
  font-weight: var(--font-weight-semibold);
  color: var(--texte-leger);
  text-align: center;
  margin: -1rem 0 0 0;
  /* Rapproché du tarif */
  font-style: italic; }

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

/* Liste de features dans la carte */
.card-features {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--texte);
  list-style: none;
  padding: 0;
  margin: -1rem auto 0 auto;
  /* Centré horizontalement */
  flex-grow: 1;
  width: fit-content;
  /* Le bloc prend seulement la largeur nécessaire */
  text-align: left;
  /* Alignement à gauche du contenu */ }

.card-features li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: 0.5rem; }

.card-features li:last-child {
  margin-bottom: 0; }

.card-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bleu-profond);
  font-weight: var(--font-weight-semibold); }

/* Boutons CTA */
.hero-card .btn-primary,
.hero-card .btn-secondary {
  width: 100%;
  text-align: center;
  margin-top: auto; }

/* ==========================================================================
   FORMULAIRE HERO - Liste d'attente
   ========================================================================== */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: auto; }

.hero-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: var(--font-corps);
  font-size: var(--text-base);
  color: var(--texte);
  transition: var(--transition); }

.hero-form-input:focus {
  border-color: var(--bleu-profond);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--bleu-profond-rgb), 0.1); }

.hero-form-input::placeholder {
  color: #A0AEC0; }

.hero-form .btn-primary {
  width: 100%; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 899px) {
  .hero {
    padding: 0 var(--space-md); }
  .hero-cards {
    grid-template-columns: 1fr;
    gap: var(--space-lg); }
  .promo-badge {
    padding: 0.4rem 2.5rem; }
  /* Badge "Le plus populaire" en mobile */
  .popular-badge {
    padding: 0.4rem 0.75rem; } }

@media (max-width: 599px) {
  .hero {
    padding: 0 var(--space-sm); }
  .hero-header {
    margin-bottom: var(--space-xl); }
  .hero-card {
    padding: var(--space-lg); }
  .card-icon {
    width: 64px;
    height: 64px; }
  .card-icon svg {
    width: 36px;
    height: 36px; } }

/* ==========================================================================
   BLOC CREDENTIALS / QUI SUIS-JE
   ========================================================================== */
.credentials-block {
  max-width: var(--content-block-max-width);
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom géré par spacing.scss - NE PAS redéfinir ici */
  padding: 0 var(--content-block-padding-h); }

/* Card avec ombre forte pour effet "floating" + bande or */
.credentials-card {
  background: var(--blanc);
  box-shadow: var(--shadow-lg);
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--or); }

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

/* Photo circulaire */
.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 h2 {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin: 0; }

.credentials-text h3.credentials-subtitle {
  font-family: var(--font-titre);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin: 0; }

.credentials-text > p:last-child {
  font-size: var(--text-base);
  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: var(--text-s);
  font-weight: var(--font-weight-semibold);
  color: var(--bleu-profond);
  margin: 0;
  order: 1; }

.timeline-label {
  font-size: var(--text-s);
  color: var(--bleu-profond);
  text-align: center;
  max-width: 150px;
  line-height: 1.3;
  order: 3; }

/* Responsive credentials */
@media (max-width: 899px) {
  .credentials-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center; }
  .credentials-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto; } }

@media (max-width: 599px) {
  .credentials-card {
    padding: var(--card-padding-mobile); }
  .credentials-photo {
    width: 150px;
    height: 150px; }
  /* Timeline en vertical sur mobile - CENTRÉE */
  .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: 400px; }
  .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; } }

/* Uniquement le bloc credentials, extrait de content-blocks */
/* ========================================
   PROTOTYPE - CARTES FORMATIONS
   ======================================== */
/* Page container */
.formations-page {
  background: var(--fond);
  padding: 0 var(--space-lg);
  max-width: 1400px;
  margin: 0 auto; }

/* Page header */
.page-header {
  text-align: center;
  padding: 0;
  background: none; }

.page-header h1 {
  font-family: var(--font-titre);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin-bottom: 0; }

.page-intro {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--texte);
  max-width: 800px;
  margin: 0 auto; }

/* Section formations */
.formations-section {
  /* Espacement géré par spacing.css */ }

.section-title {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  /* margin-bottom géré par spacing.scss */
  text-align: center; }

.section-intro {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--texte);
  max-width: 900px;
  margin: 0 auto var(--space-xl) auto;
  text-align: center; }

/* Grid formations */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg); }

/* Grid pour formation unique (Ars Scribendi) */
.formations-grid-single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto; }

/* Formation card */
.formation-card {
  background: var(--blanc);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column; }

/* Image container */
.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 {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition); }

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

/* Effet wiggle - Animation générique déclenchée par classe JavaScript */
.wiggling img {
  animation: wiggle var(--wiggle-duration) ease-out; }

/* Keyframe wiggle avec oscillations décroissantes
   Formule: angle(n) = max_angle × (0.875)^n avec alternance de signe
   Oscillations: 100% → 87.5% → 62.5% → 50% → 31.25% → 18.75% → 10% → 5% → 2.5%
*/
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
    /* 0 */ }
  10% {
    transform: rotate(calc(-1 * var(--wiggle-max-angle)));
    /* -100% */ }
  20% {
    transform: rotate(calc(0.7 * var(--wiggle-max-angle)));
    /* +87.5% */ }
  30% {
    transform: rotate(calc(-0.5 * var(--wiggle-max-angle)));
    /* -62.5% */ }
  40% {
    transform: rotate(calc(0.35 * var(--wiggle-max-angle)));
    /* +50% */ }
  50% {
    transform: rotate(calc(-0.2 * var(--wiggle-max-angle)));
    /* -31.25% */ }
  60% {
    transform: rotate(calc(0.1 * var(--wiggle-max-angle)));
    /* +18.75% */ }
  70% {
    transform: rotate(calc(-0.05 * var(--wiggle-max-angle)));
    /* -10% */ }
  80% {
    transform: rotate(calc(0.025 * var(--wiggle-max-angle)));
    /* +5% */ }
  90% {
    transform: rotate(calc(-0.0125 * var(--wiggle-max-angle)));
    /* -2.5% */ }
  100% {
    transform: rotate(0deg);
    /* 0 */ } }

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

.card-content h3 {
  font-family: var(--font-titre);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin-bottom: 0;
  text-align: center; }

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

/* Lien "En savoir plus" sous le titre */
.card-learn-more {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  padding: var(--card-title-gap) 0;
  /* Utilise la variable pour espacement vertical */
  text-align: center;
  font-style: italic; }

/* Prix de la formation */
.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 actions (bouton principal en bas) */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm); }

/* ========================================
   BANDEAU PACK
   Utilise le composant product-banner de components/_banner.scss
   ======================================== */
/* Les styles du banner sont dans components/_banner.scss */
/* ========================================
   BANDEAU PROMO
   ======================================== */
/* Bandeau promo */
.promo-section {
  background: var(--or-clair);
  border-left: 4px solid var(--or);
  padding: var(--space-md);
  text-align: center;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xxl); }

.promo-text {
  font-size: var(--text-base);
  color: var(--texte);
  margin: 0; }

.promo-text strong {
  color: var(--or-fonce);
  font-weight: var(--font-weight-semibold); }

/* ========================================
   RESPONSIVE
   ======================================== */
/* Tablette */
@media (max-width: 1200px) {
  .formations-grid {
    grid-template-columns: repeat(2, 1fr); }
  /* Grille formation unique (Ars Scribendi) : même largeur que 2x2 mais centrée */
  .formations-grid-single {
    grid-template-columns: repeat(2, 1fr);
    max-width: none; }
  /* Carte unique : prend toute la grille, limitée à 50%, centrée */
  .formations-grid-single .formation-card:only-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto; }
  .formation-card {
    padding: var(--card-padding-tablet); }
  .pack-banner-content {
    gap: var(--space-md); }
  .pack-banner-image {
    width: 90px; }
  .pack-banner-action {
    align-items: center; }
  .pack-banner-cta .btn-primary {
    width: 100%;
    max-width: 300px; } }

/* Mobile */
@media (max-width: 768px) {
  .formations-page {
    padding: 0 var(--space-md); }
  .formations-grid {
    grid-template-columns: 1fr; }
  /* Carte unique : comportement normal en mobile */
  .formations-grid-single .formation-card:only-child {
    grid-column: auto;
    max-width: none;
    margin: 0; }
  /* Bandeau Pack mobile */
  .pack-banner-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center; }
  .pack-banner-image {
    width: 100px;
    margin: 0 auto; }
  .pack-banner-text {
    order: 0; }
  .pack-banner-action {
    order: 1;
    align-items: center;
    width: 100%; }
  .pack-banner-pricing {
    justify-content: center;
    margin: 0; }
  .pack-banner-cta .btn-primary {
    width: 100%;
    max-width: 300px; } }

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

/* Très petit mobile */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.875rem; }
  .formations-section {
    margin-bottom: var(--space-xl); } }

/* ==========================================================================
   PAGE FORMATION INDIVIDUELLE
   ========================================================================== */
.formation-page {
  background: var(--fond);
  padding: 0; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.formation-hero {
  background: transparent;
  /* Fond gris général visible */
  padding: 0 var(--space-lg);
  /* Seulement padding horizontal */
  text-align: center; }

/* Header - Titre + Tagline (hors du bloc blanc) */
.formation-header {
  margin-bottom: 50px;
  /* Espacement avant le bloc blanc */ }

.formation-header h1 {
  font-family: var(--font-titre);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin-bottom: var(--space-md); }

.formation-tagline {
  font-size: var(--text-lg);
  color: var(--texte);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto; }

/* Conteneur centré : Vidéo + CTA (sans bloc blanc) */
.formation-hero-inner {
  max-width: var(--content-block-max-width);
  margin: 0 auto; }

/* Vidéo */
.formation-video {
  margin-bottom: var(--space-lg); }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 5px solid var(--bleu-profond);
  /* Bordure bleu profond */
  box-shadow: var(--shadow-lg); }

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.video-placeholder {
  background: var(--fond);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden; }

.video-placeholder img {
  width: 100%;
  height: auto;
  display: block; }

.video-placeholder-text {
  padding: var(--space-xl);
  text-align: center; }

.video-placeholder-text p {
  font-size: 1.125rem;
  color: var(--texte-leger);
  margin: 0; }

/* CTA */
.formation-cta {
  margin-top: var(--space-lg); }

/* Bouton utilise les styles standard de _buttons.scss */
/* ==========================================================================
   BANDEAU FORMATION
   Utilise le composant product-banner de components/_banner.scss
   ========================================================================== */
.formation-banner-section {
  background: transparent;
  padding: 0 var(--space-lg); }

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

/* Les styles du banner sont dans components/_banner.scss */
/* ==========================================================================
   STRUCTURE DE LA FORMATION
   ========================================================================== */
.formation-structure {
  background: transparent;
  padding: 0 var(--space-lg);
  text-align: left; }

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

.structure-inner h2 {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  text-align: center;
  margin-bottom: var(--space-xl); }

.structure-inner .formation-cta {
  text-align: center;
  margin-top: var(--space-xl); }

.structure-partie {
  margin-bottom: var(--space-lg); }

.structure-partie h3 {
  font-family: var(--font-titre);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  margin-bottom: var(--space-md); }

.structure-videos {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm); }

.structure-video-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-sm);
  background: var(--blanc);
  border-left: 3px solid var(--bleu-profond); }

.video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-profond);
  line-height: 0; }

.video-icon svg {
  width: 20px;
  height: 20px;
  display: block; }

.video-titre {
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  color: var(--texte);
  font-family: var(--font-corps); }

.video-duree {
  font-size: var(--text-base);
  color: var(--texte-leger);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-corps); }

/* ==========================================================================
   FAQ
   ========================================================================== */
/* Pack banner section */
.pack-banner-section {
  background: transparent;
  padding: 0 var(--space-lg);
  /* margin-bottom géré par spacing.scss */ }

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

/* FAQ section */
.formation-faq {
  background: transparent;
  padding: 0 var(--space-lg); }

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

.faq-inner h2 {
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--bleu-profond);
  text-align: center;
  margin-bottom: var(--space-xl); }

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

.faq-item {
  background: var(--blanc);
  border-left: 3px solid var(--bleu-profond);
  padding: var(--space-sm); }

.faq-item summary {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--bleu-profond);
  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="%231a365d" 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(--bleu-profond);
  text-decoration: none; }

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

/* Double CTA final : Choix Formation seule / Pack */
.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;
  background: var(--blanc);
  border-left: 3px solid var(--or);
  padding: var(--space-lg); }

.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(--bleu-profond);
  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-hero {
    padding: 0 var(--space-md);
    /* Seulement padding horizontal */ }
  .formation-header {
    margin-bottom: var(--space-xl); }
  .formation-banner-section,
  .formation-structure,
  .formation-faq {
    padding: 0 var(--space-md); }
  .formation-banner-content {
    gap: var(--space-lg); }
  .formation-banner-image {
    width: 80px; } }

@media (max-width: 599px) {
  .formation-hero {
    padding: 0 var(--space-sm);
    /* Seulement padding horizontal */ }
  .formation-header {
    margin-bottom: var(--space-xl); }
  .formation-cta .btn-primary {
    width: 100%; }
  .formation-banner-section,
  .formation-structure,
  .formation-faq {
    padding: 0 var(--space-sm); }
  .formation-banner-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center; }
  .formation-banner-image {
    width: 100px;
    margin: 0 auto; }
  .formation-banner-action {
    width: 100%;
    align-items: center; }
  .formation-banner-cta .btn-primary {
    width: 100%;
    max-width: 300px; }
  .structure-video-item {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-sm); }
  .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%; } }

/* Page de formation individuelle */
/* ==========================================================================
   FIN - Un seul fichier CSS sera généré en production
   ========================================================================== */
