﻿/* ========================================
   FONT HORSEMEN
======================================== */

@font-face {
  font-family: "Horsemen";
  src: url("assets/fonts/Horsemen (Demo Version).otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AgencyB";
  src: url("assets/fonts/AGENCYB.woff2") format("woff2"),
       url("assets/fonts/AGENCYB.TTF") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.joker-text {
  font-family: "Horsemen", sans-serif;
  font-size: 0.5em;
  line-height: 1;
}

.joker-logo-inline {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

/* ========================================
   VARIABLES
======================================== */

:root {
  /* Couleurs */
  --bg: #f4f4f4;
  --text: #c8a95b;
  --muted: #555;
  --white: #ffffff;
  --accent: #567e74;
  --accent-dark: #3d6459;

  /* Dégradés or */
  --gold-bright: linear-gradient(
    135deg,
    #8b6914 0%,
    #f5d285 35%,
    #d4a843 65%,
    #8b6914 100%
  );
  --gold-dark: linear-gradient(
    135deg,
    #5c3d0a 0%,
    #c8a95b 40%,
    #9a7230 60%,
    #5c3d0a 100%
  );

  /* Layout */
  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

/* ========================================
   RESET / BASE
======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: "AgencyB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========================================
   UTILITAIRES / LAYOUT
======================================== */

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title span {
  display: inline-block;
  width: 300px;
  height: 5px;
  background: var(--accent);
  border-radius: 99px;
}

.center-button {
  text-align: center;
  margin-top: 65px;
}

.hidden {
  display: none !important;
}

/* ========================================
   SECTION SOMBRE (partagée index + sponsoring)
======================================== */

.section-dark {
  background: #1a1a1a url("assets/img/fondahah.jpg") repeat;
  background-size: auto;
  color: #a89927;
}

.section-dark p,
.section-dark li {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-dark .section-title h2 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[id] {
  scroll-margin-top: 88px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   BOUTONS
======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #567e74, #3d6459);
  color: #000;

  border: none;
  border-radius: 999px;
  padding: 14px 28px;

  font-family: "AgencyB", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(86, 126, 116, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 18px rgba(86, 126, 116, 0.6);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 5px rgba(86, 126, 116, 0.5);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(245, 210, 133, 0.55),
    rgba(200, 169, 91, 0.3),
    transparent
  );

  transition: left 1s ease;
}

.btn-primary:hover::before {
  left: 160%;
}

.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);

  text-decoration: none;
  font-family: "AgencyB", sans-serif;
  font-size: 1.1rem;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(200, 169, 91, 0.45);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(245, 210, 133, 0.35),
    rgba(200, 169, 91, 0.2),
    transparent
  );

  transition: left 1s ease;
}

.btn-secondary:hover::before {
  left: 160%;
}

/* ========================================
   RUPTURE DE STOCK
======================================== */

.out-of-stock-badge {
  display: inline-block;
  background: rgba(255, 176, 32, 0.15);
  color: #8a5b00;
  border: 1px solid rgba(255, 176, 32, 0.4);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ========================================
   HEADER
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(233, 233, 233, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  width: 88px;
  height: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list a {
  font-size: 1.3rem;
  font-weight: 500;
  transition: var(--transition);
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list a:hover {
  color: var(--accent-dark);
}

.nav-list a.nav-active {
  color: var(--accent-dark);
  font-weight: 700;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-socials a,
.footer-socials a {
  font-size: 1.25rem;
  transition: var(--transition);
}

.header-socials a {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-socials a:hover,
.footer-socials a:hover {
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ========================================
   ICÔNE PANIER
======================================== */

#cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

#cart-icon i {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;

  background: #890092;
  color: #c8a95b;

  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 50%;
}

/* ========================================
   HERO
======================================== */

.hero {
  background: #111;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(86, 126, 116, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  text-align: center;
  margin-bottom: 44px;
}

.hero-kicker {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-tagline h1 {
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  font-weight: 800;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero-joker-logo {
  display: block;
  width: auto;
  height: clamp(3rem, 8vw, 5rem);
  margin: 0 auto;
  object-fit: contain;
}

.hero-tagline h1 span {
  color: var(--accent);
}

.video-box {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;

  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(86, 126, 116, 0.12);
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

/* ========================================
   ABOUT
======================================== */

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;

  max-width: 900px;
  margin: 0 auto;
}

.about-image {
  width: 320px;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-content h2 span {
  color: var(--accent-dark);
}

.about-content p {
  max-width: 420px;
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================
   SHOP / BOUTIQUE
======================================== */

.shop-section {
  padding: 120px 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  justify-content: center;
  gap: 60px 90px;

  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  text-align: center;
  display: flex;
  justify-content: center;
}

.product-card a,
.product-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-image.circle {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;

  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.product-image.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.product-card:hover .product-image.circle {
  transform: scale(1.05);
  box-shadow:
    0 0 0 2px rgba(86, 126, 116, 0.45),
    var(--shadow);
}

.section-dark .product-image.circle {
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .product-card h3 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-dark .price {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.price {
  font-size: 1.35rem;
  font-weight: 500;
}

/* ========================================
   EVENTS
======================================== */

.events-slider {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.events-viewport {
  overflow: hidden;
  flex: 1;
  padding: 10px 0;
}

.events-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.event-card {
  flex: 0 0 calc((100% - 48px) / 3);
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.35s ease;
  opacity: 1;
  filter: none;
}

.event-card.is-active {
  transform: scale(1);
}

.event-card.is-left {
  transform: scale(0.93);
}

.event-card.is-right {
  transform: scale(0.95);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.event-card h3 {
  margin-top: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.countdown {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
}

.countdown span {
  color: var(--accent);
}

.countdown.live {
  color: #e10600;
  font-weight: 800;
  letter-spacing: 1px;
}

.countdown.ended {
  color: #777;
  font-weight: 700;
}

.slider-btn {
  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;

  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.event-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;

  border-radius: 999px;
  background: var(--accent);
  color: #111;

  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;

  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.event-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.event-description {
  margin: 10px 0 12px;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.event-location {
  margin: 8px 0 4px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-align: center;
  letter-spacing: 0.5px;
}

/* ========================================
   SPONSORS
======================================== */

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  justify-content: center;
  gap: 50px 80px;
}

.sponsor-item {
  display: flex;
  justify-content: center;
}

.sponsor-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.sponsor-logo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;

  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  margin: 0 auto;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Logos spécifiques */
.sponsor-27-concept {
  width: 95%;
  height: 95%;
}

.sponsor-pr-performance {
  width: 108%;
  height: 108%;
}

.sponsor-coverzone {
  width: 100%;
  height: 100%;
}

.sponsor-link:hover .sponsor-logo-circle {
  transform: scale(1.05);
  box-shadow:
    0 0 0 2px rgba(86, 126, 116, 0.45),
    var(--shadow);
}

.sponsor-link p {
  margin-top: 10px;
}

.section-dark .sponsor-logo-circle {
  background: #fff;
}

.section-dark .sponsor-link p {
  color: rgba(168, 153, 39, 0.75);
}

/* ========================================
   GALERIE
======================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-info {
  padding: 10px;
}

.gallery-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.gallery-info p {
  font-size: 1rem;
  color: #666;
}

.gallery-actions {
  margin-top: 10px;
}

.gallery-actions-top {
  text-align: center;
  margin: 30px 0;
}

.gallery-actions-bottom {
  text-align: center;
  margin-top: 30px;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #ff3b3b;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform var(--transition);
}

.like-btn:hover {
  transform: scale(1.1);
}

/* ========================================
   GALERIE — POST GROUPÉ
======================================== */

.gallery-post-cover {
  position: relative;
  cursor: pointer;
}

.gallery-post-cover img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.gallery-post-cover:hover img {
  opacity: 0.88;
}

.gallery-post-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #a89927;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  pointer-events: none;
}

/* ========================================
   CARROUSEL GALERIE
======================================== */

.gallery-carousel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.carousel-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  border: none;
  color: transparent;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.carousel-close:hover {
  opacity: 1;
}

.carousel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  width: 100%;
}

.carousel-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-footer {
  width: 100%;
  padding: 12px 4px 0;
  color: #a89927;
}

.carousel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.carousel-username {
  font-weight: 700;
  font-size: 15px;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-counter {
  font-size: 13px;
  color: #aaa;
}

.carousel-comment {
  font-size: 14px;
  color: #ccc;
  margin: 0 0 10px;
  min-height: 20px;
}

.carousel-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #fff;
}

.carousel-like {
  color: #ff3b3b;
  font-size: 15px;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #a89927;
  font-size: 42px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  .gallery-carousel-overlay {
    padding: 12px;
  }

  .carousel-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .carousel-prev {
    left: 6px;
  }

  .carousel-next {
    right: 6px;
  }
}

/* ========================================
   MODAL UPLOAD
======================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
  padding: 20px;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;

  background: #f3f3f3;
  border-radius: 18px;
  padding: 28px 24px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;

  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
  width: 100%;
  font: inherit;
}

.form-group input[type="text"],
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 10px;
  background: #fff;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

#uploadMessage {
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.file-upload input[type="file"] {
  display: none;
}

.file-btn {
  background: linear-gradient(135deg, #567e74, #3d6459);
  color: #000;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(86, 126, 116, 0.4);
}

.file-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(86, 126, 116, 0.8);
}

#fileName {
  font-size: 14px;
  color: #333;
  word-break: break-word;
}

.preview-wrapper {
  margin-top: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.preview-image {
  display: block;
  width: 100%;
  max-width: 320px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(86, 126, 116, 0.25);
  background: #fff;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.preview-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  background: #111;
  color: rgba(168, 153, 39, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Colonne brand */
.footer-col-brand {
  padding-right: 24px;
}

.footer-logo img {
  width: 72px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-size: 1.3rem;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 1.3rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.55;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Headings */
.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* Liens */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 1.2rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.65;
  transition:
    color var(--transition),
    opacity var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Réseaux sociaux */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(168, 153, 39, 0.7);
  transition:
    background var(--transition),
    color var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  color: #000;
  transform: none;
}

/* Paiement sécurisé */
.footer-payment {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-payment span {
  display: block;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
  margin-bottom: 10px;
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
  font-size: 1.8rem;
  opacity: 0.6;
}

.footer-payment-icons i {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Barre basse */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.footer-bottom p {
  font-size: 1.3rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.4;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 1.3rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.footer-bottom-links a:hover {
  opacity: 0.85;
}

/* ========================================
   PAGE PANIER
======================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  gap: 20px;
  align-items: center;

  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px;
}

.cart-item-image img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item-info h3 {
  margin-bottom: 10px;
}

.cart-item-size,
.cart-item-price,
.cart-line-total {
  opacity: 0.9;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cart-qty-input {
  width: 90px;
  margin-top: 8px;
  padding: 10px 12px;

  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #ff3b3b;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.cart-summary {
  position: sticky;
  top: 110px;

  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.cart-summary h3 {
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.summary-line.total {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.cart-empty {
  text-align: center;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
}

/* ========================================
   RESPONSIVE — TABLETTE (≤ 992px)
======================================== */

@media (max-width: 992px) {
  .nav-list {
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 320px;
    margin: 0 auto;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 50px 50px;
  }

  .event-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .event-image-wrapper {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 120px 1fr;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (≤ 768px)
======================================== */

@media (max-width: 768px) {

  .header-inner {
    min-height: 72px;
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;

    background: var(--bg);
    padding: 18px 20px;
    display: none;

    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-socials {
    display: none;
  }

  #cart-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .video-box {
    min-height: 220px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-image.circle {
    width: 180px;
    height: 180px;
  }

  .events-slider {
    gap: 10px;
  }

  .event-card {
    flex: 0 0 100%;
  }

  .event-image-wrapper {
    height: auto;
    aspect-ratio: auto;
  }

  .event-image-wrapper img {
    height: auto;
    object-fit: fill;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col-brand {
    grid-column: auto;
  }

  .footer-logo img {
    margin: 0 auto 14px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-payment-icons {
    justify-content: center;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-image img {
    max-width: 100%;
  }
}

/* ========================================
   RESPONSIVE — PETIT MOBILE (≤ 480px)
======================================== */

@media (max-width: 480px) {
  .section {
    padding: 46px 0;
  }

  .logo img {
    width: 72px;
  }

  .about-content p,
  .product-card h3,
  .price,
  .event-card h3 {
    font-size: 1.25rem;
  }

  .product-image.circle {
    width: 150px;
    height: 150px;
  }
}

/* ========================================
   CONFIRMATION PAGES (success / cancel)
======================================== */

.confirmation-page {
  min-height: calc(100vh - 78px - 61px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.confirmation-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.confirmation-icon.success {
  background: linear-gradient(135deg, #567e74, #3d6459);
  box-shadow: 0 0 20px rgba(86, 126, 116, 0.4);
}

.confirmation-icon.cancel {
  background: #f5f5f5;
  border: 2px solid #ddd;
}

.confirmation-card h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.confirmation-card p {
  color: var(--muted);
  margin-bottom: 28px;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   HERO — MODE VIDÉO PLEIN ÉCRAN (Version B)
======================================== */

body.hero-bg-mode .site-header {
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.hero-bg-mode .site-header .nav-list a {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .site-header .header-socials a {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .site-header #cart-icon i {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .site-header .menu-toggle {
  color: #a89927;
}

body.hero-bg-mode .hero {
  position: relative;
  min-height: 70vh;
  padding: 0;
  display: flex;
  align-items: center;
}

body.hero-bg-mode .hero::before {
  display: none;
}

body.hero-bg-mode .hero .container {
  position: static;
  padding-top: 78px;
}

body.hero-bg-mode .hero-tagline {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

body.hero-bg-mode .video-box {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  z-index: 0;
}

body.hero-bg-mode .video-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

body.hero-bg-mode .hero-video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0.6;
}

/* À PROPOS — parallax uniquement en Version B */

body.hero-bg-mode .about {
  position: relative;
  background: url("assets/img/e92compresser.jpg") center / cover fixed;
  background-color: #111;
}

body.hero-bg-mode .about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

body.hero-bg-mode .about .container {
  position: relative;
  z-index: 1;
}

body.hero-bg-mode .about-content h2 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .about-content h2 span {
  color: var(--accent);
}

body.hero-bg-mode .about-content p {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* EVENTS — parallax uniquement en Version B */

/* EVENTS — parallax + retravail complet Version B */

body.hero-bg-mode .events {
  position: relative;
  background: url("assets/img/e92drift.jpg") center / cover fixed;
  background-color: #111;
}

body.hero-bg-mode .events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  pointer-events: none;
}

body.hero-bg-mode .events .container {
  position: relative;
  z-index: 1;
}

/* Titre section */
body.hero-bg-mode .events .section-title h2 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2rem);
}

/* Cartes événements — glassmorphism */
body.hero-bg-mode .event-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 10px 14px;
  backdrop-filter: blur(10px);
}

body.hero-bg-mode .event-card.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(86, 126, 116, 0.3);
  box-shadow: 0 0 24px rgba(86, 126, 116, 0.1);
}

/* Image poster avec ombre forte */
body.hero-bg-mode .event-image-wrapper {
  border-radius: 8px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Texte nom d'événement */
body.hero-bg-mode .event-card h3 {
  color: var(--accent);
}

/* Countdown */
body.hero-bg-mode .countdown {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .countdown.ended {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.6;
}

/* Description & localisation */
body.hero-bg-mode .event-description {
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.8;
}

body.hero-bg-mode .event-location {
  color: var(--accent);
}

/* Bouton événement */
body.hero-bg-mode .event-btn {
  box-shadow: 0 0 12px rgba(86, 126, 116, 0.35);
}

/* Boutons slider */
body.hero-bg-mode .slider-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #a89927;
  backdrop-filter: blur(8px);
  box-shadow: none;
}

body.hero-bg-mode .slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* GALERIE — parallax + overlay Version B */

body.hero-bg-mode #galerie {
  position: relative;
  background: url("assets/img/e92backcompresser.jpg") center / cover fixed;
  background-color: #111;
}

body.hero-bg-mode #galerie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

body.hero-bg-mode #galerie .container {
  position: relative;
  z-index: 1;
}

body.hero-bg-mode #galerie .section-title h2 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 3px;
  text-transform: uppercase;
}

body.hero-bg-mode .gallery-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

body.hero-bg-mode .gallery-info h4 {
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.hero-bg-mode .gallery-info p {
  color: rgba(168, 153, 39, 0.7);
}

@media (max-width: 768px) {
  body.hero-bg-mode .about {
    background-attachment: scroll;
    background-size: cover;
    background-position: 30% center;
  }
  body.hero-bg-mode .events {
    background-attachment: scroll;
    background-size: cover;
    background-position: center 40%;
  }
  body.hero-bg-mode #galerie {
    background-attachment: scroll;
    background-size: cover;
    background-position: 60% center;
  }
}

/* ========================================
   BOUTIQUE - VOIR PLUS
======================================== */

.shop-see-more {
  text-align: center;
  margin-top: 2.5rem;
}
