  .banner-accueil {
    position:relative;
    background-image: url("images/background-accueil.jpg");
    overflow:hidden;
    padding: 52px 20px;
    margin-bottom: 12px;
  }
  .banner-accueil::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
  }

  .banner-accueil p {
    color:white;
  }

  .banner-accueil .cta-cours:hover {
    transform: translateY(-2px);
  }

/* Corps de texte unifié page index — même base que .learn-body-text (management) */
body.page-index {
  --cours-body-font: "Montserrat", sans-serif;
  --cours-body-size: clamp(0.92rem, 1.15vw, 1rem);
  --cours-body-weight: 400;
  --cours-body-leading: 1.55;
  --cours-body-color: #4a5568;
}

body.page-index main p,
body.page-index .audience-subtitle,
body.page-index .audience-roadmap-item-text,
body.page-index .motivations-list li > span:not(.motivation-badge),
body.page-index .approche-subtitle,
body.page-index .audience-featured-copy p,
body.page-index .audience-card p,
body.page-index .cours-contact-description,
body.page-index .motivations-goodnews,
body.page-index .audience-roadmap-highlight {
  font-family: var(--cours-body-font);
  font-size: var(--cours-body-size);
  font-weight: var(--cours-body-weight);
  line-height: var(--cours-body-leading);
  color: var(--cours-body-color);
}

/* Titres / labels exclus : ne pas écraser h1–h3 ni les libellés de section */
body.page-index .approche-flow-title {
  font-family: "Montserrat", sans-serif;
}

/* Bannière hero : conserve sa typo claire sur fond sombre */
body.page-index .banner-accueil p {
  color: white;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.45;
  font-weight: 400;
}

@media (max-width: 900px) {
  body.page-index .banner-accueil p {
    font-size: 0.9rem;
  }
}

/* Accents des encarts : même police/taille, couleur d’accent conservée */
body.page-index .motivations-goodnews,
body.page-index .audience-roadmap-highlight {
  color: #34527c;
  font-weight: 600;
}

/* Sous-titres (small) des listes : un peu plus petits que le corps */
body.page-index .audience-roadmap-item-text small,
body.page-index .motivations-list li > span:not(.motivation-badge) small {
  font-family: var(--cours-body-font);
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  font-weight: var(--cours-body-weight);
  line-height: 1.45;
  color: #5f6670;
}

  @media (max-width: 900px) {
    .banner-accueil {
      padding: 28px 20px 32px;
      margin-bottom: 10px;
    }
  }

  .intro-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;

    color: white  !important;
  }

  .photo-profil {
    border-radius: 50%;
    width: 200px;
    height: 200px;
  }

/* ========================= */
/* ===== ACCUEIL (INDEX) ==== */
/* ========================= */

/* Blocs titre + contenu (page d’accueil) */
.texte-accueil .bloc-contenu {
  background: rgba(153, 173, 224, 0.12);
  border: 1px solid rgba(121, 145, 174, 0.42);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 28px;
}

.texte-accueil .bloc-contenu h2 {
  margin-top: 0;
}

.texte-accueil .bloc-contenu > p:last-of-type {
  margin-bottom: 12px;
}

.texte-accueil .bloc-contenu {
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== MON APPROCHE ===== */

.texte-approche.bloc-contenu {
  background: transparent;
  border: none;
  box-shadow: none;
}

.texte-approche .approche-content-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.texte-approche .approche-learning-image {
  width: min(300px, 38%);
  height: clamp(300px, 36vw, 390px);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 14px;
  clip-path: inset(4% 0 4% 0 round 14px);
}

.texte-approche .approche-text {
  flex: 1;
}

body.page-index .texte-approche .approche-text,
body.page-index .texte-approche .approche-flow-wrap,
body.page-index .texte-approche .approche-flow {
  min-width: 0;
}

body.page-index .texte-approche .approche-flow {
  gap: 8px;
  align-items: stretch;
}

.texte-approche .approche-intro {
  margin-bottom: 12px;
  text-align: justify;
}

.texte-approche .approche-subtitle {
  margin-top: 4px;
  margin-bottom: 16px;
  text-align: justify;
}

.texte-approche .approche-flow-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-top: 6px;
  max-width: 100%;
}

.texte-approche .approche-flow-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #243347;
  text-align: center;
}

.texte-approche .approche-flow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  position: relative;
  --approche-dot-size: 50px;
  --approche-line-y: calc(var(--approche-dot-size) / 2);
  --approche-flow-gap: 16px;
  --approche-line-gap: 8px;
}

.texte-approche .approche-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 2px 2px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.texte-approche .approche-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: var(--approche-line-y);
  left: calc(50% + (var(--approche-dot-size) / 2) + var(--approche-line-gap));
  width: calc(
    100% + var(--approche-flow-gap) - var(--approche-dot-size) - (2 * var(--approche-line-gap))
  );
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #9eb4d4;
  z-index: 0;
  pointer-events: none;
}

.texte-approche .approche-step-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.texte-approche .approche-step-icon-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9eef9;
  color: #34527c;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

body.page-index .texte-approche .approche-step {
  align-items: stretch;
}

body.page-index .texte-approche .approche-step-icon-number {
  align-self: center;
  margin-bottom: 0;
  z-index: 2;
}

body.page-index .texte-approche .approche-step:not(:last-child)::after {
  display: none;
}

body.page-index .texte-approche .approche-step-card {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 0;
  margin-top: calc(var(--approche-dot-size, 50px) / -2);
  background: #fefdfb;
  border: 1px solid rgba(52, 82, 124, 0.18);
  border-radius: 12px;
  padding: calc(var(--approche-dot-size, 50px) / 2 + 0.4rem) 0.5rem 0.85rem;
  box-shadow: 0 8px 22px rgba(26, 43, 72, 0.06);
}

.texte-approche .approche-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  text-align: center;
}

.texte-approche .approche-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e9eef9;
  color: #34527c;
  /* background: #c7a878; */
  /* color: #fff; */
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}

.texte-approche .approche-step h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.2;
  color: #243347;
  text-align: center;
}

.texte-approche .approche-step p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: #4a5568;
  text-align: center;
  width: 100%;
}

.texte-approche .approche-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.texte-approche .approche-bullets li {
  position: relative;
  padding-left: 20px;
  text-align: justify;
}

.texte-approche .approche-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6888b1;
  font-weight: 800;
}

/* ===== À QUI S’ADRESSENT LES COURS ===== */

.texte-accueil .audience-block {
  background: transparent;
  border: none;
  border-radius: 18px;
  box-shadow: none;
}

.texte-accueil .audience-block.bloc-contenu {
  padding-left: 0;
  padding-right: 0;
}

.audience-block h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.audience-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.audience-block .motivations-head h2,
.audience-block .audience-categories-title {
  text-align: left;
  font-size: 1.55rem;
  margin: 14px 0 8px;
}

.audience-block .audience-subtitle {
  text-align: left;
  margin: 0 0 8px;
}

.texte-approche > h2,
.texte-methode > h2,
.audience-roadmap-title {
  text-align: left;
  font-size: 1.55rem;
  margin: 14px 0 8px;
}

.audience-block h2.audience-roadmap-title {
  text-align: left;
  font-size: 1.55rem;
  margin: 14px 0 8px;
}

.audience-cards {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0 4px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px);
  align-items: stretch;
  width: 100%;
}

.audience-card {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.audience-card-featured {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  padding: 0;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  align-items: stretch;
  justify-content: flex-end;
  box-shadow: 0 14px 30px rgba(36, 51, 71, 0.12);
}

.audience-featured-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-featured-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 7px 8px;
  padding: 8px 10px 8px 9px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(36, 51, 71, 0.08);
  text-align: left;
  min-height: 64px;
}

.audience-featured-panel-second {
  min-height: 68px;
}

.audience-featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #F6E7B2;
  color: #3d4a5d;
  flex: 0 0 42px;
}

.audience-featured-icon-level {
  background: #DDEFE0;
}

.audience-featured-icon-adults {
  background: #E6DDF5;
}

.audience-featured-icon-students {
  background: #D9E7F7;
}

.audience-featured-icon svg {
  width: 26px;
  height: 26px;
}

.audience-featured-copy {
  min-width: 0;
}

.audience-featured-copy h3 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audience-featured-copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.22;
  color: #3f4650;
}

.audience-card-title {
  color: #7991ae;
}

.audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 0 16px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.audience-icon svg {
  display: block;
}

.audience-card h3 {
  margin: 0 0 10px;
  font-size: 1.08em;
  line-height: 1.25;
  color: #243347;
}

.audience-card p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.45;
}

.audience-text-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 30px);
  margin: 8px 0 18px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.audience-objectifs-image {
  width: min(500px, 46%);
  flex: 0 1 46%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  transform: none;
  border-radius: 38px;
  clip-path: inset(0 4% 0 4% round 38px);
}

.audience-text {
  padding: 0;
  width: 100%;
  flex: 1;
}

.audience-text .audience-intro {
  font-size: 1.2em;
  line-height: 1.35;
  margin-top: 0;
  color: #2f435d;
  font-weight: 600;
}

.motivations-goodnews {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: #e9eef9;
  color: #34527c;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.2;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}

.audience-text p,
.audience-text li {
  font-size: 0.98em;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.audience-list li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6888b1;
  font-weight: bold;
}

.audience-highlight {
  margin-top: 6px;
  font-weight: 475;
  color: #2f435d;
}

.audience-highlight::before {
  /* content: "➜ "; */
  color: #6888b1;
  font-weight: 800;
}

/* .audience-roadmap-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(122, 146, 176, 0.16);
  border-radius: 12px;
  padding: clamp(10px, 1.2vw, 14px);
  box-shadow: 0 10px 20px rgba(36, 51, 71, 0.05);
  flex: 0 1 50%;
  max-width: 540px;
} */

.audience-roadmap-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #edf2fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex: 0 0 52px;
}

.audience-roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-roadmap-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
}

.audience-roadmap-list li::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(118, 139, 165, 0.14);
}

.audience-roadmap-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #edf2fb;
  color: #6888b1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex: 0 0 40px;
}

.audience-roadmap-item-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.audience-roadmap-item-text {
  /* Aligné sur .learn-body-text (voir body.page-index) */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #4a5568;
}

.audience-roadmap-item-text small {
  display: block;
  margin-top: 1px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: #5f6670;
}

.audience-roadmap-highlight {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #e9eef9;
  color: #34527c;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 600;
}

.audience-roadmap-highlight-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.6px solid rgba(52, 82, 124, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  flex: 0 0 20px;
}

/* ===== MA MÉTHODE ===== */

.texte-methode.bloc-contenu {
  background: transparent;
  border: none;
  box-shadow: none;
}

.texte-methode .methode-intro {
  margin-top: 4px;
  margin-bottom: 18px;
}

.texte-methode .methode-flow {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}

.texte-methode .methode-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 12px 10px;
  background: #f5f7fc;
  border: 1px solid rgba(149, 164, 184, 0.28);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(121, 145, 174, 0.08);
}

.texte-methode .methode-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.texte-methode .methode-step-head h3 {
  margin: 0;
}

.texte-methode .methode-step-icon {
  display: none;
}

.texte-methode .methode-step h3 {
  margin: 0;
  font-size: 0.98em;
  line-height: 1.2;
  color: #243347;
}

.texte-methode .methode-step p {
  margin: 0;
  font-size: 0.92em;
}

.texte-methode .methode-arrow {
  flex: 0 0 auto;
  align-self: center;
  color: rgba(104, 136, 177, 0.9);
  font-weight: 800;
  font-size: 1.05rem;
}

.texte-methode .methode-list-wrap {
  margin-top: 16px;
}

.texte-methode .methode-list-title {
  font-weight: 600;
  margin: 0 0 8px;
}

.texte-methode .methode-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.texte-methode .methode-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.texte-methode .methode-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6888b1;
  font-weight: 800;
}

/* Responsive accueil */
@media (max-width: 768px) {
  .texte-accueil .audience-block.bloc-contenu {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 8px;
  }

  .texte-approche.bloc-contenu {
    margin-top: 0;
    padding-top: 4px;
  }

  .texte-approche > h2 {
    margin-top: 0;
  }

  .texte-approche .approche-content-row {
    flex-direction: column;
    gap: 14px;
  }

  .texte-approche .approche-learning-image {
    width: min(320px, 100%);
    align-self: center;
  }

  .texte-approche .approche-flow-wrap {
    margin-top: 4px;
  }

  .texte-approche .approche-flow-title {
    font-size: 1.02rem;
  }

  .texte-approche .approche-flow {
    flex-wrap: wrap;
    gap: 16px;
  }

  .texte-approche .approche-step:not(:last-child)::after {
    display: none;
  }

  .texte-approche .approche-step {
    flex: 1 1 calc(50% - 10px);
  }

  .audience-text-row {
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 12px;
  }

  .audience-block h2.audience-roadmap-title,
  .audience-roadmap-title {
    margin-top: 0;
  }

  .audience-objectifs-image {
    width: min(360px, 82%);
    border-radius: 28px;
    align-self: center;
  }

  .audience-roadmap-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.05rem;
    flex-basis: 42px;
  }

  .audience-roadmap-highlight {
    font-size: 0.9rem;
  }

  .audience-roadmap-card {
    border-radius: 14px;
    padding: 4px 12px 12px;
  }

  .audience-roadmap-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
    flex-basis: 44px;
  }

  .texte-methode .methode-flow {
    flex-wrap: wrap;
  }

  .texte-methode .methode-arrow {
    display: none;
  }

  .audience-block h2 {
    font-size: 1.8rem;
  }

  .audience-block .motivations-head h2,
  .audience-block .audience-categories-title,
  .texte-approche > h2,
  .texte-methode > h2,
  .audience-block h2.audience-roadmap-title {
    font-size: 1.4rem;
  }

  .audience-cards {
    gap: 12px;
  }

  .audience-card {
    max-width: 100%;
  }

  .audience-featured-panel {
    gap: 10px;
    padding: 10px 12px 10px 10px;
  }

  .audience-featured-copy h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 520px) {
  .texte-approche .approche-flow {
    flex-wrap: wrap;
    gap: 10px;
  }

  .texte-approche .approche-step {
    flex: 1 1 100%;
  }
}

@media (max-width: 900px) {
  .audience-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .audience-cards {
    grid-template-columns: 1fr;
  }

  .audience-card {
    max-width: 100%;
  }

  .audience-card-featured {
    min-height: 220px;
  }

  .audience-featured-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

/* ===== POURQUOI SUIVRE CES COURS ===== */

.motivations.bloc-contenu {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.motivations-head {
  max-width: none;
  margin-top: 24px;
  margin-bottom: 0;
}

.motivations-subtitle,
.motivations-intro {
  text-align: left;
  margin: 0 0 2px;
}

.motivations-content-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.motivations-list-wrap {
  flex: 1;
  margin-top: 0;
  order: 2;
  width: fit-content;
  max-width: 100%;
}

.motivations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.motivations-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: justify;
  position: relative;
  padding: 0px 0 0px;
}

.motivations-list li > span:not(.motivation-badge) {
  /* Aligné sur .learn-body-text (voir body.page-index) */
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #4a5568;
  padding-top: 2px;
}

.motivations-list li > span:not(.motivation-badge) small {
  display: block;
  margin-top: 1px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  font-weight: 400;
  line-height: 1.45;
  color: #5f6670;
}

.motivations-list li::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: rgba(118, 139, 165, 0.14);
}

.motivation-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf2fb;
  color: #6888b1;
  font-size: 1rem;
  line-height: 1;
  box-sizing: border-box;
}

.motivation-badge svg {
  width: 19px;
  height: 19px;
  display: block;
}

.motivations-learning-image {
  width: min(335px, 42%);
  height: clamp(335px, 40vw, 425px);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 14px;
  clip-path: inset(4% 0 4% 0 round 14px);
  order: 1;
}

.motivations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.motivation-card {
  background: #f5f7fc;
  border: 1px solid rgba(149, 164, 184, 0.28);
  border-radius: 12px;
  padding: 10px 10px 8px;
}

.motivation-card-head {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.motivation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  background: rgba(153, 173, 224, 0.18);
  border: 1px solid rgba(121, 145, 174, 0.35);
  border-radius: 50%;
  flex: 0 0 30px;
}

.motivation-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
  color: #243347;
}

.motivation-card p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.4;
}

.motivation-cta {
  margin-top: 5px;
}

body.page-index .texte-approche .approche-online-note {
  margin: 0.35rem 0 0;
  text-align: center;
}

.motivations-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1rem 0 0;
}

.motivations-cta-wrap .motivations-cta.cta-cours {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .motivations-head {
    margin-top: 8px;
  }

  .audience-block .motivations-head h2 {
    margin-top: 0;
  }

  .motivations-content-row {
    flex-direction: column;
    align-items: stretch;
  }

  .motivations-list li {
    text-align: left;
  }

  .motivations-list li > span:not(.motivation-badge) {
    text-align: left;
  }

  .motivations-learning-image {
    display: none;
  }

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

  .motivations-cta-wrap {
    margin: 0.85rem 0 0;
  }

  .motivations-cta-wrap .motivations-cta.cta-cours {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
  }
}

@media (max-width: 560px) {
  .motivations-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BANNIERE CONTACT (fin de main) ===== */
.cours-contact:not(.cours-contact-hotel-banner) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.5rem 1.5rem;
  background: #e9eef9;
  /* background: #f9eddb; */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(21, 27, 38, 0.08);
}

.cours-contact-texte {
  --cours-contact-icon-offset: calc(30px + 0.5rem);
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.cours-contact-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
  color: #323131;
  margin: 0 0 0.1rem;
}

.cours-contact-description {
  margin: 0 0 0 var(--cours-contact-icon-offset);
}

.cours-contact-title-icon {
  flex-shrink: 0;
  position: relative;
  top: 0.55rem;
}

.cours-contact-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #7991ae;
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.cours-contact-btn:hover {
  background: #5c789c;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .cours-contact:not(.cours-contact-hotel-banner) {
    flex-direction: column;
    text-align: center;
  }

  .cours-contact:not(.cours-contact-hotel-banner) .cours-contact-texte {
    text-align: center;
  }

  .cours-contact:not(.cours-contact-hotel-banner) .cours-contact-title {
    justify-content: center;
  }

  .cours-contact:not(.cours-contact-hotel-banner) .cours-contact-description {
    margin-left: 0;
  }
}
