/* Thème Audace Magazine.
   Une seule direction : typographie grasse sur fond clair, noir et rouge en
   accents, mise en page portée par le texte plutôt que par les images.
   Écrit pour le téléphone d'abord ; les largeurs supérieures s'ajoutent. */

:root {
  --rouge: #e2071c;
  --rouge-fonce: #b30012;
  --encre: #0f0f0f;
  --encre-2: #45443f;
  --encre-3: #74726b;
  --papier: #ffffff;
  --papier-2: #f4f2ee;
  --filet: #e0ddd6;
  --plein: #0f0f0f;          /* aplats sombres */
  --sur-plein: #ffffff;
  --titre: "Bricolage Grotesque", system-ui, sans-serif;
  --texte: "Source Serif 4", Georgia, serif;
  --ui: "Instrument Sans", system-ui, sans-serif;
  --large: 1200px;
  --italique: italic 400 1em/1.4 var(--texte);
  --marge: 20px;
  --rayon: 2px;
  color-scheme: light;
}
html[data-theme="sombre"] {
  --rouge: #ff4051;
  --rouge-fonce: #ff6672;
  --encre: #f2f0eb;
  --encre-2: #c3c0b8;
  --encre-3: #918e86;
  --papier: #101011;
  --papier-2: #1b1b1d;
  --filet: #2e2e31;
  --plein: #1b1b1d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.cadre { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 12px; top: 12px; z-index: 99; background: var(--encre); color: var(--papier); padding: 10px 14px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 750; line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }

/* ---------- En-tête : une seule ligne ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: var(--papier); border-bottom: 1px solid var(--filet); transition: transform .25s; }
.entete.efface { transform: translateY(-100%); }
.entete .cadre { display: flex; align-items: center; gap: 6px; height: 56px; }
.entete .logo { margin-right: auto; flex: none; }
.entete .logo img { height: 36px; width: auto; }
html[data-theme="sombre"] .logo img { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
.entete nav.rubriques { display: none; }
.icone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 99px; flex: none; }
.icone:hover { background: var(--papier-2); }
.icone svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entete .recherche, .entete .theme { display: none; }
.lien-radio { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rouge); }
.pied .lien-radio { display: inline-block; padding: 6px 0; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; background: var(--rouge); color: #fff; font: 700 15px/1 var(--ui); border-radius: var(--rayon); transition: background .15s, transform .15s; white-space: nowrap; }
html[data-theme="sombre"] .bouton { color: #14090a; }
.bouton:hover { background: var(--rouge-fonce); }
.bouton:active { transform: scale(.98); }
.bouton.contour { background: none; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.bouton.contour:hover { background: var(--encre); color: var(--papier); }
.bouton.grand { min-height: 52px; padding: 0 26px; font-size: 16px; }
.entete .bouton { min-height: 40px; padding: 0 12px; font-size: 14px; gap: 0; }

.tiroir { position: fixed; inset: 0; z-index: 50; background: var(--papier); padding: 10px var(--marge) 28px; overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.tiroir.ouvert { transform: none; opacity: 1; visibility: visible; }
.tiroir .haut { display: flex; justify-content: space-between; align-items: center; height: 50px; }
.tiroir ul { list-style: none; margin: 8px 0 20px; padding: 0; }
.tiroir li a { display: block; padding: 11px 0; font: 750 30px/1.1 var(--titre); letter-spacing: -.03em; }
.tiroir .actions { display: grid; gap: 10px; }
.tiroir .secondaires { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 22px; color: var(--encre-2); }
.tiroir .secondaires a, .tiroir .secondaires button { padding: 10px 0; font-size: 15px; }

/* ---------- Éléments éditoriaux ---------- */
.surtitre { display: inline-block; font: 700 13px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--rouge); }
.meta { font-size: 14px; color: var(--encre-3); }
.chapo { font: italic 400 19px/1.42 var(--texte); color: var(--encre-2); margin: 0; }
.vignette { overflow: hidden; background: var(--papier-2); border-radius: var(--rayon); }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.lien-fleche { white-space: nowrap; font: 600 15px/1 var(--ui); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rouge); }
a:hover :is(h1, h2, h3) { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; }
section { padding-top: 44px; }
.tete-section { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-top: 1px solid var(--encre); padding-top: 12px; }
.tete-section h2 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--ui); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tete-section h2::before { content: ""; width: 10px; height: 10px; background: var(--rouge); }
.tete-section a { font: 600 14px/1 var(--ui); color: var(--encre-2); padding: 8px 0; }
.tete-section a:hover { color: var(--rouge); }

/* Lignes d'articles : le motif de base, lisible sans image. */
.ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--filet); }
.ligne h3 { font-size: 19px; line-height: 1.18; letter-spacing: -.012em; margin: 7px 0 4px; font-weight: 600; }
.ligne .vignette { width: 96px; aspect-ratio: 1; }
.lignes > .ligne:first-child { border-top: 0; padding-top: 0; }

/* ---------- Une : un sujet dominant, porté par le titre ---------- */
.une { padding-top: 26px; }
.une > .cadre > a { display: block; container-type: inline-size; }
.une h1 { margin: 12px 0 16px; font-weight: 800; }
.une h1.court { font-size: clamp(38px, 9.4cqi, 124px); }
.une h1.moyen { font-size: clamp(33px, 7.2cqi, 96px); }
.une h1.long  { font-size: clamp(30px, 5.8cqi, 76px); line-height: 1.05; }
.une .meta { display: block; margin-top: 12px; }
.une .vignette { aspect-ratio: 16 / 9; margin-top: 20px; }

.suite { display: grid; gap: 0; margin-top: 30px; border-top: 3px solid var(--encre); }
.suite article { padding: 18px 0; border-bottom: 1px solid var(--filet); }
.suite h2 { font-size: 21px; line-height: 1.16; letter-spacing: -.015em; font-weight: 600; margin: 8px 0 0; }
.suite .meta { display: block; margin-top: 8px; }

/* ---------- Rubrique avec un article en tête ---------- */
.rubrique .tete .vignette { aspect-ratio: 16 / 9; }
.rubrique .tete { display: block; container-type: inline-size; }
.rubrique .tete h3 { font-size: clamp(26px, 5.4cqi, 40px); margin: 14px 0 8px; }
.rubrique .tete .chapo { font-size: 17px; margin-bottom: 8px; }
.rubrique .lignes { margin-top: 20px; }
.rubrique .lignes .ligne:first-child { border-top: 1px solid var(--filet); padding-top: 16px; }

.duo { display: grid; gap: 44px; }
.grand-titre { display: block; padding-bottom: 18px; }
.grand-titre h3 { font-size: 25px; line-height: 1.1; letter-spacing: -.022em; margin: 8px 0; }
.grand-titre .vignette { aspect-ratio: 16 / 9; margin-bottom: 14px; }

.rangees { display: grid; gap: 22px; }
.rangee a { display: grid; grid-template-columns: 42% 1fr; gap: 16px; align-items: center; }
.rangee .vignette { aspect-ratio: 4 / 3; }
.rangee h3 { font-size: 20px; line-height: 1.16; letter-spacing: -.015em; font-weight: 600; margin: 6px 0; }
.rangee .chapo { display: none; }

/* ---------- Le magazine sur l'accueil ---------- */
.magazine { margin-top: 52px; background: var(--papier-2); padding: 36px 0 40px; }
.magazine .grille { display: grid; gap: 28px; }
.magazine .dernier { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: start; }
.magazine h2 { font-size: 28px; margin: 8px 0 8px; }
.magazine p { margin: 0 0 14px; color: var(--encre-2); }
.couverture { display: block; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.1), 0 16px 30px -16px rgba(0,0,0,.5); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.couverture img { width: 100%; aspect-ratio: 796 / 1024; object-fit: cover; }
a:hover > .couverture, a.couverture:hover { transform: translateY(-4px) rotate(-.7deg); }
.archives .haut { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.archives h3 { font: 700 13px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.defile { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--marge)); padding: 4px var(--marge) 16px; scrollbar-width: none; }
.defile > * { flex: 0 0 38%; scroll-snap-align: start; }
.defile b { display: block; font-size: 14px; margin-top: 10px; }
.defile span { font-size: 13px; color: var(--encre-3); }

/* ---------- Page article ---------- */
.progression { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--rouge); transform-origin: left; transform: scaleX(0); z-index: 40; }
.article { padding-top: 24px; }
.article .tete, .article .corps, .article .fin, .article figure { max-width: 720px; margin-left: auto; margin-right: auto; }
.article .tete { container-type: inline-size; }
.article h1 { margin: 12px 0 16px; font-weight: 800; }
.article h1.court { font-size: clamp(36px, 10cqi, 72px); }
.article h1.moyen { font-size: clamp(31px, 8.4cqi, 54px); }
.article h1.long  { font-size: clamp(29px, 7.2cqi, 50px); line-height: 1.07; }
.article .tete .chapo { font-size: 21px; color: var(--encre); }
.signature { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--encre-3); }
.signature b { color: var(--encre); }
.partage { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.partage .long { display: none; }
.partage a, .partage button { padding: 0 10px; }
[data-copier].copie span { display: none; }
[data-copier].copie::after { content: "Lien copié"; }
.partage a, .partage button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--rayon); font: 600 14px/1 var(--ui); box-shadow: inset 0 0 0 1.5px var(--filet); }
.partage a:hover, .partage button:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.partage .whatsapp { background: var(--encre); color: var(--papier); box-shadow: none; }
.partage svg, .barre-partage svg { width: 18px; height: 18px; fill: currentColor; }
.article figure { margin-top: 24px; margin-bottom: 0; }
.article figure .vignette { margin: 0 calc(-1 * var(--marge)); border-radius: 0; }
.article figure img { height: auto; }
.article figcaption { font-size: 13px; color: var(--encre-3); margin-top: 8px; }
.plan { margin-top: 26px; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 0 16px; font-family: var(--ui); }
.plan summary { font: 700 15px/1 var(--ui); padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary::after { content: "+"; font-size: 20px; line-height: .7; }
.plan[open] summary::after { content: "–"; }
.plan ol { margin: 0; padding: 0 0 12px 20px; font-size: 15px; }
.plan li { padding: 5px 0; }
.plan a:hover { color: var(--rouge); }
.corps { font: 400 18px/1.65 var(--texte); margin-top: 26px; }
.article .corps > p:first-of-type::first-letter { float: left; font: 800 3.5em/.82 var(--titre); color: var(--rouge); padding: .06em .1em 0 0; }
.corps p { margin: 0 0 1.05em; }
.corps h2 { font-size: 26px; line-height: 1.12; letter-spacing: -.022em; margin: 1.7em 0 .6em; }
.corps strong { font-weight: 600; }
.exergue { margin: 1.6em 0; padding: 18px 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); font: italic 400 26px/1.22 var(--texte); }
.exergue::before { content: "«"; display: block; font: 800 44px/.6 var(--titre); color: var(--rouge); margin-bottom: 10px; }
.exergue small { display: block; font: 400 14px/1.4 var(--ui); color: var(--encre-3); margin-top: 12px; }
.renvoi { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin: 32px 0 0; padding: 16px; background: var(--papier-2); border-radius: var(--rayon); font: 15px/1.4 var(--ui); }
.renvoi b { display: block; font: 750 20px/1.1 var(--titre); letter-spacing: -.02em; margin: 6px 0; }
.renvoi .lien { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fin { margin-top: 36px; padding-top: 20px; border-top: 3px solid var(--encre); }
.fin .partage { margin-top: 0; }
.barre-partage { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; gap: 8px; padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom)); background: var(--papier); border-top: 1px solid var(--filet); transform: translateY(110%); transition: transform .25s; }
.barre-partage.visible { transform: none; }
.barre-partage .bouton { flex: 1; background: var(--encre); color: var(--papier); }
.barre-partage .bouton.contour { flex: 0 0 auto; background: none; color: var(--encre); }
body[data-page="article"] .pied { padding-bottom: 96px; }

/* ---------- Page de rubrique ---------- */
.tete-page { padding: 28px 0 0; container-type: inline-size; }
.tete-page h1 { font-size: clamp(44px, 12cqi, 120px); font-weight: 800; line-height: .95; }
.tete-page h1.petit { font: 700 13px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--rouge); }
.tete-page p { font: italic 400 19px/1.4 var(--texte); color: var(--encre-2); margin: 14px 0 0; max-width: 52ch; }
.tete-page .compte { display: block; font: 600 14px/1 var(--ui); color: var(--encre-3); margin-top: 14px; }
.premier { display: block; margin-top: 28px; padding-top: 20px; border-top: 3px solid var(--encre); container-type: inline-size; }
.premier h2 { font-size: clamp(27px, 5.2cqi, 54px); margin: 10px 0 12px; }
.premier .vignette { aspect-ratio: 16 / 9; margin-top: 18px; }
.premier .meta { display: block; margin-top: 10px; }
.mois { font: 700 13px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--encre-3); margin: 36px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--encre); }
.mois + .lignes .ligne:first-child { padding-top: 16px; }
.colonne { max-width: 860px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--encre-3); }

/* ---------- Recherche ---------- */
.champ-recherche { display: flex; gap: 8px; margin-top: 22px; }
.champ-recherche input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; font: 500 19px/1 var(--ui); color: var(--encre); background: var(--papier); border: 1.5px solid var(--encre); border-radius: var(--rayon); }
.champ-recherche .bouton { min-height: 56px; }
.filtres { display: flex; gap: 8px; overflow-x: auto; margin: 16px calc(-1 * var(--marge)) 0; padding: 2px var(--marge); scrollbar-width: none; }
.filtres a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font: 600 14px/1 var(--ui); box-shadow: inset 0 0 0 1.5px var(--filet); border-radius: var(--rayon); }
.filtres a[aria-current] { background: var(--encre); color: var(--papier); box-shadow: none; }
.resultats mark { background: none; color: inherit; box-shadow: inset 0 -.45em 0 color-mix(in srgb, var(--rouge) 28%, transparent); }
.resultats .extrait { font: 400 16px/1.45 var(--texte); color: var(--encre-2); margin: 0 0 6px; }

/* ---------- Pied ---------- */
.pied { margin-top: 64px; padding: 36px 0 32px; border-top: 1px solid var(--filet); font-size: 15px; }
.pied .cadre { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.pied .marque { grid-column: 1 / -1; }
.pied .logo img { height: 46px; width: auto; }
.pied p { color: var(--encre-2); max-width: 36ch; margin: 10px 0 14px; }
.pied h2 { font: 700 12px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; color: var(--encre-3); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { display: inline-block; padding: 6px 0; }
.pied a:hover { color: var(--rouge); }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid var(--filet); padding-top: 16px; color: var(--encre-3); font-size: 13px; }

/* ---------- Tablette : une colonne élargie, quelques grilles simples ---------- */
@media (min-width: 720px) {
  :root { --marge: 40px; }
  .cadre { max-width: min(var(--large), 100%); }
  section { padding-top: 56px; }
  .entete .cadre { height: 64px; gap: 10px; }
  .entete .logo img { height: 42px; }
  .entete .bouton { padding: 0 16px; }
  .entete .theme, .entete .recherche { display: grid; }
  .ligne .vignette { width: 132px; aspect-ratio: 4 / 3; }
  .ligne h3 { font-size: 21px; }
  .suite { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-bottom: 1px solid var(--filet); margin-top: 36px; }
  .suite article { border-bottom: 0; padding: 18px 0 22px; }
  .rangee a { grid-template-columns: 36% 1fr; gap: 24px; }
  .rangee .chapo { display: block; font-size: 17px; margin-bottom: 6px; }
  .rangee h3 { font-size: 24px; }
  .magazine { padding: 52px 0; margin-top: 68px; }
  .magazine .dernier { grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
  .magazine h2 { font-size: 38px; }
  .defile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .article { padding-top: 40px; }
  .article figure .vignette { margin: 0; border-radius: var(--rayon); }
  .partage .long { display: inline; }
  .partage .court { display: none; }
  .partage a, .partage button { padding: 0 14px; }
  .corps { font-size: 20px; }
  .exergue { font-size: 32px; }
  .barre-partage { display: none; }
  body[data-page="article"] .pied { padding-bottom: 32px; }
  .pied .cadre { grid-template-columns: 1fr 1fr 1fr; }
  .tete-page { padding-top: 44px; }
  .fiche { padding-top: 44px; }
}

/* ---------- Ordinateur : deux colonnes et rubriques dans l'en-tête ---------- */
@media (min-width: 1000px) {
  .premier .grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: start; }
  .premier .vignette { margin-top: 0; }
  .entete .cadre { height: 68px; }
  .entete .logo { margin-right: 14px; }
  .entete nav.rubriques { display: block; margin-right: auto; }
  .entete nav.rubriques ul { display: flex; list-style: none; margin: 0; padding: 0; }
  .entete nav.rubriques a { display: block; padding: 12px 8px; font: 600 14px/1 var(--ui); }
  .entete nav.rubriques a:hover { color: var(--rouge); }
  .entete .menu, .entete .theme { display: none; }
  .une .grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .une .chapo { font-size: 25px; line-height: 1.34; color: var(--encre); }
  .une .vignette { margin-top: 0; }
  .une h1 { margin-bottom: 28px; }
  .rubrique { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; }
  .rubrique .lignes { margin-top: 0; }
  .rubrique .lignes .ligne:first-child { border-top: 0; padding-top: 0; }
  .duo { grid-template-columns: 1fr 1fr; gap: 48px; }
  .grand-titre h3 { font-size: 30px; }
  .rangees { grid-template-columns: 1fr 1fr; gap: 44px; }
  .rangee a { grid-template-columns: 42% 1fr; gap: 20px; }
  .magazine .grille { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .pied .cadre { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .pied .marque { grid-column: auto; }
}

@media (min-width: 1200px) {
  .entete nav.rubriques a { padding: 12px 10px; font-size: 15px; }
  .entete .theme { display: grid; }
}
@media (min-width: 1500px) {
  .une > .cadre { --large: 1360px; }
}
@media (max-width: 380px) {
  .corps { font-size: 17px; }
  .article .tete .chapo { font-size: 19px; }
}

/* ---------- Propre au thème : contenus de WordPress ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.entete .logo img, .tiroir .logo img, .custom-logo { height: 36px; width: auto; }
.tiroir[hidden] { display: block; }
.icone svg.trait, .tiroir svg.trait { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.plein { width: 18px; height: 18px; fill: currentColor; flex: none; }
.entete nav.rubriques a[aria-current] { color: var(--rouge); }
.cadre.etroit { max-width: calc(720px + 2 * var(--marge)); }
.lignes.separe { border-top: 1px solid var(--filet); padding-top: 16px; }
.ligne .extrait { font: 400 16px/1.45 var(--texte); color: var(--encre-2); margin: 0 0 6px; }
.tete-page h1.moyen-titre { font-size: clamp(32px, 7cqi, 64px); line-height: 1.02; }
.tete-page .champ-recherche + .compte { margin-top: 18px; }
.vide { font: 400 18px/1.5 var(--texte); color: var(--encre-2); margin: 28px 0 0; }
.pagination { justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; font: 600 15px/1 var(--ui); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--filet); border-radius: var(--rayon); }
.pagination .page-numbers.current { background: var(--encre); color: var(--papier); box-shadow: none; }
.pagination a.page-numbers:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.pagination .dots { box-shadow: none; min-width: 0; }

/* Image à la une de l'article : jamais plus grande que le fichier d'origine. */
.article figure .vignette { background: none; text-align: center; aspect-ratio: auto; }
.article figure img { display: inline-block; width: auto; max-width: 100%; height: auto; vertical-align: top; }
.article figcaption { text-align: left; }

/* Corps : ce que l'éditeur de WordPress peut produire. */
.corps a { text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: 3px; }
.corps a:hover { color: var(--rouge); }
.corps h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin: 1.5em 0 .5em; }
.corps h4 { font: 700 17px/1.3 var(--ui); margin: 1.4em 0 .4em; }
.corps ul, .corps ol { margin: 0 0 1.05em; padding-left: 1.2em; }
.corps li { margin-bottom: .35em; }
.corps img, .corps video, .corps iframe { max-width: 100%; height: auto; }
.corps iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.corps figure { margin: 1.6em 0; }
.corps figcaption, .corps .wp-caption-text { font: 400 13px/1.4 var(--ui); color: var(--encre-3); margin-top: 8px; }
.corps .wp-caption { max-width: 100%; margin: 1.6em 0; }
.corps .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.corps hr { border: 0; border-top: 1px solid var(--filet); margin: 2em 0; }
.corps blockquote:not(.exergue) { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--rouge); font-style: italic; }
.corps .exergue p { margin: 0; }
.corps .tableau { overflow-x: auto; margin: 1.6em 0; }
.corps table { border-collapse: collapse; width: 100%; font: 400 15px/1.4 var(--ui); }
.corps th, .corps td { padding: 10px 12px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.corps th { font-weight: 700; border-bottom-color: var(--encre); }
.page-simple .corps { max-width: 860px; margin-top: 28px; }

/* ---------- Propre au thème : le magazine (WooCommerce) ---------- */
.boutique { padding-top: 28px; }
.boutique .woocommerce-products-header__title, .boutique .product_title { font-size: clamp(34px, 6vw, 64px); font-weight: 800; margin-bottom: 20px; }
.boutique ul.products { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.boutique ul.products::before, .boutique ul.products::after { display: none; }
.boutique ul.products li.product { float: none; width: auto; margin: 0; padding: 0; text-align: left; }
.boutique ul.products li.product .couverture { margin-bottom: 14px; }
/* Pas d'aspect-ratio forcé ici : le navigateur le déduit de la largeur et de la hauteur du fichier, même avant le chargement différé. */
.boutique ul.products li.product .couverture img { width: 100%; height: auto; margin: 0; }
.boutique ul.products li.product .woocommerce-loop-product__title { font: 700 18px/1.14 var(--titre); letter-spacing: -.02em; padding: 0; margin: 0 0 8px; color: var(--encre); }
.boutique ul.products li.product .price { color: var(--encre); font: 600 16px/1 var(--ui); margin-bottom: 12px; }
.boutique .price, .boutique .woocommerce-Price-amount { color: var(--encre); }
.am .woocommerce a.button, .am .woocommerce button.button, .am .woocommerce input.button, .am .woocommerce #respond input#submit,
.am .boutique a.button, .am .boutique button.button, .am .boutique button.button.alt, .am .woocommerce button.button.alt, .am .woocommerce a.button.alt {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--rouge); color: #fff;
  font: 700 15px/1 var(--ui); border-radius: var(--rayon); border: 0;
}
.am .woocommerce a.button:hover, .am .woocommerce button.button:hover, .am .boutique a.button:hover, .am .boutique button.button:hover, .am .woocommerce button.button.alt:hover, .am .woocommerce a.button.alt:hover { background: var(--rouge-fonce); color: #fff; }
.boutique div.product { margin-top: 8px; }
.boutique div.product .woocommerce-product-gallery img { box-shadow: 0 1px 0 rgba(0,0,0,.1), 0 16px 30px -16px rgba(0,0,0,.5); }
.boutique div.product p.price { font: 800 28px/1 var(--titre); letter-spacing: -.02em; color: var(--encre); margin: 0 0 16px; }
.boutique .woocommerce-product-details__short-description { font: italic 400 19px/1.42 var(--texte); color: var(--encre-2); }
.boutique .woocommerce-tabs { padding-top: 28px; font: 400 18px/1.6 var(--texte); }
.boutique .woocommerce-tabs h2 { font-size: 26px; margin-bottom: 14px; }
.boutique .woocommerce-tabs ul.tabs { font-family: var(--ui); }
.boutique .related > h2, .boutique .upsells > h2 { font: 700 15px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid var(--encre); padding-top: 12px; margin-top: 44px; }
.boutique .product_meta { font-size: 14px; color: var(--encre-3); margin-top: 16px; }
.am .woocommerce, .am .woocommerce-page { color: var(--encre); }
.am .woocommerce input.input-text, .am .woocommerce textarea, .am .woocommerce select, .champ-recherche input { color: var(--encre); background: var(--papier); }
.am .woocommerce form .form-row input.input-text, .am .woocommerce form .form-row textarea { min-height: 48px; padding: 0 14px; border: 1.5px solid var(--filet); border-radius: var(--rayon); font: 400 16px/1.4 var(--ui); }
.am .woocommerce form .form-row textarea { padding: 12px 14px; }
.am .woocommerce-info, .am .woocommerce-message, .am .woocommerce-error { background: var(--papier-2); color: var(--encre); border-top-color: var(--rouge); font-family: var(--ui); }
@media (min-width: 720px) {
  .entete .logo img, .custom-logo { height: 42px; }
  .boutique { padding-top: 44px; }
  .boutique ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .page-simple .corps { margin-top: 36px; }
}
@media (min-width: 1000px) {
  .boutique ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Sous 720 px, les quatre boutons de partage tiennent sur une ligne. */
@media (max-width: 719px) {
  .partage { gap: 5px; flex-wrap: nowrap; }
  .partage a, .partage button { padding: 0 9px; font-size: 13px; gap: 6px; }
}
/* Dans une rubrique, les lignes n'ont pas de surtitre : le titre n'a pas besoin de marge au-dessus. */
.ligne > div > h3:first-child { margin-top: 0; }

/* Les images de WordPress portent largeur et hauteur du fichier : la hauteur suit toujours la largeur affichée. */
.couverture img { height: auto; }
.custom-logo-link img { height: 36px; width: auto; }
/* WooCommerce impose des largeurs en pourcentage à ses vignettes : dans la grille du thème, chaque numéro occupe sa cellule. */
.am .boutique ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.am .boutique ul.products li.product a img { margin: 0; box-shadow: none; }
.boutique .woocommerce-products-header__title, .boutique h1.page-title { font-size: clamp(44px, 9vw, 110px); font-weight: 800; line-height: .95; }
.boutique div.product .product_title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; margin-bottom: 14px; }
.boutique .related ul.products, .boutique .upsells ul.products { margin-top: 20px; }
.am .boutique ul.products li.product .button { display: inline-flex; margin-top: 4px; line-height: 1; }
.boutique ul.products li.product .surtitre { display: block; margin-bottom: 6px; }

/* Connecté, la barre d'administration de WordPress occupe le haut de l'écran : l'en-tête collant se place dessous. */
.admin-bar .entete { top: 32px; }
.admin-bar .progression { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete, .admin-bar .progression { top: 46px; } }
@media (max-width: 600px) { .admin-bar .entete, .admin-bar .progression { top: 0; } }
