/* LP Cyber Monday 2026 v3 (30.11.2026, préfixe cm3-) : page générée par tools/cyber_monday_v3.py.
   Chargée APRÈS assets/calendriers.css, black-month-v3.css et black-friday-v3.css (même système que la LP Black Friday v3 :
   ticket BF26, compte à rebours, bandeau défilant, étapes, cartes, avis, FAQ, barre collante) ; ce fichier ne fait que recolorer
   et ajouter la bannière, l'ouverture en 2 colonnes et la grille des 15 produits.

   ===== COULEURS : prélevées dans la bannière de Marc (30.11.2026, tools/assets-src/cybermonday/cybermonday-desktop-fr.jpg) =====
   --cm-fond / --cm-fond-2   bleu nuit du fond gauche de la bannière (#080a16, raccord sans couture) / indigo du ciel
   --cm-accent / --cm-accent-2  lavande très clair du titre MONDAY et du « -56 % » / ton du bouton au survol
   --cm-violet               reflets violets de la ville (lueurs, filets, séparateurs)
   --cm-accent-ink           violet indigo lisible sur fond blanc (surtitres, « avec le code BF26 ») : 8,8:1 sur blanc
   --cm-texte / -2 / -3       texte sur le fond sombre (17,9:1)
   --cm-achat / --cm-achat-2  achat (inchangé) : prix final, pastille, bandeau défilant, boutons « Ajouter au panier »
   --cm-sur-accent           texte posé sur l'accent (15,4:1)
   --cm-clair / --cm-filet    fond clair lavande des sections (étapes, produits, avis) et filets */
.cm3 {
  --cm-fond: #080a16;        --cm-fond-rgb: 8, 10, 22;
  --cm-fond-2: #1b2350;
  --cm-accent: #dbe4f5;      --cm-accent-rgb: 219, 228, 245;
  --cm-accent-2: #c4ccdd;
  --cm-violet: #b09ed0;      --cm-violet-rgb: 176, 158, 208;
  --cm-accent-ink: #45408f;
  --cm-texte: #f2f4fb;       --cm-texte-rgb: 242, 244, 251;
  --cm-texte-2: rgba(242, 244, 251, .82);
  --cm-texte-3: rgba(242, 244, 251, .7);
  --cm-achat: #dc2626;
  --cm-achat-2: #b91c1c;
  --cm-sur-accent: #080a16;
  --cm-clair: #f2f2f9;
  --cm-filet: #e2e2ef;

  /* branchement sur les variables de la LP Black Friday v3 et de la LP calendriers */
  --bf3-brun: var(--cm-fond); --bf3-brun-2: var(--cm-fond-2); --bf3-sable: var(--cm-accent); --bf3-sable-2: var(--cm-accent-2);
  --cal-or-ink: var(--cm-accent-ink); --cal-rouge: var(--cm-achat); --cal-rouge-2: var(--cm-achat-2);
}
.cm3 .bf3-brun { --cal-ivoire: var(--cm-texte); --cal-ivoire-2: var(--cm-texte-2); --cal-ivoire-3: var(--cm-texte-3); color: var(--cm-texte); }
.cm3 .bf3-brun::after { background: radial-gradient(60% 55% at 85% 100%, rgba(var(--cm-violet-rgb), .16), transparent 70%),
                                    linear-gradient(180deg, var(--cm-fond) 0, rgba(var(--cm-fond-rgb), 0) 40%),
                                    radial-gradient(70% 60% at 50% 120%, rgba(27, 35, 80, .9), transparent 75%); }
/* trame fine « écran » sur le fond sombre (décor, sans texte) */
.cm3 .bf3-brun::before { display: block; z-index: -2; opacity: .5;
    background: linear-gradient(rgba(var(--cm-violet-rgb), .05) 1px, transparent 1px) 0 0 / 100% 32px,
                linear-gradient(90deg, rgba(var(--cm-violet-rgb), .05) 1px, transparent 1px) 0 0 / 32px 100%;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cm3 .bf3-brun .cal-crumbs, .cm3 .bf3-brun .cal-crumbs a { color: var(--cm-texte-3); }
.cm3 .bf3-sable-btn { color: var(--cm-sur-accent); box-shadow: 0 12px 28px -14px rgba(var(--cm-accent-rgb), .75); }
.cm3 .bf3-brun .bf3-ticket { background: rgba(var(--cm-fond-rgb), .6); border-color: var(--cm-accent); }
.cm3 .bf3-ticket-stub { border-right-color: rgba(var(--cm-accent-rgb), .45); }
.cm3 .bf3-ticket-label { color: var(--cm-texte-2); }
.cm3 .bf3-copy { color: var(--cm-sur-accent); }
.cm3 .bf3-copy[data-bf-done] { background: #15803d; color: #fff; }
.cm3 .bf3-ticket-hero::after { background: linear-gradient(90deg, transparent, rgba(var(--cm-accent-rgb), .22), transparent); }
.cm3 .bf3-final.bf3-brun::after { background: radial-gradient(60% 70% at 50% 0%, rgba(var(--cm-violet-rgb), .2), transparent 70%); }
.cm3 .bf3-sticky { background: rgba(var(--cm-fond-rgb), .97); border-top-color: rgba(var(--cm-texte-rgb), .14); }
.cm3 .bf3-sticky-chip { color: var(--cm-texte); }
.cm3 .bf3-sticky-copy { background: rgba(var(--cm-texte-rgb), .12); color: var(--cm-texte); }
.cm3 .bf3-tape { background: linear-gradient(180deg, var(--cm-fond) 50%, #fff 50%); }
.cm3 .bf3-tape-sep { color: var(--cm-accent); }
.cm3 .bf3-tape-thin .bf3-tape-band { background: var(--cm-accent); }
.cm3 .bf3-tape-thin { background: none; }
.cm3 .bf3-tape-thin .bf3-tape-band { color: var(--cm-sur-accent); }
.cm3 .bf3-tape-thin .bf3-tape-sep { color: var(--cm-achat); }
.cm3 .bf3-step-n { background: var(--cm-fond); color: var(--cm-accent); }
:lang(de) .cm3 .bf3-ticket-hero .bf3-ticket-stub { border-bottom-color: rgba(var(--cm-accent-rgb), .45); }

/* ===== 0. bannière de Marc = le hero (30.11.2026, Marc : « t'as mis la bannière dans la bannière c'est vraiment pas propre ») :
   pleine largeur, bord à bord, juste sous l'en-tête du site, sans coin arrondi, bordure, ombre ni conteneur ; image entière (jamais
   rognée : hauteur = largeur x ratio), desktop dès 768 px, mobile en dessous ; au-delà de 2880 px, centrée sur le même bleu nuit.
   Desktop : bas de l'image fondu sur 4 % dans le bleu nuit (aucun texte dans cette bande) ; le bloc suivant part du même bleu. ===== */
.cm3-banner-sec { background: var(--cm-fond); }
.cm3-banner { position: relative; max-width: 2880px; margin: 0 auto; }
.cm3-banner-a { display: block; }
.cm3-banner picture, .cm3-banner img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .cm3-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4%; pointer-events: none;
      background: linear-gradient(180deg, rgba(var(--cm-fond-rgb), 0), var(--cm-fond)); }
}
@media (min-width: 2881px) {  /* très grands écrans : bords de l'image fondus dans le fond, pas de coupure nette */
  .cm3-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background: linear-gradient(90deg, var(--cm-fond), rgba(var(--cm-fond-rgb), 0) 3%, rgba(var(--cm-fond-rgb), 0) 97%, var(--cm-fond)); }
}
/* bloc sous la bannière : même bleu nuit, sans trame ni filet, aucune rupture */
.cm3 .cm3-hero::before { display: none; }
.cm3 .cm3-hero { background: var(--cm-fond); }
@media (max-width: 767.98px) { .cm3 .cm3-hero { background: linear-gradient(180deg, #060609, var(--cm-fond) 64px); } }

/* ===== 1. ouverture : texte à gauche, ticket + compte à rebours à droite (desktop) ; une colonne en mobile ===== */
.cm3-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 22px 0 28px;
    grid-template-areas: "head" "cd" "more"; }  /* v4 (30.11.2026) : plus de ticket BF26 dans le hero (Marc) */
.cm3-hero-head { grid-area: head; display: grid; gap: 12px; }
.cm3-hero-code { grid-area: code; }
.cm3-hero-cd { grid-area: cd; }
.cm3-hero-more { grid-area: more; display: grid; gap: 14px; }
.cm3-hero-fine { grid-area: fine; margin: 0; }
.cm3-h1 { display: grid; gap: 8px; }
.cm3-offer { display: block; font-size: clamp(36px, 22px + 4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; color: var(--cm-texte); text-wrap: balance; }
.cm3-lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--cm-texte-2); max-width: 34em; text-wrap: pretty; }
.cm3-hero-cd .bf3-cd-hero { margin-top: 0; }
.cm3 .cm3-hero .bf3-cta { min-height: 56px; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
@media (min-width: 1024px) {
  .cm3-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; row-gap: 18px; padding: 30px 0 48px;
      grid-template-areas: "head cd" "more cd"; align-items: center; }
  .cm3-hero-head { align-self: center; }
    .cm3-offer { font-size: clamp(54px, 4.6vw, 72px); }
  .cm3-lead { font-size: 18px; }
  .cm3-hero-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .cm3 .cm3-hero .bf3-cta { width: auto; padding: 0 34px; }
  .cm3-hero-fine { align-self: center; }
  .cm3-hero-cd .cal-cd-box b { width: 60px; height: 60px; font-size: 28px; }
  .cm3-hero-cd .cal-cd-box { min-width: 66px; }
}
@media (prefers-reduced-motion: no-preference) {
    .cm3-hero-head { animation: bf3-in .7s var(--bf3-ease) .06s both; }
  .cm3-hero-code { animation: bf3-in .7s var(--bf3-ease) .18s both; }
  .cm3-hero-cd { animation: bf3-in .7s var(--bf3-ease) .28s both; }
  .cm3-hero-more, .cm3-hero-fine { animation: bf3-in .7s var(--bf3-ease) .36s both; }
}

/* ===== fonds clairs : froids (la LP Black Friday v3 avait l'ivoire et les flocons dorés des calendriers) ===== */
.cm3 { --cal-ivoire-chaud: var(--cm-clair); --cal-filet: var(--cm-filet); --cal-flocons: none; }
.cm3 .cm3-deals, .cm3 .cm3-rev { background: var(--cm-clair); background-image: none; }
.cm3 .cm3-deals::before, .cm3 .cm3-deals::after, .cm3 .cm3-rev::before, .cm3 .cm3-rev::after { display: none; }
.cm3 .bf3-steps { background: #fff; }
.cm3 .cal-trust-ic { background: rgba(var(--cm-violet-rgb), .2); color: var(--cm-accent-ink); }

/* ===== 3. grille des 15 produits (+ tuile catalogue) : 2 colonnes mobile, 4 desktop ===== */
#offres { scroll-margin-top: 12px; }
.cm3-eyebrow { color: var(--cm-accent-ink); }
.cm3-card .bm3-card-media { position: relative; }
.cm3-off { padding: 4px 10px; font-size: 15px; line-height: 20px; font-weight: 800; background: var(--cm-achat); color: #fff; }
.cm3-final { margin: 8px 0 0; }
.cm3-final b { color: var(--cm-achat); }
.cm3-with { margin: 0 0 4px; }
.cm3-promo { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; margin: 0 0 10px; font-size: 14px; line-height: 20px; color: var(--cal-gris); }
.cm3-promo-g { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.cm3-promo-v, .cm3-promo s { white-space: nowrap; }
.cm3-promo-v { font-weight: 700; color: var(--cal-encre); }
@media (max-width: 559.98px) { .cm3-promo { display: block; } .cm3-promo-l { display: block; } .cm3-promo-g { display: flex; } }
.cm3-card .bf3-save { margin-bottom: 12px; }
.cm3-more { display: grid; align-content: center; justify-items: center; gap: 10px; min-height: 100%; padding: 20px 16px; border-radius: 16px; text-align: center;
    background: var(--cm-fond); color: var(--cm-texte); border: 1px solid rgba(var(--cm-violet-rgb), .35); transition: border-color .2s var(--bf3-ease); }
.cm3-more:hover { border-color: var(--cm-accent); }
.cm3-more-pct { font-size: clamp(40px, 30px + 2vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--cm-accent); }
.cm3-more-t { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--cm-texte-2); text-wrap: balance; }
.cm3-more .bf3-more-a { color: var(--cm-accent); }
.cm3-more:hover .bf3-more-a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .cm3-final b { font-size: 28px; line-height: 32px; } }

/* ===== offre terminée ===== */
.cm3 .bf3-end-card em { color: var(--cm-achat-2); }

/* ===== 4. avis : 3 colonnes en desktop, rangée défilante en mobile (focus clavier visible) ===== */
.cm3-quotes:focus-visible { outline: 2px solid var(--cm-accent-ink); outline-offset: 4px; border-radius: 16px; }
.cm3 .cm3-rev .cal-quote figcaption a { color: var(--cm-accent-ink); }
@media (max-width: 1023.98px) { .cm3 .cm3-rev .cm3-quotes { align-items: stretch; } .cm3 .cm3-rev .cm3-quotes .cal-quote { display: flex; flex-direction: column; } .cm3 .cm3-rev .cal-quote figcaption { margin-top: auto; } }

/* ===== v4 (30.11.2026, Marc : « bf26 marche pas sur les promos ») : cartes sans code, économie en CHF et en %, tuile Promotions,
   barre collante à un seul bouton (vers la grille) ===== */
.cm3-save-pct { font-weight: 800; }
.cm3-more-t b { display: block; margin-bottom: 4px; font-size: 18px; line-height: 22px; color: var(--cm-texte); }
.cm3-sticky .bf3-sticky-st { flex: 1; }
@media (min-width: 1024px) { .cm3-hero-cd { justify-self: start; } }
/* v4 : h1 plus long (« Cyber Monday : sex toys électroniques en promo aujourd'hui ») -> un cran plus petit */
.cm3 .cm3-hero .cm3-offer { font-size: clamp(32px, 20px + 3.4vw, 40px); }
@media (min-width: 1024px) { .cm3 .cm3-hero .cm3-offer { font-size: clamp(44px, 3.4vw, 54px); } }
