/* ==========================================================================
   LB TEAM RACING — Feuille de style commune
   Palette : noir / gris anthracite / rouge racing / blanc
   Approche mobile-first : la valeur par defaut est 1 colonne,
   le multi-colonnes vit dans @media (min-width: 768px).
   ========================================================================== */

:root {
  /* Fonds clairs (gris clair du logo) */
  --noir: #eceded;
  --noir-2: #f6f7f9;
  --anthracite: #ffffff;
  --anthracite-2: #eff1f4;
  --bordure: #d8dbe1;
  --gris: #63666f;
  --gris-clair: #2f3138;
  --blanc: #ffffff;
  --encre: #14161a;
  --sombre: #17181c;
  --rouge: #e10600;
  --rouge-fonce: #b00500;
  --rouge-clair: #ff2b1f;
  --rouge-texte: #c00500;

  --radius: 4px;
  --max: 1240px;
  --header-h: 76px;

  --font-titre: "Barlow Condensed", "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-texte: "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.35s var(--ease);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--gris-clair);
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  color: var(--encre);
  margin: 0 0 0.5em;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 9vw, 5.2rem); }
h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.6rem); }
p { margin: 0 0 1.1em; }

::selection { background: var(--rouge); color: #fff; }

/* --------------------------------------------------------------------------
   Utilitaires
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }

@media (min-width: 768px) {
  .section { padding: 110px 0; }
}

.section-dark { background: var(--noir-2); }
.section-anthracite { background: var(--anthracite); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-texte);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--rouge);
}

.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head p { color: var(--gris); margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.lead { font-size: 1.05rem; color: var(--gris); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-texte);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--rouge);
  color: var(--blanc);
}
.btn-primary:hover {
  background: var(--rouge-clair);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(225, 6, 0, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--encre);
  border-color: rgba(20, 22, 26, 0.28);
}
.btn-ghost:hover {
  border-color: var(--encre);
  background: rgba(20, 22, 26, 0.06);
}

.btn-dark {
  background: #ffffff;
  color: var(--encre);
  border-color: var(--bordure);
  box-shadow: 0 2px 8px rgba(15, 15, 26, 0.06);
}
.btn-dark:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(248, 249, 251, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid rgba(20, 22, 26, 0.08);
}

.site-header.scrolled {
  background: rgba(248, 249, 251, 0.97);
  border-bottom-color: var(--bordure);
  box-shadow: 0 10px 30px -22px rgba(20, 22, 26, 0.4);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

@media (min-width: 1025px) {
  .brand-mark { width: 50px; height: 50px; flex: 0 0 50px; }
  .brand-text strong { font-size: 1.28rem; }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
}

.brand-text strong {
  font-family: var(--font-titre);
  font-size: 1.18rem;
  letter-spacing: 0.05em;
  color: var(--encre);
  text-transform: uppercase;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
}

/* Liens desktop */
.nav-desktop { display: none; }
.header-cta { display: none; }

/* Bouton hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(20, 22, 26, 0.22);
  background: rgba(20, 22, 26, 0.04);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: var(--transition);
}

.hamburger:hover { border-color: var(--rouge); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--encre);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1025px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .nav-desktop a {
    position: relative;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris-clair);
    padding: 6px 0;
    transition: color var(--transition);
  }

  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--rouge);
    transition: width 0.35s var(--ease);
  }

  .nav-desktop a:hover,
  .nav-desktop a.active { color: var(--encre); }
  .nav-desktop a:hover::after,
  .nav-desktop a.active::after { width: 100%; }

  .header-cta { display: inline-flex; padding: 12px 24px; }
  .hamburger { display: none; }
}

/* --------------------------------------------------------------------------
   Menu mobile plein écran
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 28px 40px;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  visibility: hidden;
  opacity: 0;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: opacity 0.4s var(--ease), visibility 0.4s, clip-path 0.55s var(--ease);
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  clip-path: circle(150% at calc(100% - 44px) 38px);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--blanc);
  font-size: 1.6rem;
  line-height: 1;
}

.mobile-menu-close:hover { border-color: var(--rouge); color: var(--rouge); }

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-menu nav a {
  font-family: var(--font-titre);
  font-size: clamp(1.7rem, 9vw, 2.6rem);
  text-transform: uppercase;
  color: var(--blanc);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}

.mobile-menu.is-open nav a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.28s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.34s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.4s; }

.mobile-menu nav a:hover,
.mobile-menu nav a.active { color: var(--rouge); }

.mobile-menu nav a .num {
  font-family: var(--font-texte);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--rouge);
  font-weight: 700;
}

.mobile-menu-foot {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.mobile-menu-foot a { color: #e8e9ec; }
.mobile-menu-foot a:hover { color: var(--rouge); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.58) 0%,
      rgba(8, 8, 10, 0.26) 32%,
      rgba(8, 8, 10, 0.48) 74%,
      rgba(8, 8, 10, 0.70) 100%
    ),
    linear-gradient(
      100deg,
      rgba(8, 8, 10, 0.62) 0%,
      rgba(8, 8, 10, 0.28) 44%,
      rgba(8, 8, 10, 0) 74%
    );
}

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero h1 { margin-bottom: 20px; color: #ffffff; }
.hero h1 em {
  font-style: normal;
  color: var(--rouge);
  display: block;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-actions .btn { flex: 1 1 200px; }

/* Sur le hero (photo sombre), le bouton secondaire reste clair */
.hero .btn-ghost,
.page-hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 620px;
}

.hero-stats div {
  background: rgba(16, 16, 20, 0.82);
  padding: 16px 14px;
  backdrop-filter: blur(6px);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.7rem;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.hero-scroll {
  display: none;
}

@media (min-width: 768px) {
  .hero { padding: calc(var(--header-h) + 90px) 0 90px; align-items: center; }
  .hero-sub { font-size: 1.12rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats strong { font-size: 2.1rem; }
}

@media (min-width: 1025px) {
  .hero-scroll {
    display: flex;
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    z-index: 3;
  }

  .hero-scroll::after {
    content: "";
    width: 1px;
    height: 40px;
    background: linear-gradient(var(--rouge), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
  }
}

/* Bandeau défilant */
.marquee {
  background: var(--rouge);
  color: var(--blanc);
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-titre);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Grilles génériques (mobile = 1 colonne)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
}

@media (min-width: 1025px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Cartes services / valeurs
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition),
    background var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c3c8d1;
  background: var(--anthracite-2);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--rouge);
  background: rgba(225, 6, 0, 0.07);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--gris); font-size: 0.94rem; margin-bottom: 0; }

.card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-titre);
  font-size: 2.6rem;
  color: rgba(20, 22, 26, 0.07);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Bloc chiffres
   -------------------------------------------------------------------------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.stats-band div {
  background: var(--noir-2);
  padding: 26px 18px;
  text-align: center;
}

.stats-band strong {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  color: var(--encre);
  line-height: 1;
}

.stats-band strong i {
  font-style: normal;
  color: var(--rouge);
}

.stats-band span {
  display: block;
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 700;
}

@media (min-width: 768px) {
  .stats-band { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   Images / blocs visuels
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bordure);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media:hover img { transform: scale(1.05); }

.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 10; }

.media-stack { display: grid; gap: 16px; grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .media-stack { grid-template-columns: 1fr 1fr; }
  .media-stack .media:first-child { grid-row: span 2; }
  .media-stack .media:first-child img { height: 100%; }
}

/* Citation / bloc accent */
.quote {
  border-left: 3px solid var(--rouge);
  padding: 8px 0 8px 22px;
  font-family: var(--font-titre);
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  color: var(--encre);
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Boutique
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filters button {
  background: transparent;
  border: 1px solid var(--bordure);
  color: var(--gris-clair);
  padding: 9px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
}

.filters button:hover { border-color: var(--rouge); color: var(--encre); }

.filters button.active {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product {
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.product:hover { transform: translateY(-5px); border-color: #c3c8d1; }

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--anthracite-2);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product:hover .product-thumb img { transform: scale(1.06); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rouge);
  color: var(--blanc);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-cat {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
}

.product-body h3 {
  font-size: 1.15rem;
  margin: 0;
  text-transform: none;
  font-family: var(--font-texte);
  font-weight: 700;
  color: var(--encre);
  letter-spacing: 0;
}

.product-desc {
  font-size: 0.86rem;
  color: var(--gris);
  margin: 0;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.product-price {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  color: var(--encre);
  line-height: 1;
}

.product-price small {
  font-family: var(--font-texte);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  display: block;
  margin-top: 3px;
}

.product-foot .btn {
  padding: 10px 16px;
  font-size: 0.66rem;
}

/* Ajout au panier */
.product-buy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.product-buy select {
  font-family: var(--font-texte);
  font-size: 0.78rem;
  padding: 9px 8px;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  background: #fff;
  color: var(--encre);
  max-width: 96px;
}

/* Lien panier dans l'en-tête */
.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre);
  padding: 11px 15px;
  border: 1px solid rgba(20, 22, 26, 0.2);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cart:hover { border-color: var(--rouge); color: var(--rouge-texte); }

.header-cart .cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--rouge);
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0;
}

.header-cart .cart-badge[data-empty="1"] { display: none; }

@media (min-width: 1025px) {
  .header-cart { display: inline-flex; }
}

@media (max-width: 430px) {
  .header-cart .cart-label { display: none; }
  .header-cart { padding: 10px 11px; }
}

@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Note boutique */
.shop-note {
  margin-top: 34px;
  border: 1px dashed var(--bordure);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.9rem;
  color: var(--gris);
  background: rgba(225, 6, 0, 0.03);
}

.shop-note strong { color: var(--encre); }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--bordure);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.92));
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blanc);
  font-weight: 700;
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 96vw; max-height: 88vh; object-fit: contain; border-radius: 2px; }

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: var(--blanc);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-list { display: grid; gap: 12px; }

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-item:hover { border-color: #c3c8d1; }

.contact-item .ci-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(225, 6, 0, 0.1);
  color: var(--rouge);
}

.contact-item .ci-icon svg { width: 18px; height: 18px; }

.contact-item strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris);
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-item span,
.contact-item a {
  color: var(--encre);
  font-size: 0.95rem;
  word-break: break-word;
}

.contact-item a:hover { color: var(--rouge); }

.form-card {
  background: var(--anthracite);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gris);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  background: var(--noir-2);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  color: var(--encre);
  padding: 13px 14px;
  font-family: var(--font-texte);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: #5c5e66; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--rouge);
  background: var(--noir);
}

.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }

.form-note {
  font-size: 0.76rem;
  color: var(--gris);
  margin: 14px 0 0;
  line-height: 1.6;
}

.form-alert {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.form-alert.show { display: block; }
.form-alert.ok {
  background: rgba(30, 160, 90, 0.1);
  border-color: rgba(30, 160, 90, 0.45);
  color: #16794a;
}
.form-alert.err {
  background: rgba(225, 6, 0, 0.08);
  border-color: rgba(225, 6, 0, 0.42);
  color: #a50400;
}

@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px 28px; }
}

.map-frame {
  margin-top: 34px;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(1) contrast(1.02) brightness(1);
  transition: filter 0.5s var(--ease);
}

.map-frame:hover iframe { filter: grayscale(0.2) contrast(1) brightness(1); }

@media (min-width: 768px) {
  .map-frame iframe { height: 400px; }
}

/* Horaires */
.hours { display: grid; gap: 1px; background: var(--bordure); border: 1px solid var(--bordure); border-radius: var(--radius); overflow: hidden; }

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--anthracite);
  padding: 12px 16px;
  font-size: 0.9rem;
}

.hours li span:first-child { color: var(--gris); }
.hours li span:last-child { color: var(--encre); font-weight: 600; }
.hours li.today { background: rgba(225, 6, 0, 0.05); box-shadow: inset 3px 0 0 var(--rouge); }
.hours li.today span:last-child { color: var(--rouge-texte); }

/* --------------------------------------------------------------------------
   Réseaux sociaux
   -------------------------------------------------------------------------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }

.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--anthracite-2);
  border: 1px solid var(--bordure);
  color: var(--gris-clair);
  transition: var(--transition);
}

.socials a svg { width: 17px; height: 17px; fill: currentColor; }

.socials a:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--rouge) 0%, var(--rouge-fonce) 100%);
  overflow: hidden;
  padding: 52px 0;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(0, 0, 0, 0.14) 0 12px,
    transparent 12px 26px
  );
  pointer-events: none;
}

.cta-band .wrap { position: relative; z-index: 2; }

.cta-inner {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: center;
}

.cta-inner h2 { color: var(--blanc); margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 0.98rem; }

.cta-inner .btn {
  background: #ffffff;
  color: var(--encre);
}
.cta-inner .btn:hover { background: var(--sombre); color: #ffffff; }

@media (min-width: 768px) {
  .cta-band { padding: 64px 0; }
  .cta-inner { grid-template-columns: 1fr auto; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--noir-2);
  border-top: 1px solid var(--bordure);
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--gris);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-texte);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col a,
.footer-col li {
  font-size: 0.88rem;
  color: var(--gris);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--rouge-clair); }

.footer-bottom {
  border-top: 1px solid var(--bordure);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.76rem;
  color: #6b6d75;
}

.footer-bottom a:hover { color: var(--gris-clair); }

@media (min-width: 768px) {
  .site-footer { padding: 68px 0 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Page header (pages internes)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--bordure);
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.82), rgba(8, 8, 10, 0.95));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--rouge); }
.breadcrumb span.sep { color: var(--rouge); }

.page-hero h1 { font-size: clamp(2.1rem, 8vw, 4rem); margin-bottom: 14px; color: #ffffff; }
.page-hero p { color: rgba(255, 255, 255, 0.84); max-width: 640px; margin: 0; }

@media (min-width: 768px) {
  .page-hero { padding: calc(var(--header-h) + 80px) 0 70px; }
}

/* --------------------------------------------------------------------------
   Animations d'apparition
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: revealFallback 0.9s var(--ease) 0.35s forwards;
}

.reveal.visible {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Divers
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rouge);
  color: #fff;
  padding: 12px 20px;
  z-index: 3000;
  font-size: 0.8rem;
  font-weight: 700;
}

.skip-link:focus { left: 10px; top: 10px; }

.divider {
  height: 1px;
  background: var(--bordure);
  border: 0;
  margin: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Organigramme du club
   -------------------------------------------------------------------------- */
.orga { display: grid; gap: 22px; }

.orga-card {
  position: relative;
  background: var(--noir-2);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--transition), border-color var(--transition);
}

.orga-card:hover { transform: translateY(-4px); border-color: #c3c8d1; }

.orga-badge {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(225, 6, 0, 0.08);
  border: 1px solid rgba(225, 6, 0, 0.22);
  color: var(--rouge);
  margin-bottom: 16px;
}

.orga-card h3 {
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: var(--encre);
}

.orga-card p { font-size: 0.88rem; color: var(--gris); margin: 0; line-height: 1.6; }

.orga-top {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  border-color: rgba(225, 6, 0, 0.3);
  box-shadow: 0 2px 8px rgba(15, 15, 26, 0.06);
}

.orga-top .orga-badge { margin-left: auto; margin-right: auto; }
.orga-top h3 { font-size: 1.1rem; }

.orga-top .orga-badge svg { width: 24px; height: 24px; }

.orga-line {
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(var(--rouge), rgba(225, 6, 0, 0.15));
}

.orga-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

.orga-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--gris);
}

@media (min-width: 600px) {
  .orga-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .orga-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* --------------------------------------------------------------------------
   Lien externe HelloAsso (menu + pied de page)
   -------------------------------------------------------------------------- */
.nav-desktop .nav-don { color: var(--rouge-texte); }
.nav-desktop .nav-don:hover { color: var(--rouge); }

@media (min-width: 1025px) and (max-width: 1300px) {
  .nav-desktop { gap: 18px; }
  .nav-desktop a { font-size: 0.7rem; letter-spacing: 0.1em; }
  .header-cta { padding: 12px 16px; }
}
