/* Élastique Musculation — noir profond, jaune électrique, tension permanente. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0b0b0c;
  --iron: #151517;
  --iron-2: #202024;
  --iron-3: #2e2e33;
  --chalk: #f4f2ea;
  --steel: #a8a89f;
  --volt: #ffe600;
  --volt-deep: #e6cf00;
  --red: #ff3b30;
  --line: rgb(244 242 234 / 14%);
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Impact, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 36px);
  --cut: 14px;
  --stripes: repeating-linear-gradient(-45deg, var(--volt) 0 12px, var(--black) 12px 24px);
  --stripes-thin: repeating-linear-gradient(-45deg, rgb(255 230 0 / 18%) 0 2px, transparent 2px 10px);
}

/* Couleurs de résistance (code usuel des bandes) : fond vif, texte noir lisible. */
.band-0 { --band: #ffe600; }
.band-1 { --band: #ff4d3d; }
.band-2 { --band: #2fd36b; }
.band-3 { --band: #4b93ff; }
.band-4 { --band: #b77bff; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--chalk);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--volt); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 .45em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
mark { background: var(--volt); color: var(--black); padding: 0 .12em; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 100;
  padding: 12px 18px;
  background: var(--volt); color: var(--black);
  font: 800 1.1rem/1 var(--font-display); text-transform: uppercase;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: var(--black); }

/* Surtitres, boutons, puces */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--volt);
  font: 600 1rem/1 var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 6px; background: var(--stripes); background-size: 34px 34px; }
.button, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 3px solid var(--volt);
  background: var(--volt);
  color: var(--black);
  font: 800 1.2rem/1 var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .15s, color .15s, transform .15s;
}
.button:hover, button:hover, input[type="submit"]:hover { background: var(--chalk); border-color: var(--chalk); color: var(--black); transform: translateY(-2px); }
.button:focus-visible, button:focus-visible { clip-path: none; }
.button--ghost { background: transparent; color: var(--volt); }
.button--ghost:hover { background: var(--volt); border-color: var(--volt); }
.chip {
  display: inline-block;
  padding: 5px 10px 4px;
  background: var(--band, var(--volt));
  color: var(--black);
  font: 800 .9rem/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.chip:hover { background: var(--chalk); color: var(--black); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--volt);
  font: 800 1.15rem/1 var(--font-display);
  text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none;
}
.text-link:hover { color: var(--chalk); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .15s; }

/* Bandeau supérieur */
.topbar { background: var(--volt); color: var(--black); font: 600 .95rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-text { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar-feed { font-weight: 800; text-decoration: none; }
.topbar a:hover { color: var(--black); text-decoration: underline; }
.topbar :focus-visible { outline-color: var(--black); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.branding { margin-right: auto; }
.custom-logo { max-height: 56px; width: auto; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: .9; text-decoration: none; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; }
.wordmark-top { font-size: 1.05rem; letter-spacing: .32em; color: var(--chalk); }
.wordmark-block { margin-top: 3px; padding: 3px 8px 1px; background: var(--volt); color: var(--black); font-size: 1.7rem; letter-spacing: .01em; transform: skewX(-8deg); }
.wordmark:hover .wordmark-top { color: var(--volt); }

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-menu a { display: block; padding: 10px 14px; font: 800 1.15rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.nav-menu a:hover, .nav-menu [aria-current="page"], .nav-menu .current-menu-item > a { color: var(--black); background: var(--volt); }
.nav-menu li { position: relative; }
.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 6px; list-style: none; background: var(--iron-2); border-top: 4px solid var(--volt); opacity: 0; visibility: hidden; transform: translateY(6px); 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; }

.header-search { position: relative; }
.header-search summary { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--iron-3); cursor: pointer; list-style: none; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search summary:hover { border-color: var(--volt); color: var(--volt); }
.header-search summary .icon + .icon, .header-search[open] summary .icon:first-child { display: none; }
.header-search[open] summary .icon + .icon { display: block; }
.header-search[open] summary { background: var(--volt); border-color: var(--volt); color: var(--black); }
.header-search-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(440px, calc(100vw - 2 * var(--gutter))); padding: 16px; background: var(--iron-2); border: 2px solid var(--volt); box-shadow: 10px 10px 0 var(--black); }

.menu-toggle { display: none; min-height: 48px; padding: 10px 14px; gap: 10px; background: transparent; color: var(--chalk); border: 2px solid var(--iron-3); clip-path: none; font-size: 1.1rem; }
.menu-toggle:hover { background: var(--volt); border-color: var(--volt); color: var(--black); transform: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 3px; background: currentColor; transition: transform .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -7px; }
.menu-lines::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

/* Rayures de tension : la bande s’étire au survol de l’en-tête. */
.tension-strip { height: 8px; background: var(--stripes); background-size: 34px 34px; }
.tension-strip--footer { height: 14px; }

@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; }
  .primary-nav { order: 5; width: 100%; }
  .primary-nav .nav-menu { flex-wrap: wrap; padding-bottom: 12px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .js .primary-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 20px; border-top: 2px solid var(--iron-3); }
  .js .primary-nav .nav-menu a { padding: 14px 4px; font-size: 1.5rem; border-bottom: 1px solid var(--line); }
  .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; background: none; border: 0; }
}
@media (max-width: 480px) {
  .topbar-feed { display: none; }
  .wordmark-block { font-size: 1.4rem; }
  .menu-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.tension-strip { transition: background-position .6s cubic-bezier(.2, .9, .3, 1.4); }
.site-header:hover .tension-strip { background-position: 68px 0; }

/* Héros */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 110px) clamp(56px, 8vw, 104px); background: radial-gradient(120% 90% at 100% 0%, var(--iron-2) 0%, var(--black) 60%); border-bottom: 3px solid var(--volt); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 10vw, 8.2rem); line-height: .86; letter-spacing: -.01em; }
.hero h1 mark { display: inline-block; margin-top: .06em; padding: .02em .14em 0; transform: skewX(-8deg); }
.hero-text { max-width: 36rem; color: #d7d5cc; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-stats li { flex: 1 1 120px; padding: 16px 20px 0 0; color: var(--steel); font: 600 .95rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.hero-stats strong { display: block; color: var(--chalk); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: 0; }

/* Bande élastique tendue en travers du héros, de poignée à poignée. */
.hero-band { position: absolute; inset: auto -5% 18% -5%; height: 90px; pointer-events: none; opacity: .5; transform: rotate(-6deg); }
.hero-band::before, .hero-band::after { content: ""; position: absolute; top: 50%; width: 40px; height: 70px; margin-top: -35px; border: 6px solid var(--iron-3); border-radius: 14px; }
.hero-band::before { left: 4%; }
.hero-band::after { right: 4%; }
.hero-band span { position: absolute; left: calc(4% + 40px); right: calc(4% + 40px); top: 50%; height: 16px; margin-top: -8px; background: var(--stripes-thin), var(--iron-2); border-block: 2px solid var(--iron-3); animation: elmu-stretch 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes elmu-stretch {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.55); }
}

/* Fiche programme : compteurs de séries et de répétitions */
.program { position: relative; background: var(--chalk); color: var(--black); box-shadow: 14px 14px 0 var(--volt); }
.program-head { padding: 24px 26px 18px; background: var(--black); color: var(--chalk); border-bottom: 8px solid transparent; border-image: var(--stripes) 8; }
.program-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--volt); font: 600 .95rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.program-title { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.program-summary { display: flex; gap: 18px; margin: 0; color: var(--steel); font: 600 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.program-summary strong { color: var(--volt); font-weight: 800; font-size: 1.35rem; }
.program-list { margin: 0; padding: 6px 0; list-style: none; counter-reset: exo; }
.program-row { counter-increment: exo; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "num name reps" "num sets rest"; column-gap: 12px; row-gap: 6px; align-items: center; padding: 12px 22px 12px 18px; border-bottom: 1px solid rgb(11 11 12 / 12%); }
.program-row:last-child { border-bottom: 0; }
.program-row::before { content: counter(exo, decimal-leading-zero); grid-area: num; align-self: stretch; display: grid; place-items: center; background: var(--black); color: var(--volt); font: 800 1.35rem/1 var(--font-display); }
.program-name { grid-area: name; font: 800 1.3rem/1.05 var(--font-display); text-transform: uppercase; }
.program-sets { grid-area: sets; display: flex; gap: 4px; }
.program-sets i { width: 18px; height: 8px; background: var(--black); transform: skewX(-20deg); }
.program-reps { grid-area: reps; display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-display); text-align: right; }
.program-reps b { font-size: 2rem; font-weight: 800; line-height: 1; }
.program-reps small { font: 600 .85rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.program-rest { grid-area: rest; justify-self: end; padding: 3px 8px 2px; background: var(--black); color: var(--chalk); font: 600 .8rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-band { bottom: auto; top: 22%; }
}
@media (max-width: 420px) {
  .program-row { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "num name" "num reps" "num sets" "num rest"; padding-right: 16px; }
  .program-reps, .program-rest { justify-self: start; text-align: left; }
}

/* Titres de section */
.section-heading { margin-bottom: clamp(24px, 4vw, 40px); }
.section-heading h2, .section-title { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 28px; }
.section-heading--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-intro { max-width: 44rem; margin-top: 14px; color: var(--steel); }

/* Cartes */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--iron); border-top: 5px solid var(--band, var(--volt)); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--band, var(--volt)); }
.card-media { position: relative; display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--iron-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.08); transition: filter .2s, transform .3s; }
.card:hover .card-media img { filter: none; transform: scale(1.04); }
.placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stripes-thin), linear-gradient(135deg, var(--iron-2), var(--black)); }
.placeholder::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 14px; background: var(--band, var(--volt)); transform: rotate(-8deg); box-shadow: 0 0 0 4px var(--black); }
.placeholder span { position: relative; color: var(--band, var(--volt)); font: 800 clamp(4rem, 9vw, 6.5rem)/1 var(--font-display); text-transform: uppercase; text-shadow: 6px 6px 0 var(--black); }
.card-rep { position: absolute; left: 0; top: 0; padding: 8px 12px 6px; background: var(--band, var(--volt)); color: var(--black); font: 800 1.6rem/1 var(--font-display); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px 20px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.card-time { display: inline-flex; align-items: center; gap: 5px; color: var(--steel); font: 600 .95rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.card-title { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-meta, .card-meta .chip { position: relative; z-index: 1; }
.card-title a:hover { color: var(--band, var(--volt)); }
.card-excerpt { margin: 0; color: #cfcdc4; font-size: .98rem; }
.card-date { margin-top: auto; color: var(--steel); font-size: .85rem; }
.card--lead .card-media { aspect-ratio: 16 / 10; }
.card--lead .card-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.card--lead .card-body { padding: 24px 26px 26px; }
.card--compact { display: grid; grid-template-columns: 38% minmax(0, 1fr); border-top: 0; border-left: 5px solid var(--band, var(--volt)); }
.card--compact .card-media { aspect-ratio: auto; height: 100%; min-height: 130px; }
.card--compact .card-rep { font-size: 1.2rem; }
.card--compact .card-title { font-size: 1.35rem; }
.card--compact .placeholder span { font-size: 3.4rem; }
.card--text { border-top-width: 3px; }
.une-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.une-stack { display: grid; gap: clamp(14px, 2vw, 20px); align-content: start; }

/* Échelle de résistance */
.resistances { background: var(--volt); color: var(--black); }
.resistances .eyebrow { color: var(--black); }
.resistances .eyebrow::before { background: var(--black); }
.resistances .section-intro { color: #3b3700; }
.band-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border: 3px solid var(--black); }
.band-level { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 24px; background: var(--black); color: var(--chalk); border-right: 3px solid var(--volt); }
.band-level:last-child { border-right: 0; }
.band-level-bar { display: block; height: calc(8px + var(--level) * 7px); margin-bottom: 14px; background: var(--band); border-radius: 2px; box-shadow: inset 0 -4px 0 rgb(0 0 0 / 25%); }
.band-level strong { font: 800 1.9rem/1 var(--font-display); text-transform: uppercase; color: var(--band); }
.band-level-load { font: 800 1.25rem/1 var(--font-display); letter-spacing: .04em; }
.band-level-use { color: var(--steel); font-size: .93rem; line-height: 1.4; }

/* Thématiques */
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--iron-3); border: 3px solid var(--iron-3); }
.topic { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 180px; padding: 22px; overflow: hidden; background: var(--iron); text-decoration: none; transition: background-color .15s, color .15s; }
.topic strong { position: relative; z-index: 1; font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/.95 var(--font-display); text-transform: uppercase; }
.topic small { position: relative; z-index: 1; color: var(--steel); font-size: .9rem; }
.topic-count { position: absolute; top: 6px; right: 14px; color: var(--band); font: 800 4.5rem/1 var(--font-display); opacity: .9; }
.topic::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: var(--band); transition: height .2s; }
.topic:hover { color: var(--black); }
.topic:hover::before { height: 100%; }
.topic:hover small, .topic:hover .topic-count { color: var(--black); }

/* États vides */
.empty-state { position: relative; padding: clamp(32px, 5vw, 56px); background: var(--iron); border: 3px solid var(--iron-3); border-left: 12px solid var(--volt); }
.empty-state h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.empty-state p { max-width: 40rem; color: #cfcdc4; }
.empty-state-count { margin: 0 0 8px; color: var(--volt); font: 800 clamp(3.5rem, 9vw, 6rem)/.9 var(--font-display); }
.empty-state-count small { font-size: .35em; letter-spacing: .1em; text-transform: uppercase; }
.empty-state--warmup { background: var(--stripes-thin), var(--iron); }
.empty-state--soft { padding: 24px 28px; border-left-width: 6px; }
.empty-state--soft p { margin: 0; }
.empty-state .search-form { max-width: 520px; margin-top: 20px; }

/* Formulaires */
.search-form { display: flex; gap: 0; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea, select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 3px solid var(--iron-3);
  border-radius: 0;
  background: var(--black);
  color: var(--chalk);
  font: inherit;
}
input::placeholder, textarea::placeholder { color: #8d8d85; opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--volt); outline: none; box-shadow: 0 0 0 3px rgb(255 230 0 / 35%); }
.search-form input[type="search"] { flex: 1; min-width: 0; border-right: 0; }
.search-form button { flex: none; padding-inline: 18px; clip-path: none; }
.search-form button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-form button:hover { transform: none; }

/* Bandeau de recherche */
.search-band { background: var(--stripes); background-size: 34px 34px; padding-block: 14px; }
.search-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px); gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--black); }
.search-band h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }

/* En-têtes d’archive */
.archive-heading { margin-top: calc(-1 * clamp(48px, 7vw, 96px)); margin-bottom: clamp(32px, 5vw, 56px); padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); background: var(--iron); border-bottom: 6px solid var(--band, var(--volt)); }
.archive-heading h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 8vw, 6rem); }
.archive-heading .search-form { max-width: 560px; margin-top: 20px; }
.archive-description { max-width: 44rem; color: #cfcdc4; }
.archive-count { margin: 12px 0 0; color: var(--steel); font: 600 1.05rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.archive-count strong { color: var(--band, var(--volt)); font-size: 1.6rem; font-weight: 800; }

/* Pagination */
.pagination { margin-top: clamp(32px, 5vw, 56px); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 14px; border: 2px solid var(--iron-3); font: 800 1.2rem/1 var(--font-display); text-transform: uppercase; text-decoration: none; }
.page-numbers:hover { border-color: var(--volt); color: var(--volt); }
.page-numbers.current { background: var(--volt); border-color: var(--volt); color: var(--black); }
.page-numbers.dots { border-color: transparent; }

/* Barre de progression */
.reading-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 5px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--volt); transform: scaleX(0); transform-origin: 0 50%; }

/* Article */
.article-heading { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 44px); background: var(--stripes-thin), var(--iron); border-bottom: 6px solid var(--band, var(--volt)); }
.article-heading-inner { max-width: 980px; }
.article-heading h1 { margin: 16px 0 18px; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .9; }
.article-heading--page h1 { margin-top: 0; }
.article-standfirst { max-width: 46rem; color: #dcdad1; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--steel); font: 600 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }
.article-avatar { border-radius: 0; border: 2px solid var(--band, var(--volt)); }
.article-cover { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 1100px; }
.article-cover img { width: 100%; }
.article-cover figcaption { margin-top: 8px; color: var(--steel); font-size: .88rem; }
.single-main > article > .container, .page-main .container { padding-bottom: 16px; }

/* Contenu éditorial */
.entry-content { max-width: 720px; margin: clamp(32px, 5vw, 56px) auto 0; font-size: 1.1rem; line-height: 1.75; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(2rem, 4.2vw, 2.8rem); }
.entry-content h2::before { content: ""; display: block; width: 56px; height: 8px; margin-bottom: 14px; background: var(--stripes); background-size: 34px 34px; }
.entry-content h3 { margin-top: 1.4em; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--volt); }
.entry-content h4 { font-size: 1.35rem; }
.entry-content a { color: var(--volt); }
.entry-content a:hover { color: var(--chalk); }
.entry-content strong { color: #fff; }
.entry-content ul { padding-left: 0; list-style: none; }
.entry-content ul > li { position: relative; padding-left: 28px; margin-bottom: .45em; }
.entry-content ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 6px; background: var(--volt); transform: skewX(-20deg); }
.entry-content ol { padding-left: 0; list-style: none; counter-reset: step; }
.entry-content ol > li { counter-increment: step; position: relative; min-height: 40px; padding-left: 56px; margin-bottom: .8em; }
.entry-content ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; background: var(--volt); color: var(--black); font: 800 1.4rem/1 var(--font-display); }
.entry-content img, .entry-content figure { max-width: 100%; }
.entry-content figcaption { color: var(--steel); font-size: .88rem; }
.entry-content blockquote, .entry-content .wp-block-quote { margin-inline: 0; padding: 8px 0 8px 26px; border-left: 8px solid var(--volt); font: 800 clamp(1.5rem, 3vw, 2rem)/1.15 var(--font-display); text-transform: uppercase; }
.entry-content blockquote cite { display: block; margin-top: 10px; color: var(--steel); font: 600 1rem/1 var(--font-display); letter-spacing: .1em; font-style: normal; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--iron-3); text-align: left; }
.entry-content th { background: var(--iron-2); font: 800 1.05rem/1.1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.entry-content code, .entry-content pre { background: var(--iron-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.entry-content code { padding: 2px 6px; }
.entry-content pre { overflow-x: auto; padding: 18px; }
.entry-content hr { height: 10px; border: 0; background: var(--stripes); background-size: 34px 34px; }
.entry-content .alignwide { width: min(1100px, 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc(50% - min(1100px, 100vw - 2 * var(--gutter)) / 2); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-block-button__link { border-radius: 0; background: var(--volt); color: var(--black) !important; font: 800 1.2rem/1 var(--font-display); text-transform: uppercase; text-decoration: none; }

/* Styles de blocs « programme » */
.entry-content ol.is-style-elmu-sets, .entry-content ul.is-style-elmu-sets { counter-reset: set; padding: 0; list-style: none; }
.entry-content .is-style-elmu-sets > li { counter-increment: set; display: flex; align-items: center; min-height: 56px; padding: 10px 18px 10px 104px; margin-bottom: 6px; background: var(--iron); border-left: 6px solid var(--volt); }
.entry-content .is-style-elmu-sets > li::before { content: "Série " counter(set); left: 0; top: 0; bottom: 0; width: 88px; height: auto; transform: none; display: grid; place-items: center; background: var(--volt); color: var(--black); font: 800 1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.entry-content .wp-block-table.is-style-elmu-program table { border: 3px solid var(--volt); }
.entry-content .is-style-elmu-program thead th { background: var(--volt); color: var(--black); border-color: var(--black); }
.entry-content .is-style-elmu-program tbody tr:nth-child(even) { background: var(--iron); }
.entry-content .is-style-elmu-program td:first-child { font: 800 1.2rem/1.1 var(--font-display); text-transform: uppercase; }
.entry-content .is-style-elmu-program td:not(:first-child) { font: 800 1.4rem/1 var(--font-display); text-align: center; color: var(--volt); }
.entry-content .is-style-elmu-tension { padding: clamp(20px, 3vw, 32px); background: var(--iron); border: 3px solid var(--volt); box-shadow: 10px 10px 0 var(--black), 10px 10px 0 3px var(--volt); }
.entry-content .is-style-elmu-tension > :last-child { margin-bottom: 0; }
.entry-content .wp-block-quote.is-style-elmu-coach { padding: 22px 24px 22px 90px; background: var(--volt); color: var(--black); border: 0; position: relative; font-size: 1.4rem; }
.entry-content .is-style-elmu-coach::before { content: "!"; position: absolute; left: 22px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; background: var(--black); color: var(--volt); font-size: 2rem; }
.entry-content .is-style-elmu-coach cite { color: #3b3700; }

/* Pied d’article, partage, navigation */
.article-footer { max-width: 720px; margin: 40px auto 0; padding-top: 24px; border-top: 3px solid var(--iron-3); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.article-tags a { padding: 6px 10px 5px; border: 2px solid var(--iron-3); font: 600 .95rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.article-tags a::before { content: "#"; color: var(--volt); }
.article-tags a:hover { border-color: var(--volt); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { margin-right: 6px; color: var(--steel); font: 600 1rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.share a, .share .copy-link { min-height: 40px; padding: 8px 14px; border: 2px solid var(--iron-3); background: transparent; color: var(--chalk); clip-path: none; font: 800 1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.share a:hover, .share .copy-link:hover, .share .copy-link.is-done { background: var(--volt); border-color: var(--volt); color: var(--black); transform: none; }
.share .copy-link .icon { width: 1em; height: 1em; }
.post-navigation { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--iron-3); border: 3px solid var(--iron-3); }
.post-navigation a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; background: var(--iron); font: 800 1.35rem/1.05 var(--font-display); text-transform: uppercase; text-decoration: none; }
.post-navigation a span { color: var(--volt); font-size: .9rem; font-weight: 600; letter-spacing: .14em; }
.post-navigation a:hover { background: var(--volt); color: var(--black); }
.post-navigation a:hover span { color: var(--black); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.related { margin-top: clamp(48px, 7vw, 88px); }

/* Commentaires */
.comments { max-width: 820px; margin: clamp(48px, 7vw, 88px) auto 0; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { padding-left: clamp(16px, 4vw, 40px); border-left: 3px solid var(--iron-3); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: var(--iron); border-top: 3px solid var(--iron-3); }
.bypostauthor > .comment-body { border-top-color: var(--volt); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 10px; font-size: .88rem; color: var(--steel); }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--chalk); font: 800 1.15rem/1 var(--font-display); text-transform: uppercase; }
.comment-author .avatar { border: 2px solid var(--volt); }
.comment-author .says { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.comment-metadata a { text-decoration: none; }
.reply a { color: var(--volt); font: 800 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.comment-respond { margin-top: 32px; padding: clamp(20px, 3vw, 32px); background: var(--iron); border-left: 8px solid var(--volt); }
.comment-reply-title { font-size: 2rem; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font: 600 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font: inherit; text-transform: none; letter-spacing: 0; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--volt); }
.comments-closed, .logged-in-as, .comment-notes { color: var(--steel); font-size: .95rem; }

/* 404 */
.not-found { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.not-found-code { display: flex; margin: 0; font: 800 clamp(6rem, 20vw, 14rem)/.8 var(--font-display); }
.not-found-code span:nth-child(2) { color: var(--black); background: var(--volt); padding: 0 .06em; transform: skewX(-8deg); }
.not-found h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.not-found .search-form { max-width: 520px; margin-block: 24px; }

/* Pied de page */
.site-footer { margin-top: 0; background: var(--iron); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px; padding-block: clamp(40px, 6vw, 72px); }
.footer-about p { margin-top: 18px; color: #cfcdc4; }
.footer-about .footer-disclaimer { color: var(--steel); font-size: .88rem; }
.footer-col h2 { margin-bottom: 16px; color: var(--volt); font-size: 1.3rem; letter-spacing: .12em; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col li[class*="band-"] { display: flex; align-items: center; gap: 10px; }
.footer-col li[class*="band-"]::before { content: ""; width: 16px; height: 6px; background: var(--band); transform: skewX(-20deg); }
.footer-col a { text-decoration: none; font: 600 1.15rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--steel); font-size: .88rem; }
.footer-motto { color: var(--volt); font: 800 1.1rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }

/* Mise en page adaptative */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--volt); }
  .band-level { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .une-layout { grid-template-columns: 1fr; }
  .search-band-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .post-grid, .topic-grid, .footer-grid { grid-template-columns: 1fr; }
  .band-scale { grid-template-columns: 1fr; }
  .band-level { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "bar bar" "name load" "use use"; column-gap: 12px; }
  .band-level-bar { grid-area: bar; }
  .band-level strong { grid-area: name; }
  .band-level-load { grid-area: load; align-self: center; }
  .band-level-use { grid-area: use; }
  .card--compact { grid-template-columns: 34% minmax(0, 1fr); }
  .card--compact .card-body { padding: 14px; }
  .topic { min-height: 130px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: auto; }
  .not-found { grid-template-columns: 1fr; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin-inline: 0; }
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card:hover, .button:hover { transform: none; }
}

/* Impression */
@media print {
  .topbar, .site-header, .site-footer, .reading-progress, .share, .post-navigation, .related, .comments, .search-band, .hero-band { display: none !important; }
  body { background: #fff; color: #000; }
  .article-heading, .entry-content .is-style-elmu-tension, .entry-content .is-style-elmu-sets > li { background: none; color: #000; }
  .entry-content a { color: #000; }
  .entry-content strong { color: #000; }
}
