/* Le journal NIKITA : liste des articles et page article.
   Structure inspirée des pages actualités de Mistral (grille à filets, grande carte à la une, carte avec pied date / lecture / flèche,
   page article avec barre de retour, sommaire collant et progression de lecture), dans le style de la home : Figtree 400, DM Mono, sans photo. */

.jr-page { background: var(--ac-fond); }

/* Couleurs des panneaux (pas de photo) : tirées de la charte */
.jr-ton-nuit { --p-fond: var(--ac-encre); --p-texte: var(--ac-creme); --p-mono: rgba(244, 240, 236, .62); }
.jr-ton-magenta { --p-fond: var(--ac-magenta); --p-texte: #fff; --p-mono: rgba(255, 255, 255, .72); }
.jr-ton-sable { --p-fond: var(--ac-sable-2); --p-texte: var(--ac-encre); --p-mono: var(--ac-gris); }
.jr-ton-creme { --p-fond: #f5e4f2; --p-texte: var(--ac-encre); --p-mono: var(--ac-gris); }

/* Panneau typographique : le mot-clé de l'article en grand, une trame de points, la catégorie */
.jr-panneau { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 10; padding: 22px 24px; background: var(--p-fond); color: var(--p-texte); }
.jr-panneau::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1px, transparent 1.4px); background-size: 18px 18px; opacity: .1; -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%); }
.jr-panneau > * { position: relative; }
.jr-panneau-cat { font-family: var(--ac-mono); font-size: 12px; color: var(--p-mono); }
.jr-panneau-mot { font-size: clamp(40px, 4.6vw, 68px); line-height: .95; letter-spacing: -0.04em; text-wrap: balance; }

/* ---------- Liste des articles ---------- */
.jr-tete { padding: 150px var(--ac-marge) 56px; background: var(--ac-sable); border-bottom: 1px solid var(--ac-ligne); }
.jr-tete .ac-cadre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-accueil-v5 .jr-tete h1 { margin: 14px 0 0; font-weight: 400; font-size: clamp(48px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.04em; }
.jr-tete p.jr-intro { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--ac-texte); }
.jr-compte { text-align: right; }
.jr-compte b { display: block; font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.jr-compte span { font-family: var(--ac-mono); font-size: 13px; color: var(--ac-gris); }

.jr-filtres { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ac-ligne); padding: 0 var(--ac-marge); }
.jr-filtres .ac-cadre { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.jr-filtres-t { flex: none; font-size: 15px; }
.jr-puces { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; flex: 1; }
.jr-puces::-webkit-scrollbar { display: none; }
.jr-puces button { all: unset; flex: none; cursor: pointer; font-family: var(--ac-mono); font-size: 12px; padding: 7px 11px; border-radius: 6px; background: var(--ac-sable-2); color: var(--ac-texte); transition: background .2s, color .2s; }
.jr-puces button span { margin-left: 6px; color: var(--ac-gris-3); }
.jr-puces button:hover { background: var(--ac-ligne); }
.jr-puces button[aria-pressed="true"] { background: var(--ac-encre); color: #fff; }
.jr-puces button[aria-pressed="true"] span { color: rgba(255, 255, 255, .6); }
.jr-puces button:focus-visible { outline: 2px solid var(--ac-magenta); outline-offset: 2px; }
.jr-recherche { flex: none; position: relative; }
.jr-recherche input { width: 220px; font: inherit; font-size: 14px; padding: 10px 12px 10px 36px; border: 1px solid var(--ac-ligne-2); border-radius: 8px; background: #fff; color: var(--ac-encre); }
.jr-recherche input:focus { outline: 2px solid var(--ac-magenta); outline-offset: 1px; }
.jr-recherche .ico { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ac-gris); }

/* Grille à filets : chaque carte dans une cellule séparée par des traits fins */
.jr-grille-zone { padding: 0 var(--ac-marge) 120px; }
.jr-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--ac-ligne); }
.jr-grille > * { border-right: 1px solid var(--ac-ligne); border-bottom: 1px solid var(--ac-ligne); padding: 32px; }
.jr-grille .jr-une { grid-column: span 2; }
.jr-vide { padding: 60px 32px; font-size: 17px; color: var(--ac-gris); }

/* Carte d'article */
.jr-carte { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--ac-ligne); border-radius: 4px; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.jr-carte:hover { border-color: var(--ac-ligne-2); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(35, 11, 32, .08); }
.jr-carte:focus-visible { outline: 2px solid var(--ac-magenta); outline-offset: 3px; }
.jr-carte .jr-panneau { transition: transform .5s ease; }
.jr-carte-txt { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 26px; flex: 1; }
.jr-tag { align-self: flex-start; font-family: var(--ac-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; padding: 4px 8px; border-radius: 4px; background: var(--ac-sable-2); color: var(--ac-texte); }
.page-accueil-v5 .jr-carte h2, .page-accueil-v5 .jr-carte h3 { margin: 0; font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.jr-carte-txt p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ac-texte); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jr-carte-pied { display: grid; grid-template-columns: 1fr 1fr 52px; border-top: 1px solid var(--ac-ligne); font-size: 13px; color: var(--ac-gris); }
.jr-carte-pied > span { padding: 14px 16px; }
.jr-carte-pied > span + span { border-left: 1px solid var(--ac-ligne); }
.jr-carte-pied .jr-fl { display: grid; place-items: center; padding: 0; }
.jr-carte-pied .ico { width: 16px; height: 16px; color: var(--ac-encre); transition: transform .25s; }
.jr-carte:hover .jr-fl .ico { transform: translateX(3px); }

/* Carte à la une : panneau à droite, texte à gauche, plus grand */
.jr-une .jr-carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.jr-une .jr-carte-txt { grid-column: 1; grid-row: 1; padding: 30px 30px 32px; gap: 18px; }
.jr-une .jr-panneau { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; }
.jr-une .jr-carte-pied { grid-column: 1; grid-row: 2; }
.page-accueil-v5 .jr-une .jr-carte h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.jr-une .jr-carte-txt p { font-size: 17px; -webkit-line-clamp: 4; }
.jr-une .jr-panneau-mot { font-size: clamp(56px, 6.4vw, 112px); overflow-wrap: anywhere; }

/* ---------- Page article ---------- */
.ja-tete { padding: 130px var(--ac-marge) 0; }
.ja-tete-boite { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--ac-ligne); border-radius: 4px; overflow: hidden; background: #fff; }
.ja-tete-txt { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(32px, 5vw, 64px); }
.page-accueil-v5 .ja-tete h1 { margin: 0; font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.ja-chapo { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.5; color: var(--ac-texte); }
.ja-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--ac-gris); }
.ja-meta img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; }
.ja-meta .ja-auteur { display: inline-flex; align-items: center; gap: 10px; color: var(--ac-encre); }
.ja-tete-boite .jr-panneau { aspect-ratio: auto; min-height: 420px; padding: 28px 32px; }
.ja-tete-boite .jr-panneau-mot { font-size: clamp(80px, 10vw, 168px); }

.ja-barre { padding: 0 var(--ac-marge); margin-top: 18px; }
.ja-barre .ac-cadre { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--ac-ligne); }
.ja-retour, .ja-partage { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 9px 14px; border: 1px solid var(--ac-ligne-2); border-radius: 6px; background: #fff; color: var(--ac-encre); }
.ja-retour:hover, .ja-partage:hover { border-color: var(--ac-encre); }
.ja-retour:focus-visible, .ja-partage:focus-visible { outline: 2px solid var(--ac-magenta); outline-offset: 2px; }
.ja-retour .ico { transform: rotate(180deg); width: 15px; height: 15px; }
.ja-partage { margin-left: auto; }
.ja-partage .ico { width: 15px; height: 15px; }
.ja-barre .ac-mono { font-size: 12px; color: var(--ac-gris); text-transform: uppercase; }

.ja-corps-zone { padding: 56px var(--ac-marge) 100px; }
.ja-grille { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 340px); justify-content: space-between; gap: 64px; }

.ja-essentiel { margin-bottom: 48px; padding: 24px 26px; border: 1px solid var(--ac-ligne); border-radius: 4px; background: var(--ac-sable); }
.ja-essentiel p { margin: 0 0 12px; font-family: var(--ac-mono); font-size: 12px; text-transform: uppercase; color: var(--ac-magenta); }
.ja-essentiel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ja-essentiel li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.45; color: var(--ac-encre); }
.ja-essentiel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--ac-encre); }

.ja-texte { font-size: 19px; line-height: 1.65; color: var(--ac-texte); }
.page-accueil-v5 .ja-texte > * { margin: 0; }
.page-accueil-v5 .ja-texte > * + * { margin-top: 1.1em; }
.page-accueil-v5 .ja-texte h2 { margin-top: 2.2em !important; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ac-encre); scroll-margin-top: 90px; }
.page-accueil-v5 .ja-texte h3 { margin-top: 1.8em !important; font-weight: 400; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ac-encre); }
.ja-texte p:first-child { font-size: 21px; line-height: 1.55; color: var(--ac-encre); }
.ja-texte a { color: var(--ac-encre); text-decoration: underline; text-decoration-color: var(--ac-magenta); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ja-texte a:hover { color: var(--ac-magenta); }
.ja-texte strong { font-weight: 500; color: var(--ac-encre); }
.page-accueil-v5 .ja-texte ul, .page-accueil-v5 .ja-texte ol { padding-left: 1.2em; display: grid; gap: .55em; list-style: disc; }
.page-accueil-v5 .ja-texte ol { list-style: decimal; }
.ja-texte li::marker { color: var(--ac-magenta); }
.ja-texte blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 3px solid var(--ac-magenta); background: #fff; border-radius: 0 4px 4px 0; }
.ja-texte blockquote p { margin: 0; font-family: var(--ac-mono); font-size: 15px; line-height: 1.6; color: var(--ac-encre); }
.ja-texte table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ja-texte th, .ja-texte td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ac-ligne); vertical-align: top; }
.ja-texte th { font-family: var(--ac-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--ac-gris); }
.ja-texte details { border-top: 1px solid var(--ac-ligne); }
.ja-texte details:last-of-type { border-bottom: 1px solid var(--ac-ligne); }
.page-accueil-v5 .ja-texte details + details { margin-top: 0; }
.page-accueil-v5 .ja-texte h3 + p, .page-accueil-v5 .ja-texte h2 + p { margin-top: .5em; }
.ja-texte summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 20px; line-height: 1.35; color: var(--ac-encre); }
.ja-texte summary::-webkit-details-marker { display: none; }
.ja-texte summary::after { content: "+"; font-family: var(--ac-mono); color: var(--ac-magenta); transition: transform .25s; }
.ja-texte details[open] summary::after { transform: rotate(45deg); }
.ja-texte details p { margin: 0 0 22px; font-size: 17px; }

.ja-auteur-bloc { display: flex; gap: 18px; align-items: center; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--ac-ligne); }
.ja-auteur-bloc img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.ja-auteur-bloc p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ac-texte); }
.ja-auteur-bloc b { display: block; font-weight: 400; font-size: 18px; color: var(--ac-encre); }

/* Colonne de droite : sommaire et formation liée, collants */
.ja-cote { position: relative; }
.ja-cote-colle { position: sticky; top: 96px; display: grid; gap: 16px; }
.ja-sommaire, .ja-offre { border: 1px solid var(--ac-ligne); border-radius: 4px; background: #fff; }
.ja-sommaire p { margin: 0; padding: 16px 20px; font-family: var(--ac-mono); font-size: 12px; text-transform: uppercase; color: var(--ac-gris); border-bottom: 1px solid var(--ac-ligne); }
.ja-sommaire ol { list-style: none; margin: 0; padding: 10px 0; counter-reset: s; max-height: 46vh; overflow-y: auto; }
.ja-sommaire a { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 20px; font-size: 14px; line-height: 1.35; color: var(--ac-gris); text-decoration: none; border-left: 2px solid transparent; }
.ja-sommaire a::before { content: counter(s, decimal-leading-zero); font-family: var(--ac-mono); font-size: 11px; padding-top: 2px; }
.ja-sommaire a:hover { color: var(--ac-encre); }
.ja-sommaire a[aria-current="true"] { color: var(--ac-encre); border-left-color: var(--ac-magenta); background: var(--ac-fond); }
.ja-offre { overflow: hidden; }
.ja-offre-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px; }
.ja-offre-tete b { display: block; font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ac-encre); }
.ja-offre-tete span.ac-mono { flex: none; font-size: 11px; padding: 4px 7px; border-radius: 4px; background: var(--ac-sable-2); color: var(--ac-texte); text-transform: uppercase; }
.ja-offre ul { margin: 0; padding: 0 20px 18px; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ac-texte); }
.ja-offre li { display: flex; gap: 8px; align-items: baseline; }
.ja-offre li .ico { flex: none; width: 14px; height: 14px; color: var(--ac-magenta); transform: translateY(2px); }
.ja-offre a { display: flex; justify-content: space-between; align-items: center; margin: 0 12px 12px; padding: 13px 14px; border-radius: 4px; background: var(--ac-encre); color: #fff; font-size: 15px; text-decoration: none; }
.ja-offre a .ico { width: 16px; height: 16px; transition: transform .25s; }
.ja-offre a:hover .ico { transform: translateX(3px); }

/* Progression de lecture, en bas à gauche */
.ja-progres { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--ac-ligne-2); border-radius: 6px; background: rgba(255, 255, 255, .94); font-family: var(--ac-mono); font-size: 12px; color: var(--ac-encre); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.ja-progres.visible { opacity: 1; transform: none; }
.ja-progres i { position: relative; width: 48px; height: 3px; border-radius: 3px; background: var(--ac-ligne); overflow: hidden; }
.ja-progres i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--ac-magenta); }

.ja-suite { padding: 90px var(--ac-marge) 120px; background: var(--ac-sable); border-top: 1px solid var(--ac-ligne); }
.ja-suite .ac-cadre > div:first-child { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.ja-suite .jr-grille { border-top: 1px solid var(--ac-ligne); }
.ja-suite .jr-grille > * { background: var(--ac-sable); }

@media (max-width: 1100px) {
  .jr-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-grille > * { padding: 22px; }
  .ja-grille { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
}
@media (max-width: 860px) {
  .jr-tete { padding-top: 120px; }
  .jr-tete .ac-cadre { grid-template-columns: 1fr; }
  .jr-compte { text-align: left; }
  .jr-filtres .ac-cadre { flex-wrap: wrap; gap: 0 12px; padding: 10px 0; }
  .jr-filtres-t { display: none; }
  .jr-recherche { order: -1; width: 100%; } .jr-recherche input { width: 100%; }
  .jr-grille { grid-template-columns: 1fr; border-left: 0; }
  .jr-grille > * { border-right: 0; padding: 18px 0; }
  .jr-grille .jr-une { grid-column: auto; }
  .jr-une .jr-carte { display: flex; flex-direction: column; }
  .jr-une .jr-panneau { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .ja-tete { padding-top: 110px; }
  .ja-tete-boite { grid-template-columns: 1fr; }
  .ja-tete-boite .jr-panneau { order: -1; min-height: 220px; }
  .ja-grille { grid-template-columns: 1fr; }
  .ja-cote { order: -1; } .ja-cote-colle { position: static; }
  .ja-sommaire { display: none; }
  .ja-texte { font-size: 18px; }
  .ja-barre .ac-mono { display: none; }
}
@media (prefers-reduced-motion: reduce) { .jr-carte, .jr-carte .jr-panneau, .ja-progres { transition: none; } .jr-carte:hover { transform: none; } }
/* Avec un filtre ou une recherche, la carte à la une redevient une carte normale */
.jr-grille .jr-une.jr-une-off { grid-column: auto; }
.jr-une.jr-une-off .jr-carte { display: flex; flex-direction: column; }
.jr-une.jr-une-off .jr-panneau { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
.jr-une.jr-une-off .jr-panneau-mot { font-size: clamp(40px, 4.6vw, 68px); }
.page-accueil-v5 .jr-une.jr-une-off .jr-carte h2 { font-size: 23px; line-height: 1.2; }
.jr-une.jr-une-off .jr-carte-txt { padding: 22px 24px 26px; gap: 14px; }
.jr-une.jr-une-off .jr-carte-txt p { font-size: 15px; -webkit-line-clamp: 3; }

/* ---------- Version NIKITA (moins proche de Mistral) : pas de filets, cartes arrondies comme les tuiles de la home,
   filtres en pilules, pied de carte sur une ligne avec une flèche ronde, progression dans le sommaire ---------- */
.jr-grille { gap: 20px; border-left: 0; }
.jr-grille > * { border: 0; padding: 0; }
.jr-grille-zone { padding-top: 40px; }
.jr-carte { border: 0; border-radius: 20px; box-shadow: 0 1px 0 rgba(35, 11, 32, .04); }
.jr-carte:hover { box-shadow: 0 24px 50px rgba(35, 11, 32, .1); }
.jr-carte-pied { display: flex; align-items: center; justify-content: space-between; grid-template-columns: none; border-top: 0; padding: 0 24px 22px; font-size: 13px; }
.jr-carte-pied > span { padding: 0; }
.jr-carte-pied > span + span { border-left: 0; }
.jr-carte-pied > span:nth-child(2)::before { content: "·"; margin: 0 8px 0 -4px; color: var(--ac-gris-3); }
.jr-carte-pied > span:first-child { margin-right: auto; }
.jr-carte-pied > span:nth-child(2) { margin-right: auto; }
.jr-carte-pied .jr-fl { width: 40px; height: 40px; border-radius: 50%; background: var(--ac-sable-2); transition: background .25s; }
.jr-carte:hover .jr-fl { background: var(--ac-encre); }
.jr-carte:hover .jr-fl .ico { color: #fff; }
.jr-une .jr-carte-pied { padding: 0 30px 28px; }
.jo-grille .jr-carte { border-radius: 20px; }

.jr-filtres { background: rgba(250, 248, 245, .96); }
.jr-filtres-t { display: none; }
.jr-puces button { border-radius: 999px; padding: 9px 15px; font-size: 13px; background: #fff; border: 1px solid var(--ac-ligne); }
.jr-puces button:hover { background: #fff; border-color: var(--ac-encre); }
.jr-puces button[aria-pressed="true"] { border-color: var(--ac-encre); }
.jr-recherche input { border-radius: 999px; }

.ja-tete-boite { border: 0; border-radius: 28px; }
.ja-retour-lien { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--ac-mono); font-size: 13px; color: var(--ac-gris); text-decoration: none; }
.ja-retour-lien:hover { color: var(--ac-encre); }
.ja-retour-lien .ico { width: 15px; height: 15px; transform: rotate(180deg); }
.ja-partage { margin-left: 0; border-radius: 999px; font-size: 13px; padding: 8px 14px; }
.ja-meta .ja-partage { margin-left: auto; }
.ja-essentiel { border: 0; border-radius: 20px; }
.ja-sommaire, .ja-offre { border: 0; border-radius: 20px; }
.ja-sommaire p { position: relative; border-bottom: 0; }
.ja-sommaire p::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ac-magenta) var(--p, 0%), var(--ac-ligne) var(--p, 0%)); }
.ja-offre a { border-radius: 999px; padding: 13px 18px; }
.ja-texte blockquote { border-radius: 0 16px 16px 0; }
.ja-suite .jr-grille > * { background: transparent; }
.ja-suite .jr-grille { border-top: 0; }
.jr-carte-pied > span:first-child { margin-right: 0; }
.jr-carte-pied > span:nth-child(2)::before { margin: 0 8px; }
.ja-haut { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ja-haut .ja-partage { margin: 0; }

/* Panneau en matière : gros plan d'un visuel du site, voile foncé, mot-clé en blanc (comme les cas clients de la home) */
.jr-matiere { --p-texte: #fff; --p-mono: rgba(255, 255, 255, .8); background-color: #2a1027; background-position: center; background-size: cover; background-repeat: no-repeat; color: #fff; }
.jr-matiere::before { content: ""; position: absolute; inset: 0; opacity: 1; background: linear-gradient(180deg, rgba(26, 10, 24, .1) 0%, rgba(26, 10, 24, .25) 45%, rgba(26, 10, 24, .72) 100%); -webkit-mask-image: none; mask-image: none; }
.jr-carte:hover .jr-matiere { background-size: 108%; }
.jr-matiere { transition: background-size .6s ease; }

/* ---------- v5 (11 nov.) : une image abstraite en rapport avec le sujet, sur le modèle de la référence de Laura ----------
   L'image est posée dans la carte avec une petite marge et des coins arrondis ; pas de texte dessus. */
.jr-carte { padding: 8px; background: #fff; }
.jr-photo { padding: 0; border-radius: 14px; background: var(--ac-sable); }
.jr-photo::before { display: none; }
.jr-panneau.jr-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.jr-carte:hover .jr-photo > img { transform: scale(1.04); }
.jr-carte .jr-carte-txt { padding: 18px 16px 20px; }
.jr-carte .jr-carte-pied { padding: 0 16px 14px; }
.jr-une .jr-carte .jr-carte-txt { padding: 24px 24px 26px; }
.jr-une .jr-carte .jr-carte-pied { padding: 0 24px 20px; }
.ja-tete-boite .jr-photo { border-radius: 20px; min-height: 420px; }
@media (prefers-reduced-motion: reduce) { .jr-photo > img { transition: none; } .jr-carte:hover .jr-photo > img { transform: none; } }
.ja-tete-boite .jr-photo { margin: 10px; border-radius: 20px; }
