/* Ambiance bleue (11 octobre 2026, carte blanche du propriétaire : « trop blanc partout »).
   Fond de page bleu pâle, bandes bleu nuit / bleu clair en alternance, cartes et en-tête restent blancs.
   Couleurs reprises du site : bleu nuit #291d29 (cadres), bleu roi #c95619 (accent), or #d98732. */
:root {
  --b-page: #fff2e4;
  --b-band: #f8dfc5;
  --b-navy: #291d29;
  --b-navy-2: #382536;
  --b-gold: #d98732;
}

/* Fond général */
body.antre { background: var(--b-page); }
body.antre main .gradient.color-scheme-1,
body.antre main .color-scheme-1 { background: transparent; }
.a-card__media { background: #fff6eb; }

/* ---------- Accueil ---------- */
/* Nouveautés : bande bleu nuit */
.shopify-section:has(> .a-ptabs) {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(36, 71, 214, .35), transparent 70%),
    linear-gradient(180deg, var(--b-navy) 0%, #231a25 100%);
}
.shopify-section:has(> .a-ptabs) .a-ptabs { padding-block: 56px 48px; }
.shopify-section:has(> .a-ptabs) .a-title { color: #fff; }
.shopify-section:has(> .a-ptabs) .a-pill:not([aria-selected="true"]) { background: #fff; }
.shopify-section:has(> .a-ptabs) .a-card { box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }

/* Choisis ton TCG : bande bleu clair, logos sur tuiles blanches */
.shopify-section:has(.a-games__grid) { background: var(--b-band); }
.shopify-section:has(.a-games__grid) .a-section { padding-block: 44px 40px; }
.a-games__grid .a-game-logo-tile {
  display: grid; place-items: center; min-height: 110px; padding: 14px 18px;
  background: #fff; border: 1px solid #c9d6ee; border-radius: 10px;
  box-shadow: 0 4px 14px rgba(20, 33, 61, .07); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.a-games__grid .a-game-logo-tile:hover { border-color: var(--b-gold); box-shadow: 0 8px 22px rgba(20, 33, 61, .14); transform: translateY(-2px); }

/* Accessoires : bande bleu clair */
.shopify-section:has(> .a-rail-section):has(a[href$="/collections/accessoires"]) { background: var(--b-band); }

/* Une extension pour chaque collection : bloc blanc posé sur le fond bleu */
.a-extra { padding-inline: 40px; margin-top: 44px; background: #fff; border-radius: 12px; box-shadow: 0 6px 22px rgba(20, 33, 61, .06); }

/* Réassurance au-dessus du footer : bleu roi foncé */
.a-assure { background: var(--b-navy-2); border-color: rgba(255, 255, 255, .08); }
.a-assure__list strong, .a-assure__list span { color: #fff; }
.a-assure__list span span { color: #b8c4dd; }
.a-assure__list .a-icon { color: var(--b-gold); }

/* ---------- Pages de licence et collections ---------- */
body.antre .a-lic {
  background:
    radial-gradient(760px 360px at 50% 0%, rgba(36, 71, 214, .30), transparent 72%),
    linear-gradient(180deg, var(--b-navy) 0%, #231a25 100%);
  color: #fff;
}
body.antre .a-lic .a-lic__title { color: #fff; }
body.antre .a-lic .a-lic__text { color: #d6deef; }
body.antre .a-lic .a-lic__meta, body.antre .a-lic .a-lic__note { color: #aab7d3; }
body.antre .a-lic .a-lic__logo .a-game-logo { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
body.antre .a-lic .a-lic__formats { border-color: rgba(255, 255, 255, .14); }
body.antre .a-lic .a-lic__formats a { color: #fff; }
body.antre .a-lic .a-lic__formats a:hover, body.antre .a-lic .a-lic__formats a[aria-current] { border-color: var(--b-gold); }
body.antre .a-lic .a-lic__formats span { color: #aab7d3; }
body.antre .a-lic .a-crumbs a, body.antre .a-lic .a-crumbs, body.antre .a-lic .a-crumbs span { color: #c3cde3; }
/* Logos sombres lisibles sur le bleu nuit */
body.antre .a-lic .a-game-logo--onepiece, body.antre .a-lic .a-game-logo--dragonball, body.antre .a-lic .a-game-logo--magic { filter: brightness(0) invert(1); }
/* Le logo du hero doit garder le blanc malgré l'ombre (règle plus spécifique au-dessus) */
body.antre .a-lic .a-lic__logo .a-game-logo--onepiece, body.antre .a-lic .a-lic__logo .a-game-logo--dragonball, body.antre .a-lic .a-lic__logo .a-game-logo--magic { filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
body.antre .a-lic .a-tcard { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }

/* Filtres des collections : panneau blanc */
@media (min-width: 990px) {
  body.antre .facets-wrapper { align-self: start; padding: 18px 20px 8px; background: #fff; border: 1px solid #d6e0f1; border-radius: 12px; box-shadow: 0 4px 16px rgba(20, 33, 61, .05); }
}

/* Nouveautés : onglet actif souligné d'or sur le bleu nuit */
.shopify-section:has(> .a-ptabs) .a-pill[aria-selected='true'] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 0 2px var(--b-gold); }

/* ---------- Fiche produit ---------- */
body.antre .a-pdp__gallery, body.antre .a-pdp__slide { background-color: #fff; }
/* Avis sur bande bleu clair, « Protège tes cartes » sur bande bleu nuit */
body.antre .a-pdp > .a-reviews { margin-top: 44px; padding-bottom: 44px; background: var(--b-band); }
body.antre .a-pdp > .a-pdp__more:not(.a-pdp__more ~ .a-pdp__more) {
  padding-block: 52px 44px;
  background: radial-gradient(900px 420px at 85% 0%, rgba(36, 71, 214, .35), transparent 70%), linear-gradient(180deg, var(--b-navy) 0%, #231a25 100%);
}
body.antre .a-pdp > .a-pdp__more:not(.a-pdp__more ~ .a-pdp__more) .a-title { color: #fff; }
body.antre .a-pdp > .a-pdp__more:not(.a-pdp__more ~ .a-pdp__more) .a-head-link { color: #fff; }

/* ---------- Motif de la licence derrière l'en-tête (12/10/2026, généré par data/lic-pattern-2026-10-12/pat.py) ---------- */
body.antre .a-lic { position: relative; isolation: isolate; overflow: hidden; }
body.antre .a-lic > .a-container { position: relative; z-index: 1; }
body.antre .a-lic::before, body.antre .a-lic::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
body.antre .a-lic::before {
  background-repeat: repeat; background-size: 112px 112px; background-position: center top; opacity: .075;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%);
}
/* Lueur discrète à la couleur de la licence, sur les côtés */
body.antre .a-lic::after {
  background:
    radial-gradient(420px 320px at 0% 18%, color-mix(in srgb, var(--g) 26%, transparent), transparent 70%),
    radial-gradient(420px 320px at 100% 40%, color-mix(in srgb, var(--g) 18%, transparent), transparent 70%);
}
@media (max-width: 749px) { body.antre .a-lic::before { background-size: 88px 88px; } }
body.antre .a-lic.a-game--pokemon::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2213%22/%3E%3Cpath d=%22M-13 0h8.5M5 0h8%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%224.5%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2213%22/%3E%3Cpath d=%22M-13 0h8.5M5 0h8%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%224.5%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
body.antre .a-lic.a-game--onepiece::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Ccircle cx=%220%22 cy=%22-11%22 r=%223%22/%3E%3Cpath d=%22M0-8v20M-6-3h12M-11 4c0 7 5 9 11 9s11-2 11-9M-11 4l-3 3M11 4l3 3%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Ccircle cx=%220%22 cy=%22-11%22 r=%223%22/%3E%3Cpath d=%22M0-8v20M-6-3h12M-11 4c0 7 5 9 11 9s11-2 11-9M-11 4l-3 3M11 4l3 3%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
body.antre .a-lic.a-game--yugioh::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Cpath d=%22M0-14L14 11H-14Z%22/%3E%3Cpath d=%22M-7 2c4-4 10-4 14 0c-4 4-10 4-14 0Z%22/%3E%3Ccircle cx=%220%22 cy=%222%22 r=%221.8%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Cpath d=%22M0-14L14 11H-14Z%22/%3E%3Cpath d=%22M-7 2c4-4 10-4 14 0c-4 4-10 4-14 0Z%22/%3E%3Ccircle cx=%220%22 cy=%222%22 r=%221.8%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
body.antre .a-lic.a-game--magic::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Cpath d=%22M0-14C1.5-3 3-1.5 14 0C3 1.5 1.5 3 0 14C-1.5 3-3 1.5-14 0C-3-1.5-1.5-3 0-14Z%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Cpath d=%22M0-14C1.5-3 3-1.5 14 0C3 1.5 1.5 3 0 14C-1.5 3-3 1.5-14 0C-3-1.5-1.5-3 0-14Z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
body.antre .a-lic.a-game--dragonball::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2213%22/%3E%3Cpolygon points=%22-4.0,-6.4 -3.2,-4.1 -0.8,-4.1 -2.7,-2.6 -2.0,-0.2 -4.0,-1.6 -6.0,-0.2 -5.3,-2.6 -7.2,-4.1 -4.8,-4.1%22/%3E%3Cpolygon points=%224.0,-6.4 4.8,-4.1 7.2,-4.1 5.3,-2.6 6.0,-0.2 4.0,-1.6 2.0,-0.2 2.7,-2.6 0.8,-4.1 3.2,-4.1%22/%3E%3Cpolygon points=%22-4.0,1.6 -3.2,3.9 -0.8,3.9 -2.7,5.4 -2.0,7.8 -4.0,6.4 -6.0,7.8 -5.3,5.4 -7.2,3.9 -4.8,3.9%22/%3E%3Cpolygon points=%224.0,1.6 4.8,3.9 7.2,3.9 5.3,5.4 6.0,7.8 4.0,6.4 2.0,7.8 2.7,5.4 0.8,3.9 3.2,3.9%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2213%22/%3E%3Cpolygon points=%22-4.0,-6.4 -3.2,-4.1 -0.8,-4.1 -2.7,-2.6 -2.0,-0.2 -4.0,-1.6 -6.0,-0.2 -5.3,-2.6 -7.2,-4.1 -4.8,-4.1%22/%3E%3Cpolygon points=%224.0,-6.4 4.8,-4.1 7.2,-4.1 5.3,-2.6 6.0,-0.2 4.0,-1.6 2.0,-0.2 2.7,-2.6 0.8,-4.1 3.2,-4.1%22/%3E%3Cpolygon points=%22-4.0,1.6 -3.2,3.9 -0.8,3.9 -2.7,5.4 -2.0,7.8 -4.0,6.4 -6.0,7.8 -5.3,5.4 -7.2,3.9 -4.8,3.9%22/%3E%3Cpolygon points=%224.0,1.6 4.8,3.9 7.2,3.9 5.3,5.4 6.0,7.8 4.0,6.4 2.0,7.8 2.7,5.4 0.8,3.9 3.2,3.9%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
body.antre .a-lic.a-game--riftbound::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22112%22 height=%22112%22%3E%3Cg fill=%22none%22 stroke=%22%23fff%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(28 28) rotate(-12)%22%3E%3Cpath d=%22M0-14L12-7V7L0 14L-12 7V-7Z%22/%3E%3Cpath d=%22M0-7L6 0L0 7L-6 0Z%22/%3E%3C/g%3E%3Cg transform=%22translate(84 84) rotate(14) scale(.78)%22%3E%3Cpath d=%22M0-14L12-7V7L0 14L-12 7V-7Z%22/%3E%3Cpath d=%22M0-7L6 0L0 7L-6 0Z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
