body {
  background-color: var(--background-white);
  font-family: var(--Montserrat);
  color: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.container {
  width: 1920px;
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

header {
  display: flex;
  position: fixed;
  justify-content: space-between;
  align-items: center;
  top: 4%;
  width: 1400px; /* 73vw */
  height: 60px;
  z-index: 100;
  gap: 25px;
}

header #inside-logo {
  display: none;
}

nav {
  background-color: var(--background-white);
  border-radius: 100px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1300px;
  height: 60px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
  margin-left: 20px;
}

nav ul li a {
  transition: all 0.3s ease;
  padding: 7px 15px;
  border-radius: 100px;
}

nav ul li a:hover {
  background-color: rgb(231, 231, 231);
  transition: all 0.3s ease;
}

nav #contact-nav {
  font-size: inherit;
  background-color: var(--noir);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100px;
  box-shadow: inset 5px 6px 30px rgba(255, 255, 255, 0.25);
  margin-right: 20px;
  letter-spacing: 0.03em;
  font-family: var(--Montserrat);
}

/* ================= Bouton Contact Header - Shine Hover ================= */
#contact-nav {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease; /* scale, translate et box-shadow */
  cursor: pointer;
  letter-spacing: 0.03em;
  background-color: var(--noir);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 30px;
  border: none;
  border-radius: 200px; /* très arrondi */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--Montserrat);
}

/* Gradient lumineux */
#contact-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

/* Hover Effects */
#contact-nav:hover {
  transform: translateY(-3px) scale(1.05); /* légère montée et agrandissement */
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.3),
    /* bordure interne top claire */ inset 0 -4px 0 rgba(0, 0, 0, 0.5); /* bordure interne bottom foncée */
  background-color: #e9df29 !important;
  color: #2d2d2d !important;
  transition: all 0.3s ease;
}

/* Animation du gradient au hover */
#contact-nav:hover::before {
  animation: shine 0.5s forwards; /* plus rapide */
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

#mobile-nav {
  display: none;
}

/* ================= Landing / Hero */

#landing-images {
  position: absolute;
  top: 130px;
  margin-left: -80px;
  z-index: 2;
}

#box-img-mobile {
  display: none;
}

#landing-images-mobile {
  display: none;
}

#landing-bot {
  display: none;
}

.landing {
  position: relative;
  top: 2vh;
  border: 1px solid rgba(0, 0, 0, 0.2);
  height: 1000px;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background-image: url("../assets/svg/hero_gradient.svg");
  background-repeat: no-repeat;
  background-size: 100% 80%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.hero a#lien-swiss {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
  padding: 8px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 3;
  transition: all 0.3s ease;
}

.hero a#lien-swiss:hover {
  background-color: rgba(255, 255, 255);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.hero #link-arrow {
  height: 15px;
}

.hero h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 80%;
  text-align: center;
  letter-spacing: var(--title-letterspace);
}

.hero #tennis {
  font: var(--EB-title);
  font-size: 140px;
  font-style: italic;

  background: linear-gradient(165deg, #2d2d2d 50%, #9f623d 55%, #2d2d2d 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero #points {
  font: var(--Mont-subtitle);
  font-weight: 500;
  margin-left: -10px;
}

.hero #lucens {
  font: var(--Mont-title);
  font-size: 120px;
  font-weight: 800;
}

.hero h4 {
  font: var(--Mont-subtitle);
  font-weight: 400;
  margin: 20px 0;
  font-size: 33px;
}

.hero #hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  cursor: pointer;
}

.hero #hero-buttons #reserver,
.hero #hero-buttons #inscrire {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: none;
  font-size: 25px;
  font-weight: 500;
  height: 80px;
  width: 440px;
  letter-spacing: 0.01em;
  font-family: var(--Montserrat);
  transition: all 0.3s ease;
}

.hero #hero-buttons #reserver {
  background-color: var(--jaune);
  color: rgba(0, 0, 0, 0.85);
  font-weight: 600;
}

.hero #hero-buttons #inscrire {
  background-color: var(--noir);
  color: rgba(255, 255, 255, 0.85);
}

/* ================= Boutons Landing Hero - Shine Hover ================= */
.hero #hero-buttons #reserver,
.hero #hero-buttons #inscrire {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease; /* scale, translate et box-shadow */
  cursor: pointer;
  border-radius: 200px; /* très arrondi */
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0),
    /* top clear initial */ inset 0 -4px 0 rgba(0, 0, 0, 0),
    /* bottom dark initial */ inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
}

/* Gradient lumineux */
.hero #hero-buttons #reserver::before,
.hero #hero-buttons #inscrire::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

/* Hover Effects */
.hero #hero-buttons #reserver:hover,
.hero #hero-buttons #inscrire:hover {
  transform: translateY(-3px) scale(1.05); /* léger mouvement et agrandissement */
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.3),
    /* bordure interne top claire */ inset 0 -4px 0 rgba(0, 0, 0, 0.5),
    /* bordure interne bottom foncée */ inset 5px 6px 30px
      rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* Animation du gradient au hover */
.hero #hero-buttons #reserver:hover::before,
.hero #hero-buttons #inscrire:hover::before {
  animation: shine 0.5s forwards; /* plus rapide */
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ================= Section 1 */

.section1 {
  margin-top: 200px;
}

h2 {
  text-align: center;
  font-size: 60px;
  line-height: 115%;
  font-weight: 700;
  letter-spacing: var(--title-letterspace);
}

.titre1 {
  font: var(--EB-title);
  font-size: 96px;
  font-style: italic;
  background: linear-gradient(165deg, #2d2d2d 50%, #9f623d 55%, #2d2d2d 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.titre2 {
  font: var(--Mont-title);
  font-size: 80px;
  font-weight: 900;
  font-style: italic;
}

h4 {
  font-size: 30px;
  font-weight: 400;
  margin-top: 20px;
  text-align: center;
}

.section1 #span2 {
  display: none;
}

.section1 #cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  width: 100%;
  margin-top: 80px;
}

.section1 #cards .spacer-card {
  display: none;
}

.section1 #cards .card {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 675px;
  width: 570px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section1 #cards .card:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.section1 #cards .card:hover .text_card svg {
  transform: rotate(-45deg);
  transition: all 0.3s ease;
}

.section1 #cards .card h3::selection {
  background-color: rgba(200, 103, 42, 0.75);
  color: white;
}

.section1 #cards #card1 {
  background-image: url(../assets/img/Image1.png);
}

.section1 #cards #card2 {
  background-image: url(../assets/img/Image2.png);
}

.section1 #cards #card3 {
  background-image: url(../assets/img/image3.png);
}

.section1 #cards .text_card {
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin-bottom: 5%;
  font-size: 50px;
  color: white;
  text-shadow: 0 0 13px rgba(0, 0, 0, 0.5);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section1 #cards .text_card svg {
  height: 30px;
  background-color: white;
  color: var(--noir);
  border-radius: 50%;
  padding: 10px;
  height: 60px;
  transition: all 0.3s ease;
}

/* ================= Glare + Tilt sur les cards ================= */
.section1 #cards .card {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  will-change: transform, box-shadow;
}

/* Halo lumineux (glare), invisible par défaut */
.section1 #cards .card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: translate(var(--x, 0), var(--y, 0));
  transition: transform 0.05s linear, opacity 0.3s ease;
  pointer-events: none;
  opacity: 0; /* pas visible au repos */
}

/* Visible seulement au hover */
.section1 #cards .card:hover::after {
  opacity: 1;
}

/* =============== Section 2 */

.section2 {
  margin-top: 200px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(200, 103, 42, 0.15);
  height: 40px;
  width: 275px;
  border-radius: 50px;
  font-size: 23px;
  font-weight: 500;
}

.section2 #sec2-img1 {
  margin-top: -200px;
  z-index: -1;
}

.section2 #sec2-img2 {
  display: none;
}

/* =============== Section 4 */

.section4 {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 87.5%;
}

.section4 #prices {
  margin-top: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.section4 #gradient-price {
  position: absolute;
  z-index: -1;
  margin-top: -200px;
}

.section4 #gradient-price-mobile {
  display: none;
}

.section4 #prices .price {
  background-color: #f0f3f0;
  box-shadow: 0 50px 90px 25px rgba(0, 0, 0, 0.2);
  height: 810px;
  width: 540px;
  /* flex: 1; */
  border-radius: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section4 #prices .price .top-price {
  background-color: #f0f3f0;
  width: 100%;
  height: 508px;
  box-shadow: 10px 20px 110px 100px rgba(0, 0, 0, 0.1);
  border-radius: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 25px;
}

.section4 #prices .price .top-price .in-top-price {
  width: 100%;
  height: 250px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
}

.section4 #prices .price1 .top-price .in-top-price {
  background-image: url(../assets/img/gray-price-box.png);
}
.section4 #prices .price2 .top-price .in-top-price {
  background-image: url(../assets/img/orange-price-box.png);
}
.section4 #prices .price3 .top-price .in-top-price {
  background-image: url(../assets/img/yellow-price-box.png);
}

.section4 #prices .price2 {
  z-index: 3;
}

.section4 #prices .price1 .top-price .in-top-price p::selection,
.section4 #prices .price1 .top-price .in-top-price h3::selection {
  background-color: #84848456;
}

.section4 #prices .price2 .top-price .in-top-price p::selection,
.section4 #prices .price2 .top-price .in-top-price h3::selection {
  background-color: #9f633d56;
}

.section4 #prices .price .top-price .in-top-price p {
  background-color: rgba(255, 255, 255, 0.4);
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section4 #prices .price .top-price .in-top-price h3 {
  font-size: 45px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-left: 2%;
}

.section4 #prices .price .top-price button {
  box-shadow: inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: none;
  font-size: 25px;
  font-weight: 500;
  height: 80px;
  width: 100%;
  letter-spacing: 0.01em;
  background-color: var(--noir);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--Montserrat);
}

.section4 #prices .price .sous-texte-price {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  align-self: flex-start;
  margin-left: 7.5%;
  margin-top: -7%;
  color: rgba(0, 0, 0, 0.6);
}

.section4 #prices .price ul {
  margin-top: 10%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section4 #prices .price ul li {
  font-size: 20px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
}

.section4 #prices .price ul li::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url("../assets/svg/bullet-point.svg") no-repeat center / contain;
  margin-right: 20px;
  z-index: 5;
}

.section4 #prices .price ul li#bullet-croix::before {
  background: url("../assets/svg/bullet-croix.svg") no-repeat center / contain;
}

/* ================= Boutons Section 4 - Shine Hover Fluid ================= */
.section4 #prices .price button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 200px;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0),
    inset 0 -4px 0 rgba(0, 0, 0, 0),
    inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
}

/* Gradient lumineux */
.section4 #prices .price button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

/* Hover Effects */
.section4 #prices .price button:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.3),
    inset 0 -4px 0 rgba(0, 0, 0, 0.5),
    inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* Animation du gradient au hover */
.section4 #prices .price button:hover::before {
  animation: shine 0.5s forwards; /* gradient traverse plus vite */
}

/* Keyframes pour le gradient */
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ============== Section 5 */

.section5 {
  margin-top: 200px;
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 100%;
}

.section5 h5 {
  width: 315px;
}

.section5 h4#h42 {
  display: none;
}

.section5 ul {
  margin-top: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.section5 ul li {
  background-color: #f1f1f1;
  height: 130px;
  width: 80%;
  list-style: none;
  padding: 30px;
  border-radius: 30px;
  border: 3px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(1, 0.01, 0.83, 0.67);
  overflow: hidden;
}

.section5 ul li:hover {
  background-color: #e8e7e7;
}

.section5 ul li p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.section5 ul li .question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.section5 ul li .answer {
  opacity: 0;
  font-size: 28px;
  margin-top: 40px;
  width: 80%;
  line-height: 130%;
  transition: all 0.5s ease;
}

.section5 ul li.active {
  height: 220px;
}

.section5 ul li.active .answer {
  opacity: 1;
}

.section5 ul li img {
  transition: transform 0.3s ease;
}

.section5 ul li.active img {
  transform: rotate(45deg);
}

.section5 ul li .plugin {
  font-style: italic;
  text-decoration: underline;
  color: blue;
  letter-spacing: 0.05em;
}

.section5 .last-div {
  margin-top: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.section5 .last-div p {
  font-size: 24px;
}

.section5 .last-div button {
  box-shadow: inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: none;
  font-size: 36px;
  font-weight: 500;
  height: 80px;
  width: 480px;
  letter-spacing: 0.01em;
  font-family: var(--Montserrat);
  background-color: var(--noir);
  color: rgba(255, 255, 255, 0.85);
}

/* ================= Bouton Section 5 - Shine Hover Fluid ================= */

/* CSS de base pour le bouton (garde ton shine hover) */
#contact-btn {
  position: relative;
  overflow: hidden;
  border-radius: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section5 .last-div button {
  position: relative;
  overflow: hidden;
  border-radius: 200px;
  cursor: pointer;
  transition: all 0.3s ease; /* pour scale, translate et box-shadow */
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0),
    /* top invisible par défaut */ inset 0 -4px 0 rgba(0, 0, 0, 0),
    /* bottom invisible par défaut */ inset 5px 6px 30px
      rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
}

/* Gradient lumineux */
.section5 .last-div button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

/* Hover Effects */
.section5 .last-div button:hover {
  transform: translateY(-3px) scale(1.05); /* léger mouvement + agrandissement */
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.3),
    /* top visible */ inset 0 -4px 0 rgba(0, 0, 0, 0.5),
    /* bottom visible */ inset 5px 6px 30px rgba(255, 255, 255, 0.25),
    4px 5px 14px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease; /* apparition fluide */
}

/* Animation du gradient au hover */
.section5 .last-div button:hover::before {
  animation: shine 0.5s forwards; /* gradient traverse rapidement */
}

/* Keyframes pour le gradient */
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ============= Footer */

footer {
  position: relative;
  margin-top: 200px;
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(../assets/svg/gradient-footer.svg);
  background-position: center -200px;
  background-size: 100% auto;
}

.ligne-footer {
  width: 103%;
  margin: 50px 0;
}

.ligne-footer-mobile {
  display: none;
}

.inside-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#links-footer {
  font-size: 24px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

footer .sous-section {
  display: flex;
  gap: 240px;
}

footer .sous-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 225px;
}

footer .sous-section ul li {
  white-space: nowrap;
  position: relative;
}

footer .sous-section ul li a {
  position: relative;
  display: inline-block;
}

footer .sous-section ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0%;

  background-color: #2d2d2d;
  transition: all 0.5s;
}

footer .sous-section ul li a:hover::before {
  width: 100%;
}

footer .sous-section ul li a:hover {
  font-style: italic;
}

footer .sous-section ul li:first-child {
  font-weight: 700;
}

#left-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#left-footer img {
  width: 235px;
  margin: -50px 0 0 -50px;
}

.low_footer {
  display: flex;
  margin-bottom: 100px;
  justify-content: space-between;
  width: 100%;
  font-size: 23px;
}

#left-low-footer {
  display: flex;
  gap: 20px;
}

#post-it {
  position: absolute;
  margin-top: -320px;
  margin-left: 1250px;
}

/* =============== Responsive */

/* Desktop plus grand que 1920px */
@media (min-width: 1920px) {
  .container {
    width: 1920px;
    margin-left: auto;
    margin-right: auto;
    transform-origin: top center;
    transform: scale(0.8896);
  }
}
/* Desktop plus petit que 1920px */
@media (max-width: 1919px) {
  .container {
    transform: scale(0.8896);
    transform-origin: top center;
  }
  header {
    transform: scale(0.8896);
  }
  .landing {
    height: 1100px;
  }
  #landing-images {
    height: 1100px;
  }
}

@media (max-width: 1850px) {
  .container {
    transform: scale(0.8635);
  }
  header {
    transform: scale(0.8635);
  }
}

@media (max-width: 1800px) {
  .container {
    transform: scale(0.8375);
  }
  header {
    transform: scale(0.8375);
  }
}

@media (max-width: 1750px) {
  .container {
    transform: scale(0.8115);
  }
  header {
    transform: scale(0.8115);
  }
}

@media (max-width: 1728px) {
  .container {
    transform: scale(0.8);
  }
  header {
    transform: scale(0.8);
  }
}

@media (max-width: 1700px) {
  .container {
    transform: scale(0.7854);
  }
  header {
    transform: scale(0.7854);
  }
}

@media (max-width: 1680px) {
  .container {
    transform: scale(0.775);
  }
  header {
    transform: scale(0.775);
  }
}

@media (max-width: 1650px) {
  .container {
    transform: scale(0.7594);
  }
  header {
    transform: scale(0.7594);
  }
}

@media (max-width: 1600px) {
  #viewport {
    transform: scale(0.7333);
  }
  header {
    transform: scale(0.7333);
  }
}

@media (max-width: 1536px) {
  .container {
    transform: scale(0.7);
  }
  header {
    transform: scale(0.7);
  }
}

@media (max-width: 1500px) {
  .container {
    transform: scale(0.6812);
  }
  header {
    transform: scale(0.6812);
  }
}

@media (max-width: 1480px) {
  .container {
    transform: scale(0.6708);
  }
  header {
    transform: scale(0.6708);
    top: 3%;
  }
}

@media (max-width: 1440px) {
  .container {
    transform: scale(0.65);
  }
  header {
    transform: scale(0.65);
  }
}

@media (max-width: 1400px) {
  .container {
    transform: scale(0.6292);
  }
  header {
    transform: scale(0.6292);
  }
}

@media (max-width: 1366px) {
  .container {
    transform: scale(0.6115);
  }
  header {
    transform: scale(0.6115);
  }
}

@media (max-width: 1360px) {
  .container {
    transform: scale(0.6083);
  }
  header {
    transform: scale(0.6083);
  }
}

@media (max-width: 1344px) {
  .container {
    transform: scale(0.6);
  }
  header {
    transform: scale(0.6);
  }
}

@media (max-width: 1336px) {
  .container {
    transform: scale(0.5958);
  }
  header {
    transform: scale(0.5958);
  }
}

@media (max-width: 1320px) {
  .container {
    transform: scale(0.5875);
  }
  header {
    transform: scale(0.5875);
  }
}

@media (max-width: 1300px) {
  .container {
    transform: scale(0.5771);
  }
  header {
    transform: scale(0.5771);
  }
}

@media (max-width: 1280px) {
  .container {
    transform: scale(0.5667);
  }
  header {
    transform: scale(0.5667);
  }
}

@media (max-width: 1250px) {
  .container {
    transform: scale(0.551);
  }
  header {
    transform: scale(0.551);
  }
}

@media (max-width: 1220px) {
  .container {
    transform: scale(0.5354);
  }
  header {
    transform: scale(0.5354);
  }
}

@media (max-width: 1200px) {
  .container {
    transform: scale(0.525);
  }
  header {
    transform: scale(0.525);
  }
}

@media (max-width: 1180px) {
  .container {
    transform: scale(0.5146);
  }
  header {
    transform: scale(0.5146);
  }
}

@media (max-width: 1152px) {
  .container {
    transform: scale(0.5);
  }
  header {
    transform: scale(0.5);
  }
}

@media (max-width: 1120px) {
  .container {
    transform: scale(0.4833);
  }
  header {
    transform: scale(0.4833);
  }
}

@media (max-width: 1100px) {
  .container {
    transform: scale(0.4729);
  }
  header {
    transform: scale(0.4729);
    top: 1%;
  }
}

@media (max-width: 1080px) {
  .container {
    transform: scale(0.4625);
  }
  header {
    transform: scale(0.4625);
  }
}

@media (max-width: 1050px) {
  .container {
    transform: scale(0.4469);
  }
  header {
    transform: scale(0.4469);
  }
}

@media (max-width: 1040px) {
  .container {
    transform: scale(0.4417);
  }
  header {
    transform: scale(0.4417);
  }
}

@media (max-width: 1030px) {
  .container {
    transform: scale(0.4365);
  }
  header {
    transform: scale(0.4365);
  }
}

@media (max-width: 1024px) {
  .container {
    transform: scale(0.4333);
  }
  header {
    transform: scale(0.4333);
  }
}

@media (max-width: 1010px) {
  .container {
    transform: scale(0.426);
  }
  header {
    transform: scale(0.426);
  }
}

@media (max-width: 1000px) {
  .container {
    transform: scale(0.48);
  }
  header {
    transform: scale(0.48);
  }
}

@media (max-width: 980px) {
  .container {
    transform: scale(0.47);
  }
  header {
    transform: scale(0.47);
  }
}

@media (max-width: 960px) {
  .container {
    transform: scale(0.46);
  }
  header {
    transform: scale(0.46);
  }
}

@media (max-width: 940px) {
  .container {
    transform: scale(0.45);
  }
  header {
    transform: scale(0.45);
  }
}

@media (max-width: 920px) {
  .container {
    transform: scale(0.44);
  }
  header {
    transform: scale(0.44);
    top: -2%;
  }
}

@media (max-width: 900px) {
  .container {
    transform: scale(0.43);
  }
  header {
    transform: scale(0.43);
  }
}

@media (max-width: 880px) {
  .container {
    transform: scale(0.42);
  }
  header {
    transform: scale(0.42);
  }
}

@media (max-width: 860px) {
  .container {
    transform: scale(0.41);
  }
  header {
    transform: scale(0.41);
  }
}

@media (max-width: 840px) {
  .container {
    transform: scale(0.4);
  }
  header {
    transform: scale(0.4);
  }
}

@media (max-width: 820px) {
  .container {
    transform: scale(0.39);
  }
  header {
    transform: scale(0.39);
  }
}

@media (max-width: 800px) {
  .container {
    transform: scale(0.38);
  }
  header {
    transform: scale(0.38);
  }
}

@media (max-width: 780px) {
  .container {
    transform: scale(0.37);
  }
  header {
    transform: scale(0.37);
  }
}

@media (max-width: 760px) {
  .container {
    transform: scale(0.36);
  }
  header {
    transform: scale(0.36);
  }
}

@media (max-width: 740px) {
  .container {
    transform: scale(0.36);
  }
  header {
    transform: scale(0.36);
  }
}

@media (max-width: 720px) {
  .container {
    transform: scale(0.35);
  }
  header {
    transform: scale(0.35);
    top: -3%;
  }
}

@media (max-width: 700px) {
  .container {
    transform: scale(0.34);
  }
  header {
    transform: scale(0.34);
  }
}

@media (max-width: 680px) {
  .container {
    transform: scale(0.33);
  }
  header {
    transform: scale(0.33);
  }
}

@media (max-width: 660px) {
  .container {
    transform: scale(0.32);
  }
  header {
    transform: scale(0.32);
  }
}

@media (max-width: 640px) {
  .container {
    transform: scale(0.31);
  }
  header {
    transform: scale(0.31);
  }
}

@media (max-width: 620px) {
  .container {
    transform: scale(0.3);
  }
  header {
    transform: scale(0.3);
  }
}

@media (max-width: 600px) {
  .container {
    transform: scale(0.29);
  }
  header {
    transform: scale(0.29);
  }
}

@media (max-width: 580px) {
  .container {
    transform: scale(0.28);
  }
  header {
    transform: scale(0.28);
  }
}

@media (max-width: 560px) {
  .container {
    transform: scale(0.27);
  }
  header {
    transform: scale(0.27);
  }
}

@media (max-width: 540px) {
  .container {
    transform: scale(0.26);
  }
  header {
    transform: scale(0.26);
  }
}

@media (max-width: 520px) {
  .container {
    transform: scale(0.25);
  }
  header {
    transform: scale(0.25);
  }
}

/* ===================== Mobile */

@media (max-width: 500px) {
  .container,
  header {
    transform: none;
  }

  .container {
    width: 491px;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  header {
    position: absolute;
    display: flex;
    top: 30px;
    width: 420px;
    height: 65px;
    max-height: 50px;
    gap: 25px;
  }

  header #outside-logo {
    display: none;
  }

  header #inside-logo {
    display: inline;
    height: 70px;
    width: auto;
    margin-left: -5px;
  }

  header nav ul,
  header nav #contact-nav {
    display: none;
  }

  nav {
    font-size: 16px;
    width: 100%;
    height: 65px;
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.25);
    border: rgba(0, 0, 0, 0.3) 1.33px solid;
  }

  #mobile-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    color: rgba(25, 25, 25, 0.6);
    margin-right: 20px;
  }

  .landing {
    top: 15px;
    height: 1000px;
    min-height: 1000px;
    width: 460px;
    border-radius: 40px;
    border: rgba(0, 0, 0, 0.2) 1.33px solid;
    background-image: url("../assets/svg/hero_gradient-mobile.svg");
    background-size: 100% 80%;
    z-index: 0;
  }

  #landing-images {
    display: none;
  }

  #box-img-mobile {
    display: inline;
    width: 491px;
    overflow: hidden;
    position: absolute;
    top: 8dvh;
    left: 0;
    z-index: -1;
  }

  #landing-images-mobile {
    display: inline;
  }

  #lien-swiss {
    transform: scale(0.95);
  }

  .hero {
    z-index: 3;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero #tennis {
    font-size: 60px;
  }

  .hero #points {
    font: var(--Mont-subtitle);
    font-weight: 500;
    margin-left: -3px;
  }

  .hero #lucens {
    font-size: 53px;
    font-weight: 800;
  }

  .hero h4 {
    font-size: 19px;
  }

  .hero #hero-buttons {
    flex-direction: column;
    gap: 20px;
    transform: scale(0.85);
    margin: 0px 0 0 0;
  }

  .hero #hero-buttons #reserver:hover,
  .hero #hero-buttons #inscrire:hover {
    box-shadow: inset 5px 6px 30px rgba(255, 255, 255, 0.25),
      4px 5px 14px 5px rgba(0, 0, 0, 0.25);
    font-size: 25px;
  }

  /* === Section 1 */

  .section1 {
    margin-top: 200px;
    overflow: hidden;
    width: 491px;
  }

  h2 {
    font-size: 33px;
  }

  .titre1 {
    font-size: 60px;
  }

  .titre2 {
    font-size: 53px;
  }

  .section1 h4 {
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }

  .section1 #span1 {
    display: none;
  }

  .section1 #span2 {
    display: inline;
  }

  /* Le carousel */
  .section1 #cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0px;
    justify-content: flex-start;
    padding: 0 10%;
    margin-top: 40px;
    width: 650px;
    margin-left: -75px;
  }

  .section1 #cards .spacer-card {
    display: inline;
    flex: 0 0 10%;
  }

  .section1 #cards::-webkit-scrollbar {
    display: none;
  }

  .section1 #cards .card {
    width: 200px;
    flex: 0 0 75%;
    height: 500px;
    scroll-snap-align: center;
  }

  .section1 #cards .card:hover {
    transform: scale(1);
  }

  #h3-tournois {
    font-size: 2.8rem;
  }

  /* === Section 2 */

  h5 {
    font-size: 16px;
    height: 30px;
    width: 215px;
  }

  .section2 {
    margin-top: 150px;
    width: 491px;
    overflow: hidden;
  }

  .section2 #sec2-img1 {
    display: none;
  }

  .section2 #sec2-img2 {
    display: inline;
    width: 850px;
    margin-top: -150px;
    margin-left: -40px;
  }

  /* === Section 3 */

  .section3 {
    width: 491px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section3 img {
    transform: scale(0.35);
    margin-top: -100px;
  }

  /* === Section 4 */

  .section4 {
    width: 491px;
    overflow: hidden;
    margin-top: -150px;
  }

  .section4 h5 {
    margin-bottom: 10px;
  }

  .section4 #prices {
    flex-direction: column;
    transform: scale(0.8);
    margin-top: -200px;
    gap: 75px;
  }

  .section4 #gradient-price {
    display: none;
  }

  .section4 #gradient-price-mobile {
    display: inline;
    position: absolute;
    max-width: 491px;
    margin-top: 300px;
    z-index: -1;
  }

  /* === Section 5 */

  .section5 {
    margin-top: -150px;
  }

  .section5 h5 {
    width: 220px;
  }

  .section5 h4#h41 {
    display: none;
  }

  .section5 h4#h42 {
    font-size: 20px;
    display: inline;
    margin-top: 30px;
  }

  .section5 ul {
    margin-top: 45px;
    gap: 15px;
  }

  .section5 ul li {
    height: 65px;
    width: 90%;
    padding: 10px;
    border-radius: 15px;
  }

  .section5 ul li p {
    font-size: 16px;
    font-weight: 700;
  }

  .section5 ul li .question,
  .section5 ul li .answer {
    margin-top: 10px;
    font-size: 16px;
  }

  .section5 ul li img {
    height: 15px;
    width: 15px;
  }

  .section5 ul li.active {
    height: 150px;
  }

  .section5 ul li:nth-child(3).active {
    height: 180px;
  }

  .section5 .last-div {
    margin-top: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
  }

  .section5 .last-div p {
    font-size: 15px;
  }

  .section5 .last-div button {
    font-size: 21px;
    height: 50px;
    width: 260px;
  }

  /* === Footer */

  footer {
    margin-top: 100px;
    width: 90%;
    background-image: none;
    /* background-repeat: no-repeat;
    background-position: center -200px;
    background-size: 100% auto; */
    transition: all 0.3s ease;
  }

  .ligne-footer {
    width: 103%;
    margin: 50px 0;
  }

  .inside-footer {
    flex-direction: column;
    gap: 30px;
  }

  #links-footer {
    font-size: 17px;
    gap: 65px;
    flex-direction: row;
  }

  footer .sous-section {
    flex-direction: column;
    gap: 50px;
  }

  footer .sous-section ul {
    gap: 15px;
    max-width: 225px;
  }

  #left-footer {
    flex-direction: row;
    gap: 20px;
  }

  #left-footer img {
    width: 150px;
    margin: -50px 0 0 -40px;
  }

  .low_footer {
    margin-bottom: 50px;
    width: 100%;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #left-low-footer {
    gap: 10px;
  }

  .ligne-footer {
    display: none;
  }

  .ligne-footer-mobile {
    display: inline;
    width: 103%;
    margin: 50px 0;
  }

  #post-it {
    position: absolute;
    height: 300px;
    margin-top: -300px;
    margin-left: 135px;
  }
}

@media (max-width: 480px) {
  .container,
  header {
    transform: scale(0.96);
  }
}
@media (max-width: 460px) {
  .container,
  header {
    transform: scale(0.92);
  }
}
@media (max-width: 440px) {
  .container,
  header {
    transform: scale(0.88);
  }
}
@media (max-width: 420px) {
  .container,
  header {
    transform: scale(0.84);
  }
}
@media (max-width: 400px) {
  .container,
  header {
    transform: scale(0.8);
  }
}
@media (max-width: 380px) {
  .container,
  header {
    transform: scale(0.76);
  }
}
@media (max-width: 360px) {
  .container,
  header {
    transform: scale(0.72);
  }
}
@media (max-width: 340px) {
  .container,
  header {
    transform: scale(0.68);
  }
}
@media (max-width: 320px) {
  .container,
  header {
    transform: scale(0.64);
  }
}
@media (max-width: 300px) {
  .container,
  header {
    transform: scale(0.6);
  }
}
@media (max-width: 280px) {
  .container,
  header {
    transform: scale(0.56);
  }
}
@media (max-width: 260px) {
  .container,
  header {
    transform: scale(0.52);
  }
}
@media (max-width: 240px) {
  .container,
  header {
    transform: scale(0.48);
  }
}
@media (max-width: 220px) {
  .container,
  header {
    transform: scale(0.44);
  }
}
@media (max-width: 200px) {
  .container,
  header {
    transform: scale(0.4);
  }
}
