/* Articles So/lune : style néo-brutaliste (crème, aubergine, lilas) */
.article h1, .article h2, .article h3, .blog-liste h1, .blog-liste h2 { font-family: "Bricolage Grotesque", -apple-system, sans-serif; }
.article h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.article h2 { font-weight: 800; line-height: 1.3; }
.article h3 { font-size: 19px; font-weight: 700; margin: 24px 0 6px; }
.fil { font-size: 14px; margin: 8px 0 0; opacity: .8; }
.article-meta { font-size: 14px; opacity: .7; margin: 0 0 20px; }
.article ol a { text-decoration-thickness: 1px; }
.article figure { margin: 24px 0; }
.article figure.couverture { margin: 0 0 28px; }
.article figure img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.article figcaption { font-size: 14px; margin-top: 10px; opacity: .8; }
.article iframe { border: 2px solid var(--ink) !important; border-radius: 14px; }

/* Encadrés */
.hici { --hici-bg: #fff; background: var(--hici-bg); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); padding: 16px 20px; margin: 24px 0; }
.hici-title { font-family: "Bricolage Grotesque", -apple-system, sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.hici ul { margin: 6px 0 0; padding-left: 20px; }
.hici li { margin: 4px 0; }
.hici p { margin: 8px 0; }
.hici-tip { --hici-bg: var(--butter); }
.hici-tip .hici-title::before { content: "💡 "; }
.hici-shield { --hici-bg: #FFD9CC; }
.hici-shield .hici-title::before { content: "⚠️ "; }

/* Tableau */
.hici-table { padding: 0; overflow-x: auto; }
.hici-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.hici-table th, .hici-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--ink); }
.hici-table thead th { background: var(--lilac); }
.hici-table tbody th { background: var(--cream); width: 22%; }
.hici-table td + td, .hici-table th + td, .hici-table th + th { border-left: 2px solid var(--ink); }
.hici-table tbody tr:last-child th, .hici-table tbody tr:last-child td { border-bottom: 0; }

/* Liste à cocher */
.hici-header { margin-bottom: 8px; }
.hici-subtitle { font-size: 15px; opacity: .8; }
.hici-field { padding: 10px 0; border-top: 2px dashed rgba(43, 37, 48, .2); }
.hici-field label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.hici-field input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--ink); border-radius: 6px; background: var(--cream); cursor: pointer; display: grid; place-content: center; }
.hici-field input:checked { background: var(--lilac); }
.hici-field input:checked::after { content: "✓"; font-weight: 800; font-size: 15px; line-height: 1; color: var(--ink); }
.hici-field input:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.hici-field input:checked + span { opacity: .6; }
.hici-help { font-size: 14px; opacity: .75; margin: 4px 0 0 32px; }

/* Bloc téléchargement */
.hici-collection-cta { background: var(--lilac); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); padding: 20px; margin: 28px 0; text-align: center; }
.hici-collection-cta__title { font-family: "Bricolage Grotesque", -apple-system, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.3; margin: 0 0 14px; }
.hici-collection-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hici-collection-cta__cta { display: inline-block; padding: 10px 20px; background: var(--butter); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); font-weight: 700; text-decoration: none; }
.hici-collection-cta__cta--secondary { background: var(--cream); }
.hici-collection-cta__cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* Liste des articles */
.blog-carte { display: block; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); padding: 16px 20px; margin: 20px 0; text-decoration: none; }
.blog-carte h2 { background: none; border: 0; padding: 0; margin: 0 0 6px; display: block; font-size: 20px; }
.blog-carte p { margin: 0; font-size: 15px; }
@media (max-width: 480px) { .article h1 { font-size: 28px; } }

/* Grilles en colonnes (étapes, pour / contre) */
.hici-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.hici-column { background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; }
.hici-column .hici-title { font-size: 16px; margin-bottom: 4px; }
.hici-column p, .hici-column ul { font-size: 15px; margin: 4px 0 0; }
.hici-list { --hici-bg: var(--lilac); }
.hici-icon-pro { background: #DDEFE2; }
.hici-icon-pro > .hici-title::before { content: "✓ "; }
.hici-icon-con { background: #FFE3D9; }
.hici-icon-con > .hici-title::before { content: "✗ "; }
