@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
:root {
  --titre: "Bebas Neue", sans-serif;
  --text: "Roboto", sans-serif;
  --bleu: #276ba8;
  --grey: #303030;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--grey);
  background-color: #fff;
  min-height: 100vh;
  /* box-sizing: ; */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00144877; /* Ton bleu */
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-gif {
    width: 150px;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loader-gif.loaded {
    opacity: 1;
}
.loading-text {
    color: white;
    margin-top: 20px;
    font-family: sans-serif;
    letter-spacing: 1px;
}

/* Classe ajoutée par le JS pour cacher le tout */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* Fin preloader */

/* .p2-body {
  background: linear-gradient(to bottom, var(--bleu) 66%, #fff);
  color: #242424;
} */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--titre);
  font-weight: 100;
  color:#fff;
}

h3,
h4,
h5,
h6 {
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.1em;
}


h1>span:nth-child(1){
  font-size: .8em;
  font-weight: 400;
  background-color: #000e33;
  font-family: var(--text);
  width: fit-content;
  padding: 5px;
  border-radius: 5px;
  margin: 0 0 0 10px;
  color: #fff;
}
h1>span:nth-child(2){
  font-size: 2.8em;
  line-height: 1em;
  font-weight: 100;
  display: block;
  margin-left: 10px;
  font-family: var(--titre);
}
h2>span:nth-child(1){
  display: none;
  font-size: .8em;
  font-weight: 400;
  background-color: #000e33;
  font-family: var(--text);
  width: fit-content;
  padding: 5px;
  border-radius: 5px;
  margin-left: 10px;
  color: #fff;
}
h2>span:nth-child(2){
  font-size: 2.5em;
  line-height: 1em;
  font-weight: 100;
  display: block;
  margin-left: 10px;
  padding-top: 10px;
  font-family: var(--titre);
}

h3 {
  font-size: 2.2em;
}

h4 {
  font-size: 1.6em;
}

h5 {
  font-size: 1.2em;
}

p {
  font-family: var(--text);
  color: #fff;
  margin-top: 0;
  margin-left: 10px;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #fff;
}

.white {
  color: #fff;
}

.p1-section-1{
  margin-top: 45px;
  background-image: url(./img/pics4.jpg);
  background-size: cover;
  height: fit-content;
  /* padding-bottom: 60px; */
}
.p1-section-1 h1 {
  padding-bottom: 20px;
}


/* Barre de vavigation */

.nav-bar {
  font-family: var(--titre);
  position: fixed;
  top: 0;
  width: 100vw;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #001448;
  color: #fff;
  border-bottom: 5px rgb(255, 255, 255) solid;
  z-index: 1000;
}
.nav-bar span {
  font-size: 2.8em;
  position: absolute;
  top: 7px;
  right: 20px;
  display: none;
}
#nav-space {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 70%;
}
.nav-logo {
  font-size: 2.4em;
  font-family: var(--titre);
}
#lien-nav-logo{
  text-decoration: none;
  color: #fff;
}

.nav-ulist .nav-menu-title {
  list-style: none;
  font-size: 1.4em;
  /* border: 1px rgb(255, 0, 166) solid; */
}
.nav-list {
  display: inline-block;
  list-style: none;
  font-weight: bold;
  text-align: center;
  padding: 17px 10px;
  border-radius: 7px;
  margin-right: 10px;
  transition: 0.3s ease-in-out;
}

.nav-bar .nav-dropdown {
  display: none;
  position: absolute;
  top: 55.5px;
  left: auto;
  right: auto;
  width: fit-content;
  padding: 10px;
  margin: 0;
  border: 3px solid rgb(255, 255, 255);
  border-radius: 0px;
  list-style: none;
  font-family: var(--text);
  font-weight: 300;
  font-size: 1em;
  background-color:#001448;
  gap: 10px;
  border-top: none;
}

.nav-bar #nav-dropdown-1 { 
  left: -24px;
}

.nav-bar #nav-dropdown-2 { 
  left: 5px;
}

.nav-bar #nav-dropdown-3 { 
  left: 12px;
}

.nav-bar #nav-dropdown-4 { 
  left: 1px;
}

.nav-list:hover .nav-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
#li-club {
  position: relative;
}

.nav-d-list {
  padding: 5px;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.nav-list:hover {
  transform: scale(1.2);
  border-radius: 10px;
}

.nav-d-list:hover {
  transform: scale(1.06);
  font-weight: 500;
}

/* .nav-d-list:hover {
  background-color: rgba(255, 255, 255, 0.31);
  box-shadow: rgba(0, 0, 0, 0.3) 2px 4px 6px 0;
} */

.no-scroll {
    overflow: hidden;
    height: 100%;
    position: fixed;   /* ← ajouter pour iOS */
    width: 100%;
}

li a {
  text-decoration: none;
  color: #fff;
}
.s1-space {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* border: 2px solid orangered; */
}

#p1-social-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 20%;
  left: 10px;
  gap: 20px;
}

.p1-section-1 h1 {
  padding-top: 40px;
  text-align: center;
  font-size: 3em;
  margin-bottom: 0;
  line-height: 0.8em;
}
.p1-section-1 h2 {
  margin: 0 0 20px 0;
  font-size: 2em;
  text-align: center;
}

.s1-container {
  display: flex;
  justify-content: center;
  width: 70%;
  min-width: 1060px;
  height: 550px;
  /* border: red solid 1px; */
}

.s1-pave {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: relative;
  height: 100%;
  /* border: solid rgb(255, 0, 157) 2px; */
  width: 25%;
  min-width: 260px;
  max-width: 280px;
  margin: 0 45px;
}

.s1-frame {
  width: 100%;
  height: 60%;
  border-radius: 10px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
}
.s1-pics {
  width: 100%;
  height: 100%;
  max-width: 282px;
  border-radius: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.3s ease-in-out;
}
.s1-pics:hover {
  transform: scale(1.02);
  z-index: 1;
}
#pics1 {
  background-image: url(./img/Inscriptions1.png);
  background-position: center 10%;
}
#pics2 {
  background-image: url(./img/tournois-ete.png);
  background-position: center center;
  background-color: #ffffff;

}
#pics3 {
  background-image: url(./img/1-pave-boutique.png);
  background-size: contain;
  background-position: center center;
}
.s1-text {
  /* border: 1px solid rgb(238, 255, 0); */
  width: 100%;
  height: 35%;
  position: absolute;
  bottom: 15px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.s1-span-title {
  font-size: 3em;
  line-height: 1em;
  font-family: var(--titre);
}
.s1-span-date {
  display: block;
  font-family: var(--text);
  font-weight: 350;
  color: #ffffff9f;
  padding: 10px 0;
}

#s1-span-date-1, #s1-span-date-3 {
  opacity: 0;
}

.s1-span-under-title {
  color: #fff;
  font-family: var(--titre);
  font-size: 1.5em;
  text-decoration: underline;
}
.s2-bande {
  display: none;
  height: 100px;
  background-color: #001448;
  border-top: 5px rgb(234, 234, 234) solid;
  border-bottom: 5px rgb(234, 234, 234) solid;
}
#s2-bg {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: rgb(49, 79, 120);
}

#splide-pave {
  display: none;
}
/* Page 2 */

#p2-section-1 {
  padding-top: 20px;
  margin-top: 35px;
  height: fit-content;
  min-height: 90vh;
  position: relative;
  /* border: 1px solid red; */
  background-image: url(img/pics4.jpg);
  /* background-color: #303030; */
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

#p2-s1-infos span h2>span:nth-child(2){
  margin-left: 75px;
}

.p2-s1-bg-pic {
  /* background-attachment: scroll; */
  margin-top: 0;
  position: relative;
  height: 70vh;
  background-image: url(./img/drone.jpeg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  border-bottom: 5px solid #fff;
}

#p2-s1-ancre,
#p2-s2-ancre,
#p2-s3-ancre,
#p2-s4-ancre,
#p2-s5-ancre,
#p2-s6-ancre,
#p2-s7-ancre {
  bottom: 55px;
  position: absolute;
  left: 0;
  background-color: #ff006a;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  opacity: 0;
  /* z-index: 100000; */
}

#p2-s1-ancre {
  top: -35px;
}

#p2-section-2 {
  height: fit-content;
  min-height: 90vh;
  width: 100%;
  border-bottom: 5px solid #fff;
  border-top: 5px solid #fff;
  position: relative;
  background: linear-gradient(to left, #124f83, #012341);  /* background-image: url(img/pics4.png); */
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 0;
  margin-bottom: 0;
}

#p2-s1-structure-list, #p3-s1-structure-list, #cta-list {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 2px dotted rgb(96, 0, 128); */
  margin-top: 0;
}
#p2-s1-ul, #p3-s1-ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: fit-content fit-content;
  margin: 15px 15px 30px 15px;
  gap: 30px 70px;
}

ul {
  padding: 0;
}
.structure-list {
  color: #fff;
  list-style: none;
  width: 300px;
  height: fit-content;
  /* border: 1px solid rgb(252, 51, 84); */
}
.p2-s1-under-list, .p3-s1-under-list {
  list-style: none;
  width: 300px;
  /* border: 1px dotted black; */
}
.p2-s1-under-list li, .p3-s1-under-list li{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.p2-s1-list-number, .p3-s1-list-number {
  line-height: 1em;
  font-family: var(--titre);
}
.p2-s1-list-number {
font-size: 5em;
}

.p2-s1-list-title, .p3-s1-list-title {
  line-height: 1em;
  font-family: var(--titre);
  color: #fff;
  margin-bottom: 5px;
  font-weight: 100;
  text-align: center;
}
.p2-s1-list-title {
font-size: 2em;
}
.p3-s1-list-title h5{
  font-weight: 100;
  padding: 5px;
  background-color: #00012b;
  border-radius: 3px;
}

.p2-s1-list-title span, .p3-s1-list-title span {
  width: fit-content;
  padding: 4px 4px 1px 4px;
  border-radius: 5px;
  background-color: #000e33;
}
.p2-s1-list-text, .p3-s1-list-text {
  font-size: 1em;
  line-height: 1.1em;
  font-family: var(--text);
  opacity: 0.9;
}

#p2-s1-bandeau {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 5px 0 0 0;
  background-color: #00000061;
  backdrop-filter: blur(2px);
  font-size: 3em;
  font-family: var(--titre);
}
#p2-s1-container {
  height: 50%;
  width: 100%;
  display: flex;
  /* border: 2px dotted orange; */
}

#p2-s1-container-1 {
  /* border: 2px solid green; */
  width: 49%;
  /* padding-top: 50px; */
  position: relative;
}

/* Test photo drone */

#container-1-drone {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 300px;
  width: 400px;
  background-image: url(img/drone.jpeg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


#p2-s1-container-2 {
  /* border: 2px solid rgb(255, 150, 3); */
  width: 50%;
  padding-top: 50px;
}
#p2-s1-title-2 {
  font-size: 4em;
}

.container-structures {
    width: 80%;       /* Largeur du slider sur la page */
    margin: 0 auto;
    padding-bottom: 50px; /* Centre le slider avec de l'espace autour */
    position: relative;
}

/* Écarter les flèches */
#structure-slider .splide__arrows {
    width: 110%;
    position: absolute;
    left: -5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#structure-slider .splide__arrow {
    pointer-events: auto;
    background: transparent !important; /* Supprime le cercle gris */
}

/* Flèches en blanc */
#structure-slider .splide__arrow svg {
    fill: #ffffff !important;
    width: 35px;
    height: 35px;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.5)); /* Pour voir la flèche si la photo est claire */
}

/* Style des images */
#structure-slider .splide__slide img {
    width: 100%;
    height: 400px;     /* Tu peux ajuster la hauteur ici */
    object-fit: cover; /* Évite de déformer les photos */
    object-position: bottom;
    border-radius: 15px;
    object-position: left bottom;
}

#structure-slider .splide__slide {
  position: relative;
}

.structure-splide-text{
  position: absolute;
  bottom: 1px;
  left: 15px;
  color: #fff;
  font-family: var(--titre);
}

.structure-splide-text>span:nth-child(1){
  font-size: 7em;
  padding-right: 10px;
}

.structure-splide-text>span:nth-child(2){
  font-size: 4em;
}

/* #p2-s1-under-title-2 {
  margin: 10px 0 0 10px;
} */
/* #p2-s1-text-2 {
  display: block;
  font-weight: 320;
  line-height: 1.7em;
  opacity: 1;
} */
/* #p2-s1-text-3 {
  display: block;
  padding-top: 20px;
  opacity: 1;
  line-height: 1.7em;
  margin-right: 50px;
  margin-left: 10px;
} */

/* .p2-s-infos {
  display: block;
  width: fit-content;
  height: fit-content;
   border: 1px solid rgb(255, 0, 221);
} */

/* #p2-s1-structures {
  border: 3px solid purple;
} */

#p2-s1-infos {
 padding-bottom: 20px;
}

#p2-s1-infos>h2:nth-child(1) {
  font-size: 1em;
}

/* #p2-s1-infos .p2-s-text, .p2-s1-list-number, .p2-s1-list-title, .p2-s1-list-text  {
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
} */

/* .p2-s-under-title {
  font-size: 1.3em;
  font-weight: 400;
  background-color: #000e33;
  font-family: var(--text);
  margin-bottom: 0;
  width: fit-content;
  padding: 5px;
  border-radius: 3px;
  margin: 0;
} */

/* .p2-s-title {
  color: #282828;
  font-size: 3.5em;
  font-family: var(--titre);
  margin: 8px 0;
} */

.p2-s-text {
  margin-right: 100px;
}

.p2-s2-tarifs-table {
  width: 100%;
  height: 25vh;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 20px,
    rgba(255, 255, 255, 0.125) 20px 22px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--titre);
    font-size: 2em;
    gap: 20px;
}
#p2-s2-text-table {
  font-size: 1.2em;
}

#p2-s2-tarifs-container {
  display: flex;
  flex-direction: row;
  /* border: 3px dotted orange; */
  height: fit-content;
  width: 100%;
  color: #fff;
}
.p2-s2-tarifs-7 {
  grid-template-rows: repeat(7, 80px);
}
.p2-s2-tarifs-4 {
  grid-template-rows: repeat(4, 80px);
}
.p2-s2-tarifs-3 {
  grid-template-rows: repeat(3, 80px);
}

.p2-s2-tarifs-2 {
  grid-template-rows: repeat(2, 80px);
}

.p2-s2-tarifs-7, .p2-s2-tarifs-4, .p2-s2-tarifs-3, .p2-s2-tarifs-2 {
  display: grid;
  grid-template-columns: 70% 30%;
  align-items: center;
  padding: 20px 0;
}

.p2-s2-tarif-row {
  display: contents;
}
/* .tarif-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1em;
  font-family: var(--titre);
  cursor: pointer;
  transition: .3s ease;
  position: relative;
  border: 1px solid orange;
} */

.tarif-big-title {
  width: 100%;
  margin:50px 0;
  text-align: start;
}

.tarif-title {
  width: 100%; 
  padding: 0; 
  display: flex; 
  align-items: center;
  font-weight: 100;
  cursor: pointer;
}

#reservations {
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 5px;
  margin: 10px auto;
  width: 50%;
  border: 1px solid #fff;
  gap: 20px;
}

#reservations-container {
  display: flex;
}

.reservations-row {
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  width: 200px;
  gap: 10px;
}

.res-p2-s2-price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background-color: #000e33;
  padding: 10px;
  border-radius: 50%;
  font-family: var(--titre);
  margin: 0 auto;
  font-size: 1.4em;
}

.reservations-row .p2-s2-text{
  width: 100px;
}

#p2-s2-tarifs-container .tarif-big-title>span:nth-child(1) {
  font-size: 1.3em;
  display: block;
}

#p2-s2-tarifs-container .tarif-big-title>span:nth-child(2) {
  font-size: .8em;
  display: block;
}

.tarif-title:hover {
  opacity: 0.8;
}
/* .tarif-title span {
  margin-right: 85px;
} */
/* .p2-s2-tarif-little-title {
  font-size: 2em;
  font-family: var(--titre);
  margin: 0 auto;
} */

.p2-s2-tarif-under-title {
  display: block;
  font-size: .7em;
  font-family: var(--titre);
  font-weight: 100;
  opacity: .8;
  line-height: 1em;
  position: absolute;
  left:0;
  top:30px;
}

.tarif-under-title {
  display: inline-block; 
  width: 81%;
}

.tarif-under-title p {
  font-family: var(--titre);
  font-size: 1.2em;
  margin: 0;
  padding: 0;
  opacity: .8;
}

.tarif-icon {
  display: inline-block;
  width: fit-content;
  
}

.tarif-title .material-symbols-outlined {
  font-size: 2.5em;
}

.tarif-content{
  max-height: 0;
  padding: 20px 0;
  margin: 0;
  overflow: hidden;
  transition:max-height 0.5s ease-in-out, opacity 0.4s ease;
}

/* .tarif-title:active .tarif-content {
  max-height: 1200px;
} */
.arrow_forward_ios{
  display: inline-block;
  transition: transform 0.3s ease;
}

.tarif-title.active .arrow_forward_ios {
  transform: rotate(90deg);
}

.tarif-deroulant {
  max-height: 1000px;
  /* transition: .7s ease; */
}
.p2-s2-text{
  font-size: 1.1em;
  padding: 15px 0;
  font-family: var(--text);
}
.p2-s2-price, .p2-s2-little-price {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #000e33;
  font-weight: 100;
  border-radius: 50%;
  font-family: var(--titre);
  margin: 0 auto;
}
.p2-s2-price {
  font-size: 1.8em;
  height: 70px;
  width: 70px;
  transition: 0.3s ease-in-out;
}
.p2-s2-little-price {
  font-size: 1em;
  height: 75px;
  width: 75px;
  transition: 0.3s ease-in-out;
}
.p2-s2-price:hover, .p2-s2-little-price:hover {
  transform:scale(1.05);
}

#p2-s2-mid-cont-1 {
  padding: 0 20px 0 100px;
  /* background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 20px,
    rgba(27, 27, 27, 0.125) 20px 22px
  ); */
}
#p2-s2-mid-cont-2 {
  padding: 0 100px 0 20px;
  /* background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 20px,
    rgba(255, 0, 93, 0.125) 20px 22px
  ); */
}

#p2-s2-mid-cont-2>div:nth-child(8){
  margin-top: 60px;
}

#p2-s2-mid-cont-1,
#p2-s2-mid-cont-2 {
  height: 100%;
  width: 50%;
}
.bold {
  font-weight: 500;
}
.parenthese {
  opacity: 0.7;
}

#p2-s3-title, #p2-s3-text {
  color: #fff;
}
.p2-splide-d-container {
  height: 100%;
  /* border: 1px solid rgb(255, 0, 89); */
  position: relative;
}

#p2-d-container-1 {
  height: 360px;
  position: relative;
  /* border: 1px solid red; */
}
#p2-d-container-2 {
  height: 330px;
  width: 100%;
  padding-top: 30px;
  /* border: 1px solid orange; */
}
#p2-d-container-3 {
  height: 330px;
  width: 100%;
  /* border: 1px solid yellow; */
}


/* section 3 */

#p2-section-3 {
  padding: 10px 0 0 10px;
  height: fit-content;
  width: 100%;
  background-image: url(./img/pics4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 5px solid #fff;
  position: relative;
}

.container-splide-dirigeants {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0 0 0;
  height: 320px;
  width: 100%;
  /* border: 3px solid rgb(0, 125, 19); */
  position: relative;
  position: absolute;
  bottom: 0;
}
.title-splide-dirigeant{
  position: absolute;
  top:-30px;
  left: 12%;
  font-size: 2em;
   font-family: var(--titre);
   color: #fff;
  /* border: 1px solid pink; */
}
.arrow-d {
  color:#fff;
  padding:5px;
  background-color: #ffffff20;
  border-radius: 50%;
}
.arrow-d:hover {
  transform: scale(1.2);
  transition: .3s ease;
  background-color: #ffffff20;
}
.arrow-d:active {
  transform: scale(1.2);
  background-color: #ffffff20;
  transition: .3s ease;
}
#splide-dirigeants {
  display: block;
  position: absolute;
  width: 75%;
  bottom: 0;

}

#splide-pics-dirigeants {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}
#splide-pics-dirigeants .splide__slide {
  /* border: 2px solid purple; */
  padding-bottom: 40px;
  min-width: 200px;
}
.pics-dirigeants {
  border: 1px solid rgba(255, 255, 255, 0.318);
  height: 170px;
  width: 170px;
  border-radius: 50%;
  margin: 5px auto 20px auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #ffffff20;
  backdrop-filter: blur(1px);
  /* box-shadow: 0 2px 4px 5px rgba(255, 255, 255, 0.201); */
}
/* .pics-dirigeants:hover {
  box-shadow: 0 2px 4px 5px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: .3s ease;
} */

#p2-s1-text {
  margin: 0;
} 

/* #p2-s1-under-title {
  color: var(--grey);
  background-color: #ffffff5f;
  backdrop-filter: blur(3px);
} */
.text-dirigeants {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.d-name,
.d-work {
  color: #fff;
}

.d-name {
  font-size: 1.5em;
  font-family: var(--titre);
}
.d-work {
  font-size: 1em;
  font-family: var(--text);
  opacity: 0.8;
}

#pics-d-1-1 {
  background-image: url(./img/Portrait_Erik_Sebastiani\ copie.png);
} 
#pics-d-1-2 {
  background-image: url(./img/Portrait_Delphine_Richier-Lebailly.png);
}
#pics-d-1-3 {
  background-image: url(./img/Portrait_Benoît_Lebailly_copie.png);
}
#pics-d-1-4 {
  background-image: url(./img/Portrait_Nadège_Claeys\ copie.png);
}
#pics-d-1-5 {
  background-image: url(./img/Portrait_Emmanuelle_Vivier-Bel\ copie.png);
}
#pics-d-1-6 {
  background-image: url(./img/Portrait_Jean-Marc_Theodose\ copie.png);
}
#pics-d-1-7 {
  background-image: url(./img/Portrait_François-Emmanuel_Paton\ copie.png);
}

/* Splide 2 */

#pics-d-1-8 {
  background-image: url(./img/Portrait_Nicolas_Chouquet\ copie.png);
}
#pics-d-1-9 {
  background-image: url(./img/Portrait_Mathis_Prevel\ copie.png);
}
#pics-d-1-10 {
  background-image: url(./img/Portrait_Damien_Broutin\ copie.png);
}
#pics-d-1-11 {
  background-image: url(./img/Portrait_Edouard_Devaux\ copie.png);
}
#pics-d-1-12 {
  background-image: url(./img/Portrait_Charles_Devaux\ copie.png);
}

#splide-dirigeants-2 {
  display: block;
  position: absolute;
  width: 75%;
  bottom: 0;
  /* border: 1px dotted rgb(255, 149, 0); */
}

#splide-pics-dirigeants-2 {
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

#splide-pics-dirigeants-2 .splide__slide {
  /* border: 2px solid purple; */
  padding-bottom: 40px;
  min-width: 200px;
}
#splide-pics-dirigeants-2 .d-work {
  opacity: 0;
}


/* Page 3 */

#p3-s1-ancre,
#p3-s2-ancre,
#p3-s3-ancre,
#p3-s4-ancre {
  position: absolute;
  left: 0;
  background-color: #ff006a;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  opacity: 0;
    /* z-index: 100000; */
}
#p3-s1-ancre {
  top: -35px;
}
#p3-s2-ancre {
  bottom: 0;
}
#p3-s3-ancre {
  bottom: 55px;
}
#p3-s4-ancre {
  bottom: 50px;
}


#p3-section-1 {
  padding-top: 20px;
  margin-top: 35px;
  height: fit-content;
  padding-bottom: 0;
  position: relative;
  background-image: url(img/pics4.jpg);
  background-position: bottom 60% center;
  background-repeat: no-repeat;
  background-size: cover;
}

.p3-s1-list-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
}

.p3-s1-list-text p{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
  /* color: var(--grey); */
}

/* .p3-s1-list-number h3{
  color: var(--grey);
} */

/* #p3-s1-structure-list {
  border: 1px solid red;
} */

#p3-s1-ul {
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 0;
  margin-top: 50px;
  gap: 30px;
}

/* #p3-s1-ul>li:nth-child(5) {
  width: 100%;
  grid-column: 1/3;
  grid-row:3/4 ;
  border: 1px solid red;
}

#p3-s1-ul>li:nth-child(5) .p3-s1-under-list{
  width: 500px;
  margin: 0 auto;
} */

#p3-s1-pic {
  margin-left: 30px;
  margin-right: 50px;
  height: 400px;
  width: 400px;
  background-image: url(img/filles.png);
  background-size: cover;
}

/* .p3-s-infos {
  padding: 10px;
  border-top: 5px solid rgb(255, 255, 255);
} */

/* .p3-s-under-title {
  font-size: 1.3em;
  font-weight: 400;
  background-color: #000e33;
  font-family: var(--text);
  margin-bottom: 0;
  width: fit-content;
  padding: 5px;
  border-radius: 3px;
  margin: 0;
} */
/* .p3-s-title {
  color: #282828;
  font-size: 3.5em;
  font-family: var(--titre);
  margin: 8px 0;
} */

#p3-s1-title {
  margin-top: 10px;
  /* color: var(--grey); */
}

/* #p3-s1-text {
  color: var(--grey);
} */

.p3-s-text {
  color: #fff;
  font-size: 1em;
  font-family: var(--text);
}
.p3-s1-bg-pic {
  /* background-attachment: scroll; */
  margin-top: 0;
  position: relative;
  height: 70vh;
  background-image: url(./img/intérieur.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 50% bottom 30%;
  background-attachment: fixed;
}

/* Page 3 section CTA */
#p3-section-5 h2, #p3-section-5 p {
text-shadow: 1px 1px 2px rgb(0, 0, 0);
}

#p3-section-5 {
  position: relative;
}

#cta-ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 100px);
  margin: 15px 15px 30px 15px;
  gap: 30px 0px;
}

#cta-ul li:nth-child(3) {
  grid-column: 1/4;
  grid-row: 2/3;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

/* #cta-ul .structure-list{
  padding: 10px;
  border:1px solid #276ba8;
  border-radius: 100%;
} */

#cta-ul li:nth-child(4) {
  grid-column: 1/4;
  grid-row: 3/4;
  width: 100%;
}

#cta-ul li:nth-child(4) .p3-s1-under-list, #cta-ul li:nth-child(3) .p3-s1-under-list {
  width: 100%;
  margin: 0;
}

#cta-inverse-1 {
  display: inline-block;
  }

#cta-inverse-2{
   display: none;
  }

#cta-pic {
  margin-right: 100px;
  height: 550px;
  width: 550px;
  background-image: url(img/f-seniors.png);
  background-size: cover;
}

/* Page 3 Section 2 */
#p3-section-2 {
  height: 100vh;
  background-color: #0b0b0b;
  position: relative;
  
}

#p3-rayures {
  height: 60px;
  width: 100%;
  /* border: 2px dotted rgb(255, 0, 128); */
  position: absolute;
  top:0;
  z-index: 10;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 20px,
    rgb(255, 255, 255) 20px 40px
  );
  
}

#p3-rayures-2 {
  display: none;
  height: 60px;
  width: 100%;
  /* border: 2px dotted rgb(255, 0, 128); */
  position: absolute;
  bottom:0;
  z-index: 10;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 20px,
    var(--bleu) 20px 40px
  );
  
}

#p3-s2-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
   width: 100%;
  min-height: 100vh;
  /* opacity: .8; */
  /* backdrop-filter: blur(3px); */
}

#p3-s2-title {
  color: #ffffff;
  /* backdrop-filter: blur(5px); */
  filter:none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#affiche-stage-container {
  width: 60vw;
  margin: 20px auto;
  height: 600px;
  /* border: 1px solid yellow; */
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

#stage-container-1 h3 {
  padding-left: 10px;
}

#stage-container {
  width: 100vw;
  height: fit-content;

}

.affiche-stage {
  height: 100%;
  width: 400px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  margin: 20px auto;
  /* border: 2px solid rgb(255, 0, 136); */
  /* overflow: hidden; */
}

#affiche-stage-1 {
  background-image:url(img/stage\ juillet.png) ;
}

#affiche-stage-2 {
  background-image:url(./img/OPEN\ 26\ YTC.png) ;
  display: none;
}


a .affiche-stage {
  transition: .3s ease-in-out;
}

a .affiche-stage:not(.is-active):hover {
    transform: scale(1.05);
    cursor: zoom-in;
}

.affiche-stage::after {
    content: "Agrandir";
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    font-size: 1.2em;
    font-family: var(--titre);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    background-color: #000e3359;
} 

#p3-s2-title h3 {
  display: block;
  font-size: 2.5em;
  font-weight: 100;
  line-height: 1em;
  margin: 10px 0;
  color: #fff;
}

#p3-s2-title h4 {
  display: block;
  font-size: 1.5em;
  line-height: 1em;
  margin: 0;
  padding-bottom: 10px;
  color: #fff;
}

#p3-s2-title p {
  width: 55%;
  text-align: center;
  font-weight: 400;
}

#p3-section-3, #p3-section-4 {
  height: fit-content;
  padding-bottom: 30px;
  background-size: cover;
  border-bottom: 5px solid #fff;
  border-top: 5px solid #fff;
  position: relative;
}

#p3-section-3 {
  border-bottom: none;
}

#p3-s3-title, #p3-s3-text {
  color: #fff;
}

#p3-s3-text {
  display: block;
  width:60%;
  opacity: 1;
}

#p3-s3-h3 {
  padding-left: 10px;
}

#p3-s3-container-2, #p3-s4-container-2 {
  width: 90%;
  margin: 20px auto;
  height: fit-content;
  /* border: 1px solid yellow; */
  display: grid;
  justify-content: space-around;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: auto;
  padding-bottom: 50px;
}

#tournois-passe, #animations-passe {
  width: 90%;
  margin: 20px auto;
  height: fit-content;
  /* border: 1px solid yellow; */
  display: grid;
  justify-content: space-around;
  grid-template-columns: repeat(6, 150px);
  grid-template-rows: auto;
}

.affiche-tournois-passe, .affiche-animations-passe {
  height: 200px;
  width: 150px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  margin: 20px auto;
  /* overflow: hidden; */
}

.p3-s3-affiche-tournois, .affiche-animations {
  height: 400px;
  width: 300px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  margin: 20px auto;
  /* overflow: hidden; */
}

#affiche-tournois-1 {
  background-image: url(./img/tournois-ete.png);
}

#affiche-tournois-2 {
  background-image: url(./img/Tournois-hautot.png);
}

#affiche-tournois-3 {
  background-image: url(./img/Affiche\ Challenge\ mixte.jpg);
}


#tournois-passe-1 {
    background-image: url(./img/OPEN\ 26\ YTC.png);
}
#tournois-passe-2 {
    background-image: url(./img/Affiche\ Challenge\ mixte.jpg);
}
#tournois-passe-3 {
    background-image: url(./img/tournois-rouge.jpg);
}
#tournois-passe-4 {
    background-image: url(./img/OPEN\ 26\ YTC.png);
}
#tournois-passe-5 {
    background-image: url(./img/Affiche\ Challenge\ mixte.jpg);
}
#tournois-passe-6 {
    background-image: url(./img/tournois-rouge.jpg);
}

.p3-s3-affiche-tournois a, 
.affiche-tournois-passe div, 
.affiche-animations a, 
.affiche-animations-passe div {
    display: block;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.p3-s3-affiche-tournois:not(.is-active) .material-symbols-outlined, 
.affiche-tournois-passe:not(.is-active) .material-symbols-outlined,
.affiche-animations:not(.is-active) .material-symbols-outlined, 
.affiche-animations-passe:not(.is-active) .material-symbols-outlined{
  position: absolute;
  top: 48%;
  right: 39%;
  font-size: 4em;
  display: none;
  color: #ffffff;
  text-shadow: 1px 1px 2px black;
}

a .p3-s3-affiche-tournois, 
div .affiche-tournois-passe,
a .affiche-animations, 
div .affiche-animations-passe {
  transition: .3s ease-in-out;
}

a .p3-s3-affiche-tournois:not(.is-active):hover,
div .affiche-tournois-passe:not(.is-active):hover,
a .affiche-animations:not(.is-active):hover,
div .affiche-animations-passe:not(.is-active):hover {
    transform: scale(1.05);
    /* filter: grayscale(60%); */
    cursor: zoom-in;
} 

.p3-s3-affiche-tournois:hover .material-symbols-outlined, 
.affiche-tournois-passe:hover .material-symbols-outlined,
.affiche-animations:hover .material-symbols-outlined, 
.affiche-animations-passe:hover .material-symbols-outlined {
  display: none;
}

.p3-s3-affiche-tournois:not(.is-active)::after, 
.affiche-tournois-passe:not(.is-active)::after,
.affiche-animations:not(.is-active)::after, 
.affiche-animations-passe:not(.is-active)::after {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    font-size: 1.2em;
    font-family: var(--titre);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    background-color: #000e3359;
}

.p3-s3-affiche-tournois:hover::after, 
.affiche-tournois-passe:hover::after, 
.affiche-animations:hover::after, 
.affiche-animations-passe:hover::after {
    opacity: 1;
}

/* #affiche-animations-1 {
  background-image: url(./img/clinic.png);
}

#affiche-animations-2 {
  background-image: url(./img/Pick.jpg);
} */

/* #affiche-animations-3 {
  background-image: url(./img/Evenement-bar.jpg);
} */

/* #animations-passe-1 {
    background-image: url(./img/OPEN\ 26\ YTC.png);
}
#animations-passe-2 {
    background-image: url(./img/Affiche\ Challenge\ mixte.jpg);
}
#animations-passe-3 {
    background-image: url(./img/tournois-rouge.jpg);
}
#animations-passe-4 {
    background-image: url(./img/OPEN\ 26\ YTC.png);
}
#animations-passe-5 {
    background-image: url(./img/Affiche\ Challenge\ mixte.jpg);
}
#animations-passe-6 {
    background-image: url(./img/tournois-rouge.jpg);
} */


/*.p3-s3-text-tournois h3, .p3-s3-text-tournois h4, .p3-s3-text-tournois h5 {
  margin: 0;
  font-weight: 100;
}

.p3-s3-text-tournois h4 {
  margin: 10px 0;
}

.underline {
  text-decoration: underline;
  cursor: pointer;
}
/* Page 3 Section 4 */

#p2-section-4 {
  height: fit-content;
  padding-bottom: 30px;
  background-image: url(./img/pics4.png);
  background-size: cover;
  position: relative;
}

#p2-s4-title, #p2-s4-text {
  color: #fff;
}

#p2-s4-infos h2, #p2-s5-infos, #p3-s3-infos h2 {
  margin: 0;
  padding: 10px 0;
}

#splide-pedago {
 display: block;
  position: absolute;
  width: 75%;
  bottom: 0;
}

#splide-pics-pedago .splide__slide {
  padding-bottom: 40px;
  min-width: 200px;
}

#p2-d-container-1 {
  height: 360px;
  position: relative;
  /* border: 1px solid rgb(220, 0, 73); */
}

#pics-p-3-1 {
  background-image: url(./img/sam.webp.png);
}
#pics-p-3-2 {
  background-image: url(./img/tof.webp.png);
}
#pics-p-3-3 {
  background-image: url(./img/max.webp.png);
}
#pics-p-3-4 {
  background-image: url(./img/baptiste.webp.png);
}

/* Section 5 Page 2 */
#p2-section-5 {
  height: fit-content;
  padding-bottom: 30px;
  margin-bottom: 0;
  /* background-image: url(img/pics4.jpg); */
  background: linear-gradient(to left, #124f83, #012341);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
  /* border-bottom: 5px solid #fff; */
}

#p2-s3-text, 
#p2-s4-text, 
#p2-s5-infos, 
#p2-s6-infos,
#p2-s7-infos, 
#p3-s1-text,
#p3-s3-text, 
#p3-s3-text-2,
#p3-s4-text,
#p3-s4-text-2 {
  width: 60%;
}

#newsletter-container {
  width: 90%;
  margin: 5px auto;
  height: fit-content;
  /* border: 1px solid yellow; */
  display: grid;
  justify-content: space-around;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: auto;
}

.newsletter {
  height: 400px;
  width: 300px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 5px;
  margin: 10px auto
  /* overflow: hidden; */
}

#newsletter-1 {
  background-image: url(./img/Newsletter-janvier.png);
}

#newsletter-2 {
  background-image: url(./img/Newsletter-fevrier.png);
}

#newsletter-3 {
  background-image: url(./img/Newsletter-mars1.png);
}

#newsletter-4 {
  background-image: url(./img/Newsletter-avril.png);
}

#newsletter-5 {
  background-image: url(./img/Newsletter-Mai.png);
}

#newsletter-6 {
  background-image: url(./img/Newsletter-juin.png);
}

.newsletter a {
    display: block;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.newsletter:not(.is-active) .material-symbols-outlined {
  position: absolute;
  top: 48%;
  right: 42%;
  font-size: 4em;
  display: none;
  color: #ffffff;
  text-shadow: 1px 1px 2px black;
}

a .newsletter {
  transition: .3s ease-in-out;
}

a .newsletter:not(.is-active):hover {
    transform: scale(1.02);
    cursor: zoom-in;
}

.newsletter:hover .material-symbols-outlined {
  display: none;
}

.newsletter::after {
    content: "";
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    font-size: 1.2em;
    font-family: var(--titre);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
} 

.newsletter:hover::after {
    opacity: 1;
}

/* Section Labels */

#p2-section-7 {
  height: fit-content;
  padding-bottom: 30px;
  margin-top: 0;
  padding-top: 0;
  background: linear-gradient(to left, #124f83, #012341);  background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 5px solid #fff;
  position: relative;
}

.label-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
  height: fit-content;
  margin: 50px auto ;
}

.label-list {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: fit-content;
  gap: 25px 80px;
}

.label-pic {
  height: 187px;
  width: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: .3s ease-in-out;
}

.label-pic:hover {
  transform: scale(1.02);
}

/* #label-pic-1 {background-image: url(img/Label-6.jpg);}
#label-pic-2 {background-image: url(img/Label-3.jpg);}
#label-pic-3 {background-image: url(img/Label-1.jpg);}
#label-pic-4 {background-image: url(img/Label-2.jpg);}
#label-pic-5 {background-image: url(img/Label-8.jpg);}
#label-pic-6 {background-image: url(img/Label-9.jpg);}
#label-pic-7 {background-image: url(img/Label-5.jpg);}
#label-pic-8 {background-image: url(img/Label-7.jpg);}
#label-pic-9 {background-image: url(img/Label-13.jpg);}
#label-pic-10 {background-image: url(img/Label-11.jpg);}
#label-pic-11 {background-image: url(img/Label-12.jpg);}
 */

/* section 6 page 2 */

#p2-section-6 {
  height: fit-content;
  padding-bottom: 30px;
  background-image: url(./img/pics4.png);
  background-size: cover;
  position: relative;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
}
#lien-partenaire {
  color:#64beff;
  text-decoration: underline;
  font-weight: 700;
}

#partenaires-container {
  width: 90%;
  height: fit-content;
  margin: 50px auto;
  display: grid;
  justify-content: center;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(8, 105px);
  gap: 15px 15px;
}

.partenaire-card {
  height: 100%;
  width: 350px;
  border-radius: 10px;
  background-position: center center;
  background-size: contain;
  transition: .3s ease-in-out;
}

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

.partenaire-card-1 {
  background-image: url(img/p-head.jpg);
}
.partenaire-card-2 {
  background-image: url(img/p-Intersport.jpg);
}
.partenaire-card-3 {
  background-image: url(img/p-Or-du-temps.jpg);
}
.partenaire-card-4 {
  background-image: url(img/p-AXA.jpg);
}
.partenaire-card-5 {
  background-image: url(img/p-Hautot-et-fils.jpg);
}
.partenaire-card-6 {
  background-image: url(img/p-collecti-vert.jpg);
}
.partenaire-card-7 {
  background-image: url(img/p-Yvetot.jpg);
}
.partenaire-card-8 {
  background-image: url(img/p-ASN-Peugeot.jpg);
}
.partenaire-card-9 {
  background-image: url(img/p-Seder.jpg);
}
.partenaire-card-10 {
  background-image: url(img/p-Artisans.jpg);
}
.partenaire-card-11 {
  background-image: url(img/p-Atelier-Suzette.jpg);
}
.partenaire-card-12 {
  background-image: url(img/p-Big-mat.jpg);
}
.partenaire-card-13 {
  background-image: url(img/p-Cuisinella.jpg);
}
.partenaire-card-14 {
  background-image: url(img/p-Hangard-voyage.jpg);
}
.partenaire-card-15 {
  background-image: url(img/p-Jubile.jpg);
}
.partenaire-card-16 {
  background-image: url(img/p-Lebas.jpg);
}
.partenaire-card-17 {
  background-image: url(img/p-Multi-reseaux.jpg);
}
.partenaire-card-18 {
  background-image: url(img/p-Murrayfield.jpg);
}
.partenaire-card-19 {
  background-image: url(img/p-Oben.jpg);
}
.partenaire-card-20 {
  background-image: url(img/p-schmidt.jpg);
}
.partenaire-card-21 {
  background-image: url(img/p-Sogeris.jpg);
}
.partenaire-card-22 {
  background-image: url(img/p-tlm.jpg);
}


/* Page 4 */

#p4-s1-ancre,
#p4-s2-ancre,
#p4-s3-ancre {
  position: absolute;
  left: 0;
  background-color: #ff006a;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  opacity: 0;
    /* z-index: 100000; */
}
#p4-s1-ancre {
  top: -35px;
}
#p4-s2-ancre {
  bottom: 55px;
}
#p4-s3-ancre {
  bottom: 55px;
}


#p4-s {
  height: fit-content;
  width: 100%;
  border-bottom: 5px solid #fff;
  position: relative;
}

.p4-s1-bg-pic {
  /* background-attachment: scroll; */
  margin-top: 0;
  position: relative;
  height: 70vh;
  background-image: url(./img/terrain-yvetot.jpg);
  background-repeat: no-repeat;
  background-position: right 50% bottom 30%;
  background-attachment: fixed;
  background-size: cover;
}

#p4-s1-bandeau {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 5px 0 0 0;
  background-color: #00000061;
  backdrop-filter: blur(2px);
  font-size: 3em;
  font-family: var(--titre);
}

#p4-section-1 {
  background-image: url(./img/jardin.jpg);
  background-position: top 10% center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 20px;
  margin-top: 40px;
  padding-bottom: 30px;
  position: relative;

}

/* #p4-section-1 #p4-s1-infos h1, #p4-section-1 #p4-s1-infos h2, #p4-section-1 #p4-s1-infos p {
  color: var(--grey);
} */

#p4-section-1 h1 {
  font-size: 1.5em;
}

#p4-s1-title {
  margin-top: 10px;
}

.p4-s-text {
  width: 60%;
}

/* #p4-section-2 {
  background-image: url(./img/pics4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
} */

#adapte-container {
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 50px;
  /* border: 1px solid red; */
}

.adapte-card {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 80px;
  /* border: 2px dotted rgb(17, 0, 255); */
}

.adapte-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: auto;
  align-items: start;
  gap: 30px 110px;
  justify-content: space-around;
  padding-top: 50px;
  /* border: 1px solid red; */
}

#adapte-card-grid-1 {
  gap: 50px 80px;
}

#adapte-card-grid-1>div:nth-child(2) {
  grid-column: 2/4;
  grid-row: 1/2;
  width: 650px;
}

#adapte-card-grid-1>div:nth-child(3) {
  grid-column: 1/3;
  grid-row: 2/3;
  width: 650px;
}

#adapte-card-grid-2 .adapte-text-container {
  grid-column: 2/4;
  grid-row: 1/2;
  width: 650px;
  /* border: 2px solid rgb(255, 0, 136); */
}

#adapte-card-grid-3 .adapte-text-container  {
  grid-column: 2/4;
  grid-row: 2/3;
  width: 650px;
}

.adapte-pic {
  height: 300px;
  width: 300px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: .3s ease-in-out;
  position: relative;
}

.pst {
  color: #fff;
  font-family: var(--titre);
  font-size: 2em;
  position: absolute;
  bottom: 5px;
  left: 5px;
}

.adapte-pic:hover {
  transform: scale(1.02);
}

.adapte-text-container p {
  /* color: var(--grey); */
  font-family: var(--text);
  margin: 0;
  padding-bottom: 10px;
}

.adapte-text-container h3 {
  /* color: var(--grey); */
  margin-bottom: 10px;
}

.adapte-text-container {
  width: 50%;
  margin-top: 20px;
}

#adapte-pic-1 {
  background-image: url(./img/Equipe-adapte-fr.jpg);
  background-size: cover;
}

#adapte-pic-2 {
  background-image: url(./img/autisme.jpeg);
  background-size: cover;
  /* height: 500px;
  width: 500px; */
}

#p4-section-3 {
  border-top: 5px solid rgb(255, 255, 255);
  background-image: url(./img/terre-battue\ -\ Grande.jpeg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0 0 40px 0;
  height: fit-content;
  position: relative;

}

/* #p4-section-3 h2 {
  color: var(--grey);
} */

#p4-section-3 h3, #p4-section-3 p {
  color: #fff;
}

#para-pic-1 {
  background-image: url(./img/para-1.jpg)
}
/* #para-pic-2 {
  background-image: url(./img/para-2.jpg)
}
#para-pic-3 {
  background-image: url(./img/para-3.jpeg)
}
#para-pic-4 {
  background-image: url(./img/para-4.jpeg)
} */


/* #para-pic-5 {
  background-image: url(./img/PST-1.JPEG)
}
#para-pic-6 {
  background-image: url(./img/PST-2.JPEG)
}
#para-pic-7 {
  background-image: url(./img/PST-3.jpeg)
}
#para-pic-8 {
  background-image: url(./img/PST-4.jpg);
} */

#p4-section-4 {
  border-top: 5px solid rgb(255, 255, 255);
  background-image: url(./img/terrain-bleu.jpeg);
  background-position: bottom 30% center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0 0 40px 0;
  position: relative;

}

/* Sport santé */

#p5-s {
  height: fit-content;
  width: 100%;
  border-bottom: 5px solid #fff;
  position: relative;
}

#p5-section-1 {
  background-image: url(./img/jardin.jpg);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top 0 center;
  padding-top: 20px;
  margin-top: 40px;
  padding-bottom: 30px;
}

#p5-adapte-pic-2 {
  background-image: url(img/retraite.jpeg);
}

#p5-adapte-pic-3 {
  background-image: url(img/emergence.jpeg);
}

/* #p4-section-1 #p4-s1-infos h1, #p4-section-1 #p4-s1-infos h2, #p4-section-1 #p4-s1-infos p {
  color: var(--grey);
} */

#p5-section-1 h1 {
  font-size: 1.5em;
}

#p5-s1-title {
  margin-top: 10px;
}

.p5-s-text {
  width: 60%;
}

/* #p5-section-2 {
  background-image: url(./img/pics4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
} */

#p5-adapte-container {
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 50px;
  /* border: 1px solid red; */
}

.p5-adapte-card {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 80px;
  /* border: 2px dotted rgb(17, 0, 255); */
}

.p5-adapte-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  grid-template-rows: fit-content;
  align-items: start;
  gap: 30px 110px;
  justify-content: space-around;
  padding-top: 50px;
  /* border: 1px solid red; */
}

#p5-adapte-card-grid-1 {
  gap: 10px 80px;
}

#p5-adapte-card-grid-1>div:nth-child(2) {
  grid-column: 2/4;
  grid-row: 1/2;
  width: 650px;
}

#p5-adapte-card-grid-1>div:nth-child(3) {
  grid-column: 1/3;
  grid-row: 2/3;
  width: 650px;
}

#p5-adapte-card-grid-1>div:nth-child(6) {
  grid-column: 2/4;
  grid-row: 3/4;
  width: 650px;
}


.adapte-pic {
  height: 300px;
  width: 300px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: .3s ease-in-out;
}

#p5-section-1 #p5-adapte-pic-1 {
  background-image: url(img/sante-emma.jpeg);
}

.adapte-pic:hover {
  transform: scale(1.02);
}

.adapte-text-container p {
  /* color: var(--grey); */
  font-family: var(--text);
  margin: 0;
  padding-bottom: 10px;
}

.adapte-text-container h3 {
  /* color: var(--grey); */
  margin-bottom: 10px;
}

.adapte-text-container {
  width: 50%;
  margin-top: 20px;
}

/* Footer */

/* Popup avis - effets hover */
#popup-avis a {
    transition: transform 0.2s ease;
    display: block;
}

#popup-avis a:hover {
    transform: scale(1.03);
}

#popup-avis .btn-plus-tard:hover {
    text-decoration: underline;
}

footer {
  height: fit-content;
  width: 100%;
  margin: 0;
  background-color: var(--grey);
}
#footer-carousel-title {
position: absolute;
top: -35px;
left: 5px;
color: rgb(255, 255, 255);
font-size: 1.8em;
}
#footer-carousel {
  display: flex;
  align-items: center;
  width: 100%;
  height: 65px;
  background-color: #fff;
  /* border: 1px dotted rgb(255, 0, 174); */
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}
.carousel-groupe {
  display: flex;
  justify-content: flex-start;
  height: 70px;
  animation: defilement 30s infinite linear;
}
.logo-carousel {
  width: 200px;
  padding-right: 50px;
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
}

#footer-carousel::before,
#footer-carousel::after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 3;
}
#footer-carousel::before {
  left: 0;
  background: linear-gradient(to left, #ffffff00, #ffffff);
}
#footer-carousel::after {
  right: 0;
  background: linear-gradient(to right, #ffffff00, #ffffff);
}
@keyframes defilement {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.footer-container {
  width: 90%;
  height: fit-content;
  /* border: 1px solid rgb(252, 48, 82); */
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: center;
}
.footer-case {
  min-height: 200px;
  height: fit-content;
  display: flex;
}
#footer-case-1 {
width: fit-content;
}
#footer-case-2 {
justify-content: center;
align-items: start;
flex-direction: column;
padding-left: 10px;
width: fit-content;
min-width: 300px;
}
#footer-case-3 {
  width: fit-content;
  align-items: start;
  margin-left: 20px;
}
#footer-logo {
  background-image: url(./img/logo-ytc-black.png);
  background-size: contain;
  background-repeat: no-repeat;
  height: 200px;
  width: 200px;
  margin: 0;
  padding: 0;
  position: relative;
  /* border: 1px solid yellow; */
}
#footer-logo-text {
  position: absolute;
  font-family: var(--titre);
  font-size: 1.4em;
  bottom: 0;
  left: 30px;
  color: #0b0b0b;
  text-shadow: 1px 1px 2px #ffffff40 ;
}
.footer-title {
  padding-bottom: 10px;
}
#footer-adresse, #footer-mini-text {
  font-family: var(--text);
  font-size: .9em;
}
#footer-mini-text {
  padding: 20px 0 5px 0;

}
.footer-contact {
  font-family: var(--titre);
  font-size: 1.5em;
  height: 75px;
  /* border: 1px solid pink; */
  display: flex;
  flex-direction: column;
}
#footer-contact-1 {
  line-height: 1em;
}
#footer-contact-2 {
  line-height: 1em;
}
.footer-contact a {
  opacity: .6;
  text-decoration: underline;
  font-size: .7em;
  transition: .4s ease-in-out;
}
.footer-contact a:hover {
  opacity: 1;
  font-size: .75em;
}

.footer-social-logo {
  /* border:1px solid #ff006a; */
  background-size: contain;
  filter: grayscale(1);
  transition: .4s ease-in-out;
}
#footer-social-container {
  display: flex;
  gap: 10px;
}
.footer-social-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0);
}
#footer-link-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  /* border: 1px solid rgb(255, 140, 0); */
}
#social-1 {
  background-image: url(./img/logo-insta.webp);
  height: 50px;
  width: 50px;
  background-size:78px;
  background-position: center;

}
#social-2 {
  background-image: url(./img/logo-facebook.png);
  height: 50px;
  width: 50px;
}
.footer-menu {
  /* border: 1px solid #0037ff; */
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-top: 15px;
}
.footer-ulist {
  display: flex;
  justify-content:start;
  gap: 10px;
  list-style: none;
  /* border: 1px solid #ff0055; */
  width: 90%;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: fit-content;
  height: fit-content;
}
.footer-dropdown {
  height: fit-content;
  width: fit-content;
  display: grid;
  align-items: center;
  justify-content: start;
  grid-template-columns: repeat(1, 150px);
  grid-template-rows:auto; 
  gap: 5px;
  list-style: none;
  /* border: 1px solid #fbff00; */
  font-family: var(--text);
  padding-top: 10px;
}

.footer-d-list {
  opacity: .7;
  padding: 5px 0;
  border-left: 5px solid #6f6f6f;
  transition: 0.5s ease-in-out;padding-left: 5px;
}

.footer-d-list:hover {
  opacity: 1;
  border-left: 2px solid #fff;
}

.footer-d-list a, .footer-menu-title {
  text-decoration: none;
  transition: 0.5s ease-in-out;
}
.footer-d-list:hover a, .footer-menu-title:hover {
  text-decoration: underline;
}

.footer-menu-title {
  font-family: var(--titre);
  font-size: 1.5em;
  padding-left: 8px;
  /* margin: 0 auto; */
}

/* Formulaire */

#part-1-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-lien-contact {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--titre);
  font-size: 1.3em;
  padding: 5px;
  margin-top: 5px;
  transition: .3s ease-in-out;
}

.form-lien-contact:hover {
  transform: scale(1.02);
  opacity: .8;
}

.form-lien-contact span:nth-child(2):hover {
  text-decoration: underline;
}

.form-lien-contact .material-symbols-outlined {
  font-size: 1em;
}

#iframe-1 {
  border-radius: 10px ;
  height: 310px;
}

#iframe-2 {
  border-radius: 10px;
  display: none;
  width: 350px;
  height: 250px;
}

.form {
  /* border: 2px solid yellow; */
  width: 700px;
}

#form-container {
  display: flex;
  flex-wrap: wrap;
  align-items:start;
  justify-content: space-around;
  width: 100%;
  /* border: 2px solid rgb(255, 0, 166); */
}

#form-container h2 {
  font-size: 1.1em;
}

.form-section-1 {
  margin-top: 40px;
  padding-top: 10px;
  background-image: url(./img/pics4.jpg);
  background-size: cover;
  height: fit-content;
  width: 100%;
  padding-bottom: 20px;
  /* border: 3px groove red; */
}

.form-section-1 h1 {
  padding-top: 20px;
  margin-bottom: 0;
  font-size: 1.3em;
}

.form-section-1 h1 a {
  text-align: center;
  font-size: 2em;
}

.form-section-1 h1, .form-section-1 h2 {
  text-align: center;
}

/* Pas sur */

.p2-contact-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 20px auto;
    color: var(--grey);
    /* border: 1px solid red; */
}

.form-row {
   display: flex;
   justify-content: center;
    gap:15px;
    /* border: 1px solid rgb(0, 255, 21); */
    width: 400px;
}
#form-nom, #form-prenom {
  width: 120px;
}
#form-mail-1, #form-mail-2 {
  width: 270px;
}
#form-mail-2 {
  display: none;
}

#form-objet {
    width: 100%; /* Pour qu'il prenne toute la largeur comme tes anciens inputs */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    font-family: var(--text);
    color: var(--grey);
    cursor: pointer;
    /* Pour enlever l'apparence par défaut sur certains navigateurs */
    appearance: none; 
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="grey" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

/* Optionnel : changer la couleur quand une option est sélectionnée */
#form-objet:focus {
    outline: none;
    border-color: var(--bleu);
}

.p2-contact-form input,
.p2-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(221, 221, 221, 0.84)fff;
    border-radius: 8px;
    font-family: var(--text);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    /* border: 1px solid rgb(255, 0, 212); */
}

.p2-contact-form input:focus,
.p2-contact-form textarea:focus {
    border-color: var(--bleu);
    outline: none;
}

.p2-contact-form textarea {
    height: 150px;
    resize: vertical;
    /* border: 1px solid rgb(255, 115, 0); */
}

.p2-btn-submit {
  background-color: var(--bleu);
  color: white;
  padding: 12px 25px;
  border: 1px solid #ffffff80;
  border-radius: 8px;
  font-family: var(--titre);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position:relative ;
  padding-right: 50px;
  transition: 0.3s ease-in-out;
}
.p2-btn-submit span {
  font-size: 1.5em;
  position: absolute;
  top:9px;
  right: 15px;
}

.p2-btn-submit:hover {
  transform: scale(1.02);
  background-color: #1d5a8d;
}

/* Styles des alertes */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--text);
}

.alert.success { background-color: #d4edda; color: #176b2b; border: 1px solid #c3e6cb; }

.alert.error { background-color: #f8d7da; color: #9c101edc; border: 1px solid #f5c6cb; }



.splide__arrows button {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 30%;
    background-color: transparent;
    color: #00012b;
    font-size: 1.4em;
    margin: 0 -50px;
  }
  #splide-dirigeant .splide__arrows button:hover {
    background-color: rgba(221, 221, 221, 0.368);
    transition: 0.3s ease;
  }
  .splide__arrows button:active {
    background-color: transparent;
    transition: 0.3s ease;
  }
  .splide__arrows button span {
    font-size: 1.4em;
    padding: 0 auto;
  }


  /* Agrandir les photos avec Javascript */

  .p3-s3-affiche-tournois.is-active,
  .affiche-tournois-passe.is-active,
  .affiche-animations.is-active,
  .affiche-animations-passe.is-active,
  .newsletter.is-active,
  .affiche-stage.is-active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw; 
    height: 90vh; 
    z-index: 9999;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0,0,0,0.9);
    border-radius: 10px;
    cursor: zoom-out;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    /* On s'assure qu'il n'y a pas de mouvement parasite de base */
}

.overlay-dark {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9998;
    backdrop-filter: blur(8px);
}

.overlay-dark.is-active {
    display: block;
}

@media screen and (max-width: 1450px){
  #p3-s1-structure-list{
    flex-direction: column;
  }
}

@media screen and (max-width: 1380px){
  #nav-space {
    width: 95%;
  }
  .newsletter {
  height: 400px;
  width: 300px;
  gap:0;
  }
  .newsletter .material-symbols-outlined {
  right: 39%;
  }
}

@media screen and (max-width: 1300px) {
  /* #p2-section-1 {
    height: 145vh;
  } */

  /* .p2-s {
    display: block;
    height: fit-content;
  } */
   #form-container {
    flex-direction: column;
    flex-wrap:wrap-reverse ;
    align-items: center;
   }
    #footer-case-3 {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  
  .nav-logo {
    padding-left: 20px;
  }
  /* #p2-section-1 {
    height: 170vh;
  } */


  .p2-s1-bg-pic {
    height: 20vh;
  }

  #p2-s1-container {
    flex-direction: column;
    height: fit-content;
    width: 90%;
    margin: 0 auto;
  }
  #p2-s1-infos span h2>span:nth-child(2){
  margin-left: 10px;
  }
  #p2-s1-container-2{
    padding-top: 0;
  }
  #p2-s1-container-2, #p2-s1-container-1 {
    width: 100%;
    margin: 0 auto;
  }
  /* #p2-s1-structure-list, #cta-list {
    justify-content: start;
  } */
  .p2-s-text {
  margin-right: 0;
  }
  #reservations{
    width: 80%;
  }
 
  #p3-s3-text {
    width: 90%;
  }
  .p3-s1-bg-pic {
    background-image: url(img/intérieur\ copie.jpeg);
    background-position: center center;
    background-size: cover;
  }
  #cta-list{
    flex-direction: column;
  }
  #cta-list{
    flex-direction: column-reverse;
  }

  #cta-pic {
    margin: 0;
  }

  #p2-s3-text, 
  #p2-s4-text, 
  #p2-s5-infos, 
  #p2-s6-infos,
  #p2-s7-infos, 
  #p3-s1-text,
  #p3-s3-text, 
  #p3-s3-text-2,
  #p3-s4-text,
  #p3-s4-text-2 {
  width: 95%;
}
}

/* @media screen and (max-width: 1150px) {
  #p3-s1-pic, #cta-pic {
    display: none;
  }
} */

@media screen and (max-width: 1100px) {
  #p2-s2-tarifs-container {
    flex-direction: column;
  }
  #p2-s2-mid-cont-1, #p2-s2-mid-cont-2 {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px 0 100px;
  }
  #partenaires-container {
  grid-template-rows: repeat(10, 52.5px);

  }
  .partenaire-card {
  height: 100%;
  width: 175px;
  border-radius: 10px;
  background-position: center center;
  background-size: contain;
  transition: .3s ease-in-out;
  }
  .label-list {
  grid-template-columns: repeat(2, 300px);
  }
  .p5-adapte-card-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, fit-content);
    justify-content: center;
    align-items: center;
  }
  #p5-adapte-card-grid-1>div:nth-child(1){
    grid-row: 1/2;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #p5-adapte-card-grid-1>div:nth-child(2){
    grid-row: 2/3;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }
  #p5-adapte-card-grid-1>div:nth-child(3){
    grid-row: 4/5;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }
  #p5-adapte-card-grid-1>div:nth-child(4){
    grid-row: 3/4;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #p5-adapte-card-grid-1>div:nth-child(5){
    grid-row: 5/6;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #p5-adapte-card-grid-1>div:nth-child(6){
    grid-row: 6/7;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }

  /* Tennis Adapté */

  #adapte-card-grid-1 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, fit-content);
    justify-content: center;
    align-items: center;
  }
  #adapte-card-grid-1>div:nth-child(1){
    grid-row: 1/2;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #adapte-card-grid-1>div:nth-child(2){
    grid-row: 2/3;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }
  #adapte-card-grid-1>div:nth-child(3){
    grid-row: 4/5;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }
  #adapte-card-grid-1>div:nth-child(4){
    grid-row: 3/4;
    grid-column: 1/2;
    margin: 0 auto;
  }

  /* Para-tennis */

  #adapte-card-grid-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, fit-content);
    justify-content: center;
    align-items: center;
  }
  #adapte-card-grid-2>div:nth-child(1){
    grid-row: 1/2;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #adapte-card-grid-2>div:nth-child(2){
    grid-row: 2/3;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }

  /* Para-standing */

  #adapte-card-grid-3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, fit-content);
    justify-content: center;
    align-items: center;
  }
  #adapte-card-grid-3>div:nth-child(1){
    grid-row: 1/2;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #adapte-card-grid-3>div:nth-child(2){
    grid-row: 3/4;
    grid-column: 1/2;
    width: 300px;
    padding-bottom: 30px;
  }
  #adapte-card-grid-3>div:nth-child(3){
    grid-row: 2/3;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #adapte-card-grid-3>div:nth-child(4){
    grid-row: 4/5;
    grid-column: 1/2;
    margin: 0 auto;
  }
  #adapte-card-grid-3>div:nth-child(5){
    grid-row: 5/6;
    grid-column: 1/2;
    margin: 0 auto;
  }
}


@media screen and (max-width: 1055px) {
  .nav-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(34, 33, 33, 0.5);
    backdrop-filter: blur(12px);
    width: 100%;
    height: 100%;
    min-height: -webkit-fill-available; /* ← fix Safari iOS */
    font-size: 2em;
    margin-left: -100%;
    transition: all 0.5s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .nav-ulist {
    margin-top: 0px;
    margin-bottom: 40px;
    padding-top: 10px;
  }

  .nav-d-list:hover,
  .nav-list:hover {
  transform: none;
  background-color: transparent;
  box-shadow: none;
  }

  .nav-list:hover {
    transform: none;
    transition: 0.3s ease-in-out;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-menu {
    margin-left: 0;
  }

  .nav-bar {
    border-bottom: none;
    z-index: 1000;
  }

  .nav-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: white;
  z-index: 1;
  pointer-events: none;
  }

  /* .nav-bar .nav-menu ul li {
    margin: 15px 0;
  } */
  .nav-bar ul {
    /* display: none; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
  }

  #menu-hamburger {
    display: inline-block;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    z-index: 1001;
  }

  #menu-hamburger.activer{
    transform: rotate(180deg);
  }

  .s1-pave {
    margin: auto 15px;
  }

  /* MODIFIER */

  .nav-menu.mobile-menu .nav-dropdown {
    display: grid;
    justify-content: start;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .nav-bar #nav-dropdown-1, .nav-bar #nav-dropdown-2, .nav-bar #nav-dropdown-3, .nav-bar #nav-dropdown-4 {
    left: 0;
  }

  .nav-menu.mobile-menu {
    z-index: 999;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .nav-bar .nav-dropdown {
    /* border: 5px groove rgb(34, 0, 255); */
    position: relative;
    top: inherit;
    font-size: .6em;
    padding: 0;
    margin-top: 10px;
    width: 90vw;
    box-shadow: none;
    background-color: transparent;
    backdrop-filter: none;
    gap: 0;
    z-index: 999;
    border: none;
  }

  .nav-bar .nav-dropdown .nav-d-list {
    display: flex;
    margin: 5px;
    /* border: 1px solid rgb(255, 0, 187); */
    width: 100%;
    align-items: center;
    justify-content: start;
    border-left: 5px solid #ffffff;
    border-radius: 0;
    z-index: 999;
  }

  .nav-d-list a {
    text-align: start;
  }

  /* .p3-s3-affiche-tournois {
    height: 200px;
    width: 150px;
  } */

  #newsletter-container {
    grid-template-columns: repeat(2, 300px);
  }

  #p3-s3-container-2, #p3-s4-container-2  {
    grid-template-columns: repeat(2, 300px);
  }

  #tournois-passe, #animations-passe {
    grid-template-columns: repeat(3, 150px);
  }

.p3-s3-tournois {
    width: 100%;
  }
  #p3-s3-tournois-2 {
    flex-direction: row-reverse;
  }
  
  .p3-s3-affiche-tournois:hover .material-symbols-outlined {
    display: none;
    opacity: 0;
  }

  .p3-s3-affiche-tournois::after {
    display: none;
    opacity: 0;
  }

  .p3-s3-affiche-tournois:hover::after {
    opacity: 0;
  }

  #newsletter-container {
    flex-direction: column;
    gap: 40px;
  }
  .newsletter {
  height: 400px;
  width: 300px;
  }

  #p3-s1-ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #p3-s1-pic, #cta-pic {
    margin: 0;
  }
}

@media screen and (max-width: 900px) {
  .p1-section-1 h1 {
    display: none;
  }

  .p1-section-1 {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .s1-container {
    display: none;
  }

  #p1-social-container {
    display: none;
  }

  section #splide-pave {
    display: block;
    margin: 0 auto;
  }
  /* #splide-pave .splide__arrows button {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 35%;
    background-color: transparent;
    color: #00012b;
    font-size: 1.4em;
    margin: 0 -20px;
  }
  .splide__arrows button:hover {
    background-color: rgba(221, 221, 221, 0.368);
    transition: 0.3s ease;
  }
  .splide__arrows button:active {
    background-color: transparent;
    transition: 0.3s ease;
  }
  .splide__arrows button span {
    font-size: 1.4em;
    padding: 0 auto;
  } */

  .s1-pave {
    height: 600px;
    /* border: solid rgb(21, 78, 0) 2px; */
    margin: 0 auto;
    border-radius: 10px;
  }
  .s1-text {
    display: flex;
    flex-direction: column;
    /* border: 1px solid rgb(238, 255, 0); */
    width: 95%;
    height: 100px;
    position: absolute;
    bottom: 120px;
    left: 0;
  }
  #s1-frame {
    height: 65%;
  }
  .s1-little {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
  }
  .s1-span-date,
  .s1-span-under-title {
    display: flex;

  }
   /* #p2-section-1 {
    height: 170vh;
  } */
  #p2-s2-text-table span {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-social-logo {
    filter: grayscale(0);
  }

}

@media screen and (max-width: 800px) {
  #p3-s3-text-affiche-tournois-2 {
    padding: 0;
  }
  .label-list {
      grid-template-columns: repeat(2, 200px);

  }
  .label-pic {
    height: 125px;
    width: 200px;
  }
  #partenaires-container {
  grid-template-columns:1fr 1fr;
  grid-template-rows: repeat(10, 52.5px);
  }
  #structure-slider .splide__slide img {
    height: 400px;
  }
  #reservations {
    flex-direction: column;
    justify-content: left;
  }
  #reservations-container {
    flex-direction: column;
    justify-content: left;
    width: 87%;
  }
}

@media (max-width: 768px) {
    #form-mail-1 {
        width: 100%;
        display: block;
    }
}

@media screen and (max-width: 700px) {

  .structure-splide-text>span:nth-child(1){
  font-size: 5em;
  }

.structure-splide-text>span:nth-child(2){
  font-size: 2em;
  }

  #s1-frame {
    height: 60%;
  }
   /* #p2-section-1 {
    height: 210vh;
  } */
  #p2-s1-ul, #p3-s1-ul {
    grid-template-columns: 1fr;
  }
  #p2-s1-structure-list {
    justify-content: center;
  }
  #form-container h2{
    text-align: left;
  }
  #part-2-form h2{
    padding-left: 20px;
  }

  #subventions {
    gap: 40px 0;
    padding: 30px 0;
  }

  .p2-contact-form {
  max-width: 400px;
  }
  #form-nom, #form-prenom {
  width: 110px;
  }
  #form-mail-1 {
    display: none;
  }
  #form-mail-2, #form-text {
  display: block;
  width: 300px;
  }

  #form-objet {
    width: 330px;
  }

  .form {
    width: fit-content;
  }
  #iframe-1 {
    display: none;
  }
  #iframe-2 {
    display: block;
  }
  #affiche-stage-container {
    width: 100vw;
    justify-content: space-around;
  }
  .affiche-stage {
    height: 200px;
    width: 150px;
  }
  #p3-s3-container-2, #p3-s4-container-2, #newsletter-container {
    grid-template-columns: repeat(2, 170px);
    justify-content: center;
  }
  .p3-s3-affiche-tournois, .affiche-animations, .newsletter {
    height: 210px;
    width: 170px;
  }

}
@media screen and (max-width: 600px) {

  h1>span:nth-child(1){
  font-size: .6em;
  }
  h1>span:nth-child(2){
  font-size: 2.6em;
  }
  h2>span:nth-child(1){
  font-size: .6em;
  }
  h2>span:nth-child(2){
  font-size: 2.3em;
  }

  h3 {
  font-size: 2em;
  }

  h4 {
  font-size: 1.4em;
  }

  h5 {
  font-size: 1em;
  }
  #cta-ul {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  justify-content: center;
  justify-items:center ;
  }

  #cta-ul li:nth-child(3) {
        grid-column: 1/2; 
        grid-row: 3/4;
    }
    #cta-ul li:nth-child(4) {
       grid-column: 1/2;
        grid-row: 4/5; 
    }

    #cta-inverse-1 {
      display: none;
    }

    #cta-inverse-2{
        display: inline-block;
    }

  #footer-case-1 {
    display: none;
  }
   /* #p2-section-1 {
    height: 230vh;
  } */
  #p2-s2-mid-cont-1, #p2-s2-mid-cont-2 {
    width: 80%;
    margin: 0 auto;
    padding: 0 0 0 30px;
  }

  #footer-carousel::before,
  #footer-carousel::after {
  display: none;
}
}

@media screen and (max-width: 500px) {

  #popup-avis > div {
        max-width: 300px;
        padding: 1.5rem 1rem;
    }

  .p3-s3-text-affiche-tournois {
    display: none;
  }
  /* #p3-s3-tournois-1, #p3-s3-tournois-2 {
    display: flex;
    justify-content: center;
  } */
  .label-list {
    grid-template-columns: repeat(2, 150px);
    gap:10px;
  }
  .label-pic {
  height: 94px;
  width: 150px;
  }
  #structure-slider .splide__slide img {
    height: 200px;
  }
  #tournois-passe, #animations-passe {
    grid-template-columns: repeat(3, 130px);
    align-items: center;
    margin: 0;
  }
  .affiche-tournois-passe, .affiche-animations-passe {
    height: 160px;
    width: 160px;
  }
}