/* ===== HERO SECTION ===== */

.hero {
  width: 100%;
}

.hero__bg {
  position: relative;
  width: 100%;
  height: 515px;
  background-image: url('../images/fondpg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Cacher l'img tag — on utilise background-image CSS */
.hero__bg-img {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 250, 255, 0.2);
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 56px;
  margin: 0;
}

.hero__title--blue {
  color: #0086F5;
}

.hero__subtitle {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.btn-hero {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #27289D;
  color: #F5FAFF;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-hero:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ===== FORMATIONS ===== */

.formations {
  width: 100%;
  background: #ffffff;
  padding-bottom: 60px;
  overflow: visible;
}

.formations__container {
  display: flex;
  align-items: flex-start;
}

.formations__image-wrap {
  flex-shrink: 0;
  width: 428px;
  margin-top: -50px;
  margin-left: 140px;
  position: relative;
  z-index: 2;
}

.formations__image {
  width: 100%;
  height: 100%;
  min-height: 516px;
  object-fit: cover;
  display: block;
}

.formations__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
  padding: 60px 80px;
  margin-top: 30px;
  margin-left: 20px;
  flex: 1;
}

.formations__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.formations__text {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.btn-programmes {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-programmes:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .hero__content { left: 40px; max-width: 480px; }
  .hero__title { font-size: 40px; line-height: 50px; }
  .formations__image-wrap { width: 320px; }
  .formations__content { padding: 40px; }
  .formations__title { font-size: 30px; }
}

@media (max-width: 768px) {
  .hero__bg { height: 420px; }
  .hero__content { left: 24px; max-width: calc(100% - 48px); }
 .hero__title {
  font-size: 32px;
  line-height: 40px;
  white-space: normal;
}
.hero__title span[style] {
  white-space: normal !important;
}
  .btn-hero { font-size: 16px; padding: 14px 24px; }
  .formations__image-wrap {  display: none; }
  .hero__content {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 55%;
  transform: translateY(-50%);
  max-width: 100%;
  width: calc(100% - 48px);
  box-sizing: border-box;
}
.btn-programmes {
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}
  .formations__container { flex-direction: column; }

  .formations__image-wrap {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    position: static;
  }

  .formations__image { width: 100%; min-height: 260px; height: 260px; }
  .formations__content { padding: 32px 24px; }
  .formations__title { font-size: 26px; }
  .formations__text { font-size: 16px; }
  .btn-programmes { font-size: 16px; padding: 14px 24px; width: 100%; justify-content: center; }
}

/* ===== SECTION NOS OFFRES DE FORMATION ===== */

.offres {
  width: 100%;
  background: #F5FAFF;
  padding: 80px 0;
}

.offres__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* Titre */
.offres__title {
  color: #252338;
  text-align: center;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

/* Sous-titre */
.offres__subtitle {
  color: #252338;
  text-align: center;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin: -24px 0 0 0;
  max-width: 800px;
}

/* Grille 2 colonnes */
.offres__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

/* Card */
.offres__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid #e8eaf0;
}

.offres__card:hover {
  box-shadow: 0 8px 24px rgba(0, 134, 245, 0.12);
  transform: translateY(-2px);
}

/* Icone */
.offres__icon {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 2px;
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-template-columns: repeat(1, minmax(0, 1fr));
  flex-shrink: 0;
  color: #0086F5;
}

.offres__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Filtre bleu si les icones sont en SVG noir */
  filter: invert(35%) sepia(90%) saturate(1500%) hue-rotate(190deg) brightness(100%);
}

/* Contenu card */
.offres__card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offres__card-title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: normal;
  margin: 0;
}

.offres__card-text {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

/* Bouton CTA */
.offres__cta {
  display: flex;
  justify-content: center;
}

.btn-offres {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #27289D;
  color: #F5FAFF;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-offres:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .offres__container { padding: 0 24px; }
  .offres__title { font-size: 30px; }
}

@media (max-width: 768px) {
  .offres {
    padding: 48px 0;
  }

  .offres__container {
    padding: 0 16px;
    gap: 32px;
  }

  .offres__title { font-size: 26px; }
  .offres__subtitle { font-size: 16px; }

  /* 1 colonne sur mobile */
  .offres__grid {
    grid-template-columns: 1fr;
  }

  .offres__card {
    padding: 16px;
  }

  .offres__card-title { font-size: 17px; }
  .offres__card-text { font-size: 14px; }

  .btn-offres {
    font-size: 16px;
    padding: 14px 24px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== SECTION NOS DOMAINES DE FORMATION ===== */

.domaines {
  width: 100%;
  background: #ffffff;
  padding: 80px 0;
}

.domaines__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* --- Gauche --- */
.domaines__left {
  flex-shrink: 0;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.domaines__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.domaines__text {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.btn-domaines {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}

.btn-domaines:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* --- Droite : carousel --- */
.domaines__right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.domaines__carousel-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.domaines__carousel {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
}

/* Chaque slide */
.domaines__slide {
  flex-shrink: 0;
  width: 280px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.domaines__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Badge en bas de l'image */
.domaines__badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 243px;
  min-height: 67px;
  border-radius: 8px;
  background: #F5FAFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
}

.domaines__badge span:first-child {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 14px;
  font-weight: 350;
  line-height: 20px;
  flex: 1;
}

.domaines__badge-arrow {
  color: #000;
  font-size: 16px;
  flex-shrink: 0;
}

/* Bouton Next */
.domaines__next {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F5FAFF;
  box-shadow: 0 4px 4px -1px rgba(37, 35, 56, 0.40);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.domaines__next:hover {
  background: #e8eaf0;
  transform: scale(1.05);
}

.domaines__next svg {
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .domaines__container { gap: 40px; padding: 0 24px; }
  .domaines__left { max-width: 300px; }
  .domaines__title { font-size: 28px; }
  .domaines__text { font-size: 17px; }
  .domaines__slide { width: 240px; }
}

@media (max-width: 768px) {
  .domaines { padding: 48px 0; }

  .domaines__container {
    flex-direction: column;
    padding: 0 16px;
    gap: 32px;
    align-items: flex-start;
  }

  .domaines__left {
    max-width: 100%;
    width: 100%;
  }

  .domaines__title { font-size: 26px; }
  .domaines__text { font-size: 16px; }

  .btn-domaines {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .domaines__right { width: 100%; }
  .domaines__slide { width: 260px; }
  .domaines__img { height: 260px; }
}



/* ===== SECTION NOS SERVICES ===== */

.services {
  width: 100%;
  background: #F5FAFF;
  padding: 80px 0;
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

/* Accordion */
.services__accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.services__item {
  width: 100%;
}

.services__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.services__header span:first-child {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  flex: 1;
}

/* Flèche via mask-image */
.services__arrow {
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  background-color: #252338;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7L10 13L16 7' stroke='%23252338' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7L10 13L16 7' stroke='%23252338' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.25s ease;
}

.services__header[aria-expanded="true"] .services__arrow {
  transform: rotate(180deg);
}

/* Corps accordion */
.services__body {
  display: none;
  padding: 0 0 24px 0;
  max-width: 800px;
}

.services__body.is-open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.services__body p {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Séparateur */
.services__separator {
  height: 1px;
  background: rgba(37, 35, 56, 0.60);
  width: 100%;
}

/* CTA */
.services__cta {
  display: flex;
}

.btn-services {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-services:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .services { padding: 48px 0; }
  .services__container { padding: 0 16px; gap: 24px; }
  .services__title { font-size: 26px; }
  .services__header span:first-child { font-size: 18px; }
  .btn-services { font-size: 15px; padding: 12px 20px; width: 100%; box-sizing: border-box; text-align: center; }
}


/* ===== SECTION ÉTUDIEZ SANS INTERNET ===== */

.rythme {
  width: 100%;
  background: #ffffff;
  padding: 80px 0;
}

.rythme__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.rythme__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.rythme__title--blue {
  color: #0086F5;
}

/* Grille 3 colonnes */
.rythme__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 48px 40px;
}

/* Item générique */
.rythme__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Le 3ème item (03) occupe aussi la zone du bouton/texte en dessous */
.rythme__item--last {
  grid-row: span 2;
  justify-content: flex-start;
}

.rythme__number {
  color: #0086F5;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
}

.rythme__text {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.rythme__subtext {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.btn-rythme {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-rythme:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .rythme__container { padding: 0 24px; }
  .rythme__title { font-size: 28px; }
  .rythme__grid { gap: 32px 24px; }
}

@media (max-width: 768px) {
  .rythme { padding: 48px 0; }
  .rythme__container { padding: 0 16px; gap: 32px; }
  .rythme__title { font-size: 22px; }

  .rythme__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rythme__item--last {
    grid-row: span 1;
    order: 3;
  }

  .rythme__number { font-size: 28px; }
  .rythme__text { font-size: 16px; }
  .rythme__subtext { font-size: 16px; }

  .btn-rythme {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}


/* ===== SECTION LE SAVOIR EN UN CLIC ===== */

.savoir {
  width: 100%;
  background: #ffffff;
  padding: 80px 0;
}

.savoir__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Gauche */
.savoir__left {
  flex-shrink: 0;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.savoir__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.savoir__text {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 31px;
  margin: 0;
}

.btn-savoir {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-savoir:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* Droite */
.savoir__right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.savoir__img-wrap {
  position: relative;
  width: 475px;
  height: 299px;
}

/* Boîte décorative derrière la photo */
.savoir__img-wrap::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border-radius: 16px;
  background: #E0F0FE;
  z-index: 0;
}

.savoir__img {
  position: relative;
  width: 475px;
  height: 299px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  z-index: 1;
}

/* Badges flottants */
.savoir__badge {
  position: absolute;
  background: #ffffff;
  border-radius: 50px;
  padding: 12px 20px;
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
}

.savoir__badge--top-left {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.savoir__badge--top-right {
  top: 5%;
  right: -15%;
  animation-delay: 0.5s;
}

.savoir__badge--mid-left {
  top: 50%;
  left: -12%;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.savoir__badge--bottom-right {
  bottom: 5%;
  right: -12%;
  animation-delay: 1.5s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Corriger le badge mid-left qui a déjà un translateY */
.savoir__badge--mid-left {
  animation: floatBadgeMid 3s ease-in-out infinite;
}

@keyframes floatBadgeMid {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 6px)); }
}

/* Responsive */
@media (max-width: 1024px) {
  .savoir__container { gap: 40px; padding: 0 24px; }
  .savoir__left { max-width: 320px; }
  .savoir__title { font-size: 28px; }
  .savoir__text { font-size: 17px; }
  .savoir__img-wrap { width: 380px; height: 240px; }
  .savoir__img { width: 380px; height: 240px; }
}

@media (max-width: 768px) {
  .savoir { padding: 48px 0; }

  .savoir__container {
    flex-direction: column;
    padding: 0 16px;
    gap: 48px;
    align-items: flex-start;
  }

  .savoir__left { max-width: 100%; }
  .savoir__title { font-size: 26px; }
  .savoir__text { font-size: 16px; line-height: 26px; }

  .btn-savoir {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .savoir__right { width: 100%; justify-content: flex-start; }

  .savoir__img-wrap {
    width: 100%;
    height: 220px;
  }

  .savoir__img {
    width: 100%;
    height: 220px;
  }

  .savoir__badge { font-size: 13px; padding: 8px 14px; }
  .savoir__badge--top-right { right: -5%; }
  .savoir__badge--mid-left { left: -5%; }
  .savoir__badge--bottom-right { right: -5%; }
}



/* ===== SECTION CAMPUS ===== */

.campus__top {
  background: linear-gradient(to bottom, #F5FAFF calc(100% - 193px), #ffffff calc(100% - 193px));
  padding: 80px 0 0 0;
}

.campus__bottom {
  background: #ffffff;
  padding: 60px 0 80px 0;
}

.campus__top-container,
.campus__bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top : titre + texte côte à côte */
.campus__top-container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-bottom: 60px;
}

.campus__top-left {
  flex-shrink: 0;
  max-width: 420px;
}

.campus__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.campus__title--blue {
  color: #0086F5;
}

.campus__top-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campus__desc {
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.campus__location {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campus__location-label {
  color: #0086F5;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 31px;
}

/* Photos */
.campus__photos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.campus__photo-wrap {
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.campus__photo-wrap--large {
  width: 381px;
}

.campus__photo-wrap:not(.campus__photo-wrap--large) {
  width: 280px;
}

.campus__photo {
  width: 100%;
  height: 387px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.campus__photo-wrap.in-view .campus__photo {
  animation: photoReveal 0.7s ease forwards;
}

.campus__photo-wrap:nth-child(2).in-view .campus__photo { animation-delay: 0.15s; }
.campus__photo-wrap:nth-child(3).in-view .campus__photo { animation-delay: 0.3s; }

@keyframes photoReveal {
  from { opacity: 0; transform: translateX(120px); }
  to   { opacity: 1; transform: translateX(0); }
}

.campus__photo-wrap .campus__photo { opacity: 0; }
.campus__photo-wrap.in-view .campus__photo {
  animation: photoReveal 0.7s ease forwards;
}

/* Hover photo */
.campus__photo-wrap:hover .campus__photo {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Bottom */
.campus__bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campus__pro-title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.campus__quote {
  color: #0086F5;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin: 0;
}

/* Stats */
.campus__stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 8px;
}

.campus__stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.campus__stat-number {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}

/* Préfixe + sur le nombre */
.campus__stat:first-child .campus__stat-number::before {
  content: '+';
}

.campus__stat-label {
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.campus__stat-separator {
  width: 1px;
  height: 40px;
  background: #D9D9D9;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .campus__top-container { gap: 40px; padding: 0 24px 40px; }
  .campus__photos { padding: 0 24px; }
  .campus__bottom-container { padding: 0 24px; }
  .campus__title { font-size: 28px; }
  .campus__photo-wrap--large { width: 300px; }
  .campus__photo-wrap:not(.campus__photo-wrap--large) { width: 220px; }
  .campus__photo { height: 300px; }
}

@media (max-width: 768px) {
  .campus__top { padding: 48px 0 0; }
  .campus__bottom { padding: 40px 0 48px; }

  .campus__top-container {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px 32px;
  }

  .campus__top-left { max-width: 100%; }
  .campus__title { font-size: 24px; }

  .campus__photos {
    padding: 0 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .campus__photo-wrap--large { width: 260px; }
  .campus__photo-wrap:not(.campus__photo-wrap--large) { width: 200px; }
  .campus__photo { height: 240px; }

  .campus__bottom-container { padding: 0 16px; }
  .campus__pro-title { font-size: 20px; }
  .campus__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .campus__stat-separator { width: 60px; height: 1px; }
}

/* ===== SECTION NOS FORMATIONS DU MOMENT ===== */
 
.fmoment {
  width: 100%;
  background: #ffffff;
  padding: 80px 0 0 0;
}
 
.fmoment__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
 
.fmoment__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
}
 
.fmoment__subtitle {
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}
 
/* Grille 3 colonnes */
.fmoment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}
 
/* Card */
.fmoment__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
 
.fmoment__card:hover {
  transform: translateY(-4px);
}
 
/* Image wrap */
.fmoment__img-wrap {
  position: relative;
  display: flex;
  height: 282px;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 19px 0 0;
  overflow: hidden;
  border-radius: 12px;
  align-self: stretch;
}
 
.fmoment__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}
 
.fmoment__card:hover .fmoment__img {
  transform: scale(1.04);
}
 
/* Tag prix */
.fmoment__price {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #F5FAFF;
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}
 
/* Info sous la carte */
.fmoment__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.fmoment__name {
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}
 
.fmoment__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 18px;
  margin: 0;
}
 
.fmoment__meta-icon {
  font-size: 14px;
  color: #6B7284;
  flex-shrink: 0;
}
 
/* Séparateur bas */
.fmoment__separator {
  border-bottom: 1px solid #DEE2E3;
  width: 100%;
  margin-top: 16px;
}
 
/* Responsive */
@media (max-width: 1024px) {
  .fmoment__container { padding: 0 24px; }
  .fmoment__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
 
@media (max-width: 768px) {
  .fmoment { padding: 48px 0 0; }
  .fmoment__container { padding: 0 16px; gap: 24px; }
  .fmoment__title { font-size: 20px; }
  .fmoment__subtitle { font-size: 16px; }
  .fmoment__grid { grid-template-columns: 1fr; gap: 32px; }
  .fmoment__img-wrap { height: 220px; }
  .fmoment__name { font-size: 17px; }
}

/* ===== SECTION TÉMOIGNAGES ===== */

.temoignages {
  width: 100%;
  background: #ffffff;
  padding: 80px 0;
}

.temoignages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header */
.temoignages__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temoignages__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
}

.temoignages__link {
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #27289D;
  text-decoration-thickness: 11%;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* Carousel */
.temoignages__carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.temoignages__carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

/* Card */
.temoignages__card {
  display: flex;
  flex-shrink: 0;
  width: 483px;
  padding: 24px 32px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #D9D9D9;
  box-sizing: border-box;
}

/* Icône guillemet */
.temoignages__icon {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 6px 3px;
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-template-columns: repeat(1, minmax(0, 1fr));
  box-sizing: border-box;
}

.temoignages__icon svg {
  width: 100%;
  height: 100%;
}

/* Texte */
.temoignages__text {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.temoignages__author {
  color: #6B7284;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* Bouton next */
.temoignages__controls {
  display: flex;
  justify-content: flex-end;
}

.temoignages__next {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F5FAFF;
  box-shadow: 0 4px 4px -1px rgba(37, 35, 56, 0.40);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.temoignages__next:hover {
  background: #e8eaf0;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .temoignages__container { padding: 0 24px; }
  .temoignages__card { width: 380px; }
}

@media (max-width: 768px) {
  .temoignages { padding: 48px 0; }
  .temoignages__container { padding: 0 16px; gap: 24px; }
  .temoignages__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .temoignages__card { width: calc(100vw - 48px); padding: 20px; }
  .temoignages__text { font-size: 16px; }
  .temoignages__link { font-size: 15px; }
}

/* ===== SECTION NOS CAMPUS & REPRÉSENTANTS ===== */

.campusmonde {
  width: 100%;
  background: #ffffff;
  padding: 80px 0;
}

.campusmonde__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* Gauche */
.campusmonde__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}

.campusmonde__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
}

.campusmonde__title--blue {
  color: #0086F5;
}

/* Liste des campus */
.campusmonde__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.campusmonde__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campusmonde__city {
  color: #0A090B;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  margin: 0 0 4px 0;
}

.campusmonde__info {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

/* Droite : image */
.campusmonde__right {
  flex-shrink: 0;
  position: relative;
  right: 330px;
  z-index: 0;
}

.campusmonde__img {
  width: 984px;
  height: 888px;
  aspect-ratio: 41/37;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.campusmonde__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .campusmonde__container { gap: 40px; padding: 0 24px; }
  .campusmonde__title { font-size: 28px; }
  .campusmonde__img { width: 380px; }
}

@media (max-width: 768px) {
  .campusmonde { padding: 48px 0; }

.campusmonde__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

  .campusmonde__title { font-size: 24px; }
  .campusmonde__city { font-size: 18px; }
  .campusmonde__info { font-size: 14px; }

  .campusmonde__right { width: 100%; }
  .campusmonde__img { width: 100%; }
}

/* ===== SECTION PARTENAIRES ===== */

.partenaires {
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}

.partenaires__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Texte */
.partenaires__text-wrap {
  flex-shrink: 0;
  max-width: 300px;
  padding-right: 32px;
}

.partenaires__text {
  color: rgba(37, 35, 56, 0.70);
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
}

/* Séparateur vertical */
.partenaires__sep {
  width: 1px;
  height: 80px;
  background: #D9D9D9;
  flex-shrink: 0;
  margin-right: 32px;
}

/* Icones défilantes */
.partenaires__icons-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.partenaires__icons {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: scrollIcons 18s linear infinite;
  width: max-content;
}

.partenaires__icons svg {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
}

@keyframes scrollIcons {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partenaires__icons:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .partenaires { padding: 32px 0; }
  .partenaires__container { padding: 0 16px; gap: 0; }
  .partenaires__text-wrap { max-width: 130px; padding-right: 16px; }
  .partenaires__text { font-size: 16px; }
  .partenaires__sep { margin-right: 16px; height: 60px; }
  .partenaires__icons svg { width: 48px; height: 48px; }
  .partenaires__icons { gap: 20px; }
}

/* ===== SECTION CONTACT RAPIDE ===== */

.contact {
  width: 100%;
  background: #F5FAFF;
  padding: 80px 0;
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 120px;
}

/* Gauche */
.contact__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__title {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
}

.contact__text {
  color: #000;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.btn-contact {
  display: inline-flex;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid #27289D;
  background: transparent;
  color: #27289D;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-contact:hover {
  background: #27289D;
  color: #F5FAFF;
  transform: translateY(-2px);
}

/* Droite */
.contact__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info {
  color: #252338;
  font-family: 'Avenir', 'Avenir Next', sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-decoration-color: #252338;
}

.contact__info--plain {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact__container { gap: 60px; padding: 0 24px; }
  .contact__title { font-size: 28px; }
}

@media (max-width: 768px) {
  .contact { padding: 48px 0; }

  .contact__container {
    flex-direction: column;
    padding: 0 16px;
    gap: 40px;
    align-items: flex-start;
  }

  .contact__title { font-size: 24px; }
  .contact__text { font-size: 16px; }

  .btn-contact {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .contact__info { font-size: 16px; }
}