/* ==========================================================================
   components.css : briques éditoriales réutilisables
   ========================================================================== */

/* ---------- En-tête de section ---------- */
.section { margin-top: 88px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.section-head__title em { font-weight: 400; color: var(--ink-2); }
.section-head__desc { color: var(--ink-2); font-size: 15px; max-width: 58ch; flex-basis: 100%; margin-top: -8px; order: 3; }
.section-head--small { border-top-width: 2px; padding-top: 10px; margin-bottom: 20px; }
.section-head--small .section-head__title { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Couvertures typographiques (système d'illustration) ---------- */
.cover {
  --c-bg: var(--ink); --c-fg: var(--paper); --c-pat: rgba(245,242,235,.16);
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-bg); color: var(--c-fg);
  container-type: inline-size; isolation: isolate;
}
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.cover::after {
  content: attr(data-glyph); position: absolute; left: 6%; bottom: -.18em; line-height: 1;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 62cqi; letter-spacing: -.06em;
  color: var(--c-fg); transition: transform .7s cubic-bezier(.2,.7,.2,1);
  font-variation-settings: "opsz" 72;
}
a:hover .cover::after, .cover:hover::after { transform: translate(2.5%, -3%) rotate(-4deg); }
.cover--wide { aspect-ratio: 21 / 10; }
.cover--wide::after { font-size: 44cqi; left: 8%; }
.cover--square { aspect-ratio: 1; }
.cover--square::after { font-size: 88cqi; }
.cover--tall { aspect-ratio: 4 / 5; }
.cover__tag {
  position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 4px 8px;
}
.cover__index { position: absolute; top: 12px; right: 14px; font-family: var(--mono); font-size: 11px; color: var(--c-fg); opacity: .8; }

/* Motifs par rubrique */
.cover--geo { --c-bg: var(--signal); --c-fg: var(--paper); }
.cover--geo::before { background: repeating-radial-gradient(circle at 82% 22%, transparent 0 15px, rgba(21,19,15,.2) 15px 16px); }
.cover--seo { --c-bg: var(--ink); --c-fg: var(--mark); }
.cover--seo::before { background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(245,242,235,.14) 13px 14px); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cover--ads, .cover--ecommerce { --c-bg: var(--ochre); --c-fg: var(--ink); }
.cover--ads::before, .cover--ecommerce::before { background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(21,19,15,.13) 12px 13px); }
.cover--social, .cover--logiciels { --c-bg: var(--cobalt); --c-fg: var(--paper); }
.cover--social::before, .cover--logiciels::before { background: radial-gradient(rgba(245,242,235,.34) 1.3px, transparent 1.8px) 0 0 / 11px 11px; -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%); }
.cover--data, .cover--business { --c-bg: var(--sage); --c-fg: var(--paper); }
.cover--data::before, .cover--business::before { background: linear-gradient(0deg, rgba(245,242,235,.16) 0 0) 58% 100% / 8% 62% no-repeat, linear-gradient(0deg, rgba(245,242,235,.16) 0 0) 70% 100% / 8% 40% no-repeat, linear-gradient(0deg, rgba(245,242,235,.16) 0 0) 82% 100% / 8% 78% no-repeat, linear-gradient(0deg, rgba(245,242,235,.16) 0 0) 94% 100% / 8% 55% no-repeat; }
.cover--brand, .cover--marketing { --c-bg: var(--plum); --c-fg: var(--paper); }
.cover--brand::before, .cover--marketing::before { background: linear-gradient(rgba(245,242,235,.12) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(245,242,235,.12) 1px, transparent 1px) 0 0 / 22px 22px; }
.cover--ecom, .cover--tech { --c-bg: var(--paper-3); --c-fg: var(--ink); }
.cover--ecom::before, .cover--tech::before { background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(21,19,15,.08) 16px 17px); }
.cover--rank { --c-bg: var(--ink); --c-fg: var(--signal-on-dark); }
.cover--rank::before { background: repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgba(245,242,235,.1) 22px 23px); }
.cover--tribune { --c-bg: var(--paper-2); --c-fg: var(--signal); }
.cover--tribune::before { background: radial-gradient(rgba(21,19,15,.12) 1px, transparent 1.5px) 0 0 / 9px 9px; }

/* ---------- Articles (cartes) ---------- */
.story { position: relative; }
.story > a { display: block; }
.story__body { padding-top: 16px; display: grid; gap: 10px; }
.story__title { font-size: 23px; line-height: 1.14; font-weight: 600; }
.story__dek { font-family: var(--serif); color: var(--ink-2); font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.story--lead .story__title { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.03; letter-spacing: -.022em; font-variation-settings: "opsz" 72; }
.story--lead .story__dek { font-size: clamp(18px, 1.5vw, 21px); max-width: 60ch; }
.story--lead .story__body { padding-top: 22px; gap: 14px; }
.story--compact .story__title { font-size: 19px; line-height: 1.2; }
.story--compact .story__body { padding-top: 12px; gap: 7px; }

.story--row > a { display: grid; grid-template-columns: 1fr 180px; gap: 24px; align-items: start; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.story--row .story__body { padding-top: 0; order: -1; }
.story--row .story__title { font-size: 24px; }
.story--row .cover { aspect-ratio: 4 / 3; }

.byline { display: flex; align-items: center; gap: 10px; }
.byline .avatar { --av: 28px; }

/* ---------- Le fil ---------- */
.fil__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 4px; }
.fil__head h2 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fil__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--signal-ink); }
.fil__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 2s infinite; }
.fil__list li { border-bottom: 1px solid var(--rule); }
.fil__list a { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding-block: 13px; }
.fil__list time { font-family: var(--mono); font-size: 12px; color: var(--signal-ink); padding-top: 3px; }
.fil__list .fil__cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.fil__list h3 { font-size: 17px; line-height: 1.25; font-weight: 500; }
.fil__list a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Bande sombre ---------- */
.band { background: var(--night); color: var(--night-text); padding-block: 84px; margin-top: 96px; position: relative; overflow: hidden; }
.band .kicker { color: var(--signal-on-dark); }
.band .kicker::before { background: var(--signal-on-dark); }
.band .meta { color: var(--night-muted); }
.band h2 { color: var(--night-text); }

/* ---------- Carte classement (accueil) ---------- */
.rank-card { border: 1px solid var(--night-rule); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px; transition: border-color .25s, background .25s; }
.rank-card:hover { border-color: var(--night-muted); background: var(--night-2); }
.rank-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rank-card__title { font-size: 23px; font-weight: 600; }
.rank-card__count { font-family: var(--mono); font-size: 11px; color: var(--night-muted); white-space: nowrap; }
.rank-card__list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 10px; padding-block: 8px; border-top: 1px solid var(--night-rule); font-size: 15px; }
.rank-card__list .pos { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--signal-on-dark); line-height: 1; }
.rank-card__list .rank-card__score { font-family: var(--mono); font-size: 12.5px; color: var(--night-muted); font-variant-numeric: tabular-nums; }
.rank-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; font-size: 13.5px; }
.rank-card__foot a { font-weight: 700; color: var(--night-text); display: inline-flex; gap: 6px; align-items: center; }
.rank-card__foot svg { width: 14px; height: 14px; transition: transform .25s; }
.rank-card:hover .rank-card__foot svg { transform: translateX(3px); }
.rank-card--feature { border-color: var(--signal-on-dark); border-top-width: 4px; }

/* ---------- Guides de référence ---------- */
.guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); counter-reset: guide; }
.guide > a { display: grid; gap: 14px; }
.guide__num { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: .8; color: var(--signal); font-variation-settings: "opsz" 72; }
.guide__title { font-size: 22px; line-height: 1.15; }
.guide .meta { border-top: 1px solid var(--rule); padding-top: 10px; }

/* ---------- Chiffres clés ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.figure { display: flex; flex-direction: column; gap: 10px; padding: 6px var(--gutter) 26px 0; }
.figure + .figure { padding-left: var(--gutter); border-left: 1px solid var(--rule); }
.figure__value { font-family: var(--sans); font-weight: 700; font-size: clamp(46px, 4.6vw, 68px); letter-spacing: -.04em; line-height: 1; }
.figure--focus .figure__value { color: var(--signal); }
.figure__label { flex: 1; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.figure .meta { border-top: 1px solid var(--rule); padding-top: 10px; }

/* ---------- Colonnes rubriques ---------- */
.rubriques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rubrique-col { padding-inline: var(--gutter); border-left: 1px solid var(--rule); }
.rubrique-col:first-child { padding-left: 0; border-left: 0; }
.rubrique-col:last-child { padding-right: 0; }
.rubrique-col__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 18px; }
.rubrique-col__head h3 { font-size: 28px; }
.rubrique-col__head a { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.headlines li { border-top: 1px solid var(--rule); }
.headlines a { display: block; padding-block: 14px; }
.headlines h4 { font-size: 18px; line-height: 1.22; font-weight: 500; }
.headlines .meta { margin-top: 5px; }
.headlines a:hover h4 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Tribunes ---------- */
.tribunes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tribune > a { display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 26px; background: var(--paper-2); transition: background .25s; }
.tribune > a:hover { background: var(--paper-3); }
.tribune__quote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.22; font-weight: 500; flex: 1; }
.tribune__quote::before { content: "«\00a0"; color: var(--signal); }
.tribune__quote::after { content: "\00a0»"; color: var(--signal); }
.tribune .byline { border-top: 1px solid var(--rule); padding-top: 14px; }
.tribune .byline .avatar { --av: 38px; }
.tribune .byline strong { display: block; font-size: 14.5px; }
.tribune .byline div span { font-size: 13px; color: var(--ink-3); }

/* ---------- Glossaire ---------- */
.glossary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gutter); align-items: start; }
.glossary__intro h2 { font-size: clamp(28px, 3vw, 40px); }
.glossary__intro p:not([class]) { color: var(--ink-2); margin-top: 14px; max-width: 40ch; }
.glossary__intro .text-link { margin-top: 20px; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding-block: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.newsletter h2 { font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -.025em; line-height: 1; }
.newsletter h2 i { font-weight: 400; }
.newsletter p:not([class]) { color: var(--ink-2); margin-top: 14px; font-size: 17px; max-width: 46ch; }
.newsletter__form { display: flex; gap: 0; }
.newsletter__form .field { border-right: 0; }
.newsletter__form .btn { height: 48px; }
.newsletter__fine { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.stamp { position: absolute; right: 0; top: -44px; width: 88px; height: 88px; border-radius: 50%; background: var(--signal); color: var(--paper); display: grid; place-items: center; text-align: center; font-family: var(--mono); font-size: 10.5px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-12deg); }
.stamp b { display: block; font-family: var(--serif); font-style: italic; font-size: 26px; letter-spacing: -.02em; text-transform: none; font-weight: 600; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Encadrés éditoriaux ---------- */
.essentiel { position: relative; border: 1.5px solid var(--ink); background: #FBF9F4; padding: 30px 28px 24px; margin-top: 34px; }
.essentiel .essentiel__label { white-space: nowrap; line-height: 1.4; position: absolute; top: -12px; left: 20px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; }
.essentiel p:not([class]) { font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.essentiel__list li { position: relative; padding-left: 26px; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.essentiel__list li + li { margin-top: 10px; }
.essentiel__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--signal); }
.essentiel__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; gap: 8px 20px; flex-wrap: wrap; }

.definition { border-left: 4px solid var(--ink); padding: 6px 0 6px 24px; margin-block: 34px; }
.definition__term { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.definition__term i { font-weight: 400; color: var(--ink-3); font-size: .7em; margin-left: 8px; font-family: var(--mono); font-style: normal; }
.definition__text { font-family: var(--serif); font-size: 19px; line-height: 1.55; margin-top: 6px; }

.note { background: var(--paper-2); padding: 20px 22px; font-size: 15px; line-height: 1.55; margin-block: 30px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.note svg { width: 20px; height: 20px; margin-top: 2px; }
.note strong { display: block; margin-bottom: 2px; }

.disclosure { border: 1.5px solid var(--ink); padding: 26px 28px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: #FBF9F4; }
.disclosure__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.disclosure__icon svg { width: 22px; height: 22px; }
.disclosure h3 { font-family: var(--sans); font-size: 17px; font-weight: 800; }
.disclosure p { font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.disclosure .todo { background: var(--mark); color: var(--ink); padding: 1px 5px; font-family: var(--mono); font-size: 13px; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.table caption { text-align: left; caption-side: bottom; padding-top: 12px; font-size: 12.5px; color: var(--ink-3); font-family: var(--mono); }
.table th { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--rule); font-size: 15px; vertical-align: middle; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: var(--paper-2); }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table .t-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.table .t-rank { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--signal-ink); width: 48px; line-height: 1; }
.table .t-name { font-weight: 700; white-space: nowrap; }
.table .t-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.table .t-muted { color: var(--ink-2); }
.table--compare td:first-child { font-weight: 700; width: 24%; }
.table--compare th:not(:first-child), .table--compare td:not(:first-child) { width: 38%; }

.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); white-space: nowrap; }
.pill--signal { background: var(--signal); color: var(--paper); }
.pill--ink { background: var(--ink); color: var(--paper); }

.score-badge { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--sans); font-weight: 800; font-size: 17px; }
.score-badge small { font-weight: 500; font-size: 12px; color: var(--ink-3); }

/* ---------- Barres de score ---------- */
.scores { display: grid; gap: 9px; }
.score { display: grid; grid-template-columns: minmax(120px, 44%) 1fr 34px; gap: 12px; align-items: center; font-size: 13.5px; }
.score__label { color: var(--ink-2); }
.score__track { height: 8px; background: var(--paper-3); position: relative; }
.score__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); border-radius: 0 4px 4px 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.is-visible .score__fill { width: calc(var(--v) * 1%); }
.score__val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding-block: 20px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mark); }
.faq summary:hover { color: var(--signal-ink); }
.faq__answer { padding: 0 44px 22px 0; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.faq__answer p + p { margin-top: 10px; }

/* ---------- Citation & chiffre ---------- */
.pullquote { margin-block: 44px; padding-block: 28px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.pullquote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.pullquote p::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--signal); margin-bottom: 8px; font-style: normal; }
.pullquote footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14.5px; }
.pullquote footer .avatar { --av: 38px; }
.pullquote cite { font-style: normal; font-weight: 700; display: block; }
.pullquote footer div span { color: var(--ink-3); font-size: 13.5px; }

.stat-callout { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--ink); color: var(--paper); padding: 28px 30px; margin-block: 36px; }
.stat-callout .stat-callout__value { font-family: var(--sans); font-weight: 700; font-size: clamp(52px, 6vw, 76px); letter-spacing: -.04em; line-height: 1; color: var(--signal-on-dark); }
.stat-callout p:not([class]) { font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.stat-callout .meta { color: var(--night-muted); margin-top: 8px; }

/* ---------- Sommaire & progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; z-index: 70; }
.toc { position: sticky; top: 92px; }
.toc__title { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 9px 0 9px 10px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color .2s, border-color .2s, background .2s; margin-left: -12px; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding-top: 2px; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--signal); font-weight: 600; background: linear-gradient(90deg, var(--paper-2), transparent); }

/* ---------- Auteur, citation, partage ---------- */
.author-box { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 28px; border: 1px solid var(--rule); background: #FBF9F4; }
.author-box .avatar { --av: 76px; }
.author-box__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.author-box h3 { font-size: 24px; margin-top: 4px; }
.author-box__role { font-size: 14px; color: var(--signal-ink); font-weight: 700; margin-top: 2px; }
.author-box p:not([class]) { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.6; }
.author-box__links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }

.cite-box { border: 1px solid var(--ink); padding: 20px 22px; display: grid; gap: 12px; }
.cite-box__label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cite-box code { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); background: var(--paper-2); padding: 12px 14px; display: block; overflow-wrap: anywhere; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 5px 10px; border: 1px solid var(--ink); }
.copy-btn:hover { background: var(--ink); color: var(--paper); }
.copy-btn svg { width: 14px; height: 14px; }

.share { display: flex; gap: 6px; }
.share a, .share button { width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.share a:hover, .share button:hover { border-color: var(--ink); background: #FBF9F4; }
.share svg { width: 15px; height: 15px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding-inline: 12px; font-family: var(--mono); font-size: 13px; border: 1px solid transparent; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: var(--paper); }

/* ---------- Responsive composants ---------- */
@media (max-width: 1100px) {
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .section { margin-top: 64px; }
  .rubriques { grid-template-columns: minmax(0, 1fr); }
  .rubrique-col, .rubrique-col:first-child, .rubrique-col:last-child { padding-inline: 0; border-left: 0; }
  .rubrique-col + .rubrique-col { margin-top: 40px; }
  .tribunes { grid-template-columns: minmax(0, 1fr); }
  .glossary { grid-template-columns: minmax(0, 1fr); }
  .newsletter { grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; }
  .stamp { width: 72px; height: 72px; top: -36px; font-size: 9px; }
  .stamp b { font-size: 21px; }
  .story--row > a { grid-template-columns: 1fr 112px; gap: 16px; }
  .story--row .story__title { font-size: 19px; }
  .story--row .story__dek { display: none; }
  .band { padding-block: 64px; margin-top: 72px; }
  .stat-callout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .author-box { grid-template-columns: minmax(0, 1fr); }
  .disclosure { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .guides { grid-template-columns: minmax(0, 1fr); }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
  .newsletter__form { flex-direction: column; gap: 8px; }
  .newsletter__form .field { border-right: 1.5px solid var(--ink); }
  .score { grid-template-columns: 1fr 34px; gap: 4px 10px; }
  .score__label { grid-column: 1 / -1; }
  .faq summary { font-size: 19px; }
  .faq__answer { padding-right: 0; font-size: 17px; }
}

/* ---------- Glossaire A–Z ---------- */
.az { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.az a { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--rule); background: #FBF9F4; font-family: var(--serif); font-size: 26px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.az a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .az { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 520px) { .az { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .az a { font-size: 20px; } }

/* ---------- Flux d'articles et état vide ---------- */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gutter); align-items: start; }
.feed--une > article:first-of-type { grid-column: span 2; grid-row: span 2; }
.feed--une > article:first-of-type .story__title { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.03; letter-spacing: -.022em; font-variation-settings: "opsz" 72; }
.feed--une > article:first-of-type .story__dek { font-size: clamp(18px, 1.5vw, 20px); }
.feed--list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.feed:has(> article) > .empty-state { display: none; }
.empty-state { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 32px 28px; border: 1px solid var(--rule); background: #FBF9F4; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); }
.empty-state::before { content: ""; width: 9px; height: 9px; background: var(--signal); flex: none; }

/* Couverture avec photo : l'image remplace le motif typographique */
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover:has(> img)::before, .cover:has(> img)::after { display: none; }
.cover__tag, .cover__index { z-index: 1; }

/* ---------- Cartes rubriques ---------- */
.rubrique-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.rubrique-card > a { display: flex; flex-direction: column; height: 100%; }
.rubrique-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-top: 20px; }
.rubrique-card__title { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.02em; }
.rubrique-card__body p { flex: 1; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.rubrique-card .text-link { align-self: flex-start; margin-top: 8px; }
.rubrique-card > a:hover .text-link svg { transform: translateX(3px); }

/* ---------- Auteur / fondateur ---------- */
.founder { display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.founder__photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ink); outline: 1px solid var(--ink); outline-offset: 10px; }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__initials { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(56px, 6vw, 88px); letter-spacing: -.03em; color: var(--paper); }
.founder__name { font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -.02em; }
.founder__role { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--signal-ink); }
.founder__content p:not([class]) { max-width: 64ch; margin-top: 16px; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.founder__content .btn { margin-top: 26px; }

.newsletter__fine a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .feed:not(.feed--list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed--une > article:first-of-type { grid-row: auto; }
}
@media (max-width: 860px) {
  .rubrique-cards { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .founder__photo { width: 168px; }
}
@media (max-width: 600px) {
  .feed:not(.feed--list) { grid-template-columns: minmax(0, 1fr); }
  .feed--une > article:first-of-type { grid-column: auto; }
  .empty-state { padding: 24px 20px; font-size: 18px; }
}

/* ---------- Rubriques secondaires : cartes compactes ---------- */
.rubrique-cards--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--rule); }
.rubrique-cards--compact .rubrique-card__body { gap: 8px; padding-top: 16px; }
.rubrique-cards--compact .rubrique-card__title { font-size: clamp(24px, 2.2vw, 30px); }
.rubrique-cards--compact .rubrique-card__body p { font-size: 14.5px; }
@media (max-width: 1024px) { .rubrique-cards--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .rubrique-cards--compact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Liste des rubriques (page À propos) ---------- */
.rubrique-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 1px solid var(--ink); }
.rubrique-list li { border-bottom: 1px solid var(--rule); }
.rubrique-list a { display: grid; grid-template-columns: minmax(120px, 32%) minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 16px; }
.rubrique-list strong { font-family: var(--serif); font-size: 22px; font-weight: 600; transition: color .2s; }
.rubrique-list span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.rubrique-list a:hover strong { color: var(--signal-ink); }
@media (max-width: 860px) {
  .rubrique-list { grid-template-columns: minmax(0, 1fr); }
  .rubrique-list a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Encadré « L'essentiel » en liste numérotée (ex. facteurs de classement) */
.essentiel ol.essentiel__list { counter-reset: tier; }
.essentiel ol.essentiel__list > li { padding-left: 30px; counter-increment: tier; }
.essentiel ol.essentiel__list > li::before { content: counter(tier) "."; top: 0; left: 0; width: auto; height: auto; background: none; font-style: italic; font-weight: 600; color: var(--signal-ink); }
