@charset "UTF-8";
/*
Theme Name: L'Agenceur Lyonnais
Theme URI: https://lagenceur-lyonnais.fr
Author: Agence Netlinqueen
Description: Archetype « L'Établi, assemblage à queue d'aronde ». Magazine maison, immobilier et travaux vu depuis l'atelier d'un ébéniste d'agencement. Papier chaud, bandes noyer, coutures de tenons, bronze olive, zéro rayon.
Version: 1.0.0
Text Domain: lagenceur-lyonnais
*/

/* ═══════════════════════════════════════════════════════════════
   1. Variables
   ═══════════════════════════════════════════════════════════════ */

:root {
    --agl-papier:    #F7F4EE;
    --agl-papier-2:  #EFEBE2;
    --agl-noyer:     #23201C;
    --agl-noyer-2:   #2C2823;
    --agl-encre:     #221F1A;
    --agl-texte:     #3A362F;
    --agl-gris:      #6E695F;
    --agl-accent:    #58604A;   /* bronze olive, écart canaux 22, 6,6:1 sur blanc */
    --agl-accent-2:  #A8AF95;   /* la même teinte, éclaircie pour les bandes noyer */
    --agl-filet:     #D7D2C8;
    --agl-filet-nuit:#3E3A33;

    --agl-max:    1160px;
    --agl-mesure: 660px;        /* mesure unique, en pixels : jamais en ch */
    --agl-piste:  108px;        /* la marge de repérage */
    --agl-marge:  28px;

    --agl-titre: 'Besley', 'Georgia', serif;
    --agl-texte-f: 'Anuphan', 'Helvetica Neue', Arial, sans-serif;

    /* la couture : un tenon de queue d'aronde par tuile de 96 px, biais 1:4,4 */
    --agl-couture-papier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28' viewBox='0 0 96 28'%3E%3Cpath d='M0 28L0 22L26 22L21 0L75 0L70 22L96 22L96 28Z' fill='%23F7F4EE'/%3E%3C/svg%3E");
    --agl-couture-noyer:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='28' viewBox='0 0 96 28'%3E%3Cpath d='M0 28L0 22L26 22L21 0L75 0L70 22L96 22L96 28Z' fill='%2323201C'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════
   2. Socle
   ═══════════════════════════════════════════════════════════════ */

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

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

body {
    margin: 0;
    background-color: var(--agl-papier);
    /* grain de papier : très léger, jamais une texture visible */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--agl-texte);
    font-family: var(--agl-texte-f);
    font-size: 17px;
    line-height: 1.72;
    font-weight: 400;
    overflow-x: hidden;
}

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

a { color: var(--agl-accent); text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--agl-titre);
    color: var(--agl-encre);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.012em;
    margin: 0 0 .6em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1.15em; }

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

button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--agl-accent);
    outline-offset: 3px;
}
.agl-nuit :focus-visible,
.agl-pied :focus-visible { outline-color: var(--agl-accent-2); }

.agl-saut {
    position: absolute; left: -9999px; top: 0; z-index: 400;
    background: var(--agl-noyer); color: var(--agl-papier);
    padding: 12px 20px; font-size: .86rem;
}
.agl-saut:focus { left: 12px; top: 12px; }

.agl-cadre {
    width: 100%;
    max-width: var(--agl-max);
    margin-inline: auto;
    padding-inline: var(--agl-marge);
}

/* ─── La couture : le seul joint entre deux bandes ───────────── */

.agl-couture {
    position: absolute;
    left: 0; right: 0; top: -28px;
    height: 28px;
    z-index: 4;
    pointer-events: none;
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 96px 28px;
}
.agl-couture--papier { background-image: var(--agl-couture-papier); }
.agl-couture--noyer  { background-image: var(--agl-couture-noyer); }

/* ─── Le repère d'atelier ────────────────────────────────────── */

.agl-rep {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--agl-titre);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--agl-accent);
}
.agl-tenon {
    display: inline-block;
    width: 10px; height: 12px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    flex-shrink: 0;
}
.agl-nuit .agl-rep, .agl-pied .agl-rep, .agl-hero .agl-rep { color: var(--agl-accent-2); }

.agl-surtitre {
    display: block;
    font-family: var(--agl-texte-f);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--agl-gris);
    margin-bottom: 14px;
}

/* ─── Le bouton : un tenon à l'échelle du doigt ──────────────── */

.agl-bouton {
    display: inline-block;
    padding: 17px 40px;
    background: var(--agl-accent);
    color: var(--agl-papier);
    font-family: var(--agl-titre);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .05em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 9px 100%);
    transition: background .28s ease;
}
.agl-bouton:hover { background: var(--agl-encre); }
.agl-bouton--clair { background: var(--agl-papier); color: var(--agl-encre); }
.agl-bouton--clair:hover { background: var(--agl-accent-2); color: var(--agl-encre); }

/* ═══════════════════════════════════════════════════════════════
   3. En-tête
   ═══════════════════════════════════════════════════════════════ */

.agl-barre {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}
.agl-barre--posee {
    background: var(--agl-papier);
    border-bottom-color: var(--agl-filet);
    box-shadow: 0 1px 14px rgba(34, 31, 26, .07);
}
body.agl-menu-ouvert .agl-barre { z-index: 300; }

.agl-barre-int {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
}
.agl-marque { display: inline-flex; align-items: center; flex-shrink: 0; }
.agl-marque svg { height: 32px; width: auto; }

/* Un wordmark SVG a son `fill` écrit en dur : il ne s'adapte pas au fond.
   Les deux variantes sont donc rendues, et c'est le CSS qui choisit. Le
   panneau du menu mobile est sur papier : il garde toujours la variante encre. */
.agl-marque-clair { display: none; }
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-marque-encre { display: none; }
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-marque-clair { display: block; }

.agl-nav { display: flex; align-items: center; gap: 30px; }
.agl-nav-liens { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.agl-nav-liens a {
    font-size: .93rem;
    font-weight: 500;
    color: var(--agl-texte);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, color .25s ease;
}
.agl-nav-liens a:hover { color: var(--agl-accent); border-bottom-color: var(--agl-accent); }

.agl-nav-contact {
    font-family: var(--agl-titre);
    font-size: .9rem;
    font-weight: 600;
    color: var(--agl-encre);
    border: 1px solid var(--agl-encre);
    padding: 11px 22px;
    transition: background .25s ease, color .25s ease;
}
.agl-nav-contact:hover { background: var(--agl-encre); color: var(--agl-papier); }

.agl-burger {
    display: none;
    background: none; border: 0; padding: 8px;
    color: var(--agl-encre); cursor: pointer;
}

/* Éléments propres au panneau mobile : masqués partout ailleurs. */
.agl-nav-close { display: none; }
.agl-nav-logo  { display: none; }

/* Header posé sur une photo : la barre est transparente, tout passe en clair. */
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-liens a,
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-burger { color: var(--agl-papier); }
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-liens a:hover { color: var(--agl-accent-2); border-bottom-color: var(--agl-accent-2); }
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-contact { color: var(--agl-papier); border-color: rgba(247, 244, 238, .7); }
body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-contact:hover { background: var(--agl-papier); color: var(--agl-encre); }

/* ═══════════════════════════════════════════════════════════════
   4. Hero d'accueil
   ═══════════════════════════════════════════════════════════════ */

.agl-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 190px 0 108px;
    background: var(--agl-noyer);
    overflow: hidden;
}
.agl-hero-fond { position: absolute; inset: 0; z-index: 0; }
.agl-hero-fond img { width: 100%; height: 100%; object-fit: cover; }
/* Le voile porte un z-index POSITIF : dans un conteneur à index négatif il se
   peindrait sous l'image et le titre deviendrait illisible. */
.agl-hero-voile {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(18, 16, 13, .78) 0%, rgba(18, 16, 13, .34) 32%, rgba(18, 16, 13, .90) 100%),
        linear-gradient(94deg, rgba(40, 45, 32, .62) 0%, rgba(40, 45, 32, .06) 64%);
}
.agl-hero > .agl-cadre { position: relative; z-index: 2; }

.agl-hero-bloc {
    max-width: 780px;
    animation: agl-emboite .8s cubic-bezier(.22, .68, .35, 1) both;
}
/* L'emboîtement au chargement part d'un état DÉJÀ LISIBLE (.72) et se termine
   toujours : aucun contenu ne dépend du JavaScript pour apparaître. */
@keyframes agl-emboite {
    from { transform: translateY(14px); opacity: .72; }
    to   { transform: none; opacity: 1; }
}

.agl-hero h1 {
    font-size: clamp(2.05rem, 4vw, 3.1rem);
    color: var(--agl-papier);
    margin: 18px 0 20px;
    letter-spacing: -0.02em;
}
.agl-hero h1 em { font-style: italic; color: var(--agl-accent-2); }
.agl-hero-sous {
    font-size: 1.1rem;
    color: #E3DED2;
    max-width: 620px;
    margin-bottom: 34px;
}

/* La ligne de cotes : trois relevés sur un panneau translucide. */
.agl-cotes {
    display: flex;
    flex-wrap: wrap;
    margin-top: 44px;
    border: 1px solid rgba(232, 227, 215, .28);
    background: rgba(22, 20, 16, .46);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 640px;
}
.agl-cote {
    flex: 1 1 0;
    padding: 20px 22px;
    border-right: 1px solid rgba(232, 227, 215, .22);
}
.agl-cote:last-child { border-right: 0; }
.agl-cote b {
    display: block;
    font-family: var(--agl-titre);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--agl-papier);
    line-height: 1;
    margin-bottom: 7px;
}
.agl-cote span {
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CFC9BB;
}

/* ═══════════════════════════════════════════════════════════════
   5. Les deux pistes
   ═══════════════════════════════════════════════════════════════ */

.agl-piste {
    display: grid;
    grid-template-columns: var(--agl-piste) 1fr;
    gap: 0 36px;
    align-items: start;
}
.agl-piste-marge { padding-top: 6px; }
.agl-piste-marge .agl-rep { display: flex; }

.agl-titre-section {
    font-size: 1.9rem;
    margin: 0 0 8px;
}
.agl-chapeau {
    color: var(--agl-gris);
    max-width: 560px;
    margin-bottom: 0;
}
.agl-tete { margin-bottom: 52px; }

/* ═══════════════════════════════════════════════════════════════
   6. Flux d'articles en quinconce
   ═══════════════════════════════════════════════════════════════ */

.agl-flux-section {
    position: relative;
    padding: 96px 0 116px;
    background: var(--agl-papier);
}

.agl-flux {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 44px;
    padding-bottom: 76px;
}
/* Le quinconce : la colonne de droite descend d'un demi-pas, comme deux
   rangées de tenons qui alternent. `transform` plutôt que `margin` pour ne
   pas gonfler la hauteur de chaque rangée de la grille. */
.agl-flux > article:nth-child(even) { transform: translateY(76px); }

.agl-carte { display: flex; flex-direction: column; }
.agl-carte-meta {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 26px 0 10px;
    flex-wrap: wrap;
}
.agl-carte-rub {
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--agl-gris);
}
.agl-carte h2, .agl-carte h3 { margin: 0 0 12px; font-size: 1.36rem; }
.agl-carte h2 a, .agl-carte h3 a { color: var(--agl-encre); transition: color .25s ease; }
.agl-carte:hover h2 a, .agl-carte:hover h3 a { color: var(--agl-accent); }
.agl-carte-extrait { color: var(--agl-gris); font-size: .97rem; margin: 0 0 14px; }
.agl-carte-pied {
    font-size: .8rem;
    color: var(--agl-gris);
    letter-spacing: .04em;
    border-top: 1px solid var(--agl-filet);
    padding-top: 12px;
}

/* ─── Le cadre d'encastrement ────────────────────────────────── */

.agl-vue { position: relative; margin: 0; }
.agl-vue-filet {
    position: absolute;
    left: 11px; top: 11px; right: -11px; bottom: -11px;
    border: 1px solid var(--agl-accent);
    transition: inset .4s cubic-bezier(.25, .7, .3, 1), left .4s cubic-bezier(.25, .7, .3, 1),
                top .4s cubic-bezier(.25, .7, .3, 1), right .4s cubic-bezier(.25, .7, .3, 1),
                bottom .4s cubic-bezier(.25, .7, .3, 1);
    z-index: 0;
}
.agl-vue img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--agl-papier-2);
}
.agl-carte:hover .agl-vue-filet,
.agl-rub:hover .agl-vue-filet { left: 0; top: 0; right: 0; bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   7. Bande persona
   ═══════════════════════════════════════════════════════════════ */

.agl-nuit {
    position: relative;
    background: var(--agl-noyer);
    color: #DCD6C9;
    padding: 118px 0 110px;
}
.agl-nuit h2, .agl-nuit h3 { color: var(--agl-papier); }

.agl-persona {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}
/* Le portrait est le seul visuel vertical du site : il a sa propre classe,
   jamais le cadrage paysage des autres vues. Rendu à trois endroits
   (home, front-page, bloc auteur), d'où une règle non scopée à un parent. */
.agl-portrait { position: relative; margin: 0; }
.agl-portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
    background: var(--agl-noyer-2);
}
.agl-portrait-filet {
    position: absolute;
    left: 13px; top: 13px; right: -13px; bottom: -13px;
    border: 1px solid var(--agl-accent-2);
    z-index: 0;
}

.agl-persona-nom { font-size: 2rem; margin: 14px 0 4px; }
.agl-persona-role {
    font-size: .82rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--agl-accent-2);
    margin-bottom: 26px;
}
.agl-persona-bio { max-width: 620px; }
.agl-persona-bio p { color: #DCD6C9; }
.agl-persona-bio ul { margin: 0 0 1.2em; }
.agl-persona-bio li {
    position: relative;
    padding-left: 22px;
    margin-bottom: .55em;
    color: #DCD6C9;
}
.agl-persona-bio li::before {
    content: '';
    position: absolute;
    left: 0; top: .58em;
    width: 10px; height: 12px;
    background: var(--agl-accent-2);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
.agl-persona-bio strong { color: var(--agl-papier); font-weight: 600; }
.agl-persona .agl-bouton { margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════
   8. Rubriques
   ═══════════════════════════════════════════════════════════════ */

.agl-rubs-section {
    position: relative;
    background: var(--agl-papier);
    padding: 108px 0 118px;
}
.agl-rubs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 54px 44px;
}
.agl-rub { display: block; }
.agl-rub-corps {
    border-top: 1px solid var(--agl-filet);
    padding-top: 22px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
    align-items: start;
}
.agl-picto { color: var(--agl-accent); flex-shrink: 0; }
.agl-rub h3 { margin: 0 0 8px; font-size: 1.44rem; color: var(--agl-encre); transition: color .25s ease; }
.agl-rub:hover h3 { color: var(--agl-accent); }
.agl-rub p { color: var(--agl-gris); font-size: .97rem; margin: 0 0 12px; }
.agl-rub-compte {
    font-family: var(--agl-titre);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--agl-accent);
}

/* ═══════════════════════════════════════════════════════════════
   9. Coiffes de page (archive, article, pages)
   ═══════════════════════════════════════════════════════════════ */

.agl-coiffe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 62vh;
    padding: 190px 0 108px;
    background: var(--agl-noyer);
    overflow: hidden;
}
.agl-coiffe--haute { min-height: 84vh; }
.agl-coiffe-fond { position: absolute; inset: 0; z-index: 0; }
.agl-coiffe-fond img { width: 100%; height: 100%; object-fit: cover; }
.agl-coiffe-voile {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 14, 12, .80) 0%, rgba(16, 14, 12, .62) 46%, rgba(16, 14, 12, .88) 100%);
}
.agl-coiffe-int {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    margin-inline: auto;
    padding-inline: var(--agl-marge);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.agl-coiffe h1 {
    color: var(--agl-papier);
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    margin: 16px 0 18px;
}
.agl-coiffe-desc,
.agl-coiffe-desc p {
    color: #E6E1D6 !important;
    font-size: 1.06rem;
    max-width: 660px;
    margin-inline: auto;
}
.agl-coiffe-desc p:last-child { margin-bottom: 0; }
.agl-coiffe .agl-surtitre { color: var(--agl-accent-2); }

/* Fil d'Ariane */
.agl-fil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .8rem;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.agl-fil a { color: #CFC9BB; }
.agl-fil a:hover { color: var(--agl-papier); text-decoration: underline; }
.agl-fil-courant { color: #9A948A; }
.agl-fil-sep {
    display: inline-block;
    width: 7px; height: 9px;
    background: var(--agl-accent-2);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
.agl-fil--encre a { color: var(--agl-gris); }
.agl-fil--encre a:hover { color: var(--agl-accent); }
.agl-fil--encre .agl-fil-courant { color: var(--agl-gris); }
.agl-fil--encre .agl-fil-sep { background: var(--agl-accent); }

.agl-coiffe-notes { margin-top: 20px; }
.agl-coiffe-notes .kk-star-ratings { justify-content: center; }

.agl-coiffe-ligne {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 20px;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #CFC9BB;
}

/* ═══════════════════════════════════════════════════════════════
   10. Archive
   ═══════════════════════════════════════════════════════════════ */

.agl-archive {
    position: relative;
    background: var(--agl-papier);
    padding: 96px 0 104px;
}
.agl-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 58px 38px;
}
.agl-grille .agl-carte h2,
.agl-grille .agl-carte h3 { font-size: 1.2rem; }

.agl-vide {
    border: 1px solid var(--agl-filet);
    padding: 44px;
    color: var(--agl-gris);
}

/* ─── Bloc éditorial de bas d'archive ────────────────────────── */

.agl-edito {
    position: relative;
    background: var(--agl-papier-2);
    padding: 92px 0 96px;
    border-top: 1px solid var(--agl-filet);
}
.agl-edito-titre { font-size: 1.85rem; max-width: 820px; margin-bottom: 40px; }
.agl-edito-grille {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: center;
}
.agl-edito-texte p { color: var(--agl-texte); }
.agl-edito-liste { margin: 0 0 1.3em; }
.agl-edito-liste li {
    position: relative;
    padding-left: 26px;
    margin-bottom: .6em;
}
.agl-edito-liste li::before {
    content: '';
    position: absolute;
    left: 0; top: .56em;
    width: 10px; height: 12px;
    background: var(--agl-accent);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
.agl-edito-vue .agl-vue img { aspect-ratio: 4 / 3; }

/* ═══════════════════════════════════════════════════════════════
   11. Article
   ═══════════════════════════════════════════════════════════════ */

.agl-article {
    position: relative;
    background: var(--agl-papier);
    padding: 88px 0 100px;
}
/* Tous les blocs de l'article partagent la même mesure, centrée : la ligne de
   méta, l'image, le résumé, les étiquettes et le bloc auteur compris. */
.agl-lecture {
    max-width: var(--agl-mesure);
    margin-inline: auto;
}
.agl-article-vue { margin: 0 auto 44px; }
.agl-article-vue img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
.agl-article-vue figcaption {
    font-size: .82rem;
    color: var(--agl-gris);
    padding-top: 10px;
    border-top: 1px solid var(--agl-filet);
    margin-top: 12px;
}
.agl-resume { margin: 0 auto 40px; }

.entry-content { font-size: 1.06rem; }
.entry-content h2 { font-size: 1.62rem; margin: 1.9em 0 .55em; }
.entry-content h3 { font-size: 1.24rem; margin: 1.6em 0 .5em; }
.entry-content a { color: var(--agl-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin: 1.6em 0; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding: 4px 0 4px 26px;
    border-left: 2px solid var(--agl-accent);
    font-family: var(--agl-titre);
    font-size: 1.12rem;
    font-style: italic;
    color: var(--agl-encre);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--agl-filet); padding: 10px 14px; text-align: left; }

/* ── Bullets décoratifs entry-content : le tenon en queue d'aronde ── */
.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.52em;
    width: 10px;
    height: 12px;
    background: var(--agl-accent);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);  /* tenon, biais 1:5 */
    flex-shrink: 0;
}
.entry-content ol li { margin-bottom: 0.5em; }

.agl-etiquettes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 46px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--agl-filet);
}
.agl-etiquettes a {
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--agl-gris);
    border: 1px solid var(--agl-filet);
    padding: 6px 14px;
    transition: border-color .25s ease, color .25s ease;
}
.agl-etiquettes a:hover { color: var(--agl-accent); border-color: var(--agl-accent); }

/* ─── Bloc auteur ────────────────────────────────────────────── */

.agl-auteur {
    margin: 58px auto 0;
    padding: 34px 0 0;
    border-top: 1px solid var(--agl-filet);
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 34px;
    align-items: start;
}
.agl-auteur .agl-portrait-filet { border-color: var(--agl-accent); }
.agl-auteur h2 { font-size: 1.28rem; margin: 0 0 3px; }
.agl-auteur-role {
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--agl-accent);
    margin-bottom: 14px;
}
.agl-auteur p { font-size: .97rem; color: var(--agl-gris); margin-bottom: .7em; }

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

.agl-similaires {
    position: relative;
    background: var(--agl-papier-2);
    border-top: 1px solid var(--agl-filet);
    padding: 88px 0 96px;
}
.agl-similaires .agl-grille { gap: 44px 38px; }

/* ═══════════════════════════════════════════════════════════════
   12. Pages
   ═══════════════════════════════════════════════════════════════ */

.agl-page { position: relative; background: var(--agl-papier); padding: 88px 0 104px; }
.agl-page-corps { max-width: var(--agl-mesure); margin-inline: auto; }
.agl-page-corps h2 { font-size: 1.5rem; margin: 1.9em 0 .5em; }
.agl-page-corps h2:first-child { margin-top: 0; }
.agl-page-corps a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.agl-contact {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 66px;
    align-items: start;
}
.agl-contact-intro p { color: var(--agl-texte); }
.agl-contact-coord {
    margin-top: 30px;
    border-top: 1px solid var(--agl-filet);
    padding-top: 22px;
}
.agl-contact-coord dt {
    font-size: .76rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--agl-gris);
    margin-bottom: 4px;
}
.agl-contact-coord dd {
    margin: 0 0 18px;
    font-family: var(--agl-titre);
    font-size: 1.02rem;
    color: var(--agl-encre);
}
.agl-formulaire {
    border: 1px solid var(--agl-filet);
    background: var(--agl-papier-2);
    padding: 38px;
}
.agl-formulaire h2 { font-size: 1.35rem; margin-bottom: 22px; }
.wpcf7-form p { display: flex; flex-direction: column; margin-bottom: 18px; }
.wpcf7-form label {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--agl-gris);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wpcf7-form br { display: none; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    font-family: var(--agl-texte-f);
    font-size: 1rem;
    color: var(--agl-texte);
    background: var(--agl-papier);
    border: 1px solid var(--agl-filet);
    padding: 13px 15px;
    width: 100%;
    text-transform: none;
    letter-spacing: normal;
    transition: border-color .25s ease;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--agl-accent); outline: none; }
.wpcf7-form textarea { min-height: 168px; resize: vertical; }
.wpcf7-form input[type="submit"] {
    width: 100%;
    background: var(--agl-accent);
    color: var(--agl-papier);
    border: 0;
    font-family: var(--agl-titre);
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 17px 24px;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 9px 100%);
    transition: background .28s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--agl-encre); }

/* Plan du site */
.agl-plan-bloc { margin-bottom: 52px; }
.agl-plan-bloc h2 {
    font-size: 1.44rem;
    border-bottom: 1px solid var(--agl-filet);
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.agl-plan-liste li { position: relative; padding-left: 24px; margin-bottom: .5em; }
.agl-plan-liste li::before {
    content: '';
    position: absolute;
    left: 0; top: .6em;
    width: 9px; height: 11px;
    background: var(--agl-accent);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
.agl-plan-liste a { color: var(--agl-texte); }
.agl-plan-liste a:hover { color: var(--agl-accent); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   13. Pied : le cartouche d'atelier
   ═══════════════════════════════════════════════════════════════ */

.agl-pied {
    position: relative;
    background: var(--agl-noyer);
    color: #C9C3B6;
    padding: 108px 0 0;
}
.agl-pied-grille {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
    gap: 0;
}
.agl-pied-col {
    padding: 0 34px;
    border-left: 1px solid var(--agl-filet-nuit);
}
.agl-pied-col:first-child { padding-left: 0; border-left: 0; }
.agl-pied-col:last-child { padding-right: 0; }
.agl-pied-col h2 {
    font-family: var(--agl-titre);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--agl-accent-2);
    margin-bottom: 20px;
}
.agl-pied-marque svg { height: 30px; width: auto; margin-bottom: 20px; }
.agl-pied p { font-size: .93rem; color: #ADA79A; }
.agl-pied-liste li { position: relative; padding-left: 20px; margin-bottom: .58em; }
.agl-pied-liste li::before {
    content: '';
    position: absolute;
    left: 0; top: .62em;
    width: 8px; height: 10px;
    background: var(--agl-accent-2);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}
.agl-pied-liste a { color: #C9C3B6; font-size: .94rem; transition: color .25s ease; }
.agl-pied-liste a:hover { color: var(--agl-papier); text-decoration: underline; }

.agl-colophon {
    margin-top: 76px;
    border-top: 1px solid var(--agl-filet-nuit);
    padding: 24px 0 28px;
    font-size: .84rem;
    color: #8F8A7E;
    letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════
   14. Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
    .agl-edito-grille { grid-template-columns: 1fr 340px; gap: 40px; }
    .agl-persona { grid-template-columns: 280px 1fr; gap: 44px; }
    .agl-grille { grid-template-columns: repeat(2, 1fr); }
    .agl-pied-grille { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .agl-pied-col:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
    .agl-nav-liens, .agl-nav-contact { display: none; }
    .agl-burger { display: inline-flex; }

    /* Le panneau mobile : opaque, plein écran, et sorti du flux du header. */
    .agl-nav {
        position: fixed;
        inset: 0;
        z-index: 320;
        background: var(--agl-papier);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 26px var(--agl-marge) 44px;
        transform: translateX(100%);
        transition: transform .34s cubic-bezier(.3, .7, .3, 1);
        overflow-y: auto;
    }
    body.agl-menu-ouvert .agl-nav { transform: none; }
    body.agl-menu-ouvert { position: fixed; left: 0; right: 0; width: 100%; }

    .agl-nav-logo { display: block; margin-bottom: 8px; }
    .agl-nav-logo svg { height: 30px; width: auto; }
    .agl-nav-close {
        display: inline-flex;
        position: absolute;
        top: 30px; right: var(--agl-marge);
        background: none; border: 0; padding: 8px;
        color: var(--agl-encre); cursor: pointer;
    }
    .agl-nav-liens {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        margin-top: 34px;
    }
    .agl-nav-liens a {
        display: block;
        width: 100%;
        font-family: var(--agl-titre);
        font-size: 1.42rem;
        font-weight: 600;
        color: var(--agl-encre);
        padding: 17px 0;
        border-bottom: 1px solid var(--agl-filet);
    }
    .agl-nav-liens a:hover { border-bottom-color: var(--agl-filet); }
    .agl-nav-contact {
        display: inline-block;
        margin-top: 32px;
        color: var(--agl-encre);
        border-color: var(--agl-encre);
        padding: 14px 28px;
    }
    /* Dans le panneau, le chrome est toujours sur papier : la variante claire
       du wordmark y serait illisible, quel que soit le gabarit. */
    body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-liens a,
    body.agl-sur-photo .agl-barre:not(.agl-barre--posee) .agl-nav-contact {
        color: var(--agl-encre);
        border-color: var(--agl-encre);
    }
}

@media (max-width: 860px) {
    .agl-piste { grid-template-columns: 1fr; gap: 0; }
    .agl-piste-marge { margin-bottom: 14px; }
    .agl-flux { grid-template-columns: 1fr; gap: 54px; padding-bottom: 0; }
    .agl-flux > article:nth-child(even) { transform: none; }
    .agl-rubs { grid-template-columns: 1fr; gap: 46px; }
    .agl-persona { grid-template-columns: 1fr; gap: 46px; }
    .agl-portrait { max-width: 320px; }
    .agl-portrait img { aspect-ratio: 3 / 4; }
    .agl-edito-grille { grid-template-columns: 1fr; gap: 34px; }
    .agl-edito-vue { order: -1; }
    .agl-contact { grid-template-columns: 1fr; gap: 42px; }
    .agl-cotes { max-width: none; }
}

@media (max-width: 640px) {
    :root { --agl-marge: 20px; }
    body { font-size: 16.5px; }
    .agl-hero { min-height: 88vh; padding: 148px 0 76px; }
    .agl-coiffe { min-height: 60vh; padding: 148px 0 76px; }
    .agl-coiffe--haute { min-height: 68vh; }
    .agl-grille { grid-template-columns: 1fr; gap: 48px; }
    .agl-cotes { flex-direction: column; }
    .agl-cote { border-right: 0; border-bottom: 1px solid rgba(232, 227, 215, .22); }
    .agl-cote:last-child { border-bottom: 0; }
    .agl-auteur { grid-template-columns: 1fr; gap: 26px; }
    .agl-auteur .agl-portrait { max-width: 168px; }
    .agl-pied-grille { grid-template-columns: 1fr; row-gap: 40px; text-align: center; }
    .agl-pied-col { padding: 0; border-left: 0; }
    .agl-pied-liste li { padding-left: 0; }
    .agl-pied-liste li::before { display: none; }
    .agl-pied-marque { display: flex; justify-content: center; }
    .agl-formulaire { padding: 26px 22px; }
    .agl-flux-section { padding: 72px 0 84px; }
    .agl-nuit { padding: 88px 0 84px; }
    .agl-rubs-section { padding: 80px 0 88px; }
    .agl-colophon { text-align: center; }
    .agl-rub-corps { grid-template-columns: 1fr; gap: 14px; }
}

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