* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
    font-family: Montserrat;
    src: url(../font/montserrat/Montserrat-Regular.ttf);
}

@font-face {
    font-family: Montserrat-I;
    src: url(../font/montserrat/Montserrat-Italic.ttf);
}

body {
    font-family: Montserrat, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

img { 
    max-width: 100%; 
    height: auto; 
}

main { 
    width: 100%; 
}

html, body { 
    overflow-x: hidden; 
}

/********************** ADMIN *********************/

.admin{
    text-align: center;
    margin-top: 25px;
}

.admin a{
    position: relative;
    letter-spacing: 1.5px;
    background-color:#1e1e1e;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 14px;
    border-radius: 18px;
}

.admin a:hover{
    color: #F6EC28;
    transition: 0.6s ease;
}

.admin a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;      
    transform: translateX(-50%) scaleX(0);
    width: 60%;     
    height: 3px;
    background-color: #F6EC28;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.admin a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.loginF {
    margin: auto;
    padding: 30px;
    max-width: 400px;
}

.loginS{
    margin: 30px;
}

.inboxAdmin {
    margin: 40px;
    font-family: Montserrat, sans-serif;
}

/************************** JS **************************/

#retourTop:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

#retourTop {
    position: fixed;               /* Pour que le bouton reste toujours visible à l’écran */
    bottom: 20px;                  /* espace par rapport au bas */
    right: 20px;                   
    padding: 10px 15px;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    background-color: #F6EC28;
    color: #1e1e1e;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;                /* caché quand l'utilisateur est tout en haut de la page */
    z-index: 999;
    border: 2px solid black;                  /* calque prioritaire sur tout le site */
}

/************************** HEADER **************************/

/* Responsive */

@media (max-width: 1050px){
  .menu ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .menu li a{
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .logo{
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img{
    width: 180px;
    height: auto;
  }

  .panier img{
    width: 60px;
    height: auto;
  }
}

@media (max-width: 480px){
  .menu li a{
    font-size: 14px;
    padding: 10px 12px
  }
}

.header {
    background: transparent;
}

.top {
    position: relative;
    height: 50vh;
    background:
        linear-gradient(
        to bottom,
        rgba(246, 236, 40, 0.85) 0%,
        rgba(246, 236, 40, 0.4) 55%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%
        ),
        url("../image/banniere_stmedard.png"); 
    background-size: cover;
    background-position: center center;
    color: white;
}

.menu {
    padding: 20px;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.menu ul li a {
    position: relative;
    text-decoration: none;
    background-color: #1e1e1e;
    color: white;
    font-weight: bold;
    font-size: 28px;
    font-family: Montserrat-I, sans-serif;
    border-radius: 25px;
    padding: 20px;
}

.menu ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;      
    transform: translateX(-50%) scaleX(0);
    width: 60%;     
    height: 3px;
    background-color: #F6EC28;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.menu ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu ul li a:hover {
    color: #F6EC28;
    transition: 0.3s ease;
}

.logo:hover {
    transform: scale(0.90);
    transition: transform 0.6s ease;
}

.logo img {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.panier:hover {
    transform: scale(1.10);
    transition: transform 0.6s ease;
}

/************************** MAIN Accueil **************************/

.prochain {
  padding: 40px 20px;
  text-align: center;
}
.match {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
}

.news {
  padding: 40px 20px;
}

.carte {
  display: flex;
  gap: 20px;
  background: #e0e0e0;
  margin-bottom: 20px;
  padding: 20px;
}

.newsimg {
  width: 120px;
  height: 80px;
  background: #cfcfcf;
}

.barre {
    background-color: #1e1e1e;
    height: 20px;
    width: 100%;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.carteS {
    display: flex;
    gap: 20px;
}

.cardT {
    width: 120px;
    height: 120px;
    background: #dcdcdc;
}

.une {
  padding: 40px 20px;
  background: #dcdcdc;
}

.uneIMG {
  width: 100%;
  height: 200px;
  background: #dcdcdc;
  margin-bottom: 10px;
}

/************************** MAIN Boutique **************************/
/* Responsive */

@media (max-width: 900px){
  .vesteIMG img{
    width: 100%;
    height: auto;
  }

  .tshirtProduit img{
    width: 220px;
    height: auto;
  }
}

@media (max-width: 480px){
  .tshirtProduit img{
    width: 180px;
  }
}

.mainB {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.shop {
    width: 100%;
    max-width: 420px;
    margin: 20px;
}

.titreB {
    margin: 18px;
    padding: 14px 18px;
    text-align: center;
    background: #6f6f6f;
    color: #fff;
    border-radius: 6px;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid #2b2b2b;
}


.veste {
    position: relative;
    background: #9b9b9b;
    border-radius: 16px;
    border: 2px solid #6a6a6a;
    overflow: hidden;
}


.vesteIMG {
    width: 100%;
    height: auto;
    background: rgba(255,255,255,0.15);
}


.vesteTexte {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.25);
}


.supporter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5a5858;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #2b2b2b;
    margin: 6px 0 14px;
    font-weight: 600;
}

.supporterIMG {
    font-size: 18px;
    opacity: 0.9;
}

.tshirtProduit img{
    width: 100%;
    height: auto;
    display: block;
}

.tshirt {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tshirtProduit {
    height: auto;
    border-radius: 12px;
    overflow: visible;
}

.maillots {
    display: inline-block;
    margin: 0 auto;
    padding: 8px 12px;
    background: #4a4a4a;
    color: #fff;
    border-radius: 6px;
    border: 2px solid #2b2b2b;
    font-weight: 600;
    text-align: center;
}

/************************** MAIN Calendrier **************************/
 /*responsive*/
 
.logo-equipe{
  width: 80px;
  height: 80px;
  object-fit: cover;
}

@media (max-width: 700px){
  .match-card{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .logo-equipe{
    width: 70px;
    height: 70px;
  }
}

.calendrier-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}

.titre-container {
    background-color: #666;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 10px 30px;
    margin-bottom: 40px;
    width: 80%;
    text-align: center;
}

.titre-page {
    color: white;
    margin: 0;
    font-size: 32px;
}

.match-card {
    background-color: #999;
    width: 100%;
    min-height: 140px;
    height: auto;
    border-radius: 25px;
    border: 2px solid #333;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 15px;
    gap: 16px;
}


.logo-equipe {
    width: 80px;
    height: 80px;
    object-fit: contain; 
    border-radius: 10px; 
}

.score-label {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 6px 10px;
}

/******************* FOOTER ********************/
/* Responsive */

@media (max-width: 700px){
  .reseau{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .reseau img{
    width: 60px;
    height: auto;
  }

  .mentions p, .fil p{
    text-align: center;
    padding: 0 10px;
  }
}

.down {
    background: linear-gradient(
        to top,
        #f6ec28 0%, 
        #f9f27a 70%,  
        #fffde6 80%,  
        #ffffff 100% 
    );
    padding-bottom: 20px;
    padding-top: 50px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;

}

footer p {
    color: #1e1e1e;
    font-size: 20px;
    padding: 10px;
}

.reseau {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    gap: 50px;
}

.fil p {
    font-size: 15px;
    text-align: center;
}

.mentions hr {
    margin: 20px 0;
    border: 0;
    height: 5px;
    width: 100%;
    background: #1e1e1e;

}

.mentions {
    position: fixed0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/******************* MAIN Club ********************/
/* Responsive */

@media (max-width: 900px){
  .teams{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px){
  .teams{ grid-template-columns: 1fr; }
  .team{ text-align: center; }
  .team-img{ margin: 0 auto; }
}

.club {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;  
  padding: 0 10px;
}

.title {
  background: #6f6f6f;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  margin-bottom: 12px;
  border: 4px solid #1e1e1e;
}

.subtitle {
  display: inline-block;
  background: #4a4a4a;
  color: #fff;
  padding: 16px;
  border-radius: 6px;
  font-size: 22px;
  margin: 18px 0 16px;
  
}


.map {
  height: 240px;
  background: #9b9b9b;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: bold;
  border: 1px solid #1e1e1e;
}


.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo {
  height: 110px;
  background: #9b9b9b;
  border-radius: 12px;
}

.teams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.team {
  background: #9b9b9b;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  font-size: 11px;
}

.team-img {
    background: rgba(255,255,255,0.2);
    width: 100%;
    height: 80px;      
    object-fit: cover; 
    display: block;
}

.team p {
  background: rgba(0,0,0,0.5);
  color: white;
  margin: 0;
  padding: 4px;
}

/****************** MAIN Actualités ********************/

/* PAGE */
.actualite-page {
    max-width: 1300px;
    margin: auto;
    padding: 50px 20px;
}

/* TITRE */
.actualite-title {
    background: #6f6f6f;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    margin-bottom: 50px;
}

.actualite-title h1 {
    margin: 0;
    font-size: 36px;
}

.actualite-title p {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.9;
}

/* GRID */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* CARD */
.event-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* OVERLAY */
.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.3)
    );
}

/* CONTENT */
.event-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 30px;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BADGES */
.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.event-badge.public {
    background: #f7e85c;
    color: #000;
}

.event-badge.staff {
    background: #1e1e1e;
    color: #fff;
}

/* TEXT */
.event-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 18px;
    margin-bottom: 14px;
}

.event-date {
    font-size: 16px;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        height: 260px;
    }
}


/******************** MAIN Contact ********************/

.container {
      max-width: 480px;
      margin: 40px auto;
      padding: 0 16px;
    }

.contact-tag {
      text-align: center;
      font-size: 30px;
      font-weight: bold;
      margin-bottom: 20px;
    }

form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

.row {
      display: flex;
      gap: 12px;
    }

input, select, textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: 14px;
      background: #fff;
    }

textarea {
      resize: vertical;
      min-height: 120px;
    }

button {
      font-family: Montserrat;
      padding: 12px;
      background: #111827;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
}

button:hover {
      background: #1f2937;
    }

.confirmation {
      background: #d1fae5;
      color: #065f46;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 20px;
      text-align: center;
      font-weight: 600;
    }