/* ==========================================================================
   FEUILLE DE STYLE DE LA BOUTIQUE
   --------------------------------------------------------------------------
   TODO stagiaires : votre charte graphique se règle presque entièrement
   dans le bloc « :root » ci-dessous (couleurs et polices). Changez une
   valeur ici : elle change partout sur le site.
   Pour changer de police : choisissez-la sur fonts.google.com, remplacez le
   lien <link href="https://fonts.googleapis.com/…"> dans CHAQUE page .html,
   puis le nom de la police ici.
   ========================================================================== */

:root {
  /* --- Couleurs de la marque (logo, boutons, liens) --- */
  --marque: #6d4aff;        /* TODO : couleur principale de votre charte */
  --marque-fonce: #5233e0;  /* TODO : la même, plus foncée (survol des boutons) */
  --accent: #ff5a3c;        /* TODO : couleur secondaire (badges, prix barrés…) */

  /* --- Base neutre (pages communes : accueil, à propos, équipe…) --- */
  --fond: #f6f6f9;
  --surface: #ffffff;
  --encre: #15151d;
  --gris: #5b5b6b;
  --ligne: #e4e4ec;

  /* --- Univers JEUX VIDÉO : sombre, accents néon --- */
  --v-fond: #0a0a14;
  --v-surface: #14142a;
  --v-surface-2: #1d1d3a;
  --v-encre: #eef0ff;
  --v-gris: #a5a8c8;
  --v-neon: #3ef0ff;        /* TODO : néon principal */
  --v-neon-2: #ff3ea5;      /* TODO : néon secondaire */

  /* --- Univers JEUX DE SOCIÉTÉ : carton, bois, papier --- */
  --s-fond: #f4ecdf;
  --s-surface: #fffaf2;
  --s-encre: #2b1d12;
  --s-gris: #6e5a47;
  --s-kraft: #e3cfab;
  --s-bois: #7a4f2e;
  --s-accent: #d24a2a;      /* TODO : couleur d'accent des jeux de société */

  /* --- Polices --- */
  --police-titre: "Space Grotesk", system-ui, sans-serif;       /* TODO */
  --police-societe: "Fraunces", Georgia, "Times New Roman", serif; /* TODO */
  --police-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; /* TODO */

  /* --- Formes et espaces --- */
  --arrondi: 14px;
  --arrondi-petit: 8px;
  --ombre: 0 1px 2px rgba(20, 20, 40, .06), 0 8px 24px rgba(20, 20, 40, .08);
  --ombre-forte: 0 2px 6px rgba(20, 20, 40, .08), 0 18px 40px rgba(20, 20, 40, .16);
  --largeur: 1200px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--fond);

}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--marque); }
a:hover { color: var(--marque-fonce); }
h1, h2, h3 { font-family: var(--police-titre); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--marque); outline-offset: 3px; border-radius: 4px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-titre { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-titre h2 { margin: 0; }
.surtitre {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--marque); margin-bottom: .6rem;
}
.intro { font-size: 1.15rem; color: var(--gris); max-width: 62ch; }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border: 2px solid transparent; border-radius: 999px;
  font: 600 .98rem/1 var(--police-texte); text-decoration: none; cursor: pointer;
  background: var(--marque); color: #fff;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.bouton:hover { background: var(--marque-fonce); color: #fff; transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.bouton-contour { background: transparent; border-color: currentColor; color: inherit; }
.bouton-contour:hover { background: rgba(127, 127, 127, .12); color: inherit; }
.bouton-grand { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Bandeau « boutique fictive » ---------- */

.bandeau-fictif {
  background: #15151d; color: #f2f2f7; text-align: center;
  font-size: .82rem; padding: .45rem 1rem; line-height: 1.4;
}
.bandeau-fictif code { background: rgba(255, 255, 255, .14); padding: .05rem .35rem; border-radius: 4px; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--ligne);
}
.entete-ligne { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.marque {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  color: var(--encre); font: 700 1.2rem/1 var(--police-titre); letter-spacing: -.02em;
}
.marque:hover { color: var(--encre); }
.marque img { height: 28px; width: auto; }
.menu { margin-left: auto; }
.menu ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: .5rem .9rem; border-radius: 999px; text-decoration: none;
  color: var(--gris); font-weight: 500;
}
.menu a:hover { color: var(--encre); background: rgba(127, 127, 127, .1); }
.menu a[aria-current="page"] { color: var(--encre); background: rgba(127, 127, 127, .14); font-weight: 600; }
.lien-panier {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; color: var(--encre);
}
.lien-panier:hover, .lien-panier[aria-current="page"] { background: rgba(127, 127, 127, .14); color: var(--encre); }
.badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font: 700 .72rem/20px var(--police-texte); text-align: center;
  animation: rebond .35s ease;
}
@keyframes rebond { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.menu-bouton { display: none; }

@media (max-width: 760px) {
  .menu-bouton {
    display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--encre);
  }
  .menu-icone, .menu-icone::before, .menu-icone::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease;
  }
  .menu-icone { position: relative; }
  .menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; }
  .menu-icone::before { top: -6px; }
  .menu-icone::after { top: 6px; }
  .menu-ouvert .menu-icone { background: transparent; }
  .menu-ouvert .menu-icone::before { transform: translateY(6px) rotate(45deg); }
  .menu-ouvert .menu-icone::after { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre);
  }
  .menu-ouvert .menu { display: block; }
  .menu ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; }
  .menu a { padding: .8rem 1rem; }
  .entete-ligne { gap: .5rem; }
  .lien-panier { margin-left: 0; }
}

/* ---------- Accueil : la grande bannière en deux univers ---------- */

.bannieres { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 680px); }
.banniere {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  gap: 1.5rem; padding: clamp(2rem, 5vw, 4rem); text-decoration: none; isolation: isolate;
}
.banniere-contenu { position: relative; z-index: 2; max-width: 30rem; }
.banniere h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: .3em; }
.banniere p { font-size: 1.08rem; margin-bottom: 1.5rem; }
/* Les trois jaquettes, en éventail au-dessus du texte. */
.banniere-visuels { position: relative; z-index: 1; height: clamp(190px, 24vw, 300px); pointer-events: none; }
.banniere-visuels img {
  position: absolute; height: 100%; width: auto; aspect-ratio: 3 / 4; border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.banniere-visuels img:nth-child(1) { top: 0; left: 46%; transform: rotate(8deg); z-index: 2; }
.banniere-visuels img:nth-child(2) { top: 6%; left: 23%; transform: rotate(-4deg); z-index: 3; }
.banniere-visuels img:nth-child(3) { top: 2%; left: 0; transform: rotate(-10deg); height: 88%; opacity: .9; }
.banniere:hover .banniere-visuels img:nth-child(1) { transform: rotate(12deg) translateY(-10px); }
.banniere:hover .banniere-visuels img:nth-child(2) { transform: rotate(-10deg) translateY(-14px); }
.banniere:hover .banniere-visuels img:nth-child(3) { transform: rotate(0deg) translateY(-8px); }

.banniere-video { background: radial-gradient(120% 90% at 80% 10%, #2a1366 0%, var(--v-fond) 60%); color: var(--v-encre); }
.banniere-video::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(62, 240, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 240, 255, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to top, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 75%);
}
.banniere-video .surtitre { color: var(--v-neon); }
.banniere-video h2 { text-shadow: 0 0 28px rgba(62, 240, 255, .35); }
.banniere-video p { color: var(--v-gris); }
.banniere-video .bouton { background: var(--v-neon); color: #06121a; box-shadow: 0 0 0 0 rgba(62, 240, 255, .5); }
.banniere-video:hover .bouton { box-shadow: 0 0 24px 2px rgba(62, 240, 255, .55); }

.banniere-societe {
  background-color: var(--s-kraft); color: var(--s-encre);
  background-image: radial-gradient(rgba(122, 79, 46, .12) 1px, transparent 1.4px);
  background-size: 6px 6px;
}
.banniere-societe .surtitre { color: var(--s-accent); }
.banniere-societe h2 { font-family: var(--police-societe); font-weight: 700; letter-spacing: -.01em; }
.banniere-societe p { color: var(--s-gris); }
.banniere-societe .bouton { background: var(--s-accent); color: #fff; }
.banniere-societe:hover .bouton { background: #b23a1e; }

@media (max-width: 860px) {
  .bannieres { grid-template-columns: 1fr; }
  .banniere { min-height: 440px; }
}

/* ---------- Bande de garanties ---------- */

.garanties { background: var(--surface); border-bottom: 1px solid var(--ligne); }
.garanties ul {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  list-style: none; margin-block: 0; padding: 1.4rem 0; /* margin-block : garde le centrage de .conteneur */
}
.garanties li { display: flex; gap: .8rem; align-items: center; font-size: .93rem; color: var(--gris); }
.garanties strong { display: block; color: var(--encre); font-size: .98rem; }
.garanties svg { flex: none; color: var(--marque); }
@media (max-width: 900px) { .garanties ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .garanties ul { grid-template-columns: 1fr; } }

/* ---------- Grille et cartes des jeux ---------- */

.grille-jeux { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 1.4rem; }
.carte-jeu {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--arrondi);
  box-shadow: var(--ombre); transition: transform .25s ease, box-shadow .25s ease;
}
.carte-jeu:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carte-jeu:hover .carte-image img { transform: scale(1.04); }
.badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; align-items: start; }
/* Jeux vidéo : sous le bandeau des plateformes des jaquettes fictives (54 px sur 800 = 6,75 %).
   TODO stagiaires : avec vos propres jaquettes sans bandeau, supprimez cette ligne. */
.carte-video .badges { top: calc(6.75% + .6rem); }
.badge-carte { padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.badge-nouveau { background: var(--accent); color: #fff; }
.badge-rupture { background: rgba(15, 15, 25, .82); color: #fff; }
.carte-corps { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.carte-rayon { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; }
.carte-titre { margin-bottom: .25rem; }
.carte-infos { font-size: .82rem; margin-bottom: .6rem; }
.carte-description {
  font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem;
}
.carte-bas { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.prix { font: 700 1.25rem/1 var(--police-titre); letter-spacing: -.02em; }
.bouton-ajout { padding: .6rem 1.05rem; font-size: .9rem; }
.bouton-ajout.ajoute { background: #1f9d55; }

/* Carte d'un jeu vidéo : sombre, néon */
.carte-video { background: var(--v-surface); color: var(--v-encre); border: 1px solid rgba(62, 240, 255, .12); }
.carte-video:hover { box-shadow: 0 0 0 1px rgba(62, 240, 255, .5), 0 18px 40px rgba(62, 240, 255, .18); }
.carte-video .carte-rayon { color: var(--v-neon); }
.carte-video .carte-infos, .carte-video .carte-description { color: var(--v-gris); }
.carte-video .bouton-ajout { background: var(--v-neon); color: #06121a; }
.carte-video .bouton-ajout:hover { background: #8af6ff; }
.carte-video .bouton-ajout.ajoute { background: #3ddc84; }

/* Carte d'un jeu de société : papier, bois */
.carte-societe { background: var(--s-surface); color: var(--s-encre); border: 1px solid #eadcc3; }
.carte-societe .carte-rayon { color: var(--s-accent); }
.carte-societe .carte-titre { font-family: var(--police-societe); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }
.carte-societe .carte-infos, .carte-societe .carte-description { color: var(--s-gris); }
.carte-societe .prix { color: var(--s-bois); }
.carte-societe .bouton-ajout { background: var(--s-accent); }
.carte-societe .bouton-ajout:hover { background: #b23a1e; }

/* ---------- Boutique : filtres ---------- */

.entete-page { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.entete-page h1 { margin-bottom: .3em; }

.rayons { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: rgba(127, 127, 127, .12); margin-bottom: 1.5rem; flex-wrap: wrap; }
.rayons button {
  border: 0; background: transparent; color: inherit; cursor: pointer;
  padding: .6rem 1.2rem; border-radius: 999px; font: 600 .95rem/1 var(--police-texte);
}
.rayons button[aria-pressed="true"] { background: var(--surface); color: var(--encre); box-shadow: var(--ombre); }

.mise-en-page-boutique { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.filtres {
  position: sticky; top: 90px; padding: 1.3rem; border-radius: var(--arrondi);
  background: var(--surface); border: 1px solid var(--ligne);
}
.filtres fieldset { border: 0; padding: 0; margin: 0 0 1.3rem; }
.filtres legend, .filtres label.titre-filtre { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .5rem; }
.filtres .choix { display: flex; align-items: center; gap: .5rem; font-size: .92rem; padding: .15rem 0; cursor: pointer; }
.filtres input[type="checkbox"], .filtres input[type="radio"] { accent-color: var(--marque); width: 1rem; height: 1rem; }
.filtres select, .champ-recherche input, .filtres input[type="range"] { width: 100%; }
.filtres select, .champ-recherche input {
  font: inherit; padding: .6rem .8rem; border-radius: var(--arrondi-petit);
  border: 1px solid var(--ligne); background: var(--surface); color: var(--encre);
}
.filtres input[type="range"] { accent-color: var(--marque); }
.valeur-prix { float: right; font-weight: 600; color: var(--gris); }
.filtre-reserve[hidden] { display: none; }
.barre-outils { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.3rem; }
.champ-recherche { position: relative; flex: 1 1 260px; max-width: 420px; }
.champ-recherche input { padding-left: 2.4rem; border-radius: 999px; }
.champ-recherche svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--gris); }
.tri { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--gris); }
.tri select { font: inherit; padding: .5rem .7rem; border-radius: var(--arrondi-petit); border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); }
.compteur { color: var(--gris); font-size: .92rem; margin: 0; }
.aucun-resultat { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--ligne); border-radius: var(--arrondi); color: var(--gris); }
.bouton-filtres { display: none; }

@media (max-width: 900px) {
  .mise-en-page-boutique { grid-template-columns: 1fr; }
  .filtres { position: static; display: none; }
  .filtres.ouverts { display: block; }
  .bouton-filtres { display: inline-flex; }
}

/* La boutique prend l'ambiance du rayon choisi */
body[data-univers="video"] {
  --fond: var(--v-fond); --surface: var(--v-surface); --encre: var(--v-encre);
  --gris: var(--v-gris); --ligne: #2a2a4a; --marque: var(--v-neon); --marque-fonce: #8af6ff;
  background-image: radial-gradient(80% 40% at 50% 0%, rgba(109, 74, 255, .28), transparent 70%);
  background-repeat: no-repeat;
}
body[data-univers="video"] .entete { background: rgba(10, 10, 20, .78); }
body[data-univers="video"] .bouton:not(.bouton-contour) { color: #06121a; }
body[data-univers="video"] .entete-page h1 { text-shadow: 0 0 30px rgba(62, 240, 255, .35); }
body[data-univers="societe"] {
  --fond: var(--s-fond); --surface: var(--s-surface); --encre: var(--s-encre);
  --gris: var(--s-gris); --ligne: #e6d6bb; --marque: var(--s-accent); --marque-fonce: #b23a1e;
  background-image: radial-gradient(rgba(122, 79, 46, .08) 1px, transparent 1.4px);
  background-size: 6px 6px;
}
body[data-univers="societe"] .entete { background: rgba(255, 250, 242, .85); }
body[data-univers="societe"] .entete-page h1 { font-family: var(--police-societe); letter-spacing: -.01em; }

/* ---------- Panier ---------- */

.mise-en-page-panier { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; padding-bottom: 4rem; }
@media (max-width: 900px) { .mise-en-page-panier { grid-template-columns: 1fr; } }
.lignes-panier { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ligne-panier {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem; border-radius: var(--arrondi); background: var(--surface); border: 1px solid var(--ligne);
}
.ligne-panier img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arrondi-petit); }
.ligne-panier h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.ligne-panier .petit { color: var(--gris); font-size: .85rem; margin: 0; }
.ligne-actions { display: flex; flex-direction: column; align-items: end; gap: .5rem; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--ligne); border-radius: 999px; overflow: hidden; }
.quantite button {
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--encre);
  font-size: 1.1rem; cursor: pointer;
}
.quantite button:hover { background: rgba(127, 127, 127, .12); }
.quantite button:disabled { opacity: .35; cursor: not-allowed; }
.quantite output { min-width: 2ch; text-align: center; font-weight: 600; }
.lien-retirer { background: none; border: 0; padding: 0; color: var(--gris); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.lien-retirer:hover { color: var(--accent); }
.prix-ligne { font: 700 1.05rem/1 var(--police-titre); }
@media (max-width: 520px) {
  .ligne-panier { grid-template-columns: 64px 1fr; }
  .ligne-panier img { width: 64px; }
  .ligne-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

.recapitulatif {
  position: sticky; top: 90px; padding: 1.5rem; border-radius: var(--arrondi);
  background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre);
}
.recapitulatif h2 { font-size: 1.3rem; }
.recapitulatif dl { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; margin: 0 0 1.2rem; }
.recapitulatif dt { color: var(--gris); }
.recapitulatif dd { margin: 0; text-align: right; font-weight: 600; }
.recapitulatif .total { font-size: 1.2rem; color: var(--encre); padding-top: .7rem; border-top: 1px solid var(--ligne); }
.recapitulatif .bouton { width: 100%; }
.reste-livraison { font-size: .88rem; color: var(--gris); background: rgba(127, 127, 127, .08); padding: .6rem .8rem; border-radius: var(--arrondi-petit); }
.jauge { height: 6px; border-radius: 999px; background: var(--ligne); overflow: hidden; margin-top: .45rem; }
.jauge span { display: block; height: 100%; background: var(--marque); border-radius: 999px; transition: width .4s ease; }
.mention-securite { display: flex; gap: .5rem; align-items: start; font-size: .82rem; color: var(--gris); margin: 1rem 0 0; }
.mention-securite svg { flex: none; margin-top: .15rem; }
.cartes-test { font-size: .82rem; margin-top: 1rem; padding: .8rem; border-radius: var(--arrondi-petit); background: #fff8e1; color: #5c4400; border: 1px solid #f1df9c; }
.cartes-test code { font-weight: 700; }
.panier-vide { text-align: center; padding: 4rem 1rem; }
.panier-vide svg { margin: 0 auto 1rem; color: var(--gris); }

/* ---------- Alertes, notification ---------- */

.alerte { padding: 1rem 1.2rem; border-radius: var(--arrondi-petit); margin-bottom: 1.5rem; }
.alerte-erreur { background: #fdecea; color: #7a1c12; border: 1px solid #f5c2bb; }
.alerte-info { background: #eef2ff; color: #2a2f6b; border: 1px solid #d1d9ff; }
.notification {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 100; transform: translate(-50%, 150%);
  display: flex; gap: 1rem; align-items: center; padding: .9rem 1.3rem; border-radius: 999px;
  background: #15151d; color: #fff; box-shadow: var(--ombre-forte); font-size: .93rem;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1); max-width: calc(100% - 2rem);
}
.notification.visible { transform: translate(-50%, 0); }
.notification a { color: #a8f5ff; font-weight: 600; white-space: nowrap; }

/* ---------- Pages de contenu : à propos, équipe, légal ---------- */

.hero-page { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); }
.deux-colonnes { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .deux-colonnes { grid-template-columns: 1fr; } }
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mosaique img { border-radius: var(--arrondi); box-shadow: var(--ombre); aspect-ratio: 3 / 4; object-fit: cover; }
.mosaique img:nth-child(2) { margin-top: 2.5rem; }
.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr; } }
.valeur { padding: 1.6rem; border-radius: var(--arrondi); background: var(--surface); border: 1px solid var(--ligne); }
.valeur .pastille {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--marque) 12%, transparent); color: var(--marque); font-size: 1.4rem;
}
.valeur p { color: var(--gris); margin: 0; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 700px) { .chiffres { grid-template-columns: 1fr 1fr; } }
.chiffres strong { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.1 var(--police-titre); color: var(--marque); }
.chiffres span { color: var(--gris); font-size: .92rem; }
.bloc-sombre { background: #15151d; color: #f2f2f7; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); }
.bloc-sombre p { color: #b9b9c8; }
.bloc-sombre .bouton { background: #fff; color: #15151d; }

.grille-equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.membre { text-align: center; padding: 1.6rem 1.3rem; border-radius: var(--arrondi); background: var(--surface); border: 1px solid var(--ligne); transition: transform .25s ease, box-shadow .25s ease; }
.membre:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.membre img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; box-shadow: 0 0 0 5px var(--surface), 0 0 0 7px var(--ligne); }
.membre h3 { margin-bottom: .1rem; font-size: 1.25rem; }
.membre .role { color: var(--marque); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.membre .phrase { color: var(--gris); font-size: .93rem; }
.membre .prefere { font-size: .8rem; color: var(--gris); border-top: 1px solid var(--ligne); padding-top: .8rem; margin: 0; }

.texte-legal { max-width: 760px; padding-bottom: 4rem; }
.texte-legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.texte-legal li { margin-bottom: .4rem; }
.texte-legal .maj { color: var(--gris); font-size: .9rem; }
.todo {
  background: #fff3c4; color: #5c4400; border-left: 4px solid #f2b705; padding: .7rem 1rem;
  border-radius: 0 var(--arrondi-petit) var(--arrondi-petit) 0; font-size: .9rem; margin: 1rem 0;
}

.etapes { counter-reset: etape; list-style: none; padding: 0; display: grid; gap: 1rem; }
.etapes li { counter-increment: etape; position: relative; padding: 1.2rem 1.2rem 1.2rem 4rem; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--arrondi); }
.etapes li::before {
  content: counter(etape); position: absolute; left: 1.1rem; top: 1.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--marque); color: #fff; font-weight: 700;
}
.etapes h3 { margin-bottom: .2rem; }
.etapes p { margin: 0; color: var(--gris); }

/* ---------- Pied de page ---------- */

.pied { background: #101018; color: #c9c9d6; margin-top: auto; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }
.pied h2 { font: 700 .82rem/1 var(--police-texte); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pied a { color: #c9c9d6; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.marque-pied { color: #fff; margin-bottom: 1rem; }
.marque-pied:hover { color: #fff; text-decoration: none !important; }
.pied-petit { font-size: .85rem; color: #8c8ca0; }
.pastille-securite {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid #34344a; color: #fff !important; font-size: .88rem;
}
.pied-bas { border-top: 1px solid #24243a; padding: 1.2rem 0; font-size: .82rem; color: #8c8ca0; }
.pied-bas p { margin: 0; }

/* ---------- Moins d'animations si l'appareil le demande ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Changement de rayon dans la boutique : la page glisse doucement d'une
   ambiance à l'autre (classe ajoutée par js/boutique.js après le chargement). */
body.transition-univers { transition: background-color .4s ease, color .4s ease; }
