@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 1.6; color: #000; background: #fff; }
/* Pages th/ (lang="th") : Sarabun sur tout le site (priorité sur les règles Roboto par page) */
html[lang="th"] body,
html[lang="th"] body * {
  font-family: 'Sarabun', sans-serif !important;
}
button, input, textarea, select { font: inherit; }
body.page-admission .hero-banner-split--admission .hero-banner-split__title {
  font-size: 60px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
}
body.page-admission .section-title {
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
}
body.page-admission .section-title.section-title--large {
  font-size: 32px;
}
/* Bloc TARIFS : même écart titre → accroche → colonnes */
body.page-admission .content-section--white:has(.tarifs-layout) > .section-title.section-title--large {
  margin-bottom: 24px;
}
body.page-admission .content-section--white:has(.tarifs-layout) > p.text-body.text-center:first-of-type {
  margin-bottom: 32px;
  font-weight: 700;
  color: #7d796d;
}
body.page-admission .hero-banner-split--admission .banner-list li,
body.page-admission .text-body,
body.page-admission .text-link,
body.page-admission .pricing-card__unit,
body.page-admission .pricing-card__detail,
body.page-admission .tarifs-layout__notes p {
  font-size: 16px;
}
body.page-admission .admission-asterisk {
  font-size: 14px;
}
body.page-admission .admission-asterisk-legal {
  font-style: italic;
}
/* Tarifs : ≥1271px → 3×2 ; 901–1270 → 2×3 ; ≤900 → 1×6 (centré) — cartes 300×370 px */
body.page-admission .tarifs-layout__cards {
  min-width: 0;
}
body.page-admission .tarifs-layout__cards .pricing-grid {
  margin: 20px 0;
}
body.page-admission .pricing-grid .staff-card.admission-tarif-card {
  box-sizing: border-box;
  text-align: center;
  margin: 0;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 370px;
  min-height: 370px;
  max-height: 370px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}
body.page-admission .pricing-grid .staff-card.admission-tarif-card .staff-card__role--plain {
  color: #000;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 8px;
  margin-bottom: clamp(22px, 3.2vmin, 36px);
}
body.page-admission .admission-tarif-card .pricing-card__price {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: clamp(8px, 1.4vmin, 16px);
  color: #7d796d;
}
body.page-admission .admission-tarif-card .pricing-card__unit {
  color: #7d796d;
  /* Même écart qu’entre le titre de carte (Maternelle, etc.) et le prix */
  margin-bottom: clamp(22px, 3.2vmin, 36px);
}
body.page-admission .admission-tarif-card .pricing-card__detail {
  margin-bottom: 6px;
}
body.page-admission .admission-tarif-card .pricing-card__detail:last-child {
  margin-bottom: 0;
}
@media (min-width: 1601px) {
  /* 3 × 300px + 2 × 20px gap = 940px — deux rangées de trois cartes */
  body.page-admission .tarifs-layout__cards {
    flex: 0 0 auto;
    width: min(100%, 940px);
    max-width: 100%;
  }
  body.page-admission .tarifs-layout__cards .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: start;
    gap: 20px;
  }
}
@media (max-width: 1600px) and (min-width: 901px) {
  /* Trois rangées de deux cartes */
  body.page-admission .tarifs-layout__cards {
    flex: 0 0 auto;
    width: min(100%, 620px);
    max-width: 100%;
  }
  body.page-admission .tarifs-layout__cards .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    justify-content: start;
    gap: 20px;
  }
}
body.page-admission .admission-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4.5vw, 60px);
  margin-top: clamp(20px, 2.5vw, 32px);
}
body.page-admission .admission-logos-row__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
body.page-admission .admission-logos-row__img--ministere {
  max-height: clamp(108px, 21vw, 180px);
}
body.page-admission .admission-logos-row__img--aefe {
  max-height: clamp(96px, 18vw, 150px);
}

/* Admission: forcer la version mobile dès 1200px */
@media (max-width: 1200px) {
  body.page-admission .content-section {
    padding: 24px 45px;
  }

  body.page-admission .two-col {
    flex-direction: column;
    gap: 20px;
  }

  body.page-admission .hero-banner-split--admission {
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  body.page-admission .hero-banner-split--admission .hero-banner-split__img {
    flex: none;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
  }

  body.page-admission .hero-banner-split--admission .hero-banner-split__img img {
    width: auto;
    height: auto;
    max-width: 71.875%;
    max-height: 71.875%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateY(-24px) scale(1.1);
    transform-origin: center bottom;
  }

  body.page-admission .hero-banner-split--admission .hero-banner-split__text {
    flex: none;
    width: 100%;
    padding: 10px 32px 22px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  body.page-admission .hero-banner-split--admission .hero-banner-split__title {
    text-align: center;
    margin-bottom: 10px;
  }

  body.page-admission .hero-banner-split--admission .banner-list {
    text-align: left;
    width: fit-content;
  }

  body.page-admission .tarifs-layout {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-admission .tarifs-layout__cards {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  body.page-admission .tarifs-layout__cards .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    margin: 20px auto;
    width: 100%;
    max-width: 300px;
  }

  body.page-admission .tarifs-layout__notes {
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===== PAGE SERVICES : Roboto 16px ; seul le h1 « Services » en 60px / 700 ===== */
body.page-services { font-size: 16px; }
body.page-services .section-title,
body.page-services .text-body,
body.page-services .service-card__title,
body.page-services .service-card__text,
body.page-services .banner-list,
body.page-services .banner-list li,
body.page-services .text-link {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
}
body.page-services .service-card__text {
  line-height: 1.6;
}
body.page-services .text-body.text-bold,
body.page-services .text-body strong {
  font-weight: 700;
}
body.page-services .section-title--services-bourses {
  font-size: 32px;
  font-weight: 700;
}
body.page-services .section-title--services-cards {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 16px);
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  text-align: left;
  line-height: 1.2;
  margin: 0 0 clamp(16px, 2vw, 24px);
  flex-wrap: nowrap;
}
body.page-services .section-title--services-cards::after {
  content: '';
  flex: 1 1 0%;
  min-width: 0;
  height: 1px;
  background-color: #7d796d;
  align-self: center;
}
body.page-services .text-link--services-strong {
  font-weight: 700;
}
body.page-services .services-bourses-card {
  width: min(100%, 340px);
  margin-left: auto;
  margin-right: auto;
}
body.page-services .services-bourses-side {
  text-align: center;
}
body.page-services .services-bourses-ambassade-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  height: auto;
}
body.page-services .services-bourses-aefe-logo {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: auto;
}
body.page-services .services-bourses-card .staff-card__name .staff-card__icon,
body.page-services .services-bourses-card .staff-card__email .staff-card__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 0; /* évite que le texte influence le sizing */
}
body.page-services .services-bourses-card .staff-card__name .staff-card__icon svg,
body.page-services .services-bourses-card .staff-card__email .staff-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
/* Texte sur une seule ligne (avec ellipsis si nécessaire) */
body.page-services .services-bourses-card .staff-card__name,
body.page-services .services-bourses-card .staff-card__email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}

/* Email : autoriser 2 lignes (quelque soit la taille écran) */
body.page-services .services-bourses-card .staff-card__email {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}
body.page-services .services-bourses-card .staff-card__email .staff-card__link {
  display: inline;
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: baseline;
}
body.page-services .hero-banner-split--services .hero-banner-split__text,
body.page-services .hero-banner-split--services .banner-list,
body.page-services .hero-banner-split--services .banner-list li {
  font-size: 16px;
  font-weight: 400;
}
body.page-services .hero-banner-split--services .hero-banner-split__title {
  font-size: 60px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; }

/* ===== PAGE WRAPPER ===== */
.page-wrapper { width: 100%; max-width: none; margin: 0 auto; background: #efefef; }

/* ===== HEADER ===== */
:root {
  --header-rhythm: 16px; /* espacement header (logo / menu) */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-26: 26px;
  --fs-36: 36px;
  --fs-48: 48px;
  --fs-60: 60px;
  --lh-body: 1.6;
}
.site-header {
  background: #efefef;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--header-rhythm) * 1.5) 63px;
  gap: var(--header-rhythm);
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 120px; width: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: var(--header-rhythm); flex: 1; min-width: 0; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; width: 100%; }
@media (min-width: 901px) {
  .site-nav {
    margin-top: 52px;
  }
}

/* Toutes pages (≥1148px) : langue sur la ligne du menu, centrée avec les liens */
@media (min-width: 1148px) {
  .header-right {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--header-rhythm);
  }
  .lang-switcher {
    order: 2;
    align-self: center;
  }
  .site-nav {
    order: 1;
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
}

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; justify-content: flex-end; }
.site-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  padding: 6px 10px;
  white-space: nowrap;
  text-decoration: none;
  color: #000;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: #20c0cf; }
.site-nav a.active { font-weight: 700; color: #000; }
.site-nav a.active:hover { color: #20c0cf; }

/* Navigation : bascule burger dès 1147px */
@media (max-width: 1147px) {
  .header-right { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 14px; }
  .lang-switcher { align-self: center; }
  .nav-burger { display: flex; }
  .site-nav {
    margin-top: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 88px 30px 24px;
    background: #efefef;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 210;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    align-items: stretch;
    justify-content: flex-start;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    white-space: normal;
  }
  .header-logo img { height: 72px; }
  body.nav-open .nav-overlay { display: block; }
}

/* Menu burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
  z-index: 210;
  align-self: flex-end;
}
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.24);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.lang-switcher__btn:hover {
  border-color: rgba(0,0,0,0.38);
  background: rgba(255,255,255,0.45);
}
.lang-switcher__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
}
.lang-switcher__arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.lang-switcher.is-open .lang-switcher__arrow { transform: rotate(180deg); }
.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
  backdrop-filter: blur(4px);
  padding: 4px 0;
  list-style: none;
  margin: 0;
}
.lang-switcher.is-open .lang-switcher__menu { display: block; }
.lang-switcher__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.15s;
}
.lang-switcher__link:hover { background: #f5f5f5; }
.lang-switcher__link--active { font-weight: 700; }
.lang-switcher__link .lang-switcher__flag {
  width: 20px;
  height: 14px;
}

/* ===== HERO BANNER ===== */
.hero-banner { position: relative; width: 100%; overflow: hidden; height: 300px; }
.hero-banner img.hero-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.hero-banner--short { height: 220px; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; background: rgba(0,0,0,0.25); }
.hero-overlay--right { justify-content: flex-end; padding-right: 90px; background: none; }
.hero-title { font-size: var(--fs-48); font-weight: 700; font-style: italic; color: #fff; }
.hero-title--dark { color: #000; font-style: normal; }
.hero-banner-split { display: flex; height: 220px; overflow: hidden; }
.hero-banner-split__img { width: 50%; overflow: hidden; position: relative; }
.hero-banner-split__img img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner-split__text { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 20px 90px; background: #efefef; }
.hero-banner-split__title { font-size: var(--fs-36); font-weight: 700; font-style: italic; margin-bottom: 10px; }

/* Scolarité · Admission · Contacts · Services — modèle Services : bandeau 570px, 2/3 image · 1/3 texte, visuel 71,875 % centré */
.hero-banner-split--scolarite,
.hero-banner-split--admission,
.hero-banner-split--contacts,
.hero-banner-split--services {
  height: 570px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(to right, #d5cebc, #ededed);
  position: relative;
  overflow: hidden;
}

.hero-banner-split--scolarite .hero-banner-split__img,
.hero-banner-split--admission .hero-banner-split__img,
.hero-banner-split--contacts .hero-banner-split__img,
.hero-banner-split--services .hero-banner-split__img {
  flex: 2 0 0%;
  width: auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.hero-banner-split--scolarite .hero-banner-split__img img,
.hero-banner-split--admission .hero-banner-split__img img,
.hero-banner-split--contacts .hero-banner-split__img img,
.hero-banner-split--services .hero-banner-split__img img {
  position: static;
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  max-width: 71.875%;
  max-height: 71.875%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  transform-origin: initial;
  z-index: 1;
  pointer-events: auto;
}

/* Scolarité : livre agrandi via scale() (base 1,5 × +20 % = 1,8) */
.hero-banner-split--scolarite .hero-banner-split__img img {
  transform: scale(1.8);
  transform-origin: center center;
}

/* Admission : bandeau Scrabble +10 % (desktop seul — le mobile combine translate + scale dans le media ≤1200px) */
@media (min-width: 1201px) {
  body.page-admission .hero-banner-split--admission .hero-banner-split__img img {
    transform: scale(1.1);
    transform-origin: center center;
  }
}

/* Français intensif : bandeau +30 % (≥1280px — en dessous le media ≤1279px pilote l’image) */
@media (min-width: 1280px) {
  body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__img img {
    transform: scale(1.3);
    transform-origin: center center;
  }
}

.hero-banner-split--scolarite .hero-banner-split__text,
.hero-banner-split--admission .hero-banner-split__text,
.hero-banner-split--contacts .hero-banner-split__text,
.hero-banner-split--services .hero-banner-split__text {
  flex: 1 0 0%;
  width: auto;
  min-width: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  padding: 32px 48px;
  justify-content: center;
  align-items: flex-start;
}

.hero-banner-split--scolarite .hero-banner-split__title,
.hero-banner-split--admission .hero-banner-split__title,
.hero-banner-split--contacts .hero-banner-split__title,
.hero-banner-split--services .hero-banner-split__title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 3.2vw, 48px);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  margin-bottom: 12px;
  margin-left: 0;
}

.hero-banner-split--scolarite .banner-list {
  margin-left: 0;
}
/* Contacts : colonne titre plus large (50/50) + titre 60px une ligne, bloc calé à gauche */
body.page-contact .hero-banner-split--contacts .hero-banner-split__img {
  flex: 1 0 0%;
}
body.page-contact .hero-banner-split--contacts .hero-banner-split__text {
  flex: 1 0 0%;
  padding-left: 8px;
  padding-right: 16px;
  justify-content: center;
  align-items: flex-start;
}
body.page-contact .hero-banner-split--contacts .hero-banner-split__title {
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  max-width: 100%;
}
body.page-contact .staff-grid .staff-card__role {
  font-size: 15px;
}
body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__title {
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  font-weight: 700;
  font-style: normal;
}

body.page-francais-intensif .content-section--white > .section-title.section-title--large {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
}
body.page-francais-intensif .content-section--white > .section-title:not(.section-title--large) {
  font-size: 28px;
}

body.page-francais-intensif .fle-bridge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
body.page-francais-intensif .fle-bridge-col {
  min-width: 0;
}
body.page-francais-intensif .fle-bridge-col--side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
body.page-francais-intensif .fle-bridge-col--middle {
  display: flex;
  flex-direction: column;
}
body.page-francais-intensif .fle-bridge-photo {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
body.page-francais-intensif .fle-bridge-photo--middle {
  margin-top: 14px;
  min-height: 260px;
}
@media (max-width: 1180px) {
  body.page-contact .hero-banner-split--contacts .hero-banner-split__title {
    font-size: clamp(32px, 4.5vw, 60px);
  }
}
@media (min-width: 1177px) and (max-width: 1313px) {
  body.page-contact .hero-banner-split--contacts .hero-banner-split__text {
    padding-left: 4px;
    padding-right: 8px;
  }
  body.page-contact .hero-banner-split--contacts .hero-banner-split__title {
    font-size: 48px;
  }
}
/* ===== PAGE FRANÇAIS INTENSIF — Tableau parcours FLE (infographie PNG) ===== */
body.page-francais-intensif .fle-tableau-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px auto 12px;
  text-align: center;
  line-height: 0;
}
body.page-francais-intensif .fle-tableau-img {
  width: 100%;
  max-width: 1353px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Page Français Intensif : mobile à partir de 1279px */
@media (max-width: 1279px) {
  body.page-francais-intensif .hero-banner-split--contacts {
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__img {
    flex: none;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
  }
  body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__img img {
    width: auto;
    height: auto;
    max-width: 71.875%;
    max-height: 71.875%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.3);
    transform-origin: center bottom;
  }
  body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__text {
    flex: none;
    width: 100%;
    padding: 10px 32px 22px;
    align-items: center;
    text-align: left;
  }
  body.page-francais-intensif .hero-banner-split--contacts .hero-banner-split__title {
    font-size: clamp(2rem, 5vw, 60px);
    text-align: center;
  }
  body.page-francais-intensif .fle-bridge-layout {
    grid-template-columns: 1fr;
  }
  body.page-francais-intensif .fle-bridge-col--side {
    grid-template-rows: auto;
  }
  body.page-francais-intensif .fle-bridge-photo,
  body.page-francais-intensif .fle-bridge-photo--middle {
    min-height: 220px;
  }
}

.scolarite-inscriptions-title {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  margin: 0;
  padding: 22px 24px 32px;
  background: #efefef;
  color: #000;
}

/* ===== PAGE SCOLARITÉ : Roboto, texte noir ; équivalence = PNG à dimensions natives (défilement horizontal si besoin) ===== */
.page-scolarite {
  font-family: 'Roboto', sans-serif;
  color: #000;
}
.page-scolarite .hero-banner-split__title,
.page-scolarite .hero-banner-split__text,
.page-scolarite .banner-list,
.page-scolarite .banner-list li {
  font-family: 'Roboto', sans-serif;
  color: #000;
}
.page-scolarite .section-title,
.page-scolarite .section-subtitle,
.page-scolarite .text-body,
.page-scolarite .cycle-card__title,
.page-scolarite .cycle-card__desc,
.page-scolarite .cycle-card__link,
.page-scolarite .vacances-table,
.page-scolarite .vacances-table td {
  font-family: 'Roboto', sans-serif;
  color: #000;
}
.page-scolarite .scolarite-bridge__text .text-link {
  color: #7d796d;
}
.page-scolarite .scolarite-bridge {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 10px;
}
.page-scolarite .scolarite-bridge > .section-title {
  margin-bottom: 0;
}
.page-scolarite .scolarite-bridge > .section-title.section-title--large {
  font-size: 40px;
}
.page-scolarite .scolarite-programmes > .section-title.section-title--large {
  font-size: 32px;
}
.page-scolarite .scolarite-programmes + .content-section--white > .section-title.section-title--large {
  font-size: 32px;
}
.page-scolarite .scolarite-bridge__mid {
  flex: 0 0 auto;
  min-height: clamp(48px, 9vmin, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(10px, 1.8vw, 20px);
}
.page-scolarite .scolarite-bridge__text {
  margin: 0;
  max-width: min(100%, 52rem);
  margin-inline: auto;
}
.page-scolarite .scolarite-bridge .scolarite-title-equiv {
  margin-top: 0;
  margin-bottom: 0;
}
.page-scolarite .page-scolarite-equiv-section {
  padding-top: 0;
}
.page-scolarite .page-scolarite-equiv-section .equiv-chart-wrap {
  margin-top: 12px;
}
.page-scolarite .section-subtitle.text-red {
  color: #000;
  font-weight: 700;
}
/* Vacances : cartes type page Contacts */
.page-scolarite .two-col > .staff-card .staff-card__role--plain {
  margin-bottom: 14px;
}
.page-scolarite .staff-card .staff-card__role--plain {
  color: #000;
}
.page-scolarite .two-col > .staff-card .staff-card__role--plain {
  color: #7d796d;
}
.page-scolarite .vacances-table {
  margin: 0;
}
/* Vacances : espace sous le titre principal avant les cartes */
.page-scolarite .section-title.section-title--center.section-title--large + .two-col {
  margin-top: 32px;
}
.page-scolarite .scolarite-title-equiv {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  color: #000;
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.25;
  text-decoration: none;
}
.page-scolarite .equiv-chart-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 20px auto 12px;
  padding: 0 0 6px;
  text-align: center;
  line-height: 0;
}
/* Infographie : s’adapte à la largeur utile, sans dépasser la résolution du fichier (1096×740) */
.page-scolarite .equiv-chart-img {
  width: 100%;
  max-width: 1096px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Cycles scolarité : 5 colonnes équidistantes, disques = largeur de colonne (flip horizontal rotateY) */
.page-scolarite .content-section.scolarite-programmes {
  padding-inline: clamp(18px, 3.5vw, 36px);
}
.page-scolarite .cycle-grid--scolarite {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(10px, 2vw, 28px);
  row-gap: clamp(14px, 2.5vw, 28px);
  width: 100%;
  max-width: 100%;
  margin: 28px 0 24px;
  align-items: start;
  justify-items: center;
}
.page-scolarite .cycle-grid--scolarite .cycle-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__link {
  font-size: clamp(15px, 1.25vw + 11px, 18px);
  padding: 11px 24px;
  border-radius: 8px;
  line-height: 1.35;
  min-height: 48px;
  min-width: 6.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip {
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  perspective: 1000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: 50%;
  outline: none;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip:focus-visible {
  outline: 3px solid #20c0cf;
  outline-offset: 4px;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
/* Pas de :focus-within sous hover:none : le tap met le focus et bloquait le retour face avant au 2e tap */
/* :hover seul sur mobile iOS reste « collé » après le 1er tap → le 2e tap enlève .is-flipped mais la carte reste retournée */
.page-scolarite .cycle-grid--scolarite .cycle-card__flip.is-flipped .cycle-card__flip-inner {
  transform: rotateY(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .page-scolarite .cycle-grid--scolarite .cycle-card__flip:hover .cycle-card__flip-inner {
    transform: rotateY(180deg);
  }
}
@media (hover: hover) {
  .page-scolarite .cycle-grid--scolarite .cycle-card__flip:focus-within .cycle-card__flip-inner {
    transform: rotateY(180deg);
  }
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
/* iOS/WebKit : la face cachée reste souvent « au-dessus » pour les taps — le 2e tap ne rejoignait pas la carte */
.page-scolarite .cycle-grid--scolarite .cycle-card__flip.is-flipped .cycle-card__flip-face--front {
  pointer-events: none;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip:not(.is-flipped) .cycle-card__flip-face--back {
  pointer-events: none;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip-face--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  max-width: none;
}
/* Cycle 2 : centrage horizontal (affiner 62–78 % si le sujet reste décalé) */
.page-scolarite .cycle-card--cycle2 .cycle-card__flip-face--front img {
  object-position: 80% 50%;
}
/* Cycle 5 : visage trop haut → diminuer le % vertical (effet inverse de 62 %) */
.page-scolarite .cycle-card--cycle5 .cycle-card__flip-face--front img {
  object-position: center 28%;
}
.page-scolarite .cycle-grid--scolarite .cycle-card__flip-face--back {
  transform: rotateY(180deg);
  background: #d5cebc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
}
.page-scolarite .cycle-card__flip-back-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-height: 100%;
  overflow: hidden;
  padding-inline: 4px;
}
.page-scolarite .cycle-card__flip-back-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.35vw + 10px, 20px);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
}
.page-scolarite .cycle-card__flip-back-desc {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(13px, 1vw + 10px, 17px);
  font-weight: 400;
  color: #000;
  line-height: 1.45;
}
.page-scolarite .cycle-card__flip-more {
  flex-shrink: 0;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(12px, 0.85vw + 10px, 15px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: #20c0cf;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.15s ease;
}
.page-scolarite .cycle-card__flip-more:hover {
  background: #1aa8b6;
  color: #fff;
}
.page-scolarite .cycle-card__flip-more:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .page-scolarite .cycle-grid--scolarite .cycle-card__flip-inner {
    transition: none;
  }
  .page-scolarite .cycle-grid--scolarite .cycle-card__flip.is-flipped .cycle-card__flip-inner {
    transform: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .page-scolarite .cycle-grid--scolarite .cycle-card__flip:hover .cycle-card__flip-inner {
      transform: none;
    }
  }
  @media (hover: hover) {
    .page-scolarite .cycle-grid--scolarite .cycle-card__flip:focus-within .cycle-card__flip-inner {
      transform: none;
    }
  }
}

/* ===== PAGE L'ÉTABLISSEMENT ===== */
body.page-etablissement {
  font-family: 'Roboto', sans-serif;
}
body.page-etablissement .site-nav a,
body.page-etablissement .lang-switcher__btn,
body.page-etablissement .lang-switcher__link,
body.page-etablissement .footer-question,
body.page-etablissement .footer-legal-line,
body.page-etablissement .footer-btn {
  font-family: 'Roboto', sans-serif;
}
body.page-etablissement h3 {
  font-family: 'Roboto', sans-serif;
}
.page-etablissement {
  /* Signalétique (colonne gauche) : hauteur de la zone image */
  --etab-aligned-image-height: clamp(280px, 46vh, 440px);
  /* Jardin + badminton : hauteur relevée pour réduire le vide au-dessus (margin-top:auto absorbe moins d’espace) ; alignements inchangés */
  --etab-excellence-pair-photo-height: clamp(300px, 44vh, 440px);
}
.page-etablissement .hero-banner--etablissement {
  height: 570px;
}
.page-etablissement .hero-banner--etablissement .hero-overlay {
  justify-content: center;
  align-items: center;
  background: none;
}
.page-etablissement .hero-title--etablissement {
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  font-weight: 700;
  font-style: normal;
  padding-left: 0;
  text-align: center;
  width: 100%;
  color: #fff;
}
.page-etablissement h2.etablissement-section-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.35;
}
.page-etablissement .etablissement-intro-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
}
.page-etablissement .etablissement-intro-block .etablissement-two-col-grid {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.page-etablissement .etablissement-photo-pair {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}
.page-etablissement .etablissement-photo-pair__cell {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}
.page-etablissement .etablissement-photo-pair__cell img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.page-etablissement .etablissement-photo-pair.etablissement-photo-pair--under-excellence {
  align-items: flex-end;
  margin-top: auto;
}
.page-etablissement .etablissement-photo-pair--under-excellence {
  width: 100%;
}
.page-etablissement .etablissement-photo-pair--under-excellence .etablissement-photo-pair__cell img {
  height: var(--etab-excellence-pair-photo-height);
  object-fit: cover;
  /* Coupe le bas de l’image (pied de cadre) pour limiter la hauteur visuelle */
  object-position: center 22%;
}
.page-etablissement .etablissement-two-col-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto;
  column-gap: 24px;
  margin-bottom: 28px;
  align-items: start;
  overflow-x: visible;
}
.page-etablissement .etablissement-two-col-grid--stacked {
  /* Ligne 1 : min-content = hauteur du texte (min auto du totem annulé par overflow + min-height 0) */
  grid-template-rows: min-content auto;
  row-gap: 24px;
  margin-bottom: 6px;
  align-items: stretch;
}
.page-etablissement .etablissement-intro-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
}
/* Ligne 1 : hauteur de ligne = bloc texte (intro-head) ; le totem s’étire à cette hauteur (object-fit: cover) */
.page-etablissement .etablissement-intro-figure--totem {
  /*
   * position: relative + image en position: absolute
   * => l'image est sortie du flux de la grille : elle ne contribue
   *    plus a la hauteur de la ligne. Seul le texte (col. 2) la fixe.
   *    La figure s'etire a cette hauteur via align-self: stretch,
   *    puis l'image remplit la figure de haut en bas (object-fit: cover).
   */
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.page-etablissement .etablissement-intro-figure--totem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ancrage haut : rogne le bas (logos / premier plan) pour aligner avec le bas du texte */
  object-position: center top;
  border-radius: 0;
  display: block;
}
.page-etablissement .etablissement-signaletique-stack {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
}
.page-etablissement .etablissement-signaletique-stack .etablissement-intro-figure--signaletique {
  flex: 0 0 auto;
  width: 100%;
}
.page-etablissement .etablissement-atout-france-block {
  width: 100%;
  min-width: 0;
}
.page-etablissement .etablissement-atout-france-block .etablissement-section-heading {
  margin-bottom: 12px;
}
.page-etablissement .etablissement-atout-france-block .text-body {
  margin: 0;
}
.page-etablissement .etablissement-atout-france-block--full {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}
.page-etablissement .etablissement-atout-france-block--full .etablissement-section-heading {
  text-align: left;
}
.page-etablissement .etablissement-atout-france-block--full .text-body {
  text-align: justify;
  max-width: none;
}
.page-etablissement .etablissement-intro-figure--signaletique img {
  width: 100%;
  max-width: 100%;
  height: var(--etab-aligned-image-height);
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
  display: block;
}
.page-etablissement .etablissement-intro-head {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* Sur grands écrans : marge intérieure droite pour absorber un peu d’espace mort */
  padding-right: clamp(16px, 3.5vw, 80px);
  box-sizing: border-box;
}
.page-etablissement .etablissement-excellence-block {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  flex: 1 1 auto;
}
/* Bloc « Excellence… » sous les logos : même largeur et alignement que le texte réseau / intro (colonne principale) */
.page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  /* Même rythme qu’entre sous-sections (équivalent au margin-top du titre « Un réseau… ») */
  margin-top: 28px;
  box-sizing: border-box;
  text-align: left;
  min-width: 0;
}
.page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy .etablissement-section-heading {
  text-align: left;
  margin-top: 0;
  margin-bottom: 16px;
}
.page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy .text-body {
  margin-top: 0;
  margin-bottom: 12px;
  text-align: left;
}
.page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy .text-body:last-child {
  margin-bottom: 0;
}
.page-etablissement .etablissement-intro-head .etablissement-section-heading {
  margin-bottom: 12px;
}
.page-etablissement .etablissement-intro-head .text-body {
  margin-bottom: 12px;
}
.page-etablissement .etablissement-intro-head .etablissement-reseau-title {
  margin-top: 28px;
  margin-bottom: 16px;
}
.page-etablissement .etablissement-intro-head > p.text-body:nth-of-type(4) {
  margin-bottom: 0;
}
.page-etablissement .etablissement-reseau-copy {
  min-width: 0;
}
.page-etablissement .etablissement-reseau-copy p.text-body:last-of-type {
  margin-bottom: 0;
}
.page-etablissement .text-body {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-16);
}
/* ===== SLIDER ===== */
/* Desktop : +50% par rapport à 380px → 570px | Mobile : jusqu’à 50vh */
.slider { position: relative; width: 100%; height: 570px; overflow: hidden; }
.slider-track { display: flex; height: 100%; transition: transform 0.6s ease; }
.slider-slide { min-width: 100%; height: 100%; position: relative; }
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Texte remonté : padding-bottom (flex-end) */
.slider-slide__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: transparent; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 24px 90px 147px 400px; }
/* Accueil : dégradé discret pour garder le texte lisible sur fonds clairs */
.page-home .slider .slider-slide__overlay {
  background: transparent;
}
.slider-slide__title { font-family: 'Roboto', sans-serif; font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.slider-slide__line { width: 50px; height: 3px; background: #fff; margin-bottom: 16px; }
.slider-slide__subtitle { font-family: 'Roboto', sans-serif; font-size: 18px; color: #fff; line-height: 1.5; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.7); border: none; font-size: 28px; padding: 8px 14px; cursor: pointer; z-index: 10; border-radius: 4px; }
.slider-btn--prev { left: 10px; }
.slider-btn--next { right: 10px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; }
.slider-dot.active { background: #fff; }

/* Accueil — texte du héro : slide lent depuis la droite (après le défilement des photos) */
.page-home #heroSlider .slider-slide__overlay > .slider-slide__title,
.page-home #heroSlider .slider-slide__overlay > .slider-slide__line,
.page-home #heroSlider .slider-slide__overlay > .slider-slide__subtitle {
  opacity: 0;
  /* Départ bien à droite (effet « hors cadre »), proportionnel à la fenêtre */
  transform: translate3d(min(52vw, 32rem), 0, 0);
  transition: none;
}
/* Durée longue + ease-out : le mouvement horizontal reste bien visible */
.page-home #heroSlider .slider-slide--active .slider-slide__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 1.15s ease-out 0.06s,
    transform 1.45s cubic-bezier(0.2, 0.75, 0.25, 1) 0.06s;
}
.page-home #heroSlider .slider-slide--active .slider-slide__line {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 1.1s ease-out 0.2s,
    transform 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) 0.2s;
}
.page-home #heroSlider .slider-slide--active .slider-slide__subtitle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 1.15s ease-out 0.34s,
    transform 1.45s cubic-bezier(0.2, 0.75, 0.25, 1) 0.34s;
}
@media (prefers-reduced-motion: reduce) {
  .page-home #heroSlider .slider-slide__overlay > .slider-slide__title,
  .page-home #heroSlider .slider-slide__overlay > .slider-slide__line,
  .page-home #heroSlider .slider-slide__overlay > .slider-slide__subtitle {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Boucle infinie : clone en fin de piste (non interactif) */
.page-home #heroSlider .slider-slide--loop-clone {
  pointer-events: none;
  user-select: none;
}
/* Après snap sur la vraie 1re slide : pas de ré-animation du texte (continuité visuelle) */
.page-home #heroSlider .slider-slide--loop-snap .slider-slide__overlay > .slider-slide__title,
.page-home #heroSlider .slider-slide--loop-snap .slider-slide__overlay > .slider-slide__line,
.page-home #heroSlider .slider-slide--loop-snap .slider-slide__overlay > .slider-slide__subtitle {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ===== CONTENT SECTIONS ===== */
/* Marges latérales alignées sur l’accueil (90px) ; vertical accueil géré ci-dessous */
.content-section { padding: 30px 90px; }
.content-section--beige { background: #efefef; }
.content-section--white { background: #efefef; }
.content-section--narrow { padding: 20px 90px; }

/* ===== PAGE ACCUEIL — padding vertical des sections (latéral = global) ===== */
.page-home .content-section {
  padding-top: 45px;
  padding-bottom: 45px;
}
.page-home .content-section--narrow {
  padding-top: 18px;
  padding-bottom: 18px;
}
.page-home .two-col {
  gap: 45px;
}
.page-home .two-col--double-gap {
  gap: 90px;
}
.page-home .three-col {
  gap: 30px;
}
/* Bande logos : même largeur utile que les autres sections (90px de gouttière) */
.page-home .page-home-logos-section {
  padding-top: 18px;
  padding-bottom: 18px;
}
/* Accueil ≥901px : flex space-between — espacement horizontal égal entre logos (largeurs d’images variables) */
.page-home .page-home-logos-section .logo-row {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  box-sizing: border-box;
}
.page-home .event-grid {
  gap: 21px;
}
/* Même espace : bandeau annonces → titre bourses, et bas du texte bourses → filet */
.page-home {
  --home-bourses-vertical-rhythm: 40px;
}
.page-home .home-bourses-section.content-section {
  padding-top: var(--home-bourses-vertical-rhythm);
  padding-bottom: 0;
}
.page-home .home-events-section.content-section {
  padding-top: 0;
}

/* Typo accueil : Roboto ; corps des textes 16px */
body.page-home {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
body.page-home .slider-slide__title,
body.page-home .slider-slide__subtitle {
  font-family: 'Roboto', sans-serif;
}
body.page-home .slider-slide__subtitle {
  font-size: var(--fs-16);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
  background: rgba(0, 0, 0, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  max-width: min(60ch, 100%);
}
body.page-home .announcement-slider {
  font-family: 'Roboto', sans-serif;
}
body.page-home .announcement-slider__text {
  font-size: var(--fs-16);
  font-weight: 400;
}
body.page-home button,
body.page-home input,
body.page-home textarea {
  font-family: inherit;
}
body.page-home .text-body {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-16);
  font-weight: 400;
}
body.page-home .feature-list li {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-16);
  font-weight: 400;
}
body.page-home .feature-list li::before {
  font-size: var(--fs-16);
}
body.page-home .text-link {
  font-family: 'Roboto', sans-serif;
  font-size: inherit;
  color: #20c0cf;
}
body.page-home .home-events-body .text-link {
  color: #1877f2;
}

/* ===== TYPOGRAPHY ===== */
.section-title { font-size: var(--fs-26); font-weight: 700; margin-bottom: 16px; }
.section-title--center { text-align: center; }
.section-title--italic { font-style: italic; }
.section-title--large { font-size: var(--fs-48); }
/* Tous les H3 : Roboto 20px, graisse 600 */
h3 {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-20);
  font-weight: 600;
  font-style: normal;
  line-height: 1.35;
}
.section-subtitle { margin-bottom: 12px; }
.text-body { font-size: var(--fs-16); line-height: var(--lh-body); margin-bottom: 12px; text-align: justify; }
.text-body:last-child { margin-bottom: 0; }
.text-secondary { color: #7D796D; }
.text-bold { font-weight: 700; }
.text-link {
  color: #20c0cf !important;
}
.text-link:hover {
  text-decoration: underline;
}
a[href^="mailto:"],
a[href^="tel:"] {
  color: #000 !important;
}
a[href*="facebook.com"],
.page-home .home-events-facebook-link,
.page-home .home-events-fb-icon-link,
.fb-link {
  color: #1877f2 !important;
}
.text-link { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-red { color: #c00; }

/* ===== MAIN TITLE ===== */
.main-title { font-size: var(--fs-48); font-weight: 700; text-align: center; padding: 36px 45px 30px; white-space: nowrap; }
.page-home .main-title {
  font-size: var(--fs-48);
  line-height: 1.12;
  white-space: normal;
  max-width: 100%;
}

/* ===== LOGO ROW (sous le slider accueil) ===== */
.logo-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 24px 0; gap: 18px 20px; width: 100%; }
/* Cinq logos : +20 % vs 152px → ~182px ; empreinte max élargie pareil */
.logo-row img {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  max-height: 146px;
  max-width: min(240px, 26.4vw);
  object-fit: contain;
  object-position: center center;
}
.page-home .page-home-logos-section .logo-row img {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: min(240px, 22vw);
  max-height: 146px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* Colonne gauche accueil : vidéo pleine largeur + 2 images sur une ligne */
.intro-col-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.home-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 16px 0 0 0;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  align-self: stretch;
}
.home-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Vidéo + visuels EFE3D + « Nos différences » : colonne flex */
.page-home .intro-col-left .home-efe3d-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
/* Sous la vidéo : hauteur pilotée par le diplôme ; logo mis à la même hauteur (contain = pas de déformation) */
.page-home .intro-col-left .nos-differences-images {
  --home-efe3d-h: clamp(200px, 30vw, 320px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  max-width: 100%;
  margin: 14px 0 -40px 0;
  box-sizing: border-box;
}
.page-home .intro-col-left .nos-differences-images__cell {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(4px, 1.2vw, 10px) clamp(4px, 1.2vw, 10px) clamp(26px, 3.4vw, 44px);
  box-sizing: border-box;
}
/* Diplôme : définit la hauteur de référence (plafonnée pour éviter une image trop grande) */
.page-home .intro-col-left .nos-differences-images__cell--diploma img {
  height: var(--home-efe3d-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 4px;
  display: block;
  max-height: fit-content;
}
/* Logo : même hauteur que la ligne (= celle du diplôme), sans dépasser le plafond ; largeur suit le ratio */
.page-home .intro-col-left .nos-differences-images__cell--logo img {
  height: 100%;
  max-height: var(--home-efe3d-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 4px;
  display: block;
}
@media (max-width: 480px) {
  .page-home .intro-col-left .nos-differences-images {
    --home-efe3d-h: clamp(150px, 40vw, 220px);
    gap: 8px;
    margin: 12px 0 0 0;
  }
  .page-home .intro-col-left .nos-differences-images__cell {
    padding: 4px 4px 14px;
  }
}

/* Photo jardin / bâtiment — colonne droite Présentation, au-dessus du bandeau annonces */
.home-presentation-photo {
  margin: 22px 0 0;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}
.home-presentation-photo img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Intro + Présentation : colonnes même hauteur, image alignée en bas avec la colonne gauche */
.two-col--present-layout {
  align-items: stretch;
}
.intro-col-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.two-col--present-layout .intro-col-right .text-body {
  margin-bottom: 22px;
}
.two-col--present-layout .intro-col-right .section-title {
  margin-bottom: 20px;
  font-size: 32px;
}
/* Texte « Nos différences » */
.page-home .intro-col-left .home-nos-differences-copy {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.page-home .intro-col-left .home-nos-differences-copy .section-subtitle.intro-nos-differences-title {
  margin-top: clamp(14px, 2.2vw, 20px);
  margin-bottom: clamp(14px, 2.2vw, 20px);
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.25;
}
.page-home .intro-col-left .home-nos-differences-copy > .text-body {
  margin-top: 0;
  margin-bottom: 12px;
}
/* Accueil : titre bloc bourses (même style que « Nos différences ») */
.page-home .home-bourses-section > .section-title.section-title--large {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.25;
}
.page-home .home-events-heading-row {
  display: block;
  margin-bottom: 12px;
}
.page-home .home-events-heading-row .section-title {
  margin-bottom: 0;
  font-size: 32px;
}
.page-home .home-events-facebook-label {
  margin: 0 0 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  text-align: left;
}
.page-home .home-events-facebook-link {
  color: #1877f2;
  text-decoration: none;
}
.page-home .home-events-facebook-link:hover {
  text-decoration: underline;
}
.page-home .home-events-khaosan {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}
.page-home .home-events-main-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 18px;
  width: 100%;
  min-width: 0;
}
.page-home .home-events-posts {
  flex: 0 0 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 330px));
  gap: 12px;
  justify-content: start;
  width: 100%;
}
.page-home .home-events-posts[hidden] {
  display: none !important;
}
.page-home .home-post {
  background: #fff;
  border: 1px solid #dddfe2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.page-home .home-post__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid #dddfe2;
}
.page-home .home-post__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d8dadf;
  background: #fff;
  object-fit: contain;
  flex: 0 0 auto;
}
.page-home .home-post__head-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .home-post__page-name {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #050505;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-home .home-post__head-time {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #65676b;
  line-height: 1.25;
}
.page-home .home-post__media {
  display: block;
  background: #ebedf0;
  border-bottom: 1px solid #eee;
}
.page-home .home-post__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.91 / 1;
  object-fit: cover;
}
.page-home .home-post__body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.page-home .home-post__text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #1c1e21;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  flex: 1;
}
.page-home .home-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: auto;
  font-size: 12px;
}
.page-home .home-post__time {
  display: none;
}
.page-home .home-post__link {
  font-size: 13px;
  font-weight: 700;
}
.page-home .home-khaosan-journal {
  /* Couvertures Khaosan accueil : une seule ligne × 4 (rétrécissement si besoin) */
  --khaosan-home-cover: 231px;
  margin-top: 24px;
}
.page-home .home-events-khaosan-separator {
  margin-top: 24px;
  border-top: 1px solid #e3e1da;
}
.page-home .khaosan-journal__title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.page-home .khaosan-journal__intro {
  margin: 10px 0 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #1c1e21;
  max-width: 1020px;
}
.page-home .khaosan-journal__issues {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, var(--khaosan-home-cover)));
  gap: 12px;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
}
.page-home .khaosan-journal__issue {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dddfe2;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.page-home .khaosan-journal__issue img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.page-home .khaosan-journal__num {
  position: absolute;
  left: 8px;
  top: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #050505;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dddfe2;
  border-radius: 999px;
  padding: 2px 8px;
}
.page-home .home-events-fb-icon-link {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 14px;
  color: #7d796d;
  line-height: 0;
}
.page-home .home-events-fb-icon-link:hover,
.page-home .home-events-fb-icon-link:focus-visible {
  color: #20c0cf;
}
.page-home .home-events-fb-icon {
  width: 52px;
  height: 52px;
  display: block;
}

/* Accueil · Facebook : 4 colonnes alignées à gauche → 2×2 → 1 colonne (mobile centrée) */
@media (max-width: 1535px) {
  .page-home .home-events-posts {
    grid-template-columns: repeat(2, minmax(0, 330px));
    max-width: 672px;
  }
}
@media (max-width: 760px) {
  .page-home .home-events-posts {
    max-width: 330px;
    grid-template-columns: minmax(0, 330px);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .home-khaosan-journal .khaosan-journal__title,
  .page-home .home-khaosan-journal .khaosan-journal__intro {
    text-align: center;
  }
}
.two-col--present-layout .intro-col-right .home-presentation-photo {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 52px;
  /* Cadre un peu plus bas que le ratio d’origine (~2,22) → rogne surtout le ciel ; ancrage bas du cliché */
  aspect-ratio: 2.45 / 1;
  position: relative;
}
.two-col--present-layout .intro-col-right .home-presentation-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

/* ===== TWO-COL / THREE-COL ===== */
.two-col { display: flex; gap: 30px; align-items: flex-start; }
.two-col--double-gap { gap: 60px; }
.two-col > * { flex: 1; min-width: 0; }
.two-col--center { align-items: center; }
.two-col--top { align-items: flex-start; }
/* Bourses scolaires (accueil) : texte ~3/4, logo ~1/4 (ratio 3:1 après le gap) */
.page-home .two-col--bourses > *:first-child {
  flex: 3 1 0;
  min-width: 0;
}
.page-home .two-col--bourses > *:last-child {
  flex: 1 1 0;
  min-width: 0;
}
.page-home .home-bourses-ambassade-logo {
  max-width: calc(429px / 2);
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.page-home .home-bourses-logo-col {
  text-align: center;
}
/* Carte contact service social (même composant que page Services — staff-card) */
.page-home .home-bourses-social-card {
  width: min(100%, 340px);
  margin-top: 4px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}
body.page-home .home-bourses-social-card .staff-card__name .staff-card__icon,
body.page-home .home-bourses-social-card .staff-card__email .staff-card__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 0; /* évite que le texte influence le sizing */
}
body.page-home .home-bourses-social-card .staff-card__name .staff-card__icon svg,
body.page-home .home-bourses-social-card .staff-card__email .staff-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
/* Texte sur une seule ligne (avec ellipsis si nécessaire) */
body.page-home .home-bourses-social-card .staff-card__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}
/* Email : autoriser 2 lignes */
body.page-home .home-bourses-social-card .staff-card__email {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}
body.page-home .home-bourses-social-card .staff-card__email .staff-card__link {
  display: inline;
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: baseline;
}
.page-home .home-bourses-contact-lead {
  margin-bottom: 10px;
}
/* Séparateur sous le pavé bourses : pleine largeur du contenu (jusqu’aux marges latérales de la section) */
.page-home .home-bourses-separator-full {
  margin-top: var(--home-bourses-vertical-rhythm, 40px);
  margin-bottom: var(--home-bourses-vertical-rhythm, 40px);
}
.three-col { display: flex; gap: 20px; }
.three-col > * { flex: 1; min-width: 0; }
.col-fixed { flex: none !important; }

/* ===== FEATURE LIST ===== */
.feature-list { margin: 12px 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; font-size: var(--fs-16); line-height: 1.5; }
.feature-list li::before { content: "✓"; color: #7D796D; font-weight: 700; font-size: var(--fs-16); flex-shrink: 0; }

/* ===== BANNER LIST ===== */
.banner-list { margin: 8px 0; }
.banner-list li { font-size: var(--fs-16); margin-bottom: 3px; padding-left: 14px; position: relative; }
.banner-list li::before { content: "•"; position: absolute; left: 0; font-weight: 700; }

/* ===== SEPARATOR ===== */
.separator { height: 1px; background: #B4AE9D; margin: 24px 0; }
.separator--thick { height: 120px; background: #B4AE9D; margin: 0; }

/* ===== BANDEAU ANNONCES (accueil, autoplay 200px) ===== */
.announcement-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #20c0cf;
  font-family: 'Roboto', sans-serif;
}
.announcement-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.announcement-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px 36px 28px;
}
.announcement-slider__inner {
  text-align: center;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
}
.announcement-slider__title {
  font-size: clamp(24px, 3.84vw, 38px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
  text-transform: none;
}
.announcement-slider__text {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 400;
  margin: 0 0 6px;
  line-height: 1.45;
}
.announcement-slider__text:last-child {
  margin-bottom: 0;
}
.announcement-slider__text--narrow {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.announcement-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.announcement-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s;
}
.announcement-slider__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.announcement-slider__dot.active {
  background: #fff;
}

/* ===== IMAGE TEXT ROW ===== */
.img-text-row { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.img-text-row img { border-radius: 4px; flex-shrink: 0; }
.img-text-row--reverse { flex-direction: row-reverse; }

/* ===== PRICING CARDS (contenu tarifs ; conteneur = staff-card sur page admission) ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.pricing-card { background: #efefef; border: 1px solid #ddd; border-radius: 6px; padding: 18px 14px; text-align: center; }
.pricing-card__level { font-size: 13px; font-weight: 700; text-transform: uppercase; color: #7D796D; margin-bottom: 6px; letter-spacing: 0.04em; }
.pricing-card__price { font-size: 32px; font-weight: 700; margin-bottom: 2px; line-height: 1.15; }
.pricing-card__unit { font-size: 14px; color: #7D796D; margin-bottom: 12px; }
.pricing-card__detail { font-size: 14px; margin-bottom: 3px; }
.pricing-card__note { font-size: 13px; color: #7D796D; margin-top: 6px; }
.tarifs-layout { display: flex; gap: 30px; align-items: flex-start; }
.tarifs-layout__cards { flex: 0 0 55%; }
.tarifs-layout__notes { flex: 1; font-size: 14px; line-height: 1.6; }
.tarifs-layout__notes p { margin-bottom: 8px; }

/* ===== CYCLE CARDS ===== */
.cycle-grid { display: flex; gap: 16px; justify-content: center; margin: 24px 0; }
.cycle-card { text-align: center; width: 160px; flex-shrink: 0; }
.cycle-card__img { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; }
.cycle-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cycle-card__title { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.cycle-card__desc { font-size: 13px; color: #7D796D; line-height: 1.4; margin-bottom: 6px; }
.cycle-card__link { display: inline-block; font-size: 11px; color: #7D796D; border: 1px solid #B4AE9D; padding: 3px 12px; border-radius: 4px; }
.cycle-card__link:hover { background: #efefef; }

/* ===== EQUIV TABLE ===== */
.equiv-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.equiv-table th { background: #B4AE9D; color: #fff; padding: 8px 10px; text-align: center; font-weight: 700; font-size: 14px; }
.equiv-table td { padding: 5px 8px; text-align: center; border: 1px solid #ddd; font-size: 14px; }
.equiv-table tr:nth-child(even) td { background: #f5f1ea; }
.equiv-table .age-col { background: #D5CEBC; font-weight: 700; width: 40px; }
.equiv-table .diploma-row td { background: #D5CEBC; font-weight: 700; font-size: 13px; }
.equiv-table th img { height: 16px; display: inline-block; vertical-align: middle; margin-right: 4px; }

/* ===== VACANCES TABLE ===== */
.vacances-table { width: 100%; font-size: 16px; margin: 12px 0; }
.vacances-table td { padding: 4px 8px; vertical-align: top; }
.vacances-table td:first-child { font-weight: 700; }

/* ===== SERVICE GRID ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.service-card { border: 1px solid #ddd; border-radius: 0; overflow: hidden; }
.service-card__img { width: 100%; height: 160px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 14px; }
.service-card__title { text-align: center; margin-bottom: 8px; }
.service-card__text { font-size: 14px; line-height: 1.5; text-align: justify; }

/* ===== CONTACTS PAGE : équipe (2×2) + formulaire ===== */
.contacts-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  margin-top: 32px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.staff-card {
  margin: 0;
  padding: 16px 18px;
  text-align: left;
  background: #fafaf8;
  border: 1px solid #e5e2da;
  border-left: 3px solid #B4AE9D;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.staff-card__role {
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7D796D;
  margin: 0 0 6px;
  line-height: 1.35;
}
/* Titre « carte » sans style uppercase (ex. vacances scolarité) */
.staff-card__role--plain {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: var(--fs-16);
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.3;
}
.staff-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 8px;
  line-height: 1.3;
}
.staff-card__icon {
  display: inline-block;
  width: 1.15em;
  margin-right: 6px;
  font-size: 1em;
  line-height: 1;
  color: currentColor;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 700;
}
.staff-card__email {
  font-size: var(--fs-14);
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}
.staff-card__link {
  color: #6a6358;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.staff-card__link:hover {
  color: #3a3a3a;
  border-bottom-color: #B4AE9D;
}

/* Page Services : cartes fixes 380×500 + grille responsive */
body.page-services .service-grid {
  --service-card-w: 380px;
  --service-card-h: 500px;
  --service-card-gap: 20px;

  display: grid;
  grid-template-columns: repeat(2, var(--service-card-w));
  justify-content: center;
  align-items: start;
  gap: var(--service-card-gap);
  width: 100%;
  margin-top: 0;
  min-width: 0;
}
body.page-services .service-card {
  margin: 0;
  width: var(--service-card-w);
  height: var(--service-card-h);
  box-sizing: border-box;
  padding: 22px 18px 16px;
  border: 1px solid #e5e2da;
  border-left: 3px solid #B4AE9D;
  border-radius: 4px;
  background: #fafaf8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: none;
  position: relative;
}

/* 6 cartes sur une seule ligne (écran >= 2500px) */
@media (min-width: 2500px) {
  body.page-services .service-grid {
    grid-template-columns: repeat(6, var(--service-card-w));
  }
}

/* 4 cartes puis 2 cartes centrées en dessous */
@media (min-width: 1900px) and (max-width: 2499px) {
  body.page-services .service-grid {
    grid-template-columns: repeat(4, var(--service-card-w));
  }
  /* Centre la dernière rangée (2 cartes) */
  body.page-services .service-grid > .service-card:nth-child(5) {
    grid-column: 2;
  }
  body.page-services .service-grid > .service-card:nth-child(6) {
    grid-column: 3;
  }
}

/* 3 cartes sur 2 lignes */
@media (min-width: 1300px) and (max-width: 1899px) {
  body.page-services .service-grid {
    grid-template-columns: repeat(3, var(--service-card-w));
  }
}

/* Intermédiaire desktop/tablette : 2 cartes par ligne */
@media (min-width: 901px) and (max-width: 1299px) {
  body.page-services .service-grid {
    grid-template-columns: repeat(2, var(--service-card-w));
  }
}

/* Mobile : cartes les unes sous les autres */
@media (max-width: 900px) {
  body.page-services .service-grid {
    grid-template-columns: repeat(1, var(--service-card-w));
  }
}
body.page-services .service-card::before {
  display: none;
}
body.page-services .service-card:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.page-services .service-card__inline-img {
  display: block;
  width: 100%;
  max-width: 140px;
  margin: 4px auto 10px;
  height: auto;
}
/* Même cadre visuel (restauration / piscine / garderie / vans / visas) ; restauration+piscine+garderie : centré ; vans : rogner le haut ; visas : rogner le bas */
body.page-services .service-card__inline-img--restauration,
body.page-services .service-card__inline-img--activites,
body.page-services .service-card__inline-img--garderie,
body.page-services .service-card__inline-img--transports,
body.page-services .service-card__inline-img--visas {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  /* Ratio fixe demandé : 350×180 */
  aspect-ratio: 350 / 180;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}
body.page-services .service-card__inline-img--activites,
body.page-services .service-card__inline-img--restauration,
body.page-services .service-card__inline-img--garderie {
  object-position: center center;
}
body.page-services .service-card__inline-img--transports {
  object-position: center 62%;
}
body.page-services .service-card__inline-img--visas {
  object-position: center top;
}
body.page-services .service-card__inline-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  margin: 4px auto 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.page-services .service-card__title + .service-card__inline-logos {
  margin-top: clamp(2.35rem, 4.2vw, 3.1rem);
}
body.page-services .service-card__inline-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 1;
}
body.page-services .service-card__inline-logo--af {
  max-width: min(210px, 100%);
  transform: translateY(-10px);
}
body.page-services .service-card__inline-logo--cambridge {
  max-width: min(168px, 100%);
}
body.page-services .service-card__text.service-card__text--certifs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  text-align: center;
  text-justify: auto;
  margin-top: clamp(1.35rem, 2.8vw, 2rem);
  padding-top: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Services : carte certifications (FR/EN/TH) — compacter le contenu sans changer la hauteur de carte */
body.page-services .service-card--certifs {
  padding: 22px 14px 10px;
}
body.page-services .service-card--certifs .service-card__title {
  margin-bottom: 8px;
  line-height: 1.25;
}
body.page-services .service-card--certifs .service-card__title + .service-card__inline-logos {
  margin-top: 0;
}
body.page-services .service-card--certifs .service-card__inline-logos {
  gap: 8px;
  position: static;
  top: auto !important;
  margin: 62px auto 14px !important;
}
body.page-services .service-card--certifs .service-card__inline-logo--af {
  max-width: min(210px, 100%);
  max-height: none;
  transform: translateY(-30px) !important;
}
body.page-services .service-card--certifs .service-card__inline-logo--cambridge {
  max-width: min(168px, 100%);
  max-height: none;
  transform: translateY(-20px) !important;
}
body.page-services .service-card--certifs .service-card__text.service-card__text--certifs {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.25;
}
body.page-services .service-card__text--visas {
  margin-top: 0;
}
body.page-services .service-card__body {
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: justify;
  text-justify: inter-word;
}
body.page-services .service-card--top-align .service-card__body {
  justify-content: flex-start;
}
body.page-services .service-card__title {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 8px;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
body.page-services .service-card__text {
  text-align: justify;
  text-justify: inter-word;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #5a5a5a;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
body.page-services a.service-card__transport-admission-link {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #20c0cf;
  text-decoration: none;
}
body.page-services a.service-card__transport-admission-link:hover {
  text-decoration: underline;
}
/* Services : bloc texte au-dessus des cartes en 2/3 (gauche) + 1/3 (droite) */
body.page-services .two-col.two-col--top > :first-child {
  flex: 2 1 0%;
}
body.page-services .two-col.two-col--top > :last-child {
  flex: 1 1 0%;
}
@media (min-width: 901px) {
  body.page-services .two-col.two-col--top {
    align-items: stretch;
  }
  body.page-services .two-col.two-col--top > :last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    min-height: 100%;
  }
}
@media (max-width: 900px) {
  body.page-services .two-col.two-col--top > :first-child,
  body.page-services .two-col.two-col--top > :last-child {
    flex: 1 1 100%;
  }
  body.page-services .two-col.two-col--top > :last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
  }
  body.page-services .section-title,
  body.page-services .text-body,
  body.page-services .services-bourses-card {
    text-align: center;
  }
  body.page-services .section-title--services-cards {
    text-align: left;
  }
  body.page-services .service-card__title,
  body.page-services .service-card__text {
    text-align: justify;
    text-justify: inter-word;
  }
  body.page-services .service-card__title {
    text-align: center;
  }
  body.page-services .two-col.two-col--top img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  body.page-services .two-col.two-col--top > :last-child > img {
    align-self: center;
  }
  body.page-services .services-bourses-card {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
  body.page-services .two-col.two-col--top ol {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Coordonnées (colonne gauche, sous l'équipe) */
.contacts-coordonnees {
  margin-top: 26px;
  background: #fafaf8;
  border: 1px solid #e5e2da;
  border-left: 3px solid #B4AE9D;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.contacts-coordonnees__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px 16px 16px;
  border-bottom: 1px solid #e8e5de;
}
.contacts-coordonnees__row:last-child {
  border-bottom: none;
}
.contacts-coordonnees__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts-coordonnees__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.contacts-coordonnees__body {
  min-width: 0;
  flex: 1;
}
.contacts-coordonnees__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7D796D;
  margin: 0 0 6px;
  line-height: 1.3;
}
.contacts-coordonnees__value {
  font-size: 15px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0;
  line-height: 1.45;
}
.contacts-coordonnees__value--tight {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #2a2a2a;
}
.contacts-coordonnees__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.contacts-coordonnees__link:hover {
  color: #1a1a1a;
  border-bottom-color: #B4AE9D;
}

/* ===== EVENT GRID ===== */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.event-card { overflow: hidden; }
.event-card iframe { width: 100%; height: 260px; border: 0; }
.event-card__caption { padding: 6px 0; font-size: 14px; }

/* ===== MAP (page contact : pleine largeur écran) ===== */
.map-section--fullbleed {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #e0ded8;
}
.map-container--fullwidth iframe {
  width: 100%;
  height: clamp(320px, 42vh, 520px);
  border: 0;
  display: block;
}
/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  padding: 28px 24px;
  border-radius: 4px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.contact-form-wrap--panel {
  background: #fafaf8;
  border: 1px solid #e5e2da;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  min-height: 0;
}
.contact-form-wrap--panel .contact-form__title {
  padding-bottom: 12px;
  border-bottom: 2px solid #B4AE9D;
  margin-bottom: 20px;
}
.contact-form__title {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #3a3a3a;
  margin: 0 0 18px;
}
body.page-contact .contact-form__title {
  font-family: 'Roboto', sans-serif;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form__row { display: flex; gap: 14px; }
.contact-form__row > .contact-form__field { flex: 1; }
.contact-form__field { display: flex; flex-direction: column; gap: 4px; }
.contact-form__field label {
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
}
.contact-form__field label .required { color: #c0392b; }
.contact-form__optional { font-weight: 400; color: #999; font-size: 12px; }
.contact-form__field input,
.contact-form__field textarea {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-16);
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: #B4AE9D;
}
.contact-form__field textarea { resize: vertical; min-height: 90px; }
.contact-form__field input.field-error,
.contact-form__field textarea.field-error {
  border-color: #c0392b;
}
.contact-form__actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.contact-form__submit { min-width: 130px; font-size: 15px; padding: 10px 28px; }
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form__feedback {
  font-size: 14px;
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 4px;
  text-align: center;
}
.contact-form__feedback--success {
  background: #d5edda;
  color: #276738;
}
.contact-form__feedback--error {
  background: #f8d7da;
  color: #842029;
}

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 10px 24px; font-size: 14px; font-weight: 600; border-radius: 50px; cursor: pointer; border: none; text-decoration: none; transition: opacity 0.2s; }
.btn:hover { opacity: 0.85; }
.btn--primary { background: #B4AE9D; color: #000; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #D5CEBC 0%, #EDEDED 100%);
  padding: 51px 67.5px 31px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
/* Apparition au scroll (activé par js/nav.js) */
.footer-reveal-wrap {
  overflow: hidden;
}
.site-footer.site-footer--pending {
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}
.site-footer.site-footer--pending.site-footer--no-transition {
  transition: none !important;
}
.site-footer.site-footer--pending.site-footer--visible {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .site-footer.site-footer--pending {
    transform: none;
    transition: none;
  }
}
/* Question footer : Roboto 28px, graisse 500 — retours à la ligne selon la largeur */
.footer-question {
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-26);
  font-weight: 500;
  font-style: normal;
  margin: 0;
  line-height: 1.4;
  white-space: normal;
  max-width: 100%;
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  box-sizing: border-box;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Sauts de ligne mobile uniquement (3 lignes, mots entiers) — cf. @media max-width 900px */
.footer-question__br--mo {
  display: none;
}
.footer-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 14px 0 16px;
}
.footer-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; font-size: 16px; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; text-decoration: none; transition: opacity 0.2s, background 0.2s; }
.footer-btn:hover { opacity: 0.9; }
.footer-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95em;
  line-height: 1;
}
.footer-btn--contact {
  background: #7d796d;
  color: #fff !important;
  margin: 0;
}
.footer-btn--contact:hover {
  color: #fff !important;
}
.footer-btn--contact[href^="mailto:"],
.footer-btn--contact[href^="mailto:"]:hover {
  color: #fff !important;
}
.site-footer .footer-btn__icon {
  display: none;
}
.footer-legal-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  overflow-x: visible;
  overflow-y: visible;
  text-align: center;
  padding-bottom: 4px;
}
/* Ligne légale : taille harmonisée, retours à la ligne selon la largeur d’écran */
.footer-legal-line {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: var(--fs-16);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: #000;
  margin: 0;
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* ===== FOOTNOTES ===== */
.footnotes { font-size: 14px; line-height: 1.6; }
.footnotes p { margin-bottom: 6px; }

/* ===== FACEBOOK ===== */
.fb-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: #7D796D; margin: 16px 0; }
.fb-link img { height: 40px; width: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1500px) {
  .page-scolarite .cycle-grid--scolarite {
    /* Permet de centrer correctement la dernière ligne (ex: 2 cartes sur 2e rangée) */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
  }
  /* Remplit l'espace pour éviter des cartes trop petites. */
  .page-scolarite .cycle-grid--scolarite .cycle-card {
    /* 3 cartes par ligne (au mieux) */
    width: clamp(160px, calc((100% - 2 * 16px) / 3), 240px);
    max-width: none;
  }
}
@media (max-width: 900px) {
  .site-footer {
    padding: 44px 24px 28px;
  }
  /* Mobile / tablette : retour à la ligne + tailles plancher lisibles (toutes les pages) */
  .footer-question {
    white-space: normal;
    overflow-x: visible;
    overflow-y: visible;
    font-size: clamp(17px, 2.8vw + 0.75rem, 1.375rem);
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
    word-wrap: normal;
    hyphens: none;
    -webkit-hyphens: none;
    padding-bottom: 10px;
    max-width: 100%;
  }
  .footer-question__br--mo {
    display: inline;
  }
  .footer-legal-wrap {
    overflow-x: visible;
    padding-bottom: 12px;
  }
  .footer-legal-line {
    white-space: normal;
    display: block;
    font-size: clamp(16px, 1.5vw + 0.8rem, 17px);
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  body.page-services .footer-question {
    font-size: 16px;
    line-height: 1.6;
  }
  body.page-services .footer-legal-line {
    font-size: 16px;
  }
  .content-section { padding: 24px 45px; }
  .page-scolarite .content-section.scolarite-programmes {
    padding-inline: clamp(14px, 3vw, 28px);
  }
  .two-col, .three-col { flex-direction: column; gap: 20px; }
  .two-col--double-gap { gap: 40px; }
  .pricing-grid, .service-grid, .event-grid { grid-template-columns: 1fr; }
  /* Admission tarifs : 6 lignes × 1 carte, cartes + texte centrés */
  body.page-admission .tarifs-layout__cards {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  body.page-admission .tarifs-layout__cards .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    margin: 20px auto;
    width: 100%;
    max-width: 300px;
  }
  body.page-admission .tarifs-layout__notes {
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  body.page-admission .tarifs-layout {
    align-items: stretch;
  }
  .cycle-grid { flex-wrap: wrap; }
  .page-scolarite .cycle-grid--scolarite {
    /* Mobile : 1 flipbox par ligne */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }
  .page-scolarite .cycle-grid--scolarite .cycle-card {
    /* 1 carte par ligne : on laisse prendre la largeur dispo */
    width: min(420px, 92vw);
    max-width: none;
    scroll-snap-align: start;
  }

  /* Flipboxes : texte plus lisible sur mobile */
  .page-scolarite .cycle-card__flip-back-title {
    font-size: clamp(16px, 4.2vw + 10px, 26px);
  }
  .page-scolarite .cycle-card__flip-back-desc {
    font-size: clamp(14px, 3.4vw + 10px, 22px);
  }
  .contacts-main {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 24px;
  }
  .hero-title { font-size: 28px; }
  .main-title { font-size: 22px; white-space: normal; }
  .page-home .main-title {
    font-size: clamp(22px, 5.5vw, 48px);
    line-height: 1.15;
  }
  /* Slider : moitié de l’écran sur tablette / mobile */
  .slider { height: 50vh; min-height: 240px; max-height: 520px; }
  .slider-slide__overlay {
    align-items: center;
    text-align: center;
    padding: 20px 32px 139px 32px;
  }
  .slider-slide__title { font-size: 30px; }
  /* Slide « Établissement homologué » : image décalée de 50 % vers la gauche (vue mobile / tablette) */
  .slider-slide--homologue {
    overflow: hidden;
  }
  .slider-slide--homologue img {
    width: 200%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transform: translateX(-50%);
  }
  .img-text-row { flex-direction: column; }
  .page-etablissement .etablissement-two-col-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 16px;
  }
  .page-etablissement .etablissement-two-col-grid--stacked {
    row-gap: 12px;
  }
  .page-etablissement .etablissement-intro-block {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .page-etablissement .etablissement-photo-pair {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .page-etablissement {
    --etab-aligned-image-height: min(320px, 68vw);
    --etab-excellence-pair-photo-height: min(300px, 64vw);
  }
  .page-etablissement .etablissement-photo-pair.etablissement-photo-pair--under-excellence {
    align-items: center;
    margin-top: 16px;
  }
  .page-etablissement .etablissement-photo-pair--under-excellence .etablissement-photo-pair__cell {
    width: 100%;
    max-width: 100%;
  }
  .page-etablissement .etablissement-photo-pair--under-excellence .etablissement-photo-pair__cell img {
    height: var(--etab-excellence-pair-photo-height);
    object-position: center center;
  }
  .page-etablissement .etablissement-signaletique-stack {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    align-items: stretch;
    align-self: start;
    justify-content: flex-start;
  }
  .page-etablissement .etablissement-intro-figure--totem {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-items: stretch;
  }
  .page-etablissement .etablissement-signaletique-stack .etablissement-intro-figure--signaletique {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  /* Mobile : pas de colonne jumelée — hauteur lisible, toujours cover (zoom) */
  .page-etablissement .etablissement-intro-figure--totem img {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: min(300px, 62vw);
    min-height: 200px;
    object-fit: cover;
    object-position: center top;
  }
  .page-etablissement .etablissement-signaletique-stack .etablissement-intro-figure--signaletique img {
    width: 100%;
    max-width: 100%;
    height: var(--etab-aligned-image-height);
    object-fit: cover;
    object-position: center center;
    margin: 0 auto;
  }
  .page-etablissement .etablissement-atout-france-block--full .etablissement-section-heading {
    text-align: left;
  }
  .page-etablissement .etablissement-intro-head {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    padding-right: 0;
  }
  .page-etablissement .etablissement-excellence-block {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 0;
    flex: none;
    display: block;
  }
  .page-etablissement .etablissement-intro-head .etablissement-reseau-title {
    text-align: center;
  }
  .page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy {
    margin-top: 24px;
  }
  .page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy .etablissement-section-heading {
    text-align: center;
  }
  .page-etablissement .etablissement-reseau-copy .etablissement-excellence-copy .text-body {
    text-align: left;
  }
  .page-etablissement .hero-banner--etablissement {
    height: 570px;
    min-height: 570px;
  }
  .page-etablissement .hero-title--etablissement {
    font-size: clamp(1.75rem, 5.5vw, 2.75rem);
    padding-left: 0;
    text-align: center;
  }
  .tarifs-layout { flex-direction: column; }
  .hero-banner-split { flex-direction: column; height: auto; }
  .hero-banner-split__img, .hero-banner-split__text { width: 100%; }
  .hero-banner-split--scolarite {
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .hero-banner-split--scolarite .hero-banner-split__img {
    flex: none;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
  }
  .hero-banner-split--scolarite .hero-banner-split__img img {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    max-width: 71.875%;
    max-height: 71.875%;
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.8);
    transform-origin: center bottom;
    pointer-events: auto;
  }
  .hero-banner-split--scolarite .hero-banner-split__text {
    flex: none;
    width: 100%;
    min-height: 160px;
    padding: 28px 32px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-banner-split--scolarite .hero-banner-split__title {
    font-size: clamp(1.75rem, 7vw, 60px);
    margin-left: 0;
    text-align: center;
  }
  .hero-banner-split--scolarite .banner-list {
    margin-left: 0;
    text-align: left;
    width: fit-content;
  }
  /* Scolarité · Admission · Contacts · Services — mobile (modèle Services) */
  .hero-banner-split--admission,
  .hero-banner-split--contacts,
  .hero-banner-split--services {
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .hero-banner-split--admission .hero-banner-split__img,
  .hero-banner-split--contacts .hero-banner-split__img,
  .hero-banner-split--services .hero-banner-split__img {
    flex: none;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
  }
  .hero-banner-split--admission .hero-banner-split__img img,
  .hero-banner-split--contacts .hero-banner-split__img img,
  .hero-banner-split--services .hero-banner-split__img img {
    width: auto;
    height: auto;
    max-width: 71.875%;
    max-height: 71.875%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateY(-24px);
  }
  .hero-banner-split--admission .hero-banner-split__text,
  .hero-banner-split--contacts .hero-banner-split__text,
  .hero-banner-split--services .hero-banner-split__text {
    flex: none;
    width: 100%;
    padding: 10px 32px 22px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
  }
  .hero-banner-split--admission .hero-banner-split__title,
  .hero-banner-split--contacts .hero-banner-split__title,
  .hero-banner-split--services .hero-banner-split__title {
    font-size: clamp(1.75rem, 7vw, 48px);
    text-align: center;
    margin-bottom: 10px;
  }
  body.page-admission .hero-banner-split--admission .hero-banner-split__title {
    font-size: 60px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
  }
  /* Page contact : surcharger flex:1 desktop (spécificité) pour aligner comme Services */
  body.page-contact .hero-banner-split--contacts .hero-banner-split__img {
    flex: none;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    box-sizing: border-box;
  }
  body.page-contact .hero-banner-split--contacts .hero-banner-split__img img {
    width: auto;
    height: auto;
    max-width: 71.875%;
    max-height: 71.875%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateY(-24px);
  }
  body.page-contact .hero-banner-split--contacts .hero-banner-split__text {
    align-items: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
  body.page-contact .hero-banner-split--contacts .hero-banner-split__title {
    font-size: clamp(17px, 4.85vw, 30px);
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
  }
  body.page-services .hero-banner-split--services .hero-banner-split__title {
    font-size: 60px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
  }
  .hero-banner-split--admission .banner-list,
  .hero-banner-split--services .banner-list {
    text-align: left;
    width: fit-content;
  }
  .contact-form__row { flex-direction: column; gap: 14px; }
  /* Accueil ≤900px : grille 3+2 (même spécificité que la grille 5 col desktop pour pouvoir l’écraser) */
  .page-home .page-home-logos-section .logo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 12px;
    justify-items: stretch;
    align-items: center;
    padding: 20px 0;
  }
  .page-home .page-home-logos-section .logo-row img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 107px;
    object-fit: contain;
    justify-self: center;
  }
  .page-home .page-home-logos-section .logo-row img:nth-child(1) { grid-column: 1 / 3; }
  .page-home .page-home-logos-section .logo-row img:nth-child(2) { grid-column: 3 / 5; }
  .page-home .page-home-logos-section .logo-row img:nth-child(3) { grid-column: 5 / 7; }
  .page-home .page-home-logos-section .logo-row img:nth-child(4) { grid-column: 2 / 4; }
  .page-home .page-home-logos-section .logo-row img:nth-child(5) { grid-column: 4 / 6; }

  /* Header mobile : burger + menu en panneau */
  .header-right { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 14px; }
  .lang-switcher { align-self: center; }
  .nav-burger { display: flex; }
  .site-nav {
    margin-top: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 88px 30px 24px;
    background: #efefef;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 210;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    align-items: stretch;
    justify-content: flex-start;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    white-space: normal;
  }
  .header-logo img { height: 72px; }

  body.nav-open .nav-overlay { display: block; }

  .page-home .content-section {
    padding: 36px 45px;
  }
  .page-home .content-section--narrow {
    padding: 20px 45px;
  }
  .page-home .page-home-logos-section {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .page-home .home-bourses-section.content-section {
    padding-top: var(--home-bourses-vertical-rhythm);
    padding-bottom: 0;
  }
  .page-home .home-events-section.content-section {
    padding-top: 0;
  }
  .page-home .home-events-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .page-home .two-col,
  .page-home .three-col {
    gap: 30px;
  }
  .page-home .two-col--double-gap {
    gap: 60px;
  }
  .page-home .page-home-logos-section .logo-row {
    gap: 20px 12px;
    padding: 16px 0;
  }
  .page-home .two-col--bourses > *:first-child,
  .page-home .two-col--bourses > *:last-child {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Accueil : publications Facebook centrées uniquement ≤760px (après le bloc 900px pour la cascade) */
@media (max-width: 760px) {
  .page-home .home-events-main-row {
    align-items: center;
  }
}

/* ===== Scolarité : option demandée (retirer les boutons “Lire plus” dans les flipboxes) ===== */
.page-scolarite .cycle-card__flip-more {
  display: none !important;
}

/* Flipboxes : texte plus grand sur très grands écrans */
@media (min-width: 2000px) {
  .page-scolarite .cycle-card__flip-back-title {
    font-size: 28px;
  }
  .page-scolarite .cycle-card__flip-back-desc {
    font-size: 22px;
  }
}

/* Voile derrière le menu mobile (clic = fermer) — visible uniquement ≤900px */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
@media (max-width: 950px) {
  body.page-services .service-grid {
    /* Mobile demandé : 1 carte par ligne */
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }
  body.page-services .service-card {
    width: min(500px, 100%);
  }
}
@media (max-width: 600px) {
  .staff-grid {
    gap: 12px 14px;
  }
  .staff-card {
    padding: 14px 14px;
  }
  body.page-services .service-grid {
    gap: 14px;
  }
  body.page-services .service-card__body {
    padding: 16px 16px 20px;
  }
  .scolarite-inscriptions-title {
    font-size: clamp(28px, 7.5vw, 32px);
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-scolarite .scolarite-title-equiv {
    font-size: clamp(22px, 5.5vw, 32px);
  }
  .page-scolarite .cycle-grid--scolarite {
    column-gap: 6px;
    row-gap: 12px;
  }
  .site-footer {
    padding: 36px 16px 26px;
  }
  .footer-question {
    font-size: clamp(17px, 3.2vw + 0.65rem, 1.3125rem);
    line-height: 1.42;
    padding-bottom: 12px;
  }
  .footer-legal-line {
    font-size: 16px;
    line-height: 1.62;
  }
  .header-top { flex-wrap: nowrap; align-items: center; gap: 10px; padding: 15px 31.5px; }
  .content-section { padding: 16px 31.5px; }
  .page-home .content-section {
    padding: 24px 31.5px;
  }
  .page-home .content-section--narrow {
    padding: 14px 31.5px;
  }
  .page-home .page-home-logos-section {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .page-home .home-bourses-section.content-section {
    padding-top: var(--home-bourses-vertical-rhythm);
    padding-bottom: 0;
  }
  .page-home .home-events-section.content-section {
    padding-top: 0;
  }
  .slider { min-height: 200px; }
  .slider-slide__overlay {
    align-items: center;
    text-align: center;
    padding: 16px 24px 131px 24px;
  }
  .slider-slide__title { font-size: 22px; }
  .slider-slide__subtitle { font-size: 14px; }
  .announcement-slider { height: 200px; }
  .announcement-slider__slide { padding: 12px 24px 26px; }
  .hero-banner { height: 160px; }
  .page-etablissement .hero-banner--etablissement {
    height: 570px;
    min-height: 570px;
  }
  .equiv-table { font-size: 12px; }
  .equiv-table td, .equiv-table th { padding: 3px 4px; }
  .page-home .page-home-logos-section .logo-row {
    gap: 14px 8px;
    padding: 14px 0;
  }
  .page-home .page-home-logos-section .logo-row img {
    max-height: 114px;
  }
}

/* Page Établissement : masquer le totem si largeur < 1469px */
@media (max-width: 1468px) {
  .page-etablissement .etablissement-intro-figure.etablissement-intro-figure--totem {
    display: none !important;
  }
  /* Évite une colonne vide : le texte d’intro occupe toute la largeur de la ligne 1 */
  .page-etablissement .etablissement-two-col-grid--stacked .etablissement-intro-head {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

/* Garde-fou : menu burger actif entre 901px et 1147px */
@media (min-width: 901px) and (max-width: 1147px) {
  .header-right { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 14px; }
  .lang-switcher { align-self: center; }
  .nav-burger { display: flex; }
  .site-nav {
    margin-top: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 88px 30px 24px;
    background: #efefef;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 210;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    align-items: stretch;
    justify-content: flex-start;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    white-space: normal;
  }
  .header-logo img { height: 72px; }
  body.nav-open .nav-overlay { display: block; }
}

/* ────────────────────────────────────────────────────────────
   Khaosan — Homepage thumbnail
   ──────────────────────────────────────────────────────────── */
.khaosan-home-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 10px;
  transition: transform 0.25s ease;
}
.khaosan-home-link:hover,
.khaosan-home-link:focus-visible {
  transform: scale(1.04);
}
.khaosan-home-link__img {
  width: 180px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.khaosan-home-link__text {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #7d796d;
}
@media (max-width: 900px) {
  .khaosan-home-link__img {
    width: 140px;
  }
  .khaosan-home-link__text {
    font-size: 16px;
  }
}

/* Khaosan reader: see css/khaosan-book.css (aligned with Nouveau code / book.html). */

/* ────────────────────────────────────────────────────────────
   Khaosan — Archives page
   ──────────────────────────────────────────────────────────── */
.khaosan-archives-section {
  padding-bottom: 48px !important;
}
.khaosan-archives-intro {
  margin-bottom: 32px;
}
.khaosan-archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.khaosan-archive-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 8px;
  transition: transform 0.25s ease;
}
.khaosan-archive-card:hover,
.khaosan-archive-card:focus-visible {
  transform: translateY(-4px);
}
.khaosan-archive-card__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: box-shadow 0.25s ease;
}
.khaosan-archive-card:hover .khaosan-archive-card__img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.khaosan-archive-card__label {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.khaosan-archive-card__title {
  font-size: 14px;
  color: #7d796d;
  text-align: center;
}
@media (max-width: 600px) {
  .khaosan-archives-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
  }
}
