@font-face {
  font-family: opendys;
  src: url(../font/open-dys/OpenDyslexic-Regular.otf)format('opentype');
}
@font-face {
  font-family: montserrat;
  src: url(../font/montserrat/Montserrat-Black.ttf)format('truetype');
}


*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: #fff;
  line-height: 1.5;
  font-family: montserrat, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #000000;
  width: 100%;
  overflow-X: hidden;
  padding-top: 60px; /* réserve l’espace pour le header fixe */
  @media screen and (min-width: 768px) {
    font-size: 16px;
    padding-top: 90px;
  }
  @media screen and (min-width: 1024px) {
    font-size: 18px;
  }
}

button {
  padding: 12px 20px;
  width: auto;
  margin-left: 0;
  margin-right: auto;
  border-radius: 60px;
  border: none;
  background-color: #B7B725;
  box-shadow: 2px 2px 4px #000000aa;
  font-family: inherit;
}
button:hover {
  transform: scale(1.05);
  box-shadow: 3px 3px 6px #000000aa;
  background-color: #d3d32a;
  font-weight: 600;
}
.btn-unactive {
  background-color: #333;
  color: #fafbfba6;
  box-shadow: none;
  cursor: not-allowed;
}
.btn-unactive:hover {
  transform: none;
  box-shadow: none;
  background-color: #333;
  font-weight: inherit;
  cursor: not-allowed;
}


/* Bouton switch police */
/* ============ COMMUN ============ */
.font-switch-wrapper {
  position: fixed;
  bottom: 8px;
  left: 8px;
  z-index: 999;
}

/* ============ VERSION TABLETTE & + ============ */
.font-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #B7B725;
  padding: 4px;
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
  font-family: 'opendys', sans-serif;
  color: white;
  width: 100px;
  text-align: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 22px;
  margin-bottom: 10px;
  @media screen and (min-width: 1367px) {
    width: 40px;
  }
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: #4CAF50;
}

input:checked + .slider:before {
  transform: translateX(8px);
  @media screen and (min-width: 1367px) {
    transform: translateX(18px);
  }
}

.label-right {
  font-size: 12px;
  line-height: 1.2;
}

/* ============ VERSION MOBILE ============ */
.font-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #B7B725;
  box-shadow: 2px 2px 4px #000000aa;
  font-size: 1.4rem;
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'opendys', sans-serif;
}

.font-btn .icon {
  pointer-events: none;
}

/* ============ MEDIA QUERIES ============ */
@media screen and (max-width: 767px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: flex;
    width: 48px;
  }
}

@media screen and (min-width: 768px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}




main{
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


h1 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #B7B725;
  line-height: 1.2;
  word-wrap: break-word;
  @media screen and (min-width: 768px) {
    font-size: 1.65rem;
  }
  @media screen and (min-width: 1025px) {
    font-size: 1.75rem;
  }
}

/* Titre hero : tailles en rem pour éviter débordement sur titres longs */
.landing-section1-container-text h1 {
  font-size: 1.15rem;
  @media screen and (min-width: 768px) {
    font-size: 1.35rem;
  }
  @media screen and (min-width: 1025px) {
    font-size: 1.5rem;
  }
  @media screen and (min-width: 1600px) {
    font-size: 1.65rem;
  }
}
h2{
  font-size: 1.562rem;
  color: #B7B725;
  text-align: center;
}
h1, h2, h3, h4{
    text-shadow:
  2px 2px 4px #000000aa,
  -1px -1px 0 #000,
   1px -1px 0 #000,
  -1px  1px 0 #000,
   1px  1px 0 #000;
}
a {
  text-decoration: none;
  color: #fff;
}

#header {
  background: #B7B725;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 2px 4px #000;
  z-index: 1000;
  transition: transform 0.3s ease;

  &::after {
    content: "";
    clear: both;
    display: block;
  }
}
#header.header-hidden {
  transform: translateY(-100%);
}
.pageactuelle{
  text-decoration: underline;
  background-color: #FDFF96;
  color: #000;
  @media screen and (max-width: 768px) {
        background-color: #2c3e50;
        color: #fff;
      }
}
.pageactuelle:hover{
  background-color: #FDFF96;
}
.logo {
  float: left;
  padding: 0;
  height: 60px;

  @media screen and (min-width: 768px) {
    height: 90px;
  }

  a {
    font-size: 1.2rem;
    display: flex;
    padding: 0 0 0 20px;
    height: 100%;
    align-items: center;

    img {
      width: 150px;
      height: auto;

      @media screen and (min-width: 768px) {
        width: 200px;
      }
    }
  }
}

nav {
  float: right;
  height: 100%;

  > ul {
    float: left;
    position: relative;
  }

  li {
    list-style: none;
    float: left;

    a {
      float: left;
      padding: 35px;

      &:hover {
        background: #2c3e50;
        text-decoration: underline;
        color: #B7B725;
      }
    }

    ul {
      display: none;
    }

    &:hover ul {
      display: inline;
    }

    li {
      float: none;

      a {
        float: none;
        color: #333;
        display: block;
        padding: 8px 10px;
        border-radius: 3px;
        font-size: 0.8rem;

        &:hover {
          background: #fafbfb;
        }
      }
    }
  }

  .dropdown {
    position: relative;
    display: flex;

    ul {
      position: absolute;
      left: 0;
      top: 100%;
      background: #fff;
      padding: 20px 0;
      border-bottom: 3px solid #34495e;
    }

    li {
      white-space: nowrap;

      a {
        padding: 10px 35px;
        font-size: 1rem;
      }
    }
  }

  .mega-dropdown {
    width: auto;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    overflow: hidden;
    padding: 20px 12px;
    border-bottom: 3px solid #34495e;
  }
}

.menu-open {
  position: relative;
}

.row {
  display: flex;
  gap: 12px;
  flex-direction: column;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    gap: 40px;
  }
}

.mega-col {
  width: auto;
  min-width: 200px;
  float: left;
  padding-left: 12px;
}

.mega-col-title, .link-menu-titre {
  color: #8120BD;
  font-weight: 800;
  list-style: none;
}

#menu-icon {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -12px;
  margin-right: 30px;
  display: none;

  span {
    border: 2px solid #fff;
    width: 30px;
    margin-bottom: 5px;
    display: block;
    transition: all 0.1s;
  }

  &.active {
    .first {
      transform: rotate(45deg);
      margin-top: 10px;
    }

    .second {
      transform: rotate(135deg);
      position: relative;
      top: -9px;
    }

    .third {
      display: none;
    }
  }

  @media screen and (min-width: 768px) {
    top: 45px;
  }
}

@media only screen and (max-width: 1170px) {
  nav > ul > li > a {
    padding: 35px 15px;
  }

  .mega-col {
    width: auto;
    min-width: none;
  }
}

@media only screen and (min-width: 1360px) {
  nav {
    display: block !important;
  }
}

@media only screen and (max-width: 1359px) {
  nav {
    display: none;
    width: 100%;
    clear: both;
    float: none;
    padding: 10px;

    ul {
      float: none;

      li {
        float: none;

        a {
          float: none;
          padding: 8px;
          display: block;
        }
      }
    }
  }

  #menu-icon {
    display: inline;
    top: 30px;
    cursor: pointer;
  }

  .search {
    float: none;

    input {
      width: 100%;
    }
  }

  #header {
    nav {
      ul {
        ul {
          display: block;
          position: static;
          background: none;
          border: none;
          padding: 0 0 0 4px;

          li {
            padding-left: 8px;
          }
        }

        li li a::before {
          content: "- ";
        }
      }

      a {
        color: #fff;
        padding: 8px 0 0 8px;

        &:hover {
          background: #fff;
          color: #333;
          border-radius: 3px;
        }
      }
    }
      .unactive{
    color: #666666a2;
    text-decoration: line-through;
    text-decoration-color: #a94442;
    cursor: default;
  }
  .unactive:hover{
    background: none;
    color: #666;
    text-decoration: line-through;
    text-decoration-color: #a94442;
  }
  }

  .mega-col {
    width: 100%;
  }

  .formation-menu {
    background: #333;
  }
}
.mega-col-title img{
  width: 60px;
}
/* Affichage responsive des titres de colonnes comme menus déroulants sur mobile */
@media screen and (max-width: 767px) {
  
  .mega-col-title {
    cursor: pointer;
    font-weight: bold;
    padding: 10px 5px;
    color: white;
  }

  .dropdown-content {
    display: none;
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
  }
  .no-scroll {
    overflow: hidden;
    height: 100vh;
  }
  
  .arrow {
    margin-left: 8px;
    font-size: 0.8em;
  }
  
  .dropdown-content {
    display: none;
    transition: all 0.3s ease;
  }
  
  .dropdown-content.open {
    display: block;
  }
  
  
  .dropdown-content.open {
    display: block;
    max-height: 1000px; /* valeur suffisante à ajuster si besoin */
  }
  
  .mega-col-title .arrow {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
  }

  .dropdown-content li a {
    padding: 6px 10px;
    display: block;
    color: #fff;
    font-size: 14px;
  }
  .unactive{
    color: #666666a2;
    text-decoration: line-through;
    text-decoration-color: #a94442;
    cursor: default;
  }
  .unactive:hover{
    background: none;
    color: #666;
    text-decoration: line-through;
    text-decoration-color: #a94442;
  }
}
.unactive{
  color: #666;
  text-decoration: line-through;
  text-decoration-color: #a94442;
  cursor: default;
}
.unactive:hover{
  background: none;
  color: #666;
  text-decoration: line-through;
  text-decoration-color: #a94442;
}





/* Zone réservée sous la nav : le contenu hero commence en dessous */
.landing-section1 {
  width: 100%;
  color: #000;
  position: relative;
  padding-top: 20px;
  box-sizing: border-box;
  scroll-margin-top: 100px;
}

/* ========== HERO : groupe blob + rond + image (mobile/tablette par défaut) ========== */
.landing-section1 {
  min-height: 400px;
  height: auto;
}
.landing-section1-container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1rem 0 2rem;
  position: relative;
}

.landing-section1-hero-group {
  position: relative;
  width: 75%;
  max-width: 320px;
  aspect-ratio: 1;
  margin: 0 auto 1rem;
}
.landing-section1-hero-group .landing-section1-container-blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 92%;
  height: auto;
  aspect-ratio: 1;
  /* TODO IMAGE: sources → assets/img */
  background-image: url(../../assets/img/illustrations/verctor2.webp);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
}
.landing-section1-hero-group .landing-section1-container-rond {
  position: absolute;
  top: 8%;
  right: 0;
  width: 88%;
  height: auto;
  aspect-ratio: 1;
  background-color: #B7B725;
  border-radius: 100%;
  z-index: 1;
}
.landing-section1-hero-group .landing-section1-container-picture {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: auto;
  aspect-ratio: 1;
  /* Image hero par défaut (surchargée par inline style sur chaque page) */
  background-image: url(../img/photo/1747222428496.webp);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 100%;
  background-position: center center;
  z-index: 2;
}

.landing-section1-container-text {
  width: 95%;
  max-width: 640px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.landing-section1-container-text p,
.landing-section1-container-text ul {
  text-align: left;
}
.landing-section1-container-text .landing-section3-button {
  align-self: center;
}

/* ========== HERO : affichage PC (à partir de 1024px) – comme à l’origine ========== */
@media screen and (min-width: 1024px) {
  .landing-section1 {
    height: 100vh;
    min-height: 500px;
  }
  .landing-section1-container {
    display: block;
    height: 100%;
    padding: 0;
    width: 70%;
    max-width: none;
  }
  /* Groupe visuel en overlay (blob + rond + image) à droite, sous le texte */
  .landing-section1-hero-group {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    aspect-ratio: unset;
    margin: 0;
    pointer-events: none;
    z-index: 0;
  }
  .landing-section1-hero-group .landing-section1-container-blob,
  .landing-section1-container-blob {
    position: absolute;
    z-index: 0;
    top: 4%;
    left: 5%;
    width: 60%;
    max-width: none;
    margin: 0;
    aspect-ratio: 1;
    /* TODO IMAGE: sources → assets/img */
  background-image: url(../../assets/img/illustrations/verctor2.webp);
    background-size: contain;
    background-repeat: no-repeat;
  }
  .landing-section1-hero-group .landing-section1-container-rond,
  .landing-section1-container-rond {
    position: absolute;
    z-index: 1;
    right: 5%;
    top: 2%;
    width: 60%;
    max-width: none;
    margin: 0;
    aspect-ratio: 1;
    background-color: #B7B725;
    border-radius: 100%;
  }
  .landing-section1-hero-group .landing-section1-container-picture,
  .landing-section1-container-picture {
    position: absolute;
    z-index: 2;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 700px;
    margin: 0;
    aspect-ratio: 1;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 100%;
    background-position: center center;
  }
  /* Bloc texte à gauche, au-dessus du groupe visuel */
  .landing-section1-container-text {
    position: absolute;
    z-index: 10;
    width: 40%;
    left: 5%;
    bottom: 15%;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  .landing-section1-container-text p,
  .landing-section1-container-text ul {
    text-align: left;
  }
}





.landing-section2{
  width: 100%;
  position: relative;
  @media screen and (min-width: 768px) {
    bottom: 30%;
  };
  @media screen and (min-width: 1025px) {
    margin-top: 40px;
  }
}
.landing-section2-container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  @media only screen and (max-width: 1024px) and (min-width: 768px) {
    width: 90%;
  };
  @media screen and (min-width: 1025px) {
    width: 80%;
  };
}
.landing-section2-cards {
  
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
  @media screen and (min-width: 768px) {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    
  };
}
.landing-section2-cards-content {
  text-align: center;
  background-color: #fafbfb;
  padding: 8px 12px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  position: relative;
  box-shadow: 2px 2px 4px #000000aa;
  @media screen and (min-width: 768px) {
    flex: 1;
    display: flex;
    flex-direction: column;
  };
}
.landing-section2-cards-content p:nth-of-type(3) {
  @media screen and (min-width: 768px) {
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: left;
  };
}
.landing-section2-cards-content-icon {
  font-size: 2rem;
  background-color: #B7B725;
  border-radius: 100%;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 8px;
}
.landing-section2-cards-content-title {
  font-weight: 700;
}
.landing-section2-cards-content-title span{
  font-weight: 500;
  font-style: italic;
}
.landing-section2-cards-content button{
  margin: auto;
  bottom: 0;
}
.landing-section2-green{
  width: 100%;
  height: 70%;
  background-color: #B7B725;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  @media screen and (min-width: 768px) {
    height: 40%;
  };
} 



/* ========== Structure générale ========== */
.landing-section3 {
  position: relative;
  background-color: #B7B725;
  padding: 4rem 1rem;
}

.landing-section3-container {
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

@media only screen and (max-width: 1023px) and (min-width: 768px),
       screen and (min-width: 1024px) {
  .landing-section3-container {
    width: 70%;
    flex-direction: column;
  }
}

/* ========== Visuel avec blob + photo ronde ========== */
.landing-section3-container-picture {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
}

.landing-section3-container-blob {
  position: absolute;
  top: 52%;
  left: 50%;
  width: 90%;
  height: 300px;
  background-image: url(../img/illustrations/verctor2.webp);
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
  .landing-section3-container-blob {
    width: 100%;
    height: 450px;
  }
}

@media screen and (min-width: 1024px) {
  .landing-section3-container-blob {
    width: 60%;
    height: 500px;
    top: 60%;
    background-size: contain;
  }
}

.landing-section3-container-picture img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
  .landing-section3-container-picture img {
    width: 60%;
  }
}

@media screen and (min-width: 1024px) {
  .landing-section3-container-picture img {
    width: 30%;
  }
}

/* ========== Carte blanche de texte ========== */
.landing-section3-container-text {
  background: #FFF;
  padding: 1.5rem 1rem 1rem 1rem;
  border-radius: 1rem;
    box-shadow: 2px 2px 4px #000000aa;

  position: relative;
  margin-top: -100px;
  text-align: left;
}

@media screen and (min-width: 1024px) {
  .landing-section3-container-text {
    margin-left: 40%;
  }
}

.landing-section3-pretitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  position: absolute;
  top: 4px;
  left: 8px;
}

.landing-section3-title {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: #111;
  font-weight: normal;
}

.landing-section3-button {
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .landing-section3-container {
    flex-direction: column;
    text-align: center;
  }

  .landing-section3-container-picture,
  .landing-section3-container-text {
    width: 100%;
  }
}


/* Structure générale */
.landing-section4 {
  background-color: #b7b725;
  padding: 4rem 1rem;
  color: #161616;
}

.landing-section4 .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.formations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.formation-column {
  flex: 1 1 48%;
  background-color: #fafbfb;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
}

.formation-column h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-shadow: none;
}
.formation-column h3 span{
  font-weight: 500;
  font-style: italic;
  font-size: 1rem;
}

.formation-desc {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.formation-column ul{
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.formation-column ul li{
  margin-bottom: 0.5rem;
}
/* Message lorsqu'il n'y a pas de dates à venir */
.formation-dates-empty {
  background-color: #fafbfb;
  border: 1px dashed #B7B725;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.formation-dates-empty p {
  margin: 0 0 1rem 0;
  color: #333;
  line-height: 1.5;
}
.formation-dates-empty .btn-contact-scroll {
  margin: 0 auto;
}

/* Cartes de date */
.formation-date-card {
  background-color: #fff;
  border-left: 6px solid var(--border-color, #2ecc71);
  padding: 1rem 0.6rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  position: relative;
  transition: transform 0.2s ease;
  box-shadow: 2px 2px 4px #000000aa;
}

.formation-date-card:hover {
  transform: scale(1.02);
}



/* Détails au survol */
.hover-details {
  display: none;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #444;
}

.formation-date-card:hover .hover-details {
  display: block;
}
/* Positionnement initial du texte de statut */
.status-text {
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--border-color, #2ecc71);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    position: absolute;
    top: 8px;  /* Définir la distance fixe du haut de la carte */
    right: 12px;
    white-space: normal;
    z-index: 1; /* Assurer que le texte reste au-dessus de tout autre élément */
    transition: none;  /* Pas de transition ici pour garder la position stable */
}



.formation-date-card:hover .hover-details {
    display: block;  /* Afficher les détails supplémentaires au survol */
}

/* Responsive */
@media (max-width: 768px) {
  .formations-grid {
    flex-direction: column;
  }

  .formation-column {
    flex: 1 1 100%;
  }
  .status-text {
    position: static !important;
    margin-bottom: 0.2rem;
    margin-top: 0.5rem;
    display: inline-block;
    text-align: left;
  }

  .formation-date-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }

  .formation-date-card p {
    margin-top: 0; /* évite l'espacement en haut du bloc texte */
  }
  .btn-formation {
  margin-top: auto;
}
}
/* Cacher le bouton par défaut */
.btn-formation {
  display: none;
}

/* Afficher le bouton lorsque la carte est survolée, mais uniquement pour les statuts valides */
.formation-date-card:hover .btn-formation {
  display: inline-block; /* Le bouton devient visible au survol */
}

/* Style des boutons (en utilisant un style standard, à adapter selon ton design actuel) */
.btn-formation {
    padding: 12px 20px;
  width: auto;
  margin-left: 0;
  margin-right: auto;
  border-radius: 60px;
  border: none;
  background-color: #B7B725;
  box-shadow: 2px 2px 4px #000000aa;
  font-family: inherit;
}



/* Cacher le bouton pour les sessions complètes */
.formation-complete .btn-formation {
  display: none; /* Pas de bouton si complet */
}


.landing-section5 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.landing-section5-container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.landing-section5-container-subtitle {
  font-weight: 600;
  text-align: center;
}
.landing-section5-container-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #fff;
  justify-content: space-around;
}
.landing-section5-container-card {
  padding: 8px 12px;
  background-color: #B7B725;
  border-radius: 20px;
  max-width: 350px;
  box-shadow: 2px 2px 4px #000000aa;
}
.landing-section5-container-card img{
  width: 32px;
}
.landing-section5-container-card--pers {
  font-weight: 600;
  text-decoration: underline;
}
.landing-section5-container-card--source {
  font-style: italic;
  font-size: 0.6rem;
}
.landing-section5-container-card--note {
  font-weight: 600;
}
.landing-section5-container-card--mess {
  font-size: 0.8rem;
}



.landing-section6{
  background-color: #B7B725;
  height: auto;
  padding: 40px 20px;
}
.landing-section6-container-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.landing-section6-container-card {
  flex: 1 1 30%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 2px 2px 4px #000000aa;
  border-radius: 10px;
  max-width: 350px;
  text-align: center;
}

.landing-section6-container-card img {
  max-height: 80px;
  margin-bottom: 10px;
}

.landing-section6-container-card--title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.landing-section6-container-card--text {
  font-size: 1rem;
  line-height: 1.4;
}
.landing-section6-container-card--text a {
  color: blue;
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .landing-section6{
  padding: 40px 8px;
  }
  .landing-section6-container-cards {
    flex-direction: column;
    align-items: center;
  }

  .landing-section6-container-card {
    max-width: 90%;
  }
}






.landing-section7-container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.presentation-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 40px;
}

.photo-container {
  position: relative;
  width: 300px;
  max-width: 100%;
  z-index: 1;
}

.photo-container img {
  width: 100%;
  
  border-radius: 15px;
  z-index: 2;
  position: relative;
  border-radius: 100%;
}

.blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 400px;
  min-height: 100px;
  /* TODO IMAGE: sources → assets/img */
  background-image: url(../../assets/img/illustrations/verctor2.webp);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

.texte-presentation {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
  @media screen and (min-width: 1024px) {
    width: 50%;
  };
  
}

.faq {
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
}

.faq h3 {
  text-shadow: none;
}

.faq-item {
  margin-bottom: 1rem;

}

.faq-question {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 0.8rem;
  cursor: pointer;
  color: #444;
  @media screen and (max-width: 768px) {
    border-radius: 10px;
  };
}

.faq-answer {
  display: none;
  padding: 0.5rem 0 1rem 0;
  color: #666;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}

.faq-item.open .faq-answer {
  display: block;
}





.landing-section8 {
  background-color: #b7b725;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .landing-section8 {
    padding: 40px 8px;
    flex-direction: column;
    align-items: center;
  }
}

.landing-section8 h2 {
  color: #fff;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

form#contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 1;
  @media screen and (max-width: 768px) {
    border-radius: 1rem;
  };
}

form#contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #222;
}

form#contact-form input,
form#contact-form select,
form#contact-form textarea {
  width: 100%;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 10px;
  background-color: #aeb91c96; /* jaune clair */
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}

form#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

form#contact-form button {
  display: block;
  width: 100%;
  background-color: #c1c022;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

form#contact-form button:hover {
  background-color: #afb91c;
}

/* Message d’état */
#form-message {
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1em;
}

/* Animation de confirmation ou erreur */
#form-message.success::before,
#form-message.error::before {
  content: "";
  display: inline-block;
  margin-right: 0.5em;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  animation: pop 0.3s ease-out forwards;
}

#form-message.success {
  color: #3c763d;
}

#form-message.success::before {
  background-color: #3c763d;
  mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.173 13.924a.5.5 0 0 1-.707 0l-3.89-3.89a.5.5 0 1 1 .707-.708L6.173 12.51l7.647-7.646a.5.5 0 0 1 .707.707l-8 8z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.173 13.924a.5.5 0 0 1-.707 0l-3.89-3.89a.5.5 0 1 1 .707-.708L6.173 12.51l7.647-7.646a.5.5 0 0 1 .707.707l-8 8z"/></svg>') center / contain no-repeat;
}

#form-message.error {
  color: #a94442;
}

#form-message.error::before {
  background-color: #a94442;
  mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 9.414l3.536 3.535a1 1 0 0 0 1.415-1.414L9.414 8l3.536-3.536a1 1 0 0 0-1.414-1.415L8 6.586 4.464 3.05A1 1 0 0 0 3.05 4.464L6.586 8l-3.535 3.536a1 1 0 1 0 1.414 1.414L8 9.414z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 9.414l3.536 3.535a1 1 0 0 0 1.415-1.414L9.414 8l3.536-3.536a1 1 0 0 0-1.414-1.415L8 6.586 4.464 3.05A1 1 0 0 0 3.05 4.464L6.586 8l-3.535 3.536a1 1 0 1 0 1.414 1.414L8 9.414z"/></svg>') center / contain no-repeat;
}

@keyframes pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ------------ Onglets à droite du formulaire ------------ */
.contact-info-tabs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info-tabs a:first-child {
  background: #a94442;
  border: 1px solid #a94442;
}
.contact-info-tabs a:nth-child(2) {
  background: #83a942;
  border: 1px solid #83a942;
}
.contact-info-tabs a:last-child{
  background: #42a2a9;
  border: 1px solid #42a2a9;
}
.contact-info-tabs a {
  background: white;
  border: 1px solid #ccc;
  padding: 1rem;
  max-width: 180px;
  font-weight: bold;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #111;
  transition: background-color 0.3s ease;
}

.contact-info-tabs a:not(:last-child) {
  border-bottom: none;
}

.contact-info-tabs a:hover {
  filter: brightness(0.95);
}

@media screen and (max-width: 768px) {
  .contact-info-tabs {
    flex-direction: row;
    border-radius: 1rem;
    margin-top: -20px;
    position: relative;
    z-index: 0;
  }

  .contact-info-tabs a {
    border: none;
    border-right: 1px solid #ccc;
    min-width: 33%;
    flex: 1;
    font-size: 0.6rem;
  }

  .contact-info-tabs a:last-child {
    border-right: none;
  }
}

.contact-info-tabs i {
  margin-bottom: 0.3em;
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #000; /* force noir */
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

/* Icône téléphone */
.icon-phone {
  mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.05-.24 11.36 11.36 0 003.56.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.75a1 1 0 011 1 11.36 11.36 0 00.57 3.56 1 1 0 01-.24 1.05l-2.2 2.2z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6.62 10.79a15.05 15.05 0 006.59 6.59l2.2-2.2a1 1 0 011.05-.24 11.36 11.36 0 003.56.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.75a1 1 0 011 1 11.36 11.36 0 00.57 3.56 1 1 0 01-.24 1.05l-2.2 2.2z"/></svg>');
}

/* Icône email */
.icon-mail {
  mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v.01L12 13 4 6.01V6h16zM4 18V8l8 5 8-5v10H4z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v.01L12 13 4 6.01V6h16zM4 18V8l8 5 8-5v10H4z"/></svg>');
}

/* Icône localisation */
.icon-location {
  mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z"/></svg>');
}


































/* Couche noire de fond */
.popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  
}

.popup.hidden {
  display: none;
}

/* Reprise du style de #contact-form */
.popup-content {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 92%;
  margin: auto;
  position: relative;
  @media screen and (max-width: 768px) {
    margin-top: 8px;
    max-height: 92vh;
    padding: 1rem;
  };
}

.popup-content h2 {
  color: #B7B725;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  @media screen and (max-width: 768px) {
    font-size: 1rem;
  };
}

.popup-content label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: bold;
  color: #222;
}

.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 10px;
  background-color: #aeb91c96;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  @media screen and (max-width: 768px) {
    padding: 0.3rem 0.5rem;
  };
}

.popup-content textarea {
  min-height: 120px;
  resize: vertical;
  @media screen and (max-width: 768px) {
    min-height: 80px;
  };
}

.popup-content button {
  display: block;
  width: 100%;
  background-color: #c1c022;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 2px 2px 4px #000000aa;
  font-family: inherit;
  transition: background-color 0.3s ease;
  @media screen and (max-width: 768px) {
    font-size: 0.8rem;
  };
}

.popup-content button:hover {
  background-color: #afb91c;
}

/* Bouton de fermeture */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #222;
  font-weight: bold;
  line-height: 1;
}


.formation-docs li a{
  color: #000;
  text-decoration: underline;
  font-weight: 500;
  font-style: italic;
}


.tnd-cestquoi {
  background-color: #b7b725;
  padding: 60px 20px;
  color: #161616;
  @media screen and (max-width: 768px) {
        padding: 40px 8px;
    }
}

.tnd-cestquoi-container {
  max-width: 80%;
  margin: 0 auto;
  text-align: left;
  @media screen and (max-width: 768px) {
        max-width: 96%;
    }
}

.tnd-cestquoi h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.tnd-cestquoi p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tnd-cestquoi ul {
  width: 60%;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem auto;
  @media screen and (max-width: 768px) {
        width: 80%;
    }
}

.tnd-cestquoi ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}


.ludo-cestquoi {
  background-color: #b7b725;
  padding: 60px 20px;
  color: #161616;
    @media screen and (max-width: 768px) {
        padding: 40px 8px;
    }
}

.ludo-cestquoi-container {
    max-width: 80%;
  margin: 0 auto;
  text-align: left;
    @media screen and (max-width: 768px) {
        max-width: 96%;
    }
}

.ludo-cestquoi h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.ludo-cestquoi p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.ludo-cestquoi ul {
  width: 60%;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem auto;
    @media screen and (max-width: 768px) {
        width: 80%;
    }
}

.ludo-cestquoi ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.ludo-cestquoi ul li::before {
  content: '🔸';
  position: absolute;
  left: 0;
}



.blc{
  color: #fff;
}

#tndpourquoi .landing-section2-cards-content, #ludopourquoi .landing-section2-cards-content{
  border: 1px solid rgba(0, 0, 0, 0.189);
}

.landing-section1-ludo .landing-section1-container-picture{
    @media screen and (min-width: 1025px) {
        left: 70%;
    }
}

.landing-section1-container-text-link a{
  color: blue;
  text-decoration: underline;
}
.link-menu-titre{
  font-size: 18px;
  list-style: none;
}

.programmetndludoimg {
  max-height: 60vh;
  max-width: 40%;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Page Nos outils ========== */
.page-nos-outils {
  width: 100%;
  overflow-x: hidden;
}

.nos-outils-hero {
  text-align: center;
  padding: 4rem 1rem;
}
.nos-outils-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.nos-outils-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.nos-outils-hero-intro {
  color: #161616;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.nos-outils-hero .landing-section3-button,
.nos-outils-hero a.landing-section3-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #fff;
  color: #161616;
  border-radius: 60px;
  box-shadow: 2px 2px 4px #000000aa;
  font-weight: bold;
  text-decoration: none;
  margin-top: 0.5rem;
}
.nos-outils-hero a.landing-section3-button:hover {
  background-color: #fafbfb;
  transform: scale(1.05);
  box-shadow: 3px 3px 6px #000000aa;
}

.nos-outils-section .landing-section2-container {
  padding: 2rem 1rem;
}

/* Outils sur mesure : contenu sur toute la largeur du bloc, centré */
.nos-outils-sur-mesure-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 0 1rem;
}
.nos-outils-sur-mesure-inner h2 {
  margin-bottom: 1.25rem;
}
.nos-outils-sur-mesure-inner p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.nos-outils-sur-mesure-inner .nos-outils-list {
  display: inline-block;
  text-align: left;
  margin: 1rem auto;
}

.nos-outils-list {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  margin: 1rem auto;
}
.nos-outils-list li {
  padding: 0.4rem 0;
  padding-left: 0.5rem;
}

/* Mobile : listes des jeux alignées à gauche, même largeur pour un rendu propre */
@media screen and (max-width: 900px) {
  .nos-outils-produit-text .nos-outils-list {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-left: 0;
  }
  .nos-outils-produit-text .nos-outils-list li {
    padding-left: 1.25em;
    display: block;
    overflow-wrap: break-word;
  }
}
.page-nos-outils .landing-section4 .nos-outils-list--light {
  color: #161616;
}
.page-nos-outils .landing-section4 h2.blc {
  color: #fff;
}

.nos-outils-produit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0;
}
.nos-outils-produit--reverse {
  grid-template-columns: 1fr 1fr 1fr;
}
.nos-outils-produit--reverse .nos-outils-produit-text { order: 2; }
.nos-outils-produit--reverse .nos-outils-produit-visuel { order: 1; }
.nos-outils-produit--reverse .nos-outils-carousel { order: 3; max-width: 100%; }

.nos-outils-produit-text h2 {
  margin-bottom: 1rem;
}
.nos-outils-prix {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  color: #2c3e50;
  background-color: #FDFF96;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.nos-outils-produit-text p {
  margin-bottom: 0.8rem;
}
.nos-outils-produit-visuel img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
}
.nos-outils-produit-visuel--placeholder {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8c4 0%, #d4d4a0 100%);
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
  position: relative;
}
.nos-outils-produit-visuel--placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nos-outils-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6b6b1a;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
  z-index: 0;
}

.nos-outils-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
}
.nos-outils-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}
.nos-outils-carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  display: block;
}
.nos-outils-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #B7B725;
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 60px;
  box-shadow: 2px 2px 4px #000000aa;
  font-size: 1.2rem;
  line-height: 1;
}
.nos-outils-carousel-btn:hover {
  background-color: #d3d32a;
  transform: translateY(-50%) scale(1.05);
}
.nos-outils-carousel-btn.prev { left: 12px; }
.nos-outils-carousel-btn.next { right: 12px; }

/* BullaKod : carousel plus petit, images sans déformation */
.nos-outils-carousel--bullakod {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.nos-outils-carousel--bullakod .nos-outils-carousel-track img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
}

/* Outils sur mesure : image fixe (pas de carousel) */
.nos-outils-sur-mesure-img {
  text-align: center;
  margin-top: 1.5rem;
}
.nos-outils-sur-mesure-img img {
  width: 500px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  box-shadow: 2px 2px 4px #000000aa;
}

.nos-outils-preuve {
  text-align: center;
  padding: 2rem 1rem;
}
.nos-outils-preuve-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.nos-outils-cta-intro {
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .nos-outils-produit,
  .nos-outils-produit--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nos-outils-produit--reverse .nos-outils-produit-text,
  .nos-outils-produit--reverse .nos-outils-produit-visuel,
  .nos-outils-produit--reverse .nos-outils-carousel { order: unset; }
  .nos-outils-produit--reverse .nos-outils-carousel { max-width: 100%; }
  .nos-outils-list { margin-left: auto; margin-right: auto; }
}

/* Mobile (< 728px) : description en premier, slider en dessous pour une lecture cohérente */
@media screen and (max-width: 727px) {
  .nos-outils-produit .nos-outils-produit-text { order: 1; }
  .nos-outils-produit .nos-outils-carousel { order: 2; }
}

/* ============ FOOTER ============ */
.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 2rem 1.5rem;
  margin-top: 0;
}
.site-footer a {
  color: #ecf0f1;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #B7B725;
}
.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
  }
  .footer-inner .footer-center { text-align: center; }
  .footer-inner .footer-right { text-align: center; }
}
.footer-credit {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer-credit a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-credit img,
.footer-credit svg {
  height: 28px;
  width: auto;
  vertical-align: middle;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links li.footer-container-center-fichiers {
  justify-content: center;
}
.footer-links .footer-section-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: block;
}
.footer-programmes-fichiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 0.6rem;
  list-style: none;
}
.footer-container-center-fichiers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-container-center-fichiers > a:first-of-type {
  text-decoration: underline;
}
.footer-container-center-fichiers a[download] {
  display: inline-flex;
  text-decoration: none;
}
.footer-container-center-fichiers a[download]:hover {
  opacity: 0.85;
}
.footer-container-center-fichiers a[download] img,
.footer-container-center-fichiers a[download] svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.footer-social a:hover {
  background-color: #B7B725;
  color: #1a1a1a;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* Popups footer (mentions, copyright, réclamation) */
.popup-container {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.popup-container .popup-content {
  background-color: white;
  color: #222;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.popup-container .popup-content h2 {
  color: #B7B725;
  margin-bottom: 1rem;
  padding-right: 2rem;
}
.popup-container .popup-content h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.popup-container .popup-content p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}
.popup-container .popup-content .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}
.popup-container .popup-content .close:hover {
  color: #222;
}
.mentions-popup-content {
  max-width: 600px;
}