/* ============================================================
   La Maison Marie — Archetype I : Éditorial luxe
   Variables — Reset — Header — Hero — Editorial Feed
   Persona — Selection éditoriale — Footer — Single — Archive
============================================================ */

/* ---- Variables ---- */
:root {
    --lm-bg:         #FAF7F2;
    --lm-bg-soft:    #F3EDE3;
    --lm-bg-dark:    #1A1714;
    --lm-text:       #2A2520;
    --lm-text-soft:  #5C5249;
    --lm-muted:      #8A8076;
    --lm-accent:     #A67C52;
    --lm-cta:        #8C6239;
    --lm-cta-hover:  #6E4D2D;
    --lm-line:       rgba(42, 37, 32, 0.10);
    --lm-line-strong: rgba(42, 37, 32, 0.18);
    --hh:            76px;
    --container:     1240px;
    --container-narrow: 920px;
    --font-head:     'EB Garamond', 'Times New Roman', serif;
    --font-body:     'Manrope', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--lm-bg);
    color: var(--lm-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.lm-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}
.lm-container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 40px;
}

/* ====================================================
   HEADER — minimaliste éditorial
==================================================== */
.lm-site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--hh);
    display: flex;
    align-items: center;
    padding: 0;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.lm-site-header.scrolled {
    background: rgba(250, 247, 242, 0.97);
    border-bottom-color: var(--lm-line);
}
.has-hero .lm-site-header:not(.scrolled) {
    background: transparent;
}
.lm-header-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.lm-logo { display: flex; align-items: center; color: var(--lm-text); }
.lm-logo svg { width: 168px; height: 38px; }

/* Nav */
.lm-site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.lm-site-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lm-text-soft);
    transition: color 0.2s;
    position: relative;
}
.lm-site-nav a:hover { color: var(--lm-text); }
.lm-site-nav .menu-contact {
    padding: 9px 22px;
    border: 1px solid var(--lm-text);
    color: var(--lm-text);
    font-size: 0.7rem;
    transition: background 0.2s, color 0.2s;
}
.lm-site-nav .menu-contact:hover {
    background: var(--lm-text);
    color: var(--lm-bg);
}

/* En mode hero transparent : liens blancs */
.has-hero .lm-site-header:not(.scrolled) .lm-site-nav a { color: rgba(250, 247, 242, 0.85); }
.has-hero .lm-site-header:not(.scrolled) .lm-site-nav a:hover { color: #fff; }
.has-hero .lm-site-header:not(.scrolled) .lm-site-nav .menu-contact {
    border-color: rgba(250, 247, 242, 0.7);
    color: #fff;
}
.has-hero .lm-site-header:not(.scrolled) .lm-site-nav .menu-contact:hover {
    background: #fff;
    color: var(--lm-text);
}

/* Burger */
.lm-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 201;
}
.lm-nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--lm-text);
    transition: transform 0.25s, opacity 0.25s, background 0.25s;
}
.has-hero .lm-site-header:not(.scrolled) .lm-nav-toggle span { background: #fff; }
.lm-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lm-nav-toggle.active span:nth-child(2) { opacity: 0; }
.lm-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav close + mobile logo */
.lm-nav-close {
    display: none;
    position: absolute;
    top: 24px; right: 24px;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--lm-text);
    cursor: pointer;
}
.lm-nav-logo { display: none; }

/* ====================================================
   HERO — Archetype I : Plein écran, un seul grand titre
==================================================== */
.lm-hero-feature {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lm-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 23, 20, 0.10) 0%,
        rgba(26, 23, 20, 0.30) 55%,
        rgba(26, 23, 20, 0.78) 100%
    );
}
.lm-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px 80px;
    color: #fff;
}
.lm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(250, 247, 242, 0.85);
    margin-bottom: 36px;
}
.lm-hero-eyebrow::before {
    content: '';
    display: block;
    width: 42px;
    height: 1px;
    background: var(--lm-accent);
}
.lm-hero-feature h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(3rem, 7.2vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    max-width: 1000px;
    color: #fff;
    margin-bottom: 28px;
}
.lm-hero-feature h1 em {
    font-style: italic;
    color: rgba(250, 247, 242, 0.92);
    font-weight: 400;
}
.lm-hero-sub {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(250, 247, 242, 0.72);
    max-width: 560px;
    margin-bottom: 40px;
}
.lm-hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.lm-link-underline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--lm-accent);
    transition: border-color 0.25s, gap 0.25s;
}
.lm-link-underline:hover { gap: 18px; border-color: #fff; }
.lm-hero-meta {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(250, 247, 242, 0.18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.lm-meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lm-meta-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
}
.lm-meta-label {
    font-size: 0.7rem;
    color: rgba(250, 247, 242, 0.55);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ====================================================
   FEED ÉDITORIAL — 2 col grands espaces blancs
==================================================== */
.lm-feed-editorial {
    background: var(--lm-bg);
    padding: 120px 0;
}
.lm-section-intro {
    max-width: var(--container);
    margin: 0 auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}
.lm-section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.lm-section-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--lm-accent);
}
.lm-section-intro h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    color: var(--lm-text);
    max-width: 600px;
}
.lm-section-intro h2 em {
    font-style: italic;
    color: var(--lm-accent);
}
.lm-section-aside {
    font-size: 0.95rem;
    color: var(--lm-text-soft);
    line-height: 1.75;
    max-width: 440px;
    justify-self: end;
}

/* Pieces : 2 colonnes avec grands espaces blancs */
.lm-feed-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 100px;
}
.lm-piece {
    cursor: pointer;
}
.lm-piece:nth-child(odd) { margin-top: 0; }
.lm-piece:nth-child(even) { margin-top: 80px; }
.lm-piece a { display: block; }
.lm-piece-img-wrap {
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--lm-bg-soft);
}
.lm-piece-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.lm-piece:hover .lm-piece-img { transform: scale(1.04); }
.lm-piece-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 16px;
}
.lm-piece h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
    color: var(--lm-text);
    margin-bottom: 14px;
    transition: color 0.25s;
}
.lm-piece:hover h3 { color: var(--lm-cta); }
.lm-piece-excerpt {
    font-size: 0.95rem;
    color: var(--lm-text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
}
.lm-byline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--lm-muted);
    letter-spacing: 0.04em;
}
.lm-byline .dot { width: 3px; height: 3px; background: var(--lm-muted); border-radius: 50%; }

/* ====================================================
   PERSONA — Grande photo portrait + texte en regard
==================================================== */
.lm-persona-spread {
    background: var(--lm-bg-soft);
    padding: 140px 0;
}
.lm-persona-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 100px;
    align-items: center;
}
.lm-persona-portrait {
    position: relative;
}
.lm-persona-portrait img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
}
.lm-persona-portrait::after {
    content: '';
    position: absolute;
    bottom: -28px; right: -28px;
    width: 60%; height: 60%;
    border: 1px solid var(--lm-accent);
    z-index: -1;
}
.lm-persona-text {
    padding: 12px 0;
}
.lm-persona-role {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.lm-persona-role::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--lm-accent);
}
.lm-persona-text h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--lm-text);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}
.lm-persona-text h2 em { font-style: italic; }
.lm-persona-bio {
    font-size: 1.0625rem;
    color: var(--lm-text-soft);
    line-height: 1.8;
    max-width: 540px;
}
.lm-persona-bio p { margin-bottom: 14px; }
.lm-persona-bio p:last-child { margin-bottom: 0; }
.lm-persona-bio ul { padding-left: 0; margin: 14px 0; }
.lm-persona-bio li {
    padding: 4px 0 4px 24px;
    position: relative;
    font-size: 1rem;
}
.lm-persona-bio li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--lm-accent);
}
.lm-persona-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lm-text);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--lm-accent);
    transition: gap 0.25s;
}
.lm-persona-cta:hover { gap: 18px; }

/* ====================================================
   SÉLECTION ÉDITORIALE (catégories)
==================================================== */
.lm-selection {
    background: var(--lm-bg);
    padding: 140px 0;
}
.lm-selection-head {
    max-width: var(--container);
    margin: 0 auto 80px;
    padding: 0 40px;
    text-align: center;
}
.lm-selection-head h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--lm-text);
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.lm-selection-head h2 em { font-style: italic; color: var(--lm-accent); }
.lm-selection-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.lm-selection-card {
    cursor: pointer;
    text-align: left;
    transition: transform 0.4s;
}
.lm-selection-card:hover { transform: translateY(-6px); }
.lm-selection-img {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 24px;
}
.lm-selection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.lm-selection-card:hover .lm-selection-img img { transform: scale(1.06); }
.lm-selection-num {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--lm-accent);
    margin-bottom: 10px;
}
.lm-selection-name {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--lm-text);
    margin-bottom: 10px;
    line-height: 1.15;
}
.lm-selection-desc {
    font-size: 0.875rem;
    color: var(--lm-text-soft);
    line-height: 1.6;
    margin-bottom: 14px;
}
.lm-selection-count {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

/* ====================================================
   FOOTER — Très minimaliste, ligne fine
==================================================== */
.lm-site-footer {
    background: var(--lm-bg);
    border-top: 1px solid var(--lm-line);
    padding: 64px 0 24px;
}
.lm-footer-top {
    max-width: var(--container);
    margin: 0 auto 48px;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    flex-wrap: wrap;
}
.lm-footer-brand {
    max-width: 360px;
}
.lm-footer-brand .lm-logo svg { width: 168px; height: 38px; }
.lm-footer-desc {
    font-size: 0.875rem;
    color: var(--lm-muted);
    line-height: 1.65;
    margin-top: 16px;
}
.lm-footer-nav {
    display: flex;
    gap: 56px;
}
.lm-footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lm-text);
    margin-bottom: 16px;
}
.lm-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.lm-footer-col a {
    font-size: 0.875rem;
    color: var(--lm-text-soft);
    transition: color 0.2s;
}
.lm-footer-col a:hover { color: var(--lm-cta); }
.lm-footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 40px 0;
    border-top: 1px solid var(--lm-line);
    text-align: center;
}
.lm-footer-bottom p {
    font-size: 0.75rem;
    color: var(--lm-muted);
    letter-spacing: 0.04em;
}

/* ====================================================
   SINGLE ARTICLE
==================================================== */
.lm-post-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lm-post-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lm-post-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,23,20,0.10) 0%, rgba(26,23,20,0.78) 100%);
}
.lm-post-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 40px 80px;
    color: #fff;
}
.lm-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 247, 242, 0.7);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lm-breadcrumb a { color: rgba(250, 247, 242, 0.7); transition: color 0.2s; }
.lm-breadcrumb a:hover { color: #fff; }
.lm-bc-sep { opacity: 0.4; }
.lm-post-cat-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lm-accent);
    cursor: pointer;
}
.lm-post-hero h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 28px;
    max-width: 800px;
    letter-spacing: -0.01em;
}
.lm-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(250, 247, 242, 0.7);
    letter-spacing: 0.06em;
}
.lm-post-meta .sep { opacity: 0.4; }
.lm-post-stars { margin-top: 16px; }

/* Article body */
.lm-post-body {
    background: var(--lm-bg);
    padding: 96px 0;
}
.lm-post-layout {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
}
.lm-summary-block {
    border-left: 2px solid var(--lm-accent);
    padding: 8px 0 8px 28px;
    margin-bottom: 56px;
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--lm-text-soft);
    max-width: 720px;
}
.lm-featured-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 56px;
    border-radius: 0;
}
.entry-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--lm-text);
}
.entry-content h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.9rem;
    color: var(--lm-text);
    margin: 56px 0 20px;
    letter-spacing: -0.01em;
}
.entry-content h3 {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--lm-text);
    margin: 36px 0 14px;
}
.entry-content p { margin-bottom: 24px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 24px; }
.entry-content li { margin-bottom: 10px; }
.entry-content a {
    color: var(--lm-cta);
    text-decoration: underline;
    text-decoration-color: rgba(140, 98, 57, 0.4);
    text-underline-offset: 4px;
}
.entry-content a:hover { text-decoration-color: var(--lm-cta); }
.entry-content blockquote {
    border-left: 2px solid var(--lm-accent);
    padding: 4px 0 4px 28px;
    margin: 36px 0;
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--lm-text);
    line-height: 1.5;
}
.entry-content img { margin: 28px 0; }

/* Tags */
.lm-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--lm-line);
}
.lm-post-tags a {
    padding: 6px 16px;
    border: 1px solid var(--lm-line-strong);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--lm-text-soft);
    transition: border-color 0.2s, color 0.2s;
}
.lm-post-tags a:hover { border-color: var(--lm-cta); color: var(--lm-cta); }

/* Author block */
.lm-author-block {
    margin-top: 72px;
    padding: 48px 0;
    border-top: 1px solid var(--lm-line);
    border-bottom: 1px solid var(--lm-line);
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.lm-author-photo {
    width: 120px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
}
.lm-author-info { flex: 1; }
.lm-author-info h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--lm-text);
    margin-bottom: 6px;
}
.lm-author-role {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 18px;
    display: block;
}
.lm-author-bio {
    font-size: 0.9375rem;
    color: var(--lm-text-soft);
    line-height: 1.75;
}
.lm-author-bio p { margin-bottom: 8px; }

/* Related */
.lm-related {
    padding: 96px 0;
    background: var(--lm-bg-soft);
}
.lm-related-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}
.lm-related h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--lm-text);
    margin-bottom: 56px;
    max-width: 600px;
}
.lm-related h2 em { font-style: italic; color: var(--lm-accent); }
.lm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.lm-related-item {
    cursor: pointer;
}
.lm-related-item a { display: block; }
.lm-related-img-wrap { overflow: hidden; margin-bottom: 20px; }
.lm-related-item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.5s;
}
.lm-related-item:hover img { transform: scale(1.04); }
.lm-related-item h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--lm-text);
    transition: color 0.2s;
}
.lm-related-item:hover h3 { color: var(--lm-cta); }

/* ====================================================
   ARCHIVE
==================================================== */
.lm-archive-cover {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.lm-archive-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lm-archive-cover-veil {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 20, 0.65);
}
.lm-archive-cover-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--hh) + 60px) 40px 60px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lm-archive-cover h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.lm-archive-cover-desc {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(250, 247, 242, 0.78);
}
.lm-archive-cover-desc p {
    color: rgba(250, 247, 242, 0.78) !important;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.lm-archive-count {
    margin-top: 28px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--lm-accent);
}

/* Archive grid */
.lm-archive-section {
    background: var(--lm-bg);
    padding: 96px 0;
}
.lm-archive-section > h2 {
    max-width: var(--container);
    margin: 0 auto 64px;
    padding: 0 40px;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--lm-text);
    border-bottom: 1px solid var(--lm-line);
    padding-bottom: 24px;
}
.lm-archive-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
    row-gap: 80px;
}
.lm-archive-item {
    cursor: pointer;
}
.lm-archive-item a { display: block; }
.lm-archive-item-img-wrap { overflow: hidden; margin-bottom: 24px; }
.lm-archive-item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s;
}
.lm-archive-item:hover img { transform: scale(1.04); }
.lm-archive-item-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lm-accent);
    margin-bottom: 14px;
}
.lm-archive-item h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--lm-text);
    line-height: 1.2;
    margin-bottom: 12px;
    transition: color 0.25s;
}
.lm-archive-item:hover h3 { color: var(--lm-cta); }
.lm-archive-item-meta {
    font-size: 0.75rem;
    color: var(--lm-muted);
    letter-spacing: 0.04em;
}

/* SEO Block */
.lm-seo-zone {
    background: var(--lm-bg-soft);
    padding: 96px 0;
}
.lm-seo-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 80px;
    align-items: center;
}
.lm-seo-text h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--lm-text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}
.lm-seo-text p {
    font-size: 1rem;
    color: var(--lm-text-soft);
    line-height: 1.8;
    margin-bottom: 20px;
}
.lm-seo-text ul { margin-bottom: 20px; }
.lm-seo-text li {
    font-size: 0.95rem;
    color: var(--lm-text-soft);
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lm-arrow {
    color: var(--lm-accent);
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}
.lm-seo-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(42, 37, 32, 0.18);
    transition: transform 0.5s;
    cursor: pointer;
}
.lm-seo-img img:hover { transform: scale(1.02); }

/* ====================================================
   PAGE HERO (contact, mentions, plan)
==================================================== */
.lm-page-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.lm-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.lm-page-hero-veil {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 20, 0.62);
}
.lm-page-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--hh) + 56px) 40px 56px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lm-page-hero h1 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.lm-page-body {
    background: var(--lm-bg);
    padding: 96px 0;
}

/* ====================================================
   CONTACT
==================================================== */
.lm-contact-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
}
.lm-contact-info h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--lm-text);
    margin-bottom: 24px;
    line-height: 1.15;
}
.lm-contact-info p {
    font-size: 1rem;
    color: var(--lm-text-soft);
    line-height: 1.8;
    margin-bottom: 28px;
}
.lm-contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--lm-text);
}
.lm-contact-detail svg {
    width: 18px;
    height: 18px;
    color: var(--lm-accent);
    flex-shrink: 0;
    margin-top: 3px;
}
.lm-contact-form-wrap {
    background: var(--lm-bg-soft);
    padding: 56px 48px;
}

/* CF7 */
.wpcf7-form { display: flex; flex-direction: column; gap: 0; }
.wpcf7-form p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 22px;
}
.wpcf7-form br { display: none; }
.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lm-text-soft);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 16px;
    background: var(--lm-bg);
    border: 1px solid var(--lm-line-strong);
    border-radius: 0;
    color: var(--lm-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--lm-accent);
    box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.15);
}
.wpcf7-form textarea {
    resize: vertical;
    min-height: 140px;
}
.wpcf7-form input[type="submit"],
.wpcf7-submit {
    width: 100%;
    padding: 16px 28px;
    background: var(--lm-text);
    color: var(--lm-bg);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
    margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover { background: var(--lm-cta); }

/* ====================================================
   MENTIONS LÉGALES
==================================================== */
.lm-legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--lm-text);
}
.lm-legal-content h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--lm-text);
    margin: 48px 0 16px;
}
.lm-legal-content p { margin-bottom: 18px; }
.lm-legal-content a {
    color: var(--lm-cta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ====================================================
   PLAN DU SITE
==================================================== */
.lm-sitemap-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 40px;
}
.lm-sitemap-cat {
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--lm-line);
}
.lm-sitemap-cat:last-child { border-bottom: none; }
.lm-sitemap-cat h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--lm-text);
    margin-bottom: 20px;
}
.lm-sitemap-cat h2 a { color: var(--lm-cta); }
.lm-sitemap-cat ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}
.lm-sitemap-cat li a {
    font-size: 0.95rem;
    color: var(--lm-text-soft);
    transition: color 0.2s;
}
.lm-sitemap-cat li a:hover { color: var(--lm-text); }

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1100px) {
    .lm-selection-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
    .lm-seo-inner { grid-template-columns: 1fr; }
    .lm-seo-img { order: -1; }
    .lm-seo-img img { height: 280px; }
    .lm-persona-grid { grid-template-columns: 1fr; gap: 56px; }
    .lm-persona-portrait { max-width: 480px; margin: 0 auto; }
    .lm-persona-text { text-align: center; }
    .lm-persona-role { justify-content: center; }
    .lm-persona-role::before { display: none; }
    .lm-persona-bio { max-width: 100%; margin: 0 auto; }
    .lm-section-intro { grid-template-columns: 1fr; gap: 32px; }
    .lm-section-aside { justify-self: start; }
}

@media (max-width: 900px) {
    .lm-feed-grid { grid-template-columns: 1fr; gap: 64px; }
    .lm-piece:nth-child(even) { margin-top: 0; }
    .lm-archive-grid { grid-template-columns: 1fr; gap: 64px; }
    .lm-related-grid { grid-template-columns: 1fr; gap: 48px; }
    .lm-contact-layout { grid-template-columns: 1fr; gap: 56px; }
    .lm-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .lm-container, .lm-container-narrow { padding: 0 24px; }
    .lm-header-inner { padding: 0 24px; }
    .lm-hero-inner { padding: 0 24px 56px; }
    .lm-archive-cover-inner,
    .lm-page-hero-inner,
    .lm-post-hero-inner { padding-left: 24px; padding-right: 24px; }
    .lm-feed-grid, .lm-section-intro { padding: 0 24px; }
    .lm-persona-grid, .lm-selection-head, .lm-selection-grid { padding: 0 24px; }
    .lm-related-inner, .lm-archive-grid, .lm-archive-section > h2, .lm-seo-inner { padding-left: 24px; padding-right: 24px; }
    .lm-contact-layout, .lm-legal-content, .lm-sitemap-content, .lm-post-layout { padding-left: 24px; padding-right: 24px; }
    .lm-footer-top, .lm-footer-bottom { padding-left: 24px; padding-right: 24px; }

    .lm-selection-grid { grid-template-columns: 1fr; gap: 56px; }
    .lm-footer-top { flex-direction: column; gap: 40px; }
    .lm-footer-nav { gap: 40px; flex-wrap: wrap; }

    .lm-site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .lm-nav-toggle { display: flex; }
    .lm-site-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--lm-bg);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 32px 40px;
        gap: 8px;
        z-index: 200;
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }
    .lm-site-nav.open { transform: translateX(0); }
    .lm-site-nav a {
        font-size: 1.5rem;
        font-family: var(--font-head);
        font-weight: 400;
        letter-spacing: 0;
        text-transform: none;
        padding: 12px 0;
        width: 100%;
        color: var(--lm-text) !important;
    }
    .lm-site-nav .menu-contact {
        margin-top: 24px;
        padding: 14px 32px;
        font-size: 0.75rem;
        font-family: var(--font-body);
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--lm-text) !important;
        border-color: var(--lm-text) !important;
    }
    .lm-nav-close { display: flex; }
    .lm-nav-logo { display: block; margin-bottom: 40px; }

    .lm-author-block { flex-direction: column; gap: 20px; }
    .lm-author-photo { width: 100px; height: 130px; }
    .lm-persona-portrait::after { display: none; }
}

@media (max-width: 480px) {
    .lm-hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
    .lm-meta-num { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
