/* ================================
   FAPAQE – INTRO
================================ */

.fapaqe-page .fapaqe-intro-wrap{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);

  display:flex;
  align-items:center;
  justify-content:center;

  gap:clamp(40px, 6vw, 120px);

  padding-left:clamp(20px, 5vw, 110px);
  padding-right:clamp(20px, 5vw, 110px);
  box-sizing:border-box;
}

.fapaqe-page .fapaqe-intro-card{
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(0, 0, 0, 0.12);

  padding:clamp(22px, 2.5vw, 32px) clamp(20px, 2.8vw, 36px);

  width:100%;
  max-width:1000px;

  margin:clamp(48px, 6vw, 100px) 0 clamp(24px, 3vw, 40px) 0;

  transform:translateX(clamp(-120px, -10vw, -40px));

  animation:fapaqe-fade-up 0.8s ease-out both;
}

.fapaqe-page .fapaqe-intro-card .fapaqe-title{
  margin:0 0 14px;
  padding-left:0;
  transform:translateX(-4px);
  font-size:32px;
  line-height:1.2;
  text-align:left;
}

.fapaqe-page .fapaqe-intro-text{
  font-size:16px;
  line-height:1.65;
  text-align:left;
}

.fapaqe-page .fapaqe-intro-logo{
  flex:0 0 auto;
  max-width:650px;
}

.fapaqe-page .fapaqe-intro-logo img{
  width:clamp(320px, 40vw, 650px);
  max-width:none;
  height:auto;
  display:block;

  margin:clamp(48px, 6vw, 100px) 0 clamp(24px, 3vw, 30px) 0;

  animation:fapaqe-fade-left 0.8s ease-out both;
  animation-delay:0.2s;
}

/* Container (ajout PHP : .fapaqe-hero-inner) */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}

.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner .fapaqe-intro-wrap{
  width:100%;
  margin-left:0;
  margin-right:0;
  padding-left:0;
  padding-right:0;
  box-sizing:border-box;
}

/* Collaborateurs (texte_collaborateurs) */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner .fapaqe-text--collaborateurs{
  position: relative;

  max-width: 920px;
  margin: clamp(16px, 4vw, 32px) auto clamp(48px, 8vw, 96px);
  padding-left: 40px;

  text-align: left;

  --optical-shift: clamp(12px, 1.5vw, 28px);
}

/* Rail vertical discret */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner .fapaqe-text--collaborateurs::before{
  content:"";
  position:absolute;
  left: 12px;
  top: .4em;
  bottom: .4em;
  width:2px;

  background: linear-gradient(
    to bottom,
    rgba(180,180,180,.85),
    rgba(200,200,200,.35)
  );

  animation: fapaqe-rail-slide-in 0.7s ease-out both;
  animation-delay: 0.15s;
}

/* Phrase d’introduction */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs > p:first-child{
  margin: 0 0 22px;

  font-weight: 600;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.45;
  color:#1f1f1f;

  transform: translateX(var(--optical-shift));
}

/* Listes WYSIWYG */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs ul{
  list-style: none;
  margin: 0;
  padding: 0;

  transform: translateX(var(--optical-shift));
}

/* Espacement entre UL */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs ul + ul{
  margin-top: 14px;
}

/* Item */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs li{
  position: relative;
  padding-left: 28px;

  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.55;
  color:#2a2a2a;
}

/* Puce */
.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45em;

  width:10px;
  height:10px;
  border-radius:999px;

  background:#00568F;
  box-shadow: 0 0 0 3px rgba(0,86,143,.15); 
}

.fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
.fapaqe-text--collaborateurs span{
  font-weight: inherit;
}

  /* Responsive INTRO */
@media (max-width: 768px){

  /* INTRO */
  .fapaqe-page .fapaqe-intro-wrap{
    width:100%;
    margin-left:auto;
    margin-right:auto;

    flex-direction:column;
    justify-content:flex-start;
    gap:18px;

    padding-left:0;
    padding-right:0;
  }

  .fapaqe-page .fapaqe-intro-card{
    max-width:100%;
    padding:22px 20px;
    border-radius:16px;

    margin: clamp(18px, 7vw, 42px) 0 0 0;
    transform:none;
  }

  .fapaqe-page .fapaqe-intro-card .fapaqe-title{
    font-size: clamp(22px, 6.2vw, 26px);
    line-height:1.15;
    transform:none;
  }

  .fapaqe-page .fapaqe-intro-text{
    font-size: 15px;
    line-height: 1.65;
  }

  .fapaqe-page .fapaqe-intro-logo{
    order:-1;
    max-width:100%;
    display:flex;
    justify-content:center;
  }

  .fapaqe-page .fapaqe-intro-logo img{
    width: clamp(210px, 62vw, 280px);
    height:auto;
    max-width:100%;
    margin: clamp(18px, 7vw, 34px) 0 0;
    animation:none;
  }

  /* Container */
  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner{
    padding: 0 var(--pad-x);
  }

  /* COLLABORATEURS */
  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner .fapaqe-text--collaborateurs{
    max-width: 100%;
    margin: clamp(18px, 6vw, 28px) auto clamp(28px, 9vw, 48px);

    padding-left: 22px;
    --optical-shift: 0px;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner .fapaqe-text--collaborateurs::before{
    left: 6px;
    top: .25em;
    bottom: .25em;
    width:2px;
    opacity:.85;
    animation:none;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
  .fapaqe-text--collaborateurs > p:first-child{
    margin: 0 0 16px;
    font-size: clamp(15px, 4.3vw, 18px);
    line-height: 1.35;
    transform:none;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
  .fapaqe-text--collaborateurs ul{
    transform:none;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
  .fapaqe-text--collaborateurs ul + ul{
    margin-top: 12px;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
  .fapaqe-text--collaborateurs li{
    padding-left: 22px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-hero-inner
  .fapaqe-text--collaborateurs li::before{
    left: -2px;
    top: .55em;
    width:9px;
    height:9px;
    box-shadow: 0 0 0 3px rgba(0,86,143,.14);
  }
}

/* ================================
   FAPAQE – Bandeau compétences (bulle)
================================ */

.fapaqe-page .fapaqe-competences-bubble {
  background: #c9cacc;
  border-radius: 18px;
  padding: 0 55px 13px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  animation: fapaqe-fade-down 0.8s ease-out both;
}

.fapaqe-page .fapaqe-competences-arrow {
  width: 0;
  height: 0;
  margin: 0 auto 40px;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-top: 40px solid #c9cacc;
  animation: fapaqe-fade-down 0.8s ease-out both;
  animation-delay: 0.15s;
}

/* Icone */

/* Bulle */
.fapaqe-page .fapaqe-competences-bubble{
  position: relative;
  padding: 0 40px 24px; /* top = 0 assumé */
  isolation: isolate;
}

/* Icône */
.fapaqe-page .fapaqe-competences-bubble .fapaqe-bubble-icon{
  position: absolute;
  left: 10px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 115px;          /* icône forte, filigrane */
  color: #00568F;
  opacity: .10;              /* très douce */
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* Texte au-dessus */
.fapaqe-page .fapaqe-competences-bubble > *:not(.fapaqe-bubble-icon){
  position: relative;
  z-index: 1;
}

.fapaqe-page .fapaqe-competences-bubble .fapaqe-subtitle{
  margin-top: 10px; /* subtil, invisible aujourd’hui */
}

/* Responsive */
@media (max-width: 768px){
  .fapaqe-page .fapaqe-competences-bubble{
    padding: 0 18px 18px; /* cohérent avec desktop (top = 0 aussi) */
  }

  .fapaqe-page .fapaqe-competences-bubble .fapaqe-bubble-icon{
    left: 12px;
    font-size: 56px;  
    opacity: .14; 
  }
}


@media (max-width: 768px){
  .fapaqe-page .fapaqe-competences-bubble{
    padding-top: 56px;
  }
  .fapaqe-page .fapaqe-competences-bubble::before{
    font-size: 34px;
    top: 14px;
  }
}

@media (max-width: 768px) {
  .fapaqe-page .fapaqe-competences-bubble {
    padding: 16px 18px 14px;
    border-radius: 16px;
    max-width: 92%;
  }

  .fapaqe-page .fapaqe-competences-bubble .fapaqe-subtitle {
    letter-spacing: 2.2px;
    font-size: 18px;
  }

  .fapaqe-page .fapaqe-competences-bubble .fapaqe-text {
    font-size: 14px;
  }

  .fapaqe-page .fapaqe-competences-arrow {
    border-left-width: 18px;
    border-right-width: 18px;
    border-top-width: 16px;
  }
}

/* ================================
   FAPAQE – COMPÉTENCES
================================ */

/* Titre section */
.fapaqe-page .fapaqe-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 70px auto -20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 3;
  font-weight: 800;
  color: #00568F;
}

.fapaqe-page .fapaqe-subtitle:before,
.fapaqe-page .fapaqe-subtitle:after {
  content: "";
  height: 2px;
  background: #d2d6dc;
  flex: 1 1 220px;
  max-width: 360px;
}

/* Texte intro section */
.fapaqe-page .fapaqe-text {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-weight: 600;
}

/* Grille compétences */
.fapaqe-page .fapaqe-competences {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 64px) clamp(24px, 5vw, 90px);
  padding: 20px clamp(24px, 6vw, 160px) 0;
  box-sizing: border-box;
}

/* Carte */
.fapaqe-page .competence-card {
  width: 100%;
  text-align: center;
}

/* Icône */
.fapaqe-page .competence-card img {
  display: block;
  margin: 0 auto 14px;
  max-width: 88px;
}

/* Texte */
.fapaqe-page .competence-text {
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
}

/* Heures */
.fapaqe-page .competence-hours {
  font-weight: 700;
  font-style: italic;
  color: #b30f2a;
}

/* Bouton */
.fapaqe-page .fapaqe-competences-btn {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 140px;
  padding: 0 60px;
  box-sizing: border-box;
}

.fapaqe-page .fapaqe-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00568F;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.fapaqe-page .fapaqe-btn::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fapaqe-page .fapaqe-btn:hover {
  transform: translateY(-1px);
}

.fapaqe-page .fapaqe-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   Responsive – mobile
================================ */

@media (max-width: 560px) {
  .fapaqe-page .fapaqe-subtitle {
    gap: 14px;
    letter-spacing: 1px;
    padding: 0 12px;
  }

  .fapaqe-page .fapaqe-subtitle:before,
  .fapaqe-page .fapaqe-subtitle:after {
    flex: 1 1 80px;
  }

  .fapaqe-page .fapaqe-competences {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 18px 0;
  }

  .fapaqe-page .fapaqe-competences-btn {
    padding: 0 18px;
  }

	/* Carte heures et compétences */
	.fapaqe-page .fapaqe-hero-bg .fapaqe-competences-header{
    margin-top: clamp(18px, 6vw, 28px);
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-competences-bubble{
    width:100%;
    max-width: 520px;
    margin: 0 auto;

    padding: 18px 18px 20px;
    border-radius: 18px;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-competences-bubble .fapaqe-subtitle{
    font-size: clamp(18px, 5.6vw, 22px);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 12px;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-competences-bubble .fapaqe-text{
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  .fapaqe-page .fapaqe-hero-bg .fapaqe-competences-arrow{
    width: 0;
    height: 0;

    margin: 0 auto;
    transform: none;

    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    border-top: 18px solid #cfcfcf;
  }
	
	/* Bouton fin de section */
  .fapaqe-page .fapaqe-competences-btn{
    margin-top: 18px;
    display:flex;
    justify-content:center;
  }

  .fapaqe-page .fapaqe-competences-btn .fapaqe-btn{
    width:100%;
    max-width: 520px;

    padding: 14px 18px;
    border-radius: 999px;

    font-size: 15px;
    line-height: 1.25;
    letter-spacing: .6px;

    text-align:center;
    white-space: normal;
  }
}

/* ================================
   Ultra-wide (écrans ≥ 1900px)
================================ */

@media (min-width: 1900px) {
  .fapaqe-page .fapaqe-competences {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, minmax(285px, 460px));
    justify-content: center;
    gap: 150px 150px;
    padding: 20px 40px 0;
  }

  .fapaqe-page .fapaqe-competences-btn {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
  }
}

/* ================================
   FAPAQE – Background intro + compétences
================================ */

.fapaqe-page .fapaqe-hero-bg {
  position: relative;
  overflow: visible;
}

.fapaqe-page .fapaqe-hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url("https://eesad.org/wp-content/uploads/2025/12/BG-FAPAQE.png");
  background-repeat: no-repeat;
  background-size: 1600px auto;
  background-position: calc(100% + 180px) 120px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.fapaqe-page .fapaqe-hero-bg > * {
  position: relative;
  z-index: 1;
}

/* ========================================================
   FAPAQE – AVANTAGES
======================================================== */

/* Variables */
.fapaqe-page .fapaqe-avantages {
  --av-gutter: clamp(24px, 5vw, 140px);
  --av-max: 2000px;
  --cta2-shift: clamp(-120px, -7vw, -60px);
  --cta2-max: 640px;
  --cta2-pad-y: calc(var(--pad-x) * 0.16);
  --cta2-pad-x: calc(var(--pad-x) * 0.20);
}

/* Barre grise */
.fapaqe-page .fapaqe-avantages-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #d9d9d9;
  padding-top: 70px;
  padding-bottom: 15px;
}

/* Inner bande grise */
.fapaqe-page .fapaqe-avantages-bar > .fapaqe-avantages-bar__inner {
  max-width: var(--av-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}

/* Inner contenu */
.fapaqe-page .fapaqe-avantages-inner {
  max-width: var(--av-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}

/* Titre */
.fapaqe-page .fapaqe-avantages-title {
  margin: 0;
  color: #00568F;
  font-weight: 600;
  font-size: 35px;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Grille */
.fapaqe-page .fapaqe-avantages-grid {
  display: grid !important;
  grid-template-columns: minmax(320px, 560px) minmax(380px, 1fr) !important;
  gap: clamp(24px, 4vw, 80px) !important;
  align-items: start !important;
}

/* Colonne gauche */
.fapaqe-page .fapaqe-avantages-left {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding-bottom: clamp(70px, 9vw, 140px);
}

/* Colonne droite */
.fapaqe-page .fapaqe-avantages-right {
  position: relative;
  z-index: 2;
  min-width: 0;
  justify-self: end;
  margin-top: clamp(-70px, -6vw, -70px);
}

/* Texte avantages */
.fapaqe-page .fapaqe-avantages-text {
  max-width: 600px;
  margin: 40px 0 32px;
}

/* Titre CTA 1 */
.fapaqe-page .fapaqe-avantages-cta1-title {
  max-width: 700px;
  margin: 32px 0 12px;
  color: #00568F;
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.4;
  text-align: left;
}

/* Liste CTA 1 */
.fapaqe-page .fapaqe-avantages-list--cta1 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Item CTA 1 */
.fapaqe-page .fapaqe-avantages-list--cta1 li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Icône CTA 1 & 2 */
.fapaqe-page .fapaqe-avantages-list--cta1 .fapaqe-avantages-icon,
.fapaqe-page .fapaqe-avantages-list--cta2 .fapaqe-avantages-icon{
  display:block;
	width:28px;
	height:28px;
	min-width:28px;
	min-height:28px;
	flex:0 0 28px;
  object-fit:contain;
  margin-top: -2px;
}

/* Texte CTA 1 */
.fapaqe-page .fapaqe-avantages-list--cta1 span {
  font-size: 15.5px;
  line-height: 1.5;
  color: #1f1f1f;
}

/* Conteneur image */
.fapaqe-page .fapaqe-avantages-image {
  width: min(900px, 46vw);
  max-width: 100%;
  margin-left: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Image */
.fapaqe-page .fapaqe-avantages-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA 2 */
.fapaqe-page .fapaqe-avantages-cta2 {
  position: relative;
  z-index: 5;
  margin-top: var(--cta2-shift);
  width: min(var(--cta2-max), 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Titre CTA 2 (Bulle) */
.fapaqe-page .fapaqe-avantages-cta2-title {
  position: relative;
  display: block;
  width: 100%;
  max-width: 50ch;
  padding: var(--cta2-pad-y) var(--cta2-pad-x) calc(var(--cta2-pad-y) * 0.45);
  margin: 0 auto;
  color: #00568F;
  text-align: center;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.1;
  letter-spacing: 0.4px;
}

/* Texte CTA 2 (Bulle) */
.fapaqe-page .fapaqe-avantages-cta2-text {
  display: block;
  width: 100%;
  max-width: 70ch;
  padding: 0 var(--cta2-pad-x) calc(var(--cta2-pad-y) * 0.85);
  margin: -4px auto 0;
  color: #00568F;
  text-align: center;
  font-weight: 500;
  font-size: clamp(17px, 1.05vw, 18px);
  line-height: 1.4;
}

/* Texte CTA 2 – WYSIWYG (Bulle) */
.fapaqe-page .fapaqe-avantages-cta2-text p {
  margin: 0;
  text-align: inherit;
}

.fapaqe-page .fapaqe-avantages-cta2-text p {
  margin: 0;
  text-align: center;
}

/* Bulle */
.fapaqe-page .fapaqe-avantages-cta2-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 112%;
  height: calc(100% + 50px);
  background: #c9cacc;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
  z-index: -1;
}

/* Flèche CTA 2 */
.fapaqe-page .fapaqe-avantages-cta2-title::after {
  content: "";
  position: absolute;
  left: calc(var(--pad-x) * 0.26);
  bottom: -65px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #c9cacc;
}

/* Icone ampoule*/
.fapaqe-page .fapaqe-avantages-cta2-title{
  position: relative;
}

/* Fond + flèche derrière */
.fapaqe-page .fapaqe-avantages-cta2-title::before{
  z-index: -1;
}
.fapaqe-page .fapaqe-avantages-cta2-title::after{
  z-index: -1;
}

/* Icône watermark (entre fond et texte) */
.fapaqe-page .fapaqe-avantages-cta2-title .fapaqe-bubble-icon--avantages{
  position: absolute;
  left: -20px;
  top: 102%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #00568F;
  opacity: .10;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* Texte au-dessus de tout */
.fapaqe-page .fapaqe-avantages-cta2-title .fapaqe-avantages-cta2-title-text{
  position: relative;
  z-index: 2;
  display: block;
}


/* Liste CTA 2 */
.fapaqe-page .fapaqe-avantages-list--cta2{
  margin-top: calc(var(--pad-x) * 0.45);
  list-style:none;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Item CTA 2 */
.fapaqe-page .fapaqe-avantages-list--cta2 li{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

/* Texte CTA 2 */
.fapaqe-page .fapaqe-avantages-list--cta2 span{
  font-size:15px;
  line-height:1.5;
  color:#1f1f1f;
}

/* Responsive tablette et moins */
@media (max-width: 992px) {
  .fapaqe-page .fapaqe-avantages-cta2 {
    align-items: flex-start;
  }

  .fapaqe-page .fapaqe-avantages-cta2-title,
  .fapaqe-page .fapaqe-avantages-cta2-text {
    text-align: left;
  }
}

/* Laptop intermédiaire */
@media (min-width: 993px) and (max-width: 1366px) {
  .fapaqe-page .fapaqe-avantages {
    --cta2-shift: clamp(-90px, -6vw, -45px);
  }
}

/* Responsive */

/* Position image de section */
@media (max-width: 768px){

  .fapaqe-page .fapaqe-avantages{
    overflow-x: clip;
  }

  .fapaqe-page .fapaqe-avantages-grid{
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .fapaqe-page .fapaqe-avantages-right{
    justify-self: stretch;
    margin-top: 0;
  }

  .fapaqe-page .fapaqe-avantages-image{
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .fapaqe-page .fapaqe-avantages-left{
    padding-bottom: 0;
  }

/* CTA2 – conteneur */
  .fapaqe-page .fapaqe-avantages-cta2{
    align-items: center;
  }

  /* Titre de la bulle */
  .fapaqe-page .fapaqe-avantages-cta2-title{
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 26px;
    padding-bottom: 14px;
  }

  /* Texte dans la bulle */
  .fapaqe-page .fapaqe-avantages-cta2-text{
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 26px;
  }

  /* Fond de la bulle (on lui donne plus de hauteur) */
  .fapaqe-page .fapaqe-avantages-cta2-title::before{
    height: calc(80% + 78px);
    border-radius: 18px;
  }

  /* 🔺 Triangle – visible et centré */
  .fapaqe-page .fapaqe-avantages-cta2-title::after{
    left: 5%;
    transform: translateX(-50%);
    bottom: -79px;

    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid #c9cacc;
  }

  /* Icône watermark */
  .fapaqe-page .fapaqe-avantages-cta2-title .fapaqe-bubble-icon--avantages{
    left: 5%;
    top: 20px;
    transform: translateX(-50%);
    font-size: 54px;
    opacity: .12;
  }
}

/* ================================
   FAPAQE – FORMULAIRE COHORTE
================================ */

/* Variables */
.fapaqe-page .fapaqe-section_cohorte{
  --cohorte-max: 2000px;
  --cohorte-head-max: 900px;

  --cohorte-head-mt: 0px;
  --cohorte-head-mb: 28px;

  --cohorte-overlap: 90px;
  --cohorte-skew-top: 20%;
  --cohorte-skew-bottom: 8%;

  --cohorte-pad-top: clamp(100px, 20vw, 300px);
  --cohorte-pad-bottom: clamp(70px, 7vw, 100px);

  --cohorte-notch-w: 60px;
  --cohorte-notch-h: 90px;
}

/* Section */
.fapaqe-page .fapaqe-section_cohorte{
  position:relative;
  isolation:isolate;
  z-index:1;
  overflow:visible;

  --cohorte-overlap: clamp(1px, 14vw, 1px);

  padding: var(--cohorte-pad-top) 0 var(--cohorte-pad-bottom);
  margin-bottom: calc(-1 * var(--cohorte-overlap));
}

/* Background forme */
.fapaqe-page .fapaqe-section_cohorte{
  position: relative;
  overflow: visible;

  --cohorte-bg: #d7d7d7;

  --cohorte-top-shift: 1%;
  --cohorte-shape-h: calc(105% + 140px);
  --cohorte-bottom-extend: clamp(120px, 1vw, 320px);

  --cohorte-skew-top: 200px;
  --cohorte-skew-bottom: 10px;
}

/* Forme principale */
.fapaqe-page .fapaqe-section_cohorte::before{
  content:"";
  position:absolute;
  left:50%;
  top: var(--cohorte-top-shift);
  transform:translateX(-50%);
  width:100vw;
  height: var(--cohorte-shape-h);
  background: var(--cohorte-bg);
  z-index:-1;

  clip-path: polygon(
    0% var(--cohorte-skew-top),
    100% 0%,
    100% 100%,
    0% 100%
  );
}

/* Contenu */
.fapaqe-page .fapaqe-section_cohorte > *{
  position:relative;
  z-index:1;
}

/* Head */
.fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-head{
  max-width: var(--cohorte-max);
  margin: 0 auto var(--cohorte-head-mb);
  padding: 0 var(--pad-x);
  box-sizing:border-box;
}

/* Titre */
.fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-head h2{
  max-width: var(--cohorte-head-max);
  margin: 0 0 10px;
  color:#00568F;
  font-weight:600;
  font-size: clamp(26px, 2.3vw, 38px);
  line-height:1.15;
  text-align:left;
}

/* Texte */
.fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-head .fapaqe-text{
  max-width: var(--cohorte-head-max);
  margin: 0;
  font-weight:500;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height:1.55;
  color:#1f1f1f;
  text-align:left;
}

/* Grid */
.fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-grid{
  max-width: var(--cohorte-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing:border-box;

  display:grid;
  grid-template-columns: minmax(320px, 650px) 70px minmax(280px, 650px);
  gap: clamp(24px, 4vw, 80px);
  align-items:start;
  justify-content: center;
}

/* Colonne gauche */
.fapaqe-page .fapaqe-section_cohorte .cohorte-left{
  min-width:0;
}

/* Gravity Forms */
.fapaqe-page .fapaqe-section_cohorte .cohorte-left .gform_wrapper{
  max-width:700px;
  width:100%;
  margin:0;
}

/* Colonne droite */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right{
  min-width:0;
}

/* Séparateur */
.fapaqe-page .fapaqe-section_cohorte .cohorte-sep{
  position:relative;
  width:70px;
  align-self:stretch;
}

.fapaqe-page .fapaqe-section_cohorte .cohorte-sep::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:2px;
  height:100%;
  background:#1f1f1f;
  opacity:.85;
}

/* Triangle */
.fapaqe-page .fapaqe-section_cohorte .cohorte-sep::after{
  content:"";
  position:absolute;
  left:50%;
  bottom: calc(-1 * var(--cohorte-pad-bottom));
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left: var(--cohorte-notch-w) solid transparent;
  border-right: var(--cohorte-notch-w) solid transparent;
  border-bottom: var(--cohorte-notch-h) solid #ffffff;
  pointer-events:none;
  z-index:2;
}

/* Fallback clip-path */
@supports not (clip-path: polygon(0 0)){
  .fapaqe-page .fapaqe-section_cohorte::before{
    clip-path:none;
  }
}

/* Bouton formulaire */
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper .gform_button,
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper button[type="submit"]{
  display:block;
  width:100%;
  max-width:820px;

  height:45px;
  padding:0 40px;

  margin:30px auto 0;

  background:#C6002A;
  color:#ffffff;

  border:none;
  border-radius:999px;

  font-size:16px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;

  cursor:pointer;
  transition:background .25s ease, transform .15s ease;
}

/* Champs requis */
.fapaqe-page .fapaqe-section_cohorte .gform_required_legend{
  display:none;
}

/* Champs */
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper input[type="text"],
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper input[type="email"],
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper input[type="tel"],
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper textarea{
  border-radius:999px;
  border:none;

  padding:14px 22px;
  font-size:14px;
  font-weight:600;

  background:#ffffff;
  color:#1f1f1f;

  box-sizing:border-box;
}

/* Textarea */
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper textarea{
  min-height:180px;
  border-radius:26px;
  resize:none;
}

/* Focus */
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper input:focus,
.fapaqe-page .fapaqe-section_cohorte .gform_wrapper textarea:focus{
  outline:none;
  box-shadow:0 0 0 2px rgba(198,0,42,.15);
}

/* Responsive */

@media (max-width: 1366px){
  .fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-grid{
    grid-template-columns: minmax(300px, 680px) 60px minmax(280px, 500px);
    gap: clamp(20px, 3vw, 56px);
  }

  .fapaqe-page .fapaqe-section_cohorte .cohorte-left{
    display:flex;
    justify-content:center;
  }

  .fapaqe-page .fapaqe-section_cohorte .cohorte-left .gform_wrapper{
    max-width:680px;
    width:100%;
  }
}

@media (max-width: 1440px){
  #cohorte.fapaqe-section_cohorte .fapaqe-cohorte-grid{
    grid-template-columns: minmax(320px, 680px) 60px minmax(280px, 420px);
    gap: clamp(20px, 3vw, 56px);
  }

  #cohorte.fapaqe-section_cohorte .cohorte-left .gform_wrapper{
    max-width:680px;
  }
}

@media (max-width: 1280px){
  #cohorte.fapaqe-section_cohorte .fapaqe-cohorte-grid{
    grid-template-columns: minmax(320px, 620px) 50px minmax(260px, 360px);
    gap: clamp(16px, 3vw, 44px);
  }

  #cohorte.fapaqe-section_cohorte .cohorte-left .gform_wrapper{
    max-width:500px;
  }
}

/* ================================
   FAPAQE – COHORTE (COLONNE DROITE)
================================ */

.fapaqe-page .fapaqe-section_cohorte .cohorte-right{
  display:flex;
  flex-direction:column;
  align-self:center;
  text-align:center;
}

/* Logo en haut */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-logo{
  order:-3;
  margin: 0 auto 18px;
  max-width: 280px;
  height:auto;
  display:block;
}

/* Titre */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right h3{
  order:-2;
  margin: 0 0 8px;
  font-weight:700;
  font-size: clamp(18px, 1.4vw, 22px);
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#1f1f1f;
}

/* Texte */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right > .fapaqe-text{
  order:-1;
  max-width: 560px;
  margin: 0 auto 16px;
  font-weight:500;
  line-height:1.55;
}

/* Bouton */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width: clamp(180px, 60%, 36px);
  padding: 12px 28px;
  border-radius:999px;

  background:#00568F;
  color:#fff;

  text-transform:uppercase;
  letter-spacing:.7px;
  font-weight:800;
  font-size:14px;
  text-decoration:none;

  margin: 6px auto 30px;
}

.fapaqe-page .fapaqe-section_cohorte .cohorte-right .btn:hover{
  filter:brightness(.92);
}

/* Ligne séparatrice (bleu) */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact{
  position:relative;
  width:75%;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 40px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
}

.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:#00568F;
}

/* Photo */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact img{
  width:120px;
  height:120px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 86px;
}

/* Infos */
.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact-info{
  text-align:left;
  font-size:16px;
  line-height:1.5;
  color:#1f1f1f;
}

.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact-title{
  font-weight:700;
	font-size:20px;
  color:#1f1f1f;
  margin-bottom:6px;
}

.fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact-email a{
  color:#00568F;
  font-weight:700;
  text-decoration:none;
}

/* Responsive */
@media (max-width: 992px){
  .fapaqe-page .fapaqe-section_cohorte .cohorte-right{
    align-items:center;
  }

  .fapaqe-page .fapaqe-section_cohorte .cohorte-right .fapaqe-contact{
    max-width: 560px;
  }
}

/* ================================
   FAPAQE – COHORTE : COORDINATION
================================ */

.fapaqe-page .fapaqe-section_cohorte_coordination_cohorte{
  position:relative;
  z-index:2;
  background:#ffffff;

  padding-top: clamp(10px, 7vw, 10px);
  padding-bottom: 0;

  margin-bottom: calc(-1 * var(--cohorte-overlap));
}


/* Titre */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-title{
  width:100%;
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-align:center;
  color:#00568F;
  font-weight:700;
  font-size: clamp(25px, 2.1vw, 28px);
  line-height:1.15;
  white-space: nowrap;
  background: none;
  padding-left: 0;
	padding-top: 100px;
}

/* Contact */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-contact{
  width: fit-content;
  max-width: calc(100% - (var(--pad-x) * 2));
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap:18px;
}

/* Photo */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-photo{
  width:120px;
  height:120px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 84px;
}

/* Infos */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-info{
  text-align:left;
  font-size:16px;
  line-height:1.5;
  color:#1f1f1f;
}

/* CTA */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-cta{
  font-weight:700;
	font-size:20px;
  color:#1f1f1f;
  margin-bottom:6px;
}

/* Nom */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-name{
  margin-bottom:2px;
}

/* Courriel */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-email a{
  color:#00568F;
  font-weight:700;
  text-decoration:none;
}

/* Image bandeau */
.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-image{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(32px, 4vw, 48px);
}

.fapaqe-page 
.fapaqe-section_cohorte_coordination_cohorte 
.fapaqe-coordination-img{
  width:100%;
  height:auto;
  display:block;
}

/* Mobile */
@media (max-width: 768px){

  .fapaqe-page 
  .fapaqe-section_cohorte_coordination_cohorte 
  .fapaqe-coordination-title{
    white-space: normal;
  }

  .fapaqe-page 
  .fapaqe-section_cohorte_coordination_cohorte 
  .fapaqe-coordination-contact{
    width:100%;
    flex-direction:column;
    align-items:center;
  }

  .fapaqe-page 
  .fapaqe-section_cohorte_coordination_cohorte 
  .fapaqe-coordination-info{
    text-align:center;
  }

/* Image processus mobile */	
  .fapaqe-page 
  .fapaqe-section_cohorte_coordination_cohorte 
  .fapaqe-coordination-image{
    width: 100%;
    margin-left: 0;
    margin-right: 0;

    display: flex;
    justify-content: center;
  }

  .fapaqe-page 
  .fapaqe-section_cohorte_coordination_cohorte 
  .fapaqe-coordination-img{
    width: 100%;
    max-width: 340px;
    height: auto; 
  }
}

/* ================================
   COHORTE – Mobile layout
================================ */

@media (max-width: 768px){

	/* Hauteur de la forme */
  .fapaqe-page .fapaqe-section_cohorte{
    --cohorte-top-shift: -1%;
    --cohorte-skew-top: 120px;
  }

  /* Sécurité anti scroll horizontal */
  .fapaqe-page,
  .fapaqe-page .fapaqe-section_cohorte{
    overflow-x: hidden;
  }

  /* FORCE la grille en 1 colonne (bat les autres rules) */
  .fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(18px, 5vw, 28px) !important;
    justify-content: stretch !important;
    align-items: start !important;
  }

  /* Empilement */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-left{ order: 1; }
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep{ order: 2; }
  .fapaqe-page .fapaqe-section_cohorte .cohorte-right{ order: 3; }

  /* Séparateur -> ligne horizontale pleine largeur */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep{
    width: 100% !important;
    height: 24px;
    margin: 10px 0;
  }

  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep::before{
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    height: 2px !important;
    opacity: .35;
  }

  /* On enlève le triangle desktop (sinon peut déborder) */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep::after{
    display: none !important;
  }

  /* Bouton formulaire */
  .fapaqe-page .fapaqe-section_cohorte
  .gform_footer input#gform_submit_button_45{
    height: 45px !important;
    line-height: 1px !important;

    text-align: center !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    /* sécurité visuelle */
    display: block;
  }

  /* Colonne droite : pleine largeur */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-right{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    align-self: stretch;
  }
}

/* Cohorte – responsive (stack + no horizontal scroll) */
@media (max-width: 980px){

  /* Empêche le scroll horizontal */
  .fapaqe-page .fapaqe-section_cohorte{
    overflow-x: clip; /* ou hidden si clip pose problème */
  }

  /* Grid -> 1 colonne */
  .fapaqe-page .fapaqe-section_cohorte .fapaqe-cohorte-grid{
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 28px);
  }

  /* Ordre : formulaire en haut, séparateur, colonne droite en bas */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-left{ order: 1; }
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep{ order: 2; }
  .fapaqe-page .fapaqe-section_cohorte .cohorte-right{ order: 3; }

  /* Séparateur : vertical -> horizontal */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep{
    width: 100%;
    height: 2px;
    align-self: auto;
    margin: clamp(10px, 3vw, 18px) 0;
  }

  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep::before{
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 2px;
  }

  /* Triangle du séparateur : sur mobile, on l’enlève (sinon il “pousse” le layout) */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-sep::after{
    display: none;
  }

  /* Colonne droite : centrée */
  .fapaqe-page .fapaqe-section_cohorte .cohorte-right{
    align-self: start;
    text-align: center;
  }
}

/* ================================
   FAPAQE – MATÉRIEL PROMO
================================ */

/* Variables */
.fapaqe-page .fapaqe-section_materiel_promo{
  position: relative;
  padding: clamp(50px, 0vw, 90px) 0;
  background:#fff;
  overflow: hidden;

  --mp-max: 2000px;
  --mp-gap: clamp(26px, 3.5vw, 70px);
  --mp-pad-x: var(--pad-x, clamp(20px, 5vw, 110px));

  --mp-left-max: 860px;
  --mp-right-minh: clamp(520px, 55vw, 820px);
}

/* Grid principal */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-grid{
  max-width: var(--mp-max);
  margin: 0 auto;
  padding: 0 var(--mp-pad-x);
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(360px, var(--mp-left-max)) minmax(420px, 1fr);
  gap: var(--mp-gap);
  align-items: start;
}

/* Colonne gauche */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-left{
  min-width: 0;
  text-align: left; /* évite l'héritage centré du callout */
}

/* Titre */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-title{
  margin: 0 0 14px;
  text-align: left !important;
	font-weight: 600;
  color: #00568F;
}

/* Textes */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-text-1,
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-text-2{
  margin: 0 0 14px;
  max-width: 900px;
  color:#1f1f1f;
  line-height: 1.6;
  font-weight: 500;
  font-size: clamp(15px, 1.05vw, 17px);
}

/* Bulle " */
.fapaqe-materiel-callout{
  position: relative;
  display: block;
  width: 100%;
  max-width: 70ch;
  margin: 40px auto 50px;

  background: #c9cacc;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);

  text-align: center;
  color: #00568F;
  overflow: visible;
  padding: 22px 28px 20px;
}

/* Flèche */
.fapaqe-materiel-callout::after{
  content: "";
  position: absolute;
  left: calc(var(--pad-x) * 0.50);
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #c9cacc;
}

/* Titre bulle */
.fapaqe-materiel-callout .fapaqe-materiel-cta2-text{
 position: relative;
  display: block;
  width: 100%;
  max-width: 50ch;
  padding: var(--cta2-pad-y) var(--cta2-pad-x) calc(var(--cta2-pad-y) * 0.45);
  margin: 0 auto;
  color: #00568F;
  text-align: center;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.1;
  letter-spacing: 0.4px;
}

/* Sous-titre bulle */
.fapaqe-materiel-callout .fapaqe-materiel-cta2-title{
  display: block;
  width: 100%;
  max-width: 70ch;
  padding: 0 var(--cta2-pad-x) calc(var(--cta2-pad-y) * 0.85);
  margin: -4px auto 0;
  color: #00568F;
  text-align: center;
  font-weight: 500;
  font-size: clamp(17px, 1.05vw, 18px);
  line-height: 1.4;
}

/* Liens */
.fapaqe-page .fapaqe-section_materiel_promo a{
  color:#00568F;
  font-weight: 700;
  text-decoration: none;
}
.fapaqe-page .fapaqe-section_materiel_promo a:hover{
  text-decoration: underline;
}

.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-carte{
  margin-top: clamp(18px, 2.2vw, 28px);
}

.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-carte > *:first-child{
  border-radius: 18px;
}

/* Bouton */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-btn{
  margin-top: clamp(16px, 2.2vw, 26px);
}
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-btn .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(900px, 100%);
  height: 46px;
  padding: 0 34px;

  border-radius: 999px;
  background: #00568F;
  color:#fff;

  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 800;
  font-size: 14px;

  text-decoration: none;
  box-shadow: 0 2px 15px rgba(0,0,0,.14);
  transition: transform .15s ease, filter .2s ease;
}
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-btn .btn:hover{
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* Colonne droite: image de section */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-right{
  min-width: 0;
  min-height: var(--mp-right-minh);

  border-radius: 26px;
  background-color: #f2f2f2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 10px 25px rgba(0,0,0,.14);

  width: 130%;
}

.fapaqe-page .fapaqe-section_materiel_promo{
  --mp-gap: clamp(24px, 3vw, 70px);
  --mp-right-minh: clamp(520px, 55vw, 820px);
}

/* Carrousel visuels (répéteur) */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion{
  display:flex;
  gap:12px;
  align-items:stretch;
  margin-top:18px;
}

/* Chaque panneau */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide{
  position:relative;
  flex:1 1 0;
  min-width: 84px;
  height: 150px;               /* ajuste comme tu veux */
  overflow:hidden;
  border-radius:14px;
  transition: flex .45s ease, transform .45s ease;
  will-change:flex;
}

/* Image */
.fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition: transform .55s ease;
}

/* Effet hover desktop : panel s'ouvre, image zoom léger */
@media (hover:hover) and (pointer:fine){
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion:hover .fapaqe-materiel-slide{
    flex:1 1 0;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide:hover{
    flex:6 1 0;                /* “open” comme DSM */
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide:hover img{
    transform:scale(1.06);
  }
}

/* Icone photo */
.fapaqe-materiel-callout{
  position: relative;
  isolation: isolate;
}

/* Triangle visible */
.fapaqe-materiel-callout::after{
  z-index: 1;
}

/* Icône watermark */
.fapaqe-materiel-callout .fapaqe-bubble-icon--materiel{
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 45px;
  color: #00568F;
  opacity: .10;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* Texte au-dessus */
.fapaqe-materiel-callout > *:not(.fapaqe-bubble-icon--materiel){
  position: relative;
  z-index: 2;
}

/* Mobile */
@media (max-width: 768px){
  .fapaqe-materiel-callout .fapaqe-bubble-icon--materiel{
    left: 14px;
    font-size: 52px;
    opacity: .16;
  }
}

/* ================================
   RESPONSIVE
================================ */

/* Tablette */
@media (max-width: 992px){
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-grid{
    grid-template-columns: 1fr;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-right{
    min-height: 380px;
    border-radius: 22px;

    /* on annule le “push” desktop */
    transform: none;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-callout{
    margin: 28px auto 36px;
  }
}

/* Mobile */
@media (max-width: 520px){
  .fapaqe-page .fapaqe-section_materiel_promo{
    padding: 42px 0;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-right{
    min-height: 280px;
    border-radius: 18px;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-btn .btn{
    height: 44px;
    font-size: 13px;
    padding: 0 22px;
  }

  /* icône: encore plus safe en mobile */
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-materiel-callout{
    padding-left: px;
  }
}

/* Touch */
@media (hover:none){
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }

  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide{
    flex:0 0 auto;
    width: 240px;
    min-width:240px;
  }
}

@media (max-width: 768px){

  /* Conteneur = carrousel horizontal */
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion{
    display: flex;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;

    padding: 6px 16px 14px;
    margin-top: 16px;

    /* évite le “stretch” chelou */
    align-items: stretch;
  }

  /* Masque scrollbar (optionnel mais clean) */
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion::-webkit-scrollbar{
    height: 8px;
  }
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.18);
    border-radius: 999px;
  }
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion::-webkit-scrollbar-track{
    background: rgba(0,0,0,.06);
    border-radius: 999px;
  }

  /* Chaque “slide” = carte */
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide{
    flex: 0 0 auto;
    width: min(82vw, 360px);     /* gros visuel, comme Divi */
    height: 210px;              /* ajuste si tu veux */
    min-width: 260px;

    scroll-snap-align: start;

    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(0,0,0,.12);
    background: #fff;

    /* on désactive l’animation flex de l’accordéon sur mobile */
    transition: none;
  }

  /* Image plein cadre */
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: none;
    display: block;
  }
}

/* Très petit mobile */
@media (max-width: 420px){
  .fapaqe-page .fapaqe-section_materiel_promo .fapaqe-image-accordion .fapaqe-materiel-slide{
    height: 190px;
    width: 86vw;
  }
}

/* ================================
   FAPAQE – FAQs
================================ */

.fapaqe-page .fapaqe-section_faq{
  position: relative;
  overflow-x: clip;
  overflow-y: visible;

  --faq-max: 2000px;
  --faq-pad-x: var(--pad-x, clamp(20px, 5vw, 110px));
  --faq-gap: clamp(26px, 4vw, 80px);
  --faq-blue: #00568F;

  --faq-bar-h: clamp(120px, 15vw, 500px);
  --faq-bar-lift: clamp(225px, 25vh, 300px);
  --faq-gap-after: clamp(10px, 1vw, 40px);

  /* 🔑 espace récupérable par la section suivante */
  --faq-next-overlap: clamp(70px, 8vw, 160px);

  background: #fff;
  padding:
    clamp(50px, 6vw, 90px)
    0
    calc(var(--faq-gap-after) + (var(--faq-bar-h) * 0.35));
}

/* ===== GRID ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-grid{
  max-width: var(--faq-max);
  margin: 0 auto;
  padding: 0 var(--faq-pad-x);
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "left  right";
  gap: var(--faq-gap);
  row-gap: clamp(10px, 1.5vw, 35px);

  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 4;
}

.fapaqe-page .fapaqe-section_faq .fapaqe-faq-grid > *{
  min-width: 0;
  max-width: 100%;
}

/* ===== TITRE ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-title{
  grid-area: title;
  margin-bottom: 0 !important;
  text-align: left !important;
  font-weight: 600;
  color: var(--faq-blue);
  min-width: 0;
}

/* ===== COLONNE GAUCHE ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-left{
  grid-area: left;
  background: var(--faq-blue);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
  padding: clamp(20px, 2.2vw, 30px);
  max-width: 780px;
}

.fapaqe-page .fapaqe-section_faq .fapaqe-faq-left *{
  max-width: 100%;
}

/* ===== ACCORDÉON ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-item{
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.fapaqe-page .fapaqe-section_faq .fapaqe-faq-q{
  cursor: pointer;
  padding: 16px 52px 16px 19px;
  position: relative;
  font-weight: 700;
  color: var(--faq-blue);
  line-height: 1.25;
}

.fapaqe-page .fapaqe-section_faq .fapaqe-faq-q::after{
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: var(--faq-blue);
}

.fapaqe-page .fapaqe-section_faq details[open] .fapaqe-faq-q::after{
  content: "×";
}

/* ===== RÉPONSE ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-a{
  padding: 0 18px 16px;
}

/* ===== COLONNE DROITE ===== */
.fapaqe-page .fapaqe-section_faq .fapaqe-faq-right{
  grid-area: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.fapaqe-page .fapaqe-section_faq .fapaqe-faq-aside{
  margin-left: auto;
  max-width: clamp(70ch, 56vw, 100ch);
  padding: 8px 18px 18px 20px;
  border-left: 3px solid var(--faq-blue);
}

/* ===== BARRE GRISE ===== */
.fapaqe-page .fapaqe-section_faq{
  position: relative;

  --faq-bar-h: clamp(120px, 15vw, 500px);
  --faq-bar-top: clamp(220px, 40vh, 300px);

  background: #ffffff;
}

.fapaqe-page .fapaqe-section_faq::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  top: var(--faq-bar-top);
  height: var(--faq-bar-h);

  background: #d9d9d9;
  z-index: 3;
  pointer-events: none;
}


/* ===== CORRECTION ESPACE AVEC SECTION SUIVANTE ===== */
.fapaqe-page .fapaqe-section_faq + .fapaqe-section_logos_bas_de_page{
  margin-top: calc(-1 * var(--faq-next-overlap));
  padding-top: var(--faq-next-overlap);
}

/* ===== LAPTOP ===== */
@media (max-width: 1450px){
  .fapaqe-page .fapaqe-section_faq{
    --faq-bar-h: clamp(200px, 26vw, 650px);
    --faq-bar-lift: clamp(180px, 50vh, 500px);
    --faq-next-overlap: clamp(160px, 114vw, 320px);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 980px){
  .fapaqe-page .fapaqe-section_faq{
    --faq-bar-h: clamp(140px, 24vw, 260px);
    --faq-bar-lift: 0px;
    --faq-next-overlap: clamp(40px, 8vw, 90px);
  }

}

@media (max-width: 768px){

  .fapaqe-page .fapaqe-section_faq{
    /* Bande grise plus présente */
    --faq-bar-h: clamp(260px, 55vh, 520px);
    --faq-next-overlap: clamp(40px, 8vw, 90px);

    padding-bottom: calc(
      var(--faq-gap-after) + (var(--faq-bar-h) * 0.15)
    );
  }

  /* On accroche la bande grise en bas de la section */
  .fapaqe-page .fapaqe-section_faq::after{
    top: auto !important;
    bottom: 0 !important;
    height: var(--faq-bar-h) !important;
  }

  /* Colonnes empilées */
  .fapaqe-page .fapaqe-section_faq .fapaqe-faq-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "left"
      "right";
  }

  /* Texte (ex-colonne droite) passe en bas */
  .fapaqe-page .fapaqe-section_faq .fapaqe-faq-right{
    margin-top: 28px;
    justify-content: flex-start;
  }

  .fapaqe-page .fapaqe-section_faq .fapaqe-faq-aside{
    margin-left: 0;
    max-width: 100%;
    padding-left: 16px;
  }
}

/* ================================
   FAPAQE – LOGOS (BAS DE PAGE)
================================ */

.fapaqe-page .fapaqe-section_logos_bas_de_page{
  padding: clamp(18px, 3vw, 44px) 0 clamp(28px, 5vw, 80px);
}

.fapaqe-page .fapaqe-section_logos_bas_de_page .fapaqe-logos{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: clamp(20px, 4vw, 20px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 0);
}

.fapaqe-page .fapaqe-section_logos_bas_de_page .fapaqe-logo-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.fapaqe-page .fapaqe-section_logos_bas_de_page img{
  height: clamp(63px, 8vw, 50px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ================================
   FAPAQE – Désactiver lignes titres
================================ */

.fapaqe-page h1::before,
.fapaqe-page h1::after,
.fapaqe-page h2::before,
.fapaqe-page h2::after,
.fapaqe-page h3::before,
.fapaqe-page h3::after,
.fapaqe-page h4::before,
.fapaqe-page h4::after,
.fapaqe-page h5::before,
.fapaqe-page h5::after,
.fapaqe-page h6::before,
.fapaqe-page h6::after {
  content: none !important;
  display: none !important;
}

.fapaqe-page h1 span::before,
.fapaqe-page h1 span::after,
.fapaqe-page h2 span::before,
.fapaqe-page h2 span::after,
.fapaqe-page h3 span::before,
.fapaqe-page h3 span::after,
.fapaqe-page h4 span::before,
.fapaqe-page h4 span::after,
.fapaqe-page h5 span::before,
.fapaqe-page h5 span::after,
.fapaqe-page h6 span::before,
.fapaqe-page h6 span::after {
  content: none !important;
  display: none !important;
}

.fapaqe-page h1,
.fapaqe-page h2,
.fapaqe-page h3,
.fapaqe-page h4,
.fapaqe-page h5,
.fapaqe-page h6 {
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ================================
   FAPAQE – Variables
================================ */

/* Page full width */
.fapaqe-page.fapaqe-page--full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Variables globales */
.fapaqe-page {
  --pad-x: clamp(24px, 6vw, 140px);
  --max: 1800px;
}

/* Animations Intro */
@keyframes fapaqe-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fapaqe-fade-left {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fapaqe-rail-slide-in{
  from{
    opacity: 0;
    transform: translateX(-16px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animations Compétences */
@keyframes fapaqe-fade-down {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   FAPAQE – Logo titre h2
================================ */
.fapaqe-page [class*="fapaqe-section_"] h2{
  padding-left: 44px !important;
  background-image: url("https://eesad.org/wp-content/uploads/2026/01/cropped-logo-FAPAQE-480x480-1.png") !important;
  background-repeat: no-repeat !important;
    background-position: left calc(50% + 7px) !important;
  background-size: 30px 30px !important;
}

/* =========================================
   EESAD – Navigation verticale à icônes
========================================= */

/* Nav */
.fapaqe-page .eesad-blurbnav{
  position: fixed !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;

  z-index: 99999 !important;
  pointer-events: auto !important;

  width: auto !important;
  height: auto !important;

  /* aide si certains parents ont des styles agressifs */
  isolation: isolate;
}

/* Lien */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item{
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;

  text-decoration: none !important;
  position: relative !important;

  overflow: visible !important;
  white-space: nowrap !important;
}

/* Pastille */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;

  background: #00568F;
  color: #ffffff;

  display: grid;
  place-items: center;

  font-size: 18px;
  line-height: 1;

  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.12),
    0 0 0 6px rgba(0, 86, 143, 0.12);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.fapaqe-page .eesad-blurbnav .eesad-blurbnav-icon i{
  line-height: 1;
}

/* Label (caché par défaut) */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-label{
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;

  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease;

  /* mini “pill” optionnel */
  background: rgba(255,255,255,.92);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

/* ✅ Hover = on montre le texte */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item:hover .eesad-blurbnav-label,
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item:focus-visible .eesad-blurbnav-label{
  opacity: 1;
  transform: translateX(0);
}

/* Hover icon */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item:hover .eesad-blurbnav-icon,
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item:focus-visible .eesad-blurbnav-icon{
  transform: scale(1.08);
  box-shadow:
    0 14px 28px rgba(0, 86, 143, 0.25),
    0 0 0 8px rgba(0, 86, 143, 0.14);
  filter: brightness(.98);
}

/* Accessibilité clavier */
.fapaqe-page .eesad-blurbnav .eesad-blurbnav-item:focus-visible{
  outline: none;
}

/* Cacher la navigation verticale sur mobile */
@media (max-width: 768px){
  .fapaqe-page .eesad-blurbnav{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Espace entre COMPÉTENCES et AVANTAGES */
.fapaqe-page .fapaqe-avantages-bar{
  margin-top: clamp(45px, 8vw, 190px);
}

html{
  scroll-behavior: smooth;
	}
}