/* ═══════════════════════════════════════════════════════════════════════
   BLOG ET GUIDES AU TÉLÉPHONE (04/11/2026)

   Le style de la nouvelle landing et des tarifs, appliqué au blog et aux
   guides sans toucher à leurs composants : fond noir profond, grands titres
   à empattement avec le mot fort en italique dégradé, moins de vide en haut,
   rubriques en une seule rangée à glisser, articles en cartes arrondies.

   Chargée par le layout du groupe marketing ; ne vise que les classes du
   blog (bl-*), et seulement en thème sombre : le thème clair garde la
   présentation de blog.css. Depuis le 02/11/2026 (demande de Cassandre, « le
   nouveau style sur toutes les pages »), l'ordinateur la reçoit aussi, à
   l'échelle d'un grand écran (dernier bloc).
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  :root:not([data-theme="light"]) .brand-root:has(.bl-index-hero, .bl-art-hero) {
    background: #0c0d10; background-image: none;
  }

  /* ─── En-têtes ─── */
  :root:not([data-theme="light"]) .bl-index-hero,
  :root:not([data-theme="light"]) .bl-art-hero { padding-top: 92px; }
  :root:not([data-theme="light"]) .bl-art-hero::before { opacity: 0.6; }
  :root:not([data-theme="light"]) .bl-index-hero .breadcrumb,
  :root:not([data-theme="light"]) .bl-art-tete .breadcrumb { font-size: 13px; opacity: 0.7; }

  :root:not([data-theme="light"]) .bl-index-hero h1,
  :root:not([data-theme="light"]) .bl-art-tete h1 {
    font-family: var(--font-serif, "Instrument Serif"), Georgia, serif; font-weight: 400;
    font-size: 52px; line-height: 1; letter-spacing: -0.025em; margin: 16px 0 16px;
  }
  :root:not([data-theme="light"]) .bl-art-tete h1 { font-size: 44px; }
  :root:not([data-theme="light"]) .bl-index-hero h1 span,
  :root:not([data-theme="light"]) .bl-art-tete h1 span {
    font-style: italic;
    background: linear-gradient(95deg, #8fb0ff 0%, #b79bff 55%, #e2d4ff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: 0.06em;
  }
  :root:not([data-theme="light"]) .bl-index-hero .lead,
  :root:not([data-theme="light"]) .bl-art-tete .lead { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.82); }

  /* ─── Rubriques : une seule rangée à glisser ─── */
  :root:not([data-theme="light"]) .bl-filtres {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 26px -24px 6px; padding: 0 24px;
  }
  :root:not([data-theme="light"]) .bl-filtres::-webkit-scrollbar { display: none; }
  :root:not([data-theme="light"]) .bl-filtre { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: #17181d; border-color: rgba(255,255,255,0.10); color: #a6a9b6; }
  :root:not([data-theme="light"]) .bl-filtre[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0c0d10; }

  /* ─── Articles en cartes ─── */
  :root:not([data-theme="light"]) .bl-une,
  :root:not([data-theme="light"]) .bl-carte {
    overflow: hidden; border-radius: 24px; padding-bottom: 20px;
    background: linear-gradient(180deg, #16171c 0%, #111216 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  }
  :root:not([data-theme="light"]) .bl-une { gap: 0; }
  :root:not([data-theme="light"]) .bl-une .bl-mos,
  :root:not([data-theme="light"]) .bl-carte .bl-mos { border-radius: 0; margin-bottom: 16px; box-shadow: none; }
  :root:not([data-theme="light"]) .bl-une > *:not(.bl-mos),
  :root:not([data-theme="light"]) .bl-carte > *:not(.bl-mos) { margin-left: 20px; margin-right: 20px; }
  :root:not([data-theme="light"]) .bl-une h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
  :root:not([data-theme="light"]) .bl-carte h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
  :root:not([data-theme="light"]) .bl-duo,
  :root:not([data-theme="light"]) .bl-grille { gap: 16px; }
  :root:not([data-theme="light"]) .bl-lire { color: #8fb0ff; }

  /* ─── Corps d'article ─── */
  :root:not([data-theme="light"]) .legal-article.bl-prose h2 {
    font-family: var(--font-serif, "Instrument Serif"), Georgia, serif; font-weight: 400;
    font-size: 36px; line-height: 1.05; letter-spacing: -0.02em;
  }
  :root:not([data-theme="light"]) .legal-article.bl-prose p,
  :root:not([data-theme="light"]) .legal-article.bl-prose li { color: rgba(255,255,255,0.86); }
}

/* ─── À L'ORDINATEUR (02/11/2026) ───
   Le même style, à l'échelle : titres à empattement plus grands, rubriques
   qui passent à la ligne au lieu de glisser, articles en cartes. L'article
   « à la une » garde ses deux colonnes (image, texte). */
@media (min-width: 901px) {
  :root:not([data-theme="light"]) .brand-root:has(.bl-index-hero, .bl-art-hero) {
    background: #0c0d10; background-image: none;
  }
  :root:not([data-theme="light"]) .bl-index-hero,
  :root:not([data-theme="light"]) .bl-art-hero { padding-top: 130px; }
  :root:not([data-theme="light"]) .bl-art-hero::before { opacity: 0.6; }
  :root:not([data-theme="light"]) .bl-index-hero h1,
  :root:not([data-theme="light"]) .bl-art-tete h1 {
    font-family: var(--font-serif, "Instrument Serif"), Georgia, serif; font-weight: 400;
    font-size: clamp(64px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.025em; margin: 18px 0 22px;
  }
  :root:not([data-theme="light"]) .bl-art-tete h1 { font-size: clamp(52px, 4.6vw, 70px); line-height: 1; }
  :root:not([data-theme="light"]) .bl-index-hero h1 span,
  :root:not([data-theme="light"]) .bl-art-tete h1 span {
    font-style: italic;
    background: linear-gradient(95deg, #8fb0ff 0%, #b79bff 55%, #e2d4ff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: 0.06em;
  }
  :root:not([data-theme="light"]) .bl-index-hero .lead,
  :root:not([data-theme="light"]) .bl-art-tete .lead { font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.82); }

  :root:not([data-theme="light"]) .bl-filtre { height: 42px; padding: 0 18px; border-radius: 999px; background: #17181d; border-color: rgba(255,255,255,0.10); color: #a6a9b6; transition: color .2s, border-color .2s; }
  :root:not([data-theme="light"]) .bl-filtre:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
  :root:not([data-theme="light"]) .bl-filtre[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0c0d10; }

  :root:not([data-theme="light"]) .bl-une,
  :root:not([data-theme="light"]) .bl-carte {
    overflow: hidden; border-radius: 28px;
    background: linear-gradient(180deg, #16171c 0%, #111216 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
    transition: box-shadow .25s ease;
  }
  :root:not([data-theme="light"]) .bl-une:hover,
  :root:not([data-theme="light"]) .bl-carte:hover { box-shadow: inset 0 0 0 1px rgba(143,176,255,0.4); }
  :root:not([data-theme="light"]) .bl-une { padding-right: 36px; }
  :root:not([data-theme="light"]) .bl-une .bl-mos,
  :root:not([data-theme="light"]) .bl-carte .bl-mos { border-radius: 0; box-shadow: none; }
  :root:not([data-theme="light"]) .bl-carte { padding-bottom: 24px; }
  :root:not([data-theme="light"]) .bl-carte .bl-mos { margin-bottom: 18px; }
  :root:not([data-theme="light"]) .bl-carte > *:not(.bl-mos) { margin-left: 24px; margin-right: 24px; }
  :root:not([data-theme="light"]) .bl-une h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; }
  :root:not([data-theme="light"]) .bl-carte h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
  :root:not([data-theme="light"]) .bl-duo,
  :root:not([data-theme="light"]) .bl-grille { gap: 18px; }
  :root:not([data-theme="light"]) .bl-lire { color: #8fb0ff; }

  :root:not([data-theme="light"]) .legal-article.bl-prose h2 {
    font-family: var(--font-serif, "Instrument Serif"), Georgia, serif; font-weight: 400;
    font-size: 46px; line-height: 1.04; letter-spacing: -0.02em;
  }
  :root:not([data-theme="light"]) .legal-article.bl-prose p,
  :root:not([data-theme="light"]) .legal-article.bl-prose li { color: rgba(255,255,255,0.86); }
}
