/*
 Theme Name:   EMC
 Theme URI:    https://www.emc.fr/
 Description:  Custom child theme
 Author:       ECLOSE
 Author URI:   https://www.eclose.studio
 Template:     hello-elementor
 Version:      1.0
*/
/* Menu
/* Tous les panneaux cachés par défaut */
.elementor-popup-modal.emc-menu-mobile .emc-panel{display:none !important;}
/* Seul le panneau actif est visible */
.elementor-popup-modal.emc-menu-mobile .emc-panel.is-active {display:flex !important;}
/* Curseur sur les items de navigation interne */
.elementor-popup-modal.emc-menu-mobile a[href^="#panel-"] {cursor:pointer;color:#FFFFFF !important;}
.elementor-popup-modal.emc-menu-mobile a{color:#FFFFFF !important;}
/* Desktop */
.emc-menu-desktop .elementor-heading-title a {position: relative;display: inline-block;text-decoration: none !important;padding-bottom: 6px;}
.emc-menu-desktop .elementor-heading-title a::after {content: '';position: absolute;left: 0;bottom: 0;width: 100%;height: 2px;background-color: #FFFFFF;transform: scaleX(0);transform-origin: left center;transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
/* Hover + accessibilité clavier */
.emc-menu-desktop .elementor-heading-title a:hover::after, .emc-menu-desktop .elementor-heading-title a:focus-visible::after {transform: scaleX(1);}
/* EMC menu desktop — underline images liées (Cinema / Son / Event) */
.emc-menu-desktop .elementor-widget-image a {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
  padding-bottom: 6px;
  line-height: 0; /* colle le trait sous l'image */
}
.emc-menu-desktop .elementor-widget-image a img {
  display: block;
  vertical-align: top;
}
.emc-menu-desktop .elementor-widget-image a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.emc-menu-desktop .elementor-widget-image a:hover::after,
.emc-menu-desktop .elementor-widget-image a:focus-visible::after {
  transform: scaleX(1);
}
/* Hero HP */
.hero-emc {pointer-events:none;}
.hero-emc a, .hero-emc button, .hero-emc .elementor-button, .hero-emc .elementor-widget-video, .hero-emc input, .hero-emc span, .hero-emc h1, .hero-emc p {pointer-events: auto;}


/* Mobile CTA */
#mobilecta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  z-index: 999; /* sous le header si besoin, au-dessus du contenu */
  transform: translateY(100%); /* caché sous l'écran */
  transition: transform 0.34s ease;
}
#mobilecta.ctashow {
  transform: translateY(0); /* visible */
}
/* Ticker */
.emc-ticker {width: 100%;overflow: hidden;background: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);color: #FFFFFF;padding: 12px 0;-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);opacity: 0.9;pointer-events: auto;}
.emc-ticker__track {display: flex;width: max-content;will-change: transform;animation: emc-ticker-scroll var(--duration, 30s) linear infinite;}
.emc-ticker__group {display: flex;align-items: center;flex-shrink: 0;white-space: nowrap;font-size: 13px;font-weight: 500;font-family: 'Oswald';text-transform: uppercase;}
.emc-ticker__item {display: inline-block;}
.emc-ticker__sep {display: inline-block;margin: 0 1.25rem;opacity: 0.45;font-size: 1rem;line-height: 1;user-select: none;color:#B31211;}
.emc-ticker a {color: inherit;text-decoration: none;}
.emc-ticker a:hover {color: #FFFFFF;}
@keyframes emc-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * var(--distance, 0px)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .emc-ticker__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .emc-ticker__group:not(:first-child) {
    display: none;
  }
}
/* Content */
/* SVG Fix */
.elm-ico-p g{clip-path:url(#clip0) !important;}
.br_i_10 img{border-radius:20px;}
.blend_i{mix-blend-mode:color;}
.Free_Content_Blocs p{font-size:16px !important;line-height:26px !important;}
.Free_Content_Blocs ul{margin-bottom:20px;font-size:16px !important;line-height:26px !important;padding-left:20px;}
.Free_Content_Blocs ul li::marker {color:#B31211;font-size: 16px !important;content:"●";}
/* EMC Free_Content_Blocs — listes héritent la couleur Elementor
   (override .elementor-widget-ae-acf-repeater li → var(--e-global-color-text)) */
.elementor-widget-ae-acf-repeater .Free_Content_Blocs li,
.elementor-widget-ae-acf-repeater .Free_Content_Blocs li a,
.Free_Content_Blocs li,
.Free_Content_Blocs li a {
  color: inherit;
}
.Free_Content_Blocs ol > li::before {
  color: #B31211 !important;
}
.Free_Content_Blocs ul li::marker {
  color: #B31211 !important;
}

.Free_Content_Blocs ul li{padding-left:12px;}
.Free_Content_Blocs ol{margin-bottom:20px;font-size:16px !important;line-height:26px !important;padding-left:8px;list-style:none;counter-reset:emc-ol;}
.Free_Content_Blocs ol > li{position:relative;padding-left:28px;counter-increment:emc-ol;}
.Free_Content_Blocs ol > li::before{content:counter(emc-ol) ".";position:absolute;left:0;top:0;width:22px;color:#B31211 !important;font-weight:700;font-variant-numeric:tabular-nums;line-height:26px;text-align:right;}
.Free_Content_Blocs li{margin-bottom:5px;}
.Free_Content_Blocs h2{font-size:22px !important; line-height:32px !important;margin-bottom:20px;text-transform:uppercase;}
.Free_Content_Blocs h3{font-size:19px !important;line-height:29px !important;text-transform:none !important;}
.Free_Content_Blocs h4, .Free_Content_Blocs h5, .Free_Content_Blocs h6{font-size:18px !important;line-height:28px !important;text-transform:none !important;}
.Free_Content_Blocs img{margin:20px 0px;border-radius:20px;}
.l_w a{color:#FFFFFF !important;}
/* Inner Tabs & Accordéons */
.emc-acf-tabs, .elementor-element:has(.Inner_Toggle) {--emc-scroll-bg: #ffffff;--emc-red: #B31211;}
/* ACCORDÉON */
.Inner_Toggle {max-height: 390px;overflow-x: hidden;overflow-y: auto;scrollbar-width: thin;scrollbar-color: rgba(179, 18, 17, 0.45) transparent;box-sizing: border-box;}
.Inner_Toggle div { height: auto; }
.Inner_Toggle::-webkit-scrollbar { width: 3px; }
.Inner_Toggle::-webkit-scrollbar-track { background: transparent; }
.Inner_Toggle::-webkit-scrollbar-thumb {background: rgba(179, 18, 17, 0.3);border-radius: 3px;}
.Inner_Toggle:hover::-webkit-scrollbar-thumb { background: var(--emc-red); }
/* TABS */
.emc-acf-tabs {--emc-tab-h: 390px;--emc-red: #B31211;}
/* Swiper EMC */
.EMC_swiper_bullet .swiper-pagination-bullet{opacity: var(--swiper-pagination-bullet-inactive-opacity, .7);}
.EMC_swiper_bullet .swiper-pagination-bullet-active{opacity: var(--swiper-pagination-bullet-opacity, 1);}
/* Contenu tab scrollable */
.emc-acf-tabs .ae-acf-repeater-tab-content {
  max-height: var(--emc-tab-h) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  padding-top: 0 !important;
  width: calc(100% - 5px);
  margin-right: 5px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(179, 18, 17, 0.45) transparent;
  /* Fade bas */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Scrollbar WebKit */
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar {width: 3px;}
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar-track {background: transparent;}
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar-thumb {background: rgba(179, 18, 17, 0.35);border-radius: 3px;}
.emc-acf-tabs .ae-acf-repeater-tab-content:hover::-webkit-scrollbar-thumb {background: var(--emc-red);}
.emc-acf-tabs .ae-acf-repeater-tab-content .Inner_Tab,
.emc-acf-tabs .ae-acf-repeater-tab-content .Inner_Tab > .elementor-widget-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.emc-acf-tabs .ae-acf-repeater-tab-content {padding-top: 0 !important;}
.emc-acf-tabs .ae-acf-repeater-tab-content > *:first-child {padding-top: 30px;}
/* Mobile / tablette étroite */
@media (max-width: 950px) {
  .emc-acf-tabs .ae-acf-repeater-tab-content {
    max-height: 390px !important;
  }
}
/* Accessibilité motion */
@media (prefers-reduced-motion: reduce) {
  .emc-acf-tabs .ae-acf-repeater-tab-content {
    scroll-behavior: auto;
  }
}



/* ===== EMC FAQ Block ===== */
.emc-faq-block {
  --emc-title-grad: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);;
  --emc-title-active: #ffffff;
  --emc-title-inactive: #ffffffa6;
  --emc-sep: rgba(255, 255, 255, 0.07);
  --emc-panel: #efefef;
  --emc-text: #111111;
  --emc-bullet: #b31211;
}

/* Titre + intro de section (optionnels) */
.emc-faq-block__section-title {
  margin: 0 0 10px;
}

.emc-faq-block__section-intro {
  margin: 0 0 24px;
}

/* Conteneur accordéon */
.emc-faq-block__items {
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

/* Item */
.emc-faq-item {
  margin: 0;
  border-top: 1px solid var(--emc-sep);
  background: transparent;
}

.emc-faq-item:first-child {
  border-top: 0;
}

/* Header */
.emc-faq-item__question {
  display: block;
  width: 100%;
  margin: 0;
  padding: 45px 78px 45px 40px;
  background: var(--emc-title-grad);
  position: relative;
  cursor: pointer;
  user-select: none;
}

/* H3 question */
.emc-faq-item__question-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--emc-title-inactive);
  transition: color 0.22s ease;
}

.emc-faq-item.is-open .emc-faq-item__question-title {
  color: var(--emc-title-active);
}

/* Chevron bas (fermé) / haut (ouvert) */
.emc-faq-item__question::before,
.emc-faq-item__question::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 10px;
  height: 2px;
  background: #fff;
  transform-origin: center;
  transition: transform 0.22s ease;
}

/* fermé = chevron bas */
.emc-faq-item__question::before {
  transform: translateY(-50%) translateX(-3px) rotate(45deg);
}
.emc-faq-item__question::after {
  transform: translateY(-50%) translateX(3px) rotate(-45deg);
}

/* ouvert = chevron haut */
.emc-faq-item.is-open .emc-faq-item__question::before {
  transform: translateY(-50%) translateX(-3px) rotate(-45deg);
}
.emc-faq-item.is-open .emc-faq-item__question::after {
  transform: translateY(-50%) translateX(3px) rotate(45deg);
}

/* Panneau (animation gérée par jQuery slideUp/slideDown) */
.emc-faq-item__panel {
  background: var(--emc-panel);
  color: var(--emc-text);
  overflow: hidden;
}

/* Contenu */
.emc-faq-item__answer-inner.Free_Content_Blocs {
  padding: 30px 30px 40px 40px;
  max-height: 390px;
  overflow: auto;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  line-height: 26px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs {
  max-height: 390px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  /* ton padding interne demandé */
  padding: 30px 30px 40px 40px !important;
  /* décale la scrollbar du bord */
  width: calc(100% - 5px);
  margin-right: 5px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(179, 18, 17, 0.45) transparent;
  /* Fade bas (texte qui passe dessous) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Scrollbar WebKit */
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar {
  width: 3px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar-track {
  background: transparent;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar-thumb {
  background: rgba(179, 18, 17, 0.35);
  border-radius: 3px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs:hover::-webkit-scrollbar-thumb {
  background: var(--emc-red, #b31211);
}

.emc-faq-item__answer-inner > *:first-child {
  margin-top: 0;
}
.emc-faq-item__answer-inner > *:last-child {
  margin-bottom: 0;
}

.emc-faq-item__answer-inner ul li::marker {
  color: var(--emc-bullet);
}

/* Scrollbar */
.emc-faq-item__answer-inner {
  scrollbar-width: thin;
  scrollbar-color: var(--emc-bullet) transparent;
}
.emc-faq-item__answer-inner::-webkit-scrollbar {
  width: 6px;
}
.emc-faq-item__answer-inner::-webkit-scrollbar-thumb {
  background: var(--emc-bullet);
  border-radius: 10px;
}

/* Focus accessibilité */
.emc-faq-item__question:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

/* Arrondis globaux */
.emc-faq-item:first-child .emc-faq-item__question {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.emc-faq-item:last-child.is-open .emc-faq-item__panel {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.emc-faq-item:last-child:not(.is-open) .emc-faq-item__question {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Mobile */
@media (max-width: 950px) {
  .emc-faq-item__question {
    padding: 35px 58px 35px 20px;
  }

  .emc-faq-item__question-title {
    font-size: 16px;
    line-height: 22px;
  }

  .emc-faq-item__question::before,
  .emc-faq-item__question::after {
    right: 20px;
  }

  .emc-faq-item__answer-inner.Free_Content_Blocs {
    padding: 20px 30px 50px 10px;
  }
}
.Tabs_EMC_H div.elementor-widget-container{border-radius:20px;overflow:hidden;}
.emc-gradient-blue, .Tabs_EMC_H .elementor-tab-title, .Tabs_EMC_H .ae-acf-repeater-tab-title{background: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);}
.Tabs_EMC_H .elementor-tab-content p, .Tabs_EMC_H .elementor-tab-content ul li, .Tabs_EMC_H .ae-acf-repeater-tab-content p, .Tabs_EMC_H .ae-acf-repeater-tab-content ul li{color:#000000;}
/* Colonnes Hub Ressources */
.emc-post-grid-2 .ae-post-collection {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
/* Annule float/flex Dynific */
.emc-post-grid-2 .ae-post-collection > * {
  width: 100% !important;
  float: none !important;
  max-width: 100% !important;
}
/* Tablette + mobile : 1 colonne */
@media (max-width: 1140px) {
  .emc-post-grid-2 .ae-post-collection {
    grid-template-columns: 1fr !important;
  }
}
/* Paginations  Hub Articles */
.infinite-scroll-error, .ae-pagination-wrapper{display:none;}
/* Productions */
.emc-prod-thumb{cursor:pointer;}
/* Lecteur dans la modale */
.emc-video-modal .emc-video-modal__player {position:relative;padding-bottom:56.25%; /* 16:9 */height: 0;}
.emc-video-modal .emc-video-modal__player iframe {position: absolute;inset: 0;width: 100%;height: 100%;border-radius: 10px;}
/* Text Effects */
.text-gradient-blue{background-image:linear-gradient(90deg, #007EFF, #3C00FF);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;}
.emc-sticky-stack {
  position: relative;
  --emc-sticky-top: 120px; /* header visible par défaut */
}
/* ===== EMC Sticky Stack ===== */
.emc-sticky-stack {
  position: relative;
  padding-top: 120px !important;
  overflow: visible !important;
}

.emc-sticky-stack,
.emc-sticky-stack .e-con,
.emc-sticky-stack .e-con-inner,
.emc-sticky-stack .elementor-widget,
.emc-sticky-stack .elementor-widget-container {
  overflow: visible !important;
}

/* Liste Dynific (vrai wrapper) */
.emc-sticky-stack .ae-post-collection {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  transform: none !important;
}

/* Chaque card = enfant direct de ae-post-collection */
.emc-sticky-stack .ae-post-collection > * {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 10px 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  position: sticky !important;
  min-height: 500px;
  overflow: hidden;
  box-shadow:
    0 -4px 10px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.emc-sticky-stack .ae-post-collection > *:last-child {
  margin-bottom: 120 !important;
}

/* Cascade +20px */
.emc-sticky-stack .ae-post-collection > *:nth-child(1)  { top: 120px !important; z-index: 1; }
.emc-sticky-stack .ae-post-collection > *:nth-child(2)  { top: 130px !important; z-index: 2; }
.emc-sticky-stack .ae-post-collection > *:nth-child(3)  { top: 140px !important; z-index: 3; }
.emc-sticky-stack .ae-post-collection > *:nth-child(4)  { top: 150px !important; z-index: 4; }
.emc-sticky-stack .ae-post-collection > *:nth-child(5)  { top: 160px !important; z-index: 5; }
.emc-sticky-stack .ae-post-collection > *:nth-child(6)  { top: 170px !important; z-index: 6; }
.emc-sticky-stack .ae-post-collection > *:nth-child(7)  { top: 180px !important; z-index: 7; }
.emc-sticky-stack .ae-post-collection > *:nth-child(8)  { top: 190px !important; z-index: 8; }
.emc-sticky-stack .ae-post-collection > *:nth-child(9)  { top: 200px !important; z-index: 9; }
.emc-sticky-stack .ae-post-collection > *:nth-child(10) { top: 210px !important; z-index: 10; }
.emc-sticky-stack .ae-post-collection > *:nth-child(11) { top: 220px !important; z-index: 11; }
.emc-sticky-stack .ae-post-collection > *:nth-child(12) { top: 230px !important; z-index: 12; }

/* Layout interne */
.emc-sticky-stack .emc-sticky-stack__item {
  position: relative !important;
  top: auto !important;
  height: 100%;
  margin: 0 !important;
  box-shadow: none !important;
}

/* ===== Mobile : sticky conservé sans respiration haute ===== */
@media (max-width: 767px) {
  .emc-sticky-stack {
    padding-top: 120px !important;
  }
  .emc-sticky-stack .ae-post-collection > * {
    min-height: auto;
  }
  .emc-sticky-stack .ae-post-collection > *:nth-child(1)  { top: 120 !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(2)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(3)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(4)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(5)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(6)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(7)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(8)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(9)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(10) { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(11) { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(12) { top: 120px !important; }
}
/* ===== EMC Sticky Stack ===== */
/* Responsive */
@media screen and (max-width: 1140px) {
.Free_Content_Blocs p{font-size:14px !important;line-height:24px !important;}
.Free_Content_Blocs ul{margin-bottom:20px;font-size:14px !important;line-height:24px !important;padding-left:20px;}
.Free_Content_Blocs ul li::marker {color:#B31211;font-size: 14px !important;content:"●";}
.Free_Content_Blocs ul li{padding-left:12px;}
.Free_Content_Blocs ol{margin-bottom:20px;font-size:14px !important;line-height:24px !important;padding-left:8px;list-style:none;counter-reset:emc-ol;}
.Free_Content_Blocs ol > li{position:relative;padding-left:26px;counter-increment:emc-ol;}
.Free_Content_Blocs ol > li::before{content:counter(emc-ol) ".";position:absolute;left:0;top:0;width:20px;color:#B31211 !important;font-weight:700;font-variant-numeric:tabular-nums;line-height:24px;text-align:right;}
.Free_Content_Blocs h2{font-size:18px !important; line-height:28px !important;margin-bottom:20px;text-transform:uppercase;}
.Free_Content_Blocs h3{font-size:16.5px !important;line-height:26.5px !important;text-transform:uppercase;}
.Free_Content_Blocs h4, .Free_Content_Blocs h5, .Free_Content_Blocs h6{font-size:16px !important;line-height:26px !important;text-transform:uppercase;}
}

/* Flexible Pages */
/* ===== EMC Page Flexible ===== */
.emc-page-flexible {
  --emc-flex-gap: 64px;
  --emc-flex-gap-sm: 40px;
  --emc-red: #b31211;
  --emc-text: #111;
  --emc-muted: #5a5a5a;
  --emc-border: #e6e6e6;
  --emc-soft: #f5f5f5;
}

.emc-flex__title {
  margin: 0 0 16px;
  color: var(--emc-text);
  line-height: 1.2;
}

.emc-flex__intro {
  margin: 0 0 28px;
  color: var(--emc-muted);
  max-width: 70ch;
}

.emc-flex__content {
  color: var(--emc-text);
}

.emc-flex__content > *:first-child { margin-top: 0; }
.emc-flex__content > *:last-child { margin-bottom: 0; }

/* ===== EMC Flex : texte pleine largeur (dark) ===== */
.emc-flex--texte {
  background-color: transparent;
  color: #ffffff;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-bottom: 0;
}
/* Fond image + overlay */
.emc-flex--texte::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%),
    url("/wp-content/uploads/2026/06/bg-dbc-010.jpg") center center / cover no-repeat;
}

.emc-flex--texte .emc-flex__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

/* H2 */
.emc-flex--texte h2.emc-flex__title {
  font-size: 42px;
  line-height: 50px;
}

/* H3 */
.emc-flex--texte h3.emc-flex__title {
  font-size: 19px;
  line-height: 29px;
}

/* H4 / H5 / H6 */
.emc-flex--texte h4.emc-flex__title,
.emc-flex--texte h5.emc-flex__title,
.emc-flex--texte h6.emc-flex__title {
  font-size: 18px;
  line-height: 28px;
}

.emc-flex--texte .emc-flex__content.Free_Content_Blocs,
.emc-flex--texte .emc-flex__content.Free_Content_Blocs p,
.emc-flex--texte .emc-flex__content.Free_Content_Blocs * {
  color: #ffffff;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--texte h2.emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--texte h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte h4.emc-flex__title,
  .emc-flex--texte h5.emc-flex__title,
  .emc-flex--texte h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Mobile ≤ 950px */
@media (max-width: 950px) {
  .emc-flex--texte h2.emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--texte h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte h4.emc-flex__title,
  .emc-flex--texte h5.emc-flex__title,
  .emc-flex--texte h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ===== EMC Flex : 2 colonnes ===== */
.emc-flex--deux-colonnes {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr; /* média 45 / texte 55 */
  gap: 50px;
  align-items: stretch;
  margin-bottom: 100px;
}

/* Média à droite : order (évite direction:rtl qui décale le contenu à gauche) */
.emc-flex--deux-colonnes.emc-flex--media-droite {
  grid-template-columns: 0.55fr 0.45fr; /* texte 55 / média 45 */
}
.emc-flex--deux-colonnes.emc-flex--media-droite .emc-flex__body {
  order: 1;
}
.emc-flex--deux-colonnes.emc-flex--media-droite .emc-flex__media {
  order: 2;
}

/* Colonne média */
.emc-flex--deux-colonnes .emc-flex__media {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 1px solid #FFFFFF12;
}

.emc-flex--deux-colonnes .emc-flex__media img,
.emc-flex--deux-colonnes .emc-flex__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emc-flex--deux-colonnes .emc-flex__media iframe,
.emc-flex--deux-colonnes .emc-flex__media .emc-flex__video,
.emc-flex--deux-colonnes .emc-flex__media .emc-flex__video > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Colonne texte */
.emc-flex--deux-colonnes .emc-flex__body {
  /* background: #ffffff; */
  color: #FFFFFF;
  /* border-radius: 20px; */
  /* padding: 50px 50px 60px 50px; */
  box-sizing: border-box;
  min-height: 450px;
}

.emc-flex--deux-colonnes .emc-flex__title {
  margin: 0 0 20px;
  color: #FFFFFF;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Le WYSIWYG est déjà géré par Free_Content_Blocs */
.emc-flex--deux-colonnes .emc-flex__content.Free_Content_Blocs {
  color: #FFFFFF;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--deux-colonnes {
    gap: 30px;
  }

  /* .emc-flex--deux-colonnes .emc-flex__body {
    padding: 40px 40px 50px 40px;
  } */

  .emc-flex--deux-colonnes .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* Mobile ≤ 950px : 1 colonne, écart vertical 40px */
@media (max-width: 950px) {
  .emc-flex--deux-colonnes {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .emc-flex--deux-colonnes.emc-flex--media-droite {
    grid-template-columns: 1fr;
  }

  .emc-flex--deux-colonnes .emc-flex__body {
    /* padding: 30px 30px 40px 30px; */
    min-height: 0;
  }

  .emc-flex--deux-colonnes .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .emc-flex--deux-colonnes .emc-flex__media {
    height: 250px;
  }

  /* ordre mobile : média puis texte */
  .emc-flex--deux-colonnes .emc-flex__media {
    order: 1;
  }
  .emc-flex--deux-colonnes .emc-flex__body {
    order: 2;
  }
}

/* CTA du bloc 2 colonnes */
.emc-flex--deux-colonnes .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;
  border: 1px solid #2680EB;
  border-radius: 100px;
  background: linear-gradient(90deg, #2680EB 0%, #3C00FF 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.emc-flex--deux-colonnes .emc-flex__cta:hover,
.emc-flex--deux-colonnes .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007EFF 0%, #3300D8 100%);
  border-color: #2680EB;
}
@media (max-width: 1140px) {
  .emc-flex--deux-colonnes .emc-flex__cta {
    padding: 15px 40px;
    font-size: 13px;
    line-height: 21px;
  }
}
@media (max-width: 950px) {
  .emc-flex--deux-colonnes .emc-flex__cta {
    padding: 15px 40px;
    font-size: 13px;
    line-height: 21px;
  }
}

/* ===== EMC Flex : cartes (header) ===== */
.emc-flex--cartes {
  margin-bottom: 100px;
  background: transparent; /* le fond page noir suffit */
}

.emc-flex--cartes .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 50px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--cartes .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--cartes .emc-flex__intro {
  max-width: none;
  margin: 0; /* annule aussi le margin-bottom: 28px global */
  color: #ffffff;
  text-align: center;
}
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs,
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs p {
  text-align: center;
}

.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--cartes .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ===== EMC Flex : cards ===== */
.emc-flex--cartes .emc-flex__cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.emc-flex--cartes .emc-flex__cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
  flex: 0 1 calc((100% - 60px) / 3); /* 3 cols, 2 gaps of 30px */
  max-width: calc((100% - 60px) / 3);
  width: 100%;
  box-sizing: border-box;
}

.emc-flex--cartes .emc-flex__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

/* Image */
.emc-flex--cartes .emc-flex__card-media {
  padding: 10px;
  box-sizing: border-box;
}

.emc-flex--cartes .emc-flex__card-media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: -20px;
}

/* Texte */
.emc-flex--cartes .emc-flex__card-body {
  padding: 50px 30px 60px 30px;
  box-sizing: border-box;
  text-align: left;
  color: #000000;
}

.emc-flex--cartes .emc-flex__card-title {
  margin: 0 0 16px;
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs {
  color: #000000;
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs,
.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs p {
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}
.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

/* Lien pleine carte */
.emc-flex--cartes .emc-flex__card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Tablette */
@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__card-body {
    padding: 40px 30px 50px 30px;
  }

  .emc-flex--cartes .emc-flex__card-title {
    font-size: 17px;
    line-height: 23px;
  }
}

/* Mobile */
@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
    flex-basis: calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 950px) {
  .emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .emc-flex--cartes .emc-flex__card-body {
    padding: 30px 30px 40px 30px;
  }

  .emc-flex--cartes .emc-flex__card-title {
    font-size: 16px;
    line-height: 22px;
  }
}

/* ===== EMC Flex : chiffres ===== */
.emc-flex--chiffres .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--chiffres .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--chiffres .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--chiffres .emc-flex__intro.Free_Content_Blocs,
.emc-flex--chiffres .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Liquid glass */
.emc-flex--chiffres .emc-glass {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid #FFFFFF12;
  background: #FFFFFF12;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Grille : max 4 par ligne, wrap ensuite */
.emc-flex--chiffres .emc-flex__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: start;
  justify-items: center;
}

.emc-flex--chiffres .emc-flex__stat {
  width: 100%;
  max-width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emc-flex--chiffres .emc-flex__stat-value {
  margin: 0 0 10px;
  color: #B31211;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 68px;
  text-transform: uppercase;
}

.emc-flex--chiffres .emc-flex__stat-label {
  margin: 0;
  color: #FFFFFF;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  text-transform: uppercase;
  text-align: center;
}

/* Tablette */
@media (max-width: 1140px) {
  .emc-flex--chiffres .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--chiffres .emc-flex__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emc-flex--chiffres .emc-flex__stat-value {
    font-size: 48px;
    line-height: 56px;
  }

  .emc-flex--chiffres .emc-flex__stat-label {
    font-size: 13px;
    line-height: 21px;
  }
}

/* Mobile */
@media (max-width: 950px) {
  .emc-flex--chiffres .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--chiffres .emc-flex__stats {
    grid-template-columns: 1fr;
  }

  .emc-flex--chiffres .emc-flex__stat-value {
    font-size: 60px;
    line-height: 68px;
  }

  .emc-flex--chiffres .emc-flex__stat-label {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ===== EMC Flex : diaporama / vidéo ===== */
.emc-flex--diaporama-video {
  margin-bottom: 100px;
}

.emc-flex--diaporama-video .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--diaporama-video .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--diaporama-video .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--diaporama-video .emc-flex__intro.Free_Content_Blocs,
.emc-flex--diaporama-video .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Section média : 800px max */
.emc-flex--diaporama-video .emc-flex__media-wrap {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #FFFFFF12;
  background: #111;
}

/* Vidéo : 450px cover */
.emc-flex--diaporama-video .emc-flex__video,
.emc-flex--diaporama-video .emc-flex__video iframe,
.emc-flex--diaporama-video .emc-flex__video video {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
  border: 0;
  border-radius: 20px;
}

/* Diapo */
.emc-diapo {
  position: relative;
}

.emc-diapo__viewport {
  overflow: hidden;
  width: 100%;
}

.emc-diapo__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.emc-diapo__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.emc-diapo__slide img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Dots uniquement */
.emc-diapo__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.emc-diapo__dot,
.emc-diapo__dots button.emc-diapo__dot {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  margin: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

.emc-diapo__dot.is-active,
.emc-diapo__dots button.emc-diapo__dot.is-active {
  background: #B31211;
  background-image: none;
}

@media (max-width: 1140px) {
  .emc-flex--diaporama-video .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--diaporama-video .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--diaporama-video .emc-flex__video,
  .emc-flex--diaporama-video .emc-flex__video iframe,
  .emc-flex--diaporama-video .emc-flex__video video,
  .emc-diapo__slide img {
    height: 250px;
  }
}

/* ===== EMC Flex : logos ===== */
.emc-flex--logos .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--logos .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--logos .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--logos .emc-flex__intro.Free_Content_Blocs,
.emc-flex--logos .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Même fond que texte pleine largeur */
.emc-flex--logos::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%),
    url("/wp-content/uploads/2026/06/bg-dbc-010.jpg") center center / cover no-repeat;
}

/* Marquee — HP / partenaires (--md) · équipements (--lg) */
.emc-logos-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.emc-logos-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: emc-logos-scroll var(--emc-logos-duration, 70s) linear infinite;
}

/* --- Taille MD : HP + partenaires / flexible --- */
.emc-logos-marquee--md .emc-logos-marquee__item,
.emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
  flex: 0 0 auto;
  width: max-content;
  min-width: 160px;
  height: 80px;
  padding: 0 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emc-logos-marquee--md .emc-logos-marquee__item img,
.emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
.elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
.emc-flex--logos .emc-logos-marquee__item img {
  display: block !important;
  width: auto !important;
  height: 56px !important;
  max-width: 180px !important;
  max-height: 56px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* --- Taille LG : équipements --- */
.emc-logos-marquee--lg .emc-logos-marquee__item {
  flex: 0 0 auto;
  width: max-content;
  min-width: 260px;
  height: 160px;
  padding: 0 56px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emc-logos-marquee--lg .emc-logos-marquee__item img,
.elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
  display: block !important;
  width: auto !important;
  height: 130px !important;
  max-width: 320px !important;
  max-height: 130px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.emc-logos-marquee__item:hover img {
  opacity: 1;
}

@keyframes emc-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 1140px) {
  .emc-flex--logos .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
    min-width: 140px;
    height: 72px;
    padding: 0 28px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-flex--logos .emc-logos-marquee__item img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 150px !important;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item {
    min-width: 220px;
    height: 140px;
    padding: 0 48px;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
    height: 110px !important;
    max-height: 110px !important;
    max-width: 280px !important;
  }
}

@media (max-width: 950px) {
  .emc-flex--logos .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
    min-width: 120px;
    height: 64px;
    padding: 0 22px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-flex--logos .emc-logos-marquee__item img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 130px !important;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item {
    min-width: 180px;
    height: 120px;
    padding: 0 40px;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
    height: 96px !important;
    max-height: 96px !important;
    max-width: 240px !important;
  }
}


/* ===== EMC Flex : FAQ ===== */
.emc-flex--faq .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--faq .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--faq .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--faq .emc-flex__intro.Free_Content_Blocs,
.emc-flex--faq .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Accordéon : row max 950px, centré */
.emc-flex--faq .emc-faq-block {
  max-width: 950px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

@media (max-width: 1140px) {
  .emc-flex--faq .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--faq .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ===== EMC Flex : paddings de section ===== */
.emc-page-flexible > .emc-flex {
  position: relative;
  isolation: isolate;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 100px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

@media (max-width: 1140px) {
  .emc-page-flexible > .emc-flex {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 950px) {
  .emc-page-flexible > .emc-flex {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ===== Presets glow auto (par type de bloc) ===== */

/* Parents : ne pas clipper les fonds */
.emc-page-flexible,
.emc-page-flexible .emc-flex,
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container,
.elementor-widget-shortcode .emc-page-flexible {
  overflow: visible !important;
}

.emc-page-flexible > .emc-flex {
  position: relative;
  isolation: isolate;
}

/* Glow sur toute la largeur écran */
.emc-page-flexible > .emc-flex::before,
.emc-page-flexible > .emc-flex::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

/* Cartes : lueur magenta / violette */
.emc-flex--cartes::before {
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(140, 40, 120, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(40, 50, 120, 0.18), transparent 55%);
}

/* Diaporama / vidéo : lueur chaude discrète */
.emc-flex--diaporama-video::before {
  background:
    radial-gradient(ellipse 82% 65% at 88% 5%, rgba(180, 80, 45, 0.40), transparent 62%),
    radial-gradient(ellipse 65% 52% at 8% 95%, rgba(40, 70, 150, 0.30), transparent 58%),
    radial-gradient(ellipse 48% 42% at 50% 40%, rgba(90, 40, 110, 0.16), transparent 65%);
}
.emc-flex--diaporama-video::after, .emc-flex--chiffres::after, .emc-flex--faq::after, .emc-flex--cartes::after {
  content: none !important;
}

/* Chiffres : glow cyan / bleu */
.emc-flex--chiffres::before {
  background:
    radial-gradient(ellipse 45% 40% at 20% 40%, rgba(40, 140, 200, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(60, 40, 140, 0.16), transparent 55%);
}

/* FAQ : bleu soft */
.emc-flex--faq::before {
  background:
    radial-gradient(ellipse 82% 65% at 88% 5%, rgba(50, 70, 180, 0.40), transparent 62%),
    radial-gradient(ellipse 65% 52% at 8% 95%, rgba(20, 30, 90, 0.30), transparent 58%),
    radial-gradient(ellipse 48% 42% at 50% 40%, rgba(60, 40, 140, 0.16), transparent 65%);
}

/* Grain ultra léger */
.emc-page-flexible > .emc-flex::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.emc-page-flexible > .emc-flex.emc-flex--deux-colonnes::before,
.emc-page-flexible > .emc-flex.emc-flex--deux-colonnes::after {
  content: none;
  display: none;
  background: none;
}

/* ===== EMC Flex : texte pleine largeur fond blanc ===== */
.emc-flex--texte-clair {
  background: transparent;
  color: #000000;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-bottom: 0;
}

/* Fond blanc full-bleed + image overlay */
.emc-flex--texte-clair::before {
  background-color: #ffffff !important;
  background-image: url("/wp-content/uploads/2026/07/bg-w-b-007.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

/* Grain global ::after de l'overlay */
.emc-flex--texte-clair::after {
  opacity: 0.02;
}

.emc-flex--texte-clair .emc-flex__title {
  margin: 0 0 20px;
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
}

.emc-flex--texte-clair h2.emc-flex__title {
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--texte-clair h3.emc-flex__title {
  font-size: 19px;
  line-height: 29px;
}

.emc-flex--texte-clair h4.emc-flex__title,
.emc-flex--texte-clair h5.emc-flex__title,
.emc-flex--texte-clair h6.emc-flex__title {
  font-size: 18px;
  line-height: 28px;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs,
.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs p,
.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs * {
  color: #000000;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

/* CTA */
.emc-flex--texte-clair .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;

  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;

  border: 1px solid #2680eb;
  border-radius: 100px;

  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.emc-flex--texte-clair .emc-flex__cta:hover,
.emc-flex--texte-clair .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  border-color: #2680eb;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--texte-clair h2.emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--texte-clair h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte-clair h4.emc-flex__title,
  .emc-flex--texte-clair h5.emc-flex__title,
  .emc-flex--texte-clair h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Mobile ≤ 950px */
@media (max-width: 950px) {
  .emc-flex--texte-clair h2.emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--texte-clair h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte-clair h4.emc-flex__title,
  .emc-flex--texte-clair h5.emc-flex__title,
  .emc-flex--texte-clair h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ===== EMC Flex : 2 colonnes fond blanc ===== */
.emc-flex--deux-colonnes-clair {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr; /* fr = le gap ne fait plus déborder */
  gap: 60px;
  align-items: stretch;
  color: #000000;
  background: transparent;
}

/* Fond blanc + overlay full-bleed */
.emc-flex--deux-colonnes-clair::before {
  background-color: #ffffff !important;
  background-image: url("/wp-content/uploads/2026/07/bg-w-b-007.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

.emc-flex--deux-colonnes-clair::after {
  opacity: 0.02; /* grain soft sur blanc */
}

/* Média à droite : order (pas de direction:rtl) */
.emc-flex--deux-colonnes-clair.emc-flex--media-droite {
  grid-template-columns: 0.58fr 0.42fr; /* texte | média */
}
.emc-flex--deux-colonnes-clair.emc-flex--media-droite .emc-flex__body {
  order: 1;
}
.emc-flex--deux-colonnes-clair.emc-flex--media-droite .emc-flex__media {
  order: 2;
}

/* Colonne média */
.emc-flex--deux-colonnes-clair .emc-flex__media {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

.emc-flex--deux-colonnes-clair .emc-flex__media img,
.emc-flex--deux-colonnes-clair .emc-flex__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emc-flex--deux-colonnes-clair .emc-flex__media iframe,
.emc-flex--deux-colonnes-clair .emc-flex__media .emc-flex__video,
.emc-flex--deux-colonnes-clair .emc-flex__media .emc-flex__video > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Colonne texte */
.emc-flex--deux-colonnes-clair .emc-flex__body {
  background: transparent;
  color: #000000;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 0;
}

.emc-flex--deux-colonnes-clair .emc-flex__title {
  margin: 0 0 20px;
  color: #000000;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs,
.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs p,
.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs * {
  color: #000000;
}

/* CTA */
.emc-flex--deux-colonnes-clair .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;
  border: 1px solid #2680eb;
  border-radius: 100px;
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.emc-flex--deux-colonnes-clair .emc-flex__cta:hover,
.emc-flex--deux-colonnes-clair .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  border-color: #2680eb;
}

@media (max-width: 1140px) {
  .emc-flex--deux-colonnes-clair {
    gap: 30px;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--deux-colonnes-clair {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .emc-flex--deux-colonnes-clair.emc-flex--media-droite {
    grid-template-columns: 1fr;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__media {
    height: 250px;
    order: 1;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__body {
    order: 2;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ==================== EMC — Schéma parcours (matrice colonnes) ==================== */
.emc-parcours {
  --emc-red: #b31211;
  --emc-ink: #070633;
  --emc-ink-deep: #05041f;
  --emc-text: #ffffff;
  --emc-gap: 14px;
  --emc-radius: 16px;

  width: 100%;
  max-width: 100%;
  color: var(--emc-text);
  box-sizing: border-box;
}

.emc-parcours *,
.emc-parcours *::before,
.emc-parcours *::after {
  box-sizing: border-box;
}

.emc-parcours__matrix {
  display: block;
}
.emc-parcours__cards-mobile {
  display: none;
}

/* Year headers */
.emc-parcours__years {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--emc-gap);
  margin: 0 0 18px;
}

.emc-parcours__year {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--emc-ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}

.emc-parcours__year:first-child {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.emc-parcours__year:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%);
}

.emc-parcours__year--a1,
.emc-parcours__year--a2 {
  background: var(--emc-red);
}

.emc-parcours__year--a3 {
  background: var(--emc-ink-deep);
}

/* 3 colonnes alignées en haut : Prépa | Mid (span 2) | A3 */
.emc-parcours__cols {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--emc-gap);
  align-items: start;
}

.emc-parcours__col {
  display: flex;
  flex-direction: column;
  gap: var(--emc-gap);
  min-width: 0;
}

.emc-parcours__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: var(--emc-radius);
  color: #fff;
  overflow: hidden;
  height: 100%;
}

.emc-parcours__cell--prepa {
  background: linear-gradient(160deg, #12183a 0%, #070633 55%, #05041f 100%);
}

.emc-parcours__cell--mid {
  background: linear-gradient(160deg, #d01818 0%, #b31211 45%, #8e0e0e 100%);
}

.emc-parcours__cell--a3 {
  background: linear-gradient(160deg, #10122a 0%, #070633 50%, #030218 100%);
}

.emc-parcours .emc-parcours__title-link,
.emc-parcours .emc-parcours__title-link:visited,
.emc-parcours .emc-parcours__title-link:hover,
.emc-parcours .emc-parcours__title-link:focus,
.emc-parcours .emc-parcours__title-link:active {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.emc-parcours__title {
  margin: 0 0 8px;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.emc-parcours__diplome {
  margin: 0 0 14px;
  font-family: Mulish, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.emc-parcours__profil {
  margin: 0 0 14px;
}

.emc-parcours__profil-label {
  margin: 10px 0 -5px;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.emc-parcours__profil-text {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Accès : Oswald uppercase + flèche */
.emc-parcours__passerelle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.emc-parcours__passerelle-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: currentColor;
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
  color: #fff;
  opacity: 0.9;
}

.emc-parcours__passerelle-text {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

/* Option Production Hybride \u2014 tampon + texte (Cin\u00e9ma) */
.emc-parcours__hybride {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.emc-parcours__hybride-stamp {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-top: -10px;
  display: block;
  object-fit: contain;
}

.emc-parcours__hybride-body {
  flex: 1 1 auto;
  min-width: 0;
}

.emc-parcours__hybride-text {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}



/* Mobile */
.emc-parcours__mcard-wrap + .emc-parcours__mcard-wrap {
  margin-top: 14px;
}

.emc-parcours__mcard-wrap .emc-parcours__cell {
  height: auto;
}

.emc-parcours__mcard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.emc-parcours__chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: Oswald, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.emc-parcours__mcard-wrap .emc-parcours__title {
  font-size: 20px;
}

@media (max-width: 1100px) {
  .emc-parcours__title {
    font-size: 18px;
  }
  .emc-parcours__year {
    font-size: 12px;
    padding: 10px 12px;
  }
}

@media (max-width: 950px) {
  .emc-parcours__matrix {
    display: none;
  }
  .emc-parcours__cards-mobile {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emc-parcours * {
    transition: none !important;
  }
}
/* ==================== FIN EMC — Schéma parcours ==================== */

/* ==========================================================================
   Formulaires Gravity Forms — EMC
   Floating Material (outlined) · fond sombre · style global .gform_wrapper
   Conteneur glass : géré côté Elementor / page
   ========================================================================== */

.gform_wrapper.gform-theme,
.gform_wrapper {
  --emc-gf-red: #b31211;
  --emc-gf-blue: #2680eb;
  --emc-gf-violet: #3c00ff;
  --emc-gf-cta: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  --emc-gf-cta-hover: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  --emc-gf-radius: 20px;
  --emc-gf-input-h: 50px;
  --emc-gf-radius-pill: 100px;
  --gf-ctrl-size-input-height: 50px;
  --gf-ctrl-size-control-height: 50px;
  --gf-ctrl-height: 50px;
  --emc-gf-fg: #ffffff;
  --emc-gf-fg-muted: rgba(255, 255, 255, 0.58);
  --emc-gf-fg-soft: rgba(255, 255, 255, 0.88);
  --emc-gf-border: rgba(255, 255, 255, 0.22);
  --emc-gf-border-hover: rgba(38, 128, 235, 0.55);
  --emc-gf-border-focus: #2680eb;
  --emc-gf-field-bg: rgba(255, 255, 255, 0.05);
  --emc-gf-field-bg-focus: rgba(255, 255, 255, 0.08);
  --emc-gf-glow: 0 0 0 3px rgba(38, 128, 235, 0.25);
  --emc-gf-font-ui: "Oswald", sans-serif;
  --emc-gf-font-body: "Mulish", sans-serif;
  --emc-gf-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Overrides Orbital */
  --gf-color-primary: #2680eb;
  --gf-color-danger: #b31211;
  --gf-ctrl-border-color: var(--emc-gf-border);
  --gf-ctrl-border-radius: var(--emc-gf-radius);
  --gf-ctrl-bg-color: var(--emc-gf-field-bg);
  --gf-ctrl-color: var(--emc-gf-fg);
  --gf-ctrl-label-color-primary: var(--emc-gf-fg-soft);
  --gf-ctrl-desc-color: var(--emc-gf-fg-muted);
  --gf-ctrl-btn-bg-color-primary: transparent;
  --gf-ctrl-btn-color-primary: #ffffff;

  width: 100%;
  color: var(--emc-gf-fg);
  font-family: var(--emc-gf-font-body);
  box-sizing: border-box;
}

.gform_wrapper *,
.gform_wrapper *::before,
.gform_wrapper *::after {
  box-sizing: border-box;
}

/* ---------- Progress multipage ---------- */
.gform_wrapper .gf_progressbar_wrapper {
  margin: 0 0 28px;
}

.gform_wrapper .gf_progressbar_title {
  margin: 0 0 10px;
  font-family: var(--emc-gf-font-ui);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff !important;
}

.gform_wrapper .gf_progressbar {
  height: 6px !important;
  border: 0 !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 0 15px !important;
}

.gform_wrapper .gf_progressbar_percentage {
  height: 100% !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  background: var(--emc-gf-cta) !important;
  color: transparent !important;
  font-size: 0 !important;
  transition: width 0.4s var(--emc-gf-ease);
}

.gform_wrapper .gform_required_legend {
  display: none !important;
}

/* ---------- Sections / HTML ---------- */
.gform_wrapper .gsection {
  margin: 12px 0 4px !important;
  padding: 20px 0 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 0 !important;
}

.gform_wrapper .gsection:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.gform_wrapper .gsection_title {
  margin: 0;
  font-family: var(--emc-gf-font-ui);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff !important;
}

.gform_wrapper .gfield_html h2,
.gform_wrapper .gfield_html h3,
.gform_wrapper .gfield--type-html h2,
.gform_wrapper .gfield--type-html h3 {
  margin: 0 0 12px;
  font-family: var(--emc-gf-font-ui);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  color: #ffffff !important;
}

.gform_wrapper .gsection_description,
.gform_wrapper .gfield_html,
.gform_wrapper .gfield_html p,
.gform_wrapper .gfield--type-html,
.gform_wrapper .gfield--type-html p,
.gform_wrapper .gfield_description {
  color: #ffffff !important;
  font-family: var(--emc-gf-font-body);
  font-size: 14px;
  line-height: 22px;
}

.gform_wrapper .gfield_html a,
.gform_wrapper .gfield_description a,
.gform_wrapper .gchoice label a {
  color: #7eb6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- List fields (Diplômes etc.) ---------- */
.gform_wrapper .gfield--type-list > .gfield_label,
.gform_wrapper .gfield--type-list > legend.gfield_label,
.gform_wrapper .gfield--input-type-list > .gfield_label,
.gform_wrapper .gfield--input-type-list > legend.gfield_label {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  transform: none !important;
  float: none !important;
  pointer-events: auto;
  font-family: var(--emc-gf-font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  background: none !important;
}

.gform_wrapper .gfield_list_header .gfield_header_item,
.gform_wrapper .gfield_list_header .gform-field-label,
.gform_wrapper .gfield_header_item,
.gform_wrapper .ginput_list .gform-field-label {
  color: #ffffff !important;
  font-family: var(--emc-gf-font-ui);
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 1 !important;
}

.gform_wrapper .gfield_list_cell[data-label]::before,
.gform_wrapper .gfield_list_group_item[data-label]::before {
  color: #ffffff !important;
}

/* ---------- Champs avec description : pas de floating (évite chevauchement) ---------- */
.gform_wrapper .gfield--has-description > .gfield_label,
.gform_wrapper .gfield--has-description > legend.gfield_label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  max-width: none !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  transform: none !important;
  float: none !important;
  pointer-events: auto;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--emc-gf-fg-soft) !important;
  background: none !important;
}

.gform_wrapper .gfield--has-description > .gfield_description {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

.gform_wrapper .gfield--has-description .ginput_container {
  margin-top: 0 !important;
}

/* ---------- Floating Material : champs texte / email / select ---------- */
.gform_wrapper .gfield--type-text,
.gform_wrapper .gfield--type-email,
.gform_wrapper .gfield--type-phone,
.gform_wrapper .gfield--type-website,
.gform_wrapper .gfield--type-number,
.gform_wrapper .gfield--type-textarea,
.gform_wrapper .gfield--type-select,
.gform_wrapper .gfield--input-type-text,
.gform_wrapper .gfield--input-type-email,
.gform_wrapper .gfield--input-type-tel,
.gform_wrapper .gfield--input-type-url,
.gform_wrapper .gfield--input-type-number,
.gform_wrapper .gfield--input-type-textarea,
.gform_wrapper .gfield--input-type-select {
  position: relative;
}

.gform_wrapper fieldset.gfield {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-inline-size: 0;
}

.gform_wrapper .gfield--type-text > .gfield_label,
.gform_wrapper .gfield--type-email > .gfield_label,
.gform_wrapper .gfield--type-website > .gfield_label,
.gform_wrapper .gfield--type-number > .gfield_label,
.gform_wrapper .gfield--type-textarea > .gfield_label,
.gform_wrapper .gfield--type-select > .gfield_label,
.gform_wrapper .gfield--type-phone > .gfield_label,
.gform_wrapper .gfield--input-type-text > .gfield_label,
.gform_wrapper .gfield--input-type-email > .gfield_label,
.gform_wrapper .gfield--input-type-tel > .gfield_label,
.gform_wrapper .gfield--input-type-url > .gfield_label,
.gform_wrapper .gfield--input-type-number > .gfield_label,
.gform_wrapper .gfield--input-type-textarea > .gfield_label,
.gform_wrapper .gfield--input-type-select > .gfield_label,
.gform_wrapper .gfield--type-phone > legend.gfield_label {
  position: absolute !important;
  z-index: 2;
  top: calc(var(--emc-gf-input-h) / 2) !important;
  left: 14px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 28px);
  margin: 0 !important;
  padding: 0 6px !important;
  float: none !important;
  transform: translateY(-50%) !important;
  transform-origin: left center;
  pointer-events: none;
  font-family: var(--emc-gf-font-ui);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emc-gf-fg-muted) !important;
  background: transparent;
  transition:
    top 0.2s var(--emc-gf-ease),
    transform 0.2s var(--emc-gf-ease),
    font-size 0.2s var(--emc-gf-ease),
    color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease);
}

.gform_wrapper .gfield--type-textarea > .gfield_label,
.gform_wrapper .gfield--input-type-textarea > .gfield_label {
  top: 20px !important;
  transform: none !important;
}

/* Conteneur input : référence stable pour le label */
.gform_wrapper .gfield--type-text .ginput_container,
.gform_wrapper .gfield--type-email .ginput_container,
.gform_wrapper .gfield--type-website .ginput_container,
.gform_wrapper .gfield--type-number .ginput_container,
.gform_wrapper .gfield--type-select .ginput_container,
.gform_wrapper .gfield--type-phone .ginput_container,
.gform_wrapper .gfield--input-type-text .ginput_container,
.gform_wrapper .gfield--input-type-email .ginput_container,
.gform_wrapper .gfield--input-type-tel .ginput_container,
.gform_wrapper .gfield--input-type-select .ginput_container {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield--type-text:focus-within > .gfield_label,
.gform_wrapper .gfield--type-email:focus-within > .gfield_label,
.gform_wrapper .gfield--type-website:focus-within > .gfield_label,
.gform_wrapper .gfield--type-number:focus-within > .gfield_label,
.gform_wrapper .gfield--type-textarea:focus-within > .gfield_label,
.gform_wrapper .gfield--type-phone:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-text:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-email:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-tel:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-url:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-number:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-textarea:focus-within > .gfield_label,
.gform_wrapper .gfield--type-text:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-email:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-website:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-number:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-textarea:has(textarea:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-phone:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-text:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-email:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-tel:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-url:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-number:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-textarea:has(textarea:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-select > .gfield_label,
.gform_wrapper .gfield--input-type-select > .gfield_label,
.gform_wrapper .gfield.emc-gf-filled > .gfield_label {
  top: 0 !important;
  left: 12px !important;
  right: auto !important;
  max-width: calc(100% - 24px);
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  line-height: 14px;
  color: var(--emc-gf-fg-soft) !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(8, 8, 20, 0.92) 42%,
    rgba(8, 8, 20, 0.92) 100%
  );
}

.gform_wrapper .gfield:focus-within > .gfield_label {
  color: var(--emc-gf-blue);
}

.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_asterisk {
  color: var(--emc-gf-red) !important;
}

/* ---------- Inputs ---------- */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"]:not(.gform-phone__input),
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="search"],
.gform_wrapper input[type="date"],
.gform_wrapper textarea,
.gform_wrapper select,
.gform_wrapper .ginput_container input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="reset"]):not(.gform-phone__input),
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
  width: 100%;
  max-width: 100%;
  height: var(--emc-gf-input-h) !important;
  min-height: var(--emc-gf-input-h) !important;
  max-height: none !important;
  block-size: var(--emc-gf-input-h) !important;
  min-block-size: var(--emc-gf-input-h) !important;
  margin: 0;
  padding: 0 16px !important;
  font-family: var(--emc-gf-font-body);
  font-size: 15px !important;
  line-height: var(--emc-gf-input-h) !important;
  font-weight: 400;
  color: var(--emc-gf-fg);
  background: var(--emc-gf-field-bg) !important;
  border: 1px solid var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  outline: none;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease),
    box-shadow 0.2s var(--emc-gf-ease);
}

.gform_wrapper textarea,
.gform_wrapper .ginput_container textarea {
  height: auto !important;
  min-height: 130px !important;
  block-size: auto !important;
  min-block-size: 130px !important;
  line-height: 22px !important;
  padding: 18px 16px !important;
  resize: vertical;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper .ginput_container input::placeholder,
.gform_wrapper .ginput_container textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
}

.gform_wrapper input:hover:not(.gform-phone__input),
.gform_wrapper textarea:hover,
.gform_wrapper select:hover {
  border-color: var(--emc-gf-border-hover) !important;
}

.gform_wrapper input:focus:not(.gform-phone__input),
.gform_wrapper textarea:focus,
.gform_wrapper select:focus,
.gform_wrapper input:focus-visible:not(.gform-phone__input),
.gform_wrapper textarea:focus-visible,
.gform_wrapper select:focus-visible {
  border-color: var(--emc-gf-border-focus) !important;
  background: var(--emc-gf-field-bg-focus) !important;
  box-shadow: var(--emc-gf-glow) !important;
}

/* Focus téléphone = glow sur le wrapper unique */
.gform_wrapper .gfield--type-phone:focus-within .gform-phone__input-wrapper {
  border-color: var(--emc-gf-border-focus) !important;
  background: var(--emc-gf-field-bg-focus) !important;
  box-shadow: var(--emc-gf-glow) !important;
}

.gform_wrapper select,
.gform_wrapper .ginput_container select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  cursor: pointer;
}

.gform_wrapper .gform-phone {
  width: 100%;
}

/* Un seul champ visuel : drapeau + input dans le même contour */
.gform_wrapper .gform-phone__input-wrapper,
.gform_wrapper.gform-theme .gform-phone__input-wrapper,
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  display: flex !important;
  align-items: center !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: 100%;
  height: var(--emc-gf-input-h) !important;
  min-height: var(--emc-gf-input-h) !important;
  padding: 0 16px 0 14px !important;
  border: 1px solid var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  background: var(--emc-gf-field-bg) !important;
  box-sizing: border-box;
  transition:
    border-color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease),
    box-shadow 0.2s var(--emc-gf-ease);
}

.gform_wrapper .gfield--type-phone:focus-within .gform-phone__input-wrapper,
.gform_wrapper .gform-phone__input-wrapper:focus-within {
  border-color: var(--emc-gf-border-focus);
  background: var(--emc-gf-field-bg-focus);
  box-shadow: var(--emc-gf-glow);
}

.gform_wrapper .ginput_country-selector_container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.gform_wrapper .gform-phone__country-selector,
.gform_wrapper button.gform-phone__country-selector,
.gform_wrapper .gform-phone__country-selector.gform-theme-button,
.gform_wrapper .gform-phone__country-selector.gform-theme-button--tertiary {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  color: var(--emc-gf-fg) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.gform_wrapper .gform-phone__country-selector:hover,
.gform_wrapper .gform-phone__country-selector.gform-theme-button:hover {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  filter: none !important;
  color: var(--emc-gf-fg) !important;
}

.gform_wrapper .gform-phone__flag-icon {
  /* Sprite GF natif = 30×20 — scale 0.5 (= −10px hauteur) + reprise d'espace layout */
  display: inline-block !important;
  flex-shrink: 0;
  width: 30px !important;
  height: 20px !important;
  block-size: 20px !important;
  inline-size: 30px !important;
  background-size: auto 20px !important;
  background-repeat: no-repeat !important;
  transform: scale(0.5);
  transform-origin: left center;
  margin-right: -15px; /* annule la moitié fantôme du scale */
}

.gform_wrapper .ginput_phone_container {
  flex: 1 1 auto;
  min-width: 0;
}

.gform_wrapper .gform-phone__input-wrapper input,
.gform_wrapper .gform-phone__input,
.gform_wrapper .ginput_phone_container input,
.gform_wrapper .gfield--type-phone input[type="tel"],
.gform_wrapper .gfield--type-phone input.gform-phone__input,
.gform_wrapper input.gform-phone__input[type="tel"] {
  flex: 1 1 auto;
  width: 100% !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 100% !important;
  min-height: 0 !important;
  block-size: auto !important;
  min-block-size: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gform-phone__input-wrapper input:hover,
.gform_wrapper .gform-phone__input-wrapper input:focus,
.gform_wrapper .gform-phone__input-wrapper input:focus-visible,
.gform_wrapper .gfield--type-phone input[type="tel"]:hover,
.gform_wrapper .gfield--type-phone input[type="tel"]:focus,
.gform_wrapper .gfield--type-phone input[type="tel"]:focus-visible,
.gform_wrapper input.gform-phone__input[type="tel"]:hover,
.gform_wrapper input.gform-phone__input[type="tel"]:focus,
.gform_wrapper input.gform-phone__input[type="tel"]:focus-visible {
  border: 0 !important;
  border-width: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Contour unique = wrapper uniquement */
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  border: 1px solid var(--emc-gf-border) !important;
}

/* ---------- Radios / checkboxes ---------- */
.gform_wrapper .gfield--type-radio > .gfield_label,
.gform_wrapper .gfield--type-checkbox > .gfield_label,
.gform_wrapper .gfield--type-choice > .gfield_label,
.gform_wrapper .gfield--type-fileupload > .gfield_label,
.gform_wrapper .gfield--type-consent > .gfield_label {
  position: static;
  display: block;
  margin: 0 0 12px;
  padding: 0;
  transform: none;
  pointer-events: auto;
  font-family: var(--emc-gf-font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emc-gf-fg-soft);
  background: none;
}

.gform_wrapper .gfield_radio,
.gform_wrapper .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.gform_wrapper .gfield--choice-align-vertical .gfield_radio,
.gform_wrapper .gfield--choice-align-vertical .gfield_checkbox {
  flex-direction: column;
}

.gform_wrapper .gchoice,
.gform_wrapper .gfield_checkbox .gchoice,
.gform_wrapper .gfield_radio .gchoice {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0;
  padding: 0;
  grid-template-columns: none !important;
}

.gform_wrapper .gchoice > input[type="checkbox"],
.gform_wrapper .gchoice > input[type="radio"],
.gform_wrapper .gchoice > .gfield-choice-input {
  flex: 0 0 18px !important;
  margin: 0 !important;
  align-self: center !important;
}

.gform_wrapper .gchoice label,
.gform_wrapper .gform-field-label--type-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--emc-gf-border);
  border-radius: var(--emc-gf-radius-pill);
  background: var(--emc-gf-field-bg);
  color: var(--emc-gf-fg-soft);
  font-family: var(--emc-gf-font-body);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gform_wrapper .gfield--choice-align-vertical .gchoice label {
  border-radius: var(--emc-gf-radius);
  width: 100%;
  align-items: flex-start;
}

.gform_wrapper .gchoice label:hover {
  border-color: var(--emc-gf-border-hover);
}

.gform_wrapper .gchoice input[type="radio"],
.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper input.gfield-choice-input[type="radio"],
.gform_wrapper input.gfield-choice-input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  block-size: 18px !important;
  min-block-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gform_wrapper .gchoice input[type="radio"] {
  border-radius: 50%;
}

.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper input.gfield-choice-input[type="checkbox"] {
  border-radius: 5px !important;
}

.gform_wrapper .gchoice input[type="radio"]:checked,
.gform_wrapper .gchoice input[type="checkbox"]:checked {
  border-color: var(--emc-gf-blue);
  background: var(--emc-gf-cta);
  box-shadow: 0 0 0 2px rgba(38, 128, 235, 0.2);
}

.gform_wrapper .gchoice input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.5 5L4.5 8L10.5 1.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 8px;
  background-position: center;
  background-repeat: no-repeat;
}

.gform_wrapper .gchoice input[type="radio"]:checked {
  background-image: radial-gradient(circle, #ffffff 0 35%, transparent 36%);
}

.gform_wrapper .gchoice:has(input:checked) label {
  border-color: rgba(38, 128, 235, 0.7);
  background: rgba(38, 128, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(38, 128, 235, 0.12);
}

.gform_wrapper .hidden_label > .gfield_label,
.gform_wrapper .gfield.hidden_label > .gfield_label {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gform_wrapper .gfield.hidden_label.gfield--type-checkbox .gchoice,
.gform_wrapper .gfield.hidden_label.gfield--input-type-checkbox .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.gform_wrapper .gfield.hidden_label.gfield--type-checkbox .gchoice input[type="checkbox"],
.gform_wrapper .gfield.hidden_label.gfield--input-type-checkbox .gchoice input[type="checkbox"] {
  flex: 0 0 18px;
  margin-top: 3px;
}

.gform_wrapper .gfield.hidden_label .gchoice label,
.gform_wrapper .gfield.hidden_label .gform-field-label--type-inline,
.gform_wrapper #field_4_8 .gchoice label,
.gform_wrapper .ginput_container_consent {
  display: block !important;
  flex: 1 1 auto;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: flex-start;
  color: var(--emc-gf-fg-soft) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  white-space: normal !important;
  column-count: 1 !important;
  columns: 1 !important;
  column-gap: 0 !important;
}

.gform_wrapper .gfield.hidden_label .gchoice:has(input:checked) label {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ---------- File upload ---------- */
.gform_wrapper .gfield--type-fileupload > .gfield_label,
.gform_wrapper .gfield--input-type-fileupload > .gfield_label {
  position: static !important;
  top: auto !important;
  transform: none !important;
  margin: 0 0 10px !important;
  background: none !important;
  pointer-events: auto;
}

.gform_wrapper .ginput_container_fileupload,
.gform_wrapper .gfield--type-fileupload .ginput_container {
  overflow: visible !important;
}

.gform_wrapper .ginput_container_fileupload input[type="file"],
.gform_wrapper .gfield--type-fileupload input[type="file"],
.gform_wrapper .gfield--input-type-fileupload input[type="file"],
.gform_wrapper input[type="file"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 56px !important;
  max-height: none !important;
  block-size: auto !important;
  min-block-size: 56px !important;
  line-height: normal !important;
  padding: 14px 18px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  border: 1px dashed var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  background: var(--emc-gf-field-bg) !important;
  color: var(--emc-gf-fg-soft) !important;
  cursor: pointer;
}

.gform_wrapper input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--emc-gf-radius-pill);
  font-family: var(--emc-gf-font-ui);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--emc-gf-cta);
  cursor: pointer;
  vertical-align: middle;
}

.gform_wrapper .gform_fileupload_rules,
.gform_wrapper .gfield--type-fileupload .gfield_description {
  margin-top: 8px !important;
  font-size: 12px;
  line-height: 18px;
  color: var(--emc-gf-fg-muted) !important;
}

/* ---------- Validation ---------- */
.gform_wrapper .gform_validation_errors {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: var(--emc-gf-radius);
  border: 1px solid rgba(179, 18, 17, 0.45);
  background: rgba(179, 18, 17, 0.14);
}

.gform_wrapper .gform_validation_errors > h2,
.gform_wrapper .gform_validation_errors .gform_submission_error {
  margin: 0 0 8px;
  font-family: var(--emc-gf-font-ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emc-gf-red);
}

.gform_wrapper .gform_validation_errors ol {
  margin: 0;
  padding-left: 18px;
  color: var(--emc-gf-fg-soft);
  font-size: 13px;
}

.gform_wrapper .gform_validation_errors a {
  color: var(--emc-gf-fg-soft);
}

.gform_wrapper .gfield_error {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error .gchoice label {
  border-color: rgba(179, 18, 17, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(179, 18, 17, 0.18) !important;
}

.gform_wrapper .gfield_error > .gfield_label {
  color: var(--emc-gf-red);
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  margin-top: 8px;
  color: var(--emc-gf-red) !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.gform_wrapper .gform_confirmation_message {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid rgba(38, 128, 235, 0.35);
  background: rgba(38, 128, 235, 0.12);
  text-align: center;
  color: var(--emc-gf-fg-soft);
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Boutons ---------- */
.gform_wrapper .gform_page_footer,
.gform_wrapper .gform_footer,
.gform_wrapper .gform-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 8px;
}

.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button,
.gform_wrapper .gform_save_link,
.gform_wrapper input[type="submit"],
.gform_wrapper button.gform_button,
.gform_wrapper .gform-theme-button:not(.gform-phone__country-selector) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 !important;
  padding: 14px 36px !important;
  border: 1px solid #2680eb !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  font-family: var(--emc-gf-font-ui) !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  background: var(--emc-gf-cta) !important;
  background-image: var(--emc-gf-cta) !important;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    background 0.25s ease,
    filter 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_next_button:hover,
.gform_wrapper .gform_save_link:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform-theme-button:not(.gform-phone__country-selector):hover {
  background: var(--emc-gf-cta-hover) !important;
  background-image: var(--emc-gf-cta-hover) !important;
  filter: brightness(1.05);
  color: #ffffff !important;
}

.gform_wrapper .gform_save_link svg,
.gform_wrapper .gform_save_link .gform-icon,
.gform_wrapper .gform_save_link i,
.gform_wrapper .gform_save_link [class*="icon"] {
  display: none !important;
}

/* Icône réelle = ::before (icon font Gravity), pas le SVG */
.gform_wrapper .gform_save_link::before,
.gform_wrapper .gform_save_link.gform-theme-button::before,
.gform_wrapper .gform_save_link.gform-theme-button--secondary::before,
.gform_wrapper.gform-theme--framework .gform_save_link::before,
.gform_wrapper.gform-theme--orbital .gform_save_link::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.gform_wrapper .gform_previous_button,
.gform_wrapper .gform-theme-button--secondary,
.gform_wrapper .gform_save_link.gform-theme-button--secondary {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--emc-gf-border) !important;
  color: #ffffff !important;
}

.gform_wrapper .gform_previous_button:hover,
.gform_wrapper .gform-theme-button--secondary:hover,
.gform_wrapper .gform_save_link.gform-theme-button--secondary:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(38, 128, 235, 0.5) !important;
  filter: none;
  color: var(--emc-gf-fg) !important;
}

@media (max-width: 950px) {
  .gform_wrapper .gform_page_footer,
  .gform_wrapper .gform_footer,
  .gform_wrapper .gform-page-footer {
    flex-direction: column-reverse;
  }

  .gform_wrapper .gform_button,
  .gform_wrapper .gform_next_button,
  .gform_wrapper .gform_previous_button,
  .gform_wrapper .gform_save_link,
  .gform_wrapper input[type="submit"],
  .gform_wrapper .gform-theme-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gform_wrapper .gfield_label,
  .gform_wrapper input,
  .gform_wrapper textarea,
  .gform_wrapper select,
  .gform_wrapper .gform-theme-button {
    transition: none !important;
  }
}


/* ---------- Champs analytics / UTM (gardés dans le DOM, plus d'espace vide) ---------- */
.gform_wrapper .gfield_visibility_hidden,
.gform_wrapper .gfield.gfield_visibility_hidden,
.gform_wrapper .gform_hidden,
.gform_wrapper .gf_invisible,
.gform_wrapper .gfield--type-hidden {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ===== EMC GF overrides finaux (après Orbital) ===== */
.gform_wrapper.gform-theme--framework .gfield--type-phone .gform-phone__input-wrapper,
.gform_wrapper.gform-theme--orbital .gfield--type-phone .gform-phone__input-wrapper,
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  display: flex !important;
  grid-template-columns: unset !important;
  border: 1px solid var(--emc-gf-border) !important;
}

.gform_wrapper.gform-theme--framework .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper.gform-theme--orbital .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper .gform-phone__input-wrapper input.gform-phone__input,
.gform_wrapper .ginput_phone_container input[type="tel"],
.gform_wrapper input.gform-phone__input[type="tel"] {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
}

.gform_wrapper.gform-theme--framework .gfield.hidden_label .gchoice label,
.gform_wrapper.gform-theme--orbital .gfield.hidden_label .gchoice label,
.gform_wrapper.gform-theme--framework .gfield.hidden_label .gform-field-label--type-inline {
  display: block !important;
  column-count: 1 !important;
  columns: auto !important;
}

.gform_wrapper.gform-theme--framework .gform_save_link > svg,
.gform_wrapper.gform-theme--orbital .gform_save_link > svg,
.gform_wrapper .gform_save_link > svg {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

.gform_wrapper.gform-theme--framework .gform_save_link::before,
.gform_wrapper.gform-theme--orbital .gform_save_link::before {
  content: none !important;
  display: none !important;
}

/* Checkboxes : centrage vertical + gap 10px */
.gform_wrapper.gform-theme--framework .gchoice,
.gform_wrapper.gform-theme--orbital .gchoice {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* ===== EMC Flex : Indicateurs ===== */
.emc-flex--indicateurs {
  color: #ffffff;
}

.emc-flex--indicateurs .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.emc-flex--indicateurs .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--indicateurs .emc-flex__intro,
.emc-flex--indicateurs .emc-flex__intro.Free_Content_Blocs,
.emc-flex--indicateurs .emc-flex__intro.Free_Content_Blocs p {
  color: #ffffff;
  text-align: center;
}

.emc-ind__maj {
  margin: 0 0 12px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b31211;
}

/* Tabs */
.emc-ind__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 50px;
}

.emc-ind__tab {
  appearance: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  transition: none;
  /* Inactif */
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.emc-ind__tab.is-active {
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  border-color: transparent;
  color: #ffffff;
}

/* Reset boutons onglets */
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:hover,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:focus,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:focus-visible,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 15px 48px !important;
  font-family: Oswald, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: none !important;
}

/* Actif uniquement */
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:hover,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:focus,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:focus-visible,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:active {
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%) !important;
  background-image: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%) !important;
  border-color: #2680EB !important;
  border-width: 1px 1px 1px 1px;
  color: #ffffff !important;
  box-shadow: none !important;
}

.emc-ind__panel[hidden] {
  display: none !important;
}

/* Cards */
.emc-ind__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.emc-ind__card {
  background: #ffffff12;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 24px;
}

.emc-ind__card-title {
  margin: 0 0 8px;
  font-family: Oswald, sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.emc-ind__card-promo {
  margin: 0 0 18px;
  font-family: Mulish, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.emc-ind__card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.emc-ind__metric-value {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: #b31211;
}

.emc-ind__metric-label {
  display: block;
  margin-top: 4px;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Split secteur */
.emc-ind__split-bar {
  display: flex;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}

.emc-ind__split-vise {
  display: block;
  height: 100%;
  background: #2680eb;
}

.emc-ind__split-hors {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.28);
}

.emc-ind__split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-family: Mulish, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.emc-ind__split-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2680eb;
  margin-right: 6px;
  vertical-align: middle;
}

.emc-ind__split-legend i.is-hors {
  background: rgba(255, 255, 255, 0.35);
}

.emc-ind__extras {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.emc-ind__extras li {
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.emc-ind__extras strong {
  color: #ffffff;
  margin-right: 4px;
}

@media (max-width: 1140px) {
  .emc-flex--indicateurs .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

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

@media (max-width: 950px) {
  .emc-flex--indicateurs .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-ind__kpis {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .emc-ind__kpi {
    padding: 20px 14px;
  }

  .emc-ind__kpi-value {
    font-size: 32px;
  }

  .emc-ind__cards {
    grid-template-columns: 1fr;
  }
}

/* Padding section indicateurs */
.emc-page-flexible > .emc-flex.emc-flex--indicateurs,
.emc-flex--indicateurs {
  position: relative;
  isolation: isolate;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: visible !important;
  background: transparent; /* le fond passe sur ::before */
}

.emc-flex--indicateurs::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 100vw !important;
  margin-left: -50vw !important; /* plus fiable que translateX */
  transform: none !important;
  right: auto !important;
  z-index: -1 !important;
  pointer-events: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  background-color: #050505 !important;
  background-image:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(38, 128, 235, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 15%, rgba(60, 0, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 45% at 70% 90%, rgba(179, 18, 17, 0.10), transparent 65%) !important;
  background-repeat: no-repeat !important;
}

.emc-flex--indicateurs::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.035 !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

/* Pas de 2e calque */
.emc-flex--indicateurs::after,
.emc-ind__formations::before,
.emc-ind__formations::after {
  content: none !important;
  display: none !important;
}
/* Parents Elementor : ne pas clipper */
.elementor-widget:has(.emc-flex--indicateurs),
.elementor-widget:has(.emc-flex--indicateurs) .elementor-widget-container,
.e-con:has(.emc-flex--indicateurs),
.e-con:has(.emc-flex--indicateurs) .e-con-inner {
  overflow: visible !important;
}

/* Fond sur le wrapper interne */
.emc-ind__formations {
  position: relative;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.emc-ind__formations::before,
.emc-ind__formations::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Respiration sous le header avant les onglets */
.emc-ind__formations .emc-flex__header {
  margin-bottom: 40px;
}

@media (max-width: 950px) {
  .emc-ind__formations {
    padding: 32px 0 24px;
  }
}

/* Bouton PDF pour download indicateurs */
.emc-ind__download {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
}
.emc-ind__download a, .emc-ind__download a:hover{color: #FFFFFF;border-bottom: 2px solid;}

/* === EMC Background Lab (fonds CSS sections — perf + lumière) === */
/*
  Fonds : emc-bg-soft | emc-bg-mist | emc-bg-ink | emc-bg-ink-light | emc-bg-noir-bleu
          emc-bg-flare-cool | emc-bg-flare-warm | emc-bg-flare-copper
          emc-bg-haze | emc-bg-stage | emc-bg-stage-rouge
  Options : emc-bg-grain | emc-bg-fade-y
  Exemple : emc-bg-stage emc-bg-grain emc-bg-fade-y
*/
.emc-bg-soft,
.emc-bg-mist,
.emc-bg-ink,
.emc-bg-ink-light,
.emc-bg-noir-bleu,
.emc-bg-flare-cool,
.emc-bg-flare-warm,
.emc-bg-flare-copper,
.emc-bg-haze,
.emc-bg-stage,
.emc-bg-stage-rouge {
  position: relative !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  isolation: isolate;
}

.emc-bg-soft {
  background-color: #F7F5F1 !important;
  background-image: linear-gradient(180deg, #FCFAF7 0%, #F3F0EA 100%) !important;
}
.emc-bg-mist {
  background-color: #F2F4F8 !important;
  background-image: linear-gradient(165deg, #F8FAFC 0%, #EEF2F7 55%, #E8EDF4 100%) !important;
}
.emc-bg-ink {
  background-color: #12141C !important;
  background-image: linear-gradient(125deg, #1A1D28 0%, #151822 28%, #12141C 55%, #0E1016 100%) !important;
  color: #FFFFFF;
}
.emc-bg-ink-light {
  background-color: #161A32 !important;
  background-image: linear-gradient(150deg, #22284A 0%, #1A1F3C 40%, #12162E 72%, #0E1230 100%) !important;
  color: #FFFFFF;
}
.emc-bg-noir-bleu {
  background-color: #0E121A !important;
  background-image: linear-gradient(135deg, #0A0C12 0%, #10161F 42%, #15202C 78%, #0E121A 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-cool {
  background-color: #0E1218 !important;
  background-image: linear-gradient(100deg, #0A0C10 0%, #0E1218 38%, #15202A 62%, #1A2834 82%, #141C26 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-warm {
  background-color: #120E10 !important;
  background-image: linear-gradient(250deg, #1C1412 0%, #161012 32%, #100C0E 58%, #0C0A0C 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-copper {
  background-color: #100E12 !important;
  background-image: linear-gradient(115deg, #0C0B10 0%, #100E12 48%, #1A1414 72%, #221816 88%, #141014 100%) !important;
  color: #FFFFFF;
}
.emc-bg-haze {
  background-color: #141820 !important;
  background-image: linear-gradient(180deg, #1C222C 0%, #161B24 45%, #10141C 100%) !important;
  color: #FFFFFF;
}
.emc-bg-stage {
  background-color: #12141C !important;
  background-image: linear-gradient(160deg, #1A1C2A 0%, #16141E 35%, #14121A 65%, #100E14 100%) !important;
  color: #FFFFFF;
}
.emc-bg-stage-rouge {
  background-color: #141018 !important;
  background-image: linear-gradient(155deg, #1A1620 0%, #1C1418 28%, #2A1216 52%, #3A1418 72%, #1A1014 88%, #120E12 100%) !important;
  color: #FFFFFF;
}

/* Grain — tout sur ::before (libère ::after pour le fade) */
.emc-bg-grain::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 1;
  background-image:
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55 0 0 0 0 0.55 0 0 0 0 0.55 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important;
  background-size: 120px 120px, 75px 75px !important;
  background-repeat: repeat !important;
  mix-blend-mode: overlay;
  opacity: 0.42;
}
.emc-bg-soft.emc-bg-grain::before,
.emc-bg-mist.emc-bg-grain::before {
  mix-blend-mode: multiply;
  opacity: 0.18;
}

/* Fondu noir haut + bas (250px) — enchaînement de sections */
.emc-bg-fade-y::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 250px),
    linear-gradient(to top, #000000 0%, rgba(0,0,0,0) 250px) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 100% 100% !important;
  background-position: center center, center center !important;
}

.emc-bg-soft > *,
.emc-bg-mist > *,
.emc-bg-ink > *,
.emc-bg-ink-light > *,
.emc-bg-noir-bleu > *,
.emc-bg-flare-cool > *,
.emc-bg-flare-warm > *,
.emc-bg-flare-copper > *,
.emc-bg-haze > *,
.emc-bg-stage > *,
.emc-bg-stage-rouge > * {
  position: relative;
  z-index: 2;
}

.emc-bg-lab-swatch {
  min-height: 320px !important;
  padding: 28px 32px !important;
  margin: 0 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}
.emc-bg-lab-swatch strong {
  font-family: Oswald, sans-serif !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
.emc-bg-lab-swatch code { font-size: 13px; opacity: 0.8; }
.emc-bg-ink.emc-bg-lab-swatch,
.emc-bg-ink-light.emc-bg-lab-swatch,
.emc-bg-noir-bleu.emc-bg-lab-swatch,
.emc-bg-flare-cool.emc-bg-lab-swatch,
.emc-bg-flare-warm.emc-bg-lab-swatch,
.emc-bg-flare-copper.emc-bg-lab-swatch,
.emc-bg-haze.emc-bg-lab-swatch,
.emc-bg-stage.emc-bg-lab-swatch,
.emc-bg-stage-rouge.emc-bg-lab-swatch {
  color: #fff !important;
}
/* === FIN EMC Background Lab === */

/* === EMC Flex full-bleed bg (classes emc-bg-* sur sections flexibles) === */
/*
  Fond full-bleed en 100vw, mais le contenu est recalé sur la LARGEUR DU PARENT
  (container Elementor boxed + son padding), via calc(50vw - 50%).
  → même alignement que le Hero, sans largeur magique 1250/1140.
*/
.emc-page-flexible > .emc-flex[class*="emc-bg-"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(20px, calc(50vw - 50%));
  padding-right: max(20px, calc(50vw - 50%));
  box-sizing: border-box;
}

/* Annuler les anciens fonds image / glow sur les blocs qui ont emc-bg-* */
.emc-page-flexible > .emc-flex[class*="emc-bg-"]::before,
.emc-page-flexible > .emc-flex[class*="emc-bg-"]::after {
  /* ne pas forcer content:none des presets deux-colonnes */
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  transform: none !important;
  z-index: 0 !important;
}

/* Réactiver grain / fade même si un preset avait content:none (ex: deux-colonnes) */
.emc-page-flexible > .emc-flex[class*="emc-bg-"].emc-bg-grain::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.emc-page-flexible > .emc-flex[class*="emc-bg-"].emc-bg-fade-y::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 250px),
    linear-gradient(to top, #000000 0%, rgba(0,0,0,0) 250px) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 100% 100% !important;
  background-position: center center, center center !important;
}

/* Ne plus peindre l’ancienne photo sur texte quand emc-bg est là */
.emc-page-flexible > .emc-flex--texte[class*="emc-bg-"]::before {
  background-image: inherit; /* sera écrasé par .emc-bg-grain::before si grain */
}
.emc-page-flexible > .emc-flex--texte.emc-bg-grain::before {
  /* grain rules from lab block already apply; clear photo */
  background-color: transparent !important;
}

@media (max-width: 950px) {
  .emc-page-flexible > .emc-flex[class*="emc-bg-"] {
    padding-left: max(24px, calc(50vw - 50%));
    padding-right: max(24px, calc(50vw - 50%));
  }
}
/* === FIN EMC Flex full-bleed bg === */

/* === EMC Push Contact (template 644) — PNG + voile gradient animé === */
.elementor-644 .elementor-element-5adff5b {
  --emc-push-mask: url("/wp-content/uploads/2026/06/bg-push-pf-002.png");
  --emc-push-angle: -60deg;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.elementor-644 .elementor-element-5adff5b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    var(--emc-push-angle),
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 4%,
    rgba(14, 30, 72, 0.08) 14%,
    rgba(18, 40, 90, 0.14) 22%,
    rgba(24, 50, 108, 0.20) 30%,
    rgba(30, 60, 125, 0.26) 38%,
    rgba(36, 72, 145, 0.30) 44%,
    rgba(42, 80, 160, 0.34) 50%,
    rgba(36, 72, 145, 0.30) 56%,
    rgba(30, 60, 125, 0.26) 62%,
    rgba(24, 50, 108, 0.20) 70%,
    rgba(18, 40, 90, 0.14) 78%,
    rgba(14, 30, 72, 0.08) 86%,
    rgba(0, 0, 0, 0) 96%,
    rgba(0, 0, 0, 0) 100%
  );
  background-size: 280% 280%;
  background-position: 0% 50%;
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: emc-push-gradient 7.5s ease-in-out infinite;
  -webkit-mask-image: var(--emc-push-mask);
  mask-image: var(--emc-push-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: auto;
  mask-size: auto;
}

.elementor-644 .elementor-element-5adff5b::after {
  content: none;
  display: none;
}

.elementor-644 .elementor-element-5adff5b > .e-con-inner,
.elementor-644 .elementor-element-5374ffc {
  position: relative;
  z-index: 1;
}

@keyframes emc-push-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-644 .elementor-element-5adff5b::before {
    animation: none;
    background-position: 40% 50%;
  }
}

/* Tablette / mobile : PNG en cover (plein cadre), masque aligné */
@media (max-width: 1024px) {
  .elementor-644 .elementor-element-5adff5b:not(.elementor-motion-effects-element-type-background),
  .elementor-644 .elementor-element-5adff5b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center center;
    mask-position: center center;
  }
}

@media (max-width: 950px) {
  .elementor-644 .elementor-element-5adff5b {
    --min-height: 420px;
    min-height: 420px;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    opacity: 0.7;
    animation-duration: 8.5s;
  }
}

@media (max-width: 767px) {
  .elementor-644 .elementor-element-5adff5b {
    --min-height: 360px;
    min-height: 360px;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    box-sizing: border-box;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    background-size: 320% 320%;
    opacity: 0.68;
  }
}
/* === FIN EMC Push Contact === */




/* Contenu au-dessus du grain (::before) et du fade-y (::after) — pas besoin de z-index manuel */
.emc-bg-fade-y,
.emc-bg-grain {
  isolation: isolate !important;
}
.emc-bg-fade-y > *,
.emc-bg-grain > *,
.emc-flex.emc-bg-fade-y > *,
.emc-flex.emc-bg-grain > * {
  position: relative !important;
  z-index: 2 !important;
}

/*
 Theme Name:   EMC
 Theme URI:    https://www.emc.fr/
 Description:  Custom child theme
 Author:       ECLOSE
 Author URI:   https://www.eclose.studio
 Template:     hello-elementor
 Version:      1.0
*/
/* Menu
/* Tous les panneaux cachés par défaut */
.elementor-popup-modal.emc-menu-mobile .emc-panel{display:none !important;}
/* Seul le panneau actif est visible */
.elementor-popup-modal.emc-menu-mobile .emc-panel.is-active {display:flex !important;}
/* Curseur sur les items de navigation interne */
.elementor-popup-modal.emc-menu-mobile a[href^="#panel-"] {cursor:pointer;color:#FFFFFF !important;}
.elementor-popup-modal.emc-menu-mobile a{color:#FFFFFF !important;}
/* Desktop */
.emc-menu-desktop .elementor-heading-title a {position: relative;display: inline-block;text-decoration: none !important;padding-bottom: 6px;}
.emc-menu-desktop .elementor-heading-title a::after {content: '';position: absolute;left: 0;bottom: 0;width: 100%;height: 2px;background-color: #FFFFFF;transform: scaleX(0);transform-origin: left center;transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
/* Hover + accessibilité clavier */
.emc-menu-desktop .elementor-heading-title a:hover::after, .emc-menu-desktop .elementor-heading-title a:focus-visible::after {transform: scaleX(1);}
/* EMC menu desktop — underline images liées (Cinema / Son / Event) */
.emc-menu-desktop .elementor-widget-image a {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
  padding-bottom: 6px;
  line-height: 0; /* colle le trait sous l'image */
}
.emc-menu-desktop .elementor-widget-image a img {
  display: block;
  vertical-align: top;
}
.emc-menu-desktop .elementor-widget-image a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.emc-menu-desktop .elementor-widget-image a:hover::after,
.emc-menu-desktop .elementor-widget-image a:focus-visible::after {
  transform: scaleX(1);
}
/* Hero HP */
.hero-emc {pointer-events:none;}
.hero-emc a, .hero-emc button, .hero-emc .elementor-button, .hero-emc .elementor-widget-video, .hero-emc input, .hero-emc span, .hero-emc h1, .hero-emc p {pointer-events: auto;}


/* Mobile CTA */
#mobilecta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  z-index: 999; /* sous le header si besoin, au-dessus du contenu */
  transform: translateY(100%); /* caché sous l'écran */
  transition: transform 0.34s ease;
}
#mobilecta.ctashow {
  transform: translateY(0); /* visible */
}
/* Ticker */
.emc-ticker {width: 100%;overflow: hidden;background: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);color: #FFFFFF;padding: 12px 0;-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);opacity: 0.9;pointer-events: auto;}
.emc-ticker__track {display: flex;width: max-content;will-change: transform;animation: emc-ticker-scroll var(--duration, 30s) linear infinite;}
.emc-ticker__group {display: flex;align-items: center;flex-shrink: 0;white-space: nowrap;font-size: 13px;font-weight: 500;font-family: 'Oswald';text-transform: uppercase;}
.emc-ticker__item {display: inline-block;}
.emc-ticker__sep {display: inline-block;margin: 0 1.25rem;opacity: 0.45;font-size: 1rem;line-height: 1;user-select: none;color:#B31211;}
.emc-ticker a {color: inherit;text-decoration: none;}
.emc-ticker a:hover {color: #FFFFFF;}
@keyframes emc-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * var(--distance, 0px)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .emc-ticker__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .emc-ticker__group:not(:first-child) {
    display: none;
  }
}
/* Content */
/* SVG Fix */
.elm-ico-p g{clip-path:url(#clip0) !important;}
.br_i_10 img{border-radius:20px;}
.blend_i{mix-blend-mode:color;}
.Free_Content_Blocs p{font-size:16px !important;line-height:26px !important;}
.Free_Content_Blocs ul{margin-bottom:20px;font-size:16px !important;line-height:26px !important;padding-left:20px;}
.Free_Content_Blocs ul li::marker {color:#B31211;font-size: 16px !important;content:"●";}
.Free_Content_Blocs ul li{padding-left:12px;}
.Free_Content_Blocs ol{margin-bottom:20px;font-size:16px !important;line-height:26px !important;padding-left:8px;list-style:none;counter-reset:emc-ol;}
.Free_Content_Blocs ol > li{position:relative;padding-left:28px;counter-increment:emc-ol;}
.Free_Content_Blocs ol > li::before{content:counter(emc-ol) ".";position:absolute;left:0;top:0;width:22px;color:#B31211 !important;font-weight:700;font-variant-numeric:tabular-nums;line-height:26px;text-align:right;}
.Free_Content_Blocs li{margin-bottom:5px;}
.Free_Content_Blocs h2{font-size:22px !important; line-height:32px !important;margin-bottom:20px;text-transform:uppercase;}
.Free_Content_Blocs h3{font-size:19px !important;line-height:29px !important;text-transform:none !important;}
.Free_Content_Blocs h4, .Free_Content_Blocs h5, .Free_Content_Blocs h6{font-size:18px !important;line-height:28px !important;text-transform:none !important;}
.Free_Content_Blocs img{margin:20px 0px;border-radius:20px;}
.l_w a{color:#FFFFFF !important;}
/* Inner Tabs & Accordéons */
.emc-acf-tabs, .elementor-element:has(.Inner_Toggle) {--emc-scroll-bg: #ffffff;--emc-red: #B31211;}
/* ACCORDÉON */
.Inner_Toggle {max-height: 390px;overflow-x: hidden;overflow-y: auto;scrollbar-width: thin;scrollbar-color: rgba(179, 18, 17, 0.45) transparent;box-sizing: border-box;}
.Inner_Toggle div { height: auto; }
.Inner_Toggle::-webkit-scrollbar { width: 3px; }
.Inner_Toggle::-webkit-scrollbar-track { background: transparent; }
.Inner_Toggle::-webkit-scrollbar-thumb {background: rgba(179, 18, 17, 0.3);border-radius: 3px;}
.Inner_Toggle:hover::-webkit-scrollbar-thumb { background: var(--emc-red); }
/* TABS */
.emc-acf-tabs {--emc-tab-h: 390px;--emc-red: #B31211;}
/* Swiper EMC */
.EMC_swiper_bullet .swiper-pagination-bullet{opacity: var(--swiper-pagination-bullet-inactive-opacity, .7);}
.EMC_swiper_bullet .swiper-pagination-bullet-active{opacity: var(--swiper-pagination-bullet-opacity, 1);}
/* Contenu tab scrollable */
.emc-acf-tabs .ae-acf-repeater-tab-content {
  max-height: var(--emc-tab-h) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  padding-top: 0 !important;
  width: calc(100% - 5px);
  margin-right: 5px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(179, 18, 17, 0.45) transparent;
  /* Fade bas */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Scrollbar WebKit */
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar {width: 3px;}
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar-track {background: transparent;}
.emc-acf-tabs .ae-acf-repeater-tab-content::-webkit-scrollbar-thumb {background: rgba(179, 18, 17, 0.35);border-radius: 3px;}
.emc-acf-tabs .ae-acf-repeater-tab-content:hover::-webkit-scrollbar-thumb {background: var(--emc-red);}
.emc-acf-tabs .ae-acf-repeater-tab-content .Inner_Tab,
.emc-acf-tabs .ae-acf-repeater-tab-content .Inner_Tab > .elementor-widget-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.emc-acf-tabs .ae-acf-repeater-tab-content {padding-top: 0 !important;}
.emc-acf-tabs .ae-acf-repeater-tab-content > *:first-child {padding-top: 30px;}
/* Mobile / tablette étroite */
@media (max-width: 950px) {
  .emc-acf-tabs .ae-acf-repeater-tab-content {
    max-height: 390px !important;
  }
}
/* Accessibilité motion */
@media (prefers-reduced-motion: reduce) {
  .emc-acf-tabs .ae-acf-repeater-tab-content {
    scroll-behavior: auto;
  }
}



/* ===== EMC FAQ Block ===== */
.emc-faq-block {
  --emc-title-grad: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);;
  --emc-title-active: #ffffff;
  --emc-title-inactive: #ffffffa6;
  --emc-sep: rgba(255, 255, 255, 0.07);
  --emc-panel: #efefef;
  --emc-text: #111111;
  --emc-bullet: #b31211;
}

/* Titre + intro de section (optionnels) */
.emc-faq-block__section-title {
  margin: 0 0 10px;
}

.emc-faq-block__section-intro {
  margin: 0 0 24px;
}

/* Conteneur accordéon */
.emc-faq-block__items {
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

/* Item */
.emc-faq-item {
  margin: 0;
  border-top: 1px solid var(--emc-sep);
  background: transparent;
}

.emc-faq-item:first-child {
  border-top: 0;
}

/* Header */
.emc-faq-item__question {
  display: block;
  width: 100%;
  margin: 0;
  padding: 45px 78px 45px 40px;
  background: var(--emc-title-grad);
  position: relative;
  cursor: pointer;
  user-select: none;
}

/* H3 question */
.emc-faq-item__question-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--emc-title-inactive);
  transition: color 0.22s ease;
}

.emc-faq-item.is-open .emc-faq-item__question-title {
  color: var(--emc-title-active);
}

/* Chevron bas (fermé) / haut (ouvert) */
.emc-faq-item__question::before,
.emc-faq-item__question::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 50%;
  width: 10px;
  height: 2px;
  background: #fff;
  transform-origin: center;
  transition: transform 0.22s ease;
}

/* fermé = chevron bas */
.emc-faq-item__question::before {
  transform: translateY(-50%) translateX(-3px) rotate(45deg);
}
.emc-faq-item__question::after {
  transform: translateY(-50%) translateX(3px) rotate(-45deg);
}

/* ouvert = chevron haut */
.emc-faq-item.is-open .emc-faq-item__question::before {
  transform: translateY(-50%) translateX(-3px) rotate(-45deg);
}
.emc-faq-item.is-open .emc-faq-item__question::after {
  transform: translateY(-50%) translateX(3px) rotate(45deg);
}

/* Panneau (animation gérée par jQuery slideUp/slideDown) */
.emc-faq-item__panel {
  background: var(--emc-panel);
  color: var(--emc-text);
  overflow: hidden;
}

/* Contenu */
.emc-faq-item__answer-inner.Free_Content_Blocs {
  padding: 30px 30px 40px 40px;
  max-height: 390px;
  overflow: auto;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  line-height: 26px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs {
  max-height: 390px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  /* ton padding interne demandé */
  padding: 30px 30px 40px 40px !important;
  /* décale la scrollbar du bord */
  width: calc(100% - 5px);
  margin-right: 5px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(179, 18, 17, 0.45) transparent;
  /* Fade bas (texte qui passe dessous) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Scrollbar WebKit */
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar {
  width: 3px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar-track {
  background: transparent;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs::-webkit-scrollbar-thumb {
  background: rgba(179, 18, 17, 0.35);
  border-radius: 3px;
}
.emc-faq-item__panel .emc-faq-item__answer-inner.Free_Content_Blocs:hover::-webkit-scrollbar-thumb {
  background: var(--emc-red, #b31211);
}

.emc-faq-item__answer-inner > *:first-child {
  margin-top: 0;
}
.emc-faq-item__answer-inner > *:last-child {
  margin-bottom: 0;
}

.emc-faq-item__answer-inner ul li::marker {
  color: var(--emc-bullet);
}

/* Scrollbar */
.emc-faq-item__answer-inner {
  scrollbar-width: thin;
  scrollbar-color: var(--emc-bullet) transparent;
}
.emc-faq-item__answer-inner::-webkit-scrollbar {
  width: 6px;
}
.emc-faq-item__answer-inner::-webkit-scrollbar-thumb {
  background: var(--emc-bullet);
  border-radius: 10px;
}

/* Focus accessibilité */
.emc-faq-item__question:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

/* Arrondis globaux */
.emc-faq-item:first-child .emc-faq-item__question {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.emc-faq-item:last-child.is-open .emc-faq-item__panel {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.emc-faq-item:last-child:not(.is-open) .emc-faq-item__question {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Mobile */
@media (max-width: 950px) {
  .emc-faq-item__question {
    padding: 35px 58px 35px 20px;
  }

  .emc-faq-item__question-title {
    font-size: 16px;
    line-height: 22px;
  }

  .emc-faq-item__question::before,
  .emc-faq-item__question::after {
    right: 20px;
  }

  .emc-faq-item__answer-inner.Free_Content_Blocs {
    padding: 20px 30px 50px 10px;
  }
}
.Tabs_EMC_H div.elementor-widget-container{border-radius:20px;overflow:hidden;}
.emc-gradient-blue, .Tabs_EMC_H .elementor-tab-title, .Tabs_EMC_H .ae-acf-repeater-tab-title{background: linear-gradient(45deg, rgb(0, 62, 125) 0%, rgb(18, 18, 99) 50%, rgb(7, 6, 51) 100%);}
.Tabs_EMC_H .elementor-tab-content p, .Tabs_EMC_H .elementor-tab-content ul li, .Tabs_EMC_H .ae-acf-repeater-tab-content p, .Tabs_EMC_H .ae-acf-repeater-tab-content ul li{color:#000000;}
/* Colonnes Hub Ressources */
.emc-post-grid-2 .ae-post-collection {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
/* Annule float/flex Dynific */
.emc-post-grid-2 .ae-post-collection > * {
  width: 100% !important;
  float: none !important;
  max-width: 100% !important;
}
/* Tablette + mobile : 1 colonne */
@media (max-width: 1140px) {
  .emc-post-grid-2 .ae-post-collection {
    grid-template-columns: 1fr !important;
  }
}
/* Paginations  Hub Articles */
.infinite-scroll-error, .ae-pagination-wrapper{display:none;}
/* Productions */
.emc-prod-thumb{cursor:pointer;}
/* Lecteur dans la modale */
.emc-video-modal .emc-video-modal__player {position:relative;padding-bottom:56.25%; /* 16:9 */height: 0;}
.emc-video-modal .emc-video-modal__player iframe {position: absolute;inset: 0;width: 100%;height: 100%;border-radius: 10px;}
/* Text Effects */
.text-gradient-blue{background-image:linear-gradient(90deg, #007EFF, #3C00FF);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;}
.emc-sticky-stack {
  position: relative;
  --emc-sticky-top: 120px; /* header visible par défaut */
}
/* ===== EMC Sticky Stack ===== */
.emc-sticky-stack {
  position: relative;
  padding-top: 120px !important;
  overflow: visible !important;
}

.emc-sticky-stack,
.emc-sticky-stack .e-con,
.emc-sticky-stack .e-con-inner,
.emc-sticky-stack .elementor-widget,
.emc-sticky-stack .elementor-widget-container {
  overflow: visible !important;
}

/* Liste Dynific (vrai wrapper) */
.emc-sticky-stack .ae-post-collection {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  transform: none !important;
}

/* Chaque card = enfant direct de ae-post-collection */
.emc-sticky-stack .ae-post-collection > * {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 10px 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  position: sticky !important;
  min-height: 500px;
  overflow: hidden;
  box-shadow:
    0 -4px 10px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.emc-sticky-stack .ae-post-collection > *:last-child {
  margin-bottom: 120 !important;
}

/* Cascade +20px */
.emc-sticky-stack .ae-post-collection > *:nth-child(1)  { top: 120px !important; z-index: 1; }
.emc-sticky-stack .ae-post-collection > *:nth-child(2)  { top: 130px !important; z-index: 2; }
.emc-sticky-stack .ae-post-collection > *:nth-child(3)  { top: 140px !important; z-index: 3; }
.emc-sticky-stack .ae-post-collection > *:nth-child(4)  { top: 150px !important; z-index: 4; }
.emc-sticky-stack .ae-post-collection > *:nth-child(5)  { top: 160px !important; z-index: 5; }
.emc-sticky-stack .ae-post-collection > *:nth-child(6)  { top: 170px !important; z-index: 6; }
.emc-sticky-stack .ae-post-collection > *:nth-child(7)  { top: 180px !important; z-index: 7; }
.emc-sticky-stack .ae-post-collection > *:nth-child(8)  { top: 190px !important; z-index: 8; }
.emc-sticky-stack .ae-post-collection > *:nth-child(9)  { top: 200px !important; z-index: 9; }
.emc-sticky-stack .ae-post-collection > *:nth-child(10) { top: 210px !important; z-index: 10; }
.emc-sticky-stack .ae-post-collection > *:nth-child(11) { top: 220px !important; z-index: 11; }
.emc-sticky-stack .ae-post-collection > *:nth-child(12) { top: 230px !important; z-index: 12; }

/* Layout interne */
.emc-sticky-stack .emc-sticky-stack__item {
  position: relative !important;
  top: auto !important;
  height: 100%;
  margin: 0 !important;
  box-shadow: none !important;
}

/* ===== Mobile : sticky conservé sans respiration haute ===== */
@media (max-width: 767px) {
  .emc-sticky-stack {
    padding-top: 120px !important;
  }
  .emc-sticky-stack .ae-post-collection > * {
    min-height: auto;
  }
  .emc-sticky-stack .ae-post-collection > *:nth-child(1)  { top: 120 !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(2)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(3)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(4)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(5)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(6)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(7)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(8)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(9)  { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(10) { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(11) { top: 120px !important; }
  .emc-sticky-stack .ae-post-collection > *:nth-child(12) { top: 120px !important; }
}
/* ===== EMC Sticky Stack ===== */
/* Responsive */
@media screen and (max-width: 1140px) {
.Free_Content_Blocs p{font-size:14px !important;line-height:24px !important;}
.Free_Content_Blocs ul{margin-bottom:20px;font-size:14px !important;line-height:24px !important;padding-left:20px;}
.Free_Content_Blocs ul li::marker {color:#B31211;font-size: 14px !important;content:"●";}
.Free_Content_Blocs ul li{padding-left:12px;}
.Free_Content_Blocs ol{margin-bottom:20px;font-size:14px !important;line-height:24px !important;padding-left:8px;list-style:none;counter-reset:emc-ol;}
.Free_Content_Blocs ol > li{position:relative;padding-left:26px;counter-increment:emc-ol;}
.Free_Content_Blocs ol > li::before{content:counter(emc-ol) ".";position:absolute;left:0;top:0;width:20px;color:#B31211 !important;font-weight:700;font-variant-numeric:tabular-nums;line-height:24px;text-align:right;}
.Free_Content_Blocs h2{font-size:18px !important; line-height:28px !important;margin-bottom:20px;text-transform:uppercase;}
.Free_Content_Blocs h3{font-size:16.5px !important;line-height:26.5px !important;text-transform:uppercase;}
.Free_Content_Blocs h4, .Free_Content_Blocs h5, .Free_Content_Blocs h6{font-size:16px !important;line-height:26px !important;text-transform:uppercase;}
}

/* Flexible Pages */
/* ===== EMC Page Flexible ===== */
.emc-page-flexible {
  --emc-flex-gap: 64px;
  --emc-flex-gap-sm: 40px;
  --emc-red: #b31211;
  --emc-text: #111;
  --emc-muted: #5a5a5a;
  --emc-border: #e6e6e6;
  --emc-soft: #f5f5f5;
}

.emc-flex__title {
  margin: 0 0 16px;
  color: var(--emc-text);
  line-height: 1.2;
}

.emc-flex__intro {
  margin: 0 0 28px;
  color: var(--emc-muted);
  max-width: 70ch;
}

.emc-flex__content {
  color: var(--emc-text);
}

.emc-flex__content > *:first-child { margin-top: 0; }
.emc-flex__content > *:last-child { margin-bottom: 0; }

/* ===== EMC Flex : texte pleine largeur (dark) ===== */
.emc-flex--texte {
  background-color: transparent;
  color: #ffffff;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-bottom: 0;
}
/* Fond image + overlay */
.emc-flex--texte::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%),
    url("/wp-content/uploads/2026/06/bg-dbc-010.jpg") center center / cover no-repeat;
}

.emc-flex--texte .emc-flex__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

/* H2 */
.emc-flex--texte h2.emc-flex__title {
  font-size: 42px;
  line-height: 50px;
}

/* H3 */
.emc-flex--texte h3.emc-flex__title {
  font-size: 19px;
  line-height: 29px;
}

/* H4 / H5 / H6 */
.emc-flex--texte h4.emc-flex__title,
.emc-flex--texte h5.emc-flex__title,
.emc-flex--texte h6.emc-flex__title {
  font-size: 18px;
  line-height: 28px;
}

.emc-flex--texte .emc-flex__content.Free_Content_Blocs,
.emc-flex--texte .emc-flex__content.Free_Content_Blocs p,
.emc-flex--texte .emc-flex__content.Free_Content_Blocs * {
  color: #ffffff;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--texte h2.emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--texte h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte h4.emc-flex__title,
  .emc-flex--texte h5.emc-flex__title,
  .emc-flex--texte h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Mobile ≤ 950px */
@media (max-width: 950px) {
  .emc-flex--texte h2.emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--texte h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte h4.emc-flex__title,
  .emc-flex--texte h5.emc-flex__title,
  .emc-flex--texte h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ===== EMC Flex : 2 colonnes ===== */
.emc-flex--deux-colonnes {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr; /* média 45 / texte 55 */
  gap: 50px;
  align-items: stretch;
  margin-bottom: 100px;
}

/* Média à droite : order (évite direction:rtl qui décale le contenu à gauche) */
.emc-flex--deux-colonnes.emc-flex--media-droite {
  grid-template-columns: 0.55fr 0.45fr; /* texte 55 / média 45 */
}
.emc-flex--deux-colonnes.emc-flex--media-droite .emc-flex__body {
  order: 1;
}
.emc-flex--deux-colonnes.emc-flex--media-droite .emc-flex__media {
  order: 2;
}

/* Colonne média */
.emc-flex--deux-colonnes .emc-flex__media {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  border: 1px solid #FFFFFF12;
}

.emc-flex--deux-colonnes .emc-flex__media img,
.emc-flex--deux-colonnes .emc-flex__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emc-flex--deux-colonnes .emc-flex__media iframe,
.emc-flex--deux-colonnes .emc-flex__media .emc-flex__video,
.emc-flex--deux-colonnes .emc-flex__media .emc-flex__video > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Colonne texte */
.emc-flex--deux-colonnes .emc-flex__body {
  /* background: #ffffff; */
  color: #FFFFFF;
  /* border-radius: 20px; */
  /* padding: 50px 50px 60px 50px; */
  box-sizing: border-box;
  min-height: 450px;
}

.emc-flex--deux-colonnes .emc-flex__title {
  margin: 0 0 20px;
  color: #FFFFFF;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Le WYSIWYG est déjà géré par Free_Content_Blocs */
.emc-flex--deux-colonnes .emc-flex__content.Free_Content_Blocs {
  color: #FFFFFF;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--deux-colonnes {
    gap: 30px;
  }

  /* .emc-flex--deux-colonnes .emc-flex__body {
    padding: 40px 40px 50px 40px;
  } */

  .emc-flex--deux-colonnes .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* Mobile ≤ 950px : 1 colonne, écart vertical 40px */
@media (max-width: 950px) {
  .emc-flex--deux-colonnes {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .emc-flex--deux-colonnes.emc-flex--media-droite {
    grid-template-columns: 1fr;
  }

  .emc-flex--deux-colonnes .emc-flex__body {
    /* padding: 30px 30px 40px 30px; */
    min-height: 0;
  }

  .emc-flex--deux-colonnes .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .emc-flex--deux-colonnes .emc-flex__media {
    height: 250px;
  }

  /* ordre mobile : média puis texte */
  .emc-flex--deux-colonnes .emc-flex__media {
    order: 1;
  }
  .emc-flex--deux-colonnes .emc-flex__body {
    order: 2;
  }
}

/* CTA du bloc 2 colonnes */
.emc-flex--deux-colonnes .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;
  border: 1px solid #2680EB;
  border-radius: 100px;
  background: linear-gradient(90deg, #2680EB 0%, #3C00FF 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.emc-flex--deux-colonnes .emc-flex__cta:hover,
.emc-flex--deux-colonnes .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007EFF 0%, #3300D8 100%);
  border-color: #2680EB;
}
@media (max-width: 1140px) {
  .emc-flex--deux-colonnes .emc-flex__cta {
    padding: 15px 40px;
    font-size: 13px;
    line-height: 21px;
  }
}
@media (max-width: 950px) {
  .emc-flex--deux-colonnes .emc-flex__cta {
    padding: 15px 40px;
    font-size: 13px;
    line-height: 21px;
  }
}

/* ===== EMC Flex : cartes (header) ===== */
.emc-flex--cartes {
  margin-bottom: 100px;
  background: transparent; /* le fond page noir suffit */
}

.emc-flex--cartes .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 50px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--cartes .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--cartes .emc-flex__intro {
  max-width: none;
  margin: 0; /* annule aussi le margin-bottom: 28px global */
  color: #ffffff;
  text-align: center;
}
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs,
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs p {
  text-align: center;
}

.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}
.emc-flex--cartes .emc-flex__intro.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--cartes .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ===== EMC Flex : cards ===== */
.emc-flex--cartes .emc-flex__cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.emc-flex--cartes .emc-flex__cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
  flex: 0 1 calc((100% - 60px) / 3); /* 3 cols, 2 gaps of 30px */
  max-width: calc((100% - 60px) / 3);
  width: 100%;
  box-sizing: border-box;
}

.emc-flex--cartes .emc-flex__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

/* Image */
.emc-flex--cartes .emc-flex__card-media {
  padding: 10px;
  box-sizing: border-box;
}

.emc-flex--cartes .emc-flex__card-media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: -20px;
}

/* Texte */
.emc-flex--cartes .emc-flex__card-body {
  padding: 50px 30px 60px 30px;
  box-sizing: border-box;
  text-align: left;
  color: #000000;
}

.emc-flex--cartes .emc-flex__card-title {
  margin: 0 0 16px;
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs {
  color: #000000;
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs,
.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs p {
  text-align: left;
}

.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}
.emc-flex--cartes .emc-flex__card-text.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

/* Lien pleine carte */
.emc-flex--cartes .emc-flex__card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Tablette */
@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__card-body {
    padding: 40px 30px 50px 30px;
  }

  .emc-flex--cartes .emc-flex__card-title {
    font-size: 17px;
    line-height: 23px;
  }
}

/* Mobile */
@media (max-width: 1140px) {
  .emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
    flex-basis: calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 950px) {
  .emc-flex--cartes .emc-flex__cards-row .emc-flex__card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .emc-flex--cartes .emc-flex__card-body {
    padding: 30px 30px 40px 30px;
  }

  .emc-flex--cartes .emc-flex__card-title {
    font-size: 16px;
    line-height: 22px;
  }
}

/* ===== EMC Flex : chiffres ===== */
.emc-flex--chiffres .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--chiffres .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--chiffres .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--chiffres .emc-flex__intro.Free_Content_Blocs,
.emc-flex--chiffres .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Liquid glass */
.emc-flex--chiffres .emc-glass {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid #FFFFFF12;
  background: #FFFFFF12;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Grille : max 4 par ligne, wrap ensuite */
.emc-flex--chiffres .emc-flex__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: start;
  justify-items: center;
}

.emc-flex--chiffres .emc-flex__stat {
  width: 100%;
  max-width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emc-flex--chiffres .emc-flex__stat-value {
  margin: 0 0 10px;
  color: #B31211;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 68px;
  text-transform: uppercase;
}

.emc-flex--chiffres .emc-flex__stat-label {
  margin: 0;
  color: #FFFFFF;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  text-transform: uppercase;
  text-align: center;
}

/* Tablette */
@media (max-width: 1140px) {
  .emc-flex--chiffres .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--chiffres .emc-flex__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emc-flex--chiffres .emc-flex__stat-value {
    font-size: 48px;
    line-height: 56px;
  }

  .emc-flex--chiffres .emc-flex__stat-label {
    font-size: 13px;
    line-height: 21px;
  }
}

/* Mobile */
@media (max-width: 950px) {
  .emc-flex--chiffres .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--chiffres .emc-flex__stats {
    grid-template-columns: 1fr;
  }

  .emc-flex--chiffres .emc-flex__stat-value {
    font-size: 60px;
    line-height: 68px;
  }

  .emc-flex--chiffres .emc-flex__stat-label {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ===== EMC Flex : diaporama / vidéo ===== */
.emc-flex--diaporama-video {
  margin-bottom: 100px;
}

.emc-flex--diaporama-video .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--diaporama-video .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--diaporama-video .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--diaporama-video .emc-flex__intro.Free_Content_Blocs,
.emc-flex--diaporama-video .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Section média : 800px max */
.emc-flex--diaporama-video .emc-flex__media-wrap {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #FFFFFF12;
  background: #111;
}

/* Vidéo : 450px cover */
.emc-flex--diaporama-video .emc-flex__video,
.emc-flex--diaporama-video .emc-flex__video iframe,
.emc-flex--diaporama-video .emc-flex__video video {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
  border: 0;
  border-radius: 20px;
}

/* Diapo */
.emc-diapo {
  position: relative;
}

.emc-diapo__viewport {
  overflow: hidden;
  width: 100%;
}

.emc-diapo__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.emc-diapo__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.emc-diapo__slide img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Dots uniquement */
.emc-diapo__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.emc-diapo__dot,
.emc-diapo__dots button.emc-diapo__dot {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  margin: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  box-shadow: none;
  transition: background 0.2s ease;
}

.emc-diapo__dot.is-active,
.emc-diapo__dots button.emc-diapo__dot.is-active {
  background: #B31211;
  background-image: none;
}

@media (max-width: 1140px) {
  .emc-flex--diaporama-video .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--diaporama-video .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--diaporama-video .emc-flex__video,
  .emc-flex--diaporama-video .emc-flex__video iframe,
  .emc-flex--diaporama-video .emc-flex__video video,
  .emc-diapo__slide img {
    height: 250px;
  }
}

/* ===== EMC Flex : logos ===== */
.emc-flex--logos .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--logos .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--logos .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--logos .emc-flex__intro.Free_Content_Blocs,
.emc-flex--logos .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Même fond que texte pleine largeur */
.emc-flex--logos::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%),
    url("/wp-content/uploads/2026/06/bg-dbc-010.jpg") center center / cover no-repeat;
}

/* Marquee — HP / partenaires (--md) · équipements (--lg) */
.emc-logos-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.emc-logos-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: emc-logos-scroll var(--emc-logos-duration, 70s) linear infinite;
}

/* --- Taille MD : HP + partenaires / flexible --- */
.emc-logos-marquee--md .emc-logos-marquee__item,
.emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
  flex: 0 0 auto;
  width: max-content;
  min-width: 160px;
  height: 80px;
  padding: 0 36px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emc-logos-marquee--md .emc-logos-marquee__item img,
.emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
.elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
.emc-flex--logos .emc-logos-marquee__item img {
  display: block !important;
  width: auto !important;
  height: 56px !important;
  max-width: 180px !important;
  max-height: 56px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* --- Taille LG : équipements --- */
.emc-logos-marquee--lg .emc-logos-marquee__item {
  flex: 0 0 auto;
  width: max-content;
  min-width: 260px;
  height: 160px;
  padding: 0 56px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emc-logos-marquee--lg .emc-logos-marquee__item img,
.elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
  display: block !important;
  width: auto !important;
  height: 130px !important;
  max-width: 320px !important;
  max-height: 130px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.emc-logos-marquee__item:hover img {
  opacity: 1;
}

@keyframes emc-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 1140px) {
  .emc-flex--logos .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
    min-width: 140px;
    height: 72px;
    padding: 0 28px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-flex--logos .emc-logos-marquee__item img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 150px !important;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item {
    min-width: 220px;
    height: 140px;
    padding: 0 48px;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
    height: 110px !important;
    max-height: 110px !important;
    max-width: 280px !important;
  }
}

@media (max-width: 950px) {
  .emc-flex--logos .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item {
    min-width: 120px;
    height: 64px;
    padding: 0 22px;
  }
  .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-logos-marquee:not(.emc-logos-marquee--lg) .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--md .emc-logos-marquee__item img,
  .emc-flex--logos .emc-logos-marquee__item img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 130px !important;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item {
    min-width: 180px;
    height: 120px;
    padding: 0 40px;
  }
  .emc-logos-marquee--lg .emc-logos-marquee__item img,
  .elementor-shortcode .emc-logos-marquee--lg .emc-logos-marquee__item img {
    height: 96px !important;
    max-height: 96px !important;
    max-width: 240px !important;
  }
}


/* ===== EMC Flex : FAQ ===== */
.emc-flex--faq .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
  color: #ffffff;
}

.emc-flex--faq .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--faq .emc-flex__intro {
  max-width: none;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.emc-flex--faq .emc-flex__intro.Free_Content_Blocs,
.emc-flex--faq .emc-flex__intro.Free_Content_Blocs p {
  text-align: center !important;
  color: #ffffff;
}

/* Accordéon : row max 950px, centré */
.emc-flex--faq .emc-faq-block {
  max-width: 950px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

@media (max-width: 1140px) {
  .emc-flex--faq .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--faq .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ===== EMC Flex : paddings de section ===== */
.emc-page-flexible > .emc-flex {
  position: relative;
  isolation: isolate;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 100px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

@media (max-width: 1140px) {
  .emc-page-flexible > .emc-flex {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 950px) {
  .emc-page-flexible > .emc-flex {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ===== Presets glow auto (par type de bloc) ===== */

/* Parents : ne pas clipper les fonds */
.emc-page-flexible,
.emc-page-flexible .emc-flex,
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container,
.elementor-widget-shortcode .emc-page-flexible {
  overflow: visible !important;
}

.emc-page-flexible > .emc-flex {
  position: relative;
  isolation: isolate;
}

/* Glow sur toute la largeur écran */
.emc-page-flexible > .emc-flex::before,
.emc-page-flexible > .emc-flex::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

/* Cartes : lueur magenta / violette */
.emc-flex--cartes::before {
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(140, 40, 120, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(40, 50, 120, 0.18), transparent 55%);
}

/* Diaporama / vidéo : lueur chaude discrète */
.emc-flex--diaporama-video::before {
  background:
    radial-gradient(ellipse 82% 65% at 88% 5%, rgba(180, 80, 45, 0.40), transparent 62%),
    radial-gradient(ellipse 65% 52% at 8% 95%, rgba(40, 70, 150, 0.30), transparent 58%),
    radial-gradient(ellipse 48% 42% at 50% 40%, rgba(90, 40, 110, 0.16), transparent 65%);
}
.emc-flex--diaporama-video::after, .emc-flex--chiffres::after, .emc-flex--faq::after, .emc-flex--cartes::after {
  content: none !important;
}

/* Chiffres : glow cyan / bleu */
.emc-flex--chiffres::before {
  background:
    radial-gradient(ellipse 45% 40% at 20% 40%, rgba(40, 140, 200, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(60, 40, 140, 0.16), transparent 55%);
}

/* FAQ : bleu soft */
.emc-flex--faq::before {
  background:
    radial-gradient(ellipse 82% 65% at 88% 5%, rgba(50, 70, 180, 0.40), transparent 62%),
    radial-gradient(ellipse 65% 52% at 8% 95%, rgba(20, 30, 90, 0.30), transparent 58%),
    radial-gradient(ellipse 48% 42% at 50% 40%, rgba(60, 40, 140, 0.16), transparent 65%);
}

/* Grain ultra léger */
.emc-page-flexible > .emc-flex::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.emc-page-flexible > .emc-flex.emc-flex--deux-colonnes::before,
.emc-page-flexible > .emc-flex.emc-flex--deux-colonnes::after {
  content: none;
  display: none;
  background: none;
}

/* ===== EMC Flex : texte pleine largeur fond blanc ===== */
.emc-flex--texte-clair {
  background: transparent;
  color: #000000;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-bottom: 0;
}

/* Fond blanc full-bleed + image overlay */
.emc-flex--texte-clair::before {
  background-color: #ffffff !important;
  background-image: url("/wp-content/uploads/2026/07/bg-w-b-007.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

/* Grain global ::after de l'overlay */
.emc-flex--texte-clair::after {
  opacity: 0.02;
}

.emc-flex--texte-clair .emc-flex__title {
  margin: 0 0 20px;
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
}

.emc-flex--texte-clair h2.emc-flex__title {
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--texte-clair h3.emc-flex__title {
  font-size: 19px;
  line-height: 29px;
}

.emc-flex--texte-clair h4.emc-flex__title,
.emc-flex--texte-clair h5.emc-flex__title,
.emc-flex--texte-clair h6.emc-flex__title {
  font-size: 18px;
  line-height: 28px;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs,
.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs p,
.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs * {
  color: #000000;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs > *:first-child {
  margin-top: 0;
}

.emc-flex--texte-clair .emc-flex__content.Free_Content_Blocs > *:last-child {
  margin-bottom: 0;
}

/* CTA */
.emc-flex--texte-clair .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;

  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;

  border: 1px solid #2680eb;
  border-radius: 100px;

  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.emc-flex--texte-clair .emc-flex__cta:hover,
.emc-flex--texte-clair .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  border-color: #2680eb;
}

/* Tablette ≤ 1140px */
@media (max-width: 1140px) {
  .emc-flex--texte-clair h2.emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

  .emc-flex--texte-clair h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte-clair h4.emc-flex__title,
  .emc-flex--texte-clair h5.emc-flex__title,
  .emc-flex--texte-clair h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Mobile ≤ 950px */
@media (max-width: 950px) {
  .emc-flex--texte-clair h2.emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-flex--texte-clair h3.emc-flex__title {
    font-size: 16.5px;
    line-height: 26.5px;
  }

  .emc-flex--texte-clair h4.emc-flex__title,
  .emc-flex--texte-clair h5.emc-flex__title,
  .emc-flex--texte-clair h6.emc-flex__title {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ===== EMC Flex : 2 colonnes fond blanc ===== */
.emc-flex--deux-colonnes-clair {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr; /* fr = le gap ne fait plus déborder */
  gap: 60px;
  align-items: stretch;
  color: #000000;
  background: transparent;
}

/* Fond blanc + overlay full-bleed */
.emc-flex--deux-colonnes-clair::before {
  background-color: #ffffff !important;
  background-image: url("/wp-content/uploads/2026/07/bg-w-b-007.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}

.emc-flex--deux-colonnes-clair::after {
  opacity: 0.02; /* grain soft sur blanc */
}

/* Média à droite : order (pas de direction:rtl) */
.emc-flex--deux-colonnes-clair.emc-flex--media-droite {
  grid-template-columns: 0.58fr 0.42fr; /* texte | média */
}
.emc-flex--deux-colonnes-clair.emc-flex--media-droite .emc-flex__body {
  order: 1;
}
.emc-flex--deux-colonnes-clair.emc-flex--media-droite .emc-flex__media {
  order: 2;
}

/* Colonne média */
.emc-flex--deux-colonnes-clair .emc-flex__media {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

.emc-flex--deux-colonnes-clair .emc-flex__media img,
.emc-flex--deux-colonnes-clair .emc-flex__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emc-flex--deux-colonnes-clair .emc-flex__media iframe,
.emc-flex--deux-colonnes-clair .emc-flex__media .emc-flex__video,
.emc-flex--deux-colonnes-clair .emc-flex__media .emc-flex__video > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Colonne texte */
.emc-flex--deux-colonnes-clair .emc-flex__body {
  background: transparent;
  color: #000000;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 0;
}

.emc-flex--deux-colonnes-clair .emc-flex__title {
  margin: 0 0 20px;
  color: #000000;
  font-size: 42px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs,
.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs p,
.emc-flex--deux-colonnes-clair .emc-flex__content.Free_Content_Blocs * {
  color: #000000;
}

/* CTA */
.emc-flex--deux-colonnes-clair .emc-flex__cta {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 48px;
  box-sizing: border-box;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #ffffff !important;
  border: 1px solid #2680eb;
  border-radius: 100px;
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.emc-flex--deux-colonnes-clair .emc-flex__cta:hover,
.emc-flex--deux-colonnes-clair .emc-flex__cta:focus {
  color: #ffffff !important;
  background: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  border-color: #2680eb;
}

@media (max-width: 1140px) {
  .emc-flex--deux-colonnes-clair {
    gap: 30px;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 950px) {
  .emc-flex--deux-colonnes-clair {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .emc-flex--deux-colonnes-clair.emc-flex--media-droite {
    grid-template-columns: 1fr;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__media {
    height: 250px;
    order: 1;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__body {
    order: 2;
  }

  .emc-flex--deux-colonnes-clair .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ==================== EMC — Schéma parcours (matrice colonnes) ==================== */
.emc-parcours {
  --emc-red: #b31211;
  --emc-ink: #070633;
  --emc-ink-deep: #05041f;
  --emc-text: #ffffff;
  --emc-gap: 14px;
  --emc-radius: 16px;

  width: 100%;
  max-width: 100%;
  color: var(--emc-text);
  box-sizing: border-box;
}

.emc-parcours *,
.emc-parcours *::before,
.emc-parcours *::after {
  box-sizing: border-box;
}

.emc-parcours__matrix {
  display: block;
}
.emc-parcours__cards-mobile {
  display: none;
}

/* Year headers */
.emc-parcours__years {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--emc-gap);
  margin: 0 0 18px;
}

.emc-parcours__year {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--emc-ink);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}

.emc-parcours__year:first-child {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.emc-parcours__year:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%);
}

.emc-parcours__year--a1,
.emc-parcours__year--a2 {
  background: var(--emc-red);
}

.emc-parcours__year--a3 {
  background: var(--emc-ink-deep);
}

/* 3 colonnes alignées en haut : Prépa | Mid (span 2) | A3 */
.emc-parcours__cols {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--emc-gap);
  align-items: start;
}

.emc-parcours__col {
  display: flex;
  flex-direction: column;
  gap: var(--emc-gap);
  min-width: 0;
}

.emc-parcours__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: var(--emc-radius);
  color: #fff;
  overflow: hidden;
  height: 100%;
}

.emc-parcours__cell--prepa {
  background: linear-gradient(160deg, #12183a 0%, #070633 55%, #05041f 100%);
}

.emc-parcours__cell--mid {
  background: linear-gradient(160deg, #d01818 0%, #b31211 45%, #8e0e0e 100%);
}

.emc-parcours__cell--a3 {
  background: linear-gradient(160deg, #10122a 0%, #070633 50%, #030218 100%);
}

.emc-parcours .emc-parcours__title-link,
.emc-parcours .emc-parcours__title-link:visited,
.emc-parcours .emc-parcours__title-link:hover,
.emc-parcours .emc-parcours__title-link:focus,
.emc-parcours .emc-parcours__title-link:active {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.emc-parcours__title {
  margin: 0 0 8px;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.emc-parcours__diplome {
  margin: 0 0 14px;
  font-family: Mulish, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.emc-parcours__profil {
  margin: 0 0 14px;
}

.emc-parcours__profil-label {
  margin: 10px 0 -5px;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.emc-parcours__profil-text {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Accès : Oswald uppercase + flèche */
.emc-parcours__passerelle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.emc-parcours__passerelle-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: currentColor;
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
  color: #fff;
  opacity: 0.9;
}

.emc-parcours__passerelle-text {
  font-family: Oswald, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

/* Option Production Hybride \u2014 tampon + texte (Cin\u00e9ma) */
.emc-parcours__hybride {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.emc-parcours__hybride-stamp {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-top: -10px;
  display: block;
  object-fit: contain;
}

.emc-parcours__hybride-body {
  flex: 1 1 auto;
  min-width: 0;
}

.emc-parcours__hybride-text {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}



/* Mobile */
.emc-parcours__mcard-wrap + .emc-parcours__mcard-wrap {
  margin-top: 14px;
}

.emc-parcours__mcard-wrap .emc-parcours__cell {
  height: auto;
}

.emc-parcours__mcard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.emc-parcours__chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: Oswald, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.emc-parcours__mcard-wrap .emc-parcours__title {
  font-size: 20px;
}

@media (max-width: 1100px) {
  .emc-parcours__title {
    font-size: 18px;
  }
  .emc-parcours__year {
    font-size: 12px;
    padding: 10px 12px;
  }
}

@media (max-width: 950px) {
  .emc-parcours__matrix {
    display: none;
  }
  .emc-parcours__cards-mobile {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emc-parcours * {
    transition: none !important;
  }
}
/* ==================== FIN EMC — Schéma parcours ==================== */

/* ==========================================================================
   Formulaires Gravity Forms — EMC
   Floating Material (outlined) · fond sombre · style global .gform_wrapper
   Conteneur glass : géré côté Elementor / page
   ========================================================================== */

.gform_wrapper.gform-theme,
.gform_wrapper {
  --emc-gf-red: #b31211;
  --emc-gf-blue: #2680eb;
  --emc-gf-violet: #3c00ff;
  --emc-gf-cta: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  --emc-gf-cta-hover: linear-gradient(90deg, #007eff 0%, #3300d8 100%);
  --emc-gf-radius: 20px;
  --emc-gf-input-h: 50px;
  --emc-gf-radius-pill: 100px;
  --gf-ctrl-size-input-height: 50px;
  --gf-ctrl-size-control-height: 50px;
  --gf-ctrl-height: 50px;
  --emc-gf-fg: #ffffff;
  --emc-gf-fg-muted: rgba(255, 255, 255, 0.58);
  --emc-gf-fg-soft: rgba(255, 255, 255, 0.88);
  --emc-gf-border: rgba(255, 255, 255, 0.22);
  --emc-gf-border-hover: rgba(38, 128, 235, 0.55);
  --emc-gf-border-focus: #2680eb;
  --emc-gf-field-bg: rgba(255, 255, 255, 0.05);
  --emc-gf-field-bg-focus: rgba(255, 255, 255, 0.08);
  --emc-gf-glow: 0 0 0 3px rgba(38, 128, 235, 0.25);
  --emc-gf-font-ui: "Oswald", sans-serif;
  --emc-gf-font-body: "Mulish", sans-serif;
  --emc-gf-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Overrides Orbital */
  --gf-color-primary: #2680eb;
  --gf-color-danger: #b31211;
  --gf-ctrl-border-color: var(--emc-gf-border);
  --gf-ctrl-border-radius: var(--emc-gf-radius);
  --gf-ctrl-bg-color: var(--emc-gf-field-bg);
  --gf-ctrl-color: var(--emc-gf-fg);
  --gf-ctrl-label-color-primary: var(--emc-gf-fg-soft);
  --gf-ctrl-desc-color: var(--emc-gf-fg-muted);
  --gf-ctrl-btn-bg-color-primary: transparent;
  --gf-ctrl-btn-color-primary: #ffffff;

  width: 100%;
  color: var(--emc-gf-fg);
  font-family: var(--emc-gf-font-body);
  box-sizing: border-box;
}

.gform_wrapper *,
.gform_wrapper *::before,
.gform_wrapper *::after {
  box-sizing: border-box;
}

/* ---------- Progress multipage ---------- */
.gform_wrapper .gf_progressbar_wrapper {
  margin: 0 0 28px;
}

.gform_wrapper .gf_progressbar_title {
  margin: 0 0 10px;
  font-family: var(--emc-gf-font-ui);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff !important;
}

.gform_wrapper .gf_progressbar {
  height: 6px !important;
  border: 0 !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 0 15px !important;
}

.gform_wrapper .gf_progressbar_percentage {
  height: 100% !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  background: var(--emc-gf-cta) !important;
  color: transparent !important;
  font-size: 0 !important;
  transition: width 0.4s var(--emc-gf-ease);
}

.gform_wrapper .gform_required_legend {
  display: none !important;
}

/* ---------- Sections / HTML ---------- */
.gform_wrapper .gsection {
  margin: 12px 0 4px !important;
  padding: 20px 0 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 0 !important;
}

.gform_wrapper .gsection:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.gform_wrapper .gsection_title {
  margin: 0;
  font-family: var(--emc-gf-font-ui);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff !important;
}

.gform_wrapper .gfield_html h2,
.gform_wrapper .gfield_html h3,
.gform_wrapper .gfield--type-html h2,
.gform_wrapper .gfield--type-html h3 {
  margin: 0 0 12px;
  font-family: var(--emc-gf-font-ui);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  color: #ffffff !important;
}

.gform_wrapper .gsection_description,
.gform_wrapper .gfield_html,
.gform_wrapper .gfield_html p,
.gform_wrapper .gfield--type-html,
.gform_wrapper .gfield--type-html p,
.gform_wrapper .gfield_description {
  color: #ffffff !important;
  font-family: var(--emc-gf-font-body);
  font-size: 14px;
  line-height: 22px;
}

.gform_wrapper .gfield_html a,
.gform_wrapper .gfield_description a,
.gform_wrapper .gchoice label a {
  color: #7eb6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- List fields (Diplômes etc.) ---------- */
.gform_wrapper .gfield--type-list > .gfield_label,
.gform_wrapper .gfield--type-list > legend.gfield_label,
.gform_wrapper .gfield--input-type-list > .gfield_label,
.gform_wrapper .gfield--input-type-list > legend.gfield_label {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  transform: none !important;
  float: none !important;
  pointer-events: auto;
  font-family: var(--emc-gf-font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  background: none !important;
}

.gform_wrapper .gfield_list_header .gfield_header_item,
.gform_wrapper .gfield_list_header .gform-field-label,
.gform_wrapper .gfield_header_item,
.gform_wrapper .ginput_list .gform-field-label {
  color: #ffffff !important;
  font-family: var(--emc-gf-font-ui);
  font-size: 12px !important;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 1 !important;
}

.gform_wrapper .gfield_list_cell[data-label]::before,
.gform_wrapper .gfield_list_group_item[data-label]::before {
  color: #ffffff !important;
}

/* ---------- Champs avec description : pas de floating (évite chevauchement) ---------- */
.gform_wrapper .gfield--has-description > .gfield_label,
.gform_wrapper .gfield--has-description > legend.gfield_label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  max-width: none !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  transform: none !important;
  float: none !important;
  pointer-events: auto;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--emc-gf-fg-soft) !important;
  background: none !important;
}

.gform_wrapper .gfield--has-description > .gfield_description {
  position: static !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

.gform_wrapper .gfield--has-description .ginput_container {
  margin-top: 0 !important;
}

/* ---------- Floating Material : champs texte / email / select ---------- */
.gform_wrapper .gfield--type-text,
.gform_wrapper .gfield--type-email,
.gform_wrapper .gfield--type-phone,
.gform_wrapper .gfield--type-website,
.gform_wrapper .gfield--type-number,
.gform_wrapper .gfield--type-textarea,
.gform_wrapper .gfield--type-select,
.gform_wrapper .gfield--input-type-text,
.gform_wrapper .gfield--input-type-email,
.gform_wrapper .gfield--input-type-tel,
.gform_wrapper .gfield--input-type-url,
.gform_wrapper .gfield--input-type-number,
.gform_wrapper .gfield--input-type-textarea,
.gform_wrapper .gfield--input-type-select {
  position: relative;
}

.gform_wrapper fieldset.gfield {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-inline-size: 0;
}

.gform_wrapper .gfield--type-text > .gfield_label,
.gform_wrapper .gfield--type-email > .gfield_label,
.gform_wrapper .gfield--type-website > .gfield_label,
.gform_wrapper .gfield--type-number > .gfield_label,
.gform_wrapper .gfield--type-textarea > .gfield_label,
.gform_wrapper .gfield--type-select > .gfield_label,
.gform_wrapper .gfield--type-phone > .gfield_label,
.gform_wrapper .gfield--input-type-text > .gfield_label,
.gform_wrapper .gfield--input-type-email > .gfield_label,
.gform_wrapper .gfield--input-type-tel > .gfield_label,
.gform_wrapper .gfield--input-type-url > .gfield_label,
.gform_wrapper .gfield--input-type-number > .gfield_label,
.gform_wrapper .gfield--input-type-textarea > .gfield_label,
.gform_wrapper .gfield--input-type-select > .gfield_label,
.gform_wrapper .gfield--type-phone > legend.gfield_label {
  position: absolute !important;
  z-index: 2;
  top: calc(var(--emc-gf-input-h) / 2) !important;
  left: 14px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 28px);
  margin: 0 !important;
  padding: 0 6px !important;
  float: none !important;
  transform: translateY(-50%) !important;
  transform-origin: left center;
  pointer-events: none;
  font-family: var(--emc-gf-font-ui);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emc-gf-fg-muted) !important;
  background: transparent;
  transition:
    top 0.2s var(--emc-gf-ease),
    transform 0.2s var(--emc-gf-ease),
    font-size 0.2s var(--emc-gf-ease),
    color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease);
}

.gform_wrapper .gfield--type-textarea > .gfield_label,
.gform_wrapper .gfield--input-type-textarea > .gfield_label {
  top: 20px !important;
  transform: none !important;
}

/* Conteneur input : référence stable pour le label */
.gform_wrapper .gfield--type-text .ginput_container,
.gform_wrapper .gfield--type-email .ginput_container,
.gform_wrapper .gfield--type-website .ginput_container,
.gform_wrapper .gfield--type-number .ginput_container,
.gform_wrapper .gfield--type-select .ginput_container,
.gform_wrapper .gfield--type-phone .ginput_container,
.gform_wrapper .gfield--input-type-text .ginput_container,
.gform_wrapper .gfield--input-type-email .ginput_container,
.gform_wrapper .gfield--input-type-tel .ginput_container,
.gform_wrapper .gfield--input-type-select .ginput_container {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield--type-text:focus-within > .gfield_label,
.gform_wrapper .gfield--type-email:focus-within > .gfield_label,
.gform_wrapper .gfield--type-website:focus-within > .gfield_label,
.gform_wrapper .gfield--type-number:focus-within > .gfield_label,
.gform_wrapper .gfield--type-textarea:focus-within > .gfield_label,
.gform_wrapper .gfield--type-phone:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-text:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-email:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-tel:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-url:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-number:focus-within > .gfield_label,
.gform_wrapper .gfield--input-type-textarea:focus-within > .gfield_label,
.gform_wrapper .gfield--type-text:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-email:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-website:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-number:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-textarea:has(textarea:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-phone:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-text:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-email:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-tel:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-url:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-number:has(input:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--input-type-textarea:has(textarea:not(:placeholder-shown)) > .gfield_label,
.gform_wrapper .gfield--type-select > .gfield_label,
.gform_wrapper .gfield--input-type-select > .gfield_label,
.gform_wrapper .gfield.emc-gf-filled > .gfield_label {
  top: 0 !important;
  left: 12px !important;
  right: auto !important;
  max-width: calc(100% - 24px);
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  line-height: 14px;
  color: var(--emc-gf-fg-soft) !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(8, 8, 20, 0.92) 42%,
    rgba(8, 8, 20, 0.92) 100%
  );
}

.gform_wrapper .gfield:focus-within > .gfield_label {
  color: var(--emc-gf-blue);
}

.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_asterisk {
  color: var(--emc-gf-red) !important;
}

/* ---------- Inputs ---------- */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"]:not(.gform-phone__input),
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="search"],
.gform_wrapper input[type="date"],
.gform_wrapper textarea,
.gform_wrapper select,
.gform_wrapper .ginput_container input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="reset"]):not(.gform-phone__input),
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
  width: 100%;
  max-width: 100%;
  height: var(--emc-gf-input-h) !important;
  min-height: var(--emc-gf-input-h) !important;
  max-height: none !important;
  block-size: var(--emc-gf-input-h) !important;
  min-block-size: var(--emc-gf-input-h) !important;
  margin: 0;
  padding: 0 16px !important;
  font-family: var(--emc-gf-font-body);
  font-size: 15px !important;
  line-height: var(--emc-gf-input-h) !important;
  font-weight: 400;
  color: var(--emc-gf-fg);
  background: var(--emc-gf-field-bg) !important;
  border: 1px solid var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  outline: none;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease),
    box-shadow 0.2s var(--emc-gf-ease);
}

.gform_wrapper textarea,
.gform_wrapper .ginput_container textarea {
  height: auto !important;
  min-height: 130px !important;
  block-size: auto !important;
  min-block-size: 130px !important;
  line-height: 22px !important;
  padding: 18px 16px !important;
  resize: vertical;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper .ginput_container input::placeholder,
.gform_wrapper .ginput_container textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
}

.gform_wrapper input:hover:not(.gform-phone__input),
.gform_wrapper textarea:hover,
.gform_wrapper select:hover {
  border-color: var(--emc-gf-border-hover) !important;
}

.gform_wrapper input:focus:not(.gform-phone__input),
.gform_wrapper textarea:focus,
.gform_wrapper select:focus,
.gform_wrapper input:focus-visible:not(.gform-phone__input),
.gform_wrapper textarea:focus-visible,
.gform_wrapper select:focus-visible {
  border-color: var(--emc-gf-border-focus) !important;
  background: var(--emc-gf-field-bg-focus) !important;
  box-shadow: var(--emc-gf-glow) !important;
}

/* Focus téléphone = glow sur le wrapper unique */
.gform_wrapper .gfield--type-phone:focus-within .gform-phone__input-wrapper {
  border-color: var(--emc-gf-border-focus) !important;
  background: var(--emc-gf-field-bg-focus) !important;
  box-shadow: var(--emc-gf-glow) !important;
}

.gform_wrapper select,
.gform_wrapper .ginput_container select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  cursor: pointer;
}

.gform_wrapper .gform-phone {
  width: 100%;
}

/* Un seul champ visuel : drapeau + input dans le même contour */
.gform_wrapper .gform-phone__input-wrapper,
.gform_wrapper.gform-theme .gform-phone__input-wrapper,
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  display: flex !important;
  align-items: center !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: 100%;
  height: var(--emc-gf-input-h) !important;
  min-height: var(--emc-gf-input-h) !important;
  padding: 0 16px 0 14px !important;
  border: 1px solid var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  background: var(--emc-gf-field-bg) !important;
  box-sizing: border-box;
  transition:
    border-color 0.2s var(--emc-gf-ease),
    background 0.2s var(--emc-gf-ease),
    box-shadow 0.2s var(--emc-gf-ease);
}

.gform_wrapper .gfield--type-phone:focus-within .gform-phone__input-wrapper,
.gform_wrapper .gform-phone__input-wrapper:focus-within {
  border-color: var(--emc-gf-border-focus);
  background: var(--emc-gf-field-bg-focus);
  box-shadow: var(--emc-gf-glow);
}

.gform_wrapper .ginput_country-selector_container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.gform_wrapper .gform-phone__country-selector,
.gform_wrapper button.gform-phone__country-selector,
.gform_wrapper .gform-phone__country-selector.gform-theme-button,
.gform_wrapper .gform-phone__country-selector.gform-theme-button--tertiary {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  color: var(--emc-gf-fg) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.gform_wrapper .gform-phone__country-selector:hover,
.gform_wrapper .gform-phone__country-selector.gform-theme-button:hover {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  filter: none !important;
  color: var(--emc-gf-fg) !important;
}

.gform_wrapper .gform-phone__flag-icon {
  /* Sprite GF natif = 30×20 — scale 0.5 (= −10px hauteur) + reprise d'espace layout */
  display: inline-block !important;
  flex-shrink: 0;
  width: 30px !important;
  height: 20px !important;
  block-size: 20px !important;
  inline-size: 30px !important;
  background-size: auto 20px !important;
  background-repeat: no-repeat !important;
  transform: scale(0.5);
  transform-origin: left center;
  margin-right: -15px; /* annule la moitié fantôme du scale */
}

.gform_wrapper .ginput_phone_container {
  flex: 1 1 auto;
  min-width: 0;
}

.gform_wrapper .gform-phone__input-wrapper input,
.gform_wrapper .gform-phone__input,
.gform_wrapper .ginput_phone_container input,
.gform_wrapper .gfield--type-phone input[type="tel"],
.gform_wrapper .gfield--type-phone input.gform-phone__input,
.gform_wrapper input.gform-phone__input[type="tel"] {
  flex: 1 1 auto;
  width: 100% !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 100% !important;
  min-height: 0 !important;
  block-size: auto !important;
  min-block-size: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gform-phone__input-wrapper input:hover,
.gform_wrapper .gform-phone__input-wrapper input:focus,
.gform_wrapper .gform-phone__input-wrapper input:focus-visible,
.gform_wrapper .gfield--type-phone input[type="tel"]:hover,
.gform_wrapper .gfield--type-phone input[type="tel"]:focus,
.gform_wrapper .gfield--type-phone input[type="tel"]:focus-visible,
.gform_wrapper input.gform-phone__input[type="tel"]:hover,
.gform_wrapper input.gform-phone__input[type="tel"]:focus,
.gform_wrapper input.gform-phone__input[type="tel"]:focus-visible {
  border: 0 !important;
  border-width: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Contour unique = wrapper uniquement */
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  border: 1px solid var(--emc-gf-border) !important;
}

/* ---------- Radios / checkboxes ---------- */
.gform_wrapper .gfield--type-radio > .gfield_label,
.gform_wrapper .gfield--type-checkbox > .gfield_label,
.gform_wrapper .gfield--type-choice > .gfield_label,
.gform_wrapper .gfield--type-fileupload > .gfield_label,
.gform_wrapper .gfield--type-consent > .gfield_label {
  position: static;
  display: block;
  margin: 0 0 12px;
  padding: 0;
  transform: none;
  pointer-events: auto;
  font-family: var(--emc-gf-font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emc-gf-fg-soft);
  background: none;
}

.gform_wrapper .gfield_radio,
.gform_wrapper .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.gform_wrapper .gfield--choice-align-vertical .gfield_radio,
.gform_wrapper .gfield--choice-align-vertical .gfield_checkbox {
  flex-direction: column;
}

.gform_wrapper .gchoice,
.gform_wrapper .gfield_checkbox .gchoice,
.gform_wrapper .gfield_radio .gchoice {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0;
  padding: 0;
  grid-template-columns: none !important;
}

.gform_wrapper .gchoice > input[type="checkbox"],
.gform_wrapper .gchoice > input[type="radio"],
.gform_wrapper .gchoice > .gfield-choice-input {
  flex: 0 0 18px !important;
  margin: 0 !important;
  align-self: center !important;
}

.gform_wrapper .gchoice label,
.gform_wrapper .gform-field-label--type-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--emc-gf-border);
  border-radius: var(--emc-gf-radius-pill);
  background: var(--emc-gf-field-bg);
  color: var(--emc-gf-fg-soft);
  font-family: var(--emc-gf-font-body);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gform_wrapper .gfield--choice-align-vertical .gchoice label {
  border-radius: var(--emc-gf-radius);
  width: 100%;
  align-items: flex-start;
}

.gform_wrapper .gchoice label:hover {
  border-color: var(--emc-gf-border-hover);
}

.gform_wrapper .gchoice input[type="radio"],
.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper input.gfield-choice-input[type="radio"],
.gform_wrapper input.gfield-choice-input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  block-size: 18px !important;
  min-block-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gform_wrapper .gchoice input[type="radio"] {
  border-radius: 50%;
}

.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper input.gfield-choice-input[type="checkbox"] {
  border-radius: 5px !important;
}

.gform_wrapper .gchoice input[type="radio"]:checked,
.gform_wrapper .gchoice input[type="checkbox"]:checked {
  border-color: var(--emc-gf-blue);
  background: var(--emc-gf-cta);
  box-shadow: 0 0 0 2px rgba(38, 128, 235, 0.2);
}

.gform_wrapper .gchoice input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1.5 5L4.5 8L10.5 1.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px 8px;
  background-position: center;
  background-repeat: no-repeat;
}

.gform_wrapper .gchoice input[type="radio"]:checked {
  background-image: radial-gradient(circle, #ffffff 0 35%, transparent 36%);
}

.gform_wrapper .gchoice:has(input:checked) label {
  border-color: rgba(38, 128, 235, 0.7);
  background: rgba(38, 128, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(38, 128, 235, 0.12);
}

.gform_wrapper .hidden_label > .gfield_label,
.gform_wrapper .gfield.hidden_label > .gfield_label {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gform_wrapper .gfield.hidden_label.gfield--type-checkbox .gchoice,
.gform_wrapper .gfield.hidden_label.gfield--input-type-checkbox .gchoice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.gform_wrapper .gfield.hidden_label.gfield--type-checkbox .gchoice input[type="checkbox"],
.gform_wrapper .gfield.hidden_label.gfield--input-type-checkbox .gchoice input[type="checkbox"] {
  flex: 0 0 18px;
  margin-top: 3px;
}

.gform_wrapper .gfield.hidden_label .gchoice label,
.gform_wrapper .gfield.hidden_label .gform-field-label--type-inline,
.gform_wrapper #field_4_8 .gchoice label,
.gform_wrapper .ginput_container_consent {
  display: block !important;
  flex: 1 1 auto;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: flex-start;
  color: var(--emc-gf-fg-soft) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  white-space: normal !important;
  column-count: 1 !important;
  columns: 1 !important;
  column-gap: 0 !important;
}

.gform_wrapper .gfield.hidden_label .gchoice:has(input:checked) label {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ---------- File upload ---------- */
.gform_wrapper .gfield--type-fileupload > .gfield_label,
.gform_wrapper .gfield--input-type-fileupload > .gfield_label {
  position: static !important;
  top: auto !important;
  transform: none !important;
  margin: 0 0 10px !important;
  background: none !important;
  pointer-events: auto;
}

.gform_wrapper .ginput_container_fileupload,
.gform_wrapper .gfield--type-fileupload .ginput_container {
  overflow: visible !important;
}

.gform_wrapper .ginput_container_fileupload input[type="file"],
.gform_wrapper .gfield--type-fileupload input[type="file"],
.gform_wrapper .gfield--input-type-fileupload input[type="file"],
.gform_wrapper input[type="file"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 56px !important;
  max-height: none !important;
  block-size: auto !important;
  min-block-size: 56px !important;
  line-height: normal !important;
  padding: 14px 18px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  border: 1px dashed var(--emc-gf-border) !important;
  border-radius: var(--emc-gf-radius) !important;
  background: var(--emc-gf-field-bg) !important;
  color: var(--emc-gf-fg-soft) !important;
  cursor: pointer;
}

.gform_wrapper input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--emc-gf-radius-pill);
  font-family: var(--emc-gf-font-ui);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--emc-gf-cta);
  cursor: pointer;
  vertical-align: middle;
}

.gform_wrapper .gform_fileupload_rules,
.gform_wrapper .gfield--type-fileupload .gfield_description {
  margin-top: 8px !important;
  font-size: 12px;
  line-height: 18px;
  color: var(--emc-gf-fg-muted) !important;
}

/* ---------- Validation ---------- */
.gform_wrapper .gform_validation_errors {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: var(--emc-gf-radius);
  border: 1px solid rgba(179, 18, 17, 0.45);
  background: rgba(179, 18, 17, 0.14);
}

.gform_wrapper .gform_validation_errors > h2,
.gform_wrapper .gform_validation_errors .gform_submission_error {
  margin: 0 0 8px;
  font-family: var(--emc-gf-font-ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emc-gf-red);
}

.gform_wrapper .gform_validation_errors ol {
  margin: 0;
  padding-left: 18px;
  color: var(--emc-gf-fg-soft);
  font-size: 13px;
}

.gform_wrapper .gform_validation_errors a {
  color: var(--emc-gf-fg-soft);
}

.gform_wrapper .gfield_error {
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error .gchoice label {
  border-color: rgba(179, 18, 17, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(179, 18, 17, 0.18) !important;
}

.gform_wrapper .gfield_error > .gfield_label {
  color: var(--emc-gf-red);
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  margin-top: 8px;
  color: var(--emc-gf-red) !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.gform_wrapper .gform_confirmation_message {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid rgba(38, 128, 235, 0.35);
  background: rgba(38, 128, 235, 0.12);
  text-align: center;
  color: var(--emc-gf-fg-soft);
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Boutons ---------- */
.gform_wrapper .gform_page_footer,
.gform_wrapper .gform_footer,
.gform_wrapper .gform-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 8px;
}

.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button,
.gform_wrapper .gform_save_link,
.gform_wrapper input[type="submit"],
.gform_wrapper button.gform_button,
.gform_wrapper .gform-theme-button:not(.gform-phone__country-selector) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 !important;
  padding: 14px 36px !important;
  border: 1px solid #2680eb !important;
  border-radius: var(--emc-gf-radius-pill) !important;
  font-family: var(--emc-gf-font-ui) !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  background: var(--emc-gf-cta) !important;
  background-image: var(--emc-gf-cta) !important;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    background 0.25s ease,
    filter 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_next_button:hover,
.gform_wrapper .gform_save_link:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform-theme-button:not(.gform-phone__country-selector):hover {
  background: var(--emc-gf-cta-hover) !important;
  background-image: var(--emc-gf-cta-hover) !important;
  filter: brightness(1.05);
  color: #ffffff !important;
}

.gform_wrapper .gform_save_link svg,
.gform_wrapper .gform_save_link .gform-icon,
.gform_wrapper .gform_save_link i,
.gform_wrapper .gform_save_link [class*="icon"] {
  display: none !important;
}

/* Icône réelle = ::before (icon font Gravity), pas le SVG */
.gform_wrapper .gform_save_link::before,
.gform_wrapper .gform_save_link.gform-theme-button::before,
.gform_wrapper .gform_save_link.gform-theme-button--secondary::before,
.gform_wrapper.gform-theme--framework .gform_save_link::before,
.gform_wrapper.gform-theme--orbital .gform_save_link::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.gform_wrapper .gform_previous_button,
.gform_wrapper .gform-theme-button--secondary,
.gform_wrapper .gform_save_link.gform-theme-button--secondary {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--emc-gf-border) !important;
  color: #ffffff !important;
}

.gform_wrapper .gform_previous_button:hover,
.gform_wrapper .gform-theme-button--secondary:hover,
.gform_wrapper .gform_save_link.gform-theme-button--secondary:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(38, 128, 235, 0.5) !important;
  filter: none;
  color: var(--emc-gf-fg) !important;
}

@media (max-width: 950px) {
  .gform_wrapper .gform_page_footer,
  .gform_wrapper .gform_footer,
  .gform_wrapper .gform-page-footer {
    flex-direction: column-reverse;
  }

  .gform_wrapper .gform_button,
  .gform_wrapper .gform_next_button,
  .gform_wrapper .gform_previous_button,
  .gform_wrapper .gform_save_link,
  .gform_wrapper input[type="submit"],
  .gform_wrapper .gform-theme-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gform_wrapper .gfield_label,
  .gform_wrapper input,
  .gform_wrapper textarea,
  .gform_wrapper select,
  .gform_wrapper .gform-theme-button {
    transition: none !important;
  }
}


/* ---------- Champs analytics / UTM (gardés dans le DOM, plus d'espace vide) ---------- */
.gform_wrapper .gfield_visibility_hidden,
.gform_wrapper .gfield.gfield_visibility_hidden,
.gform_wrapper .gform_hidden,
.gform_wrapper .gf_invisible,
.gform_wrapper .gfield--type-hidden {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ===== EMC GF overrides finaux (après Orbital) ===== */
.gform_wrapper.gform-theme--framework .gfield--type-phone .gform-phone__input-wrapper,
.gform_wrapper.gform-theme--orbital .gfield--type-phone .gform-phone__input-wrapper,
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper {
  display: flex !important;
  grid-template-columns: unset !important;
  border: 1px solid var(--emc-gf-border) !important;
}

.gform_wrapper.gform-theme--framework .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper.gform-theme--orbital .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper .gfield--type-phone .gform-phone__input-wrapper input.gform-phone__input[type="tel"],
.gform_wrapper .gform-phone__input-wrapper input.gform-phone__input,
.gform_wrapper .ginput_phone_container input[type="tel"],
.gform_wrapper input.gform-phone__input[type="tel"] {
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
}

.gform_wrapper.gform-theme--framework .gfield.hidden_label .gchoice label,
.gform_wrapper.gform-theme--orbital .gfield.hidden_label .gchoice label,
.gform_wrapper.gform-theme--framework .gfield.hidden_label .gform-field-label--type-inline {
  display: block !important;
  column-count: 1 !important;
  columns: auto !important;
}

.gform_wrapper.gform-theme--framework .gform_save_link > svg,
.gform_wrapper.gform-theme--orbital .gform_save_link > svg,
.gform_wrapper .gform_save_link > svg {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

.gform_wrapper.gform-theme--framework .gform_save_link::before,
.gform_wrapper.gform-theme--orbital .gform_save_link::before {
  content: none !important;
  display: none !important;
}

/* Checkboxes : centrage vertical + gap 10px */
.gform_wrapper.gform-theme--framework .gchoice,
.gform_wrapper.gform-theme--orbital .gchoice {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* ===== EMC Flex : Indicateurs ===== */
.emc-flex--indicateurs {
  color: #ffffff;
}

.emc-flex--indicateurs .emc-flex__header {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.emc-flex--indicateurs .emc-flex__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 42px;
  line-height: 50px;
}

.emc-flex--indicateurs .emc-flex__intro,
.emc-flex--indicateurs .emc-flex__intro.Free_Content_Blocs,
.emc-flex--indicateurs .emc-flex__intro.Free_Content_Blocs p {
  color: #ffffff;
  text-align: center;
}

.emc-ind__maj {
  margin: 0 0 12px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b31211;
}

/* Tabs */
.emc-ind__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 50px;
}

.emc-ind__tab {
  appearance: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  transition: none;
  /* Inactif */
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.emc-ind__tab.is-active {
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%);
  border-color: transparent;
  color: #ffffff;
}

/* Reset boutons onglets */
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:hover,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:focus,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:focus-visible,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 15px 48px !important;
  font-family: Oswald, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: none !important;
}

/* Actif uniquement */
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:hover,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:focus,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:focus-visible,
.emc-flex--indicateurs .emc-ind__tabs .emc-ind__tab.is-active:active {
  background: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%) !important;
  background-image: linear-gradient(90deg, #2680eb 0%, #3c00ff 100%) !important;
  border-color: #2680EB !important;
  border-width: 1px 1px 1px 1px;
  color: #ffffff !important;
  box-shadow: none !important;
}

.emc-ind__panel[hidden] {
  display: none !important;
}

/* Cards */
.emc-ind__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.emc-ind__card {
  background: #ffffff12;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 24px;
}

.emc-ind__card-title {
  margin: 0 0 8px;
  font-family: Oswald, sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.emc-ind__card-promo {
  margin: 0 0 18px;
  font-family: Mulish, sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.emc-ind__card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.emc-ind__metric-value {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: #b31211;
}

.emc-ind__metric-label {
  display: block;
  margin-top: 4px;
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Split secteur */
.emc-ind__split-bar {
  display: flex;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}

.emc-ind__split-vise {
  display: block;
  height: 100%;
  background: #2680eb;
}

.emc-ind__split-hors {
  display: block;
  height: 100%;
  background: rgba(255, 255, 255, 0.28);
}

.emc-ind__split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-family: Mulish, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.emc-ind__split-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2680eb;
  margin-right: 6px;
  vertical-align: middle;
}

.emc-ind__split-legend i.is-hors {
  background: rgba(255, 255, 255, 0.35);
}

.emc-ind__extras {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.emc-ind__extras li {
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.emc-ind__extras strong {
  color: #ffffff;
  margin-right: 4px;
}

@media (max-width: 1140px) {
  .emc-flex--indicateurs .emc-flex__title {
    font-size: 36px;
    line-height: 44px;
  }

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

@media (max-width: 950px) {
  .emc-flex--indicateurs .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }

  .emc-ind__kpis {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .emc-ind__kpi {
    padding: 20px 14px;
  }

  .emc-ind__kpi-value {
    font-size: 32px;
  }

  .emc-ind__cards {
    grid-template-columns: 1fr;
  }
}

/* Padding section indicateurs */
.emc-page-flexible > .emc-flex.emc-flex--indicateurs,
.emc-flex--indicateurs {
  position: relative;
  isolation: isolate;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: visible !important;
  background: transparent; /* le fond passe sur ::before */
}

.emc-flex--indicateurs::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 100vw !important;
  margin-left: -50vw !important; /* plus fiable que translateX */
  transform: none !important;
  right: auto !important;
  z-index: -1 !important;
  pointer-events: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  background-color: #050505 !important;
  background-image:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(38, 128, 235, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 15%, rgba(60, 0, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 45% at 70% 90%, rgba(179, 18, 17, 0.10), transparent 65%) !important;
  background-repeat: no-repeat !important;
}

.emc-flex--indicateurs::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.035 !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

/* Pas de 2e calque */
.emc-flex--indicateurs::after,
.emc-ind__formations::before,
.emc-ind__formations::after {
  content: none !important;
  display: none !important;
}
/* Parents Elementor : ne pas clipper */
.elementor-widget:has(.emc-flex--indicateurs),
.elementor-widget:has(.emc-flex--indicateurs) .elementor-widget-container,
.e-con:has(.emc-flex--indicateurs),
.e-con:has(.emc-flex--indicateurs) .e-con-inner {
  overflow: visible !important;
}

/* Fond sur le wrapper interne */
.emc-ind__formations {
  position: relative;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.emc-ind__formations::before,
.emc-ind__formations::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Respiration sous le header avant les onglets */
.emc-ind__formations .emc-flex__header {
  margin-bottom: 40px;
}

@media (max-width: 950px) {
  .emc-ind__formations {
    padding: 32px 0 24px;
  }
}

/* Bouton PDF pour download indicateurs */
.emc-ind__download {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
}
.emc-ind__download a, .emc-ind__download a:hover{color: #FFFFFF;border-bottom: 2px solid;}

/* === EMC Background Lab (fonds CSS sections — perf + lumière) === */
/*
  Fonds : emc-bg-soft | emc-bg-mist | emc-bg-ink | emc-bg-ink-light | emc-bg-noir-bleu
          emc-bg-flare-cool | emc-bg-flare-warm | emc-bg-flare-copper
          emc-bg-haze | emc-bg-stage | emc-bg-stage-rouge
  Options : emc-bg-grain | emc-bg-fade-y
  Exemple : emc-bg-stage emc-bg-grain emc-bg-fade-y
*/
.emc-bg-soft,
.emc-bg-mist,
.emc-bg-ink,
.emc-bg-ink-light,
.emc-bg-noir-bleu,
.emc-bg-flare-cool,
.emc-bg-flare-warm,
.emc-bg-flare-copper,
.emc-bg-haze,
.emc-bg-stage,
.emc-bg-stage-rouge {
  position: relative !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  isolation: isolate;
}

.emc-bg-soft {
  background-color: #F7F5F1 !important;
  background-image: linear-gradient(180deg, #FCFAF7 0%, #F3F0EA 100%) !important;
}
.emc-bg-mist {
  background-color: #F2F4F8 !important;
  background-image: linear-gradient(165deg, #F8FAFC 0%, #EEF2F7 55%, #E8EDF4 100%) !important;
}
.emc-bg-ink {
  background-color: #12141C !important;
  background-image: linear-gradient(125deg, #1A1D28 0%, #151822 28%, #12141C 55%, #0E1016 100%) !important;
  color: #FFFFFF;
}
.emc-bg-ink-light {
  background-color: #161A32 !important;
  background-image: linear-gradient(150deg, #22284A 0%, #1A1F3C 40%, #12162E 72%, #0E1230 100%) !important;
  color: #FFFFFF;
}
.emc-bg-noir-bleu {
  background-color: #0E121A !important;
  background-image: linear-gradient(135deg, #0A0C12 0%, #10161F 42%, #15202C 78%, #0E121A 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-cool {
  background-color: #0E1218 !important;
  background-image: linear-gradient(100deg, #0A0C10 0%, #0E1218 38%, #15202A 62%, #1A2834 82%, #141C26 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-warm {
  background-color: #120E10 !important;
  background-image: linear-gradient(250deg, #1C1412 0%, #161012 32%, #100C0E 58%, #0C0A0C 100%) !important;
  color: #FFFFFF;
}
.emc-bg-flare-copper {
  background-color: #100E12 !important;
  background-image: linear-gradient(115deg, #0C0B10 0%, #100E12 48%, #1A1414 72%, #221816 88%, #141014 100%) !important;
  color: #FFFFFF;
}
.emc-bg-haze {
  background-color: #141820 !important;
  background-image: linear-gradient(180deg, #1C222C 0%, #161B24 45%, #10141C 100%) !important;
  color: #FFFFFF;
}
.emc-bg-stage {
  background-color: #12141C !important;
  background-image: linear-gradient(160deg, #1A1C2A 0%, #16141E 35%, #14121A 65%, #100E14 100%) !important;
  color: #FFFFFF;
}
.emc-bg-stage-rouge {
  background-color: #141018 !important;
  background-image: linear-gradient(155deg, #1A1620 0%, #1C1418 28%, #2A1216 52%, #3A1418 72%, #1A1014 88%, #120E12 100%) !important;
  color: #FFFFFF;
}

/* Grain — tout sur ::before (libère ::after pour le fade) */
.emc-bg-grain::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 1;
  background-image:
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55 0 0 0 0 0.55 0 0 0 0 0.55 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important;
  background-size: 120px 120px, 75px 75px !important;
  background-repeat: repeat !important;
  mix-blend-mode: overlay;
  opacity: 0.42;
}
.emc-bg-soft.emc-bg-grain::before,
.emc-bg-mist.emc-bg-grain::before {
  mix-blend-mode: multiply;
  opacity: 0.18;
}

/* Fondu noir haut + bas (250px) — enchaînement de sections */
.emc-bg-fade-y::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 250px),
    linear-gradient(to top, #000000 0%, rgba(0,0,0,0) 250px) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 100% 100% !important;
  background-position: center center, center center !important;
}

.emc-bg-soft > *,
.emc-bg-mist > *,
.emc-bg-ink > *,
.emc-bg-ink-light > *,
.emc-bg-noir-bleu > *,
.emc-bg-flare-cool > *,
.emc-bg-flare-warm > *,
.emc-bg-flare-copper > *,
.emc-bg-haze > *,
.emc-bg-stage > *,
.emc-bg-stage-rouge > * {
  position: relative;
  z-index: 2;
}

.emc-bg-lab-swatch {
  min-height: 320px !important;
  padding: 28px 32px !important;
  margin: 0 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}
.emc-bg-lab-swatch strong {
  font-family: Oswald, sans-serif !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
.emc-bg-lab-swatch code { font-size: 13px; opacity: 0.8; }
.emc-bg-ink.emc-bg-lab-swatch,
.emc-bg-ink-light.emc-bg-lab-swatch,
.emc-bg-noir-bleu.emc-bg-lab-swatch,
.emc-bg-flare-cool.emc-bg-lab-swatch,
.emc-bg-flare-warm.emc-bg-lab-swatch,
.emc-bg-flare-copper.emc-bg-lab-swatch,
.emc-bg-haze.emc-bg-lab-swatch,
.emc-bg-stage.emc-bg-lab-swatch,
.emc-bg-stage-rouge.emc-bg-lab-swatch {
  color: #fff !important;
}
/* === FIN EMC Background Lab === */

/* === EMC Flex full-bleed bg (classes emc-bg-* sur sections flexibles) === */
/*
  Fond full-bleed en 100vw, mais le contenu est recalé sur la LARGEUR DU PARENT
  (container Elementor boxed + son padding), via calc(50vw - 50%).
  → même alignement que le Hero, sans largeur magique 1250/1140.
*/
.emc-page-flexible > .emc-flex[class*="emc-bg-"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(20px, calc(50vw - 50%));
  padding-right: max(20px, calc(50vw - 50%));
  box-sizing: border-box;
}

/* Annuler les anciens fonds image / glow sur les blocs qui ont emc-bg-* */
.emc-page-flexible > .emc-flex[class*="emc-bg-"]::before,
.emc-page-flexible > .emc-flex[class*="emc-bg-"]::after {
  /* ne pas forcer content:none des presets deux-colonnes */
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  transform: none !important;
  z-index: 0 !important;
}

/* Réactiver grain / fade même si un preset avait content:none (ex: deux-colonnes) */
.emc-page-flexible > .emc-flex[class*="emc-bg-"].emc-bg-grain::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.emc-page-flexible > .emc-flex[class*="emc-bg-"].emc-bg-fade-y::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background-color: transparent !important;
  background-image:
    linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 250px),
    linear-gradient(to top, #000000 0%, rgba(0,0,0,0) 250px) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 100% 100% !important;
  background-position: center center, center center !important;
}

/* Ne plus peindre l’ancienne photo sur texte quand emc-bg est là */
.emc-page-flexible > .emc-flex--texte[class*="emc-bg-"]::before {
  background-image: inherit; /* sera écrasé par .emc-bg-grain::before si grain */
}
.emc-page-flexible > .emc-flex--texte.emc-bg-grain::before {
  /* grain rules from lab block already apply; clear photo */
  background-color: transparent !important;
}

@media (max-width: 950px) {
  .emc-page-flexible > .emc-flex[class*="emc-bg-"] {
    padding-left: max(24px, calc(50vw - 50%));
    padding-right: max(24px, calc(50vw - 50%));
  }
}
/* === FIN EMC Flex full-bleed bg === */

/* === EMC Push Contact (template 644) — PNG + voile gradient animé === */
.elementor-644 .elementor-element-5adff5b {
  --emc-push-mask: url("/wp-content/uploads/2026/06/bg-push-pf-002.png");
  --emc-push-angle: -60deg;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.elementor-644 .elementor-element-5adff5b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    var(--emc-push-angle),
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 4%,
    rgba(14, 30, 72, 0.08) 14%,
    rgba(18, 40, 90, 0.14) 22%,
    rgba(24, 50, 108, 0.20) 30%,
    rgba(30, 60, 125, 0.26) 38%,
    rgba(36, 72, 145, 0.30) 44%,
    rgba(42, 80, 160, 0.34) 50%,
    rgba(36, 72, 145, 0.30) 56%,
    rgba(30, 60, 125, 0.26) 62%,
    rgba(24, 50, 108, 0.20) 70%,
    rgba(18, 40, 90, 0.14) 78%,
    rgba(14, 30, 72, 0.08) 86%,
    rgba(0, 0, 0, 0) 96%,
    rgba(0, 0, 0, 0) 100%
  );
  background-size: 280% 280%;
  background-position: 0% 50%;
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: emc-push-gradient 7.5s ease-in-out infinite;
  -webkit-mask-image: var(--emc-push-mask);
  mask-image: var(--emc-push-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: auto;
  mask-size: auto;
}

.elementor-644 .elementor-element-5adff5b::after {
  content: none;
  display: none;
}

.elementor-644 .elementor-element-5adff5b > .e-con-inner,
.elementor-644 .elementor-element-5374ffc {
  position: relative;
  z-index: 1;
}

@keyframes emc-push-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-644 .elementor-element-5adff5b::before {
    animation: none;
    background-position: 40% 50%;
  }
}

/* Tablette / mobile : PNG en cover (plein cadre), masque aligné */
@media (max-width: 1024px) {
  .elementor-644 .elementor-element-5adff5b:not(.elementor-motion-effects-element-type-background),
  .elementor-644 .elementor-element-5adff5b > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center center;
    mask-position: center center;
  }
}

@media (max-width: 950px) {
  .elementor-644 .elementor-element-5adff5b {
    --min-height: 420px;
    min-height: 420px;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    opacity: 0.7;
    animation-duration: 8.5s;
  }
}

@media (max-width: 767px) {
  .elementor-644 .elementor-element-5adff5b {
    --min-height: 360px;
    min-height: 360px;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    box-sizing: border-box;
  }
  .elementor-644 .elementor-element-5adff5b::before {
    background-size: 320% 320%;
    opacity: 0.68;
  }
}
/* === FIN EMC Push Contact === */



/* ===== EMC Flex : citation (style Témoignage Light) ===== */
.emc-flex--citation {
  margin-bottom: 80px;
}
.emc-flex--citation .emc-flex__title--center {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 900px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 50px;
}
.emc-bg-blanc.emc-flex--citation .emc-flex__title--center,
.emc-bg-soft.emc-flex--citation .emc-flex__title--center,
.emc-bg-mist.emc-flex--citation .emc-flex__title--center {
  color: #070633;
}
.emc-flex__citation {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 65px;
  box-sizing: border-box;
  background: linear-gradient(160deg, rgba(7, 6, 51, 0.35) 0%, rgba(7, 6, 51, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}
.emc-flex__citation {
  /* padding-top leaves room for overlay quote like Témoignage Light */
  padding-top: 100px;
}
.emc-flex__citation-quote {
  position: absolute;
  top: 20px;
  left: 40px;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}
.emc-flex__citation-quote img {
  display: block;
  width: 123px;
  height: auto;
  opacity: 0.1;
}
@media (max-width: 1024px) {
  .emc-flex__citation-quote { left: 20px; }
  .emc-flex__citation-quote img { width: 120px; }
}
@media (max-width: 767px) {
  .emc-flex__citation { padding: 90px 28px 40px; }
  .emc-flex__citation-quote { left: 10px; top: 16px; }
  .emc-flex__citation-quote img { width: 110px; }
}
.emc-flex__citation-text.Free_Content_Blocs--italic,
.emc-flex__citation-text.Free_Content_Blocs--italic p {
  font-style: italic;
  font-family: Mulish, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1em;
}
.emc-flex__citation-text.Free_Content_Blocs--italic > *:last-child {
  margin-bottom: 0;
}
.emc-flex__citation-meta {
  margin: 28px 0 22px;
}
.emc-flex__citation-nom {
  margin: 0 0 4px;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}
.emc-flex__citation-legende {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.emc-flex__citation-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.emc-flex__citation-btn:hover,
.emc-flex__citation-btn:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}
@media (max-width: 1140px) {
  .emc-flex--citation .emc-flex__title--center {
    font-size: 36px;
    line-height: 44px;
  }
}
@media (max-width: 950px) {
  .emc-flex__citation {
    padding: 36px 24px;
  }
  .emc-flex--citation .emc-flex__title--center {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 28px;
  }
}
/* ===== EMC Flex : mise en exergue ===== */
.emc-flex--exergue {
  margin-bottom: 80px;
}
.emc-flex__exergue-panel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 40px 40px 88px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 6px 0 0 0 #b31211;
}
.emc-flex__exergue-mark {
  position: absolute;
  left: 28px;
  top: 46px;
  width: 28px;
  height: 28px;
  background: #b31211;
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
}
.emc-flex--exergue .emc-flex__title {
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 44px;
}
.emc-flex__exergue-body {
  color: #ffffff;
  font-size: 1.05em;
  line-height: 1.6;
}
.emc-bg-blanc.emc-flex--exergue .emc-flex__exergue-panel,
.emc-bg-soft.emc-flex--exergue .emc-flex__exergue-panel,
.emc-bg-mist.emc-flex--exergue .emc-flex__exergue-panel {
  background: rgba(7, 6, 51, 0.05);
  border-color: rgba(7, 6, 51, 0.12);
}
.emc-bg-blanc.emc-flex--exergue .emc-flex__title,
.emc-bg-blanc.emc-flex--exergue .emc-flex__exergue-body,
.emc-bg-soft.emc-flex--exergue .emc-flex__title,
.emc-bg-soft.emc-flex--exergue .emc-flex__exergue-body,
.emc-bg-mist.emc-flex--exergue .emc-flex__title,
.emc-bg-mist.emc-flex--exergue .emc-flex__exergue-body {
  color: #070633;
}
@media (max-width: 950px) {
  .emc-flex__exergue-panel {
    padding: 28px 22px 28px 64px;
  }
  .emc-flex__exergue-mark {
    left: 18px;
    top: 34px;
    width: 22px;
    height: 22px;
  }
  .emc-flex--exergue .emc-flex__title {
    font-size: 28px;
    line-height: 36px;
  }
}
/* Exergue flèches (TinyMCE + layout) */
.emc-exergue,
.Free_Content_Blocs .emc-exergue {
  position: relative;
  margin: 28px 0;
  padding: 22px 28px 22px 52px;
  border-left: 3px solid #b31211;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
  color: #ffffff;
  font-size: 1.05em;
  line-height: 1.55;
}
.emc-exergue::before,
.Free_Content_Blocs .emc-exergue::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 26px;
  width: 18px;
  height: 18px;
  background: #b31211;
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%);
}
.emc-flex--texte_clair .emc-exergue,
.emc-flex--deux_colonnes_clair .emc-exergue {
  background: rgba(7, 6, 51, 0.06);
  color: #070633;
}

/* ===== EMC Flex : tableau ===== */
.emc-flex--tableau {
  margin-bottom: 80px;
}
.emc-flex--tableau > .emc-flex__title {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}
.emc-flex--tableau .emc-flex__title {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 50px;
  text-align: center;
}
.emc-flex__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.emc-flex__table th {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.emc-flex__table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.45;
}
.emc-bg-blanc .emc-flex__table th,
.emc-bg-soft .emc-flex__table th,
.emc-bg-mist .emc-flex__table th {
  color: #070633;
  border-bottom-color: rgba(7, 6, 51, 0.25);
}
.emc-bg-blanc .emc-flex__table td,
.emc-bg-soft .emc-flex__table td,
.emc-bg-mist .emc-flex__table td {
  color: #070633;
  border-bottom-color: rgba(7, 6, 51, 0.12);
}
.emc-bg-blanc.emc-flex--tableau .emc-flex__title,
.emc-bg-soft.emc-flex--tableau .emc-flex__title,
.emc-bg-mist.emc-flex--tableau .emc-flex__title {
  color: #070633;
}


/* ===== EMC Labo : textures photo (prototype) ===== */
.emc-bg-lab-swatch--tall {
  min-height: 720px !important;
}
.emc-bg-lab-section-title {
  font-family: Oswald, sans-serif !important;
  text-transform: uppercase !important;
  font-size: 22px !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  margin: 48px 0 8px !important;
}
.emc-bg-lab-section-note {
  color: #aaa !important;
  margin: 0 0 20px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.emc-bg-lab-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin: 0 0 20px !important;
}
@media (max-width: 767px) {
  .emc-bg-lab-row { grid-template-columns: 1fr !important; }
}

/* Cover classique (risque pixellisation si section haute) */
.emc-bg-tex-cover {
  background-color: #070633 !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Overlay : teinte labo + texture (recommandé) */
.emc-bg-tex-overlay {
  position: relative !important;
  isolation: isolate !important;
}
.emc-bg-tex-overlay::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: var(--emc-tex) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  /* défaut : texture plus lisible qu’à 0.38 */
  opacity: 0.55 !important;
  mix-blend-mode: normal !important;
}
.emc-bg-tex-overlay > * {
  position: relative !important;
  z-index: 2 !important;
}
/* Variantes Labo */
.emc-bg-tex-overlay--50::after { opacity: 0.5 !important; }
.emc-bg-tex-overlay--70::after { opacity: 0.7 !important; }
.emc-bg-tex-overlay--85::after { opacity: 0.85 !important; }
.emc-bg-tex-overlay--normal::after {
  mix-blend-mode: normal !important;
  opacity: 0.55 !important;
}
.emc-bg-tex-overlay--normal.emc-bg-tex-overlay--70::after { opacity: 0.7 !important; }
.emc-bg-tex-overlay--overlay::after {
  mix-blend-mode: overlay !important;
  opacity: 0.65 !important;
}

/* Tuile : taille naturelle, pas d’agrandissement cover */
.emc-bg-tex-tile {
  background-color: #070633 !important;
  background-image: var(--emc-tex) !important;
  background-position: center top !important;
  background-repeat: repeat !important;
  background-size: 640px auto !important;
}

/* Variantes images */
.emc-bg-tex--fond-g { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-002-g.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-002-g.jpg"); }
.emc-bg-tex--dbc-002 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-002-b-8.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-002-b-8.jpg"); }
.emc-bg-tex--dbc-010 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010-3000.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010-3000.jpg"); }
.emc-bg-tex--fond-001 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-001.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-001.jpg"); }
.emc-bg-tex--dbc-001 { --emc-tex: url("https://www.emc.fr/uploads/2026/06/bg-dbc-001.webp"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-001.webp"); }

/* Overlay : l’image ne doit pas écraser le fond labo via background-image du parent */
.emc-bg-tex-overlay.emc-bg-tex--fond-g,
.emc-bg-tex-overlay.emc-bg-tex--dbc-002,
.emc-bg-tex-overlay.emc-bg-tex--dbc-010,
.emc-bg-tex-overlay.emc-bg-tex--fond-001,
.emc-bg-tex-overlay.emc-bg-tex--dbc-001 {
  background-image: none !important;
}


/* ===== EMC Labo : texture bande + labo (proto A′) ===== */
.emc-bg-tex-band {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
.emc-bg-tex-band.emc-bg-tex--fond-g,
.emc-bg-tex-band.emc-bg-tex--dbc-002,
.emc-bg-tex-band.emc-bg-tex--dbc-010,
.emc-bg-tex-band.emc-bg-tex--fond-001,
.emc-bg-tex-band.emc-bg-tex--dbc-001 {
  background-image: none !important;
}
.emc-bg-tex-band__media {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: min(100vh, 1000px) !important;
  max-height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background-image: var(--emc-tex) !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  ) !important;
}
/* Bande un peu plus courte pour pastilles “courtes” */
.emc-bg-lab-swatch:not(.emc-bg-lab-swatch--tall) > .emc-bg-tex-band__media {
  height: min(70vh, 720px) !important;
}
/* Grain au-dessus de la bande photo, texte au-dessus */
.emc-bg-tex-band.emc-bg-grain::before {
  z-index: 1 !important;
}
.emc-bg-tex-band > *:not(.emc-bg-tex-band__media) {
  position: relative !important;
  z-index: 2 !important;
}


/* ===== EMC Labo : textures salvage (proto) ===== */
.emc-bg-tex--fond-001-s { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-001-salvage.webp"); }
.emc-bg-tex--fond-g-s { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/fond-1-2-002-g-salvage.webp"); }
.emc-bg-tex--dbc-001-s { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-001-salvage.webp"); }
.emc-bg-tex--dbc-010-s { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010-salvage.webp"); }

.emc-bg-tex-band--soft > .emc-bg-tex-band__media {
  filter: blur(0.85px) saturate(1.18) contrast(1.06) brightness(1.03) !important;
  transform: scale(1.06) !important;
  transform-origin: center top !important;
  opacity: 0.9 !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.4) 58%,
    transparent 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.4) 58%,
    transparent 100%
  ) !important;
}

.emc-bg-tex--dbc-010-3k { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010-3000.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010-3000.jpg"); }
.emc-bg-tex-overlay.emc-bg-tex--dbc-010-3k,
.emc-bg-tex-band.emc-bg-tex--dbc-010-3k { background-image: none !important; }

.emc-bg-tex-overlay--softlight::after {
  mix-blend-mode: soft-light !important;
  opacity: 0.62 !important;
}
.emc-bg-tex--dbc-010-old { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010.jpg"); background-image: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-010.jpg"); }
.emc-bg-tex-overlay.emc-bg-tex--dbc-010-old { background-image: none !important; }


/* ===== EMC Fonds texture DBC (Normal ~55% sur teinte) ===== */
.emc-bg-tex-dbc-01,
.emc-bg-tex-dbc-02,
.emc-bg-tex-dbc-03 {
  background-color: #070633 !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.emc-bg-tex-dbc-01 {
  background-image:
    linear-gradient(rgba(7, 6, 51, 0.45), rgba(7, 6, 51, 0.45)),
    url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-01-3000.jpg") !important;
}
.emc-bg-tex-dbc-02 {
  background-image:
    linear-gradient(rgba(7, 6, 51, 0.45), rgba(7, 6, 51, 0.45)),
    url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-02-3000.png") !important;
}
.emc-bg-tex-dbc-03 {
  background-image:
    linear-gradient(rgba(7, 6, 51, 0.45), rgba(7, 6, 51, 0.45)),
    url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-03-3000.png") !important;
}

/* Lab swatches : variables pour overlay Normal 55% */
.emc-bg-tex--dbc-01 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-01-3000.jpg"); }
.emc-bg-tex--dbc-02 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-02-3000.png"); }
.emc-bg-tex--dbc-03 { --emc-tex: url("https://www.emc.fr/wp-content/uploads/2026/06/bg-dbc-03-3000.png"); }
.emc-bg-tex-overlay.emc-bg-tex--dbc-01,
.emc-bg-tex-overlay.emc-bg-tex--dbc-02,
.emc-bg-tex-overlay.emc-bg-tex--dbc-03 {
  background-image: none !important;
}


/* ==========================================================================
   EMC Parcours — hover + titre multi-liens + layout scindé (Son)
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .emc-parcours__cell--prepa,
  .emc-parcours__cell--mid,
  .emc-parcours__cell--a3 {
    transition: transform 0.2s ease, filter 0.2s ease;
    will-change: transform;
  }

  .emc-parcours__cell--prepa:hover,
  .emc-parcours__cell--mid:hover,
  .emc-parcours__cell--a3:hover {
    transform: translateY(-3px);
    filter: brightness(0.9);
  }

  .emc-parcours__bridge:hover {
    filter: none;
    transform: none;
  }
}

.emc-parcours__title a.emc-parcours__title-link,
.emc-parcours__title a {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.emc-parcours__title a:hover,
.emc-parcours__title a:focus {
  text-decoration-color: #fff;
}

/* Split : rouge (année 1) + gris (année 2) */
.emc-parcours__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  align-items: stretch;
  width: 100%;
}

.emc-parcours__cell--split-main {
  position: relative;
  overflow: visible;
}

.emc-parcours__split--desktop,
.emc-parcours__col--mid {
  overflow: visible;
}

/* Flèche desktop : collée au bord droit du rouge, pointe vers le gris */
.emc-parcours__split--desktop .emc-parcours__cell--split-main::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px; /* = largeur de la flèche, collée au bord */
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid #8e0e0e;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.emc-parcours__bridge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border-radius: var(--emc-radius, 10px);
  background: linear-gradient(160deg, #6b6f7a 0%, #555964 50%, #3f424c 100%);
  color: #fff;
  text-align: center;
  min-height: 100%;
  overflow: visible;
}

.emc-parcours__bridge-arrow-up {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #6b6f7a;
  transform: translateX(-50%);
  pointer-events: none;
}

.emc-parcours__bridge-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.emc-parcours__bridge-arrow-left {
  display: none !important;
}

.emc-parcours__bridge-text {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.emc-parcours__mcard-meta--bridge {
  margin-bottom: 10px;
  width: 100%;
}

@media (max-width: 900px) {
  .emc-parcours__split--mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
  }

  .emc-parcours__split--mobile .emc-parcours__cell--split-main {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Flèches haut/bas collées au bord du rouge */
  .emc-parcours__split--mobile .emc-parcours__cell--split-main::before {
    content: "";
    position: absolute;
    top: -10px; /* hauteur flèche, collée au bord haut */
    left: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #b31211;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
  }

  .emc-parcours__split--mobile .emc-parcours__cell--split-main::after {
    content: "";
    display: block;
    position: absolute;
    top: auto;
    bottom: -10px; /* hauteur flèche, collée au bord bas */
    left: 50%;
    right: auto;
    width: 0;
    height: 0;
    border: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #b31211;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
  }

  .emc-parcours__bridge-arrow-up {
    display: none;
  }

  .emc-parcours__split--mobile .emc-parcours__bridge {
    min-height: 0;
    padding: 10px 16px 14px;
    align-items: flex-start;
    text-align: left;
  }

  .emc-parcours__split--mobile .emc-parcours__bridge-body {
    justify-content: flex-start;
    text-align: left;
  }

  /* Plus d'icône flèche blanche à gauche du titre gris */
  .emc-parcours__split--mobile .emc-parcours__bridge-arrow-left {
    display: none !important;
  }
}


/* EMC Flex — spacing titre → contenu (cartes/chiffres) */
.emc-flex--cartes > .emc-flex__title + .emc-flex__cards,
.emc-flex--cartes > .emc-flex__intro + .emc-flex__cards,
.emc-flex--chiffres > .emc-flex__title + .emc-flex__stats,
.emc-flex--chiffres > .emc-flex__intro + .emc-flex__stats {
  margin-top: 40px;
}
.emc-flex--cartes .emc-flex__header,
.emc-flex--chiffres .emc-flex__header {
  margin-bottom: 40px;
}
.emc-flex--chiffres .emc-flex__header .emc-flex__intro {
  margin: 0; /* spacing handled by header */
}

/* EMC Flex — padding haut / bas par section */
.emc-flex.emc-flex--pt-100 { padding-top: 100px !important; }
.emc-flex.emc-flex--pt-50  { padding-top: 50px !important; }
.emc-flex.emc-flex--pt-20  { padding-top: 20px !important; }
.emc-flex.emc-flex--pt-0   { padding-top: 0 !important; }
.emc-flex.emc-flex--pb-100 { padding-bottom: 100px !important; }
.emc-flex.emc-flex--pb-50  { padding-bottom: 50px !important; }
.emc-flex.emc-flex--pb-20  { padding-bottom: 20px !important; }
.emc-flex.emc-flex--pb-0   { padding-bottom: 0 !important; }

@media (max-width: 1140px) {
  .emc-flex.emc-flex--pt-100 { padding-top: 80px !important; }
  .emc-flex.emc-flex--pb-100 { padding-bottom: 80px !important; }
  .emc-flex.emc-flex--pt-50  { padding-top: 40px !important; }
  .emc-flex.emc-flex--pb-50  { padding-bottom: 40px !important; }
}
@media (max-width: 950px) {
  .emc-flex.emc-flex--pt-100 { padding-top: 60px !important; }
  .emc-flex.emc-flex--pb-100 { padding-bottom: 60px !important; }
  .emc-flex.emc-flex--pt-50  { padding-top: 30px !important; }
  .emc-flex.emc-flex--pb-50  { padding-bottom: 30px !important; }
}

