/* AMBIANCE « terrain de basket de nuit en hiver » (mission 112, 20/11/2026) — inspirée de l'affiche officielle de la marque.
   L'interface reste NOIR / BLANC / GRIS ARGENT ; seules les PHOTOS gardent leurs couleurs. Aucune ressource externe : tout est local
   (static/hero-ambiance*.jpg, givre.svg, grain.svg, terrain.svg, grillage.svg). Boutique publique uniquement (la console n'y touche pas).
   Mouvement (neige) : uniquement si prefers-reduced-motion n'est pas « reduce ». */

body:not(.admin) { background-image: url('grain.svg'); background-color: var(--fond); overflow-x: clip; }
html { overflow-x: clip; }

/* ---------- HERO : l'affiche en fond, dégradé noir, givre en bas, neige légère ---------- */
.affiche { background: var(--fond); border-bottom: 0; padding-block: 1.6rem 4.4rem; }
.hero-fond { position: absolute; inset: 0 0 0 0; z-index: -2; display: block; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.hero-fond::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .78) 55%, #0a0a0a 100%),
  url('grain.svg'); }
.affiche::before { content: ""; position: absolute; left: 0; right: 0; top: -470px; height: calc(100% + 470px); z-index: -1; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(2px 2px at 30px 40px, #fff 55%, transparent 60%), radial-gradient(1.5px 1.5px at 120px 150px, #fff 55%, transparent 60%),
    radial-gradient(2.5px 2.5px at 190px 80px, #fff 55%, transparent 60%), radial-gradient(1.5px 1.5px at 70px 200px, #fff 55%, transparent 60%),
    radial-gradient(3px 3px at 150px 15px, rgba(255, 255, 255, .8) 50%, transparent 60%);
  background-size: 235px 235px; }
.affiche::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.6rem; z-index: 1; pointer-events: none;
  background: url('givre.svg') center bottom / 100% 100% no-repeat; }
.affiche .conteneur { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .affiche::before { animation: neige 22s linear infinite; }
  @keyframes neige { from { transform: translateY(0); } to { transform: translateY(470px); } }
}

/* titre : blanc glacé, lisible sur la photo (les réglages « sans ombre » de la mission 107 sont réactivés pour le seul titre) */
body:not(.admin) .affiche .texte-vitrine { position: relative; z-index: 2; }
/* après relecture DeepSeek : pied du dégradé du titre plus clair (lisibilité), photo d'ambiance un peu plus sombre pour ne pas rivaliser avec la photo produit */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body:not(.admin) .affiche .glace { background-image: linear-gradient(180deg, #ffffff 0%, #f2f2f2 45%, #d2d2d2 100%); }
}
.hero-fond img { filter: brightness(.85); }
.titre-affiche .glace { animation: none; opacity: 1; transform: none; }  /* le titre ne doit jamais rester invisible (capture/animation) */
.bandeau-rouge { box-shadow: none; }
.affiche .texte-affiche { text-shadow: none; color: #f5f5f5; }

/* pastille « jusqu'à -50 % » : bloc de glace à stalactites */
.pastille-glace { width: 6.6rem; aspect-ratio: 1 / 1.08; right: .6rem; bottom: 1.6rem; transform: rotate(6deg); color: #0a0a0a; font-size: .8rem; letter-spacing: .04em;
  background: radial-gradient(circle at 32% 24%, #ffffff 0%, #ececec 45%, #b9b9b9 100%);
  clip-path: polygon(7% 16%, 20% 5%, 38% 9%, 56% 1%, 76% 8%, 93% 19%, 99% 41%, 93% 60%, 97% 78%, 90% 82%, 86% 100%, 80% 84%, 70% 86%, 65% 99%, 59% 87%, 48% 90%, 42% 100%, 36% 88%, 24% 88%, 20% 98%, 15% 84%, 8% 80%, 2% 62%, 5% 40%); }
.pastille-glace strong { font-size: 2.1rem; padding-bottom: .15rem; }
.photo-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- bandeau « Sportswear • Basketball • Accessoires » : incliné, arêtes de glace ---------- */
.bandeau-cat { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .1rem 1rem;
  width: 112%; margin: -1.4rem 0 2.6rem -6%; padding: .7rem 1.2rem .85rem; transform: rotate(-1.3deg);
  background: linear-gradient(95deg, #cfcfcf 0%, #ffffff 14%, #ffffff 86%, #cfcfcf 100%); color: #0a0a0a;
  font: 800 clamp(1rem, 3.6vw, 1.45rem) var(--police-titre); font-style: italic; letter-spacing: .03em; text-transform: uppercase; }
.bandeau-cat i { width: .5rem; height: .5rem; border-radius: 50%; background: #0a0a0a; flex: none; }
.bandeau-cat::after { content: ""; position: absolute; left: 2%; right: 2%; top: 100%; height: .9rem;
  background: linear-gradient(180deg, #f2f2f2, #8f8f8f);
  clip-path: polygon(0 0, 100% 0, 98% 40%, 95% 0, 90% 85%, 85% 0, 80% 50%, 74% 0, 69% 100%, 62% 0, 57% 55%, 50% 0, 44% 90%, 37% 0, 31% 45%, 24% 0, 19% 75%, 12% 0, 6% 55%, 3% 0); }

/* ---------- accueil : séparateur ballon, « // Collection en promo // », terrain en filigrane ---------- */
main.accueil { position: relative; overflow-x: clip; }
main.accueil::before { content: ""; position: absolute; right: -9rem; top: 5rem; width: 35rem; height: 32.5rem; background: url('terrain.svg') no-repeat center / contain;
  pointer-events: none; z-index: -1; transform: rotate(-8deg); }
.sep { display: flex; align-items: center; gap: 1rem; margin: 2.2rem 0 0; color: #cfcfcf; }
.sep span { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #6a6a6a); }
.sep span:last-child { background: linear-gradient(90deg, #6a6a6a, transparent); }
.sep svg { width: 2.2rem; height: 2.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.titre-section { margin-top: 1.6rem; flex-wrap: wrap; }
.bandeau-promo { display: inline-flex; align-items: center; gap: .6rem; border-bottom: 0; padding: 0; margin-left: auto; min-height: 44px; text-decoration: none; }
.bandeau-promo b { color: #fff; font: 900 1.4rem var(--police-titre); font-style: italic; letter-spacing: -.04em; }
.bandeau-promo span { display: inline-block; padding: .35rem 1.1rem; color: #0a0a0a; font: 700 .95rem var(--police-corps); letter-spacing: .04em;
  background: linear-gradient(95deg, #bdbdbd, #ffffff 25%, #ececec 75%, #b0b0b0); transform: skewX(-9deg); }
.bandeau-promo:hover span { background: #fff; }
.bandeau-promo:hover { color: #fff; }

/* ---------- pied de page : grillage en filigrane, givre au bord, icônes ---------- */
footer.site { background-image: url('grillage.svg'); background-color: var(--nuit); margin-top: 3.4rem; }
footer.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 2.6rem; pointer-events: none; opacity: .5;
  background: url('givre.svg') center bottom / 100% 100% no-repeat; }
.pilule .a-completer { color: #cfcfcf; cursor: default; opacity: .7; }
.pilule .a-completer svg { opacity: .75; }

@media (max-width: 40rem) {
  .bandeau-cat { width: 100%; margin: -1.4rem 0 2.6rem; transform: rotate(-.8deg); }
  /* pied de page : téléphone et e-mail pleine largeur, puis les trois réseaux sur une même ligne */
  .pilule { flex-direction: row; }
  .pilule > * { flex: 1 1 100%; }
  .pilule > :nth-child(n+3) { flex: 1 1 0; }
  .pilule > :nth-child(n+4) { border-left: 1px solid #7d7d7d; }
}
@media (min-width: 52.01rem) {
  .affiche { padding-block: 3.2rem 5.6rem; }
  .hero-fond img { object-position: 50% 35%; }
  .hero-fond::after { background: linear-gradient(90deg, rgba(10, 10, 10, .92) 0%, rgba(10, 10, 10, .6) 45%, rgba(10, 10, 10, .25) 100%),
    linear-gradient(180deg, transparent 55%, #0a0a0a 100%), url('grain.svg'); }
  .pastille-glace { width: 8.6rem; right: 1rem; bottom: 1.4rem; font-size: 1rem; }
  .pastille-glace strong { font-size: 2.8rem; }
  .bandeau-cat { width: 108%; margin: -1.8rem 0 3rem -4%; }
  main.accueil::before { right: -4rem; }
}
