/* E-réputation Blog — net et sérieux : bleu profond, blanc, accent turquoise mesuré. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1d4e89;
  --ink: #12233b;
  --slate: #4a5a70;
  --white: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #e8eef5;
  --line: #d9e1ec;
  --line-strong: #b9c6d8;
  --teal: #19b3ac;
  --teal-ink: #0b6f6b;
  --teal-soft: #e3f4f3;
  --amber: #b45309;
  --amber-soft: #fdf3e6;
  --on-navy: #dbe6f3;
  --on-navy-muted: #a9bdd6;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgb(11 37 69 / 6%), 0 8px 24px -12px rgb(11 37 69 / 22%);
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --measure: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
[hidden] { display: none !important; }
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-top: 0; }
.section--mist { background: var(--mist); border-block: 1px solid var(--line); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; }
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 .75em;
  color: var(--teal-ink);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--teal); }

.button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font: 600 .9375rem/1.2 var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button:hover, button:hover, input[type="submit"]:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-3);
  font-weight: 600;
  text-decoration: none;
}
.text-link .icon { transition: transform .15s; }
.text-link:hover { color: var(--teal-ink); }
.text-link:hover .icon { transform: translateX(3px); }

/* Formulaires */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font);
}
input:focus, textarea:focus, select:focus { border-color: var(--navy-3); outline: 2px solid var(--teal); outline-offset: 1px; }
label { font-weight: 600; font-size: .9375rem; color: var(--navy); }

.search-form {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
}
.search-form > .icon { position: absolute; left: 12px; color: var(--slate); pointer-events: none; }
.search-form input[type="search"] { padding-left: 42px; }
.search-form button { flex: none; }

/* Pastilles */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-3);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.chip:hover { border-color: var(--teal-ink); color: var(--teal-ink); }
.chip-count { color: var(--slate); font-weight: 400; }
.chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip-list--large { justify-content: flex-start; }
.chip-list--large .chip { padding: 6px 14px; font-size: .9375rem; }

/* Bandeau supérieur */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-text { display: flex; align-items: center; gap: 8px; margin: 0; overflow: hidden; }
.topbar-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-text .icon { color: var(--teal); }
.topbar-link { flex: none; color: var(--on-navy); text-decoration: none; }
.topbar-link:hover { color: var(--white); text-decoration: underline; }

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.branding { flex: none; margin-right: auto; }
.branding img { max-height: 48px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--teal);
}
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { font-size: 1.1875rem; line-height: 1; letter-spacing: -0.01em; }
.brand-text strong { font-weight: 700; }
.brand-text span { color: var(--teal-ink); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav-menu a:hover { color: var(--navy-3); background: var(--mist); }
.nav-menu .current-menu-item > a, .nav-menu [aria-current="page"] { color: var(--navy-3); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Recherche de l’en-tête */
.header-search { position: relative; }
.header-search summary {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.header-search summary::-webkit-details-marker { display: none; }
.header-search summary:hover { border-color: var(--navy-3); color: var(--navy-3); }
.header-search summary .icon--close, .header-search[open] summary .icon--search { display: none; }
.header-search[open] summary .icon--close { display: block; }
.header-search-panel {
  position: absolute;
  top: calc(100% + 12px); right: 0;
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Bouton du menu mobile */
.menu-toggle { display: none; background: var(--white); color: var(--navy); border-color: var(--line); padding: 10px 14px; }
.menu-toggle:hover { background: var(--mist); color: var(--navy); border-color: var(--navy-3); }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, background-color .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .js .menu-toggle { display: inline-flex; }
  .primary-nav { order: 10; flex-basis: 100%; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; padding-bottom: 16px; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu .current-menu-item > a, .nav-menu [aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 12px; }
  .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  html:not(.js) .nav-menu { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav-menu a { border: 0; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

/* Héros */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero-text { max-width: 58ch; font-size: 1.125rem; color: var(--on-navy); }
.hero-search { max-width: 560px; margin: 28px 0 20px; }
.hero-search input[type="search"] { border-color: transparent; min-height: 52px; }
.hero-search button { min-height: 52px; background: var(--teal); border-color: var(--teal); color: var(--navy); }
.hero-search button:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero-topics { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.hero-topics a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-navy); text-decoration: none; }
.hero-topics a:hover { color: var(--white); text-decoration: underline; }
.hero-topics .icon { color: var(--teal); }

.checklist {
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--teal);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 50%);
}
.checklist-label { display: flex; align-items: center; gap: 8px; margin-bottom: .5em; color: var(--teal-ink); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.checklist h2 { font-size: 1.3125rem; }
.checklist ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: reflex; }
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--slate); }
.checklist li strong { display: block; color: var(--navy); font-size: 1rem; }
.checklist-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-3); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

/* Titres de section */
.section-heading { max-width: 760px; margin-bottom: clamp(28px, 4vw, 40px); }
.section-heading h2 { margin: 0; }
.section-heading--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.section-title .icon { color: var(--teal-ink); }

/* Cartes à filet */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.card:hover::after, .card:focus-within::after { transform: scaleX(1); }
.card-media { display: block; aspect-ratio: 16 / 9.5; background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 50% 50%, rgb(25 179 172 / 22%) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgb(255 255 255 / 7%) 30.5% 31%, transparent 31.5% 44%, rgb(255 255 255 / 5%) 44.5% 45%, transparent 45.5%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--teal);
}
.placeholder .icon { width: clamp(40px, 18%, 72px); height: auto; aspect-ratio: 1; stroke-width: 1.3; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; color: var(--slate); font-size: .8125rem; }
.card-title { margin: 0 0 10px; font-size: 1.1875rem; line-height: 1.3; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--navy-3); text-decoration: underline; }
.card-title a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.card .chip, .card-meta a { position: relative; z-index: 1; }
.card-excerpt { color: var(--slate); font-size: .9375rem; margin-bottom: 14px; }
.card-time { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--slate); font-size: .8125rem; }
.card-time .icon { width: 1rem; height: 1rem; }

.card--lead .card-title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; }
.card--lead .card-excerpt { font-size: 1.0625rem; }
.card--lead .card-media { aspect-ratio: 16 / 8.5; }
.card--row { flex-direction: row; align-items: stretch; }
.card--row .card-media { flex: 0 0 clamp(96px, 30%, 150px); aspect-ratio: auto; min-height: 104px; }
.card--row .card-body { padding: 14px 18px; justify-content: center; }
.card--row .card-title { font-size: 1.0625rem; margin: 0; }
.card--row .card-meta { margin-bottom: 6px; }
.card--text { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.card--text .card-body { padding: 16px 0; }

.une-layout { display: grid; gap: 24px; }
.une-list { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) {
  .une-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* Thématiques */
.topic-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--slate);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.topic:hover { border-color: var(--navy-3); box-shadow: var(--shadow); color: var(--slate); }
.topic strong { color: var(--navy); font-size: 1.125rem; }
.topic-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border: 1px solid var(--teal); border-radius: var(--radius); background: var(--teal-soft); color: var(--teal-ink); }
.topic-icon .icon { width: 28px; height: 28px; }
.topic-text { font-size: .9375rem; }
.topic-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--navy-3); font-size: .875rem; font-weight: 600; }
.topic:hover .topic-more { color: var(--teal-ink); }
.topic:hover .topic-more .icon { transform: translateX(3px); }
.topic-more .icon { transition: transform .15s; }

/* Méthode en trois temps */
.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-number { display: block; margin-bottom: 14px; color: var(--teal-ink); font-size: .875rem; font-weight: 700; letter-spacing: .1em; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.step h3 { font-size: 1.375rem; margin-bottom: .4em; }
.step > p { color: var(--slate); }
.step .box { margin: auto 0 0; }

/* Encadrés « Conseil » et « À vérifier » */
.box, .is-style-conseil, .is-style-a-verifier {
  margin: 1.75em 0;
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--teal);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--ink);
}
.box--verifier, .is-style-a-verifier { border-color: var(--amber); background: var(--amber-soft); }
.box > :last-child, .box-body > :last-child, .is-style-conseil > :last-child, .is-style-a-verifier > :last-child { margin-bottom: 0; }
.box-title { display: flex; align-items: center; gap: 8px; margin: 0 0 .4em; color: var(--teal-ink); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.box--verifier .box-title { color: #8a3f06; }
.box--small { padding: 14px 16px 14px 18px; font-size: .9375rem; }
.box--small p:not(.box-title) { margin: 0; }
p.is-style-conseil::before, p.is-style-a-verifier::before, .is-style-conseil:not(p)::before, .is-style-a-verifier:not(p)::before {
  display: block;
  margin-bottom: .4em;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.is-style-conseil::before { content: "Conseil"; color: var(--teal-ink); }
.is-style-a-verifier::before { content: "À vérifier"; color: #8a3f06; }
ul.is-style-conseil, ul.is-style-a-verifier, ol.is-style-conseil, ol.is-style-a-verifier { padding-left: 2.4em; }
ul.is-style-conseil::before, ul.is-style-a-verifier::before, ol.is-style-conseil::before, ol.is-style-a-verifier::before { margin-left: -1.2em; }

/* Ressources officielles */
.resources { background: var(--navy); color: var(--on-navy); padding-block: clamp(48px, 7vw, 80px); }
.resources-inner { display: grid; gap: 32px; }
.resources h2 { color: var(--white); }
.resources-intro p:last-child { color: var(--on-navy-muted); margin: 0; }
.resource-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.resource-list a {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius-lg);
  color: var(--on-navy-muted);
  font-size: .9375rem;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.resource-list a:hover { border-color: var(--teal); background: rgb(255 255 255 / 4%); color: var(--on-navy); }
.resource-list strong { display: block; color: var(--white); font-size: 1.0625rem; }
.resource-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal); }
.resources :focus-visible { outline-color: var(--white); }
@media (min-width: 960px) {
  .resources-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
}

/* Bandeau des archives et de la recherche */
.page-banner { background: var(--navy); color: var(--on-navy); padding-block: clamp(36px, 6vw, 64px); border-bottom: 3px solid var(--teal); }
.page-banner h1 { color: var(--white); margin: 0; }
.page-banner-inner { display: flex; gap: 24px; align-items: flex-start; }
.page-banner-icon { display: none; place-items: center; flex: none; width: 72px; height: 72px; border: 1px solid rgb(255 255 255 / 20%); border-radius: var(--radius-lg); color: var(--teal); }
.page-banner-icon .icon { width: 38px; height: 38px; }
.archive-description { max-width: 64ch; margin-top: 12px; color: var(--on-navy); }
.archive-description p:last-child { margin: 0; }
.archive-count { margin: 12px 0 0; color: var(--on-navy-muted); font-size: .9375rem; }
.page-banner-search { max-width: 560px; margin-top: 24px; }
.page-banner-search input[type="search"] { border-color: transparent; }
.page-banner-search button { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.page-banner-search button:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.page-banner :focus-visible, .hero :focus-visible { outline-color: var(--teal); }
@media (min-width: 720px) { .page-banner-icon { display: grid; } }

/* État vide */
.empty-state { max-width: 640px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--mist); }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--slate); }
.empty-state .search-form { max-width: 460px; margin: 0 auto 20px; }
.empty-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border: 1px solid var(--teal); border-radius: 50%; background: var(--white); color: var(--teal-ink); }
.empty-icon .icon { width: 28px; height: 28px; }

/* Pagination */
.pagination, .comments-pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
a.page-numbers:hover { border-color: var(--navy-3); color: var(--navy-3); }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.page-numbers.dots { border: 0; }

/* Article */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.single-main { max-width: 1200px; }
.article-heading, .entry-content, .article-footer, .article-cover, .post-navigation, .comments { max-width: var(--measure); margin-inline: auto; }
.article-cover { max-width: 1000px; margin-block: 32px 40px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); }
.article-cover figcaption { margin-top: 8px; color: var(--slate); font-size: .875rem; text-align: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--slate); font-size: .875rem; }
.breadcrumb a { color: var(--navy-3); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-heading h1 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.625rem); }
.article-standfirst { font-size: 1.1875rem; line-height: 1.6; color: var(--slate); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 20px; padding-block: 14px; border-block: 1px solid var(--line); color: var(--slate); font-size: .875rem; }
.article-avatar { border-radius: 50%; }
.article-author { color: var(--navy); font-weight: 600; }
.article-time { display: inline-flex; align-items: center; gap: 6px; }

.entry-content { font-size: 1.0625rem; line-height: 1.75; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { margin-top: 2em; font-size: 1.625rem; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: 0; }
.entry-content a { color: var(--navy-3); text-decoration: underline; }
.entry-content a:hover { color: var(--teal-ink); }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--teal-ink); }
.entry-content blockquote, .entry-content .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--navy); color: var(--navy); font-size: 1.1875rem; }
.entry-content blockquote cite { display: block; margin-top: 8px; color: var(--slate); font-size: .875rem; font-style: normal; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--mist); color: var(--navy); }
.entry-content pre, .entry-content code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; }
.entry-content pre { padding: 16px; overflow-x: auto; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { max-width: 1000px; margin-inline: calc((var(--measure) - 1000px) / 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-content .alignleft { float: left; margin: 0 24px 16px 0; }
.entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-block-button__link { background: var(--navy); color: var(--white); border-radius: var(--radius); text-decoration: none; }
.wp-caption-text, .wp-element-caption { color: var(--slate); font-size: .875rem; }
@media (max-width: 1060px) { .entry-content .alignwide { margin-inline: 0; max-width: 100%; } }

.article-footer { margin-top: 40px; display: grid; gap: 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--slate); font-size: .8125rem; text-decoration: none; }
.article-tags a::before { content: "#"; color: var(--teal-ink); }
.article-tags a:hover { border-color: var(--navy-3); color: var(--navy-3); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 16px; border-block: 1px solid var(--line); }
.share-label { margin-right: 6px; color: var(--navy); font-weight: 600; font-size: .875rem; }
.share a, .share button { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy-3); font-size: .875rem; font-weight: 600; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--white); border-color: var(--navy-3); color: var(--navy-3); }
.share .icon { width: 1rem; height: 1rem; }
.copy-link.is-done { border-color: var(--teal-ink); color: var(--teal-ink); }
.article-disclaimer { margin: 0; }

.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.post-navigation a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--navy); font-weight: 600; line-height: 1.4; text-decoration: none; }
.post-navigation a:hover { border-color: var(--navy-3); color: var(--navy-3); }
.post-navigation span { display: block; margin-bottom: 4px; color: var(--slate); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-navigation .nav-next { text-align: right; }
.related { margin-top: clamp(48px, 7vw, 80px); }

/* Commentaires */
.comments { margin-top: clamp(48px, 7vw, 72px); }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: clamp(16px, 4vw, 40px); padding-left: 16px; border-left: 1px solid var(--line); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; font-size: .875rem; }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--slate); text-decoration: none; }
.comment-content { font-size: 1rem; }
.comment-awaiting-moderation { color: var(--amber); font-size: .875rem; }
.reply a { font-size: .875rem; font-weight: 600; color: var(--navy-3); }
.bypostauthor > .comment-body { border-color: var(--teal); }
.comment-respond { margin-top: 32px; padding: clamp(20px, 3vw, 28px); background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.comment-reply-title { font-size: 1.25rem; }
.comment-reply-title small { margin-left: 8px; font-size: .875rem; font-weight: 400; }
.comment-notes, .logged-in-as { color: var(--slate); font-size: .875rem; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 4px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; font-size: .875rem; color: var(--slate); }
.comment-form-cookies-consent input { margin-top: 5px; }
.comments-closed { color: var(--slate); }

/* 404 */
.not-found { display: grid; gap: 24px; max-width: 760px; margin: 0 auto; }
.not-found-icon { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--teal); border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); }
.not-found-icon .icon { width: 44px; height: 44px; }
.not-found .search-form { max-width: 480px; margin-bottom: 16px; }
@media (min-width: 720px) { .not-found { grid-template-columns: auto 1fr; } }

/* Contenu de la page d’accueil */
.home-editor-content .entry-content { max-width: var(--measure); margin-inline: auto; }
.home-editor-content { padding-top: 0; }

/* Pied de page */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: .9375rem; border-top: 1px solid rgb(255 255 255 / 10%); }
.footer-grid { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-about { grid-column: 1 / -1; max-width: 420px; }
.footer-about .brand, .footer-about .brand:hover { color: var(--white); }
.footer-about .brand-mark { background: var(--navy-2); }
.footer-about .brand-text span { color: var(--teal); }
.footer-about p { margin-top: 14px; }
.site-footer h2 { color: var(--white); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--teal); }
.footer-search input[type="search"] { border-color: transparent; }
.footer-search button { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.footer-search button:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .8125rem; }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
  .footer-about { grid-column: auto; }
}
@media (max-width: 480px) {
  .search-form { flex-wrap: wrap; }
  .search-form button { flex: 1 1 100%; }
  .search-form > .icon { top: 12px; }
}

/* Accessibilité et impression */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reading-progress { display: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .reading-progress, .share, .post-navigation, .related, .comments, .resources, .header-search { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .entry-content a::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
  .box, .is-style-conseil, .is-style-a-verifier { break-inside: avoid; }
}
