/* ══════════════════════════════════════════════════════════════════════════════
   InnoSpira — thème blog.
   Chargé APRÈS la feuille partagée de la boîte à outils (toolbox/shared/innospira-ui.css),
   qui fournit les tokens (--bg, --panel, --brand…), le clair/sombre, les boutons, le
   footer. Ce fichier n'ajoute que ce qui est propre au blog. Aucune couleur en dur hors
   des corrections de contenus hérités (section « Contenus hérités »).
   Mise en page inspirée de next.ink : pastilles de rubrique, sous-titre en italique,
   fil groupé par mois, colonne de lecture étroite.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ═══ Couleurs de rubrique ════════════════════════════════════════════════════
   Une teinte par rubrique, même luminosité/chroma pour qu'aucune ne crie plus fort
   que l'autre. Posée en --c ; clair = plus soutenu, sombre = plus lumineux. */
[data-cat="outils-ia"]         { --c: light-dark(oklch(0.62 0.15 46),  oklch(0.78 0.13 60)); }
[data-cat="ia-developpement"]  { --c: light-dark(oklch(0.55 0.16 268), oklch(0.74 0.13 272)); }
[data-cat="productivite"]      { --c: light-dark(oklch(0.56 0.12 155), oklch(0.76 0.12 155)); }
[data-cat="creation-contenu"]  { --c: light-dark(oklch(0.58 0.17 350), oklch(0.76 0.13 350)); }
[data-cat="automatisation"]    { --c: light-dark(oklch(0.56 0.11 210), oklch(0.76 0.10 210)); }
[data-cat="analyse-strategie"] { --c: light-dark(oklch(0.52 0.14 300), oklch(0.74 0.12 300)); }
[data-cat="inside"]            { --c: light-dark(oklch(0.50 0.04 70),  oklch(0.75 0.04 70)); }

/* ═══ Base ════════════════════════════════════════════════════════════════════ */
a.btn { text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-main { flex: 1 0 auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; width: 100%; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.meta__sep { color: var(--muted-2); }
.sponsored { font-family: var(--mono); font-size: 10.5px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 1px 8px; }

/* ═══ En-tête ═════════════════════════════════════════════════════════════════ */
.blog-header {
  position: sticky; top: 0; z-index: 30;
  /* aligné sur la grille de contenu (1180 px) plutôt que sur les bords de l'écran */
  padding: 14px max(32px, calc((100% - 1180px) / 2 + 32px));
}
.admin-bar .blog-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .blog-header { top: 0; } }

/* Logo : un seul SVG en currentColor, toujours à l'orange de marque (#ffab3f) — en
   clair aussi, pour garder une touche d'orange dans l'en-tête. */
.logo, .site-footer a.logo { flex-shrink: 0; color: var(--brand); }
.logo svg { display: block; height: 34px; width: auto; aspect-ratio: 1008 / 364; }

.blog-nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
.blog-nav a, .mnav__links a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .15s ease, color .15s ease;
}
.blog-nav a:hover, .mnav__links a:hover { background: var(--panel-2); color: var(--text); }
.blog-nav a[aria-current="page"] { color: var(--text); }

/* Menu déroulant « Boîte à outils » : même déclencheur que les liens, panneau et
   entrées repris du sélecteur d'outils de la toolbox (.toolnav__item, .toolnav__all). */
.navdrop > summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 12px; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: 15px;
  transition: background .15s ease, color .15s ease;
}
.navdrop > summary:hover, .navdrop[open] > summary { background: var(--panel-2); color: var(--text); }
.navdrop .toolnav__chev { width: 7px; height: 7px; }
.navdrop[open] .toolnav__chev { transform: translateY(1px) rotate(225deg); }
.navdrop__panel { left: 0; right: auto; min-width: 240px; padding: 6px; border-radius: 14px; }
.navdrop__panel .toolnav__item, .navdrop__panel .toolnav__all { padding-left: 10px; }
.blog-nav .navdrop__panel a { font-size: 14px; font-weight: 500; color: var(--text); border-radius: 9px; }
.blog-nav .navdrop__panel a.toolnav__all { font-size: 12.5px; color: var(--muted); }
.blog-nav .navdrop__panel a:hover { background: var(--panel-2); }
.blog-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { padding: 9px 16px !important; font-size: 14px !important; }

.iconbtn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.iconbtn:hover { background: var(--panel-2); border-color: var(--line-2); }
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn.is-done { border-color: var(--ok); color: var(--ok); }

/* Menus déroulants <details> (recherche, menu mobile) */
.pop { position: relative; }
.pop > summary { list-style: none; }
.pop > summary::-webkit-details-marker { display: none; }
.pop[open] > summary { background: var(--panel-2); border-color: var(--line-2); }
.pop__panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px;
}
.hsearch__panel { width: min(420px, calc(100vw - 32px)); }
.mnav { display: none; }
.mnav__panel { width: min(320px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 12px; }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a { font-size: 16px; color: var(--text); }
.mnav__label { margin: 8px 12px 2px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mnav__tools { display: flex; flex-direction: column; margin: 0 0 6px; }
.mnav__links .mnav__tools a { font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: 10px; }
.mnav__links .mnav__tools a.toolnav__all { font-size: 12.5px; color: var(--muted); }
.mnav__rubrics { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }

.searchform { display: flex; gap: 8px; }
.searchform input {
  flex: 1; min-width: 0; padding: 10px 13px; font-size: 15px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text);
}
.searchform .btn { padding: 10px 16px; }

/* ═══ Barre de rubriques ══════════════════════════════════════════════════════ */
.rubrics { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.rubrics__inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 32px;
  display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.rubrics__inner::-webkit-scrollbar { display: none; }
.rubrics__tag { margin-left: auto; padding-left: 16px; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
@media (max-width: 1240px) { .rubrics__tag { display: none; } }

/* Pastille de rubrique. Puce en losange, clin d'œil aux émojis 🔸🔹 : carré pivoté à
   45°, avec un reflet clair en haut à gauche comme sur l'émoji. */
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 3px 10px 3px 8px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--text); text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.chip::before {
  content: ""; width: 7px; height: 7px; flex-shrink: 0; margin: 0 1px;
  transform: rotate(45deg); border-radius: 1px;
  background: linear-gradient(135deg, oklch(1 0 0 / .45), transparent 55%), var(--c, var(--brand));
}
a.chip:hover, a.chip[aria-current="page"] { border-color: var(--c, var(--line-2)); }
a.chip[aria-current="page"] { background: var(--panel-2); }
.chip--sm { font-size: 11.5px; padding: 2px 9px 2px 7px; }

/* ═══ Cartes ══════════════════════════════════════════════════════════════════ */
.subtitle { font-style: italic; color: var(--brand-strong); margin: 0; font-size: 15px; }

.fcard {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fcard__img { aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.03); }
.fcard__body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fcard__title { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; margin: 4px 0 0; text-wrap: balance; }
.fcard .meta { margin-top: auto; padding-top: 10px; }

.hcard {
  display: grid; grid-template-columns: minmax(0, 1fr) 216px; gap: 20px; align-items: center;
  padding: 14px 14px 14px 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.hcard:hover .hcard__title { color: var(--brand-strong); }
.hcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hcard__title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; margin: 2px 0 0; text-wrap: pretty; transition: color .15s ease; }
.hcard .subtitle { font-size: 14px; }
.hcard .meta { margin-top: 4px; font-size: 12.5px; }
.hcard__img { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pas d'image à la une : motif de marque plutôt qu'un trou */
.noimg {
  width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center;
  background: radial-gradient(var(--dots) 1px, transparent 1.3px) 0 0 / 12px 12px, var(--brand-wash);
}
.noimg svg { width: 34px; height: 34px; color: var(--brand); }

/* ═══ Accueil ═════════════════════════════════════════════════════════════════ */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 44px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; margin-bottom: 64px; }

.feed-group { margin-bottom: 34px; }
.feed-group__title { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin: 0 0 14px; }
.feed-group__title small { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.feed { display: flex; flex-direction: column; gap: 12px; }
.more { display: flex; justify-content: center; margin-top: 8px; }

/* ═══ Colonne latérale ════════════════════════════════════════════════════════ */
.aside { display: flex; flex-direction: column; gap: 18px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-sm); }
.tile__title { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin: 0 0 4px; }
.tile__sub { display: block; color: var(--muted); font-size: 14px; margin: 0 0 14px; line-height: 1.45; }
.tile--news { background: var(--brand-wash); border-color: var(--line-2); }

.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  width: 100%; padding: 11px 13px; font-size: 14.5px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); color: var(--text);
}

.toollist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toollist a { display: flex; align-items: center; gap: 11px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14.5px; }
.toollist a:hover { background: var(--panel-2); }
.toollist a:hover .toollist__arrow { opacity: 1; transform: none; }
.toollist small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.toollist__ico { flex-shrink: 0; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-wash); color: var(--brand-strong); border: 1px solid var(--line); transform: rotate(-4deg); }
.toollist__ico svg { width: 17px; height: 17px; }
.toollist__arrow { margin-left: auto; color: var(--brand-strong); opacity: 0; transform: translateX(-4px); transition: .2s var(--ease); }
.tile__link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--brand-strong); text-decoration: none; }
.tile__link:hover { text-decoration: underline; }

.pinned { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pinned a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.pinned a:hover { color: var(--brand-strong); }
.pinned__img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.pinned__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pinned__img .noimg svg { width: 20px; height: 20px; }

.series { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.series li { border-top: 1px solid var(--line); }
.series li:first-child { border-top: 0; }
.series a { display: flex; gap: 12px; padding: 9px 0; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.series a:hover { color: var(--brand-strong); }
.series a::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 1px; }

.tile--labs, .tile--ext { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); }
.tile--labs { background: var(--spark-wash); }
.tile--labs:hover, .tile--ext:hover { border-color: var(--spark); }
.tile--labs .tile__title, .tile--ext .tile__title { font-size: 16px; }
.tile--labs .tile__sub, .tile--ext .tile__sub { margin: 0; font-size: 13px; }
.ext-mark { flex-shrink: 0; width: 40px; height: 40px; }

/* Tube à essai des Labs : les bulles montent en boucle, plus vite au survol */
.labs-tube { flex-shrink: 0; width: 48px; height: 62px; }
.labs-tube svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-8deg); transition: transform .4s var(--ease); }
.tile--labs:hover .labs-tube svg { transform: rotate(4deg); }
.tube__glass { stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tube__shine { stroke: var(--panel); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.tube__liquid { fill: var(--spark); }
.bubble { transform-box: fill-box; transform-origin: center; fill: var(--panel); stroke: var(--spark-strong); stroke-width: 1.4; opacity: 0; animation: bubble 2.4s ease-in infinite; }
.b2 { animation-delay: .8s; --dx: 5px; }
.b3 { animation-delay: 1.6s; --dx: -4px; }
.tile--labs:hover .bubble { animation-duration: 1.2s; }
@keyframes bubble {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: .9; }
  100% { transform: translate(var(--dx, 0), -52px) scale(1.15); opacity: 0; }
}

/* ═══ Archives, recherche, 404 ════════════════════════════════════════════════ */
.archive-head { max-width: 760px; margin: 36px 0 28px; }
.archive-head__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 10px; display: flex; align-items: center; gap: 14px; }
.archive-head[data-cat] .archive-head__title::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; transform: rotate(45deg); border-radius: 2px;
  background: linear-gradient(135deg, oklch(1 0 0 / .45), transparent 55%), var(--c);
}
.archive-head__desc { color: var(--muted); font-size: 17px; }
.archive-head__desc p { margin: 0; }
.archive-head__search { max-width: 520px; margin-top: 14px; }
.archive-head__count { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.archive-list { max-width: 860px; margin-bottom: 64px; }

.pagination { margin-top: 24px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px;
}
.pagination a.page-numbers:hover { border-color: var(--line-2); background: var(--panel-2); }
.pagination .page-numbers.current { background: var(--brand); border-color: transparent; color: var(--brand-ink); }
.pagination .page-numbers.dots { border: 0; background: none; }

.empty p { margin: 0 0 12px; }
.empty__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.notfound { max-width: 1180px; padding-top: 48px; padding-bottom: 64px; }
.notfound .post-title { margin-bottom: 8px; }
.notfound__sub { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.notfound__search { max-width: 520px; margin-bottom: 48px; }

/* ═══ Article ═════════════════════════════════════════════════════════════════ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.admin-bar .progress { top: 32px; }

/* Zone de titre plus large que la colonne de lecture (860 px) et titre à 38 px max :
   mesuré le 27/09/2026 sur les 134 titres, 1 seul passe à 3 lignes (41 à 52,8 px). */
.post-head { max-width: 860px; margin: 44px auto 0; padding: 0 24px; }
.post-head__chips { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.crumb { font-size: 13px; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--brand-strong); }
.post-title { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(1.9rem, 3.6vw, 2.375rem); margin: 0 0 14px; text-wrap: balance; }
.post-head .subtitle { font-size: 20px; margin-bottom: 26px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.byline .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.byline__who { display: flex; flex-direction: column; line-height: 1.3; }
.byline__who strong { font-size: 14.5px; }
.byline__share { margin-left: auto; display: flex; gap: 6px; }

.post-cover { max-width: 1000px; margin: 8px auto 0; padding: 0 24px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius); border: 1px solid var(--line); }

/* Colonne de lecture ~68ch + sommaire collant dans la marge gauche */
.post-layout { display: grid; grid-template-columns: 1fr minmax(0, 700px) 1fr; column-gap: 48px; max-width: 1180px; margin: 44px auto 0; padding: 0 24px; }
.toc { grid-column: 1; justify-self: end; width: 100%; max-width: 230px; }
.toc__inner { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.toc__title { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.toc a[aria-current] { color: var(--text); font-weight: 600; border-left-color: var(--brand); }

.post-foot { max-width: 760px; margin: 48px auto 0; padding: 0 24px; display: flex; flex-direction: column; gap: 18px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 12.5px; }
.post-tags a { color: var(--muted); text-decoration: none; }
.post-tags a:hover { color: var(--brand-strong); }
.authorbox { display: flex; gap: 16px; align-items: flex-start; }
.authorbox .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.authorbox p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.newsbar { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 20px; align-items: center; }
.newsbar .tile__sub { margin: 0; }

.related { max-width: 1180px; margin: 56px auto 72px; padding: 0 32px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related .fcard__title, .notfound .fcard__title { font-size: 19px; }

/* Commentaires */
.comments { margin-top: 12px; }
.comments__title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 0 0 14px; }
.comments__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.comments__list .children { list-style: none; margin: 12px 0 0 24px; padding: 0; }
.comment-body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 15px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12.5px; }
.comment-metadata a, .reply a { color: var(--muted); }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 10px 13px; font-size: 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); color: var(--text);
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { font-size: 13.5px; color: var(--muted); }

/* ═══ Pages ═══════════════════════════════════════════════════════════════════ */
.page-head { max-width: 1000px; margin: 44px auto 24px; padding: 0 24px; }
.page-content { max-width: 1000px; margin: 0 auto 72px; padding: 0 24px; font-size: 17.5px; line-height: 1.7; }
.page-content > .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* ═══ Contenu éditorial (articles et pages) ═══════════════════════════════════ */
.prose { grid-column: 2; font-size: 18.5px; line-height: 1.7; max-width: 68ch; min-width: 0; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; scroll-margin-top: 96px; }
.prose > h2 { font-size: 1.6em; margin-top: 2em; }
.prose > h3 { font-size: 1.25em; margin-top: 1.6em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .6em; }
/* WordPress impose `.has-large-font-size { font-size: … !important }` (préréglages
   globaux) et 133 titres d'articles portent cette classe héritée d'Astra : dans la
   colonne de lecture, l'échelle typographique du thème reprend la main. */
.entry-content h2.has-large-font-size { font-size: 1.6em !important; }
.entry-content h3.has-large-font-size, .entry-content h3.has-medium-font-size { font-size: 1.25em !important; }
.entry-content p.has-large-font-size { font-size: 1.2em !important; }

.entry-content a { color: var(--brand-strong); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--spark); }
.entry-content a.wp-block-button__link { text-decoration: none; }
.entry-content mark { background: var(--brand-wash); color: inherit; padding: 0 .2em; border-radius: 4px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--brand-strong); }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.2em auto; }
.entry-content blockquote, .entry-content .wp-block-quote {
  margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand);
  font-size: 1.05em; font-style: italic; color: var(--text);
}
.entry-content blockquote cite { display: block; margin-top: 6px; font-size: .8em; font-style: normal; color: var(--muted); }
.entry-content code { font-family: var(--mono); font-size: .86em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; }
.entry-content pre { overflow-x: auto; font-size: 14px; line-height: 1.55; border-radius: var(--radius-sm); }
.entry-content pre code { background: none; border: 0; padding: 0; }
.entry-content pre.wp-block-code { background: var(--bg-2); border: 1px solid var(--line); padding: 16px 18px; }

/* Tableaux : défilement horizontal plutôt que débordement */
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .88em; line-height: 1.5; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--bg-2); font-weight: 700; }

/* Vidéos intégrées (68 articles) : 16/9 responsive */
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-block-embed iframe { width: 100%; border-radius: var(--radius-sm); }
.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }

/* Boutons Gutenberg */
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.entry-content .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; background: var(--brand); color: var(--brand-ink);
}
.entry-content .wp-block-button__link:hover { background: var(--brand-2); }
.entry-content .has-text-align-center { text-align: center; }

/* Largeurs : dans un article, la colonne de lecture fait foi (pas de pleine largeur). */
.prose .alignfull, .prose .alignwide { width: auto; max-width: 100%; margin-left: 0; margin-right: 0; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }


/* ═══ Blocs éditoriaux (remplacent Spectra) ═══════════════════════════════════
   Styles de blocs déclarés dans functions.php (register_block_style), produits par la
   migration Spectra et disponibles dans l'éditeur. */
.entry-content .wp-block-group.is-style-encart,
.entry-content .wp-block-group.is-style-astuce,
.entry-content .wp-block-group.is-style-cta { border-radius: var(--radius); padding: 18px 22px; margin-top: 1.6em; margin-bottom: 1.6em; }
.entry-content .wp-block-group.is-style-encart { background: var(--brand-wash); border: 1px solid var(--line); }
.entry-content .wp-block-group.is-style-astuce { background: var(--spark-wash); border: 1px solid var(--line); font-size: .94em; }
.entry-content .wp-block-group.is-style-cta { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand); box-shadow: var(--shadow-sm); }
.entry-content .wp-block-group > * + * { margin-top: .7em; }
.entry-content .wp-block-group > :first-child { margin-top: 0; }
.entry-content .wp-block-group.is-style-cta h3 { font-size: 1.2em; margin: 0; }
.entry-content .wp-block-group .wp-block-buttons { margin-top: 1em; }

.entry-content .emoji-list, .entry-content .is-style-emoji { list-style: none; padding-left: 0; }
.entry-content .emoji-list li, .entry-content .is-style-emoji li { padding-left: 0; }
.entry-content .emoji-list li + li, .entry-content .is-style-emoji li + li { margin-top: .55em; }

/* Colonnes (anciens conteneurs Spectra en ligne) */
.entry-content .wp-block-columns { display: flex; gap: 24px; align-items: flex-start; }
.entry-content .wp-block-column { flex: 1 1 0; min-width: 0; }
.entry-content .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
.entry-content .wp-block-column > * + * { margin-top: .8em; }
.entry-content .wp-block-column > :first-child { margin-top: 0; }
@media (max-width: 760px) {
  .entry-content .wp-block-columns { flex-direction: column; }
  .entry-content .wp-block-column { flex-basis: auto !important; width: 100%; }
}

/* FAQ : blocs « Détails » dépliables */
.entry-content .wp-block-details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-top: .6em;
}
.entry-content .wp-block-details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; font-family: var(--mono); color: var(--brand-strong); }
.entry-content .wp-block-details[open] summary::after { content: "×"; }
.entry-content .wp-block-details > p { margin: 10px 0 0; color: var(--muted); }

/* Formulaire de contact [innospira_contact] */
.contact-form form { display: grid; gap: 12px; max-width: 560px; }
.contact-form p { margin: 0; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 15.5px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--panel); color: var(--text);
}
.contact-form button { border: 0; cursor: pointer; font: inherit; }
.contact-form__trap { position: absolute !important; left: -9999px; }
.contact-form__msg { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 14px !important; font-weight: 600; }
.contact-form__msg.is-ok { background: var(--brand-wash); }
.contact-form__msg.is-err { background: var(--danger-wash); color: var(--danger); }

/* Sommaire en tête d'article sur petit écran (le sommaire de marge est masqué) */
.toc-inline { display: none; }
@media (max-width: 1080px) {
  .toc-inline {
    display: block; grid-column: 1; margin-bottom: 1.6em;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
  }
  .toc-inline summary { cursor: pointer; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .toc-inline ol { margin: 10px 0 2px; padding-left: 1.3em; font-size: 15px; line-height: 1.45; }
  .toc-inline li + li { margin-top: 6px; }
  .toc-inline a { color: var(--text); text-decoration: none; }
  .toc-inline a:hover { color: var(--brand-strong); }
}

/* Liens de la zone commentaires */
.comments a { color: var(--brand-strong); }

/* reCAPTCHA v3 (extension Advanced Google reCAPTCHA : commentaires et connexion) : badge
   flottant masqué, comme sous Astra. Google l'autorise à condition d'afficher sa mention
   près du formulaire → .recaptcha-note, ajoutée par comments.php. */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.recaptcha-note a { color: var(--muted); }

/* ═══ Contenus hérités d'Astra ═════════════════════════════════════════════════
   Les articles référencent la palette d'Astra (classes has-ast-global-color-N-* et
   var(--ast-global-color-N)). Sans Astra ces variables n'existent plus : on les
   rebranche sur les tokens du thème pour que ces contenus suivent aussi le mode sombre. */
:root {
  --ast-global-color-0: var(--brand);
  --ast-global-color-1: var(--brand-strong);
  --ast-global-color-2: var(--text);
  --ast-global-color-3: var(--muted);
  --ast-global-color-4: var(--bg-2);
  --ast-global-color-5: var(--panel);
  --ast-global-color-6: var(--line);
  --ast-global-color-7: var(--text);
  --ast-global-color-8: var(--text);
}
.has-ast-global-color-0-color { color: var(--brand-strong) !important; }
.has-ast-global-color-1-color { color: var(--brand-strong) !important; }
.has-ast-global-color-2-color, .has-ast-global-color-7-color, .has-ast-global-color-8-color { color: var(--text) !important; }
.has-ast-global-color-3-color { color: var(--muted) !important; }
.has-ast-global-color-0-background-color { background-color: var(--brand) !important; color: var(--brand-ink); }
.has-ast-global-color-4-background-color { background-color: var(--bg-2) !important; }
.has-ast-global-color-5-background-color { background-color: var(--panel) !important; }
.has-ast-global-color-6-background-color { background-color: var(--panel-2) !important; }
.has-ast-global-color-0-border-color { border-color: var(--brand) !important; }
.has-ast-global-color-1-border-color { border-color: var(--brand-strong) !important; }


/* Couleurs inline héritées (surligneur pêche #ffe5c4, gris #666) : lisibles en clair,
   illisibles sur fond sombre. On ne les corrige qu'en mode sombre. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .entry-content [style*="background-color:#ffe5c4"],
  :root:not([data-theme="light"]) .entry-content [style*="background-color: #ffe5c4"] { background-color: var(--brand-wash) !important; color: var(--text) !important; }
  :root:not([data-theme="light"]) .entry-content [style*="color:#666"],
  :root:not([data-theme="light"]) .entry-content [style*="color: #666"] { color: var(--muted) !important; }
  :root:not([data-theme="light"]) .entry-content .has-black-color { color: var(--text) !important; }
}
:root[data-theme="dark"] .entry-content [style*="background-color:#ffe5c4"],
:root[data-theme="dark"] .entry-content [style*="background-color: #ffe5c4"] { background-color: var(--brand-wash) !important; color: var(--text) !important; }
:root[data-theme="dark"] .entry-content [style*="color:#666"],
:root[data-theme="dark"] .entry-content [style*="color: #666"] { color: var(--muted) !important; }
:root[data-theme="dark"] .entry-content .has-black-color { color: var(--text) !important; }

/* ═══ Formulaire MailPoet ═════════════════════════════════════════════════════
   MailPoet injecte ses propres styles (police, largeur, bouton) : on les aligne sur
   les champs et boutons du thème. */
.newsletter-mailpoet .mailpoet_form { padding: 0 !important; background: none !important; }
.newsletter-mailpoet .mailpoet_form form, .newsletter-mailpoet .mailpoet_form_paragraph, .newsletter-mailpoet .mailpoet_paragraph { margin: 0 !important; }
.newsletter-mailpoet .mailpoet_paragraph + .mailpoet_paragraph { margin-top: 8px !important; }
.newsletter-mailpoet .mailpoet_form p:not(.mailpoet_paragraph):not(.mailpoet_validate_success):not(.mailpoet_validate_error) { display: none; }
.newsletter-mailpoet .mailpoet_text, .newsletter-mailpoet input[type="email"] {
  width: 100% !important; padding: 11px 13px !important; font: 400 14.5px/1.4 var(--font) !important;
  border: 1px solid var(--line-2) !important; border-radius: var(--radius-sm) !important;
  background: var(--panel) !important; color: var(--text) !important; box-shadow: none !important;
}
.newsletter-mailpoet .mailpoet_submit {
  width: 100% !important; padding: 11px 18px !important; border: 0 !important; border-radius: 12px !important;
  font: 700 15px/1.2 var(--font) !important; background: var(--brand) !important; color: var(--brand-ink) !important;
  cursor: pointer; box-shadow: 0 6px 18px -8px var(--glow-brand) !important;
}
.newsletter-mailpoet .mailpoet_submit:hover { background: var(--brand-2) !important; }
.newsletter-mailpoet .mailpoet_message p { font-size: 13.5px; margin: 8px 0 0; }

/* ═══ Pied de page ════════════════════════════════════════════════════════════ */
.blog-footer { display: block; padding: 32px max(32px, calc((100% - 1180px) / 2 + 32px)) 0; container-type: inline-size; }
.blog-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.blog-footer__brand .logo svg { height: 28px; }
.blog-footer__brand .site-footer__tag { margin: 8px 0 0; }
.blog-footer .site-footer__nav { gap: 6px 18px; }
.blog-footer .site-footer__nav a { font-size: 14px; }
.blog-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-footer__social { display: flex; gap: 16px; font-size: 14px; }
.blog-footer__family { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-footer__copy { margin: 14px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
/* Nom géant posé sur le bord bas de la page, le pied des lettres coupé. Il occupe toute la
   largeur du contenu à chaque taille d'écran : 5.12em = largeur d'encre de « INNOSPIRA »
   en Bricolage Grotesk 800 (opsz 96) avec -.03em d'approche, d'où 100cqi / 5.12.
   Le -.01em à gauche compense l'approche du « I » pour aligner l'encre sur le contenu.
   Si l'une de ces valeurs change (police, graisse, approche, mot), recalculer le 5.12. */
.blog-footer__word {
  font-size: min(calc((100vw - 64px) / 5.12), 218px); font-size: calc(100cqi / 5.12);
  height: .54em; overflow: hidden; margin-top: 26px; user-select: none; pointer-events: none;
}
.blog-footer__word span {
  display: block; margin: -.17em 0 0 -.01em; white-space: nowrap;
  font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: color-mix(in oklch, var(--brand) 45%, var(--panel));
}

/* ═══ Responsive ══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 700px); justify-content: center; }
  .toc { display: none; }
  .prose { grid-column: 1; }
}
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; }
  .aside { display: grid; grid-template-columns: 1fr 1fr; }
  .related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .blog-header { padding: 12px 16px; gap: 8px; }
  .logo svg { height: 28px; }
  .blog-nav, .header-cta { display: none; }
  .mnav { display: block; }
  .wrap, .rubrics__inner, .related { padding-left: 16px; padding-right: 16px; }
  .featured { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .fcard__title { font-size: 21px; }
  .hcard { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 12px 12px 12px 14px; }
  .hcard__title { font-size: 16.5px; }
  .hcard .subtitle { display: none; }
  .hcard__img { aspect-ratio: 1; }
  .aside { grid-template-columns: 1fr; }
  .post-head, .post-cover, .post-layout, .post-foot, .page-head, .page-content { padding-left: 16px; padding-right: 16px; }
  .post-head { margin-top: 26px; }
  .post-head .subtitle { font-size: 17px; }
  .prose { font-size: 17.5px; }
  .byline__share { display: none; }
  .newsbar { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; max-width: 100%; }
  .blog-footer { padding: 24px 16px 0; }
  .blog-footer__word { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
