@charset "UTF-8";
/*
Theme Name: Jour Ouvré
Theme URI: https://www.lounisoudjiane.fr
Author: Agence Netlinqueen
Description: Archetype BR « Diptyque / Volet etroit alternant et talon rouge ». Magazine du travail independant et de la vie d entreprise. Fond blanc, un seul accent rouge de sceau, deux volets de largeurs tres inegales dont l etroit change de cote a chaque section.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lounisoudjiane
*/

/* ═══════════════════════════════════════════════════════════════
   1. Variables
   Un seul accent. #B3121F mesure 6,94:1 avec le blanc : la meme
   valeur sert donc de couleur de texte sur blanc ET de fond
   portant du texte blanc, sans variante assombrie.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --jo-papier:      #FFFFFF;
    --jo-surface:     #F4F4F6;
    --jo-surface-2:   #EAEAEE;
    --jo-encre:       #121215;
    --jo-encre-2:     #0A0A0C;
    --jo-doux:        #3A3A40;
    --jo-gris:        #5B5B64;
    --jo-filet:       #E2E2E7;
    --jo-filet-fort:  #C4C4CC;
    --jo-sceau:       #B3121F;
    --jo-sceau-p:     #8C0D18;
    --jo-sceau-c:     #FF8A93;
    --jo-clair:       #F2F2F4;

    --jo-titre: 'Libre Franklin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --jo-texte: 'Rasa', Georgia, 'Times New Roman', serif;

    /* Debord du talon : borne pour ne jamais sortir de la marge du cadre. */
    --jo-debord: min(22px, 3vw);
    /* Mesure en rem, jamais en ch : ch depend de la fonte de chaque bloc,
       et la ligne de meta (Libre Franklin 0.78rem) tombait alors a 472px
       quand le contenu (Rasa 1.115rem) faisait 745px. Tous les blocs de
       l article doivent partager la MEME colonne. */
    --jo-mesure: 46rem;
    --jo-hh: 76px;
}

/* ═══════════════════════════════════════════════════════════════
   2. Reset et fondations
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--jo-papier);
    color: var(--jo-encre);
    font-family: var(--jo-texte);
    font-size: 1.0625rem;
    line-height: 1.68;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    /* Pas d overflow-x: hidden. Le debord du talon est borne par
       --jo-debord, jamais superieur a la marge du cadre, et le
       debordement horizontal est mesure a zero sur tous les gabarits.
       Un overflow-x sur body casserait par ailleurs position: sticky. */
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { list-style: none; margin: 0; padding: 0; }

a { color: var(--jo-sceau); text-decoration: none; }
a:hover { color: var(--jo-sceau-p); }

h1, h2, h3, h4 {
    font-family: var(--jo-titre);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.08;
    margin: 0;
    color: var(--jo-encre);
}

button { font: inherit; cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--jo-sceau);
    outline-offset: 3px;
}
.jo-pied :focus-visible,
.jo-coiffe :focus-visible { outline-color: var(--jo-sceau-c); }

.jo-evitement {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--jo-encre);
    color: var(--jo-clair);
    padding: 12px 20px;
    font-family: var(--jo-titre);
    font-size: 0.875rem;
    font-weight: 700;
}
.jo-evitement:focus { left: 0; color: var(--jo-clair); }

.jo-cadre {
    width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px));
    margin-inline: auto;
}

/* ── Le talon ───────────────────────────────────────────────────
   Motif unificateur : un filet rouge de 6 px qui coiffe un bloc et
   deborde vers l exterieur de la page. Il change de cote en meme
   temps que le volet etroit.                                     */

.jo-talon { position: relative; padding-top: 26px; }
.jo-talon::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-1 * var(--jo-debord));
    right: 0;
    height: 6px;
    background: var(--jo-sceau);
}
.jo-talon--droite::before {
    left: 0;
    right: calc(-1 * var(--jo-debord));
}

/* ── Le diptyque ────────────────────────────────────────────────
   Deux volets de largeurs tres inegales. Le volet etroit porte
   toujours le libelle de la section ; il change de cote a chaque
   section, ce qui donne au defilement son va-et-vient.           */

.jo-diptyque {
    display: grid;
    grid-template-columns: minmax(0, 30fr) minmax(0, 66fr);
    gap: clamp(28px, 4.5vw, 80px);
    align-items: start;
}
.jo-diptyque--droite { grid-template-columns: minmax(0, 66fr) minmax(0, 30fr); }
.jo-diptyque--droite > :first-child { order: 2; }

/* Le libelle de section accompagne la lecture de son volet plutot que de
   laisser une colonne morte : le flux fait souvent dix fois sa hauteur.
   C est une commodite posee sur un libelle de section, pas la manchette
   complete d un hero, et elle tombe des que la page passe en colonne unique. */
@media (min-width: 901px) {
    .jo-sommaire-volet,
    .jo-journal-volet { position: sticky; top: calc(var(--jo-hh) + 30px); }
}

/* ── Libelles et boutons ────────────────────────────────────── */

.jo-oeil {
    font-family: var(--jo-titre);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--jo-sceau);
    margin: 0 0 14px;
}
.jo-oeil--clair { color: var(--jo-sceau-c); }
.jo-oeil--droite { text-align: right; }

.jo-tete {
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    margin: 0 0 14px;
}
.jo-tete.jo-talon--droite { text-align: right; }

.jo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

.jo-bouton {
    display: inline-block;
    font-family: var(--jo-titre);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 30px;
    background: var(--jo-sceau);
    color: #FFFFFF;
    border: 2px solid var(--jo-sceau);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.jo-bouton:hover { background: var(--jo-sceau-p); border-color: var(--jo-sceau-p); color: #FFFFFF; }

.jo-bouton--ligne { background: transparent; color: var(--jo-sceau); }
.jo-bouton--ligne:hover { background: var(--jo-sceau); color: #FFFFFF; }

.jo-bouton--clair { background: var(--jo-clair); color: var(--jo-encre); border-color: var(--jo-clair); }
.jo-bouton--clair:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--jo-encre); }

/* ═══════════════════════════════════════════════════════════════
   3. En-tete
   Toujours solide et blanche : jamais transparente, donc aucun
   risque de menu blanc sur blanc sur les pages internes.
   ═══════════════════════════════════════════════════════════════ */

.jo-entete {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--jo-papier);
    border-bottom: 2px solid var(--jo-encre);
}
.jo-entete-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--jo-hh);
}
.jo-marque { display: block; line-height: 0; }
.jo-marque svg { height: 42px; width: auto; }

.jo-nav { display: flex; align-items: center; gap: 34px; }
.jo-nav-liens { display: flex; align-items: center; gap: 30px; }
.jo-nav-liens a {
    font-family: var(--jo-titre);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--jo-encre);
    position: relative;
    padding: 6px 0;
    display: inline-block;
}
.jo-nav-liens a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--jo-sceau);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.jo-nav-liens a:hover::after { transform: scaleX(1); }
.jo-nav-liens a:hover { color: var(--jo-encre); }

.jo-nav-contact {
    font-family: var(--jo-titre);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 20px;
    border: 2px solid var(--jo-encre);
    color: var(--jo-encre);
    transition: background .2s ease, color .2s ease;
}
.jo-nav-contact:hover { background: var(--jo-encre); color: var(--jo-clair); }

/* Elements reserves au menu mobile : masques sur desktop, sans exception. */
.jo-nav-tete   { display: none; }
.jo-nav-logo   { display: none; }
.jo-nav-close  { display: none; }
.jo-burger     { display: none; }

/* ═══════════════════════════════════════════════════════════════
   4. Ouverture (hero)
   ═══════════════════════════════════════════════════════════════ */

.jo-ouverture { padding: clamp(48px, 7vw, 92px) 0 0; }

.jo-releves { display: flex; flex-direction: column; gap: 22px; }
.jo-releve { display: block; }
.jo-releve-n {
    display: block;
    font-family: var(--jo-titre);
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--jo-encre);
}
.jo-releve-l {
    display: block;
    margin-top: 5px;
    font-family: var(--jo-titre);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--jo-gris);
}

.jo-titre-geant {
    font-size: clamp(2.35rem, 5.6vw, 4.5rem);
    line-height: 0.99;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0 0 26px;
    text-wrap: balance;
}
.jo-titre-geant em {
    font-style: normal;
    color: var(--jo-sceau);
}

.jo-deck {
    font-size: clamp(1.1rem, 1.5vw, 1.32rem);
    line-height: 1.62;
    color: var(--jo-doux);
    max-width: 62ch;
    margin: 0;
}

/* ── La bande ─────────────────────────────────────────────────
   Photo pleine largeur en 32:9, voilee en couches : assombrissement
   vertical pour la legende, plus une nappe rouge en diagonale.   */

.jo-bande {
    position: relative;
    width: 100%;
    aspect-ratio: 32 / 9;
    overflow: hidden;
    margin-top: clamp(40px, 6vw, 78px);
    background: var(--jo-surface-2);
}
.jo-bande img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cadrage cale sur la bande de sol eclairee et ses ombres portees,
       mesure sur la photo reelle : plus haut, le cliche est dans l ombre. */
    object-position: center 78%;
}
/* Voile en couches, volontairement leger : la photo est deja sombre, il ne
   sert qu a asseoir la legende et a poser la teinte de marque. */
.jo-bande-voile {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,.16) 0%, rgba(10,10,12,0) 26%, rgba(10,10,12,0) 54%, rgba(10,10,12,.62) 100%),
        linear-gradient(96deg, rgba(179,18,31,.15) 0%, rgba(179,18,31,0) 52%);
}
.jo-bande-legende {
    position: absolute;
    left: clamp(20px, 5vw, 64px);
    bottom: clamp(16px, 2.4vw, 30px);
    font-family: var(--jo-titre);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #FFFFFF;
    /* Cartouche d encre plutot qu un texte pose a meme la photo : mesure a
       3,69:1 sur le sol eclaire, sous le seuil AA. Le cartouche tient le
       contraste quelle que soit la photo mise en hero par la suite. */
    background: var(--jo-encre);
    padding: 9px 18px 9px 46px;
}
.jo-bande-legende::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 4px;
    margin-top: -2px;
    background: var(--jo-sceau-c);
}

/* ═══════════════════════════════════════════════════════════════
   5. Le sommaire
   ═══════════════════════════════════════════════════════════════ */

.jo-sommaire { padding: clamp(52px, 7vw, 96px) 0 0; }
.jo-sommaire-note { color: var(--jo-gris); margin: 0; }
.jo-diptyque--droite .jo-sommaire-note { text-align: right; }

.jo-sujets { border-top: 2px solid var(--jo-encre); }
.jo-sujet {
    display: grid;
    grid-template-columns: 3.4rem 34px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--jo-filet);
}
.jo-sujet-n {
    font-family: var(--jo-titre);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--jo-sceau);
    line-height: 1.25;
}
.jo-sujet-picto svg { width: 30px; height: 30px; stroke: var(--jo-encre); margin-top: 2px; }
.jo-sujet-titre {
    display: block;
    font-family: var(--jo-titre);
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.28;
    margin-bottom: 5px;
}
.jo-sujet-desc { display: block; color: var(--jo-gris); font-size: 1rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   6. Le journal (flux d articles)
   ═══════════════════════════════════════════════════════════════ */

.jo-journal { padding: clamp(52px, 7vw, 96px) 0 0; }
.jo-journal-note { color: var(--jo-gris); margin: 0; }
.jo-diptyque--droite .jo-journal-note { text-align: right; }

.jo-journal-corps { border-top: 2px solid var(--jo-encre); }

.jo-rang {
    display: grid;
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid var(--jo-filet);
}
.jo-rang--une {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 32px;
}
.jo-rang-vue {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--jo-surface);
}
.jo-rang--une .jo-rang-vue { aspect-ratio: 16 / 7; }
.jo-rang-vue a { display: block; height: 100%; }
.jo-rang-vue img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.jo-rang:hover .jo-rang-vue img { transform: scale(1.035); }

.jo-rang-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    font-family: var(--jo-titre);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jo-gris);
}
.jo-rang-folio { color: var(--jo-sceau); font-weight: 800; letter-spacing: 0.04em; }

.jo-rang h2, .jo-rang h3 {
    font-size: 1.32rem;
    line-height: 1.22;
    margin: 0 0 9px;
}
.jo-rang--une h2, .jo-rang--une h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.jo-rang h2 a, .jo-rang h3 a { color: var(--jo-encre); background-image: linear-gradient(var(--jo-sceau), var(--jo-sceau)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.jo-rang h2 a:hover, .jo-rang h3 a:hover { color: var(--jo-encre); background-size: 100% 2px; }

.jo-rang-chapo { margin: 0; color: var(--jo-doux); font-size: 1rem; }

.jo-attente { background: var(--jo-surface); padding: 30px clamp(20px, 3vw, 34px) 34px; }
.jo-attente::before { left: 0; right: 0; }
.jo-attente-titre {
    font-family: var(--jo-titre);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.jo-attente p { margin: 0 0 12px; color: var(--jo-doux); }
.jo-attente .jo-actions { margin-top: 20px; }

/* ═══════════════════════════════════════════════════════════════
   7. Le persona
   Le portrait est le seul visuel vertical du site : il a sa propre
   classe et n herite d aucun cadrage paysage.
   ═══════════════════════════════════════════════════════════════ */

.jo-plume { padding: clamp(56px, 7vw, 100px) 0 0; }

.jo-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--jo-surface-2);
    border-bottom: 6px solid var(--jo-sceau);
}
.jo-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}
.jo-portrait--sm { width: 148px; flex: 0 0 148px; }

.jo-plume-volet .jo-oeil { margin: 14px 0 0; }

.jo-plume-corps h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin: 0 0 6px;
}
.jo-plume-role {
    font-family: var(--jo-titre);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jo-sceau);
    margin: 0 0 20px;
}
.jo-plume-bio p { margin: 0 0 15px; color: var(--jo-doux); }
.jo-plume-bio ul { margin: 0 0 15px; }
.jo-plume-bio li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--jo-doux);
}
.jo-plume-bio li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 9px;
    height: 13px;
    background: var(--jo-sceau);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.jo-plume-bio strong { font-weight: 700; color: var(--jo-encre); }

/* ═══════════════════════════════════════════════════════════════
   8. La rubrique
   Une seule rubrique : un bandeau, jamais une grille de tuiles.
   ═══════════════════════════════════════════════════════════════ */

.jo-rubrique { padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 110px); }

.jo-rubrique-bloc {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: clamp(24px, 3.5vw, 52px);
    align-items: center;
    color: var(--jo-encre);
}
.jo-rubrique-vue {
    position: relative;
    display: block;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: var(--jo-surface);
}
.jo-rubrique-vue img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.jo-rubrique-bloc:hover .jo-rubrique-vue img { transform: scale(1.035); }
.jo-rubrique-txt { display: block; }
.jo-rubrique-nom {
    display: block;
    font-family: var(--jo-titre);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 14px;
}
.jo-rubrique-desc { display: block; color: var(--jo-doux); max-width: 54ch; }
.jo-rubrique-pied {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--jo-filet);
}
.jo-rubrique-n {
    font-family: var(--jo-titre);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jo-gris);
}
.jo-rubrique-fleche svg { stroke: var(--jo-sceau); transition: transform .3s ease; }
.jo-rubrique-bloc:hover .jo-rubrique-fleche svg { transform: translateX(7px); }

/* ═══════════════════════════════════════════════════════════════
   9. Coiffes internes
   ═══════════════════════════════════════════════════════════════ */

.jo-coiffe {
    position: relative;
    background: var(--jo-encre);
    color: var(--jo-clair);
    overflow: hidden;
}
.jo-coiffe-fond { position: absolute; inset: 0; }
.jo-coiffe-fond img { width: 100%; height: 100%; object-fit: cover; }
.jo-coiffe-voile {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.86) 100%),
        linear-gradient(94deg, rgba(179,18,31,.30) 0%, rgba(179,18,31,0) 62%);
}
.jo-coiffe-inner {
    position: relative;
    padding: clamp(54px, 7vw, 92px) 0 clamp(46px, 6vw, 76px);
}
.jo-coiffe--page .jo-coiffe-inner { padding: clamp(46px, 6vw, 74px) 0 clamp(40px, 5vw, 62px); }
.jo-coiffe h1 {
    color: #FFFFFF;
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.032em;
    max-width: 20ch;
    text-wrap: balance;
}
.jo-coiffe--page h1 { max-width: 24ch; }
.jo-coiffe-desc { margin-top: 18px; max-width: 60ch; color: var(--jo-clair); }
.jo-coiffe-desc p { margin: 0; color: var(--jo-clair); }

.jo-fil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-family: var(--jo-titre);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.jo-fil a { color: var(--jo-clair); }
.jo-fil a:hover { color: var(--jo-sceau-c); }
.jo-fil-sep { color: var(--jo-sceau-c); }
.jo-fil-courant { color: rgba(242,242,244,.72); }

.jo-etoiles { margin-top: 18px; }

.jo-plaque {
    width: min(1240px, 100% - 2 * clamp(20px, 5vw, 64px));
    margin: clamp(28px, 4vw, 46px) auto 0;
}
.jo-plaque img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   10. Lecture
   La colonne est CENTREE : chaque bloc partage la meme mesure et
   margin-inline: auto. Une largeur de lecture sans centrage colle
   le texte au bord gauche du conteneur.
   ═══════════════════════════════════════════════════════════════ */

.jo-lecture { padding: clamp(40px, 5.5vw, 68px) 0 clamp(56px, 7vw, 92px); }

.jo-lecture > .jo-cadre > * {
    max-width: var(--jo-mesure);
    margin-inline: auto;
}

.jo-lecture-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0 auto 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--jo-filet);
    font-family: var(--jo-titre);
    font-size: 0.78rem;
    color: var(--jo-gris);
}
.jo-lecture-meta b {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--jo-encre);
    margin-right: 4px;
}

.jo-resume { margin-bottom: 26px; background: var(--jo-surface); padding: 20px 24px; }

.entry-content { font-size: 1.115rem; line-height: 1.76; color: var(--jo-encre); }
.entry-content p { margin: 0 0 1.25em; }
.entry-content h2 {
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    margin: 2em 0 0.6em;
}
.entry-content h3 {
    font-size: clamp(1.2rem, 1.9vw, 1.45rem);
    margin: 1.7em 0 0.5em;
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin: 1.6em 0; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding-left: 22px;
    border-left: 4px solid var(--jo-sceau);
    font-size: 1.16rem;
    font-style: italic;
    color: var(--jo-doux);
}
.entry-content strong { font-weight: 700; }

/* ── Bullets decoratifs : le signet ────────────────────────────
   Un rectangle rouge echancre en V par le bas, comme la queue
   d un marque-page. A ne pas confondre avec le V plein du reseau,
   qui est une fleche pointant vers le bas, ni avec les tirets.   */

.entry-content ul { list-style: none; padding-left: 0; margin-bottom: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content ul li { position: relative; padding-left: 1.5em; margin-bottom: 0.5em; }
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 9px;
    height: 13px;
    background: var(--jo-sceau);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    flex-shrink: 0;
}
.entry-content ol li { margin-bottom: 0.5em; }

.jo-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jo-tags a {
    font-family: var(--jo-titre);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--jo-filet-fort);
    color: var(--jo-doux);
}
.jo-tags a:hover { border-color: var(--jo-sceau); color: var(--jo-sceau); }

.jo-signature {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 44px;
    background: var(--jo-surface);
    padding: 28px clamp(18px, 2.4vw, 28px) 30px;
}
.jo-signature::before { left: 0; right: 0; }
.jo-signature h2 { font-size: 1.35rem; margin: 0 0 4px; }
.jo-signature-role {
    font-family: var(--jo-titre);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--jo-sceau);
    margin: 0 0 12px;
}
.jo-signature-bio p { margin: 0; color: var(--jo-doux); font-size: 1rem; }

/* ── Articles similaires ─────────────────────────────────────── */

.jo-voisins { padding: 0 0 clamp(60px, 8vw, 100px); background: var(--jo-papier); }
.jo-voisins-grille {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 38px);
    border-top: 2px solid var(--jo-encre);
    padding-top: 28px;
}
.jo-fiche-vue {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--jo-surface);
    margin-bottom: 14px;
}
.jo-fiche-vue a { display: block; height: 100%; }
.jo-fiche-vue img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.jo-fiche:hover .jo-fiche-vue img { transform: scale(1.035); }
.jo-fiche-meta {
    margin: 0 0 8px;
    font-family: var(--jo-titre);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--jo-gris);
}
.jo-fiche h3 { font-size: 1.12rem; line-height: 1.26; }
.jo-fiche h3 a { color: var(--jo-encre); }
.jo-fiche h3 a:hover { color: var(--jo-sceau); }

/* ═══════════════════════════════════════════════════════════════
   11. Bloc editorial d archive
   ═══════════════════════════════════════════════════════════════ */

.jo-dossier { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.jo-dossier-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
}
.jo-dossier-txt h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin: 0 0 16px; }
.jo-dossier-txt p { margin: 0 0 15px; color: var(--jo-doux); }
.jo-dossier-txt ul { margin: 0 0 15px; }
.jo-dossier-txt li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
    color: var(--jo-doux);
}
.jo-dossier-txt li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 15px;
    height: 3px;
    background: var(--jo-sceau);
}
.jo-dossier-vue { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--jo-surface); }
.jo-dossier-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════
   12. Contact, mentions, plan du site
   ═══════════════════════════════════════════════════════════════ */

.jo-contact { padding: clamp(48px, 6vw, 82px) 0 clamp(64px, 8vw, 108px); }
.jo-contact-volet p { color: var(--jo-doux); margin: 0 0 14px; }
.jo-contact-panneau { background: var(--jo-surface); padding: clamp(24px, 3vw, 38px); }

.wpcf7-form p { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; }
.wpcf7-form br { display: none; }
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-family: var(--jo-titre);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--jo-encre);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    font-family: var(--jo-texte);
    font-size: 1rem;
    padding: 13px 15px;
    background: var(--jo-papier);
    border: 1px solid var(--jo-filet-fort);
    color: var(--jo-encre);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--jo-sceau);
    box-shadow: inset 0 0 0 1px var(--jo-sceau);
}
.wpcf7-form textarea { min-height: 172px; resize: vertical; }
/* Requalifie : .wpcf7-form input (0-1-1) l emporterait sur .wpcf7-submit. */
.wpcf7-form input.wpcf7-submit {
    width: 100%;
    font-family: var(--jo-titre);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 15px 24px;
    background: var(--jo-sceau);
    border: 2px solid var(--jo-sceau);
    color: #FFFFFF;
    cursor: pointer;
}
.wpcf7-form input.wpcf7-submit:hover { background: var(--jo-sceau-p); border-color: var(--jo-sceau-p); }

.jo-legal { padding: clamp(44px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); }
.jo-legal-corps { max-width: var(--jo-mesure); margin-inline: auto; }
.jo-legal-corps h2 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    margin: 2em 0 0.7em;
    padding-top: 20px;
    border-top: 1px solid var(--jo-filet);
}
.jo-legal-corps h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.jo-plan { padding: clamp(44px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); }
.jo-plan-bloc { margin-bottom: 42px; }
.jo-plan-bloc h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 0 0 16px; }
.jo-plan-bloc h2 a { color: var(--jo-encre); }
.jo-plan-bloc h2 a:hover { color: var(--jo-sceau); }
.jo-plan-liste { columns: 2; column-gap: 40px; }
.jo-plan-liste li { break-inside: avoid; margin-bottom: 9px; position: relative; padding-left: 22px; }
.jo-plan-liste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 9px;
    height: 13px;
    background: var(--jo-sceau);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.jo-plan-liste a { color: var(--jo-encre); }
.jo-plan-liste a:hover { color: var(--jo-sceau); }
.jo-plan-vide { color: var(--jo-gris); margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   13. Pied de page
   Jamais d image : les derniers articles sont des liens texte.
   ═══════════════════════════════════════════════════════════════ */

.jo-pied {
    background: var(--jo-encre-2);
    color: var(--jo-clair);
    padding: clamp(48px, 6vw, 76px) 0 34px;
    border-top: 6px solid var(--jo-sceau);
}
.jo-pied-grille {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: clamp(26px, 3.5vw, 54px);
}
.jo-pied-marque svg { height: 42px; width: auto; }
.jo-pied-desc { margin: 16px 0 0; color: rgba(242,242,244,.74); font-size: 0.98rem; max-width: 34ch; }
.jo-pied-titre {
    font-family: var(--jo-titre);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--jo-sceau-c);
    margin-bottom: 16px;
}
.jo-pied-liste li { position: relative; padding-left: 20px; margin-bottom: 10px; line-height: 1.45; }
.jo-pied-liste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 8px;
    height: 11px;
    background: var(--jo-sceau-c);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.jo-pied-liste a { color: var(--jo-clair); font-size: 0.98rem; }
.jo-pied-liste a:hover { color: var(--jo-sceau-c); }
.jo-pied-liste--sujets li { color: rgba(242,242,244,.74); font-size: 0.98rem; }
.jo-pied-bas {
    margin-top: clamp(34px, 4vw, 52px);
    padding-top: 22px;
    border-top: 1px solid rgba(242,242,244,.16);
    text-align: center;
    font-family: var(--jo-titre);
    font-size: 0.78rem;
    color: rgba(242,242,244,.66);
}

/* ═══════════════════════════════════════════════════════════════
   14. Reveal
   L etat de depart reste lisible et n est pose que si le JavaScript
   tourne : un theme.js en echec ne peut pas masquer le contenu.
   ═══════════════════════════════════════════════════════════════ */

.jo-js [data-jo-reveal] {
    opacity: .58;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
}
.jo-js [data-jo-reveal].is-vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .jo-js [data-jo-reveal] { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   15. Adaptations
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
    .jo-dossier-inner { grid-template-columns: minmax(0, 1fr) 340px; }
    .jo-pied-grille { grid-template-columns: 1fr 1fr; row-gap: 38px; }
}

@media (max-width: 900px) {
    .jo-diptyque,
    .jo-diptyque--droite { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .jo-diptyque--droite > :first-child { order: 0; }
    .jo-diptyque--droite .jo-sommaire-note,
    .jo-diptyque--droite .jo-journal-note,
    .jo-tete.jo-talon--droite,
    .jo-oeil--droite { text-align: left; }
    .jo-talon--droite::before { left: calc(-1 * var(--jo-debord)); right: 0; }

    .jo-releves { flex-direction: row; flex-wrap: wrap; gap: 26px 34px; }
    .jo-releve { flex: 1 1 120px; }

    .jo-bande { aspect-ratio: 16 / 9; }
    .jo-rubrique-bloc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .jo-dossier-inner { grid-template-columns: minmax(0, 1fr); }
    .jo-dossier-vue { order: -1; }
    .jo-voisins-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jo-plume-volet .jo-portrait { max-width: 320px; }
    .jo-plume-volet .jo-oeil--droite { text-align: left; }
}

@media (max-width: 860px) {
    .jo-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid var(--jo-encre);
        color: var(--jo-encre);
    }
    .jo-burger svg { stroke: currentColor; }

    .jo-nav {
        position: fixed;
        inset: 0;
        z-index: 200;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--jo-papier);
        padding: 20px clamp(20px, 5vw, 40px) 40px;
        transform: translateX(100%);
        transition: transform .28s ease;
        overflow-y: auto;
    }
    .jo-nav--open { transform: none; }

    .jo-nav-tete {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--jo-hh);
        margin-bottom: 22px;
        border-bottom: 2px solid var(--jo-encre);
    }
    .jo-nav-logo { display: block; line-height: 0; }
    .jo-nav-logo svg { height: 38px; width: auto; }
    .jo-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid var(--jo-encre);
        color: var(--jo-encre);
    }
    .jo-nav-close svg { stroke: currentColor; }

    .jo-nav-liens { flex-direction: column; align-items: stretch; gap: 0; }
    .jo-nav-liens li { border-bottom: 1px solid var(--jo-filet); }
    .jo-nav-liens a { display: block; padding: 18px 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
    .jo-nav-liens a::after { display: none; }
    .jo-nav-contact { margin-top: 26px; text-align: center; }
}

@media (max-width: 640px) {
    body { font-size: 1.02rem; }
    .jo-rang { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .jo-rang-vue { aspect-ratio: 16 / 9; }
    .jo-sujet { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 12px 14px; }
    .jo-sujet-picto { display: none; }
    .jo-voisins-grille { grid-template-columns: minmax(0, 1fr); }
    .jo-signature { flex-direction: column; }
    .jo-portrait--sm { width: 130px; flex-basis: auto; }
    .jo-plan-liste { columns: 1; }
    .jo-pied-grille { grid-template-columns: minmax(0, 1fr); }
    .jo-lecture-meta { gap: 8px 20px; }
    /* object-position se pose sur l image, jamais sur le conteneur. */
    .jo-portrait { aspect-ratio: 3 / 4; }
    .jo-portrait img { object-position: center 16%; }
}
