/* ==========================================================================

   SOS OXYGENE DISTRIBUTION - STYLE GLOBAL FUSIONNE
   -------------------------------------------------
   Ce fichier regroupe les 3 fichiers fournis :
   - style-originale.css
   - style-header.css
   - style-mention-legal(1).css

   REPERES DANS LE FICHIER
   01. Variables et styles globaux
   02. Header commun
   03. Boutons
   04. Catalogue / filtres des formations
   05. Cartes de formations
   06. Pages detail de formation / formulaires / informations
   07. Blocs de contenu des formations
   08. Header - declencheurs du mega-menu
   09. Mentions legales - navigation et progression
   10. Mentions legales / Protection des donnees - texte juridique
   11. Protection des donnees - navigation laterale defilante

   IMPORTANT :
   L'ordre des regles CSS existantes a ete conserve afin de ne pas modifier
   le rendu actuel ni la priorite de la cascade CSS.

   ========================================================================== */


:root{
  --sod-blue:#003f6b;
  --sod-teal:#2fb7c4;
  --sod-teal-dark:#1598a5;
  --sod-light:#d8f0f2;
  --sod-very-light:#effafa;
  --text:#17415d;
  --muted:#5c7180;
  --white:#fff;
  --shadow:0 18px 40px rgba(0,63,107,.10);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Jost","Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:#fff;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ==========================================================================
   02. HEADER COMMUN
   ========================================================================== */

/* HEADER */
.site-hero{
  background:var(--sod-light);
  border-radius:0 0 48px 48px;
  padding:34px 24px 70px;
}
.navbar{
  width:min(1180px,92%);
  margin:auto;
  background:#fff;
  border-radius:90px;
  padding:18px 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  box-shadow:var(--shadow);
  position:relative;
  isolation:isolate;
  overflow:visible;
}
.logo{width:142px}
.menu{
  flex:1;
  display:flex;
  justify-content:center;
  gap:46px;
  font-size:18px;
  font-weight:500;
  color:var(--sod-blue);
}
.menu a:hover{color:var(--sod-teal)}
.hero-content{
  width:min(1100px,92%);
  margin:92px auto 20px;
  text-align:center;
}
.hero-content h1{
  margin:0 0 18px;
  font-size:clamp(42px,5vw,72px);
  line-height:1;
  color:var(--sod-blue);
  letter-spacing:.02em;
}
.hero-content p{
  margin:0 auto;
  max-width:780px;
  color:var(--sod-blue);
  font-size:18px;
}

/* ==========================================================================
   03. BOUTONS COMMUNS
   ========================================================================== */

/* BOUTONS DISCRETS */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:50px;
  padding:10px 18px;
  background:linear-gradient(90deg,var(--sod-teal-dark),var(--sod-teal));
  color:#fff;
  font-weight:700;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.02em;
  text-decoration:none;
  width:auto;
  min-width:auto;
  white-space:nowrap;
  box-shadow:0 6px 12px rgba(47,183,196,.16);
  cursor:pointer;
  transition:.25s ease;
}
.btn-primary:hover{filter:brightness(.96);transform:translateY(-1px)}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--sod-teal);
  color:var(--sod-blue);
  border-radius:50px;
  padding:9px 17px;
  font-weight:700;
  font-size:11px;
  background:#fff;
  text-align:center;
  text-decoration:none;
  width:auto;
  min-width:auto;
  white-space:nowrap;
}
.btn-secondary:hover{background:var(--sod-very-light)}

/* ==========================================================================
   04. CATALOGUE ET FILTRES DE FORMATIONS
   - Zone de recherche
   - Boutons Presentiel / Distanciel / E-learning
   ========================================================================== */

/* CATALOGUE */
.catalogue{
  width:min(1160px,92%);
  margin:40px auto 0;
}
.search-zone{
  max-width:680px;
  margin:0 auto 44px;
  text-align:center;
}
.search-box{
  width:100%;
  height:48px;
  border:1px solid #d9e3e7;
  border-radius:50px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 20px;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}
.search-box span{font-size:20px;color:#7e8a94}
.search-box input{
  width:100%;
  border:0;
  outline:0;
  font-size:15px;
  color:var(--text);
  font-family:inherit;
}
.filter-buttons{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:16px;
}
.filter-btn{
  min-width:120px;
  border:0;
  border-radius:50px;
  padding:10px 18px;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  background:linear-gradient(90deg,var(--sod-teal-dark),var(--sod-teal));
  box-shadow:0 6px 12px rgba(47,183,196,.16);
  text-transform:uppercase;
  font-size:11px;
  opacity:.78;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}
.filter-btn:hover{opacity:1;transform:translateY(-1px)}
.filter-btn.active{
  background:linear-gradient(90deg,var(--sod-blue),#005b8f);
  opacity:1;
  box-shadow:0 0 0 4px rgba(0,63,107,.11),0 8px 16px rgba(0,63,107,.13);
}

/* ==========================================================================
   05. CARTES DE FORMATIONS
   ========================================================================== */

/* CARTES EXACTEMENT TYPE IMAGE */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  align-items:stretch;
}
.card{
  background:#fff;
  border:1px solid #e8f0f2;
  border-radius:22px;
  padding:26px 28px 24px;
  box-shadow:0 12px 28px rgba(0,0,0,.10);
  min-height:500px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  border:1px solid var(--sod-teal);
  color:var(--sod-blue);
  border-radius:50px;
  padding:7px 16px;
  font-size:13px;
  line-height:1;
  background:#fff;
}
.icon-round{
  width:106px;
  height:106px;
  margin:-4px auto 26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,var(--sod-teal),var(--sod-teal-dark));
  color:#fff;
  font-size:42px;
  font-weight:900;
  box-shadow:0 16px 34px rgba(47,183,196,.24);
}
.card h2{
  color:var(--sod-blue);
  margin:0 0 12px;
  font-size:26px;
  line-height:1.22;
  font-weight:900;
}
.rating{
  color:#ff9d00;
  font-weight:800;
  font-size:19px;
  margin-bottom:18px;
}
.tags{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.tag{
  background:#f0f6f7;
  color:var(--sod-blue);
  border-radius:50px;
  padding:11px 19px;
  font-size:15px;
}
.card p{
  color:#344e63;
  line-height:1.55;
  margin:0 0 28px;
  font-size:19px;
  flex:1;
}
.card-actions{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:auto;
}

/* LOGOS + FOOTER */
.logo-band{
  width:min(900px,92%);
  margin:48px auto 50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:100px;
}
.logo-band img{max-height:70px;width:auto;object-fit:contain}
.footer{
  background:var(--sod-teal);
  padding:70px 24px 55px;
  text-align:center;
  color:var(--sod-blue);
}
.footer-logo{
  width:370px;
  margin:0 auto 28px;
}
.footer p{font-size:18px;margin:0}

/* ==========================================================================
   06. PAGES DETAIL DE FORMATION
   - Panneaux
   - Informations pratiques
   - Formulaires
   ========================================================================== */

/* PAGES DETAIL */
.detail-main{
  width:min(1100px,92%);
  margin:60px auto;
}
.detail-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:start;
}
.panel{
  background:#fff;
  border:1px solid #e6f1f3;
  border-radius:24px;
  padding:32px;
  box-shadow:var(--shadow);
  margin-bottom:24px;
}
.panel h2{
  margin:0 0 18px;
  color:var(--sod-blue);
  font-size:30px;
}
.panel h3{color:var(--sod-blue);margin:22px 0 10px}
.panel p,.panel li{line-height:1.7;color:#526c7b}
.info-list{display:grid;gap:12px}
.info-item{
  background:#f1fbfc;
  border-radius:18px;
  padding:15px 18px;
}
.form input,.form textarea,.form select{
  width:100%;
  border:1px solid #dbe8ec;
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:12px;
  font-family:inherit;
  font-size:15px;
}
.form textarea{min-height:120px;resize:vertical}
.back-link{
  display:inline-block;
  margin-bottom:22px;
  color:var(--sod-blue);
  font-weight:800;
}

@media (max-width:900px){
  .navbar{border-radius:30px;flex-direction:column;padding:22px}
  .menu{flex-wrap:wrap;gap:18px}
  .cards,.detail-grid{grid-template-columns:1fr}
  .logo-band{gap:35px;flex-wrap:wrap}
  .card{min-height:auto}
  .card-actions{flex-wrap:wrap}
}


/* Alignement uniforme des cartes catalogue */
.card h2{
  min-height:64px;
  display:flex;
  align-items:flex-start;
}

.rating{
  min-height:28px;
}

.tags{
  min-height:54px;
  align-items:flex-start;
}

.card p{
  min-height:132px;
}

.card-actions{
  min-height:44px;
  align-items:center;
}



/* Ajustements demandés */
.rating{
  display:none;
}

.rating.success-rate{
  display:block !important;
  color:#ff9d00;
  font-weight:800;
  font-size:18px;
  margin-bottom:18px;
}

.card-actions .btn-primary,
.card-actions .btn-secondary,
.filter-btn{
  padding:10px 18px;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}


.quote-main{
  width:min(900px,92%);
  margin:90px auto 70px;
}
.quote-intro{
  margin-bottom:56px;
  color:var(--sod-blue);
}
.quote-intro h2{
  font-size:18px;
  margin:0 0 18px;
  color:var(--sod-blue);
}
.quote-intro p{
  line-height:1.7;
  font-weight:600;
}
.quote-form{
  display:grid;
  gap:24px;
}
.quote-options{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:var(--sod-blue);
  font-weight:500;
}
.quote-options label{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.quote-form input,
.quote-form textarea{
  width:100%;
  border:1px solid #bfcbd1;
  border-radius:8px;
  min-height:58px;
  padding:0 18px;
  color:var(--sod-blue);
  font-family:inherit;
  font-size:15px;
}
.quote-form textarea{
  min-height:150px;
  padding-top:18px;
  resize:vertical;
}
.quote-form .btn-primary{
  justify-self:start;
}


/* Centrage automatique lorsqu'une seule carte est présente */
.cards{
  justify-content:center;
}

.cards:has(.card:only-child){
  grid-template-columns:minmax(320px,420px);
  justify-content:center;
}


/* Bloc Descriptif : même charte graphique que les autres blocs */
.descriptif-panel{
  background:#fff !important;
  border:1px solid #e6f1f3 !important;
  border-radius:24px !important;
  padding:32px !important;
  box-shadow:0 18px 40px rgba(0,63,107,.10) !important;
  margin-bottom:24px !important;
}

.descriptif-panel h2{
  margin:0 0 18px !important;
  color:var(--sod-blue,#003f6b) !important;
  font-size:30px !important;
  font-weight:800 !important;
}

.descriptif-panel p{
  line-height:1.7 !important;
  color:#526c7b !important;
  margin-bottom:16px !important;
}


.response-delay{
    margin:22px 0 26px;
    padding:14px 18px;
    border-radius:14px;
    background:#eef7fa;
    border-left:6px solid #2fb7c8;
    color:#033D5D;
    font-size:16px;
    line-height:1.5;
    font-weight:600;
}

.response-delay strong{
    color:#2fb7c8;
}


.tarif-row{
    margin-top:12px;
}

.tarif-tag{
    background:#eef3f5;
    color:#033D5D;
    font-weight:700;
    padding:12px 18px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
}


/* Centrage visuel du bloc titre MEOPA */
.card-header{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    width:100%;
}

.card-header .badge{
    margin:0 auto 18px;
}

.card-header .icon-round{
    margin-left:auto;
    margin-right:auto;
}

.card-header h2{
    text-align:center;
    justify-content:center;
}


/* Harmonisation des infos tarif/délai */
.tarif-row{
    margin-top:10px !important;
    margin-bottom:12px !important;
}

.tarif-tag{
    background:#f0f6f7 !important;
    color:#033D5D !important;
    font-weight:700 !important;
    padding:10px 16px !important;
    border-radius:999px !important;
    font-size:15px !important;
}

.response-delay{
    margin:18px 0 24px !important;
    padding:0 !important;
    background:transparent !important;
    border-left:none !important;
    border-radius:0 !important;
    color:#033D5D !important;
    font-size:16px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
}

.response-delay strong{
    color:#2fb7c8 !important;
    font-weight:800 !important;
}

.compact-delay{
    display:block !important;
}


/* Tarif et délai en version sobre */
.tarif-row{
    margin:0 !important;
}

.tarif-tag,
.tarif-line{
    background:transparent !important;
    color:#033D5D !important;
    font-weight:600 !important;
    padding:0 !important;
    border-radius:0 !important;
    font-size:16px !important;
    display:block !important;
    margin:14px 0 10px !important;
}

.response-delay{
    color:#033D5D !important;
    font-weight:600 !important;
}

.response-delay strong{
    color:inherit !important;
    font-weight:600 !important;
}


/* Satisfaction client */
.client-rating{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:6px 0 18px;
    font-size:15px;
    color:#033D5D;
    font-weight:600;
}

.stars{
    color:#ffb400;
    letter-spacing:2px;
    font-size:18px;
}

.rating-text{
    opacity:.85;
}


/* Positionnement des étoiles sous la description */
.client-rating{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    margin:26px 0 24px;
    font-size:15px;
    color:#033D5D;
    font-weight:600;
}

.stars{
    color:#ffb400;
    letter-spacing:2px;
    font-size:20px;
}

.rating-text{
    opacity:.9;
}


/* Avis clients : style compact */
.client-rating{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:24px 0 24px !important;
    font-size:16px !important;
    color:#ff9d00 !important;
    font-weight:700 !important;
}

.client-rating .stars{
    color:#ff9d00 !important;
    letter-spacing:1px !important;
    font-size:18px !important;
    line-height:1 !important;
}

.client-rating .rating-text{
    color:#ff9d00 !important;
    opacity:1 !important;
    font-weight:700 !important;
}


/* Avis clients : version compacte sans cassure visuelle */
.card p{
    margin-bottom:12px !important;
    min-height:auto !important;
    flex:0 0 auto !important;
}

.client-rating{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:8px 0 24px !important;
    font-size:16px !important;
    color:#ff9d00 !important;
    font-weight:400 !important;
}

.client-rating .stars{
    color:#ff9d00 !important;
    letter-spacing:1px !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:400 !important;
}

.client-rating .rating-text{
    color:#ff9d00 !important;
    opacity:1 !important;
    font-weight:400 !important;
}





/* Équilibrage de la colonne droite : évite l'effet grand vide visuel */
.detail-grid{
  align-items:start;
}

@media(max-width:900px){
  .cards-style-info{
    width:min(1100px,92%);
  }

  .cards-style-info .info-section{
    grid-template-columns:1fr;
    padding:28px;
  }

  .cards-style-info .info-icon{
    margin-bottom:-6px;
  }
}



/* Alternance gauche / droite */
.cards-style-info .info-section:nth-child(odd){
    align-self:flex-start;
}

.cards-style-info .info-section:nth-child(even){
    align-self:flex-end;
}

/* Titres */
.cards-style-info .info-section h3{
    font-size:30px;
    line-height:1.15;
    color:#003f6b;
    margin-bottom:18px;
    font-weight:800;
}

/* Texte */
.cards-style-info .info-section p,
.cards-style-info .info-section li{
    font-size:16px;
    line-height:1.75;
    color:#526c7b;
}

/* Responsive */
@media(max-width: 980px){

    .cards-style-info .info-section{
        width:100%;
        padding:28px;
    }

    .cards-style-info .info-section:nth-child(even),
    .cards-style-info .info-section:nth-child(odd){
        align-self:stretch;
    }
}


/* ==========================================================================
   07. CONTENU DES FORMATIONS
   - Descriptif premium
   - Sections d'informations
   - Mise en page MEOPA / formations detaillees
   ========================================================================== */

/* ===== Descriptif premium pleine largeur ===== */
.descriptif-premium{
  width:min(1180px,92%);
  margin:34px auto 48px;
  background:#fff;
  border:1px solid #e6f1f3;
  border-radius:24px;
  padding:34px 38px;
  box-shadow:0 18px 40px rgba(0,63,107,.10);
}

.descriptif-premium h2{
  margin:0 0 22px;
  color:var(--sod-blue,#003f6b);
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

.descriptif-highlight{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px 18px;
  margin-bottom:26px;
  border-radius:18px;
  background:#eef9fb;
  border:1px solid rgba(47,183,196,.28);
}

.descriptif-icon{
  width:26px;
  height:26px;
  min-width:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--sod-teal,#2fb7c4);
  color:#fff;
  font-weight:800;
  font-size:14px;
}

.descriptif-highlight p{
  margin:0;
  color:var(--sod-blue,#003f6b);
  font-weight:700;
  line-height:1.55;
}

.descriptif-content{
  display:grid;
  gap:16px;
}

.descriptif-content p{
  margin:0;
  color:#526c7b;
  line-height:1.75;
  font-size:16px;
}

.descriptif-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:10px 0;
}

.descriptif-points div{
  background:#f1fbfc;
  border-radius:18px;
  padding:18px;
  border:1px solid #e6f1f3;
}

.descriptif-points strong{
  display:block;
  color:var(--sod-blue,#003f6b);
  font-size:17px;
  margin-bottom:8px;
}

.descriptif-points span{
  color:#526c7b;
  line-height:1.55;
  font-size:15px;
}

@media(max-width:900px){
  .descriptif-premium{
    padding:28px;
  }

  .descriptif-points{
    grid-template-columns:1fr;
  }
}





    .cards-style-info .info-section,
    .cards-style-info .info-section:nth-child(1),
    .cards-style-info .info-section:nth-child(2),
    .cards-style-info .info-section:nth-child(3),
    .cards-style-info .info-section:nth-child(4),
    .cards-style-info .info-section:nth-child(5),
    .cards-style-info .info-section:nth-child(6),
    .cards-style-info .info-section:nth-child(7),
    .cards-style-info .info-section:nth-child(8),
    .cards-style-info .info-section:nth-child(9){
        width:100%;
        grid-column:auto;
    }

/* Blocs standards */
.cards-style-info .info-section{
    width:78%;
}

/* Alternance des blocs classiques */
.cards-style-info .info-section:nth-child(odd){
    align-self:flex-start;
}

.cards-style-info .info-section:nth-child(even){
    align-self:flex-end;
}

/* Wrapper horizontal des 2 blocs */
.cards-style-info{
    position:relative;
}

/* Bloc gauche */
.cards-style-info .info-section:nth-child(5){
    width:48%;
    align-self:flex-start;
    margin-top:0;
    margin-bottom:0;
}

/* Bloc droit */
.cards-style-info .info-section:nth-child(6){
    width:48%;
    align-self:flex-end;
    margin-top:-100%;
    margin-bottom:0;
}

/* Espacement après les deux blocs */
.cards-style-info .info-section:nth-child(7){
    margin-top:20px;
}

@media(max-width:980px){

    .cards-style-info .info-section,
    .cards-style-info .info-section:nth-child(5),
    .cards-style-info .info-section:nth-child(6){
        width:100%;
        margin-top:0;
        margin-bottom:0;
        align-self:stretch;
    }

    .cards-style-info .info-section:nth-child(7){
        margin-top:0;
    }
}




@media(max-width:980px){

  .cards-style-info > .info-section{
    width:100%;
    align-self:stretch;
  }

  .paired-info-sections{
    grid-template-columns:1fr;
  }
}


/* Taille standard */
.cards-style-info > .info-section{
  width:78%;
}

/* Alternance générale */
.cards-style-info > .info-section:nth-of-type(odd){
  align-self:flex-start;
}

.cards-style-info > .info-section:nth-of-type(even){
  align-self:flex-end;
}

/* Reprise alternance après les 2 blocs */
.cards-style-info > .info-section.after-pair-right{
  align-self:flex-end;
}

.cards-style-info > .info-section.after-pair-left{
  align-self:flex-start;
}

@media(max-width:980px){

  .cards-style-info > .info-section,
  .cards-style-info > .info-section.after-pair-right,
  .cards-style-info > .info-section.after-pair-left{
    width:100%;
    align-self:stretch;
  }

  .paired-info-sections{
    grid-template-columns:1fr;
  }
}




/* Blocs standards */
.cards-style-info > .info-section{
  width:78%;
}

/* Alternance gauche droite */
.cards-style-info > .info-section:nth-of-type(odd){
  align-self:flex-start;
}

.cards-style-info > .info-section:nth-of-type(even){
  align-self:flex-end;
}

/* Ligne spéciale avec 2 blocs */
.paired-info-sections{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
}

.paired-info-sections .info-section{
  width:100% !important;
  margin:0 !important;
}

/* Reprise alternance après la ligne double */
.after-pair-right{
  align-self:flex-end !important;
}

.after-pair-left{
  align-self:flex-start !important;
}

/* Style graphique */
.cards-style-info .info-section,
.paired-info-sections .info-section{
  background:#fff;
  border:1px solid #e6f1f3;
  border-radius:24px;
  padding:32px;
  box-shadow:0 18px 40px rgba(0,63,107,.10);
  display:grid;
  grid-template-columns:34px 1fr;
  gap:18px;
  color:#526c7b;
}

.cards-style-info .info-icon{
  width:26px;
  height:26px;
  border-radius:50%;
  background:#d7e2ea;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  margin-top:4px;
}

.cards-style-info .info-section h3{
  margin:0 0 18px;
  color:var(--sod-blue,#003f6b);
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

.cards-style-info .info-section p,
.cards-style-info .info-section li{
  color:#526c7b;
  line-height:1.7;
  font-size:16px;
}

.cards-style-info .info-section ul{
  margin:0 0 14px 22px;
  padding:0;
}

/* Mobile */
@media(max-width:980px){

  .cards-style-info > .info-section,
  .after-pair-right,
  .after-pair-left{
    width:100%;
    align-self:stretch !important;
  }

  .paired-info-sections{
    grid-template-columns:1fr;
  }

  .cards-style-info .info-section,
  .paired-info-sections .info-section{
    grid-template-columns:1fr;
    padding:28px;
  }
}


/* ===== Layout MEOPA final propre : aucun chevauchement ===== */
.cards-style-info{
  width:min(1180px,92%);
  margin:40px auto 80px;
  display:flex;
  flex-direction:column;
  gap:32px;
  position:static !important;
}

.cards-style-info .left-block{
  align-self:flex-start;
  width:78%;
}

.cards-style-info .right-block{
  align-self:flex-end;
  width:78%;
}

.paired-info-sections{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:32px;
  align-items:start;
}

.paired-info-sections .info-section{
  width:100%;
}

.cards-style-info .info-section,
.paired-info-sections .info-section{
  background:#fff;
  border:1px solid #e6f1f3;
  border-radius:24px;
  padding:32px;
  box-shadow:0 18px 40px rgba(0,63,107,.10);
  display:grid;
  grid-template-columns:34px 1fr;
  gap:18px;
  color:#526c7b;
  margin:0 !important;
  position:static !important;
  transform:none !important;
  height:auto !important;
}

.cards-style-info .info-icon{
  width:26px;
  height:26px;
  border-radius:50%;
  background:#d7e2ea;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  margin-top:4px;
}

.cards-style-info .info-section h3{
  margin:0 0 18px;
  color:var(--sod-blue,#003f6b);
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

.cards-style-info .info-section p,
.cards-style-info .info-section li{
  color:#526c7b;
  line-height:1.7;
  font-size:16px;
}

.cards-style-info .info-section p{
  margin:0 0 14px;
}

.cards-style-info .info-section ul{
  margin:0 0 14px 22px;
  padding:0;
}

.cards-style-info .info-section li{
  margin:6px 0;
}

@media(max-width:980px){
  .cards-style-info .left-block,
  .cards-style-info .right-block{
    width:100%;
    align-self:stretch;
  }

  .paired-info-sections{
    grid-template-columns:1fr;
  }

  .cards-style-info .info-section,
  .paired-info-sections .info-section{
    grid-template-columns:1fr;
    padding:28px;
  }
}
/* ==========================================================================
   08. HEADER / DECLENCHEURS DU MEGA-MENU
   Ces regles concernent les boutons qui ouvrent "Nos offres" et
   "Catalogue de formations" dans la navbar.
   ========================================================================== */

.menu .header-dropdown-trigger{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:0;

  border:0;
  background:transparent;
  color:inherit;

  font:inherit;
  font-weight:inherit;
  line-height:inherit;

  cursor:pointer;
}

.menu .header-dropdown-trigger:hover,
.menu .header-dropdown-trigger.is-active{
  color:var(--sod-teal-dark);
}

/* ==========================================================================
   09. MENTIONS LEGALES ET PROTECTION DES DONNEES
   - Colonne laterale
   - Barre de progression
   - Navigation par ancres
   ========================================================================== */

/* =========================================================
   PAGE MENTIONS LÉGALES
   Ajout uniquement pour le sommaire latéral et la progression
   ========================================================= */

.legal-detail-grid{
  grid-template-columns:minmax(0,1fr) 330px;
  gap:34px;
}

.legal-content{
  min-width:0;
}

.legal-section{
  scroll-margin-top:120px;
}

.legal-sidebar{
  align-self:start;
  position:sticky;
  top:28px;
}

.legal-reading-panel{
  margin-bottom:0;
}

.legal-reading-title{
  margin-bottom:12px;
  color:var(--sod-blue);
  font-size:15px;
  font-weight:800;
}

.legal-progress{
  width:100%;
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:var(--sod-very-light);
}

.legal-progress-bar{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--sod-teal-dark),var(--sod-teal));
  transition:width .12s linear;
}

.legal-nav{
  display:grid;
  gap:6px;
  margin-top:22px;
}

.legal-nav-link{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:8px;
  align-items:start;
  padding:10px 12px;
  border-radius:14px;
  color:var(--sod-blue);
  font-size:15px;
  font-weight:500;
  line-height:1.45;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}

.legal-nav-arrow{
  color:var(--sod-teal);
  font-size:18px;
  font-weight:800;
  line-height:1.15;
}

.legal-nav-link:hover,
.legal-nav-link.is-active{
  background:var(--sod-very-light);
  color:var(--sod-blue);
  font-weight:800;
}

.legal-nav-link:hover .legal-nav-arrow,
.legal-nav-link.is-active .legal-nav-arrow{
  transform:translateX(2px);
}

@media(max-width:900px){
  .legal-detail-grid{
    grid-template-columns:1fr;
  }

  .legal-sidebar{
    position:static;
    order:-1;
  }

  .legal-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  .legal-nav{
    grid-template-columns:1fr;
  }
}
/* ==========================================================================
   10. TEXTE JURIDIQUE
   Utilise par :
   - mentions-legales.html
   - protection-des-donnees.html
   ========================================================================== */

/* =========================================================
   TEXTE JURIDIQUE COMPACT
   Disposition proche de SOS Oxygène
   + identité SOS Distribution conservée
   ========================================================= */

.legal-section{
  color:var(--sod-blue);
}


/* Paragraphes */

.legal-section > p{
  margin:0 0 14px;

  color:var(--sod-blue);

  font-size:16px;
  line-height:1.42;

  font-weight:400;
}


/* =========================================================
   LISTE PRINCIPALE
   ========================================================= */

.legal-section .legal-list{
  margin:10px 0 16px;
  padding-left:26px;
}


/* Puce principale */

.legal-section .legal-list--dash > li{
  margin:5px 0;
  padding-left:2px;

  color:var(--sod-blue);

  font-size:16px;
  line-height:1.42;

  list-style:disc;
}


/* Couleur puce */

.legal-section .legal-list--dash > li::marker{
  color:var(--sod-blue);
  font-size:.75em;
}


/* Désactive les anciens symboles personnalisés */

.legal-section .legal-list--dash > li::before{
  content:none;
}


/* =========================================================
   SOUS-LISTE
   ========================================================= */

.legal-section .legal-list--bullet{
  margin:4px 0 5px;
  padding-left:27px;
}


/* Sous-puces */

.legal-section .legal-list--bullet > li{
  margin:4px 0;
  padding-left:1px;

  color:var(--sod-blue);

  font-size:16px;
  line-height:1.42;

  list-style:circle;
}


/* Cercle vide */

.legal-section .legal-list--bullet > li::marker{
  color:var(--sod-blue);
  font-size:.8em;
}


.legal-section .legal-list--bullet > li::before{
  content:none;
}


/* =========================================================
   GRAS
   ========================================================= */

.legal-section strong{
  color:var(--sod-blue);
  font-weight:800;
}


/* Après une liste, paragraphe suivant plus proche */

.legal-section .legal-list + p{
  margin-top:18px;
}


/* Paragraphes consécutifs */
/* ==========================================================================
   11. PROTECTION DES DONNEES UNIQUEMENT
   Le sommaire lateral peut defiler pour garder la section active visible.
   Cette regle ne touche pas la page Mentions legales.
   ========================================================================== */

.page-protection-donnees .legal-nav{
  max-height:calc(100vh - 220px);
  overflow-y:auto;
  scroll-behavior:smooth;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

  .legal-section > p,
  .legal-section .legal-list--dash > li,
  .legal-section .legal-list--bullet > li{
    font-size:15px;
    line-height:1.45;
  }

  .legal-section .legal-list{
    padding-left:22px;
  }

  .legal-section .legal-list--bullet{
    padding-left:24px;
  }
}
.legal-section > p{
  margin-bottom:18px;
}

.legal-section > p + p{
  margin-top:22px;
}

/* ==========================================================================
   12. PARCOURS E-LEARNING
   - Mise en page du contenu + sommaire lateral
   - Progression du module
   - Navigation entre les 4 modules
   - Verrouillage visuel des blocs non encore valides
   ========================================================================== */

.elearning-main{
  width:min(1240px,92%);
}

.elearning-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:34px;
  align-items:start;
}

.elearning-content{
  min-width:0;
}

.elearning-sidebar{
  position:sticky;
  top:28px;
  align-self:start;
}

.elearning-reading-panel{
  margin-bottom:0;
  max-height:calc(100vh - 56px);
  overflow-y:auto;
  scrollbar-width:thin;
}

.elearning-reading-title,
.elearning-course-title{
  color:var(--sod-blue);
  font-size:15px;
  font-weight:800;
}

.elearning-course-title{
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid #e6f1f3;
}

.elearning-progress{
  width:100%;
  height:8px;
  margin-top:12px;
  overflow:hidden;
  border-radius:999px;
  background:var(--sod-very-light);
}

.elearning-progress-bar{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--sod-teal-dark),var(--sod-teal));
  transition:width .18s ease;
}

.elearning-progress-value{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}

.elearning-section-nav,
.elearning-course-nav{
  display:grid;
  gap:6px;
  margin-top:18px;
}

.elearning-section-link,
.elearning-course-link{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:8px;
  align-items:start;
  padding:10px 12px;
  border-radius:14px;
  color:var(--sod-blue);
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  transition:background .2s ease,color .2s ease,opacity .2s ease;
}

.elearning-section-link > span:first-child,
.elearning-course-link > span:first-child{
  color:var(--sod-teal);
  font-weight:800;
}

.elearning-section-link.is-active,
.elearning-course-link.is-current{
  background:var(--sod-very-light);
  font-weight:800;
}

.elearning-section-link.is-complete,
.elearning-course-link.is-complete{
  color:var(--sod-blue);
}

.elearning-section-link.is-locked,
.elearning-course-link.is-locked{
  opacity:.45;
  cursor:not-allowed;
}

.elearning-course-link strong{
  display:inline-block;
  min-width:26px;
  color:var(--sod-teal-dark);
  margin-right:5px;
}

.elearning-block{
  scroll-margin-top:28px;
}

.elearning-block.is-locked{
  display:none;
}

.elearning-block-status{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  color:var(--sod-teal-dark);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.elearning-continue{
  margin-top:24px;
}

.elearning-continue[disabled]{
  opacity:.42;
  cursor:not-allowed;
  transform:none;
  filter:none;
}

.elearning-end-sentinel{
  display:block;
  width:100%;
  height:1px;
}

.elearning-course-message{
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.elearning-video{
  width:100%;
  border-radius:18px;
  background:#000;
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}

.elearning-figure{
  margin:24px 0 0;
}

.elearning-figure img{
  width:100%;
  max-height:560px;
  object-fit:contain;
  border-radius:18px;
  background:#fff;
}

.elearning-figure figcaption{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.elearning-note{
  margin:18px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#eef9fb;
  border:1px solid rgba(47,183,196,.28);
  color:var(--sod-blue);
  font-weight:600;
  line-height:1.6;
}

.elearning-warning{
  margin:18px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#fff8ed;
  border:1px solid rgba(255,157,0,.25);
  color:#6c4b12;
  font-weight:650;
  line-height:1.6;
}

.elearning-qcm{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.elearning-qcm details{
  border:1px solid #e6f1f3;
  border-radius:16px;
  padding:14px 16px;
  background:#f9fcfd;
}

.elearning-qcm summary{
  cursor:pointer;
  color:var(--sod-blue);
  font-weight:800;
}

.elearning-qcm details p,
.elearning-qcm details ul{
  margin-bottom:0;
}

@media(max-width:980px){
  .elearning-layout{
    grid-template-columns:1fr;
  }

  .elearning-sidebar{
    position:static;
    order:-1;
  }

  .elearning-reading-panel{
    max-height:none;
  }

  .elearning-section-nav,
  .elearning-course-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .elearning-section-nav,
  .elearning-course-nav{
    grid-template-columns:1fr;
  }
}


/* ==========================================================================
   13. EXERCICES INTERACTIFS E-LEARNING
   - QCM choix unique
   - QCM réponses multiples
   - Vrai / Faux
   - Remise en ordre
   - Classement dans des zones
   ========================================================================== */

.elearning-exercises{
  display:grid;
  gap:22px;
  margin-top:24px;
}

.elearning-exercise{
  margin-top:24px;
  padding:22px;
  border:1px solid #e6f1f3;
  border-radius:20px;
  background:#fbfefe;
}

.elearning-exercise-heading{
  margin-bottom:18px;
}

.elearning-exercise-heading h3{
  margin:7px 0 0;
  color:var(--sod-blue);
  font-size:20px;
  line-height:1.35;
}

.elearning-exercise-heading p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.55;
}

.elearning-exercise-type{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:var(--sod-very-light);
  color:var(--sod-teal-dark);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.elearning-answer-list{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.elearning-answer{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:13px 15px;
  border:1px solid #dcebed;
  border-radius:15px;
  background:#fff;
  color:#526c7b;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}

.elearning-answer:hover{
  border-color:var(--sod-teal);
  background:var(--sod-very-light);
}

.elearning-answer input{
  margin-top:4px;
  accent-color:var(--sod-teal-dark);
}

.elearning-exercise-validate{
  margin-top:2px;
}

.elearning-exercise-feedback{
  display:none;
  margin-top:14px;
  padding:14px 16px;
  border-radius:14px;
  font-weight:700;
  line-height:1.5;
}

.elearning-exercise-feedback.is-error{
  display:block;
  border:1px solid #f0b7b2;
  background:#fff1f0;
  color:#9f2d26;
}

.elearning-exercise-feedback.is-success{
  display:block;
  border:1px solid rgba(47,183,196,.34);
  background:#eef9fb;
  color:var(--sod-blue);
}

.elearning-exercise-explanation{
  margin:12px 0 0;
  color:#526c7b;
  line-height:1.6;
}

.elearning-exercise.is-complete{
  border-color:rgba(47,183,196,.45);
  background:#f7fcfc;
}

.elearning-exercise.is-complete .elearning-exercise-validate{
  display:none;
}

.elearning-exercise.is-complete .elearning-answer{
  cursor:default;
}

/* Remise en ordre */
.elearning-order-list{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.elearning-order-item{
  display:grid;
  grid-template-columns:26px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:13px 14px;
  border:1px solid #dcebed;
  border-radius:15px;
  background:#fff;
  color:var(--sod-blue);
  font-weight:650;
  cursor:grab;
}

.elearning-order-item.is-dragging{
  opacity:.45;
}

.elearning-drag-handle{
  color:var(--sod-teal);
  font-size:18px;
  font-weight:900;
}

.elearning-order-controls{
  display:flex;
  gap:6px;
}

.elearning-order-controls button{
  width:30px;
  height:30px;
  padding:0;
  border:1px solid #dcebed;
  border-radius:10px;
  background:#fff;
  color:var(--sod-blue);
  font:inherit;
  cursor:pointer;
}

.elearning-order-controls button:hover{
  border-color:var(--sod-teal);
  background:var(--sod-very-light);
}

/* Classement */
.elearning-classify-pool{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  min-height:64px;
  margin-bottom:18px;
  padding:14px;
  border:1px dashed #b9d8dc;
  border-radius:16px;
  background:#f7fcfc;
}

.elearning-classify-item{
  padding:10px 13px;
  border:1px solid #dcebed;
  border-radius:13px;
  background:#fff;
  color:var(--sod-blue);
  font-family:inherit;
  font-size:14px;
  font-weight:650;
  text-align:left;
  cursor:grab;
}

.elearning-classify-item.is-selected{
  border-color:var(--sod-teal);
  box-shadow:0 0 0 3px rgba(47,183,196,.13);
}

.elearning-classify-zones{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}

.elearning-dropzone{
  min-height:150px;
  padding:16px;
  border:2px dashed #cddfe3;
  border-radius:18px;
  background:#fff;
}

.elearning-dropzone.is-over,
.elearning-dropzone:focus{
  outline:none;
  border-color:var(--sod-teal);
  background:var(--sod-very-light);
}

.elearning-dropzone h4{
  margin:0 0 12px;
  color:var(--sod-blue);
  font-size:17px;
}

.elearning-dropzone-items{
  display:grid;
  gap:9px;
}

.elearning-dropzone-items .elearning-classify-item{
  width:100%;
}

/* Bouton Continuer : message visuel lorsque l'exercice manque */
.elearning-block.has-pending-exercise .elearning-continue[disabled]{
  opacity:.42;
}

@media(max-width:700px){
  .elearning-exercise{
    padding:18px;
  }

  .elearning-classify-zones{
    grid-template-columns:1fr;
  }

  .elearning-order-item{
    grid-template-columns:24px minmax(0,1fr);
  }

  .elearning-order-controls{
    grid-column:2;
  }
}

/* ==========================================================================
   14. IMAGES DETAILLEES - MODULE 3 REMPLISSAGE
   --------------------------------------------------------------------------
   Ces trois images conservent la structure visuelle de .elearning-figure.
   Elles ne sont jamais agrandies artificiellement au-dela de leur largeur
   naturelle, afin d'eviter la pixelisation.
   ========================================================================== */

/* Le lien se centre sans forcer l'image a prendre toute la largeur. */
.elearning-figure--range-product > a,
.elearning-figure--procedure-detail > a,
.elearning-figure--utilisation-detail > a{
  display:block;
  width:fit-content;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Prioritaire sur .elearning-figure img { width:100%; } */
.elearning-figure.elearning-figure--range-product img,
.elearning-figure.elearning-figure--procedure-detail img,
.elearning-figure.elearning-figure--utilisation-detail img{
  width:auto;
  max-width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  margin-left:auto;
  margin-right:auto;
}

/*
   Limites d'affichage.
   Si le fichier source est plus petit, width:auto conserve sa taille native
   et le navigateur ne l'agrandit pas.
*/
.elearning-figure--range-product > a{
  max-width:min(500px,70%);
}

.elearning-figure--procedure-detail > a{
  max-width:min(900px,85%);
}

.elearning-figure--utilisation-detail > a{
  max-width:min(2500px,55%);
}

