.apropos-hero {
  position: relative;
  width: 100%;
  min-height: 80vh; /* Hauteur flexible */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  padding: 40px;

  /* ✅ Image de fond responsive */
  background-image: url('images/tetu.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; /* Remplit tout l’espace sans déformation */
}

/* --- Contenu texte --- */
.apropos-content {
  max-width: 600px;
  
  padding: 25px 30px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.apropos-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.apropos-content p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ✅ Ajustement pour tablettes */
@media (max-width: 992px) {
  .apropos-hero {
    min-height: 70vh;
    padding: 30px;
    align-items: center;
  }

  .apropos-content {
    max-width: 90%;
    padding: 20px;
  }

  .apropos-content h1 {
    font-size: 2rem;
  }

  .apropos-content p {
    font-size: 1rem;
  }
}

/* ✅ Ajustement pour téléphones */
@media (max-width: 600px) {
  .apropos-hero {
    min-height: 60vh;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-position: center top;
  }

  .apropos-content {
    
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .apropos-content h1 {
    font-size: 1.6rem;
  }

  .apropos-content p {
    font-size: 0.95rem;
  }
}


  .apropos-content {
    
    padding: 15px;
    width: 100%;
  }

  .apropos-content h1 {
    font-size: 1.6rem;
  }

  .apropos-content p {
    font-size: 0.95rem;
  }



    /* --- Filtre sombre sur l’image --- */
    .apropos-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5); /* effet de fondu sombre */
      z-index: 1;
    }

    /* --- Contenu du texte --- */
    .apropos-content {
      position: relative;
      z-index: 2;
      padding: 5px 60px;
      max-width: 600px;
    }

    .apropos-content h1 {
      font-size: 40px;
      margin: 0 0 10px 0;
      font-weight: 600;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    }

    .apropos-content p {
      font-size: 18px;
      color: #f1f1f1;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    }

    /* --- Responsive --- */
    @media (max-width: 768px) {
      .apropos-hero {
        height: 70vh;
      }
      .apropos-content {
        padding: 30px;
      }
      .apropos-content h1 {
        font-size: 26px;
      }
      .apropos-content p {
        font-size: 16px;
      }
    }
 /* --- Div contenant les détails du programme. --- */
.programme {
      background: white;
      padding: 30px;
      border-radius: 15px;
      max-width: 1000px;
      margin: 50px auto;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* --- Titre --- */
    .programme h1 {
      text-align: center;
      color: #1abc9c;
      font-size: 28px;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* --- Paragraphes --- */
    .programme p {
      font-size: 16px;
      line-height: 1.6;
      margin-bottom: 10px;
      font-weight: 500;
    }
     .offre{
      background: #1abc9c;
      text-transform: uppercase;
      margin-top: 50px;
      color: #ffffff;
     }
    /* --- Listes --- */
    .programme ul {
      list-style: none;
      padding: 0;
      margin: 15px 0 25px 0;
    }

    .programme ul li {
      background: #ecf0f1;
      margin: 8px 0;
      padding: 12px 15px;
      border-left: 5px solid #1abc9c;
      border-radius: 5px;
      line-height: 1.5;
    }

    /* --- Titres de section --- */
    .programme p:first-of-type {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      color: #34495e;
      margin-top: 20px;
    }
    /* Éligibilité */
    .programme h2 {
  font-size: 22px;
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 10px;
  border-bottom: 3px solid #1abc9c;
  display: inline-block;
  text-transform: uppercase;
}


    /* --- Responsive --- */
    @media (max-width: 600px) {
      .programme {
        padding: 20px;
      }
      .programme h1 {
        font-size: 22px;
      }
      .programme ul li {
        font-size: 15px;
      }
    }

    .Last img{
      
      width: 100%;
      height: 40vh; /* hauteur de la section */

align-items: center;

    }