/* ================================
   JSRR - PARTENAIRES PREMIUM
   STYLE CLUB PROFESSIONNEL
================================ */

/* RESET */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;

  font-family: Arial, Helvetica, sans-serif;

  background: linear-gradient(135deg, #00843d 0%, #f58220 100%);

  color: #333;
}

/* CONTENEUR GENERAL */

.page {
  max-width: 1200px;

  margin: auto;

  padding: 30px 20px;
}

/* HEADER */

.header {
  text-align: center;

  color: white;

  margin-bottom: 40px;
}

.header h1 {
  font-size: 38px;

  margin: 0 0 10px;

  font-weight: 900;
}

.header p {
  font-size: 18px;

  line-height: 1.5;
}

/* SECTIONS */

.section {
  background: rgba(255, 255, 255, 0.15);

  border-radius: 25px;

  padding: 25px;

  margin-bottom: 35px;
}

/* TITRES */

.titre {
  display: inline-block;

  background: white;

  padding: 12px 25px;

  border-radius: 50px;

  font-size: 22px;

  font-weight: 800;

  margin: 0 0 15px;
}

.officiel {
  color: #00843d;
}

.local {
  color: #f58220;
}

.description {
  color: white;

  font-size: 16px;

  margin-bottom: 25px;
}

/* =========================
   CARTES LOGOS
========================= */

.lo.logo-card {
  background: white;

  border-radius: 16px;

  height: 160px;

  padding: 15px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 10px;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

  overflow: hidden;

  transition: 0.3s;
}
go-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
.logo-card img {
  width: 100%;

  max-width: 130px;

  height: 75px;

  object-fit: contain;
}
/.logo-card span {
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  color: #333;
}
/* =========================
 PARTENAIRES OFFICIELS
========================= */

.grille-officiels {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 20px;
}

.grille-officiels .logo-card {
  width: 100%;
}

/* =========================
 CAROUSEL LOCAUX
========================= */

.carousel {
  overflow: hidden;

  width: 100%;
}

.carousel-track {
  display: flex;

  gap: 20px;

  width: max-content;

  animation: defilement 45s linear infinite;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-track .logo-card {
  width: 180px;

  flex-shrink: 0;
}

@keyframes defilement {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================
 STATISTIQUES
========================= */

.stats {
  display: flex;

  justify-content: center;

  gap: 25px;

  margin: 35px 0;

  flex-wrap: wrap;
}

.stats div {
  background: white;

  border-radius: 20px;

  padding: 20px;

  min-width: 180px;

  text-align: center;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stats strong {
  display: block;

  font-size: 35px;

  color: #00843d;
}

.stats span {
  font-weight: bold;
}

/* =========================
 DEVENIR PARTENAIRE
========================= */

.contact-partenaire {
  background: white;

  border-radius: 25px;

  padding: 35px;

  text-align: center;
}

.contact-partenaire h2 {
  color: #00843d;

  font-size: 28px;
}

.contact-partenaire p {
  font-size: 17px;
}

.contact-partenaire a {
  display: inline-block;

  margin-top: 20px;

  padding: 15px 30px;

  border-radius: 50px;

  background: linear-gradient(135deg, #00843d, #f58220);

  color: white;

  text-decoration: none;

  font-weight: 800;

  transition: 0.3s;
}

.contact-partenaire a:hover {
  transform: scale(1.05);
}

/* FOOTER */

footer {
  text-align: center;

  color: white;

  font-weight: bold;

  font-size: 18px;

  padding: 30px 0 10px;
}

/* =========================
 RESPONSIVE
========================= */

@media (max-width: 900px) {
  .grille-officiels {
    grid-template-columns: repeat(3, 1fr);
  }

  .header h1 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 20px 10px;
  }

  .grille-officiels {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 18px;
  }

  .logo-card {
    height: 140px;
  }

  .carousel-track .logo-card {
    width: 145px;
  }

  .header h1 {
    font-size: 25px;
  }

  .titre {
    font-size: 18px;
  }

  .stats div {
    width: 100%;
  }
}
/* ===============================
   OPTIMISATION IFRAME FOOTEO
================================ */

@media (max-width: 768px) {
  .page {
    padding: 15px 10px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header p {
    font-size: 14px;
  }

  .section {
    padding: 15px;

    border-radius: 18px;
  }

  .titre {
    font-size: 18px;

    padding: 10px 18px;
  }

  .logo-card {
    height: 145px;

    padding: 12px;
  }

  .logo-card img {
    height: 65px;

    max-width: 110px;
  }

  .logo-card span {
    font-size: 12px;
  }

  .carousel-track {
    gap: 15px;
  }

  .carousel-track .logo-card {
    width: 140px;
  }

  .stats {
    display: none;
  }

  .contact-partenaire {
    padding: 20px;
  }
}
