@charset "UTF-8";
/*
Theme Name: La Petite Modeuse
Theme URI: https://lapetitemodeuse.fr
Description: Le podium. Un magazine mode et art de vivre construit autour d'un axe : un filet vertical au milieu de la page, le long duquel les articles passent un à un, numérotés.
Version: 1.2.1
Author: La Petite Modeuse
Text Domain: lapetitemodeuse
*/

/* =====================================================================
   Jetons
   ===================================================================== */

:root {
    --lpm-fond: #FFFFFF;
    --lpm-encre: #1B1A19;
    --lpm-gris: #6A6663;
    --lpm-filet: #D9D6D3;
    --lpm-accent: #B8321F;       /* rouge laque : l'axe, les numéros, les boutons */
    --lpm-poudre: #F6E4DE;       /* rose poudré : le salut, le pied */
    --lpm-poudre-2: #EEDFD8;     /* fond d'attente des images */

    --lpm-display: "Imbue", "Didot", "Bodoni 72", Georgia, serif;
    --lpm-texte: "Pathway Extreme", "Helvetica Neue", sans-serif;

    --lpm-cadre: 1120px;
    --lpm-bord: 56px;            /* demi-allée de part et d'autre de l'axe */
    --lpm-mesure: 680px;         /* colonne de lecture, en px (jamais en ch) */
    --lpm-sortie-l: 360px;       /* silhouette 2:3 */
    --lpm-pas: 72px;             /* pastille du numéro de sortie */
    --lpm-x-axe: 50%;            /* position de l'axe dans une section pleine largeur */
}

/* =====================================================================
   Base
   ===================================================================== */

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

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

body {
    margin: 0;
    background: var(--lpm-fond);
    color: var(--lpm-encre);
    font-family: var(--lpm-texte);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--lpm-accent); }
button { font: inherit; color: inherit; }

::selection { background: var(--lpm-poudre); color: var(--lpm-encre); }

:focus-visible {
    outline: 1px solid var(--lpm-accent);
    outline-offset: 3px;
}

.lpm-invisible,
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lpm-saut {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 200;
    background: var(--lpm-encre);
    color: #fff;
    padding: 10px 16px;
    font-size: .875rem;
}
.lpm-saut:focus { top: 12px; color: #fff; }

.lpm-cadre {
    width: min(100% - 48px, var(--lpm-cadre));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

/* L'axe : un filet d'un pixel au milieu de chaque section qui le porte.
   Les sections se touchent (aucune marge entre elles) : la ligne est continue. */
.lpm-axe { position: relative; }
.lpm-axe::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: var(--lpm-x-axe);
    width: 1px;
    background: var(--lpm-accent);
    pointer-events: none;
    z-index: 0;
}

/* =====================================================================
   Typographie commune
   ===================================================================== */

.lpm-label,
.lpm-rub-label,
.lpm-pas-l,
.lpm-releve-l,
.lpm-ligne-rub,
.lpm-rub-compte,
.lpm-coiffe-detail,
.lpm-pied-titre {
    font-family: var(--lpm-texte);
    font-stretch: 80%;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--lpm-gris);
}
.lpm-rub-label,
.lpm-label--accent { color: var(--lpm-accent); }

.lpm-h2 {
    font-family: var(--lpm-display);
    font-size: 2.875rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.005em;
    color: var(--lpm-encre);
}

.lpm-chapo {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 34em;
}

.lpm-vide {
    padding: 40px 0 80px;
    text-align: center;
    color: var(--lpm-gris);
}

/* Boutons : angles vifs, un filet ou un aplat de laque. */
.lpm-bouton {
    display: inline-block;
    border: 1px solid var(--lpm-accent);
    color: var(--lpm-accent);
    padding: 13px 22px 14px;
    font-size: .875rem;
    font-stretch: 92%;
    letter-spacing: .02em;
    line-height: 1.2;
    transition: background-color .2s ease, color .2s ease;
}
.lpm-bouton:hover { background: var(--lpm-accent); color: #fff; }
.lpm-bouton--plein { background: var(--lpm-accent); color: #fff; padding: 16px 26px 17px; font-size: .9375rem; }
.lpm-bouton--plein:hover { background: var(--lpm-encre); border-color: var(--lpm-encre); color: #fff; }

/* En-tête de section : titre contre l'axe à gauche, libellé à droite. */
.lpm-entete {
    display: grid;
    grid-template-columns: 1fr calc(2 * var(--lpm-bord)) 1fr;
    align-items: baseline;
    margin-bottom: 64px;
}
.lpm-entete .lpm-h2 { grid-column: 1; text-align: right; }
.lpm-entete .lpm-label { grid-column: 3; }

/* Fil d'Ariane */
.lpm-fil {
    font-size: .8125rem;
    font-stretch: 88%;
    color: var(--lpm-gris);
    margin-bottom: 28px;
}
.lpm-fil a { color: var(--lpm-encre); }
.lpm-fil a:hover { color: var(--lpm-accent); }
.lpm-fil-sep { margin: 0 .55em; color: var(--lpm-filet); }
.lpm-fil-courant { color: var(--lpm-gris); }

/* Le passage : filet vertical traversé d'un carré plein. Bullet du site. */
.lpm-liste li,
.entry-content ul li,
.lpm-salut-bio ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: .5em;
}
.lpm-liste li::before,
.entry-content ul li::before,
.lpm-salut-bio ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .42em;
    width: 1px;
    height: 12px;
    background: var(--lpm-accent);
}
.lpm-liste li::after,
.entry-content ul li::after,
.lpm-salut-bio ul li::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(.42em + 3.5px);
    width: 5px;
    height: 5px;
    background: var(--lpm-accent);
}

/* =====================================================================
   Barre : le wordmark coupé par l'axe
   ===================================================================== */

.lpm-barre {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--lpm-fond);
    transition: box-shadow .2s ease;
}
.lpm-barre--posee { box-shadow: 0 1px 0 var(--lpm-filet); }
.admin-bar .lpm-barre { top: 32px; }

.lpm-barre-int {
    height: 92px;
    display: flex;
    align-items: center;
}

.lpm-marque { color: var(--lpm-encre); }
.lpm-marque:hover { color: var(--lpm-encre); }
.lpm-marque-g,
.lpm-marque-d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 0;
}
.lpm-marque-g { right: calc(50% + 16px); }
.lpm-marque-d { left: calc(50% + 16px); }
.lpm-marque-plein { display: none; }
.lpm-logo { display: block; height: auto; }
.lpm-logo--g, .lpm-logo--d { height: 44px; width: auto; }

.lpm-nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lpm-nav-rubriques,
.lpm-nav-pages {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: .875rem;
    font-stretch: 88%;
}
.lpm-nav a[aria-current="page"]:not(.lpm-nav-contact) {
    box-shadow: inset 0 -1px 0 currentColor;
    padding-bottom: 3px;
}
.lpm-nav-contact {
    border: 1px solid var(--lpm-accent);
    color: var(--lpm-accent);
    padding: 10px 18px;
    transition: background-color .2s ease, color .2s ease;
}
.lpm-nav-contact:hover { background: var(--lpm-accent); color: #fff; }

/* Éléments propres au menu mobile : jamais visibles sur desktop. */
.lpm-nav-close { display: none; }
.lpm-nav-logo  { display: none; }
.lpm-burger    { display: none; order: 3; }

/* =====================================================================
   Accueil : l'ouverture, de part et d'autre du podium
   ===================================================================== */

.lpm-ouverture { padding: 64px 0 112px; }

.lpm-ouverture-grille {
    display: grid;
    grid-template-columns: 1fr var(--lpm-bord) var(--lpm-bord) 1fr;
    align-items: start;
}
.lpm-ouverture-texte {
    grid-column: 1 / 2;
    padding-top: 12px;
}
.lpm-h1-nom {
    display: block;
    font-family: var(--lpm-display);
    font-size: clamp(3.5rem, 7.2vw, 6.5rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.01em;
}
.lpm-h1-but {
    display: block;
    margin-top: 22px;
    font-size: 1.5625rem;
    line-height: 1.3;
    font-weight: 400;
    font-stretch: 92%;
    text-wrap: balance;
}
.lpm-ouverture .lpm-chapo { margin-top: 28px; }
.lpm-ouverture .lpm-bouton { margin-top: 32px; }

.lpm-releves {
    margin-top: 44px;
    padding-top: 16px;
    border-top: 1px solid var(--lpm-filet);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 44px;
}
.lpm-releves li { display: flex; align-items: baseline; gap: 10px; }
.lpm-releve-n {
    font-family: var(--lpm-display);
    font-size: 2.125rem;
    font-weight: 300;
    line-height: 1;
}

.lpm-ouverture-sortie {
    grid-column: 3 / 5;
    position: relative;
}
.lpm-ouverture-fig {
    width: min(440px, 100%);
    aspect-ratio: 2 / 3;
    background: var(--lpm-poudre-2);
    overflow: hidden;
}
.lpm-ouverture-fig a { display: block; height: 100%; }
.lpm-ouverture-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.lpm-ouverture-legende {
    margin: 24px 0 0 40px;
    max-width: 440px;
}
.lpm-ouverture-titre {
    margin-top: 8px;
    font-family: var(--lpm-display);
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.1;
}

/* La pastille du numéro de sortie, posée sur l'axe : elle interrompt la ligne. */
.lpm-pas {
    position: absolute;
    left: var(--lpm-x-axe);
    top: 28px;
    transform: translateX(-50%);
    width: var(--lpm-pas);
    padding: 10px 0 8px;
    background: var(--lpm-fond);
    text-align: center;
    z-index: 2;
    transition: background-color .2s ease;
}
.lpm-pas-l { display: block; font-size: .5625rem; letter-spacing: .22em; }
.lpm-pas-n {
    display: block;
    margin-top: 4px;
    font-family: var(--lpm-display);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1;
    color: var(--lpm-accent);
    font-variant-numeric: lining-nums tabular-nums;
    transition: color .2s ease;
}
.lpm-ouverture-sortie .lpm-pas { left: 0; }

/* =====================================================================
   Le défilé : les sorties en quinconce
   ===================================================================== */

.lpm-flux { padding: 8px 0 120px; }
.lpm-flux .lpm-entete:first-child { padding-top: 0; }

.lpm-sortie {
    position: relative;
    display: grid;
    grid-template-columns: 1fr var(--lpm-bord) var(--lpm-bord) 1fr;
    min-height: calc(var(--lpm-sortie-l) * 1.5);
    pointer-events: none;
}
.lpm-sortie > * { pointer-events: auto; }
/* Chaque sortie remonte sous la précédente : on marche, on ne s'aligne pas. */
.lpm-sortie + .lpm-sortie { margin-top: -130px; }

.lpm-sortie-img {
    grid-row: 1;
    display: block;
    width: min(var(--lpm-sortie-l), 100%);
    aspect-ratio: 2 / 3;
    background: var(--lpm-poudre-2);
    overflow: hidden;
    align-self: start;
}
.lpm-sortie-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.lpm-sortie-texte {
    grid-row: 1;
    align-self: start;
    max-width: 400px;
    /* Assez bas pour laisser ~100 px sous l'image de la sortie précédente,
       qui finit du même côté : sinon le titre se lit comme sa légende. */
    padding-top: 220px;
}
.lpm-sortie--d .lpm-sortie-img   { grid-column: 3 / 5; justify-self: start; }
.lpm-sortie--d .lpm-sortie-texte { grid-column: 1 / 2; justify-self: end; text-align: right; }
.lpm-sortie--g .lpm-sortie-img   { grid-column: 1 / 3; justify-self: end; }
.lpm-sortie--g .lpm-sortie-texte { grid-column: 4 / 5; justify-self: start; }

.lpm-sortie-titre {
    margin-top: 10px;
    font-family: var(--lpm-display);
    font-size: 2.125rem;
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
}
.lpm-sortie-chapo {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--lpm-gris);
}

/* Le seul geste : au survol, la marque au sol part de l'axe et le numéro
   passe en laque pleine. */
.lpm-sortie::after {
    content: "";
    position: absolute;
    top: calc(var(--lpm-sortie-l) * 1.5 + 10px);
    width: 24px;
    height: 2px;
    background: var(--lpm-accent);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.lpm-sortie--d::after { left: calc(50% + 1px); transform-origin: left; }
.lpm-sortie--g::after { right: 50%; transform-origin: right; }
.lpm-sortie:hover::after { transform: scaleX(1); }
.lpm-sortie:hover .lpm-pas { background: var(--lpm-accent); }
.lpm-sortie:hover .lpm-pas-n,
.lpm-sortie:hover .lpm-pas-l { color: #fff; }

/* La suite du programme : des lignes sans image, de part et d'autre de l'axe. */
.lpm-entete--suite { margin-top: 120px; }
.lpm-programme {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
}
.lpm-ligne {
    display: flex;
    align-items: baseline;
    gap: 18px;
    min-height: 60px;
    padding: 18px 0 13px;
    border-bottom: 1px solid var(--lpm-filet);
}
.lpm-ligne:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.lpm-ligne-num {
    flex: 0 0 36px;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: var(--lpm-display);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--lpm-accent);
}
.lpm-ligne:nth-child(odd) .lpm-ligne-num { text-align: right; }
.lpm-ligne-titre {
    font-family: var(--lpm-texte);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.35;
}
.lpm-ligne-rub { flex-shrink: 0; }

/* =====================================================================
   Le salut : la rédactrice sort en dernier
   ===================================================================== */

.lpm-salut {
    background: var(--lpm-poudre);
    padding: 50px 0;
}
.lpm-salut-grille {
    display: grid;
    grid-template-columns: 1fr var(--lpm-bord) var(--lpm-bord) 1fr;
    align-items: center;
}
.lpm-salut-fig {
    grid-column: 1 / 3;
    justify-self: end;
    width: min(400px, 100%);
    aspect-ratio: 2 / 3;
    background: #E8CFC5;
    overflow: hidden;
}
.lpm-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.lpm-salut-texte { grid-column: 4 / 5; max-width: 440px; padding: 24px 0; }
.lpm-salut-nom {
    margin-top: 12px;
    font-family: var(--lpm-display);
    font-size: 3.625rem;
    font-weight: 400;
    line-height: .98;
}
.lpm-salut-role {
    margin-top: 10px;
    font-size: .9375rem;
    font-stretch: 88%;
    color: var(--lpm-accent);
}
.lpm-salut-bio { margin-top: 24px; font-size: 1rem; line-height: 1.6; }
.lpm-salut-bio p + p,
.lpm-salut-bio ul + p,
.lpm-salut-bio p + ul { margin-top: 12px; }
.lpm-salut-bio li { margin-bottom: 6px; }
.lpm-salut .lpm-bouton { margin-top: 26px; }
.lpm-salut .lpm-label { color: #5E5A57; }

/* =====================================================================
   Les rubriques : le programme, une ligne qui traverse l'axe
   ===================================================================== */

.lpm-rubriques { padding: 96px 0 104px; }
.lpm-rub-liste { border-top: 1px solid var(--lpm-encre); position: relative; z-index: 1; }
.lpm-rub-lien {
    display: grid;
    grid-template-columns: 1fr calc(2 * var(--lpm-bord)) 1fr;
    align-items: center;
    min-height: 124px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lpm-filet);
}
.lpm-rub-nom {
    grid-column: 1;
    text-align: right;
    font-family: var(--lpm-display);
    font-size: 4.25rem;
    font-weight: 400;
    line-height: 1;
    transition: color .2s ease;
}
.lpm-rub-d {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--lpm-encre);
}
.lpm-picto { flex: 0 0 auto; color: var(--lpm-accent); }
.lpm-rub-desc { max-width: 340px; font-size: 1rem; line-height: 1.5; }
.lpm-rub-compte { margin-left: auto; white-space: nowrap; }
.lpm-rub-lien:hover .lpm-rub-nom { color: var(--lpm-accent); }

/* =====================================================================
   Pied : en miroir autour de l'axe, terminé par le bout du podium
   ===================================================================== */

.lpm-pied { background: var(--lpm-poudre); }
.lpm-pied-podium { padding: 56px 0 0; }
.lpm-pied-grille {
    display: grid;
    grid-template-columns: 1fr calc(2 * var(--lpm-bord)) 1fr;
}
.lpm-pied-moitie { display: flex; gap: 40px; }
.lpm-pied-moitie--g { grid-column: 1; justify-content: flex-end; text-align: right; }
.lpm-pied-moitie--d { grid-column: 3; }
.lpm-pied-marque { max-width: 250px; }
.lpm-pied-marque .lpm-logo { width: 180px; margin-left: auto; }
.lpm-pied-marque p { margin-top: 14px; font-size: .875rem; line-height: 1.55; color: #5E5A57; }
.lpm-pied-col--rub, .lpm-pied-col--liens { min-width: 140px; }
.lpm-pied-col--der { max-width: 300px; }
.lpm-pied-titre { color: var(--lpm-encre); margin: 0; }
.lpm-pied-liste { margin-top: 14px; font-size: .875rem; line-height: 1.4; }
.lpm-pied-liste li { margin-bottom: 8px; }
.lpm-pied-vide { margin-top: 14px; font-size: .875rem; color: #5E5A57; }
.lpm-bout {
    display: block;
    position: relative;
    z-index: 1;
    width: 49px;
    height: 2px;
    margin: 64px auto 0;
    background: var(--lpm-accent);
}
.lpm-colophon {
    padding: 34px 16px 40px;
    text-align: center;
    font-size: .75rem;
    font-stretch: 88%;
    color: #5E5A57;
}

/* =====================================================================
   Gabarits secondaires : la coiffe
   ===================================================================== */

.lpm-coiffe { padding: 48px 0 88px; }
.lpm-coiffe-grille {
    display: grid;
    grid-template-columns: 1fr var(--lpm-bord) var(--lpm-bord) 1fr;
    align-items: center;
}
.lpm-coiffe-texte { grid-column: 1 / 2; text-align: right; }
.lpm-coiffe-titre {
    margin-top: 12px;
    font-family: var(--lpm-display);
    font-size: clamp(3rem, 5.6vw, 5rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.005em;
    text-wrap: balance;
}
.lpm-coiffe-desc {
    margin: 22px 0 0 auto;
    max-width: 30em;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--lpm-gris);
}
.lpm-coiffe-desc p + p { margin-top: 10px; }
.lpm-coiffe-detail { margin-top: 22px; color: var(--lpm-encre); }
.lpm-coiffe-fig {
    grid-column: 3 / 5;
    width: min(var(--lpm-sortie-l), 100%);
    aspect-ratio: 2 / 3;
    background: var(--lpm-poudre-2);
    overflow: hidden;
}
.lpm-coiffe-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.lpm-flux--archive { padding-top: 24px; }

/* Bloc éditorial des archives : texte + image, sous le défilé. */
.lpm-edito { padding: 96px 0 104px; border-top: 1px solid var(--lpm-filet); }
.lpm-edito-titre {
    font-family: var(--lpm-display);
    font-size: 2.875rem;
    font-weight: 400;
    line-height: 1.02;
    max-width: 18em;
    text-wrap: balance;
}
.lpm-edito-grille {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 72px;
    /* Texte calé en haut : centré sur une image 2:3 de 660 px, il laissait
       160 px de vide sous le titre, qui semblait détaché de son bloc. */
    align-items: start;
}
.lpm-edito-texte { max-width: var(--lpm-mesure); }
.lpm-edito-texte p { line-height: 1.7; }
.lpm-edito-texte > * + * { margin-top: 18px; }
.lpm-edito-fig { aspect-ratio: 2 / 3; overflow: hidden; background: var(--lpm-poudre-2); }
.lpm-edito-fig img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   Article : le passage
   ===================================================================== */

.lpm-art-tete { text-align: center; padding-bottom: 8px; }
.lpm-art-axe {
    display: block;
    width: 1px;
    height: 56px;
    margin: 0 auto;
    background: var(--lpm-accent);
}
.lpm-art-num {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: var(--lpm-pas);
    margin: 0 auto 32px;
    padding: 8px 0;
}
.lpm-art-num-l {
    font-stretch: 80%;
    font-size: .5625rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--lpm-gris);
}
.lpm-art-num-n {
    font-family: var(--lpm-display);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1;
    color: var(--lpm-accent);
}
.lpm-art-tete .lpm-label { margin-bottom: 14px; }
.lpm-art-titre {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--lpm-display);
    font-size: clamp(2.5rem, 4.6vw, 4.125rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.005em;
    text-wrap: balance;
}
.lpm-art-meta {
    margin-top: 22px;
    font-size: .8125rem;
    font-stretch: 88%;
    letter-spacing: .04em;
    color: var(--lpm-gris);
}
.lpm-etoiles { margin-top: 14px; display: flex; justify-content: center; }
.lpm-etoiles .kk-star-ratings { justify-content: center; }

.lpm-une {
    max-width: var(--lpm-mesure);
    margin: 40px auto 0;
    padding-inline: 0;
}
.lpm-une img { width: 100%; max-height: 600px; object-fit: cover; }

.lpm-rang { padding-top: 48px; padding-bottom: 112px; }
.lpm-rang > * {
    max-width: var(--lpm-mesure);
    margin-inline: auto;
}
.lpm-lecture { max-width: var(--lpm-mesure); margin-inline: auto; }

.lpm-resume {
    margin-bottom: 36px;
    padding: 22px 24px;
    background: var(--lpm-poudre);
    font-size: .9375rem;
}

/* Corps de texte */
.entry-content { font-size: 1.125rem; line-height: 1.7; }
.entry-content p,
.lpm-chapo,
.lpm-salut-bio p,
.lpm-sortie-chapo,
.lpm-edito-texte p { text-wrap: pretty; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 {
    margin-top: 2em;
    font-family: var(--lpm-display);
    font-size: 2.125rem;
    font-weight: 400;
    line-height: 1.1;
}
.entry-content h3 {
    margin-top: 1.8em;
    font-family: var(--lpm-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}
.entry-content h2 strong,
.entry-content h3 strong { font-weight: inherit; }
.entry-content h4 { margin-top: 1.6em; font-size: 1.0625rem; font-weight: 600; }
.entry-content a {
    color: var(--lpm-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--lpm-encre); }
.entry-content strong { font-weight: 600; }
.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 ol li { margin-bottom: .5em; }
.entry-content ol li::marker { color: var(--lpm-accent); font-family: var(--lpm-display); }
.entry-content blockquote {
    padding: 4px 0 4px 24px;
    border-left: 1px solid var(--lpm-accent);
    font-family: var(--lpm-display);
    font-size: 1.5rem;
    line-height: 1.35;
}
.entry-content img { margin-inline: auto; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { margin-top: 8px; font-size: .8125rem; color: var(--lpm-gris); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--lpm-filet); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 600; border-bottom-color: var(--lpm-encre); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content hr { border: 0; height: 1px; background: var(--lpm-filet); margin: 2.4em 0; }

/* Sommaire (Easy Table of Contents) */
.entry-content #ez-toc-container {
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--lpm-filet);
    border-radius: 0;
    box-shadow: none;
}
/* Le titre du sommaire prend le rôle « libellé » (comme « Écrit par »), pas un
   petit titre en Imbue que le plugin réduit à 16 px. */
.entry-content #ez-toc-container .ez-toc-title,
.entry-content #ez-toc-container p.ez-toc-title {
    font-family: var(--lpm-texte);
    font-size: .6875rem;
    font-stretch: 80%;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lpm-encre);
}
.entry-content #ez-toc-container a { color: var(--lpm-encre); text-decoration: none; }
.entry-content #ez-toc-container a:hover { color: var(--lpm-accent); }
.entry-content #ez-toc-container li::before,
.entry-content #ez-toc-container li::after { display: none; }
.entry-content #ez-toc-container li { padding-left: 0; }

.lpm-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lpm-tags a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--lpm-filet);
    font-size: .8125rem;
    font-stretch: 88%;
}
.lpm-tags a:hover { border-color: var(--lpm-accent); }

/* Bloc auteur */
.lpm-auteur {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--lpm-encre);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    align-items: start;
}
.lpm-auteur-fig { width: 120px; aspect-ratio: 2 / 3; overflow: hidden; background: var(--lpm-poudre-2); }
.lpm-auteur-nom {
    margin-top: 8px;
    font-family: var(--lpm-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}
.lpm-auteur-role { margin-top: 6px; font-size: .875rem; font-stretch: 88%; color: var(--lpm-accent); }
.lpm-auteur-bio { margin-top: 14px; font-size: .9375rem; line-height: 1.6; }

.lpm-similaires { padding: 96px 0 112px; }

/* =====================================================================
   Pages
   ===================================================================== */

.lpm-page { padding: 16px 0 112px; }

.lpm-contact { padding: 16px 0 112px; }
.lpm-contact-grille {
    display: grid;
    grid-template-columns: 1fr calc(2 * var(--lpm-bord)) 1fr;
    align-items: start;
}
.lpm-contact-mot { grid-column: 1; justify-self: end; max-width: 440px; }
.lpm-contact-mot h2 {
    font-family: var(--lpm-display);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 20px;
}
.lpm-contact-mot p + p { margin-top: 14px; }
.lpm-contact-form { grid-column: 3; max-width: 480px; }

/* Contact Form 7 */
.wpcf7-form p { display: flex; flex-direction: column; margin: 0 0 18px; }
.wpcf7-form br { display: none; }
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-stretch: 80%;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lpm-encre);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #A8A29D;
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 1rem;
    font-stretch: 100%;
    letter-spacing: 0;
    text-transform: none;
    color: var(--lpm-encre);
    transition: border-color .2s ease;
}
.wpcf7-form textarea { min-height: 180px; resize: vertical; }
.wpcf7-form input,
.wpcf7-form textarea { caret-color: var(--lpm-accent); }
.wpcf7-form ::placeholder { color: #77716C; opacity: 1; }
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { outline: none; border-color: var(--lpm-accent); box-shadow: inset 0 0 0 1px var(--lpm-accent); }
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 20px;
    border: 0;
    border-radius: 0;
    background: var(--lpm-accent);
    color: #fff;
    font: inherit;
    font-size: .9375rem;
    font-stretch: 92%;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .2s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--lpm-encre); }
.wpcf7-form .wpcf7-spinner { margin: 10px auto 0; }
.wpcf7-not-valid-tip { font-size: .8125rem; color: var(--lpm-accent); text-transform: none; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-width: 1px; font-size: .875rem; }

/* Plan du site : les rubriques de part et d'autre de l'axe */
.lpm-plan { padding: 16px 0 112px; }
.lpm-plan-grille {
    display: grid;
    grid-template-columns: 1fr calc(2 * var(--lpm-bord)) 1fr;
    row-gap: 56px;
}
.lpm-plan-bloc:nth-child(odd) { grid-column: 1; }
.lpm-plan-bloc:nth-child(even) { grid-column: 3; }
.lpm-plan-titre {
    font-family: var(--lpm-display);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--lpm-encre);
}
.lpm-plan-vide { color: var(--lpm-gris); }

/* À propos */
.lpm-apropos .entry-content h2:first-child { margin-top: 0; }
.lpm-reperes {
    max-width: var(--lpm-mesure);
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--lpm-encre);
}
.lpm-reperes li { padding: 20px 16px 0 0; }
.lpm-reperes li + li { padding-left: 16px; border-left: 1px solid var(--lpm-filet); }
.lpm-repere-n {
    display: block;
    font-family: var(--lpm-display);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1;
    color: var(--lpm-accent);
}
.lpm-repere-l { display: block; margin-top: 8px; font-size: .875rem; line-height: 1.4; color: var(--lpm-gris); }
.lpm-apropos-appel { margin-top: 56px; }
.lpm-apropos-appel p { margin-bottom: 20px; font-family: var(--lpm-display); font-size: 1.5rem; line-height: 1.3; }

/* 404 */
.lpm-introuvable { text-align: center; padding: 0 0 120px; }
.lpm-introuvable .lpm-chapo { margin: 22px auto 0; }
.lpm-introuvable .lpm-bouton { margin-top: 28px; }

/* =====================================================================
   Axe 13 : révélation scroll-driven
   ---------------------------------------------------------------------
   Enrichissement pur : sans support, ou avec mouvement réduit, tout est
   visible d'emblée. L'état de départ reste lisible (opacité 0,55).
   ===================================================================== */

@keyframes lpm-entree {
    from { opacity: .55; transform: translateY(20px); }
    to   { opacity: 1;   transform: none; }
}
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .lpm-sortie-img,
        .lpm-sortie-texte {
            animation: lpm-entree linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 55%;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =====================================================================
   Entre-deux
   ===================================================================== */

@media (max-width: 1180px) {
    :root { --lpm-bord: 40px; }
    .lpm-sortie-titre { font-size: 1.875rem; }
    .lpm-rub-nom { font-size: 3.5rem; }
    .lpm-edito-grille { grid-template-columns: 1fr 360px; gap: 48px; }
    .lpm-nav-rubriques, .lpm-nav-pages { gap: 22px; }
}

/* =====================================================================
   Mobile : l'axe glisse au bord gauche, tout passe à sa droite
   ===================================================================== */

@media (max-width: 899px) {
    :root { --lpm-x-axe: 20px; }

    .lpm-cadre { width: auto; margin: 0 24px 0 40px; }

    /* Barre */
    .lpm-barre-int { height: 76px; justify-content: space-between; }
    .lpm-marque-g, .lpm-marque-d { display: none; }
    .lpm-marque-plein { display: block; line-height: 0; }
    .lpm-marque-plein .lpm-logo { height: 34px; width: auto; }
    .lpm-burger {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 44px;
        height: 44px;
        margin-right: -4px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    /* Menu ouvert : un panneau opaque, plein écran, l'axe toujours là. */
    .lpm-nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 104px 24px 48px 40px;
        background: var(--lpm-fond);
        overflow-y: auto;
        visibility: hidden;
    }
    .lpm-nav::before {
        content: "";
        position: fixed;
        top: 0; bottom: 0;
        left: 20px;
        width: 1px;
        background: var(--lpm-accent);
    }
    .lpm-menu-ouvert .lpm-nav { visibility: visible; }
    .lpm-menu-ouvert .lpm-barre { z-index: 1000; }
    body.lpm-menu-ouvert { position: fixed; left: 0; right: 0; overflow: hidden; }

    .lpm-nav-logo {
        display: block;
        position: absolute;
        top: 22px;
        left: 40px;
        line-height: 0;
        color: var(--lpm-encre);
    }
    .lpm-nav-logo .lpm-logo { height: 34px; width: auto; }
    .lpm-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 12px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--lpm-encre);
        cursor: pointer;
    }
    .lpm-nav-rubriques,
    .lpm-nav-pages {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        font-size: 1rem;
    }
    .lpm-nav-rubriques a,
    .lpm-nav-pages a:not(.lpm-nav-contact) {
        display: block;
        padding: 14px 0 12px;
        border-bottom: 1px solid var(--lpm-filet);
        font-family: var(--lpm-display);
        font-size: 2.25rem;
        line-height: 1.1;
        font-stretch: 100%;
        color: var(--lpm-encre);
    }
    .lpm-nav a[aria-current="page"]:not(.lpm-nav-contact) { box-shadow: none; color: var(--lpm-accent); }
    .lpm-nav-pages .lpm-nav-contact {
        display: inline-block;
        margin-top: 32px;
        padding: 15px 24px;
        background: var(--lpm-accent);
        color: #fff;
        font-size: .9375rem;
    }
    .lpm-nav-pages li:last-child { align-self: flex-start; }

    /* Ouverture */
    .lpm-ouverture { padding: 24px 0 64px; }
    .lpm-ouverture-grille { display: block; }
    .lpm-h1-nom { font-size: 3.875rem; line-height: .92; }
    .lpm-h1-but { margin-top: 12px; font-size: 1.25rem; }
    .lpm-ouverture .lpm-chapo { margin-top: 20px; font-size: 1rem; line-height: 1.55; }
    .lpm-ouverture .lpm-bouton { margin-top: 24px; }
    .lpm-releves { margin-top: 30px; padding-top: 12px; gap: 10px 28px; }
    .lpm-releve-n { font-size: 1.75rem; }
    .lpm-ouverture-sortie { margin: 40px 0 0 -19px; }
    .lpm-ouverture-fig { width: 100%; }
    .lpm-ouverture-legende { margin: 16px 0 0 19px; }
    .lpm-ouverture-titre { font-size: 1.625rem; }

    .lpm-pas { --lpm-pas: 40px; left: -1px; padding: 6px 0 5px; top: 20px; }
    .lpm-ouverture-sortie .lpm-pas { left: -1px; }
    .lpm-pas-l { font-size: .5rem; letter-spacing: .1em; }
    .lpm-pas-n { margin-top: 2px; font-size: 1.625rem; }

    /* En-têtes de section */
    .lpm-entete { display: block; margin-bottom: 32px; }
    .lpm-entete .lpm-h2 { text-align: left; font-size: 2.25rem; }
    .lpm-entete .lpm-label { margin-top: 10px; }
    .lpm-entete--suite { margin-top: 64px; }

    /* Le défilé : une grande sortie, trois petites */
    .lpm-flux { padding: 0 0 72px; }
    .lpm-defile { display: flex; flex-direction: column; gap: 40px; }
    .lpm-sortie {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        min-height: 0;
        margin-left: -19px;
    }
    .lpm-sortie + .lpm-sortie { margin-top: 0; }
    .lpm-sortie::after { display: none; }
    .lpm-sortie .lpm-pas { left: -1px; top: 14px; }
    .lpm-sortie-img { width: 120px; flex: 0 0 120px; }
    .lpm-sortie-texte { padding-top: 6px; max-width: none; text-align: left !important; }
    .lpm-sortie-titre { margin-top: 6px; font-size: 1.3125rem; line-height: 1.12; }
    .lpm-sortie-chapo { display: none; }

    .lpm-sortie--pleine { flex-direction: column; gap: 0; }
    .lpm-sortie--pleine .lpm-sortie-img { width: 100%; flex: none; }
    .lpm-sortie--pleine .lpm-pas { top: 20px; }
    .lpm-sortie--pleine .lpm-sortie-texte { padding: 16px 0 0 19px; }
    .lpm-sortie--pleine .lpm-sortie-titre { font-size: 1.625rem; line-height: 1.1; }
    .lpm-sortie--pleine .lpm-sortie-chapo { display: block; margin-top: 10px; font-size: .9375rem; line-height: 1.5; }

    /* La suite du programme : les numéros restent posés sur l'axe */
    .lpm-programme { display: block; border-top: 1px solid var(--lpm-encre); }
    .lpm-ligne,
    .lpm-ligne:nth-child(odd) {
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        gap: 4px 12px;
        min-height: 54px;
        padding: 15px 0 12px;
    }
    .lpm-ligne-num,
    .lpm-ligne:nth-child(odd) .lpm-ligne-num {
        position: absolute;
        left: -35px;
        top: 14px;
        width: 30px;
        background: var(--lpm-fond);
        text-align: center;
        font-size: 1.25rem;
    }
    .lpm-ligne-titre { flex: 1 1 100%; font-size: 1rem; }

    /* Le salut */
    .lpm-salut { padding: 48px 0 52px; }
    .lpm-salut-grille { display: block; }
    .lpm-salut-fig { justify-self: start; margin-left: -19px; width: 220px; }
    .lpm-salut-texte { padding: 22px 0 0; }
    .lpm-salut-nom { font-size: 2.625rem; line-height: 1; }
    .lpm-salut-bio { font-size: .9375rem; line-height: 1.55; }

    /* Les rubriques */
    .lpm-rubriques { padding: 64px 0 64px; }
    .lpm-rub-lien { display: block; min-height: 0; padding: 18px 0 20px; }
    .lpm-rub-nom { display: block; text-align: left; font-size: 2.75rem; }
    .lpm-rub-d { margin-top: 10px; flex-wrap: wrap; gap: 8px 14px; align-items: flex-start; }
    .lpm-picto { width: 30px; height: auto; }
    .lpm-rub-desc { flex: 1 1 200px; font-size: .9375rem; }
    .lpm-rub-compte { margin-left: 44px; flex-basis: 100%; }

    /* Pied */
    .lpm-pied-podium { padding-top: 56px; }
    .lpm-pied-grille {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "marque marque" "rub liens" "der der";
        gap: 28px 32px;
    }
    .lpm-pied-moitie { display: contents; }
    .lpm-pied-moitie--g { text-align: left; }
    .lpm-pied-marque { grid-area: marque; max-width: none; }
    .lpm-pied-marque .lpm-logo { margin-left: 0; width: 170px; }
    .lpm-pied-col--rub { grid-area: rub; min-width: 110px; }
    .lpm-pied-col--liens { grid-area: liens; }
    .lpm-pied-col--der { grid-area: der; max-width: none; }
    .lpm-bout { width: 41px; margin: 48px 0 0 0; }
    .lpm-colophon { text-align: left; padding: 18px 24px 28px 40px; }

    /* Coiffe */
    .lpm-coiffe { padding: 24px 0 56px; }
    .lpm-coiffe-grille { display: block; }
    .lpm-coiffe-texte { text-align: left; }
    .lpm-coiffe-titre { font-size: 3rem; }
    .lpm-coiffe-desc { margin-left: 0; font-size: 1rem; }
    .lpm-coiffe-fig { margin: 32px 0 0 -19px; width: calc(100% + 19px); max-width: 353px; }

    .lpm-edito { padding: 64px 0 72px; }
    .lpm-edito-titre { font-size: 2.125rem; }
    .lpm-edito-grille { display: flex; flex-direction: column-reverse; gap: 28px; margin-top: 28px; }
    .lpm-edito-fig { width: 100%; max-width: 353px; }

    /* Article */
    .lpm-art-tete { text-align: left; }
    .lpm-art-tete .lpm-cadre { text-align: left; }
    .lpm-art-axe { display: none; }
    .lpm-art-num { margin: 16px 0 20px; width: 40px; background: var(--lpm-fond); padding: 6px 0; }
    .lpm-art-num-l { font-size: .5rem; }
    .lpm-art-num-n { font-size: 1.625rem; }
    .lpm-article { position: relative; }
    .lpm-article::before {
        content: "";
        position: absolute;
        top: 0; bottom: 0;
        left: 20px;
        width: 1px;
        background: var(--lpm-accent);
        z-index: -1;
    }
    .lpm-art-titre { font-size: 2.375rem; line-height: 1.05; margin: 0; }
    .lpm-etoiles { justify-content: flex-start; }
    .lpm-une { margin: 32px 24px 0 40px; }
    .lpm-rang { padding-top: 32px; padding-bottom: 72px; }
    .entry-content { font-size: 1rem; line-height: 1.68; }
    .entry-content h2 { font-size: 1.75rem; }
    .entry-content h3 { font-size: 1.3125rem; }
    .lpm-auteur { grid-template-columns: 88px 1fr; gap: 18px; }
    .lpm-auteur-fig { width: 88px; }
    .lpm-similaires { padding: 64px 0 72px; }

    /* Pages */
    .lpm-contact-grille { display: block; }
    .lpm-contact-mot, .lpm-contact-form { max-width: none; }
    .lpm-contact-form { margin-top: 36px; }
    .lpm-plan-grille { display: block; }
    .lpm-plan-bloc + .lpm-plan-bloc { margin-top: 48px; }
    .lpm-reperes { grid-template-columns: 1fr; }
    .lpm-reperes li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--lpm-filet); margin-top: 16px; }
    .lpm-introuvable { text-align: left; }
}
