/* Refonte 2026-12 : identité sobre (blanc, gris clair, encre, bleu du logo), Inter seule.
   Ce fichier est chargé après main.css : il réaligne les variables des anciennes pages
   et habille l'en-tête, le pied de page et les pages refondues (.v3). */
:root {
  --primary: #3420d9;
  --secondary: #101322;
  --base: #555a6b;
  --tertiary: #f5f6f8;
  --quaternary: #e2e4ea;
  --black: #101322;
  --radius: 8px;
}
body { font-family: 'Inter', system-ui, sans-serif; color: #101322; padding-top: 80px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; color: #101322; }
a { color: #3420d9; }
a:hover { color: #2917ad; }
.btn { font-family: 'Inter', system-ui, sans-serif; border-radius: 6px; font-weight: 600; }
.btn-primary { background: #3420d9; color: #fff; }
.btn-primary:hover { background: #2917ad; opacity: 1; color: #fff; }
.btn-outline { border: 1px solid #c5c9d4; color: #101322; }
.btn-outline:hover { background: #101322; color: #fff; opacity: 1; }

/* ── En-tête ─────────────────────────────────────────── */
header.sx-header { background: #fff; padding: 0 20px; border-bottom: 1px solid #e2e4ea; font-family: 'Inter', system-ui, sans-serif; }
header.sx-header.visible { box-shadow: 0 1px 10px rgba(16, 19, 34, .06); }
.sx-inner { max-width: 1240px; height: 79px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.sx-logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.sx-logo img { height: 32px; width: auto; display: block; }
.sx-nav { display: flex; align-items: center; gap: 4px 18px; font-weight: 500; font-size: 15px; }
.sx-nav a { display: flex; align-items: center; min-height: 44px; color: #101322; text-decoration: none; white-space: nowrap; }
.sx-nav a:hover, .sx-nav a[aria-current="page"] { color: #3420d9; text-decoration: none; }
.sx-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.sx-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.sx-actions > a { display: flex; align-items: center; min-height: 44px; font-weight: 600; color: #101322; text-decoration: none; white-space: nowrap; }
.sx-actions > a:hover { color: #3420d9; text-decoration: none; }
.sx-cart { position: relative; gap: 6px; }
.sx-cart .cart-badge { position: static; background: #3420d9; }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 6px; font-weight: 600; font-size: 15px; background: #3420d9; color: #fff !important; text-decoration: none; white-space: nowrap; }
.sx-btn:hover { background: #2917ad; text-decoration: none; }
.sx-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #c5c9d4; border-radius: 6px; background: #fff; color: #101322; cursor: pointer; }
.sx-nav a.sx-nav-extra { display: none; }

@media (max-width: 1240px) {
  .sx-burger { display: inline-flex; }
  .sx-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid #e2e4ea; box-shadow: 0 12px 24px rgba(16, 19, 34, .08); max-height: calc(100vh - 80px); overflow-y: auto; }
  .sx-nav.open { display: flex; }
  .sx-nav a { border-bottom: 1px solid #e2e4ea; font-size: 17px; min-height: 52px; }
  .sx-nav a.sx-nav-extra { display: flex; }
  .sx-hide-m { display: none !important; }
}
@media (max-width: 520px) {
  .sx-inner { gap: 12px; }
  .sx-actions { gap: 10px; }
  .sx-btn { padding: 0 14px; }
}

/* ── Pied de page ────────────────────────────────────── */
footer.sx-footer { background: #101322; color: #c3c7d6; padding: 64px 20px 32px; font-family: 'Inter', system-ui, sans-serif; }
.sx-foot { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.sx-foot-brand { margin: 0; font-weight: 600; font-size: 32px; letter-spacing: -.02em; color: #fff; }
.sx-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.sx-foot-cols h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #fff; }
.sx-foot-cols ul { list-style: none; margin: 0; padding: 0; line-height: 1.5; }
.sx-foot-cols li { margin: 0; }
.sx-foot-cols a { display: inline-block; padding: 5px 0; color: #c3c7d6; font-size: 14px; text-decoration: none; }
.sx-foot-cols a:hover { color: #fff; text-decoration: underline; }
.sx-foot-bottom { margin: 0; font-size: 13px; border-top: 1px solid #2a2e45; padding-top: 20px; color: #c3c7d6; }

/* ── Pages refondues ─────────────────────────────────── */
.v3 { font-family: 'Inter', system-ui, sans-serif; color: #101322; background: #fff; line-height: 1.45; }
.v3 h1, .v3 h2, .v3 h3 { font-weight: 600; letter-spacing: -.02em; color: inherit; line-height: 1.2; }
.v3 p, .v3 li { line-height: 1.5; }
.v3 a { color: #3420d9; text-decoration: none; }
.v3 a:hover { color: #2917ad; text-decoration: none; }
.v3 img { max-width: 100%; }
.v3 .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 6px; font-weight: 600; font-size: 16px; box-sizing: border-box; border: 1px solid #c5c9d4; color: #101322; background: transparent; line-height: 1.2; }
.v3 .btn:hover { background: #101322; color: #fff; }
.v3 .btn.plein { background: #3420d9; border-color: #3420d9; color: #fff; }
.v3 .btn.plein:hover { background: #2917ad; border-color: #2917ad; color: #fff; }
.v3 .btn.clair { border-color: #fff; color: #fff; }
.v3 .btn.clair:hover { background: #fff; color: #101322; }
.v3 .onglet { background: #fff; color: #101322; border: 1px solid #c5c9d4; }
.v3 .onglet[aria-pressed="true"] { background: #101322; color: #fff; }
.v3 [hidden] { display: none !important; }

/* Boutique */
.v3 .rayon { color: #101322; }
.v3 .rayon:hover { background: #f5f6f8; color: #101322; }
.v3 .version { min-height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid #c5c9d4; background: #fff; color: #101322; font: 600 14px 'Inter', system-ui, sans-serif; cursor: pointer; }
.v3 .version[aria-pressed="true"] { background: #101322; border-color: #101322; color: #fff; }
.v3 .shop-card { background: #fff; border: 1px solid #e2e4ea; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.v3 .shop-card img { width: 100%; height: 230px; object-fit: contain; display: block; background: #fff; }
.v3 .shop-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.v3 .shop-card__name { font-size: 18px; font-weight: 600; margin: 0; }
.v3 .shop-card__text { font-size: 14px; color: #555a6b; margin: 0; }
.v3 .shop-card__price { margin: auto 0 0; padding-top: 8px; font-weight: 600; font-size: 22px; }
.v3 .shop-tpe { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 32px; }
.v3 .shop-tpe input { width: 18px; height: 18px; accent-color: #3420d9; }
.v3 .shop-note { font-size: 13px; color: #555a6b; margin: 0; }
.v3 .shop-add { display: flex; align-items: center; gap: 8px; }
.v3 .shop-add .btn { flex: 1; min-height: 44px; padding: 0 16px; }
.v3 .shop-qty { width: 56px; min-height: 44px; border: 1px solid #c5c9d4; border-radius: 6px; text-align: center; font: 500 15px 'Inter', system-ui, sans-serif; }
.v3 .shop-feedback { font-size: 14px; font-weight: 600; margin: 0; }
.v3 .shop-feedback.ok { color: #166534; }
.v3 .shop-feedback.err { color: #b42318; }
html { scroll-padding-top: 96px; }
.v3 [data-produit="640"] .shop-feedback a { color: #fff; text-decoration: underline; }
