body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}


h1, h2, h3 {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}


.nav,
.btn,
.cta {
  font-family: 'Poppins', sans-serif;
}



/* ===============================
   VERROU TYPO — CONSTEL (FINAL)
   =============================== */

/* Texte courant */
.project-page p,
.project-page li {
  font-weight: 500 !important;
}

/* Emphase dans le texte */
.project-page .semibold {
  font-weight: 800 !important;
}

/* Titres de section */
.project-page h2 {
  font-weight: 800 !important;
}

.project-page h3 {
  font-weight: 600 !important;
}

/* Sous-titres */
.project-page h4 {
  font-weight: 600 !important;
}

/* ======================================== */
/*   CSS PROPRE POUR LE PROJET FOOD DAY     */
/*   (RESET COMPLET DU CONTENU SEULEMENT)   */
/* ======================================== */

/* Ne touche pas au background, aux couleurs, ni aux polices */

/* ---- CONTENEUR GLOBAL ---- */
.project-page {
  }
  
  /* ---- HEADER DU PROJET ---- */
  .project-header {
    margin: 0;
    padding: 0;
  }
  
  /* Titre du projet */
  .project-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0;      
    padding: 0;     
  }
  
  /* Sous-titre / intro */
  .project-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;      
    padding: 0; 
  }
  
  /* ---- CORPS DU PROJET ---- */
  .project-body {
    /* Reset total */
    margin: 0;
    padding: 0;
    width: 100%;
  }

  @media (min-width: 1000px) {

  /* H2 — titres de section */
  .project-section .section-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }

  /* H3 — sous-titres */
  .project-section .subtitle {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
  }

  /* Texte courant */
  .project-section .section-text p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
  }
  
  .section-text li {
  font-size: 18px;
}

      /* H4 — sous-sous-titres */
  .project-section .section-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}
}

 .project-section .section-text p + p {
    margin-top: 14px;
  }

@media (max-width: 1000px) {
  .project-section .section-title {
    font-size: 26px;
  }

  .project-section .subtitle {
    font-size: 22px;
  }

  .project-section .section-text p {
    font-size: 18px;
    line-height: 1.55;
  }

  .section-text li {
  font-size: 18px;
}

    .project-section .section-subtitle {
    font-size: 17px;
}
}

 .project-section .section-text p + p {
    margin-top: 18px;
  }

@media (max-width: 767px) {
  .project-section .section-title {
    font-size: 22px;
  }

  .project-section .subtitle {
    font-size: 18px;
  }

  /* Premier H3 : Partie Maquettes High Fidelity */
    .personna-section .subtitle--intro {
    font-size: 18px;
  }

   /* H3 suivants : Partie Maquettes High Fidelity */
  .personna-section .subtitle--section {
    font-size: 18px;
  }

  .project-section .section-text p {
    font-size: 16px;
    line-height: 1.5;
  }

  .section-text li {
  font-size: 16px;
}

  .project-section .section-subtitle {
    font-size: 17px;
}
}

/* ============================== */
/*  BR desktop uniquement (H2)    */
/* ============================== */

.desktop-only {
  display: none;
}

@media (min-width: 1000px) {
  .desktop-only {
    display: inline;
  }
}

  
  /* ---- RESET DES IMAGES DU PROJET ---- */
  .project-body img,
  .project-header img {
    width: auto;
    height: auto;
    max-width: none;
    display: inline;      
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  
  /* ---- RESET DES SECTIONS INTERNES ---- */
  .project-body section {
    margin: 0;
    padding: 0;
  }
  
  .project-intro {
    display: block;
    margin-top: px; 
  }

  /* Semi-gras global pour toute la page projet */
.project-page .semibold {
  font-weight: 600;
}

  
/* ========================== */
/*   VISUALISATION DU ZONE    */
/* ========================== */

/* Conteneur du projet (header + body) */
.project-header,
.project-body {
  padding-top: 64px;                
  margin-left: auto;       
  margin-right: auto;
  padding-left: 64px;      
  padding-right: 64px;
  max-width: 1200px;            
  box-sizing: border-box;       
}

/* TABLETTE */
@media (max-width: 1000px) {
  .project-header,
  .project-body {
    margin-left: ;
    margin-right: ;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .project-header,
  .project-body {
    padding-top: 32px;
    padding-left: 32px;   
    padding-right: 32px;  
  }
}



/* TITRE PRINCIPAL */
.project-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 16px; 
}

/* Tablet */
@media (max-width: 1000px) {
  .project-title {
    font-size: 36px;
    margin-bottom: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .project-title {
    font-size: 28px;
    margin-bottom: 8px;
  }
}

/* DESCRIPTION SOUS LE TITRE */
.project-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px; 
}

/* Tablet */
@media (max-width: 1000px) {
  .project-intro {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .project-intro {
    font-size: 15px;
    margin-bottom: 16px;
  }
}

/* PHOTO HERO */
.project-hero {
  margin-bottom: 16px; 
}

@media (max-width: 1000px) {
  .project-hero {
    margin-bottom: 16px; 
  }
}

@media (max-width: 767px) {
  .project-hero {
    margin-bottom: 8px; 
  }
}

.project-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px; 
}

.contexte-objectifs {
  margin-bottom: 32px; 
}

/* Tablet */
@media (max-width: 1000px) {
  .contexte-objectifs {
    margin-bottom: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contexte-objectifs {
    margin-bottom: 32px;
  }
}

/* ---------- */
/* DESKTOP    */
/* Titre gauche / Texte droite */
/* ---------- */
@media (min-width: 1000px) {
  .contexte-objectifs {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr; 
    gap: 32px; 
    align-items: start;
  }

  /* Le titre doit être bien aligné à gauche */
  .contexte-objectifs .section-title {
    margin-bottom: 0;
  }

  /*padding top uniquement pour la version desktop */
  .contexte-objectifs .section-text {
    padding-top: 16px; 
  }

  /* Le texte garde ses paragraphes espacés */
  .contexte-objectifs .section-text p {
    margin-bottom: -4px;
  }
}

/* H2 uniquement */
.contexte-objectifs h2.section-title {
  font-size: 32px;
}

/* Mobile uniquement */
@media (max-width: 767px) {
  .contexte-objectifs h2.section-title {
    font-size: 22px;
    margin-bottom: 900px;
  }
}

/* Tablette uniquement */
@media (max-width: 1000px) {
  .contexte-objectifs h2.section-title {
    margin-bottom: -12px;
  }
}

/* Tablette */
@media (max-width: 1000px) {
  .contexte-objectifs .section-text p  {
    margin-top: 16px;
    margin-bottom: -8px; 
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contexte-objectifs .section-text p  {
    margin-bottom: -8px; 
  }
}

/* ================================ */
/*   Taille harmonisée des textes   */
/* ================================ */

/* 🖥️ Desktop (≥ 1000px) */
.contexte-objectifs .section-text p {
  font-size: 18px;   
  line-height: 1.6;
}

/* 📱 Tablette (≤ 1000px) */
@media (max-width: 1000px) {
  .contexte-objectifs .section-text p {
      font-size: 18px; 
      line-height: 1.55;
  }
}

/* 📱 Mobile (≤ 767px) */
@media (max-width: 767px) {
  .contexte-objectifs .section-text p {
      font-size: 16px; 
      line-height: 1.5;
  }
}

/* =========================================== */
/*   Image Hero parfaitement adaptée au bloc   */
/* =========================================== */

.project-separator .separator-img {
  width: 70%;        
  margin: 0 auto;    
  height: auto;
  display: block;
}

/* ============================== */
/*         Séparator      */
/* ============================== */

.project-separator .separator-img {
  width: 70%;
  margin: 0 auto;
  height: auto;
  display: block;
}

@media (min-width: 1000px) {
  .project-separator-bottom {
    margin-top: 48px;      
    margin-bottom: 16px;   
  }
}

@media (max-width: 1000px) {
  .project-separator-bottom {
    margin-top: 48px;      
    margin-bottom: 32px;   
  }
}

@media (max-width: 767px) {
  .project-separator-bottom {
    margin-top: -8px;      
    margin-bottom: 8px;   
  }
}

/* ============================== */
/*         APPROCHE DE CONCEPTION     */
/* ============================== */

.approche-conception-section {
  margin-bottom: 32px; 
}

/* Tablet */
@media (max-width: 1000px) {
  .approche-conception-section {
    margin-bottom: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .approche-conception-section {
    margin-bottom: 32px;
  }
}

/* ---------- */
/* DESKTOP    */
/* Titre gauche / Texte droite */
/* ---------- */

@media (min-width: 1000px) {
  .approche-conception-section {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr; 
    gap: 32px; 
    align-items: start;
  }

  /* Le titre doit être bien aligné à gauche */
  .approche-conception-section .section-title {
    margin-bottom: 0;
  }

  /* NOUVEAU : padding top uniquement pour la version desktop */
  .approche-conception-section .section-text {
    padding-top: 16px; 
  }

  /* Le texte garde ses paragraphes espacés */
  .approche-conception-section .section-text p {
    margin-bottom: -4px;
  }
}

/* H2 uniquement */
.approche-conception-section h2.section-title {
  font-size: 32px;
}

/* Mobile uniquement */
@media (max-width: 767px) {
  .approche-conception-section h2.section-title {
    font-size: 22px;
    margin-bottom: 900px;
  }
}

/* Tablette uniquement */
@media (max-width: 1000px) {
  .approche-conception-section h2.section-title {
    margin-bottom: -12px;
  }
}

/* Tablette */
@media (max-width: 1000px) {
  .approche-conception-section .section-text p  {
    margin-top: 16px;
    margin-bottom: -8px; 
  }
}

/* Mobile */
@media (max-width: 767px) {
  .approche-conception-section .section-text p  {
    margin-bottom: -8px; 
  }
}

/* ================================ */
/*   Taille harmonisée des textes   */
/* ================================ */

/* 🖥️ Desktop (≥ 1000px) */
.approche-conception-section.section-text p {
  font-size: 18px;   
  line-height: 1.6;
}

/* 📱 Tablette (≤ 1000px) */
@media (max-width: 1000px) {
  .approche-conception-section .section-text p {
      font-size: 18px; 
      line-height: 1.55;
  }
}

/* 📱 Mobile (≤ 767px) */
@media (max-width: 767px) {
  .approche-conception-section .section-text p {
      font-size: 16px; 
      line-height: 1.5;
  }
}

.approche-conception-section .subtitle {
  margin-top: 32px;      
  margin-bottom: -8px;   
  font-size: 22px;       
}

@media (max-width: 1000px) and (min-width: 768px) {
  .approche-conception-section .subtitle {
    margin-top: 28px;
    margin-bottom: -16px;
  }
}


@media (max-width: 767px) {
  .approche-conception-section .subtitle {
    margin-top: 24px;    
    margin-bottom: -16px; 
    font-size: 18px;     
  }
}

/* ============================== */
/*         Séparator      */
/* ============================== */

.project-separator .separator-img {
  width: 70%;
  margin: 0 auto;
  height: auto;
  display: block;
}

@media (min-width: 1000px) {
  .project-separator-3 {
    margin-top: 48px;      
    margin-bottom: 24px;   
  }
}

@media (max-width: 1000px) {
  .project-separator-3 {
    margin-top: 48px;      
    margin-bottom: 32px;   
  }
}

@media (max-width: 767px) {
  .project-separator-3 {
    margin-top: -8px;     
    margin-bottom: 0px;   
  }
}

/* =============================== */
/*          flow-chart          */
/* =============================== */

@media (min-width: 1000px) {
  .definition-section {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 32px;
    align-items: start;
  }

    .project-section .subtitle {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0px;
    margin-bottom: 16px;
  }
  
  .definition-section .section-col {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .definition-section .section-title {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }

  .definition-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
  }

  .definition-section .section-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: -4px;
    font-weight: 400;
  }

  .definition-section .semibold {
    font-weight: 600;
  }
}

@media (max-width: 1000px) {

  .definition-section .section-title {
    font-size: 26px;
    margin-bottom: -16px;
  }

  .definition-section .subtitle {
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .definition-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; 
    margin-bottom: -8px;
  }

  .definition-section .section-text p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: -8px;
  }
} 

@media (max-width: 767px) {

  .definition-section .section-title {
    font-size: 22px;
    margin-bottom: -8px;
  }

  .definition-section .section-image img {
    border-radius: 12px;
    margin-bottom: -12px;
  }

   .definition-section .subtitle {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .definition-section .section-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
}

/* ============================= */
/* ESPACEMENT ENTRE MENTOR ET MENTORÉS */
/* ============================= */

/* Desktop */
@media (min-width: 1000px) {
  .definition-section .mentor {
    margin-top: 40px;
  }
}

/* Tablette */
@media (max-width: 999px) and (min-width: 768px) {
  .definition-section .mentor {
    margin-top: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .definition-section .mentor {
    margin-top: 32px;
  }
}


/* ============================== */
/*         Séparator      */
/* ============================== */

@media (min-width: 1000px) {
  .project-separator-definition {
    margin-top: 40px;
    margin-bottom: 16px;
  }
}

@media (max-width: 1000px) {
  .project-separator-definition {
    margin-top: 48px;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .project-separator-definition {
    margin-top: 32px;      
    margin-bottom: 0px;  
  }
}

/* =============================== */
/*          MAQUETTES HIGH FIDELITY          */
/* =============================== */

@media (min-width: 1000px) {
  .personna-section {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 32px;
    align-items: start;
  }

   /* Premier H3 */
    .personna-section .subtitle--intro {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0px;
    margin-bottom: -16px;
  }

   /* H3 suivants */
  .personna-section .subtitle--section {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: -16px;
  }

  .personna-section .section-subtitle {
    margin-top: 32px;     
    margin-bottom: 16px;  
  }
  
  .personna-section .section-col {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .personna-section .section-title {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }

  .personna-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
  }

  .personna-section .section-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: -4px;
    font-weight: 400;
  }

  .personna-section .semibold {
    font-weight: 600;
  }
}

.personna-section .section-image + .section-image {
  margin-top: 16px; 
}

@media (max-width: 1000px) {

  .personna-section .section-title {
    font-size: 26px;
    margin-bottom: -16px;
  }

     /* Premier H3 */
    .personna-section .subtitle--intro {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: -20px;
  }

   /* H3 suivants */
  .personna-section .subtitle--section {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: -16px;
  }

  .personna-section .section-subtitle {
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .personna-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; 
    margin-bottom: -8px;
  }

  .personna-section .section-text p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: -8px;
  }
}

.personna-section .section-image + .section-image {
  margin-top: 16px; 
}

@media (max-width: 767px) {

  .personna-section .section-title {
    font-size: 22px;
    margin-bottom: -8px;
  }

  .personna-section .section-image img {
    border-radius: 12px;
    margin-bottom: -12px;
  }

   /* Premier H3 */
    .personna-section .subtitle--intro {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: -24px;
  }

   /* H3 suivants */
  .personna-section .subtitle--section {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: -24px;
  }

   .personna-section .section-subtitle {
    margin-top: 32px;
    margin-bottom: 8px;
  }

  .personna-section .section-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
}

.personna-section .section-image + .section-image {
  margin-top: 16px; 
}

/* ============================= */
/* ESPACEMENT ENTRE MENTOR ET MENTORÉS */
/* ============================= */

/* Desktop */
@media (min-width: 1000px) {
  .personna-section .mentor {
    margin-top: 40px;
  }
}

/* Tablette */
@media (max-width: 999px) and (min-width: 768px) {
  .personna-section .mentor {
    margin-top: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .personna-section .mentor {
    margin-top: 32px;
  }
}

/* ============================== */
/*         Séparator      */
/* ============================== */

@media (min-width: 1000px) {
  .project-separator-personnas {
    margin-top: 40px;
    margin-bottom: 16px;
  }
}

@media (max-width: 1000px) {
  .project-separator-personnas {
    margin-top: 48px;
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .project-separator-personnas {
    margin-top: 24px;      
    margin-bottom: 0px;   
  }
}

/* =============================== */
/*          SUIVI ANALYTIQUE        */
/* =============================== */

@media (min-width: 1000px) {
  .questionnaire-section {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 32px;
    align-items: start;
  }
  
  .questionnaire-section .section-col {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .questionnaire-section .section-title {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }

  .questionnaire-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
  }

  .questionnaire-section .section-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: -4px;
    font-weight: 400;
  }

  .questionnaire-section .semibold {
    font-weight: 600;
  }
}

@media (max-width: 1000px) {

  .questionnaire-section .section-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .questionnaire-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; 
    margin-bottom: -8px;
  }

  .questionnaire-section .section-text p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: -8px;
  }
} 

@media (max-width: 767px) {

  .questionnaire-section .section-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .questionnaire-section .section-image img {
    border-radius: 12px;
    margin-bottom: -12px;
  }

  .questionnaire-section .section-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
}

/* ============================== */
/*         Séparator      */
/* ============================== */

@media (min-width: 1000px) {
  .project-separator-questionnaire {
    margin-top: 40px;
    margin-bottom: 16px;
  }
}

@media (max-width: 1000px) {
  .project-separator-questionnaire {
    margin-top: 48px;
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .project-separator-questionnaire {
    margin-top: 24px;
    margin-bottom: 0;
  }
}

/* =============================== */
/*          Conclusion          */
/* =============================== */

@media (min-width: 1000px) {
  .conclusion-section {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr;
    gap: 32px;
    align-items: start;
  }
  
  .conclusion-section .section-col {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .conclusion-section .section-title {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }

  /* Conclusion – décaler uniquement la colonne de droite */
.conclusion-section .section-text {
  padding-top: 12px;
}


  .conclusion-section .section-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: -4px;
    font-weight: 400;
  }

  .conclusion-section .semibold {
    font-weight: 600;
  }
}

@media (max-width: 1000px) {

  .conclusion-section .section-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .conclusion-section .section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px; 
    margin-bottom: -4px;
  }

  .conclusion-section .section-text p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: -8px;
  }
} 

@media (max-width: 767px) {

  .conclusion-section .section-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .conclusion-section .section-image img {
    border-radius: 12px;
    margin-bottom: -12px;
  }

  .conclusion-section .section-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
}

/* =============================== */
/*       PROJECT NAVIGATION        */
/* =============================== */
@media (min-width: 651px) {
.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 120px;
  margin-bottom: 120px;
}

.project-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.project-nav:hover {
  opacity: 0.7;
}

/* Chevron */
.project-nav .chevron {
  font-size: 40px;              
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  position: relative;
  top: -0.07em;                 
}


/* Alignements spécifiques */
.project-nav.prev {
  justify-content: flex-start;
}

.project-nav.next {
  justify-content: flex-end;
}
}

/* =============================== */
/*   CTA PROJETS / CONTACT – MOBILE */
/* =============================== */

/* Par défaut : caché (desktop + tablette) */
.project-navigation .btn,
.project-navigation .btn-primary {
  display: none;
}

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

  .project-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 48px;
  }

  /* Réactive les boutons hérités de style.css */
  .project-navigation .btn,
  .project-navigation .btn-primary {
    display: inline-flex;
  }
}

/* =============================== */
/*   PROJECT NAVIGATION — SPACING  */
/* =============================== */

/* Par défaut : caché */
.project-navigation-desktop,
.project-navigation-mobile {
  display: none;
}

/* ========= MOBILE (≤ 650px) ========= */
@media (max-width: 650px) {

  .project-navigation-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    margin-top: 32px; 
    margin-bottom: 32px;
  }
}

/* ========= TABLET (651px → 999px) ========= */
@media (min-width: 651px) and (max-width: 999px) {

  .project-navigation-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 40px; 
    margin-bottom: 32px;
  }
}

/* ========= LARGE DESKTOP (≥ 1000px) ========= */
@media (min-width: 1000px) {

  .project-navigation-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 64px; 
    margin-bottom: 40px;
  }
}

/* =============================== */
/*   GESTION DES SAUTS DE TEXTE    */
/*   (MOBILE UNIQUEMENT)           */
/* =============================== */

@media (max-width: 767px) {
  .project-section .section-text p {
    margin-bottom: -8px;
  }

}

/* ================================
   NAV — LIEN ACTIF (SIMPLE & FIABLE)
   ================================ */

.nav ul li a[aria-current="page"] {
  position: relative;
  color: var(--text);
}

.nav ul li a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--btn-primary-bg);
  border-radius: 2px;
}

/* Titre "Constel Mentorat" — uniquement en thème clair */
.theme-light .project-page .project-title {
  color: #B34755; 
}

/* ================================ */
/* Séparateur rouge en thème light */
/* ================================ */

.theme-light .project-separator .separator-img {
  content: url("img-fdl/separateur-rouge.png");
}

/* =========================================
   PROJECT NAV — CONSTEL MENTORAT (LIGHT)
   ========================================= */

/* =========================================
   PROJECT NAV — THEME LIGHT (HOVER / ACTIVE)
   ========================================= */

/* État normal */
:root.theme-light .project-nav {
  color: var(--text);
  transition: color 0.2s ease;
}

/* Hover (desktop uniquement) → couleur hover du bouton */
@media (hover: hover) and (pointer: fine) {
  :root.theme-light .project-nav:hover {
    color: color-mix(
      in srgb,
      var(--btn-primary-bg) 85%,
      transparent
    );
  }
}

/* Active (clic) → couleur pleine du bouton */
:root.theme-light .project-nav:active {
  color: var(--btn-primary-bg);
}

/* =========================================
   INDICATION "PROJETS" ACTIVE SUR PAGE PROJET
   ========================================= */

.project-page .nav a[href="project.html"] {
  position: relative;
}

/* Ligne sous le lien */
.project-page .nav a[href="project.html"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--btn-primary-bg);
}

/* =========================================
   FIX — SOULIGNEMENT NAV EN MODE MOBILE
   ========================================= */

@media (max-width: 1100px) {

  /* Empêche le lien de prendre toute la largeur */
  .nav[aria-expanded="true"] ul li a {
    width: fit-content !important;
  }

  /* Sécurise l’alignement du soulignement */
  .nav[aria-expanded="true"] ul li a::after {
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* ===========================
   ESPACEMENT BAS DE PAGE
   =========================== */
   
/* DESKTOP */
@media (min-width: 1101px) {
  body {
    padding-bottom: 8px;
  }
}

/* TABLETTE */
@media (min-width: 600px) and (max-width: 1100px) {
  body {
    padding-bottom: 8px;
  }
}

/* MOBILE */
@media (max-width: 599px) {
  body {
    padding-bottom: 8px;
  }
}

@media (max-width: 650px) {
  .project-navigation {
    margin-top: 40px;
  }
}

@media (min-width: 767px) and (max-width: 1000px) {
  .project-section .section-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .project-header,
  .project-body {
    padding-top: 104px !important;
    }
  }

@media (min-width: 601px) and (max-width: 767px) {
  .project-header,
  .project-body {
    padding-top: 24px !important;
    }
  }

  @media (min-width: 768px) and (max-width: 1100px) {
  .project-page .project-title {
    font-size: 40px;
    line-height: 1.2;
  }
}

html.theme-light img[src="img-constel/projet-1-1.png"] {
  content: url("img-constel/constel-mentorat-rouge-cover.png");
}

html.theme-light .project-hero img {
  box-shadow: 0 0px 40px color-mix(
    in srgb,
    var(--btn-primary-bg) 30%,
    transparent
  );
}