
/* Css de base */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 96px;
  background-color: #050505;
  color: #f3eee4;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

section {
  padding: 100px 20px;
}

.conteneur {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.titre-section {
  text-align: center;
  font-size: 3rem;
  color: #d9b35f;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sous-titre-section {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
  color: #d7cfbf;
  font-family: "Montserrat", sans-serif;
}

.icone-header,
.icone-footer {
  color: #d9b35f;
  margin-right: 8px;
}

.boutons-galerie button i {
  margin-right: 8px;
}

/* Header */

.entete-site {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.97);
  border-bottom: 1px solid rgba(217, 179, 95, 0.45);
  transition: transform 0.35s ease;
}

.entete-cache {
  transform: translateY(-100%);
}

.barre-haut {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.zone-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.logo-image {
  width: 110px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nom-site {
  font-size: 1.05rem;
  color: #f0d28a;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.menu-principal {
  margin-left: auto;
}

.menu-principal ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.menu-principal li {
  margin: 0;
  padding: 0;
}

.menu-principal a {
  color: #f5efe3;
  font-size: 1.05rem;
  transition: 0.3s;
  white-space: nowrap;
}

.menu-principal a:hover {
  color: #d9b35f;
}
/* accueil */

.accueil {
  min-height: calc(125vh - 96px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/accueil tp1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.overlay-accueil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.42),
    rgba(0, 0, 0, 0.68)
  );
}

.contenu-accueil {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.bloc-titre-accueil {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.petit-titre-accueil {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #cfa74d;
  margin: 0 0 22px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

.grand-titre-accueil {
  font-family: "Cinzel", serif;
  margin: 0;
  font-size: 4.6rem;
  line-height: 1.02;
  font-weight: 600;
  color: #f1d48b;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(90, 60, 15, 0.35);
}

.bloc-titre-accueil::before,
.bloc-titre-accueil::after {
  content: "";
  display: block;
  width: 180px;
  height: 1px;
  margin: 0 auto 24px;
  background: linear-gradient(to right, transparent, #cfa74d, transparent);
}

.bloc-titre-accueil::after {
  margin: 24px auto 0;
}

.texte-accueil {
  font-family: "Montserrat", sans-serif;
  max-width: 820px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
  color: #f4ede0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.bouton-principal {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid #d9b35f;
  color: #f0d28a;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: rgba(20, 12, 5, 0.5);
  transition: 0.3s;
}

.bouton-principal:hover {
  background-color: #d9b35f;
  color: #111111;
}

/* Mes sections générales */
.section-apercu {
  background: linear-gradient(to bottom, #090909, #111111);
  border-top: 1px solid rgba(217, 179, 95, 0.2);
}

.section-foncee {
  background: linear-gradient(to bottom, #0a0a0a, #111111);
}

/* Trophées */
.zone-carousel-trophees {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  padding: 20px 0;
}

.carousel-trophees {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 560px;
  overflow: hidden;
  padding: 18px 0;
}

.carte-trophee-premium {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  max-width: 80%;
  min-height: 420px;
  padding: 30px 28px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.97), rgba(8, 8, 8, 1));
  border: 1px solid rgba(217, 179, 95, 0.32);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  text-align: center;
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition:
    transform 0.55s ease,
    opacity 0.55s ease,
    filter 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease;
  z-index: 1;
  filter: blur(2px);
  overflow: hidden;
}

.carte-trophee-premium.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  filter: blur(0);
  border-color: rgba(217, 179, 95, 0.65);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.carte-trophee-premium.gauche {
  transform: translate(-92%, -50%) scale(0.82);
  opacity: 0.42;
  z-index: 2;
  filter: blur(0.5px);
}

.carte-trophee-premium.droite {
  transform: translate(-8%, -50%) scale(0.82);
  opacity: 0.42;
  z-index: 2;
  filter: blur(0.5px);
}

.carte-trophee-premium.cachee {
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.image-trophee-premium {
  width: 190px;
  height: 190px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.image-trophee-premium img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
  transform-origin: center;
}

.carte-trophee-premium.active:hover {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
  border-color: #d9b35f;
}

.carte-trophee-premium.active:hover .image-trophee-premium img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 14px rgba(217, 179, 95, 0.3));
}

.carte-trophee-premium h3 {
  margin: 0 0 14px;
  font-size: 1.9rem;
  color: #f0d28a;
  line-height: 1.15;
}

.texte-trophee {
  font-family: "Montserrat", sans-serif;
  color: #ddd5c7;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.joueur-trophee {
  font-family: "Montserrat", sans-serif;
  color: #d9b35f;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  margin: 0;
}

.fleche-trophees {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 95, 0.55);
  background: rgba(10, 10, 10, 0.88);
  color: #f0d28a;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.fleche-trophees:hover {
  background: #d9b35f;
  color: #111111;
}

@media (max-width: 1100px) {
  .carousel-trophees {
    height: 560px;
  }

  .carte-trophee-premium {
    width: 380px;
    min-height: 420px;
    padding: 28px 24px 24px;
  }

  .image-trophee-premium {
    width: 170px;
    height: 170px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 900px) {
  .zone-carousel-trophees {
    gap: 10px;
  }

  .carousel-trophees {
    height: 620px;
  }

  .carte-trophee-premium {
    width: 92%;
    max-width: 92%;
    min-height: 470px;
    padding: 26px 20px 24px;
  }

  .carte-trophee-premium.gauche,
  .carte-trophee-premium.droite {
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(0.72);
  }

  .image-trophee-premium {
    width: 155px;
    height: 155px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.55rem;
  }

  .texte-trophee {
    font-size: 0.98rem;
  }

  .joueur-trophee {
    font-size: 0.92rem;
  }

  .fleche-trophees {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .zone-carousel-trophees {
    gap: 6px;
  }

  .carousel-trophees {
    height: 680px;
  }

  .carte-trophee-premium {
    width: 100%;
    max-width: 86%;
    min-height: 540px;
    padding: 24px 16px 22px;
  }

  .image-trophee-premium {
    width: 145px;
    height: 145px;
    margin-bottom: 18px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.22rem;
    line-height: 1.2;
  }

  .texte-trophee {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .joueur-trophee {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .carousel-trophees {
    height: 720px;
  }

  .carte-trophee-premium {
    max-width: 84%;
    min-height: 570px;
  }

  .image-trophee-premium {
    width: 130px;
    height: 130px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.12rem;
  }
}

/* Légendes */


.zone-carrousel-legendes {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.fenetre-legendes {
  overflow: hidden;
  width: 100%;
  padding: 12px 4px;
}

.piste-legendes {
  display: flex;
  gap: 28px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.piste-legendes .carte-joueur {
  min-width: calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  flex: 0 0 calc((100% - 56px) / 3);
  background: linear-gradient(
    180deg,
    rgba(25, 25, 25, 0.98),
    rgba(10, 10, 10, 1)
  );
  border: 1px solid rgba(217, 179, 95, 0.38);
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.piste-legendes .carte-joueur:hover {
  transform: translateY(-8px);
  border-color: #d9b35f;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.image-joueur {
  height: 340px;
  overflow: hidden;
  background-color: #111;
}

.image-joueur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contenu-joueur {
  padding: 24px;
}

.nom-joueur {
  margin: 0 0 10px;
  color: #f0d28a;
  font-size: 2rem;
}

.role-joueur {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d9b35f;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.contenu-joueur p:last-child {
  font-family: "Montserrat", sans-serif;
  color: #ddd5c7;
  margin: 0;
}

.fleche-legendes {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 95, 0.55);
  background: rgba(10, 10, 10, 0.88);
  color: #f0d28a;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.fleche-legendes:hover {
  background: #d9b35f;
  color: #111111;
}

.fleche-legendes.cachee {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .piste-legendes .carte-joueur {
    min-width: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .image-joueur {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .zone-carrousel-legendes {
    gap: 10px;
  }

  .piste-legendes .carte-joueur {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .image-joueur {
    height: 300px;
  }

  .nom-joueur {
    font-size: 1.8rem;
  }

  .role-joueur {
    font-size: 0.85rem;
  }

  .fleche-legendes {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .fenetre-legendes {
    padding: 8px 2px;
  }

  .image-joueur {
    height: 250px;
  }

  .contenu-joueur {
    padding: 20px;
  }

  .nom-joueur {
    font-size: 1.55rem;
  }

  .role-joueur {
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }

  .contenu-joueur p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* moments */

.section-moments {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.68)),
    url("images/fond.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.boutons-galerie {
  text-align: center;
  margin-bottom: 30px;
}

.boutons-galerie button {
  background-color: transparent;
  border: 1px solid rgba(217, 179, 95, 0.55);
  color: #d9b35f;
  padding: 12px 18px;
  margin: 6px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

.boutons-galerie button:hover {
  background-color: #d9b35f;
  color: #111111;
}

.bloc-galerie {
  display: none;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(217, 179, 95, 0.4);
  border-radius: 16px;
  padding: 38px 30px;
}

.bloc-galerie.actif {
  display: block;
}

.bloc-galerie h3 {
  font-size: 2.1rem;
  color: #f0d28a;
  margin-top: 0;
  margin-bottom: 12px;
}

.bloc-galerie p {
  font-family: "Montserrat", sans-serif;
  color: #ddd5c7;
  max-width: 700px;
  margin: 0 auto;
}

.video-moment {
  max-width: 900px;
  margin: 30px auto 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(217, 179, 95, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background-color: #000;
}

.video-moment iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Footer */

footer {
  background-color: #050505;
  border-top: 1px solid rgba(217, 179, 95, 0.35);
  text-align: center;
  padding: 40px 20px;
}

.section-sources {
  padding: 80px 20px;
  background: #000;
  position: relative;
  z-index: 1;
}

.section-sources .conteneur {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-sources ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.section-sources li {
  margin-bottom: 18px;
}

.section-sources a {
  color: #e0c067;
  text-decoration: underline;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

footer p {
  margin: 8px 0;
  color: #d6cdbd;
  font-family: "Montserrat", sans-serif;
}

/*RESPONSIVE*/

@media (max-width: 1100px) {
  .logo-image {
    width: 95px;
  }

  .nom-site {
    font-size: 0.98rem;
  }

  .menu-principal ul {
    gap: 24px;
  }

  .grand-titre-accueil {
    font-size: 3.7rem;
    line-height: 1.05;
  }

  .carousel-trophees {
    height: 470px;
  }

  .carte-trophee-premium {
    width: 360px;
    padding: 28px 24px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.75rem;
  }

  .image-trophee-premium {
    width: 135px;
    height: 135px;
  }

  .piste-legendes .carte-joueur {
    min-width: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .image-joueur {
    height: 320px;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 0;
  }

  .entete-site {
    position: relative;
  }

  .barre-haut {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    gap: 14px;
  }

  .zone-logo {
    justify-content: center;
  }

  .menu-principal {
    margin-left: 0;
  }

  .menu-principal ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .accueil {
    min-height: 100vh;
  }

  .grand-titre-accueil {
    font-size: 3rem;
    line-height: 1.08;
  }

  .texte-accueil {
    max-width: 90%;
  }

  .carousel-trophees {
    height: 500px;
  }

  .carte-trophee-premium {
    width: 92%;
    max-width: 92%;
    min-height: 360px;
    padding: 24px 18px;
  }

  .carte-trophee-premium.gauche,
  .carte-trophee-premium.droite {
    opacity: 0.14;
    transform: translate(-50%, -50%) scale(0.72);
  }

  .image-trophee-premium {
    width: 120px;
    height: 120px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.45rem;
  }

  .texte-trophee,
  .joueur-trophee {
    font-size: 0.95rem;
  }

  .zone-carrousel-legendes {
    gap: 10px;
  }

  .piste-legendes .carte-joueur {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .image-joueur {
    height: 300px;
  }

  .nom-joueur {
    font-size: 1.8rem;
  }

  .role-joueur {
    font-size: 0.85rem;
  }

  .fleche-legendes,
  .fleche-trophees {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 80px 20px;
  }

  .conteneur {
    width: 94%;
  }

  .logo-image {
    width: 82px;
  }

  .nom-site {
    font-size: 0.92rem;
  }

  .petit-titre-accueil {
    font-size: 0.75rem;
    letter-spacing: 4px;
  }

  .grand-titre-accueil {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .texte-accueil {
    font-size: 1rem;
  }

  .titre-section {
    font-size: 2.2rem;
  }

  .sous-titre-section {
    font-size: 1rem;
  }

  .carousel-trophees {
    height: 520px;
  }

  .carte-trophee-premium {
    width: 100%;
    max-width: 88%;
    min-height: 370px;
    padding: 22px 16px;
  }

  .image-trophee-premium {
    width: 105px;
    height: 105px;
  }

  .carte-trophee-premium h3 {
    font-size: 1.28rem;
  }

  .texte-trophee {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .joueur-trophee {
    font-size: 0.88rem;
  }

  .fenetre-legendes {
    padding: 8px 2px;
  }

  .image-joueur {
    height: 250px;
  }

  .contenu-joueur {
    padding: 20px;
  }

  .nom-joueur {
    font-size: 1.55rem;
  }

  .role-joueur {
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }

  .contenu-joueur p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .bloc-galerie {
    padding: 28px 18px;
  }

  .bloc-galerie h3 {
    font-size: 1.8rem;
  }

  .bloc-galerie p {
    font-size: 0.95rem;
  }
}
