/* Le blog (skiiv.app/blog) : pages statiques, mêmes couleurs et même police que la landing */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FBFBFE; --bg2: #F5F4FB; --card: #FFFFFF;
  --border: #E8E2FD; --border2: #DDD6FE;
  --text: #09182E; --text2: #484555; --dim: #797586;
  --accent: #5B38E3; --accent2: #4A2BC4; --soft: #E6DEFF; --soft2: #CABEFF;
  --yellow: #FEBD2D; --yellow-text: #3A2A00;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; }

/* en-tête */
.b-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.b-logo img { height: 40px; display: block; }
.b-top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.b-top nav a:not(.b-btn) { color: var(--text2); text-decoration: none; font-weight: 500; }
.b-top nav a:not(.b-btn):hover { color: var(--accent); }

.b-btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer; }
.b-btn:hover { background: var(--accent2); }
.b-btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* accueil du blog */
.b-home { max-width: 1080px; margin: 0 auto; padding: 24px 20px 40px; }
.b-hero { text-align: center; padding: 40px 0 44px; }
.b-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; max-width: 760px; margin: 0 auto 16px; text-wrap: balance; }
.b-hero p { color: var(--text2); font-size: 18px; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.b-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.b-card:hover { transform: translateY(-3px); border-color: var(--soft2); box-shadow: 0 10px 30px rgba(91, 56, 227, .10); }
.b-card h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.b-card p { color: var(--text2); font-size: 15px; flex: 1; }
.b-card.une { grid-column: 1 / -1; padding: 36px 40px; background: linear-gradient(140deg, var(--soft) 0%, #fff 70%); border-color: var(--soft2); }
.b-card.une h2 { font-size: clamp(24px, 3.4vw, 32px); max-width: 640px; }
.b-card.une p { font-size: 17px; max-width: 640px; }
.b-tag { align-self: flex-start; background: var(--yellow); color: var(--yellow-text); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; }
.b-lire { color: var(--accent); font-weight: 600; font-size: 14px; }

/* article */
.b-art { max-width: 720px; margin: 0 auto; padding: 16px 20px 40px; }
.b-fil { font-size: 14px; color: var(--dim); margin-bottom: 20px; }
.b-fil a { color: var(--dim); }
.b-art h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; text-wrap: balance; }
.b-meta { color: var(--dim); font-size: 14px; margin-bottom: 32px; }
.b-art h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 14px; letter-spacing: -0.01em; }
.b-art p { margin: 0 0 16px; }
.b-art ul { margin: 0 0 18px 0; padding-left: 22px; }
.b-art li { margin-bottom: 8px; }
.b-art li::marker { color: var(--accent); }
.b-art blockquote { background: var(--bg2); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 18px; }

/* le modèle de message à copier */
.modele-message { background: var(--card); border: 1px solid var(--soft2); border-radius: var(--radius); margin: 8px 0 22px; overflow: hidden; }
.modele-message summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--accent); list-style: none; }
.modele-message summary::-webkit-details-marker { display: none; }
.modele-message summary::before { content: '▸'; display: inline-block; margin-right: 10px; transition: transform .15s; }
.modele-message[open] summary::before { transform: rotate(90deg); }
.modele-message pre { font-family: inherit; font-size: 15px; white-space: pre-wrap; background: #EFEAFF; margin: 0 20px 14px; padding: 16px 18px; border-radius: 14px 14px 14px 4px; }
.modele-message button { margin: 0 20px 20px; }

/* l'appel vers Skiiv en fin d'article */
.b-cta { background: var(--text); color: #fff; border-radius: 20px; padding: 28px 28px 30px; margin-top: 44px; }
.b-cta h2 { color: #fff; margin-top: 0; }
.b-cta p { color: #D9D6E8; }
.b-cta .b-cta-btn { margin: 22px 0 0; }
.b-cta .b-btn { background: var(--yellow); color: var(--yellow-text); }
.b-cta .b-btn:hover { background: #ffc94d; }

/* pied */
.b-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; padding: 40px 20px; margin-top: 40px; border-top: 1px solid var(--border); color: var(--text2); font-size: 13px; }
.b-foot img { height: 24px; }
.b-foot a { color: var(--text2); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .b-top { padding: 14px 16px; }
  .b-logo img { height: 32px; }
  .b-top nav { gap: 12px; }
  .b-home, .b-art { padding-left: 16px; padding-right: 16px; }
  .b-hero { padding: 20px 0 28px; }
  .b-grid { grid-template-columns: 1fr; }
  .b-card.une { padding: 24px; }
  .b-cta { padding: 22px 20px 24px; }
}

/* ---------- le blog, version 2 (10 oct. 2026) : bandeau illustré, sommaire, titres numérotés, astuces, cartes avec image ---------- */
.b-prog { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 50; background: transparent; }
.b-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--yellow)); border-radius: 0 4px 4px 0; transition: width .1s; }

.b-bandeau { background: linear-gradient(135deg, #EDE7FF 0%, #F8F5FF 55%, #FFF6DC 100%); border-bottom: 1px solid var(--border); }
.b-bandeau-in { max-width: 1080px; margin: 0 auto; padding: 28px 20px 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.b-bandeau-txt { padding-bottom: 36px; }
.b-bandeau .b-fil { margin-bottom: 18px; }
.b-bandeau .b-tag { display: inline-block; margin-bottom: 14px; }
.b-bandeau h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.b-bandeau .b-meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text2); }
.b-bandeau .b-meta img { width: 22px; height: 22px; border-radius: 6px; }
.b-bandeau-img { width: 100%; max-height: 300px; object-fit: contain; object-position: bottom; display: block; }

/* l'article occupe exactement la largeur du bandeau : du début du titre jusqu'au bord droit de l'illustration (11 oct. 2026) */
.b-art.avec-sommaire { max-width: 1080px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; justify-content: stretch; padding-top: 36px; }
.b-art:not(.avec-sommaire) { padding-top: 36px; }
.b-sommaire { position: sticky; top: 24px; align-self: start; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.b-sommaire-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
.b-sommaire ol { list-style: none; display: grid; gap: 2px; }
.b-sommaire a { display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--text2); text-decoration: none; }
.b-sommaire a span { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--soft); color: var(--accent2); font-size: 12px; font-weight: 700; }
.b-sommaire a:hover { background: var(--bg2); color: var(--text); }
.b-sommaire a.on { background: var(--soft); color: var(--accent2); font-weight: 600; }
.b-sommaire a.on span { background: var(--accent); color: #fff; }

.b-art h2 { display: flex; align-items: center; gap: 14px; scroll-margin-top: 20px; }
.b-num { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(91, 56, 227, .9); }
.b-art ul { list-style: none; padding-left: 0; }
.b-art ul li { position: relative; padding-left: 32px; }
.b-art ul li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%235B38E3'/%3E%3C/svg%3E") center / 14px no-repeat; }
.b-astuce { display: flex; gap: 14px; align-items: flex-start; background: #FFF6DC; border: 1px solid #FFE3A3; border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 20px; }
.b-astuce-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--yellow); color: var(--yellow-text); }
.b-astuce-ico svg { width: 20px; height: 20px; }
.b-astuce p { margin: 0; }
.b-fig { margin: 8px 0 24px; }
.b-fig img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.b-fig figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; text-align: center; }

.b-cta { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; }
.b-cta-img { width: 100%; border-radius: 14px; box-shadow: 0 16px 36px -18px rgba(0,0,0,.6); transform: rotate(-3deg); }
.b-cta-txt > h2 { margin-top: 0; }
.b-cta h2 .b-num { display: none; }
.b-auteur { display: flex; gap: 14px; align-items: center; margin-top: 40px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.b-auteur img { width: 48px; height: 48px; border-radius: 14px; }
.b-auteur b { display: block; }
.b-auteur span { font-size: 14px; color: var(--text2); }

.b-card { padding: 0; overflow: hidden; }
.b-card-img { width: 100%; height: 170px; object-fit: cover; background: linear-gradient(135deg, #EDE7FF, #FFF6DC); display: block; }
.b-card-txt { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.b-card.une { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: 0; background: var(--card); }
.b-card.une .b-card-img { height: 100%; min-height: 260px; object-fit: contain; object-position: bottom; background: linear-gradient(135deg, #EDE7FF, #FFF6DC); }
.b-card.une .b-card-txt { padding: 34px 36px; justify-content: center; }

@media (max-width: 900px) {
  .b-art.avec-sommaire { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .b-sommaire { position: static; }
  .b-bandeau-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .b-bandeau-img { max-height: 180px; }
  .b-bandeau-txt { padding-bottom: 12px; }
  .b-card.une { grid-template-columns: minmax(0, 1fr); }
  .b-card.une .b-card-img { min-height: 0; height: 190px; }
}
@media (max-width: 600px) {
  .b-cta { grid-template-columns: minmax(0, 1fr); }
  .b-cta-img { max-width: 200px; margin: 0 auto; }
  .b-num { width: 34px; height: 34px; font-size: 17px; }
  .b-card.une .b-card-txt { padding: 22px; }
}
/* le lien seul en fin d'encadré devient le bouton */
.b-cta-txt p:last-child > a:only-child { display: inline-block; margin-top: 8px; background: var(--yellow); color: var(--yellow-text); text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 12px; }
.b-cta-txt p:last-child > a:only-child:hover { background: #ffc94d; }

/* la carte à la une : le cadre prend les proportions de l'illustration (1400 × 788), plus de bande vide (10 oct. 2026) */
.b-card.une { align-items: center; }
.b-card.une .b-card-img { height: auto; min-height: 0; aspect-ratio: 1400 / 788; object-fit: cover; background: none; }
.b-card p, .b-card h2, .b-hero p { text-wrap: pretty; }
@media (max-width: 900px) { .b-card.une .b-card-img { height: auto; } }
.b-card.une { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
.b-card.une .b-card-img { height: 100%; align-self: stretch; }
.b-card.une .b-card-txt { padding: 26px 30px; }
@media (max-width: 900px) { .b-card.une { grid-template-columns: minmax(0, 1fr); } .b-card.une .b-card-img { height: auto; } }

/* la carte à la une, version 3 (10 oct. 2026) : plus basse et plus allongée, moins d image, le texte sur fond violet */
.b-card.une { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; min-height: 0; border: 0; background: linear-gradient(135deg, #5B38E3 0%, #3E1FB8 100%); box-shadow: 0 22px 44px -28px rgba(62, 31, 184, .9); }
.b-card.une:hover { box-shadow: 0 26px 50px -26px rgba(62, 31, 184, 1); }
.b-card.une .b-card-img { height: 100%; max-height: 270px; aspect-ratio: auto; object-fit: cover; object-position: 35% 65%; }
.b-card.une .b-card-txt { padding: 26px 34px; justify-content: center; gap: 10px; color: #fff; }
.b-card.une h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.b-card.une p { color: #DCD3FF; font-size: 15.5px; line-height: 1.55; }
.b-card.une .b-tag { background: #FEBD2D; color: #3A2A00; }
.b-card.une .b-lire { align-self: flex-start; margin-top: 4px; background: #FEBD2D; color: #3A2A00; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
@media (max-width: 900px) { .b-card.une { grid-template-columns: minmax(0, 1fr); } .b-card.une .b-card-img { max-height: 170px; height: 170px; } .b-card.une .b-card-txt { padding: 22px; } }
.b-card.une .b-card-img { max-height: none; height: 100%; min-height: 230px; }
@media (max-width: 900px) { .b-card.une .b-card-img { min-height: 0; height: 170px; } }

/* une ligne du markdown = une phrase = un bloc, avec un petit blanc avant la suivante : on voit tout de suite quelle ligne est une
   nouvelle phrase et laquelle n'est que la suite de la précédente, coupée par la largeur de l'écran (11 oct. 2026) */
.b-art p .b-l { display: block; text-wrap: pretty; }
.b-art p .b-l + .b-l { margin-top: .4em; }
.b-art li, .b-art h2 > span:last-child { text-wrap: pretty; }
.b-art li .b-l { display: block; text-wrap: pretty; }
.b-art li .b-l + .b-l { margin-top: .25em; }
/* une phrase qui passe à la ligne se répartit en lignes égales : pas de dernière ligne orpheline qui ressemble à un retour à la ligne voulu (11 oct. 2026) */
.b-art p .b-l, .b-art li .b-l { text-wrap: balance; }
.b-art h2 > span:last-child { text-wrap: balance; }

/* les phrases s'enchaînent comme des blocs insécables (11 oct. 2026) : si la phrase suivante tient sur la ligne en cours, elle s'y met ;
   sinon elle passe entière à la ligne ; seule une phrase plus longue qu'une ligne se coupe, à l'intérieur d'elle-même.
   On n'a donc jamais à décider ligne par ligne : une phrase par ligne dans le fichier, et la page s'arrange. */
/* 11 oct. 2026, plus tard : retour au texte qui coule. Les phrases s'enchaînent dans le paragraphe comme dans un livre ; seul `pretty` évite le mot orphelin en fin de ligne.
   Le fichier garde une phrase par ligne (lisible), la page ne coupe plus avant chaque phrase. */
.b-art p .b-l, .b-art li .b-l { display: inline; }
.b-art p, .b-art li { text-wrap: pretty; }
@media (min-width: 901px) { .b-art.avec-sommaire { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; } }
.b-art p, .b-art li { overflow-wrap: break-word; }

/* l'appel vers Skiiv, en fin d'article : le vrai bouton d'action, en violet foncé (11 oct. 2026) */
.b-art .b-cta { background: linear-gradient(135deg, #3E1FB8 0%, #24106B 100%); box-shadow: 0 24px 48px -28px rgba(36, 16, 107, .95); border-radius: 22px; padding: 32px 36px; margin-top: 52px; }
.b-art .b-cta h2 { color: #fff; font-size: 26px; }
.b-art .b-cta p { color: #E4DEFF; }
.b-art .b-cta strong { color: #fff; }
.b-art .b-cta .b-cta-btn .b-btn, .b-art .b-cta .b-btn { background: var(--yellow); color: var(--yellow-text); font-size: 17px; padding: 14px 26px; }
@media (max-width: 600px) { .b-art .b-cta { padding: 24px 20px 26px; } }
.b-sommaire a em { font-style: normal; text-wrap: balance; }
.b-cta-img { height: auto; }

/* les bannières de section : une grande illustration sous chaque titre (11 oct. 2026) */
.b-art .b-ban { margin: 0 0 18px; }
.b-art .b-ban img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--soft); }

/* le message à copier, mis en avant tout en haut (surlignage violet) et dans la page */
.b-modele { margin: 14px 0 0; }
.b-modele a { display: inline; font-weight: 700; font-size: 19px; line-height: 1.8; color: #3E1FB8; text-decoration: none; padding: 2px 8px; margin-left: -8px; border-radius: 4px;
  background: linear-gradient(transparent 30%, #CDBDFF 30%, #CDBDFF 95%, transparent 95%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.b-modele a:hover { background: linear-gradient(transparent 30%, #B8A3FF 30%, #B8A3FF 95%, transparent 95%); }
.b-modele a span { display: inline-block; transition: transform .2s; }
.b-modele a:hover span { transform: translateY(2px); }
.b-art h2#message { scroll-margin-top: 24px; }
.modele-message { border: 2px solid var(--accent); box-shadow: 0 18px 40px -26px rgba(91, 56, 227, .7); }
.modele-message summary { font-size: 17px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* l'en-tête d'un article sans illustration : le titre au centre, les bannières sont dans le texte (11 oct. 2026) */
.b-bandeau-in.sans-img { grid-template-columns: minmax(0, 1fr); max-width: 860px; text-align: center; padding-top: 30px; }
.b-bandeau-in.sans-img .b-bandeau-txt { padding-bottom: 40px; }
.b-bandeau-in.sans-img .b-fil { justify-content: center; }
.b-bandeau-in.sans-img h1 { margin-left: auto; margin-right: auto; }
.b-bandeau-in.sans-img .b-meta { justify-content: center; }
.b-bandeau-in.sans-img .b-modele { margin-top: 18px; }
@media (max-width: 900px) { .b-bandeau-in.sans-img { text-align: center; } }

/* un peu plus d'air entre les paragraphes (11 oct. 2026) */
.b-art p { margin: 0 0 24px; }
.b-art ul { margin: 0 0 26px; }
.b-art li { margin-bottom: 10px; }

/* les tableaux d'un article (comparatifs, repères) : défilement sur téléphone (11 oct. 2026) */
.b-tableau { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.b-tableau table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.b-tableau th { text-align: left; font-family: var(--hf); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: #3E1FB8; padding: 11px 14px; white-space: nowrap; }
.b-tableau td { padding: 12px 14px; vertical-align: top; border-top: 1px solid var(--border); }
.b-tableau tbody tr:nth-child(even) td { background: #F8F6FF; }
.b-tableau td:first-child { min-width: 150px; }
.b-tableau td b { color: var(--bright); }
@media (max-width: 700px) { .b-tableau table { min-width: 720px; } }

/* une capture de Skiiv sur téléphone, au milieu du texte (11 oct. 2026) */
.b-art .b-ecran { max-width: 300px; margin: 6px auto 28px; text-align: center; }
.b-art .b-ecran img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 26px 50px -30px rgba(62, 31, 184, .55); }
.b-art .b-ecran figcaption { margin-top: 10px; font-size: 13px; color: var(--text2); text-wrap: balance; }

/* le calculateur d'eau : le cadeau de l'article sur l'eau (11 oct. 2026) */
.b-calcul { margin: 4px 0 28px; border-radius: 20px; background: linear-gradient(135deg, #F1EDFF 0%, #fff 70%); border: 2px solid var(--accent); box-shadow: 0 22px 44px -30px rgba(91, 56, 227, .7); overflow: hidden; }
.b-calcul-titre { padding: 14px 20px; font-family: var(--hf); font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(135deg, #5B38E3, #3E1FB8); }
.b-calcul-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; padding: 18px 20px 6px; }
.b-calcul label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text2); position: relative; }
.b-calcul input, .b-calcul select { width: 100%; padding: 10px 12px; border: 1px solid var(--border2); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--text); }
.b-calcul label em { position: absolute; right: 12px; bottom: 11px; font-style: normal; font-weight: 500; font-size: 13px; color: var(--dim); pointer-events: none; }
.b-calcul-res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; align-items: center; padding: 14px 20px 8px; }
.b-calcul-gros { display: grid; justify-items: center; padding: 14px 22px; border-radius: 16px; background: #5B38E3; color: #fff; text-align: center; }
.b-calcul-gros b { font-family: var(--hf); font-size: 40px; line-height: 1.05; }
.b-calcul-gros span { font-size: 12.5px; opacity: .9; max-width: 150px; }
.b-calcul-res ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.b-art .b-calcul-res ul li { padding-left: 0; margin: 0; }
.b-art .b-calcul-res ul li::before { content: none; }
.b-calcul-note { margin: 0; padding: 4px 20px 18px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
@media (max-width: 600px) { .b-calcul-res { grid-template-columns: 1fr; } .b-calcul-gros { justify-self: stretch; } }
.b-art h3 { font-size: 18px; line-height: 1.35; margin: 26px 0 8px; letter-spacing: -0.005em; text-wrap: balance; }

/* tous les articles en horizontal (4 nov. 2026) : le dernier publié reste en violet, les autres sont blancs, même format */
.b-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.b-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; }
.b-card:not(.une) .b-card-img { height: 100%; min-height: 200px; max-height: 270px; object-fit: cover; object-position: 35% 65%; }
.b-card:not(.une) .b-card-txt { padding: 24px 32px; justify-content: center; }
.b-card:not(.une) h2 { font-size: clamp(20px, 2.3vw, 25px); }
@media (max-width: 900px) { .b-card { grid-template-columns: minmax(0, 1fr); } .b-card:not(.une) .b-card-img { min-height: 0; height: 170px; } .b-card:not(.une) .b-card-txt { padding: 20px 22px 22px; } }

/* un petit schéma dans un article (4 nov. 2026) */
.b-schema { margin: 22px 0; padding: 16px 12px 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.b-schema svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.b-schema svg text { font-family: inherit; }
.b-schema figcaption { margin-top: 8px; font-size: 14px; color: var(--text2); text-align: center; text-wrap: balance; }

/* le calculateur de sac : les nuits à cocher, le verdict, le détail (4 nov. 2026) */
.b-calcul-nuits-t { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--text2); }
.b-calcul-nuits-t small { font-weight: 500; color: var(--dim); }
.b-calcul-nuits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.b-calcul .b-nuit { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.b-calcul .b-nuit input { width: auto; padding: 0; accent-color: #5B38E3; }
.b-calcul .b-nuit:has(input:checked) { background: #EDE7FF; border-color: #5B38E3; }
.b-calcul-nuits-zone { grid-column: 1 / -1; }
.b-etat { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.b-etat.ok { background: #DDF5E6; color: #17663A; }
.b-etat.moyen { background: #FFF0C7; color: #7A5200; }
.b-etat.haut { background: #FBDADA; color: #9B1C1C; }
.b-calcul-detail { grid-column: 1 / -1; font-size: 14px; }
.b-calcul-detail summary { cursor: pointer; font-weight: 600; color: var(--text2); }
.b-calcul-detail ul { margin-top: 8px; }

/* les étapes numérotées d'un pas à pas (4 nov. 2026) */
.b-art ol.b-etapes { list-style: none; counter-reset: etape; padding-left: 0; margin: 0 0 20px; }
.b-art ol.b-etapes li { counter-increment: etape; position: relative; padding-left: 46px; margin-bottom: 16px; }
.b-art ol.b-etapes li::before { content: counter(etape); position: absolute; left: 0; top: -1px; width: 31px; height: 31px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--hf); font-weight: 700; font-size: 15px; display: grid; place-items: center; }

/* les miniatures des articles : une vraie illustration par carte, cadrée à gauche où sont les personnages (4 nov. 2026) */
.b-card, .b-card.une { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.b-card .b-card-img, .b-card.une .b-card-img { object-position: 22% 50%; min-height: 210px; }
@media (max-width: 900px) { .b-card, .b-card.une { grid-template-columns: minmax(0, 1fr); } .b-card .b-card-img, .b-card.une .b-card-img { min-height: 0; height: 190px; } }

/* la miniature remplit toujours tout le cadre, sur toute la hauteur de la carte (6 nov. 2026) */
.b-card { overflow: hidden; }
.b-card .b-card-img, .b-card.une .b-card-img, .b-card:not(.une) .b-card-img { align-self: stretch; justify-self: stretch; width: 100%; height: 100%; min-height: 210px; max-height: none; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 900px) { .b-card .b-card-img, .b-card.une .b-card-img, .b-card:not(.une) .b-card-img { height: 190px; min-height: 0; } }

/* le panneau du côté de l'accueil des conseils : recherche, thèmes, liste (6 nov. 2026) */
.b-home { max-width: 1220px; }
.b-cols { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.b-card[hidden], .b-index li[hidden], .b-index-theme[hidden], .b-index ul[hidden], .b-vide[hidden], .b-plus[hidden], .b-rech-res[hidden], .b-rech-x[hidden] { display: none !important; }
.b-index { position: sticky; top: 84px; order: 2; background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(91, 56, 227, .55); max-height: calc(100vh - 104px); display: flex; flex-direction: column; }
.b-index-tete { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, #5B38E3 0%, #3E1FB8 100%); color: #fff; }
.b-index-titre { font-family: var(--hf); font-weight: 700; font-size: 18px; }
.b-index-tete em { font-style: normal; font-weight: 700; font-size: 13px; background: #FEBD2D; color: #3A2A00; border-radius: 999px; padding: 2px 11px; }
.b-rech { position: relative; display: block; margin: 14px 14px 0; }
.b-rech svg { position: absolute; left: 13px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.b-rech input { width: 100%; padding: 12px 38px 12px 40px; border: 2px solid var(--soft); border-radius: 14px; background: #F8F5FF; font: inherit; font-size: 15px; color: var(--text); }
.b-rech input:focus { outline: none; border-color: var(--accent); background: #fff; }
.b-rech-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 17px; line-height: 1; cursor: pointer; }
.b-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.b-chips button { border: 1.5px solid var(--soft); background: #fff; color: var(--text); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.b-chips button b { font-weight: 700; color: var(--accent); margin-left: 3px; }
.b-chips button:hover { border-color: var(--accent); }
.b-chips button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.b-chips button.on b { color: #FEBD2D; }
.b-rech-res { margin: 8px 18px 0; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.b-index-d { overflow: auto; padding: 4px 14px 14px; }
.b-index-d summary { list-style: none; cursor: default; margin: 10px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.b-index-d summary::-webkit-details-marker { display: none; }
.b-index-theme { margin: 12px 0 4px; }
.b-index-theme span { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 8px; padding: 3px 10px; }
.b-index ul { list-style: none; margin: 0; padding: 0; }
.b-index li { margin: 0; }
.b-index li a { display: block; padding: 7px 8px 7px 22px; position: relative; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--text); text-decoration: none; border-radius: 8px; text-wrap: pretty; }
.b-index li a::before { content: ''; position: absolute; left: 8px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--soft2); }
.b-index li a:hover { background: linear-gradient(transparent 0, transparent 0), var(--soft); color: #2A1790; }
.b-index li a:hover::before { background: var(--accent); }
.b-vide { padding: 28px; text-align: center; color: var(--text2); background: #fff; border: 1px dashed var(--soft2); border-radius: var(--radius); }
.b-plus-w { display: grid; justify-items: center; margin-top: 22px; }
.b-plus { padding: 13px 26px; border: 2px solid var(--accent); border-radius: 14px; background: #fff; color: var(--accent); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.b-plus:hover { background: var(--accent); color: #fff; }
@media (min-width: 901px) { .b-index-d summary { pointer-events: none; } }
@media (max-width: 900px) {
  .b-cols { grid-template-columns: minmax(0, 1fr); }
  .b-index { position: static; order: -1; max-height: none; }
  .b-index-d { overflow: visible; }
  .b-index-d summary { cursor: pointer; }
  .b-index-d summary::after { content: ' ▾'; color: var(--accent); }
  .b-index-d:not([open]) summary::after { content: ' ▸'; }
}
