/*=============== GOOGLE FONTS ===============*/

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --hue: 14;
  --first-color: hsl(var(--hue), 233, 100%, 50%);
  --first-color-alt: hsl(var(--hue), 185, 100%, 50%);
  --title-color: hsl(var(--hue), 100%, 100%);
  --tit-color: hsl(var(--hue), 0%, 0%);
  --text-color: hsl(var(--hue), 4%, 85%);
  --text-color-light: hsl(var(--hue), 4%, 55%);

  /*couleur*/
  --body-color: linear-gradient(90deg, #3a78ff, #96b8ff);
  --container-color: linear-gradient(136deg, #96b8ff, #3a78ff);
  --matchF-color: linear-gradient(136deg, #3a78ff, #96b8ff);
  --article-coolor: linear-gradient(136deg, #96b8ff, #3a78ff);
  --textarea : rgb(255, 255, 255);

  /*--body-color: linear-gradient(90deg, rgb(255, 220, 255) 0%, rgb(0, 60, 255) 100%);
  --container-color: linear-gradient(136deg, rgb(255, 220, 255) 0%, rgb(0, 60, 255) 100%);
  --article-coolor: linear-gradient(0deg, rgb(0, 60, 255) 0%, rgb(255, 220, 255) 100%);
  --textarea : rgb(255, 255, 255);*/

 
  /*========== Font and typography ==========*/
  --body-font: 'system-ui';
  --biggest-font-size: 2rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;
  --smaller-font-size: .813rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 992px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

html{
  scroll-behavior: smooth;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;

}

h1,h2,h3,h4{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.5rem; 
}

ul{
  text-decoration: white;
  list-style: none;
  margin-bottom: 0.5rem; 
}
li{
  text-decoration: white;
  list-style: none;
  margin-bottom: 0.5rem; 
}
a{
  text-decoration: white;
  margin-bottom: 0.2rem; 
}

p{
  color: var(--title-color);
  margin-bottom: 0.2rem; 
}

img{
  max-width: 100%;
  height: auto;
}

button,
input{
  border: none;
  outline: none;
}

button{
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 4.5rem 0 2rem;
}

.section__title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
  color: #ffff;
}

/*=============== LAYOUT ===============*/
.container{
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
}

.main{
  overflow: hidden; /*For animation*/
}

/*=============== HEADER ===============*/
.header{
  width: 100%;
  background: var(--body-color); 
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-medium);
}

.nav__logo-img{
  width: 1.25rem;
}
.nav__logo-imgg{
  width: 5rem;
}
.nav__logo-imggg{
  width: 10rem;
}
.nav__link,
.nav__logo,
.nav__toggle,
.nav__close{
  color: var(--tit-color);
}

.nav__toggle{
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px){
  .nav__menu{
    position: fixed;
    width: 100%;
    background: var(--container-color);
    top: -150%;
    left: 0;
    padding: 3.5rem 0;
    transition: .4s;
    z-index: var(--z-fixed);
    border-radius: 0 0 1.5rem 1.5rem;
  }
}
.nav__list .dashboard-item {
  order: -1; 
}

@media (min-width: 767px) {
  .nav__list {
      display: flex;
      justify-content: space-between; 
  }

  .nav__list .dashboard-item {
      order: 1; 
      margin-left: auto; 
  }
}
.nav__img{
  width: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

.nav__close{
  font-size: 1.8rem;
  position: absolute;
  top: .5rem;
  right: .7rem;
  cursor: pointer;
}

.nav__list{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav__link{
  text-transform: uppercase;
  font-weight: var(--font-black);
  transition: .4s;
}

.nav__link:hover{
  color: var(--text-color);
}

.show-menu{
  top: 0;
}

.scroll-header{
  background: var(--container-color);
}

.active-link{
  position: relative;
}

.active-link::before{
  content: '';
  position: absolute;
  bottom: -.75rem;
  left: 45%;
  width: 5px;
  height: 5px;
  background-color: var(--title-color);
  border-radius: 50%;
}

/*=============== HOME ===============*/
.home__content{
  row-gap: 1rem;
}

.home__group{
  display: grid;
  position: relative;
  padding-top: 2rem;
}

.home__img{
  height: 250px;
  justify-self: left;
  position: relative;
}

.home__indicator{
  width: 8px;
  height: 8px;
  background-color: var(--title-color);
  border-radius: 50%;
  justify-content: left;
  position: absolute;
  top: 7rem;
  right: 2rem;
}

.home__indicator::after{
  content: '';
  position: absolute;
  justify-content: left;
  width: 1px;
  height: 48px;
  background-color: var(--title-color);
  top: -3rem;
  right: 45%;
}

.home__details-img{
  position: absolute;
  right: .5rem;
}

.home__details-title,
.home__details-subtitle{
  display: block;
  font-size: var(--small-font-size);
  text-align: right;
}

.home__subtitle{
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}

.home__title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  line-height: 109%;
  margin-bottom: var(--mb-1);
}

.home__description{
  margin-bottom: var(--mb-1);
}

.home__buttons{
  display: flex;
  justify-content: space-between;
}


/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--title-color);
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon{
  font-size: 1.25rem;
}

.button--ghost{
  border: 2px solid;
  border-radius: 181px 180px 0px 180px / 150px 150px 0px 150px;
  background-color: transparent;
  border-radius: 3rem;
  padding: .75rem 1.5rem;
}

.button--ghost:hover{
  border-radius: 181px 0px 180px 180px / 150px 0px 150px 150px;
  background: blue;
  background-color:rgba(0, 60, 255, 0);
}

.button--link{
  color: var(--title-color);
}

.button--flex{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

/*=============== CATEGORY ===============*/
.category__container{
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.category__data{
  text-align: center;
}



.category__img{
  width: 120px;
  margin-bottom: var(--mb-0-75);
  transition: .3s;
}

.category__title{
  margin-bottom: var(--mb-0-25);
}

.category__data:hover .category__img{
  transform: translateY(-.5rem);
}
.category__description { 

  text-decoration: none;
}

/*=============== ABOUT ===============*/
.about__container{
  row-gap: 2rem;
}

.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: var(--mb-2);
}

.about__img{
  width: 200px;
  justify-self: center;
}


/*=============== DISCOUNT ===============*/
.discount__container{
  background: var(--body-color);
  color: var(--container-colore);
  border-radius: 1rem;
  padding: 2.5rem 0 1.5rem;
  row-gap: .75rem;
}
.discount__data{
  text-align: center;
}

.discount__title{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
}

/*=============== NEW ARRIVALS ===============*/
.new__container{
  padding-top: 1rem;
}

.new__img{
  width: 120px;
  margin-bottom: var(--mb-0-5);
  transition: .3s;
}

.new__content{
  position: relative;
  background: var(--container-color);
  width: 242px;
  padding: 2rem 0 1.5rem 0;
  border-radius: .75rem;
  text-align: center;
  overflow: hidden;
}

.new__tag{
  position: absolute;
  top: 8%;
  left: 8%;
  background-color: var(--first-color);
  color: var(--title-color);
  font-size: var(--small-font-size);
  padding: .25rem .5rem;
  border-radius: .25rem;
}

.new__title{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.new__subtitle{
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-5);
}

.new__prices{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.new__price{
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.new__discount{
  color: var(--first-color);
  font-size: var(--smaller-font-size);
  text-decoration: line-through;
  font-weight: var(--font-medium);
}

.new__button{
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem .25rem .75rem .25rem;
  position: absolute;
  bottom: 0;
  right: -3rem;
}

.new__icon{
  font-size: 1.25rem;
}

.new__content:hover .new__img{
  transform: translateY(-.5rem);
}

.new__content:hover .new__button{
  right: 0;
}

/*=============== NEWSLETTER ===============*/
.newsletter__description{
  text-align: center;
  margin-bottom: var(--mb-1-5);
}

.newsletter__form{
  background: var(--container-color);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  border-radius: .75rem;
}

.newsletter__input{
  width: 70%;
  padding: 0 .5rem;
  background: none;
  color: var(--title-color);
}

.newsletter__input::placeholder{
  color: var(--text-color);
}
/*=============== NEW ARRIVALS ===============*/
.new__container{
  padding-top: 1rem;
}

.new__img{
  width: 120px;
  margin-bottom: var(--mb-0-5);
  transition: .3s;
}

.new__content{
  position: relative;
  background: var(--container-color);
  width: 242px;
  padding: 2rem 0 1.5rem 0;
  border-radius: .75rem;
  text-align: center;
  overflow: hidden;
}

.new__tag{
  position: absolute;
  top: 8%;
  left: 8%;
  background-color: var(--first-color);
  color: var(--title-color);
  font-size: var(--small-font-size);
  padding: .25rem .5rem;
  border-radius: .25rem;
}

.new__title{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.new__subtitle{
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-5);
}

.new__prices{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.new__price{
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.new__discount{
  color: var(--first-color);
  font-size: var(--smaller-font-size);
  text-decoration: line-through;
  font-weight: var(--font-medium);
}

.new__button{
  display: inline-flex;
  padding: .5rem;
  border-radius: .25rem .25rem .75rem .25rem;
  position: absolute;
  bottom: 0;
  right: -3rem;
}

.new__icon{
  font-size: 1.25rem;
}

.new__content:hover .new__img{
  transform: translateY(-.5rem);
}

.new__content:hover .new__button{
  right: 0;
}

/*=============== FOOTER ===============*/
footer {
  text-align: center;
  padding: 20px;
  color: #fff; /* Couleur du texte */
  z-index: 10; /* S'assurer qu'il est au-dessus d'autres éléments */
  position: relative; /* Éviter qu'il soit masqué par d'autres éléments */
}

footer a {
  color: #fff; /* Lien en blanc */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline; /* Surligner au survol */
}

.footer__img-one,
.footer__img-two{
  position: absolute;
  transition: .3s;
}

.footer__img-one{
  width: 100px;
  top: 6rem;
  right: -3rem;
}

.footer__img-two{
  width: 100px;
  top: 6rem;
  right: -3rem;
}
.footer__img-one:hover,
.footer__img-two:hover{
  transform: translateY(-.5rem);
}

.footer__container{
  row-gap: 2rem;
}

.footer__logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.footer__logo-img{
  width: 20px;
}

.footer__description{
  margin-bottom: var(--mb-2-5);
}

.footer__social{
  display: flex;
  column-gap: .75rem;
}

.footer__social-link{
  display: inline-flex;
  background: var(--container-color);
  padding: .25rem;
  border-radius: .25rem;
  color: var(--title-color);
  font-size: 1rem;
}

.footer__social-link:hover{
  background: var(--body-color);
}

.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  text-align: left;
}

.footer__links{
  display: grid;
  row-gap: .35rem;
  text-align: left;
}

.footer__link{
  font-size: var(--small-font-size);
  color: var(--title-color);
  transition: .3s;
  text-align: left;
}

.footer__link:hover{
  color: var(--text-color);
}
.center-xyz {
  top: 70%;
  left: 32%;
  position: fixed;

}
.footer__copy{
  display: block;
  text-align: center;
  font-size: var(--smaller-font-size);
  margin-top: 4.5rem;
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  background: var(--container-color);
  right: 1rem;
  bottom: -20%;
  display: inline-flex;
  padding: .3rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: .4s;
}

.scrollup__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.scrollup:hover{
  background: var(--container-color);
  opacity: 1;
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: 0.6rem;
  background: #96b8ff;
}

::-webkit-scrollbar-thumb{
  background: #3a78ff;
  border-radius: .5rem;
}

/*===============  BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__img{
    height: 200px;
  }
  .home__buttons{
    flex-direction: column;
    width: max-content;
    row-gap: 1rem;
  }

  .category__container,
  .Partenaire__container{
    grid-template-columns: .8fr;
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 576px){
  .about__container{
    grid-template-columns: .8fr;
    justify-content: center;
  }

  .newsletter__container{
    display: grid;
    grid-template-columns: .7fr;
    justify-content: center;
  }
  .newsletter__description{
    padding: 0 3rem;
  }
}

@media screen and (min-width: 767px){
  body{
    margin: 0;
  }
  
  .section{
    padding: 7rem 0 2rem;
  }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__img,
  .nav__close,
  .nav__toggle{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__link{
    text-transform: initial;
    font-weight: initial;
  }

  .home__content{
    padding: 8rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .home__img{
    height: 300px;
  }
  .swiper-pagination{
    margin-top: var(--mb-2);
  }

  .category__container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
  }

  .about__container{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__title,
  .about__data{
    text-align: initial;
  }
  .about__img{
    width: 250px;
  }

  .Partenaire__container{
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2rem;
  }

  .discount__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    align-items: center;
    column-gap: 3rem;
    padding: 3rem 0;
    border-radius: 3rem;
  }
  .discount__img{
    width: 180px;
    order: -1;
  }
  .discount__data{
    padding-right: 6rem;
  }

  .newsletter__container{
    grid-template-columns: .5fr;
  }

  .footer__container{
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    column-gap: 1rem;
  }
  .footer__img-two{
    right: initial;
    bottom: 0;
    left: 15%;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section__title{
    font-size: var(--h1-font-size);
    margin-bottom: 3rem;
  }

  .home__content{
    padding-top: 9rem;
    gap: 3rem;
  }
  .home__group{
    padding-top: 0;
  }
  .home__img{
    height: 400px;
    transform: translateY(-3rem);
  }
  .home__indicator{
    top: initial;
    right: initial;
    bottom: 15%;
    left: 45%;
  }
  .home__indicator::after{
    top: 0;
    height: 75px;
  }
  .home__details-img{
    bottom: 0;
    right: 58%;
  }
  .home__title{
    margin-bottom: var(--mb-1-5);
  }
  .home__description{
    margin-bottom: var(--mb-2-5);
    padding-right: 2rem; 
  }

  .category__container{
    column-gap: 8rem;
  }
  .category__img{
    width: 200px;
  }

  .about__container{
    column-gap: 7rem;
  }
  .about__img{
    width: 350px;
  }
  .about__description{
    padding-right: 2rem;
  }

  .Partenaire__container{
    gap: 3.5rem;
  }
  .Partenaire__content{
    border-radius: 1.5rem;
  }
  .Partenaire__img{
    width: 110px;
  }
  .Partenaire__title{
    font-size: var(--h3-font-size);
  }

  .discount__container{
    column-gap: 7rem;
  }

  .new__content{
    width: 310px;
    border-radius: 1rem;
    padding: 2rem 0;
  }
  .new__img{
    width: 150px;
  }
  .new__img,
  .new__subtitle{
    margin-bottom: var(--mb-1);
  }
  .new__title{
    font-size: var(--h3-font-size);
  }

  .footer__copy{
    margin-top: 6rem;
  }
}

@media screen and (min-width: 1200px){
  .home__img{
    height: 420px;
  }
  .swiper-pagination{
    margin-top: var(--mb-2-5);
  }
  .footer__img-one{
    width: 120px;
  }
  .footer__img-two{
    width: 180px;
    top: 30%;
    left: -5%;
  }
  .bannirer{
    width: 950px;
    text-align: center;
  }
}

.dropdown {
  float: left;
  overflow: hidden;
  color: white;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: dotted;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  background-color: rgba(0, 60, 255, 0.3); 
  border-radius: 10px; 
}

.dropdown-content a {
  float: none;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgb(0, 60, 255);
}

.dropdown:hover .dropdown-content {
  display: block;
}


.boxe {
  inline-size: 150px;
  overflow-wrap: break-word;
  hyphens: manual;
}

/* Forcer le formulaire   s'aligner en colonne */
.contact-form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px; /* Limiter la largeur maximale */
}

.contact-form label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%; /* Occupe toute la largeur */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical; /* Permettre   l'utilisateur d'ajuster la taille du textarea verticalement */
    height: 150px; /* Ajuste la hauteur par d faut */
}

.contact-form button {
    align-self: flex-end; /* Aligne le bouton   droite */
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #2980b9;
}

.match-card {
  background: linear-gradient(135deg, #678dff, #97abf5); /* Couleurs douces comme l'image */
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  margin: 20px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.match-card:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.match-card .match-info {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.match-card .match-inner-box {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.match-card .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
}

.match-card .team img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.match-card .team-name {
  font-weight: bold;
  font-size: 1rem;
  color: white;
}

.match-card .vs {
  font-weight: bold;
  font-size: 1.3rem;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 10px;
}


/* Overlay qui couvre toute la page avec fond semi-transparent */
.overlay {
  display: none; /* Cacher par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start; /* Aligne le popup en haut */
  justify-content: center;
  z-index: 1000;
  padding-top: 20px; /* Pour ajouter un peu d'espace en haut */
}

/* Style du popup */
.popup {
  background: #fff;
  border-radius: 8px;
  width: 90%; /* S'adapte aux petits écrans */
  max-width: 400px; /* Largeur maximale */
  padding: 20px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.popup h2 {
  margin-top: 0;
  color: #333;
}

.popup .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.popup .content {
  margin-top: 15px;
  font-size: 1rem;
  color: #555;
}


.article-cube {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--article-coolor);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
}

.article__content {
  text-align: left; /* Aligne le texte à gauche dans le contenu */
  margin-bottom: 2rem;
}

.article-cube .button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem; /* Espacement entre le contenu et le bouton */
}

.article__content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article__content img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  display: block;
}


.article__content h1, .article__content h2, .article__content h3, 
.article__content h4, .article__content h5, .article__content h6 {
  color: inherit;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article__content ul, .article__content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.article__content blockquote {
  font-style: italic;
  color: #ccc;
  border-left: 4px solid #003cff;
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article__content th, .article__content td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.article__content th {
  background-color: #003cff;
  color: #fff;
  font-weight: bold;
}

.article__date, .section__title {
  display: block;
  margin-bottom: 1rem;
}

.buttona {
  display: inline-block;
  background-color: transparent;
  color: rgb(255, 255, 255);
  padding: .75rem 1.5rem;
  border: 2px solid;
  border-radius: 3rem; /* Conservez un seul réglage */
  transition: 0.6s ease;
}

.buttona:hover {
  border-radius: 1rem; /* Effet de changement de bordure au survol */
  background-color: rgba(0, 60, 255, 0.2); /* Optionnel : couleur de fond au survol */
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem; /* Espace entre le contenu et le bouton */
}


.next-match__container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  color: #fff;
}

.next-match__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.next-match__info {
  text-align: center;
  flex: 2;
}

.team-logo {
  flex: 1;
  max-width: 200px;
}

.team-logo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  transform: rotate(-10deg); 
}

.team-logo img:hover {
  transform: scale(1.05);
}

.next-match__info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.next-match__info p {
  margin: 5px 0;
  color: #dcdcdc;
}

.swiper-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.swiper-slide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-slide.swiper-slide-active {
  opacity: 1;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next {
  background: url('assets/icon/flèche-droit.png') no-repeat center center;
  background-size: contain;
}

.swiper-button-prev {
  background: url('assets/icon/flèche-gauche.png') no-repeat center center;
  background-size: contain;
}

.product-detail {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
padding: 20px;
max-width: 1000px;
margin: 0 auto;
}
.product-detail__info {
text-align: center;
margin-top: 20px;
}

.product-detail__info h1 {
font-size: 2em;
margin-bottom: 10px;
}

.product-detail__info p {
font-size: 1.2em;
margin-bottom: 15px;
}
.product-detail__info form {
margin-top: 10px;
}

.product-detail__info select {
padding: 10px;
margin-right: 10px;
}

.product-detail__info button {
border: 2px solid;
border-radius: 181px 180px 0px 180px / 150px 150px 0px 150px;
background-color: transparent;
border-radius: 3rem;
padding: .75rem 1.5rem;
}

.product-detail__info button:hover {
border-radius: 181px 0px 180px 180px / 150px 0px 150px 150px;
background: blue;
background-color:rgba(0, 60, 255, 0);
}
/* Réorganisation complète de la mise en page du panier */

/* Conteneur principal */
.cart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
  min-height: 100vh;
  justify-content: center;
}

/* Section des articles */
.cart-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

/* Carte article */
.cart-card {
  background: linear-gradient(90deg, rgb(0, 60, 255) 0%, rgb(220, 220, 220) 100%);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  width: 250px;
  margin: 0 auto;
}

.cart-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cart-card__image img {
  width: 100%;
  height: 150px;
  display: block;
  border-bottom: 2px solid #ddd;
  object-fit: cover;
}

.cart-card__body {
  padding: 15px;
  text-align: center;
}

.cart-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #ffffff;
}

.cart-card__size,
.cart-card__price {
  font-size: 0.9rem;
  margin: 5px 0;
}

/* Résumé du panier */
.cart-summary {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(90deg, rgb(0, 60, 255) 0%, rgb(220, 220, 220) 100%);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.cart-summary__subtotal {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.cart-summary__button {
  position: fixed;
  top: 20px;
  left: 20px;
  margin: 10px;
  padding: 10px 15px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: rgb(0, 60, 255);
  cursor: pointer;
  transition: 0.3s;
  z-index: 1000;
}

.cart-summary__button:hover {
  background-color: rgb(220, 220, 220);
}

/* Réglages pour grands écrans */
@media screen and (min-width: 992px) {
  .cart-container {
    flex-direction: column;
    align-items: center;
  }

  .cart-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.category__container {
    display: flex; /* nécessaire pour activer flexbox même sur mobile */
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* valeur par défaut */
}

.category__data {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    min-width: 200px;
}

.info-section {
    padding: 2rem 1rem;
    text-align: center;
}

.info-section h2 {
    margin-bottom: 1rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section ul li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.center-button {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* version desktop : plus de gap entre les blocs */
@media screen and (min-width: 992px) {
    .category__container {
        gap: 3rem;
    }
}
.actualites-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.actualite-card {
  background-color: transparent;
  border-radius: 20px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actualite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px #96b8ff;
}

.actualite-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.actualite-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffffff;
}

.actualite-card p {
  color: #ffffffff;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.button-actus {
  background-color: #3a78ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.button-actus:hover {
  background-color: #96b8ff;
}
/* Responsive mobile : une seule carte par ligne */
@media screen and (max-width: 768px) {
  .actualites-wrapper {
    flex-direction: column;
    align-items: center;
  }
}