/*
  LMS TRAINING — Page unique, structure conforme aux maquettes
  Intégration Bootstrap 5 pour le design et l'espacement
*/
:root {
  --one-primary: #0a5c5f;
  --one-primary-hover: #084548;
  --one-accent: #3eb4b8;
  --one-accent-soft: rgba(62, 180, 184, 0.12);
  --one-green-bar: #7cb342;
  --one-green-bar-light: #c5e1a5;
  --one-green-pale: #e8f5e9;
  --one-white: #ffffff;
  --one-gray-50: #f9fafb;
  --one-gray-100: #f3f4f6;
  --one-gray-200: #e5e7eb;
  --one-gray-600: #4b5563;
  --one-gray-700: #374151;
  --one-gray-800: #1f2937;
  --one-gray-900: #111827;
  --one-font-heading: 'Plus Jakarta Sans', sans-serif;
  --one-font-body: 'Inter', system-ui, sans-serif;
  --lms-site-max: 1140px;
  --one-container: min(100% - 2rem, var(--lms-site-max));
  --one-radius: 0.5rem;
  --one-radius-lg: 0.75rem;
  --one-radius-xl: 1rem;
  --one-radius-2xl: 1.125rem;
  --one-radius-card: 18px;
  --one-title-size: clamp(1.25rem, 3vw, 1.6rem);
  --one-title-hero: clamp(1.6rem, 4vw, 2.4rem);
  --one-title-headline: clamp(1.2rem, 2.8vw, 1.55rem);
  --one-title-spacing: 0.05em;
  --one-shadow: 0 4px 20px rgba(10, 92, 95, 0.12);
  --one-shadow-hover: 0 8px 28px rgba(10, 92, 95, 0.18);
  --one-spacing-mobile: 1rem;
  --one-spacing-desktop: 1.25rem;
  --bs-primary: #0a5c5f;
  --bs-primary-rgb: 10, 92, 95;
  /* Palette variée pour boutons */
  --btn-pink-light: #f8d8e8;
  --btn-pink-light-2: #f5c6dc;
  --btn-pink-hot: #e91e63;
  --btn-pink-hot-2: #d81b60;
  --btn-yellow: #ffeb3b;
  --btn-yellow-2: #fdd835;
  --btn-teal: #00bcd4;
  --btn-teal-2: #0097a7;
}
.btn-primary {
  --bs-btn-bg: var(--one-primary);
  --bs-btn-border-color: var(--one-primary);
  --bs-btn-hover-bg: var(--one-primary-hover);
  --bs-btn-hover-border-color: var(--one-primary-hover);
}

/* Conteneur centré commun à tout le site */
.lms-site-centre {
  max-width: var(--lms-site-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: var(--one-spacing-desktop);
  padding-right: var(--one-spacing-desktop);
  box-sizing: border-box;
}

/* Empêcher le scroll horizontal sur mobile, supprimer l'espace sous le bas */
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; vertical-align: middle; }

/* Fond design moderne — gradient mesh, orbes doux, vagues roses légères */
.one-page-body-waves {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    /* Orbe teal doux en haut à gauche */
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(10, 92, 95, 0.06) 0%, transparent 55%),
    /* Orbe accent en bas à droite */
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(62, 180, 184, 0.05) 0%, transparent 50%),
    /* Orbe pastel rose central */
    radial-gradient(ellipse 70% 50% at 60% 40%, rgba(248, 216, 232, 0.08) 0%, transparent 60%),
    /* Lueur douce bas gauche */
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(197, 225, 165, 0.05) 0%, transparent 55%);
}
.one-page-wave-svg {
  position: absolute;
  width: 150%;
  left: -25%;
  bottom: 0;
  height: 220px;
  transform: rotate(-30deg);
  transform-origin: center center;
}
.one-page-wave-top {
  bottom: auto;
  top: 0;
  height: 140px;
  transform: rotate(-30deg) scaleY(-1);
}
.one-page-wave-mid {
  bottom: 38%;
  top: auto;
  height: 160px;
}
.one-page-wave-mid2 {
  bottom: auto;
  top: 55%;
  height: 120px;
}

/* Grille délicate + grain pour profondeur */
.one-page-body {
  font-family: var(--one-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--one-gray-800);
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfdfd 40%, #f8fbfc 70%, #f5f9fa 100%);
  margin: 0;
  position: relative;
}
.one-page-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Grain subtil (premium texture) */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    /* Points discrets, espacés */
    radial-gradient(circle at 1px 1px, rgba(10, 92, 95, 0.04) 1px, transparent 0);
  background-size: 256px 256px, 32px 32px;
  background-position: 0 0, 0 0;
  opacity: 1;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
}

.one-page-container {
  width: var(--one-container);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header — style clicauto : glass, épuré */
.one-page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10, 92, 95, 0.12);
  box-shadow: 0 2px 20px rgba(10, 92, 95, 0.06);
}
.one-page-header .one-page-container,
.one-page-header .container,
.one-page-header .lms-site-centre {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Compenser la hauteur de l'en-tête fixe pour éviter que le contenu passe en dessous */
main { position: relative; z-index: 1; padding-top: 7.5rem; margin-bottom: 0; padding-bottom: 0; }
.one-page-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--one-gray-900);
  font-weight: 600;
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  border-radius: 12px;
  background: transparent;
}
.one-page-logo:hover { color: var(--one-primary); }
.one-page-logo-img {
  height: 70px;
  width: auto;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
  border-radius: 8px;
  display: block;
}
.one-page-logo:hover .one-page-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 3px 8px rgba(10, 92, 95, 0.15));
}
@media (min-width: 768px) {
  .one-page-logo-img { height: 80px; }
  .one-page-header { padding: 1.25rem 0; }
}
.one-page-logo-text {
  font-family: var(--one-font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--one-primary);
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .one-page-logo-text { font-size: 1.55rem; }
}

/* Lang switcher — aligné à droite du conteneur, espacement avec le logo */
.lang-switcher-one {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(10, 92, 95, 0.06);
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.lang-btn:hover {
  border-color: rgba(10, 92, 95, 0.15);
  box-shadow: 0 2px 8px rgba(10, 92, 95, 0.1);
  transform: translateY(-1px);
  background: #fafbfc;
}
.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  border: 1px solid rgba(10, 92, 95, 0.2);
  box-shadow: 0 1px 6px rgba(10, 92, 95, 0.12);
  background: rgba(10, 92, 95, 0.04);
}
.lang-btn .flag-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
}
.lang-btn .flag-fr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect fill='%23002395' width='3' height='6'/%3E%3Crect fill='%23fff' x='3' width='3' height='6'/%3E%3Crect fill='%23ED2939' x='6' width='3' height='6'/%3E%3C/svg%3E");
}
.lang-btn .flag-gb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect fill='%23012169' width='60' height='30'/%3E%3Cpath stroke='%23fff' stroke-width='6' fill='none' d='M0 15h60M30 0v30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' fill='none' d='M0 15h60M30 0v30'/%3E%3Cpath stroke='%23fff' stroke-width='5' fill='none' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='3' fill='none' d='M0 0l60 30M60 0L0 30'/%3E%3C/svg%3E");
}

/* ========== Bloc 1 : Hero style clicauto — grille légère + dégradé ========== */
.block-1-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  border-radius: var(--one-radius-card);
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.12);
}
.block-1-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
}
/* Vagues SVG décoratives */
.block-1-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.block-1-wave-svg {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 120px;
  opacity: 0.9;
}
.block-1-wave-top {
  bottom: auto;
  top: 0;
  height: 80px;
  transform: scaleY(-1);
}
.block-1-inner {
  position: relative;
  z-index: 1;
}
.block-1-left {
  text-align: center;
}
@media (min-width: 768px) {
  .block-1-left { text-align: center; }
}
.block-1-title {
  font-family: var(--one-font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.block-1-tagline {
  font-size: 1.08rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
}
.block-1-right {
  text-align: right;
}
.block-1-reunion {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.block-1-elsewhere {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  letter-spacing: 0.04em;
}

/* ========== Sections — fond et séparation unifiés (comme block-2) ========== */
.block-2-intro,
.block-3-transformations,
.block-4-formations,
.block-5-nos-formations,
.one-section {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ========== Bloc 2 : Image gauche | Encadré vert clair droite — design arrondi ========== */
.block-2-intro .row {
  min-height: 320px;
  border-radius: var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.1);
}
.block-2-image {
  overflow: hidden;
  background: #e0e0e0;
  min-height: 280px;
  border-radius: var(--one-radius-card) 0 0 var(--one-radius-card);
}
.block-2-image .one-img-cover {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}
.block-2-textbox {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 92, 95, 0.1);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 var(--one-radius-card) var(--one-radius-card) 0;
}
.block-2-textbox::before {
  display: none;
}
.block-2-textbox > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .block-2-textbox { border-left: none; }
}
@media (max-width: 767px) {
  .block-2-image { border-radius: var(--one-radius-card) var(--one-radius-card) 0 0; }
  .block-2-textbox { border-radius: 0 0 var(--one-radius-card) var(--one-radius-card); }
}
.block-2-headline {
  font-family: var(--one-font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #000;
  margin: 0 0 0.6rem;
}
.block-2-support {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.block-2-cta { margin: 0; text-align: center; }
.block-2-btn {
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(207, 34, 105, 0.35);
}
.block-2-btn:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(207, 34, 105, 0.45);
}

/* ========== Bloc 3 : Les transformations — design arrondi ========== */
.block-3-transformations {
  padding: 0 1rem 2rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-radius: var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.1);
  position: relative;
  background: #fff;
}
.block-3-transformations::before {
  display: none;
}
.block-3-header {
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  color: #fff;
  border-radius: var(--one-radius-card) var(--one-radius-card) 0 0;
  font-family: var(--one-font-heading);
  font-size: var(--one-title-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
}
.block-3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  border-radius: 0 0 var(--one-radius-card) var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 92, 95, 0.08);
}
.block-3-cell {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  min-height: 120px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.block-3-cell:last-child { border-right: none; }
.block-3-cell:hover {
  transform: translate3d(0, -2px, 0);
}
.block-3-cell--img {
  padding: 0;
  min-height: 280px;
  overflow: hidden;
  align-self: stretch;
}
.block-3-cell--img .one-img-cover {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}
.block-3-cell--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.block-3-cell--text::before {
  display: none;
  z-index: 0;
}
.block-3-cell--text > * {
  position: relative;
  z-index: 1;
}
.block-3-cell-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: 0.9375rem;
  color: #000;
  line-height: 1.45;
}
.block-3-cell-list li {
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
.block-3-cell-list li:last-child {
  margin-bottom: 0;
}
.block-3-cell--text strong {
  font-weight: 700;
}
.block-3-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0;
}
@media (max-width: 767px) {
  .block-3-grid {
    grid-template-columns: 1fr;
  }
  .block-3-cell { border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .block-3-cell:last-child { border-bottom: none; }
  .block-3-cell--img {
    min-height: 220px;
    order: 1;
  }
  .block-3-cell--img .one-img-cover {
    min-height: 220px;
  }
  .block-3-cell--text { order: 2; }
}

/* Boutons */
.one-btn {
  display: inline-block;
  font-family: var(--one-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--one-radius-lg);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.one-btn-primary {
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%);
  color: var(--one-white);
  box-shadow: 0 2px 10px rgba(207, 34, 105, 0.35);
}
.one-btn-primary:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%);
  color: var(--one-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(207, 34, 105, 0.45);
}
/* Variante section méthode */
.one-section .one-btn-primary {
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%);
  color: var(--one-white);
  box-shadow: 0 2px 10px rgba(207, 34, 105, 0.35);
}
.one-section .one-btn-primary:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%);
  color: var(--one-white);
  box-shadow: 0 4px 16px rgba(207, 34, 105, 0.45);
}
/* Bloc 3 */
.block-3-transformations .one-btn-primary {
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%);
  color: var(--one-white);
  box-shadow: 0 2px 10px rgba(207, 34, 105, 0.35);
}
.block-3-transformations .one-btn-primary:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%);
  color: var(--one-white);
  box-shadow: 0 4px 16px rgba(207, 34, 105, 0.45);
}
.one-btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--one-gray-800);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.one-btn-light:hover {
  background: var(--one-white);
  color: var(--one-gray-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.one-btn-outline {
  background: transparent;
  color: #CF2269;
  border: 2px solid #CF2269;
}
.one-btn-outline:hover {
  background: #CF2269;
  color: var(--one-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(207, 34, 105, 0.4);
}

/* ========== Sections avec bandeau vert — design arrondi ========== */
.one-section {
  padding: 3rem 1.25rem;
  border-radius: var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.1);
  background: #fff;
  position: relative;
}
.one-section::before {
  display: none;
}
.one-section > * { position: relative; z-index: 1; }
.one-section--green-bar .one-section-title--bar {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
}
.one-section-title {
  font-family: var(--one-font-heading);
  font-size: var(--one-title-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--one-gray-900);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--one-accent);
  display: inline-block;
}
.one-section-title--bar {
  font-family: var(--one-font-heading);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #fff;
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  border-radius: var(--one-radius) var(--one-radius) 0 0;
  margin: -0.25rem 0 0;
}
.one-cta-wrap { text-align: center; margin: 1.5rem 0 0; }
.one-cta-wrap--right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========== Maquette 2 : Transformations 2x2 ========== */
.one-section--green-bar { background: var(--one-white); }
.one-transform-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  border: 1px solid var(--one-gray-800);
  border-top: none;
  background: var(--one-white);
}
.one-transform-cell {
  padding: 1.25rem;
  border: 1px solid var(--one-gray-200);
  border-left: none;
  border-top: none;
  min-height: 140px;
}
.one-transform-cell:nth-child(1),
.one-transform-cell:nth-child(3) { border-left: 1px solid var(--one-gray-200); }
.one-transform-cell--img {
  padding: 0;
  overflow: hidden;
  min-height: 180px;
}
.one-transform-cell--img .one-img-cover {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.one-transform-cell--text p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--one-gray-800);
  line-height: 1.45;
}
.one-transform-cell--text p:last-child { margin-bottom: 0; }
.one-transform-hr {
  border: none;
  border-top: 1px solid var(--one-gray-300);
  margin: 0.75rem 0;
}
.one-transform-cell--text strong { font-weight: 700; color: var(--one-gray-900); }

@media (max-width: 767px) {
  .one-transform-grid-2x2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .one-transform-cell { border-left: 1px solid var(--one-gray-200) !important; }
  .one-transform-cell--img { min-height: 200px; }
}

/* ========== Maquette 3 : Méthode (2 col : image+texte | texte+portrait) ========== */
.one-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border: 1px solid var(--one-gray-800);
  border-top: none;
  padding: 1.5rem;
  background: var(--one-white);
}
@media (min-width: 900px) {
  .one-method-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.one-method-left,
.one-method-right { min-width: 0; }
.one-method-img-main {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--one-radius);
  margin-bottom: 1rem;
}
.one-method-img-main .one-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.one-method-paragraph {
  font-size: 0.9375rem;
  color: var(--one-gray-700);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}
.one-method-paragraph strong { color: var(--one-gray-900); }
.one-method-portrait {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--one-radius);
  margin: 0.5rem auto 0;
  box-shadow: var(--one-shadow);
}
.one-method-portrait .one-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.one-method-signature {
  display: block;
  max-width: 140px;
  height: auto;
  margin: 0.75rem auto 0;
}
.one-method-divider {
  border: none;
  border-top: 1px solid var(--one-gray-800);
  margin: 1.5rem 0 1rem;
}
.one-method-result {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  border-radius: var(--one-radius-card);
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(10, 92, 95, 0.15);
}

/* ========== Bloc 4 : Nos formations les plus populaires — design arrondi ========== */
.block-4-formations {
  width: 100%;
  padding: 0 1rem 2.5rem;
  box-sizing: border-box;
  border-radius: var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.1);
  position: relative;
  background: #fff;
}
.block-4-formations::before {
  display: none;
}
.block-4-formations > * { position: relative; z-index: 1; }
.block-4-header {
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  color: #fff;
  border-radius: var(--one-radius-card) var(--one-radius-card) 0 0;
  font-family: var(--one-font-heading);
  font-size: var(--one-title-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
}
/* Grille stricte 3 colonnes dès 768px */
.block-4-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  border-radius: 0 0 var(--one-radius-card) var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 92, 95, 0.08);
}
@media (min-width: 768px) {
  .block-4-cols {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 2px;
  }
}
.block-4-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.block-4-col:hover {
  transform: translate3d(0, -2px, 0);
}
@media (min-width: 768px) {
  .block-4-col { border-right: none; }
}
@media (max-width: 767px) {
  .block-4-col {
    border-right: none;
  }
}
/* Photos prévues : image_004 (col 1), image_005 (col 2), image_006 (col 3) */
.block-4-col-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 180px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--one-radius-lg);
  flex-shrink: 0;
}
.block-4-col-image .one-img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.block-4-col-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
}
.block-4-col-overlay-title {
  font-family: var(--one-font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.block-4-col-overlay-tags {
  font-size: 0.7rem;
  opacity: 0.95;
  line-height: 1.35;
}
.block-4-col-greenbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #008B8B;
  color: #fff;
  font-family: var(--one-font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--one-radius);
  text-align: center;
  transition: background 0.2s, filter 0.2s;
}
.block-4-col-greenbar:hover {
  background: #009999;
  color: #fff;
  filter: brightness(1.05);
}
.block-4-col-body {
  padding: 0.9rem 0.75rem;
  flex: 1;
}
.block-4-col-desc {
  font-size: 0.8125rem;
  color: #000;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.block-4-col-meta {
  font-size: 0.75rem;
  color: #000;
  margin: 0 0 0.6rem;
  padding-left: 1rem;
  line-height: 1.4;
  list-style: disc;
}
.block-4-col-meta li {
  margin-bottom: 0.2rem;
}
.block-4-col-meta li:last-child {
  margin-bottom: 0;
}
.block-4-col-testimonial-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 0.2rem;
}
.block-4-col-testimonial {
  font-size: 0.8125rem;
  color: #000;
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}
.block-4-col-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--one-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  text-align: center;
  border: none;
  border-radius: var(--one-radius-lg);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.block-4-col:nth-child(1) .block-4-col-cta {
  background: linear-gradient(135deg, #CF7793 0%, #c06a86 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(207, 119, 147, 0.4);
}
.block-4-col:nth-child(2) .block-4-col-cta {
  background: linear-gradient(135deg, #FFBF67 0%, #f5a93d 100%);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 191, 103, 0.4);
}
.block-4-col:nth-child(3) .block-4-col-cta {
  background: #04979e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(4, 151, 158, 0.4);
}
.block-4-col:nth-child(1) .block-4-col-cta:hover {
  background: linear-gradient(135deg, #d887a0 0%, #b85f7a 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 119, 147, 0.5);
}
.block-4-col:nth-child(2) .block-4-col-cta:hover {
  background: linear-gradient(135deg, #ffc97a 0%, #e99b2e 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 191, 103, 0.5);
}
.block-4-col:nth-child(3) .block-4-col-cta:hover {
  background: #05a8b0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 151, 158, 0.5);
}

/* ========== Bloc 5 : NOS FORMATIONS — design arrondi ========== */
.block-5-nos-formations {
  padding: 0 1rem 2.5rem;
  border-radius: var(--one-radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 92, 95, 0.1);
  position: relative;
  background: #fff;
}
.block-5-nos-formations::before {
  display: none;
}
.block-5-nos-formations > * { position: relative; z-index: 1; }
.block-5-header {
  font-family: var(--one-font-heading);
  font-size: var(--one-title-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
}
.block-5-content {
  border: 1px solid #000;
  border-top: none;
  background: #fff;
}
.block-5-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #000;
}
.block-5-row:last-child {
  border-bottom: none;
}
@media (min-width: 768px) {
  .block-5-row {
    grid-template-columns: 1fr 1fr;
  }
}
.block-5-col {
  padding: 1rem 1.25rem;
  border-right: 1px solid #000;
}
.block-5-col:last-child {
  border-right: none;
}
@media (max-width: 767px) {
  .block-5-col { border-right: none; }
}
.block-5-link {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.9375rem;
}
.block-5-link:hover {
  color: #CF2269;
}
.block-5-intro {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #000;
  text-align: center;
}
.block-5-intro p {
  margin: 0 0 1rem;
  text-align: left;
}
.block-5-intro p:first-child,
.block-5-intro-bold {
  font-weight: 700;
}
.block-5-intro p:last-child {
  margin-bottom: 0;
}
.block-5-cta {
  display: block;
  margin: 1.25rem auto 0;
  width: fit-content;
}
.block-5-image-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eee;
}
.block-5-image-wrap .one-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.block-5-row--empty {
  min-height: 2rem;
}
.block-5-row--logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}
.block-5-logo {
  max-width: 280px;
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========== Bloc 6 : Footer redesigné avec modals ========== */
.block-6-footer {
  margin-top: 3rem;
  margin-bottom: 0;
  padding: 2.5rem 0;
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -4px 24px rgba(10, 92, 95, 0.1);
  position: relative;
}
.block-6-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
.block-6-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.block-6-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.block-6-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}
.block-6-tagline {
  font-family: var(--one-font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}
.block-6-legal-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.block-6-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: var(--one-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--one-radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(207, 34, 105, 0.3);
}
.block-6-badge:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(207, 34, 105, 0.4);
}
.block-6-siret {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Modals légaux */
.block-6-modal-content {
  border-radius: var(--one-radius-card);
  border: 1px solid rgba(10, 92, 95, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}
.block-6-modal-header {
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(600px 350px at 80% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
    linear-gradient(135deg, #0d5c63 0%, #0f6b6b 50%, #127272 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.1rem 1.5rem;
  border-radius: var(--one-radius-card) var(--one-radius-card) 0 0;
}
.block-6-modal-header .modal-title {
  font-family: var(--one-font-heading);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
}
.btn-close-modal {
  opacity: 0.8;
  filter: invert(1);
}
.btn-close-modal:hover {
  opacity: 1;
}
.block-6-modal-body {
  padding: 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.block-6-modal-intro {
  margin-bottom: 1.25rem;
  color: var(--one-gray-700);
}
.block-6-modal-section {
  margin-bottom: 1.25rem;
}
.block-6-modal-section:last-child {
  margin-bottom: 0;
}
.block-6-modal-section h3 {
  font-family: var(--one-font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--one-gray-900);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(10, 92, 95, 0.2);
}
.block-6-modal-section p {
  margin: 0;
  color: var(--one-gray-700);
}

/* Boutons dans les modales : fond framboise comme le reste du site */
.block-6-modal-body .btn,
.block-6-modal-body .one-btn,
.block-6-modal-body .btn.btn-primary {
  --bs-btn-bg: #CF2269;
  --bs-btn-border-color: #b81d5d;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #d92d75;
  --bs-btn-hover-border-color: #a01852;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #a01852;
  --bs-btn-active-border-color: #a01852;
  --bs-btn-active-color: #fff;
  background: linear-gradient(135deg, #CF2269 0%, #b81d5d 100%) !important;
  background-color: #CF2269 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(207, 34, 105, 0.35) !important;
}
.block-6-modal-body .btn:hover,
.block-6-modal-body .one-btn:hover,
.block-6-modal-body .btn.btn-primary:hover {
  background: linear-gradient(135deg, #d92d75 0%, #a01852 100%) !important;
  background-color: #d92d75 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 16px rgba(207, 34, 105, 0.45) !important;
}

.one-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ========== RESPONSIVE — mobile-first, breakpoints 480px et 768px ========== */
@media (max-width: 767px) {
  main { padding-top: 6rem; }
  .lms-site-centre,
  .one-page-container {
    padding-left: var(--one-spacing-mobile);
    padding-right: var(--one-spacing-mobile);
  }
  .one-page-header .lms-site-centre { padding-left: var(--one-spacing-mobile); padding-right: var(--one-spacing-mobile); }
  .one-page-logo { gap: 0.5rem; }
  .one-page-logo-text { font-size: 1.2rem; }
  .block-1-banner .block-1-inner .container { padding-left: var(--one-spacing-mobile); padding-right: var(--one-spacing-mobile); }
  .block-1-title { font-size: clamp(1.45rem, 5.5vw, 2.05rem); }
  .block-1-right { text-align: center; }
  .block-2-intro { padding-left: var(--one-spacing-mobile); padding-right: var(--one-spacing-mobile); }
  .block-2-intro .row { min-height: auto; }
  .block-2-image { min-height: 220px; }
  .block-2-image .one-img-cover { min-height: 220px; }
  .block-2-textbox { padding: 1.5rem var(--one-spacing-mobile); }
  .block-2-headline { font-size: clamp(1.1rem, 4vw, 1.35rem); }
  .block-3-transformations { padding: 0 var(--one-spacing-mobile) 1.5rem; margin-left: var(--one-spacing-mobile); margin-right: var(--one-spacing-mobile); }
  .block-3-header { font-size: clamp(1.1rem, 3.5vw, 1.4rem); padding: 0.65rem 0.75rem; }
  .block-3-cell { padding: 1rem; }
  .block-3-cell-list { font-size: 0.9rem; padding-left: 1rem; }
  .block-3-cta { margin: 0.75rem 0 0; }
  .block-3-cta .one-btn { width: 100%; max-width: 280px; min-height: 44px; }
  .one-section { padding-left: 0; padding-right: 0; }
  .one-section-title--bar { font-size: clamp(1.1rem, 3.5vw, 1.4rem); padding: 0.6rem 0.75rem; }
  .one-method-grid { padding: 1rem; gap: 1rem; }
  .one-method-paragraph { font-size: 0.9rem; }
  .one-method-result { padding: 1rem var(--one-spacing-mobile); font-size: 1.05rem; }
  .one-method-portrait { max-width: 160px; }
  .one-cta-wrap--right .one-btn { width: 100%; max-width: 280px; min-height: 44px; }
  .block-4-formations { padding: 0 var(--one-spacing-mobile) 1.5rem; }
  .block-4-header { font-size: clamp(1.1rem, 3.5vw, 1.4rem); padding: 0.65rem 0.75rem; }
  .block-4-col-body { padding: 1rem; }
  .block-4-col-desc { font-size: 0.9rem; }
  .block-4-col-cta { min-height: 44px; padding: 0.65rem 1rem; }
  .block-5-nos-formations { padding: 0 var(--one-spacing-mobile) 1.5rem; margin-left: var(--one-spacing-mobile); margin-right: var(--one-spacing-mobile); }
  .block-5-header { font-size: clamp(1.1rem, 3.5vw, 1.4rem); padding: 0.65rem 0.75rem; }
  .block-5-col { padding: 0.75rem var(--one-spacing-mobile); }
  .block-5-link { font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
  .block-6-footer { padding: 2rem var(--one-spacing-mobile); }
  .block-6-brand { flex-direction: column; gap: 0.5rem; }
  .block-6-legal-badges { gap: 0.4rem; }
  .block-6-badge { padding: 0.5rem 0.75rem; font-size: 0.8125rem; min-height: 44px; }
  .lang-btn { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
  .one-btn { min-height: 44px; padding: 0.65rem 1.25rem; }
}
@media (max-width: 480px) {
  main { padding-top: 5.5rem; }
  .lms-site-centre,
  .one-page-container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .one-page-header .lms-site-centre { padding-left: 0.75rem; padding-right: 0.75rem; }
  .one-page-logo-img { height: 60px; }
  .one-page-logo-text { font-size: 1rem; }
  .block-2-intro { padding-left: 0.75rem; padding-right: 0.75rem; }
  .block-2-textbox { padding: 1.25rem 0.75rem; }
  .block-3-transformations { margin-left: 0.5rem; margin-right: 0.5rem; padding-left: 0.75rem; padding-right: 0.75rem; }
  .block-4-formations { padding-left: 0.75rem; padding-right: 0.75rem; }
  .block-5-nos-formations { margin-left: 0.5rem; margin-right: 0.5rem; padding-left: 0.75rem; padding-right: 0.75rem; }
  .block-6-footer { padding: 1.5rem 0.75rem; }
  .block-6-badge { padding: 0.45rem 0.6rem; font-size: 0.75rem; }
  .block-4-col-image { min-height: 160px; }
}
