body {
      margin: 0;
      font-family: 'Open Sans', sans-serif;
      background-color: white;
      color: #2e2e2e;
    }



    header h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      color: #93c552;
    }

    header button {
      /* #234C2f*/
      color: white;
      background-color: #93c552;
      border: none;
      padding: 10px 20px;
      max-width: 350px;
      font-size: 1rem;
      cursor: pointer;
      border-radius: 5px;
    }

    section {
      padding: 35px 20px;
      /* max-width: 1000px; */
      margin: auto;
    }

    .title {
        font-size: 35px;
        font-family: 'Playfair Display', serif;
        color: #93c552;
        margin-top: 0px;
        margin-bottom: 40px;
        text-align: center;
    }
    .card.active {
            box-shadow: 0 2px 11px #060606ad;
        cursor: pointer;
        transform: translateY(-5px);
    }
     .grid {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-direction: row;
      align-content: center;
      flex-wrap: wrap;
    }
    .card:hover {
          box-shadow: 0 2px 11px #060606ad;
      cursor: pointer;
      transform: translateY(-5px);
    }
   .card {
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      min-width: 155px;
      text-align: center;
      height: 155px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition-duration: 0.2S;
      color: black;
      text-decoration: none;
    }
/* cartes-lien accessibles */
#disciplines .grid .card {
  display: block;                  /* l’ancre devient le conteneur */
  text-decoration: none;           /* pas de soulignement */
  color: inherit;                  /* garde tes couleurs */
  border-radius: 12px;             /* comme avant sur .card */
  overflow: hidden;
}

#disciplines .grid .card:focus-visible {
  outline: 3px solid #93c552;
  outline-offset: 3px;
}

#disciplines .grid .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}


    .card .img {
      margin-bottom: 10px;
      height: 100px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }

    .team {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin: auto;
        align-items: center;
        flex-direction: row;
    }

    .team-member {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex-wrap: nowrap;
      align-items: center;
      min-width: 175px;
      background-color: white;
      padding: 20px;
      border-radius: 10px;
      height: 275px;
      transition-duration: 0.2S;
      color: #000000;
      text-decoration: none;
    }

    .team-member img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      background-color: white;
    }

    th, td {
      padding: 10px;
      text-align: center;
      border: 1px solid #ddd;
    }

    .news {
      background: #f5efe4;
      padding: 20px;
      margin-top: 30px;
      border-radius: 10px;
    }

    footer {
      background-color: #eee;
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
    }


    #image_principal {
      transition: all 0.3s ease;
      background-image: url('../Images/image.png');
      height: 550px;
      border-radius: 0px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-wrap: nowrap;
      background-size: cover;
      min-width: 75%;
      max-width: 1500px;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      background-position: initial;
      background-repeat: no-repeat;
      border-radius: 25px;
      align-content: center;
}

#image_principal nav {
    background-color: #fdfaf524;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.texte-info {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 17px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: justify;
    max-width: 750px;
}

.contact-card {
    width: 180px;
    background-color: white;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    font-size: 1rem;
    color: #93c552;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }

  .icon-contact {
    height: 48px;
    margin-bottom: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .team-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 61%;
    margin-bottom: 10px;
    background-position: center;
    background-size: cover;
  }

  .team-tel {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.95rem;
    color: #93c552;
    text-decoration: none;
    font-weight: bold;
  }

  .team-tel:hover {
    text-decoration: underline;
  }


#menu {
    background-color: #93c552;
    height: 54px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    height: 200px;
    z-index: 9;
    top: 0;
    left: 0;
    transition-duration: 99s;
    align-content: center;
}

#logo {
    background-image: url('../Images/Logo.png');
    background-position: center;
    position: absolute;
    height: 100%;
    top: 0;
    left: 25px;
    transition-duration: 0.2s;
    width: 160px;
    background-repeat: no-repeat;
    background-size: 100%;
}

#menu nav {
    height: 50px;
    text-align: center;
    width: 100%;
    line-height: 50px;
    color: #ffffff;
    font-weight: bold;
    font-size: 19px;
    margin: 0;
}

    #menu-diciplines .grid {
    display: flex;
    flex-wrap: nowrap;
    height: 129px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#menu-diciplines .card {
    height: 55px;
    padding: 10px;
    min-width: 92px;
    width: 62px;
    max-width: 150px;
}

#menu-diciplines section {
    padding: 0;
    max-width: 1000px;
    height: 129px;
    margin: auto;
}

#menu-diciplines .card .img {
    margin-bottom: 10px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#menu-diciplines {
    background-color: #93c552;
    font-size: 9px;
}
#mainHeader {
    position: fixed;
    top: 0;
    margin: 0;
    display: flex;
    left: 0;
    background-color: #93c552;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
    flex-direction: row;
}

#mainHeader.shrink {
  height: 25px;
}
#mainHeader .header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  transition: all 0.3s ease;
  flex-direction: column;
}

#mainHeader .logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #ffffff;
  transition: font-size 0.3s ease;
}

#mainHeader nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #2e2e2e;
  font-weight: bold;
  transition: color 0.2s;
}


#mainHeader.large {
  height: 145px;
}

#mainHeader.large .logo {
  font-size: 2.5rem;
}
#mainHeader.large .subtitle {
    font-size: 16px;
    margin-top: 5px;
    display: block;
}

.subtitle {
    transition: font-size 0.3s ease;
    font-size: 12px;
    margin: 0;
    display: none;
}
header.apres {
    border-radius: 0;
    padding: 20px 20px;
}

.apres {
    border-radius: 35px;
}
.apres #image_principal {
    border-radius: 35px;
}

.transparent-bg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0; /* contenu au-dessus */
  overflow: hidden;
}

/* Image de fond avec transparence */
.transparent-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../Images/Logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 140%;
  opacity: 0.4; /* 50% de transparence */
  z-index: 5;
}
.shrink #logo {
    background-size: 56%;
    /* position: relative; */
    /* height: 100px; */
}
      header {
        padding: 30px 0px;
        position: relative;
        color: #fff;
        text-align: center;
        display: flex;
        height: 550px;
        justify-content: center;
        flex-direction: row;
        margin-top: 200px;
        flex-wrap: nowrap;
        transition: all 0.3s ease;
      }
    @media (max-width: 1170px) {
      #logo {
        height: 75px;
        width: 75px;
      }
    }


    @media (max-width: 768px) {
      header {
        padding: 0;
        position: relative;
        color: #fff;
        text-align: center;
        display: flex;
        height: 550px;
        justify-content: center;
        margin-top: 200px;
        flex-direction: row;
        flex-wrap: nowrap;
        transition: all 0.3s ease;
      }
      #image_principal {
        width: 100%;
        border-radius: 0px;
      }
      #logo {
          display: none;

      }
      #menu-diciplines .grid {
        justify-content: flex-start;
      }
      .grid {
        align-items: center;
        height: 295px;
        overflow-x: auto;
        padding-left: 30px;
        padding-right: 45px;
        display: flex;
        gap: 20px;
        justify-content: space-between;
        flex-direction: row;
        align-content: center;
        flex-wrap: nowrap;
      }
      #image_principal nav {
        background-color: #fdfaf56e;
        height: 100%;
        position: relative;
        max-width: 100%;
        display: flex;
        padding: 0px;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        }   
        .title {
        font-size: 35px;
        font-family: 'Playfair Display', serif;
        color: #93c552;
        margin-bottom: 12px;
        text-align: center;
        margin-top: 0;
        }
        .contact-card {
          width: 100%;
        }  
        .team {
        align-items: center;
        height: 335px;
        overflow-x: auto;
        padding-left: 35px;
        padding-right: 45px;
        display: flex;
        gap: 35px;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
        max-width: none;
        }
        .titresous {
          position: fixed;
          top: 65px;
          font-size: 15px;
          padding: 3px 0px;
          background-color: #fcfaf5;
          width: 100%;
          /* border-radius: 0px 0px 20px 19px; */
          /* border: solid #93c552 1px;*/
          border-width: 0px 2px 2px 2px;
          z-index: 10;
        }
    }
    /* Empêche le scroll tant que le loader est visible */
html.is-loading, body.is-loading { overflow: hidden; }

/* Overlay */
#page-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fcfaf5;               /* fond du site */
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .6s ease, visibility .6s ease;
  visibility: visible;
}

/* Masquage en fondu */
#page-loader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Contenu */
#page-loader .loader-inner{
  position: relative;
  width: clamp(160px, 22vw, 260px);
  height: clamp(160px, 22vw, 260px);
  display: grid;
  place-items: center;
}

/* Logo respirant */
#page-loader .loader-logo{
  width: 135%;
  top: -25px;
  height: auto;
  animation: breath 4s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
  position: absolute;
}

/* Anneau tournant autour du logo */
#page-loader .loader-inner::after{
  content: "";
  position: absolute;
  width: 175%;
  height: 175%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 3px solid #e5eee9;
  border-top-color: #93c552; /* couleur marque */
  animation: spin 1.2s linear infinite;
}

/* Texte */
#page-loader .loader-text {
    position: absolute;
    bottom: -155px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Open Sans', sans-serif;
    color: #93c552;
    font-size: 21px;
    letter-spacing: .3px;
}

/* Animations */
@keyframes spin{
  to { transform: rotate(360deg); }
}

@keyframes breath{
  0%, 100% { transform: scale(0.94); opacity: .9; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* Respecte "réduire les animations" si activé */
@media (prefers-reduced-motion: reduce){
  #page-loader .loader-inner::after,
  #page-loader .loader-logo{ animation: none; }
}
.team-member a {color: #000000;text-decoration: none;}