
  /* === SR VISUAL UPGRADE v2026-06-25 === */
  .hero{position:relative;overflow:hidden}
  /* sous-couche : route en perspective + horizon */
  .sr-road {
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background:
      radial-gradient(60% 50% at 50% 86%, rgba(0,180,203,.18), transparent 70%),
      radial-gradient(70% 60% at 50% 100%, rgba(214,9,12,.08), transparent 60%),
      linear-gradient(180deg, transparent 0%, rgba(10,13,14,0) 30%, rgba(10,13,14,.45) 70%, #060809 100%);
  }
  .sr-road svg { position:absolute; left:50%; bottom:-2%; width:140%; transform:translateX(-50%); opacity:.55; }
  /* horizon glow */
  .sr-horizon {
    position:absolute; left:0; right:0; bottom:18%;
    height:2px;
    background:linear-gradient(90deg, transparent, #06CBDB 35%, #06CBDB 65%, transparent);
    box-shadow:0 0 22px 4px rgba(0,180,203,.55), 0 0 60px 16px rgba(0,180,203,.18);
    z-index:1; opacity:.55;
  }
  /* sun/headlights ball */
  .sr-sun {
    position:absolute; left:50%; bottom:14%; width:170px; height:170px;
    transform:translateX(-50%);
    background:radial-gradient(circle, rgba(6,203,219,.55) 0%, rgba(0,126,143,.18) 35%, transparent 70%);
    border-radius:50%; z-index:1; pointer-events:none; filter:blur(1px);
  }
  /* particules / poussiÃ¨re */
  .sr-particles {
    position:absolute; inset:0; z-index:1; pointer-events:none; mix-blend-mode:screen; opacity:.7;
  }
  .sr-particles span {
    position:absolute; display:block; width:3px; height:3px; border-radius:50%;
    background:#06CBDB; box-shadow:0 0 6px #06CBDB;
    animation:srDrift linear infinite;
  }
  @keyframes srDrift {
    from { transform:translate3d(var(--x0),var(--y0),0); opacity:0 }
    20%  { opacity:.9 }
    to   { transform:translate3d(var(--x1),var(--y1),0); opacity:0 }
  }
  /* hazard stripes au fond du hero */
  .sr-stripes {
    position:absolute; left:0; right:0; bottom:0; height:6px; z-index:2;
    background:repeating-linear-gradient(90deg, #D6090C 0 24px, #0A0D0E 24px 36px, #06CBDB 36px 60px, #0A0D0E 60px 72px);
    opacity:.55;
  }
  /* speed lines latÃ©rales */
  .sr-speed-l, .sr-speed-r {
    position:absolute; top:0; bottom:0; width:80px; z-index:1; pointer-events:none;
    background:repeating-linear-gradient(180deg, transparent 0 16px, rgba(6,203,219,.18) 16px 17px, transparent 17px 33px);
    mask-image:linear-gradient(90deg, #000, transparent);
    animation:srSpeed 1.4s linear infinite;
  }
  .sr-speed-l{left:0}
  .sr-speed-r{right:0; transform:scaleX(-1)}
  @keyframes srSpeed {
    from { background-position-y: 0 }
    to   { background-position-y: 33px }
  }
  /* le hero text recentrÃ© */
  .hero-inner{ position:relative; z-index:3; margin-left:auto; margin-right:auto; }
  .hero-inner > div { position:relative; }
  .hero .slogan { font-size:clamp(34px,5.6vw,64px); }
  .hero .sub { max-width:560px; font-size:17px; }
  .hero .cta-row { justify-content:flex-start; }
  @media(max-width:900px){
    .hero-inner{ text-align:center; max-width:none }
    .hero .cta-row { justify-content:center }
    .hero .sub { margin-left:auto; margin-right:auto }
  }
  /* texture asphalte subtile sur le main body */
  body::after{
    content:""; position:fixed; inset:0; pointer-events:none; z-index:1;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity:.08; mix-blend-mode:overlay;
  }
  /* checker fade vers le bas des sections d'asso/disciplines */
  .block-bg-grid{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image:
      linear-gradient(rgba(58,74,79,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(58,74,79,.08) 1px, transparent 1px);
    background-size:48px 48px;
    mask-image:radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
  }
  section.block .wrap { position:relative; z-index:1; }
  @media(prefers-reduced-motion:reduce){
    .sr-speed-l, .sr-speed-r, .sr-particles span { animation:none !important }
  }

  /* === SR v4 : photos en arriÃ¨re-plan === */
  .sr-photo-bg {
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image: url('/img/sr-motocross.webp');
    background-size: cover;
    background-position: center 30%;
    opacity: 1;
    filter: saturate(1.08) brightness(1) contrast(1.05);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, #000 18%, #000 88%, rgba(0,0,0,.6) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85) 0%, #000 18%, #000 88%, rgba(0,0,0,.6) 100%);
  }
  .sr-photo-overlay {
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:
      linear-gradient(180deg, rgba(10,13,14,.6) 0%, rgba(10,13,14,.25) 40%, rgba(10,13,14,.65) 100%),
      linear-gradient(90deg, rgba(10,13,14,.45) 0%, rgba(10,13,14,.05) 35%, rgba(10,13,14,.05) 65%, rgba(10,13,14,.45) 100%);
  }
  /* hero text doit rester au-dessus */
  .hero-inner, .hero .hero-inner > div { position:relative; z-index:5 !important; }
  .hero .slogan { text-shadow: 0 4px 24px rgba(0,0,0,.9), 0 1px 0 rgba(0,0,0,.6); }
  .hero .sub { text-shadow: 0 2px 10px rgba(0,0,0,.85); }
  .hero-logo { filter: drop-shadow(0 12px 36px rgba(0,180,203,.32)) drop-shadow(0 4px 8px rgba(0,0,0,.6)); }

  /* photo 4x4 dans la section disciplines */
  #disciplines { position:relative; isolation:isolate; }
  #disciplines::before {
    content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image: url('/img/sr-4x4.webp');
    background-size: cover; background-position: center 40%;
    opacity: .9;
    filter: saturate(1) brightness(.9) contrast(1.05);
    mask-image: radial-gradient(85% 90% at 50% 50%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(85% 90% at 50% 50%, #000 30%, transparent 100%);
  }
  #disciplines::after {
    content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
    background: linear-gradient(180deg, rgba(10,13,14,.55), rgba(10,13,14,.18) 40%, rgba(10,13,14,.7));
  }
  #disciplines .wrap { position:relative; z-index:2; }

  /* === SR v11 mobile fixes === */
  @media (max-width: 720px) {
    .hero-logo {
      width: min(78vw, 320px) !important;
      max-width: 90vw;
    }
    .hero .slogan {
      font-size: clamp(22px, 6.4vw, 36px);
    }
    .hero .sub {
      font-size: 14px;
      max-width: 92vw;
    }
  }
  @media (max-width: 480px) {
    .hero-logo {
      width: min(72vw, 260px) !important;
    }
  }

  /* === SR v12 mobile fix renforce === */
  @media (max-width: 720px) {
    .hero-logo {
      width: clamp(180px, 70vw, 320px) !important;
      max-width: 88vw !important;
      height: auto !important;
      object-fit: contain;
    }
    .hero { padding-left: 16px; padding-right: 16px; overflow: hidden; }
    .hero-inner { width: 100%; }
  }
  @media (max-width: 480px) {
    .hero-logo {
      width: clamp(160px, 64vw, 250px) !important;
    }
  }
  /* Hero background split: en mobile on garde une seule image (motocross) car split paye pas */
  @media (max-width: 720px) {
    .sr-photo-bg {
      background-image: url('/img/sr-motocross.webp') !important;
      background-size: cover !important;
      background-position: center 30% !important;
    }
    .sr-photo-bg::after { display: none !important; }
  }

  /* === SR v14 hero split FINAL OVERRIDE (battle le doublon CSS) === */
  .hero .sr-photo-bg {
    background-image: url('/img/sr-motocross.webp'), url('/img/sr-4x4.webp') !important;
    background-size: 60% auto, 60% auto !important;
    background-position: -8% center, 108% center !important;
    background-repeat: no-repeat, no-repeat !important;
  }
  @media (max-width: 720px) {
    .hero .sr-photo-bg {
      background-image: url('/img/sr-motocross.webp') !important;
      background-size: cover !important;
      background-position: center 30% !important;
    }
  }

  /* === SR v15 hero refonte === */
  /* Desktop: gap entre photos + container central avec backdrop */
  @media (min-width: 721px) {
    .hero .sr-photo-bg {
      background-image: url('/img/sr-motocross.webp'), url('/img/sr-4x4.webp') !important;
      background-size: auto 100%, auto 100% !important;
      background-position: left center, right center !important;
      background-repeat: no-repeat, no-repeat !important;
    }
    .hero .sr-photo-overlay {
      background:
        radial-gradient(30% 45% at 50% 50%, rgba(10,13,14,.55) 0%, rgba(10,13,14,.15) 100%),
        linear-gradient(180deg, rgba(10,13,14,.25) 0%, rgba(10,13,14,.05) 40%, rgba(10,13,14,.55) 100%) !important;
    }
    .hero-inner {
      max-width: 720px;
      margin: 0 auto;
      padding: 32px 28px;
      border-radius: 12px;
      background: rgba(10,13,14,.35);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(0,180,203,.18);
      box-shadow: 0 12px 40px rgba(0,0,0,.45);
    }
    .hero-logo {
      width: min(360px, 70%) !important;
      margin: 0 auto !important;
      display: block !important;
    }
    .hero .slogan, .hero .sub, .hero .countdown, .hero .cta-row {
      text-align: center;
      justify-content: center;
    }
    .hero .sub { margin: 16px auto 22px; }
    .hero .countdown { display: inline-flex; }
    .hero .cta-row { display: flex; justify-content: center; }
  }
  /* Mobile: layout stack centre, photo unique en fond doux */
  @media (max-width: 720px) {
    .hero {
      padding: 88px 18px 36px !important;
      min-height: auto !important;
      text-align: center;
    }
    .hero .sr-photo-bg {
      background-image: url('/img/sr-motocross.webp') !important;
      background-size: cover !important;
      background-position: 30% center !important;
      opacity: .75 !important;
    }
    .hero .sr-photo-overlay {
      background:
        radial-gradient(60% 70% at 50% 55%, rgba(10,13,14,.65) 0%, rgba(10,13,14,.9) 100%),
        linear-gradient(180deg, rgba(10,13,14,.55) 0%, rgba(10,13,14,.85) 100%) !important;
    }
    .hero-inner {
      max-width: 100% !important;
      padding: 18px 4px !important;
      background: transparent !important;
      border: 0 !important;
      backdrop-filter: none !important;
    }
    .hero-inner > div { text-align: center; }
    .hero-logo {
      width: clamp(180px, 60vw, 280px) !important;
      max-width: 80vw !important;
      margin: 0 auto !important;
      display: block !important;
      filter: drop-shadow(0 4px 10px rgba(0,180,203,.4)) drop-shadow(0 2px 4px rgba(0,0,0,.7)) !important;
    }
    .hero .slogan {
      font-size: clamp(22px, 5.5vw, 32px) !important;
      margin: 18px auto 8px !important;
      max-width: 100%;
    }
    .hero .sub {
      font-size: 14px !important;
      max-width: 90vw !important;
      margin: 0 auto 18px !important;
    }
    .hero .countdown {
      display: inline-flex !important;
      margin: 10px auto 16px !important;
      padding: 10px 14px !important;
    }
    .hero .cta-row {
      display: flex !important;
      justify-content: center !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
    }
    .hero .cta-row .btn { flex: 1 1 auto; min-width: 130px; }
    /* Pas d'overflow horizontal */
    body, .hero { overflow-x: hidden; }
  }

  /* === SR v15 galerie : nouvelles tuiles SVG variees pour casser la repetition === */
  .gal .tile.tile-svg.alt1 svg { background: linear-gradient(135deg, #1E282C, #11171A); }
  .gal .tile.tile-svg.alt2 svg { background: linear-gradient(135deg, #2C0B0B, #0A0D0E); }
  .gal .tile.tile-svg.alt3 svg { background: linear-gradient(135deg, #0B2C2A, #0A0D0E); }

  /* === SR v17 hero layout fix : carte vraiment centree + responsive propre === */
  .hero {
    min-height: 100svh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 96px !important;
    padding-bottom: 60px !important;
  }
  .hero .wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  @media (min-width: 721px) {
    .hero-inner {
      max-width: 680px !important;
      width: min(680px, 92vw) !important;
      margin: 0 auto !important;
      padding: 38px 36px !important;
      background: rgba(10,13,14,.38) !important;
      backdrop-filter: blur(10px) !important;
      -webkit-backdrop-filter: blur(10px) !important;
      border: 1px solid rgba(0,180,203,.22) !important;
      box-shadow: 0 16px 50px rgba(0,0,0,.55) !important;
      border-radius: 14px !important;
    }
    .hero .cta-row {
      display: flex !important;
      justify-content: center !important;
      gap: 14px !important;
      flex-wrap: wrap !important;
    }
    .hero .cta-row .btn {
      flex: 0 1 auto !important;
      min-width: 160px !important;
      padding: 12px 22px !important;
      text-align: center !important;
      justify-content: center !important;
    }
    .hero .countdown {
      display: inline-flex !important;
      margin: 8px auto 22px !important;
    }
  }
  @media (max-width: 720px) {
    .hero {
      padding: 88px 16px 32px !important;
      min-height: 100svh !important;
    }
    .hero-inner {
      width: 100% !important;
      max-width: 100% !important;
      padding: 14px 4px !important;
    }
    .hero .cta-row {
      display: flex !important;
      justify-content: center !important;
      gap: 10px !important;
      flex-wrap: wrap !important;
    }
    .hero .cta-row .btn {
      flex: 1 1 auto !important;
      min-width: 140px !important;
      max-width: 220px !important;
      padding: 12px 16px !important;
      text-align: center !important;
      justify-content: center !important;
    }
  }

  .sr-sound-btn{position:fixed;top:auto;bottom:16px;right:16px;z-index:1500;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(10,13,14,.78);border:1px solid var(--steel-700);color:var(--cyan);cursor:pointer;backdrop-filter:blur(8px);transition:all .25s var(--ease)}
  .sr-sound-btn:hover{border-color:var(--cyan);color:var(--cyan-bright);transform:scale(1.06)}
  .sr-sound-btn svg{width:20px;height:20px}
