
:root {
  --brand-blue: #0066cc;
  --brand-green: #99cc00;
  --brand-dark: #003b5c;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.spacer{ height: 40px; }
.block {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.block h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0066cc; /* Bleu SUP’INFO */
}

.block p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.block img {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.grid figure {
  width: 280px;
  text-align: center;
}

.grid figcaption {
  margin-top: 10px;
  font-weight: bold;
  color: #0055aa;
}
.bloc-presentation {
  background-color: #f1f5fb; /* Couleur douce, modifiable selon charte */
  padding: 60px 20px;
}

.presentation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.image-wrapper {
  flex: 1 1 40%;
}

.bulle-image {
  width: 100%;
  border-radius: 60% 40% 50% 70% / 60% 30% 70% 40%; /* bulle déformée */
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.text-wrapper {
  flex: 1 1 55%;
}

.text-wrapper h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #0066cc;
}

.text-wrapper p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}
/* Fond et disposition */
.institute-block {
  padding: 60px 0;
}
.bg-light {
  background: #f4f7fc;
}
.bg-colored {
  background: linear-gradient(135deg, #e0fce9, #d3ecff);
}

.institute-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.institute-flex.reverse {
  flex-direction: row-reverse;
}
.institute-image {
  flex: 1 1 40%;
}
.institute-text {
  flex: 1 1 55%;
}

.institute-text h2 {
  font-size: 28px;
  font-weight: 500;
  color: #0066cc;
  margin-bottom: 12px;
}
.institute-text h3 {
  font-size: 28px;
  font-weight: 500;
  color: #cc0033;
  margin-bottom: 12px;
}
.institute-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}
.institute-btn {
  display: inline-block;
  background: #0066cc;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.institute-btn:hover {
  background: #99cc00;
}
.institute-btn2 {
  display: inline-block;
  background: #cc0033;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.institute-btn2:hover {
  background: #666666;
}
/* Image bulle irrégulière */
.organic-img {
  width: 100%;
  height: auto;
  clip-path: url(#organicMask);
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
/* ====== VIDEO BANDEAU ====== */
.video-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

/* ====== OVERLAY STATS ====== */
.video-stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;                     /* prend toute la largeur */
  display: flex;
  justify-content: space-around;  /* répartit les blocs horizontalement */
  align-items: center;
  background: rgba(0, 153, 191, 0.2);     /* fond semi-transparent */
  padding: 20px 0;
  color: #99cc00;
  flex-wrap: wrap;                /* permet le passage en colonne sur mobile */
}


.stat-block {
  flex: 1 1 150px;
  min-width: 120px;
  text-align: center;   /* ✅ Centrage horizontal du contenu */
}
.stat-block p {
  text-align: center;   /* ✅ force le centrage du sous-titre */
  margin-top: 5px;
  font-size: 1em;
}
.stat-block {
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* lisibilité renforcée */
}


.stat-block i {
  font-size: 2em;
  margin-bottom: 8px;
  display: block;
}

.stat-block .counter {
  font-size: 1.8em;
  font-weight: bold;
  display: block;
}

.stat-block p {
  margin-top: 5px;
  font-size: 1em;
}
/* Animation de base */
.stat-block {
  opacity: 0;                /* invisible au départ */
  transform: translateY(20px); /* légèrement décalé vers le bas */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Classe active quand l’élément apparaît */
.stat-block.visible {
  opacity: 1;
  transform: translateY(0);  /* revient à sa place */
}

/* end video 1 */
/* ====== VARIANTES SUPIMAX ====== */
/* Fond du bandeau SUPIMAX */
#supimax .video-stats-overlay {
  position: absolute;
  top: 0;              /* placé en haut */
  bottom: auto;        /* ✅ annule le bottom hérité */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(213, 243, 253, 0.4); /* semi-transparent */
  padding: 10px 0;
}


/* Couleur des icônes et des chiffres */
#supimax .stat-block i,
#supimax .stat-block .counter {
  color: #cc0033;   /* rouge profond */
}

/* Couleur des intitulés (sous-titres) */
#supimax .stat-block p {
  color: #888888;   /* bleu institutionnel par exemple */
  text-align: center; /* garde le centrage */
}

/* end video 2 */
/* Responsive */
@media(max-width: 900px){
  .institute-flex {
    flex-direction: column !important;
    text-align: center;
  }
  .institute-text {
    padding-top: 20px;
  }
}
.cycles-section {
  background: linear-gradient(180deg, #f7fbff, #e8f0fe);
  padding: 80px 0;
}
.cycles-section .section-title {
  text-align: center;
  font-size: 32px;
  color: #003366;
  margin-bottom: 16px;
}
.cycles-section .section-intro {
  text-align: center;
  font-size: 18px;
  color: #4b5563;
  max-width: 720px;
  margin: 0 auto 40px;
}

.cycles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cycle-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}
.cycle-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 18px;
}
.cycle-card h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 10px;
}
.cycle-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 16px;
}
.cycle-btn {
  display: inline-block;
  background: #003366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cycle-btn:hover {
  background: #002850;
}
/* === Cycle Bachelor === */
.bg-bachelor {
  background: linear-gradient(135deg, #e6f2ff, #d0e7ff);
  padding: 60px 0;
}

.cycle-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cycle-image {
  flex: 1 1 40%;
  position: relative;
  max-width: 400px;
}

.cycle-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: url(#organicMask);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-radius: 0;
}

.cycle-text {
  flex: 1 1 50%;
}

.cycle-text h2 {
  font-size: 28px;
  font-weight: 500;
  color: #0066cc;
  margin-bottom: 12px;
}
.text-wrapper h2 {
  border-bottom: 1px solid #ccc; /* fine barre grise */
  padding-bottom: 8px;           /* espace entre texte et barre */
  margin-bottom: 12px;           /* espace avant le paragraphe */
}

.cycle-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.cycle-btn {
  display: inline-block;
  background: #003366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cycle-btn:hover {
  background: #002850;
}

/* Responsive */
@media(max-width: 900px){
  .cycle-container {
    flex-direction: column;
    text-align: center;
  }
  .cycle-image {
    max-width: 100%;
  }
}
.cycles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin: 50px 0;
}

.cycle-block {
  flex: 1 1 30%;
  background-color: #e6f4ea; /* Vert pastel doux */
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.cycle-block:hover {
  transform: translateY(-5px);
}

.cycle-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.cycle-text h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2c2c2c;
}

.cycle-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}
/* Cycle butn  Sup */
.cycle-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0066cc; /* Vert harmonisé */
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cycle-btn:hover {
  background-color: #388e3c;
}
/* Cycle butn 2 Imax */
.cycle-btn2 {
  display: inline-block;
  padding: 10px 20px;
  background-color: #cc0033; /* Vert harmonisé */
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cycle-btn2:hover {
  background-color: #666666;
}
.cycle-btn, .cycle-btn2 {
  display: inline-block;
  margin: 0 8px; /* espace entre btn et btn2 horizontal */
}

.cycles-container img {
  border-radius: 12px; /* Coins arrondis */
  object-fit: cover;   /* Remplit le cadre sans déformation */
  aspect-ratio: 1 / 1; /* Carré */
  width: 100%;         /* S’adapte au conteneur */
  height: auto;
  mask-image: none;    /* Supprime le masque en forme de cœur */
  -webkit-mask-image: none;
}
.cycle-img {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.cycles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.cycle-block {
  flex: 1 1 300px;
  max-width: 320px;
  box-sizing: border-box;
}
.cycles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .cycles-container {
    flex-direction: column;
    align-items: center;
  }
}
.top-banner {
  background-color: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.banner-logo {
  height: 50px;
}

.banner-nav a {
  margin-left: 20px;
  color: #0066cc; /* Bleu Groupe SUP */
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.banner-nav a:hover {
  color: #005a94;
}

.rejoindre-block {
  background-color: #ffffff; /* White  */
  padding: 40px 20px;
  border-radius: 12px;
}

.rejoindre-block .content {
  display: flex;
  align-items: center; /* aligne verticalement image et texte */
  gap: 30px; /* espace entre image et texte */
}

.rejoindre-block .image img {
  max-width: 220px; /* taille raisonnable */
  height: auto;
  display: block;
}

.rejoindre-block .text {
  flex: 1; /* prend le reste de l’espace */
}

.rejoindre-block .text h2 {
  margin-bottom: 15px;
  color: #0066cc;
}

.rejoindre-block .text p {
  font-size: 1.1rem;
  color: #333;
}

/* Responsive : sur mobile, image au-dessus du texte */
@media (max-width: 768px) {
  .rejoindre-block .content {
    flex-direction: column;
    text-align: center;
  }

  .rejoindre-block .image img {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.rejoindre-block .content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.rejoindre-block .image {
  flex: 0 0 180px;   /* largeur fixe */
  max-height: 220px; /* hauteur max */
}

.rejoindre-block .image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.rejoindre-block .text {
  flex: 1; /* prend tout l’espace restant */
}

/* Texte manuscrit institutionnel */
/* Texte manuscrit institutionnel */
.rejoindre-block .inscription-text-alt {
  font-family: 'Patrick Hand', cursive;   /* police manuscrite */
  font-size: 1.8em !important;                       /* plus grand */
  color: #004080;
  text-align: center;
  margin-top: 20px;
  text-shadow: 0 0 8px rgba(142, 255, 5, 0.5); /* ✅ halo lumineux */
}

/* Logos shadow click */
.logos-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 60px; /* espace entre les logos */
}

.logos-links img {
  height: 60px;             /* taille fixe pour l’harmonie */
  width: auto;              /* conserve les proportions */
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3)); /* ✅ ombre douce */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos-links img:hover {
  transform: scale(1.1);    /* petit zoom au survol */
  filter: drop-shadow(3px 6px 8px rgba(0,0,0,0.4)); /* ombre plus marquée */
}










/* ===================== */
/* Responsive Styles     */
/* ===================== */

/* Responsive Styles */

  



/* === Portfolio Carrousel pleine largeur === */
.portfolio-banner {
  width: 100%;
  background: #111; /* couleur de fond */
  overflow: hidden;
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  height: 500px; /* ajuste selon ton design */
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flèches de navigation */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

/* Indicateurs type stories */
.carousel-progress {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  width: 60%; /* largeur totale du bloc */
  z-index: 3;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  animation: none;
}

.progress-bar.active::before {
  animation: fill 5s linear forwards;
}

@keyframes fill {
  from { width: 0%; }
  to { width: 100%; }
}
/* Ajustement responsive */
@media (max-width: 768px) {
  .carousel {
    height: 300px; /* plus petit sur tablette */
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 200px; /* encore plus petit sur mobile */
  }
  .carousel-control {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
  }
  .carousel-progress {
    width: 80%; /* barres plus larges sur mobile */
  }
}
/* === Bloc Rejoindre : propre et responsive === */
#rejoindre {
  background-color: #ffffff;
  padding: 40px 20px;
  border-radius: 12px;
}

#rejoindre .container {
  display: flex;
  align-items: center; /* aligne image et texte verticalement */
  gap: 30px;
}

/* Image à gauche, largeur fixe, hauteur contrôlée */
#rejoindre .image-bulle {
  flex: 0 0 180px;
  max-height: 220px;
  display: flex;
  align-items: center;
}

#rejoindre .image-bulle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0; /* évite tout débordement */
  padding: 0;
}

/* Texte à droite */
#rejoindre h2,
#rejoindre p {
  flex: 1;
  margin: 0;
  color: #0066cc;
}

#rejoindre h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

#rejoindre p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* === Responsive : image au-dessus du texte === */
@media (max-width: 768px) {
  #rejoindre .container {
    flex-direction: column;
    text-align: center;
  }

  #rejoindre .image-bulle {
    flex: none;
    width: 100%;
    max-height: none;
    margin-bottom: 20px;
    justify-content: center;
  }

  #rejoindre .image-bulle img {
    max-width: 180px;
    margin: 0 auto;
  }
/* Rejoindre bold blue text */
}
.highlight-text {
  font-weight: bold;
  color: #0066cc;
}

/* Bloc Témoignages */
#temoignages {
  background-color: #e6f4ea;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.temoignages-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #003b5c;
  letter-spacing: 1px;
}

.temoignages-subtitle {
  font-size: 1.15em;
  color: #666;
  margin-bottom: 40px;
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

.temoignages-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.temoignage {
  max-width: 300px;
  margin: 0 auto;
  padding: 10px;
}
.temoignages-intro {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  text-align: center;
  color: #444;
  margin-bottom: 30px;
}
.review-stars {
  text-align: center;   /* Bloc etoile centre les étoiles */
  margin-bottom: 30px;  /* espace sous les étoiles */
}

.review-stars i {
  color: gold;          /* couleur dorée */
  margin: 0 2px;        /* espace horizontal */
  font-size: 20px;      /* taille des étoiles */
}


.bubble {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  border: 3px solid white;
}

/* Nom de l'étudiant */
.student-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 20px;
  color: #003b5c;
}

/* École */
.student-school {
  font-size: 0.85em;
  color: #888;
  margin-top: 4px;
  font-weight: 500;
}

/* Témoignage */

.student-quote {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 0.95em;
  text-align: justify;
  color: #444;
  margin-top: 10px;
  line-height: 1.5;
  quotes: "«" "»";
}

.student-quote::before {
  content: open-quote;
}

.student-quote::after {
  content: close-quote;
}


/* Couleurs par école */
.temoignage.supinfo .bubble {
  border: 2px solid #0077cc;
}

.temoignage.supimax .bubble {
  border: 2px solid #cc3366;
}
.temoignage {
  text-align: center;
}

.bubble {
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .temoignages-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
/* Fin Temoignage */

/* Bloc Partenariat */
/* === Bloc Partenariat avec image responsive === */
#partenariat {
  background: url("../assets/img/Partners/bd-bckgrd-partners-sup-.png") no-repeat center center;
  background-size: cover;        /* ✅ l’image couvre toute la section */
  min-height: 60vh;              /* ✅ hauteur minimale (60% de l’écran) */
  padding: 60px 20px;
  position: relative;
  display: flex;                 /* ✅ permet de centrer le contenu */
  align-items: center;
  justify-content: center;
}

/* === Overlay translucide derrière le texte === */
.partenariat-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.3); /* voile blanc translucide */
  padding: 20px;
  border-radius: 8px;
}

.partenariat-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004080; /* bleu foncé pour contraste */
}

.partenariat-text {
  line-height: 1.6;
  font-size: 1rem;
  color: #333; /* gris foncé pour lisibilité */
}

/* === Modal partenariat === */
.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  width: 420px;
  max-width: 90%;
  max-height: 80vh;       /* ✅ limite la hauteur */
  overflow-y: auto;       /* ✅ scroll interne si contenu trop long */
  z-index: 1000;
}

/* Responsive : plein écran sur mobile */
@media (max-width: 600px) {
  .modal {
    top: 0; left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    padding: 20px;
    overflow-y: auto;
  }
}

/* end Partenariat */

/* Pied de page */
#footer {
  background-color: #003b5c;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Open Sans', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-column h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #99cc00;
}

/* Contact */
.footer-column p {
  margin: 5px 0;
  color: #ddd;
}

/* Réseaux sociaux */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2em;
  color: #ddd;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #99cc00;
}

/* Bas de page */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
  font-size: 0.9em;
  color: #ccc;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* end footer */
/* regle presentation titre */
.main-title {
  font-size: 2em;
  font-weight: 700;
  color: #003b5c; /* bleu institutionnel */
  margin-bottom: 5px;
}

.sub-title {
  font-size: 1.4em;
  font-weight: 500;
  color: #555; /* gris plus doux pour contraste */
  margin-bottom: 15px;
}
/* end prst */
p {
  text-align: justify;/*  paragraphes justifiés */
}
p.centered {
  text-align: center;  /* Centrer exception pour certains paragraphes */
}
.text-wrapper hr {
  border: none;
  border-top: 1px solid #003b5c;
  margin: 8px 0;
}
/* Rubrique Form pop up */
/* Overlay */
/* === Overlay (fond semi-transparent) === */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

/* === Modal (fenêtre centrale) === */
.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  width: 420px;
  max-width: 90%;
  z-index: 1000;
}

/* === Contenu du modal === */
.modal-content h3 {
  margin-top: 0;
  color: #004080;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.modal-content button {
  margin-top: 10px;
  padding: 10px 18px;
  border: none;
  background: #004080;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content button:hover {
  background: #cc0033;
}

/* === Bouton fermer (croix) === */
.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.close:hover { color: #cc0033; }
/* === Intro text du formulaire === */
.intro-text {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* === Groupes de champs === */
.form-group {
  margin-bottom: 15px;
  border: none;
}

.form-group legend {
  font-weight: bold;
  color: #004080;
  margin-bottom: 8px;
}

/* === Alignement des labels avec cases === */
.form-group label {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  font-size: 0.9rem;
  color: #222;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  margin-right: 6px;
}

/* === Grille pour les options de partenariat === */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* deux colonnes */
  gap: 10px 20px;
}

/* === Fond institutionnel du modal === */
.modal-content {
  background: #f9fbfd; /* bleu/gris clair */
  border-radius: 10px;
  padding: 25px;
}

/* === Message flash de confirmation === */
.flash-message {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #004080;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-size: 0.95rem;
  z-index: 2000;
  animation: fadein 0.5s, fadeout 0.5s 3s;
}

@keyframes fadein { from {opacity: 0;} to {opacity: 1;} }
@keyframes fadeout { from {opacity: 1;} to {opacity: 0;} }

/* === Responsive : plein écran sur mobile === */
@media (max-width: 600px) {
  .modal {
    top: 0; left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 20px;
    overflow-y: auto;
  }
  .modal-content h3 {
    font-size: 1.4rem;
    text-align: center;
  }
}
.external-icon {
  font-size: 0.8em;
  margin-left: 4px;
  color: #666; /* gris discret */
}

.footer-bottom a {
  text-decoration: none;
  color: #b4b4b5; /* couleur link */
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #99cc00; /* couleur au survol */
}
.footer-logo {
  margin-top: 15px;
  text-align: center;
}

.footer-logo img {
  max-width: 120px; /* ajuste selon ton besoin */
  height: auto;
  opacity: 0.9; /* optionnel pour un effet plus doux */
}

/* Bouton retour en haut centré avec SVG */
#back-to-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #0077cc; /* bleu institutionnel */
  color: #ffffff;
  padding: 12px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#back-to-top svg {
  display: block;
}

#back-to-top:hover {
  background: #99cc00; /* couleur fond */
}

#back-to-top.show {
  opacity: 1;
}


