/* ==========================================================================
   Black Friday 2026 — /fr/black-friday
   CSS de campagne, chargé APRÈS styles.css et ds-www.css (design system).
   Seuls les écarts propres à la campagne sont définis ici :
   - hero sombre (exception autorisée par CLAUDE.md pour le Black Friday),
   - macaron BF26, carte prix, téléchargement de l'app (badges / QR code).
   Tout le reste (header, boutons, cartes, sections, FAQ, footer) vient du DS.
   ========================================================================== */

/* Dégradé du macaron BF26 (rose -> rouge) */
.bf { --bf-gradient: var(--bg-orange-gradient); }

/* --------------------------------------------------------------------------
   Hero sombre en dégradé (violet / bleu sur bleu nuit) — choix validé pour la
   campagne Black Friday, en exception à la règle DS « pas de halo ».
   -------------------------------------------------------------------------- */
.bf .hero { background: var(--darkblue); color: var(--white); }
.bf .hero__bg {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(135,0,255,.35), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(65,65,255,.30), transparent 60%),
    #0a1324;
}
.bf .hero__bg img { opacity: .14; mix-blend-mode: screen; }
.bf .hero__sub { color: #c5ccd6; font-weight: 300; font-size: 18px; line-height: 1.35; max-width: 540px; margin-bottom: 32px; }
@media (min-width: 1024px) { .bf .hero__sub { font-size: 20px; } }
.bf .hero__sub strong { color: var(--white); font-weight: 500; }
.bf .hero__phone { filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.bf .hero__coin { filter: drop-shadow(0 12px 30px rgba(0,0,0,.4)); }
@media (max-width: 1023px) { .bf .hero__phone { width: min(78%, 360px); } }

/* --------------------------------------------------------------------------
   Macaron BF26 (Figma : BF26 / Macaron)
   Disque noir, liseré dégradé, « BLACK FRIDAY » blanc + « -50 % » en dégradé.
   -------------------------------------------------------------------------- */
.bf-macaron {
  width: 104px; height: 104px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(#0b0b0b, #0b0b0b) padding-box, var(--bf-gradient) border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  margin-bottom: 24px;
  transform: rotate(-8deg);
}
.bf-macaron__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.bf-macaron__value,
.bf-grad-text {
  background: var(--bf-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bf-macaron__value { font-family: var(--font-head); font-weight: 600; font-size: 28px; line-height: 1; }
@media (min-width: 1024px) {
  .bf-macaron { width: 120px; height: 120px; }
  .bf-macaron__label { font-size: 12px; }
  .bf-macaron__value { font-size: 32px; }
}
.bf-grad-text { white-space: nowrap; }
.hero__sub sup, .bf-offer sup, .faq sup, .step sup { font-size: .65em; line-height: 0; }

/* --------------------------------------------------------------------------
   Mentions Conformité : sous le hero (aplat sombre) et en pied de page (clair)
   -------------------------------------------------------------------------- */
.bf-mentions { background: #0a1324; color: #aeb6c0; font-size: 12px; font-weight: 300; line-height: 1.55; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.bf-mentions a,
.bf-footer-mentions a { color: inherit; text-decoration: underline; word-break: break-all; }
.bf-footer-mentions { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--text-muted); padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Carte prix (style des cartes /fr/offres-particuliers de www), posée sur la
   section dégradée : cartes blanches + ombre douce, rien de sombre dessus.
   -------------------------------------------------------------------------- */
.bf-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 1000px;
  margin: 8px auto 0;
}
@media (min-width: 900px) { .bf-offer { grid-template-columns: 1.1fr 1fr; } }

.bf-offer__main,
.bf-offer__features {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}
@media (min-width: 768px) { .bf-offer__main, .bf-offer__features { padding: 32px; } }
.bf-offer__main { display: flex; flex-direction: column; }

.bf-offer__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.bf-offer__num { font-weight: 300; font-size: 20px; }
.bf-offer__name { font-family: var(--font-body); font-weight: 500; font-size: 28px; line-height: 1.1; }
@media (min-width: 768px) { .bf-offer__name { font-size: 32px; } }
.bf-offer__tag {
  margin-left: auto;
  align-self: center;
  background: var(--tint-violet);
  color: var(--purple);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.bf-offer__price { padding-block: 24px; }
.bf-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bf-price del { font-size: 24px; font-weight: 300; color: var(--text-muted); text-decoration-thickness: 2px; }
.bf-price ins { text-decoration: none; font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 768px) { .bf-price ins { font-size: 56px; } }
.bf-price__unit { font-size: 16px; font-weight: 300; }
.bf-offer__year { margin-top: 12px; font-size: 16px; font-weight: 300; }
.bf-offer__year strong { font-weight: 500; }
.bf-offer__commit { margin-top: 4px; font-size: 14px; font-weight: 300; color: var(--text-muted); }

.bf-offer__pitch { font-size: 18px; line-height: 1.35; font-weight: 300; color: var(--text-muted); padding-bottom: 28px; }
/* La carte est blanche : le CTA garde le dégradé (le DS le passe en blanc sur la section dégradée) */
.section--gradient .bf-offer .btn--primary { background: var(--bg-gradient-button); color: var(--white); }
.section--gradient .bf-offer .btn--primary .arrow path { stroke: var(--white); }
.section--gradient .bf-offer .btn--primary:hover { background: var(--darkblue); }
.bf-offer__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 559px) { .bf-offer__cta { align-self: stretch; } }

.bf-offer__features-title { font-family: var(--font-body); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.bf-checks li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 17px; font-weight: 300; line-height: 1.4;
}
.bf-checks li:first-child { border-top: none; }
.bf-check {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 24px;
  border-radius: 4px;
  background: var(--light);
}
.bf-offer__who { max-width: 1000px; margin: 20px auto 0; text-align: center; font-size: 15px; font-weight: 300; color: var(--white); }

/* --------------------------------------------------------------------------
   Pourquoi s'abonner : titres de cartes en DM Sans Medium (comme les steps DS)
   -------------------------------------------------------------------------- */
.bf-why .card { align-items: start; align-content: start; padding: 24px; }
.bf-why .card h3 { align-self: center; font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.15; }

/* --------------------------------------------------------------------------
   Étapes (3 colonnes en desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) { .bf-steps { grid-template-columns: repeat(3, 1fr); } }
.bf-download { margin-top: 4px; }

/* Mobile : badges stores ; desktop : QR code */
.bf-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px;
  padding: 7px 16px 7px 12px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  line-height: 1.1;
  font-size: 17px; font-weight: 500;
}
.bf-store small { display: block; font-size: 11px; font-weight: 400; }
.bf-store:hover { background: var(--darkblue); }
.bf-qr { display: none; align-items: center; gap: 16px; }
.bf-qr img { width: 116px; height: 116px; border-radius: 4px; flex: none; }
.bf-qr p { color: var(--text-muted); font-size: 15px; font-weight: 300; line-height: 1.4; }
@media (min-width: 1024px) {
  .bf-stores { display: none; }
  .bf-qr { display: flex; }
}

.bf-already {
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.bf-already p { font-size: 18px; font-weight: 300; }
.bf-already strong { font-weight: 500; }

/* Liens dans la FAQ */
.faq-a a { text-decoration: underline; color: var(--text); }
