/*
Theme Name: Lise Duarte Nuñez
Theme URI: https://liseduartenunez.com
Description: Thème enfant custom de GeneratePress pour le site professionnel de Lise Duarte Nuñez.
Author: Lise Duarte Nuñez
Template: generatepress
Version: 1.5.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ===== DESIGN SYSTEM ===== */
:root {
  --primary: #3B245C;
  --primary-dark: #241631;
  --accent: #76549A;
  --gold: #B49A6C;
  --paper: #F7F5F2;
  --light: #ECE7F2;
  --text: #242126;
  --white: #FFFFFF;
  --line: rgba(36, 33, 38, 0.14);
  --muted: #625D68;
}

html[data-theme="dark"] {
  --primary: #76549A;
  --primary-dark: #8A6BB0;
  --accent: #A98CD6;
  --paper: #16121D;
  --light: #221B2E;
  --text: #ECE8F1;
  --line: rgba(236, 232, 241, 0.16);
  --muted: #9D97A6;
}

body { background-color: var(--paper); color: var(--text); font-family: 'Work Sans', sans-serif; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, .site-title { font-family: 'Cormorant Garamond', serif; color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* ===== HEADER & NAVIGATION ===== */
.site-header { position: sticky; top: 0; z-index: 100; background-color: var(--paper); border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.header-inner { display: flex; justify-content: flex-start; align-items: center; gap: 1rem; }
.site-branding { margin-right: auto; }
.site-title-link { text-decoration: none; }
.site-title { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text); }
.site-title::after { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: 4px; }
.main-navigation { display: flex; align-items: center; }
.main-navigation .menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.main-navigation .menu a { font-size: 0.95rem; font-weight: 500; color: var(--text); transition: color 0.2s ease; }
.main-navigation .menu a:hover { color: var(--accent); }
.menu-cta .ldn-btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* Nettoyage GeneratePress : UNIQUEMENT desktop, ne touche jamais au menu mobile */
@media (min-width: 769px) {
  .main-navigation,
  .main-navigation ul,
  .main-navigation .menu {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }
}

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; position: relative; z-index: 110; }
.hamburger-icon { display: block; width: 24px; height: 2px; background-color: var(--text); position: relative; }
.hamburger-icon::before, .hamburger-icon::after { content: ""; position: absolute; width: 24px; height: 2px; background-color: var(--text); left: 0; }
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

/* Bouton clair/sombre */
#ldn-theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1rem; cursor: pointer; margin-left: 1.2rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
#ldn-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ===== STRUCTURE ===== */
.ldn-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.site-content { background-color: transparent; }
.ldn-section { padding: 4.5rem 0; }
.ldn-section-light { background: var(--light); }
.ldn-overline { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.7rem; }
.ldn-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 1.2rem; }
.ldn-intro { max-width: 62ch; font-size: 1.06rem; line-height: 1.75; font-weight: 300; margin: 0 0 2.4rem; }

/* ===== HERO HOME ===== */
.ldn-hero-section { padding: 5.5rem 0 4.5rem; }
.ldn-name { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; margin: 0 0 0.5rem; }
.ldn-name::after { content: ""; display: block; width: 64px; height: 2px; background: var(--gold); margin-top: 1.2rem; }
.ldn-role { font-size: 1rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 2.4rem 0; }
.ldn-hero { font-size: clamp(1.9rem, 4vw, 2.8rem); font-style: italic; line-height: 1.15; margin: 0 0 1.4rem; }

/* ===== BOUTONS ===== */
.ldn-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.ldn-btn { display: inline-block; padding: 0.9rem 1.8rem; border-radius: 2px; font-size: 0.95rem; letter-spacing: 0.06em; background: var(--primary); color: var(--white); }
.ldn-btn:hover { background: var(--primary-dark); color: var(--white); }
.ldn-btn-outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.ldn-btn-outline:hover { background: var(--primary); color: var(--white); }
.ldn-btn-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.ldn-btn-light:hover { background: var(--white); color: var(--primary-dark); }
html[data-theme="dark"] .ldn-btn { background: var(--primary); color: var(--white); }
html[data-theme="dark"] .ldn-btn-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
html[data-theme="dark"] .ldn-btn-outline:hover { background: var(--accent); color: var(--white); }
.main-navigation .menu a.ldn-btn,
.main-navigation .menu a.ldn-btn:hover { color: var(--white); }

/* ===== ÉTAPES / CARTES / CTA ===== */
.ldn-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 2rem; margin: 2.5rem 0; }
.ldn-stages p { margin: 0; }
.ldn-stages strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--primary); margin-bottom: 0.35rem; }
html[data-theme="dark"] .ldn-stages strong { color: var(--accent); }
.ldn-stages span { font-size: 0.92rem; line-height: 1.55; font-weight: 300; color: var(--muted); }
.ldn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 2rem; }
.ldn-card { border-top: 2px solid var(--primary); padding-top: 1.2rem; }
html[data-theme="dark"] .ldn-card { border-top-color: var(--accent); }
.ldn-card-meta { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.ldn-card h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 0.5rem; }
.ldn-card h3 a { color: var(--text); }
.ldn-card h3 a:hover { color: var(--accent); }
.ldn-card-sub { font-size: 0.95rem; line-height: 1.6; font-weight: 300; color: var(--muted); margin: 0; }
.ldn-empty { font-style: italic; color: var(--muted); }
.ldn-link a { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.ldn-link a:hover { color: var(--accent); }
html[data-theme="dark"] .ldn-link a { color: var(--accent); }
.ldn-cta-final { background: var(--primary-dark); margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.ldn-cta-final .ldn-container { padding-left: 24px; padding-right: 24px; }
.ldn-cta-final h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 0.8rem; }
.ldn-cta-final p { color: rgba(255, 255, 255, 0.75); margin: 0 0 2rem; }

/* ===== FOOTER ===== */
.site-footer { background-color: var(--primary-dark); color: var(--white); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.footer-branding .site-title { color: var(--white); font-size: 1.8rem; }
.footer-branding .site-title::after { background: var(--gold); margin: 0.5rem auto 0; }
.footer-tagline { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: var(--white); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; margin-top: 1rem; width: 100%; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal p { margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, 0.7); }

/* ===== AGENDA & ÉVÉNEMENTS ===== */
.ldn-agenda-list { margin-top: 2rem; }
.ldn-agenda-row { display: flex; gap: 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.ldn-agenda-row h2 { font-size: 1.5rem; margin: 0 0 0.3rem; }
.ldn-agenda-row h2 a { color: var(--text); }
.ldn-agenda-row h2 a:hover { color: var(--accent); }
.ldn-agenda-date { min-width: 170px; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ldn-agenda-sub { margin: 0; font-weight: 300; color: var(--muted); font-size: 0.95rem; }
.ldn-agenda-past { opacity: 0.55; }
.ldn-badge { display: inline-block; margin-left: 0.6rem; padding: 0.15rem 0.55rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); border-radius: 2px; vertical-align: middle; }
.ldn-event-single .ldn-event-header { text-align: center; }
.ldn-event-single .ldn-event-date { font-size: 1.1rem; color: var(--accent); font-weight: 500; margin: 1.2rem 0 0.5rem; }
.ldn-event-single .ldn-event-location { font-size: 1rem; color: var(--muted); margin: 0.3rem 0; }
.ldn-event-single .ldn-event-institution { margin: 0.8rem 0 0; }
.ldn-event-single .ldn-event-institution a { font-weight: 500; }
.ldn-badge-large { display: inline-block; margin-top: 1rem; padding: 0.3rem 0.8rem; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); border-radius: 2px; }
.ldn-event-thumb { width: 100%; height: auto; border-radius: 4px; margin: 0 auto; display: block; }
.ldn-event-single .ldn-event-content { padding-top: 0; }
.ldn-event-content p:empty { display: none; }
.ldn-programme-list { margin-top: 2rem; }
.ldn-programme-item { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.ldn-programme-item h3 { font-size: 1.3rem; margin: 0 0 0.3rem; }
.ldn-programme-composer { margin: 0.2rem 0; font-weight: 500; color: var(--accent); }
.ldn-programme-notes { margin: 0.5rem 0 0; font-weight: 300; color: var(--muted); line-height: 1.6; }
.ldn-testimonials-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.ldn-testimonial { margin: 0; padding: 1.5rem; background: var(--light); border-radius: 4px; }
.ldn-testimonial-highlight { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-style: italic; color: var(--primary); margin: 0 0 1rem; line-height: 1.3; }
.ldn-testimonial-quote { margin: 0 0 1rem; font-size: 1rem; line-height: 1.6; font-weight: 300; }
.ldn-testimonial-author { margin: 0; border-top: 1px solid var(--line); padding-top: 0.8rem; font-style: normal; }
.ldn-testimonial-author strong { display: block; font-weight: 600; color: var(--text); }
.ldn-testimonial-author span { font-size: 0.85rem; color: var(--muted); }
.ldn-event-cta { text-align: center; }

/* ===== CONTRASTE & LISIBILITÉ (WCAG AA) ===== */
.ldn-overline, .ldn-empty, .ldn-stages span { color: #4A4550 !important; }
.ldn-intro { font-weight: 400 !important; }
html[data-theme="dark"] .ldn-overline,
html[data-theme="dark"] .ldn-empty,
html[data-theme="dark"] .ldn-stages span,
html[data-theme="dark"] .ldn-intro { color: #D4CFE0 !important; }

/* ===== JOURNAL ===== */
.ldn-journal-archive .ldn-pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.ldn-journal-archive .nav-links a, .ldn-journal-archive .nav-links span { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 2px; font-size: 0.9rem; color: var(--text); }
.ldn-journal-archive .nav-links .current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.ldn-article-header { text-align: center; }
.ldn-article-meta { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1rem; }
.ldn-article-meta span { margin: 0 0.5rem; opacity: 0.5; }
.ldn-article-hero { padding: 0; }
.ldn-article-thumb { width: 100%; height: auto; border-radius: 4px; display: block; }
.ldn-prose { max-width: 70ch; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; }
.ldn-prose p { margin: 0 0 1.4rem; }
.ldn-prose h2 { margin: 2.4rem 0 1rem; }
.ldn-prose h3 { margin: 2rem 0 0.8rem; }
.ldn-prose p:empty { display: none; }
.ldn-prose > *:first-child { margin-top: 0; }
.ldn-prose blockquote { border-left: 2px solid var(--gold); margin: 1.8rem 0; padding: 0.2rem 0 0.2rem 1.4rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--primary); }
html[data-theme="dark"] .ldn-prose blockquote { color: var(--accent); }
.ldn-prose a { text-decoration: underline; text-underline-offset: 3px; }
.ldn-article-relations .ldn-relations-group { margin-bottom: 1.5rem; }
.ldn-relations-label { font-family: 'Work Sans', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.ldn-article-relations ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.ldn-article-relations li a { font-size: 1rem; font-weight: 500; }
.ldn-article-nav-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ldn-article-prev { text-align: left; }
.ldn-article-next { text-align: right; }
.ldn-article-nav .ldn-overline { margin: 0 0 0.4rem; }
.ldn-article-nav a { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text); }
.ldn-article-nav a:hover { color: var(--accent); }
.ldn-journal-archive header.ldn-section + section.ldn-section { padding-top: 0; }
.ldn-journal-single .ldn-article-header { padding-bottom: 3rem; }
.ldn-journal-single .ldn-article-content { padding-top: 0; }
.ldn-journal-single .ldn-article-hero + .ldn-article-content { padding-top: 3rem; }

/* ===== MTDM ===== */
.ldn-mtdm-hero { text-align: center; }
.ldn-mtdm-quote { margin: 2.5rem auto; max-width: 50ch; font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic; line-height: 1.3; color: var(--primary); border-left: 3px solid var(--gold); padding-left: 1.5rem; text-align: left; }
html[data-theme="dark"] .ldn-mtdm-quote { color: var(--accent); }
.ldn-mtdm-quote p { margin: 0; }
.ldn-mtdm-intro { max-width: 70ch; margin: 2rem auto 0; font-size: 1.06rem; line-height: 1.8; }
.ldn-mtdm-intro p { margin-bottom: 1.4rem; }
.ldn-mtdm-stages-full { margin-top: 3rem; display: grid; gap: 3rem; }
.ldn-stage-detail { border-top: 2px solid var(--primary); padding-top: 1.5rem; }
html[data-theme="dark"] .ldn-stage-detail { border-top-color: var(--accent); }
.ldn-stage-detail h3 { display: flex; align-items: baseline; gap: 0.8rem; margin: 0 0 0.6rem; font-size: 1.6rem; }
.ldn-stage-number { font-family: 'Work Sans', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); }
.ldn-stage-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 0 0 1rem; }
.ldn-stage-description { margin: 0; font-size: 1rem; line-height: 1.7; }
.ldn-stage-functions { margin: 1rem 0 0; padding: 0 0 0 1.2rem; list-style: none; }
.ldn-stage-functions li { margin-bottom: 0.6rem; font-size: 0.98rem; line-height: 1.6; }
.ldn-stage-functions li strong { color: var(--primary); font-weight: 600; }
html[data-theme="dark"] .ldn-stage-functions li strong { color: var(--accent); }
.ldn-mtdm-loop p { max-width: 70ch; font-size: 1.06rem; line-height: 1.8; margin: 0 auto; }
.ldn-mtdm-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.ldn-audience-item { padding: 1.5rem; background: var(--light); border-radius: 4px; }
.ldn-audience-item h3 { font-size: 1.3rem; margin: 0 0 0.8rem; }
.ldn-audience-item p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* ===== ABOUT ===== */
.ldn-about-hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.ldn-about-portrait img { width: 100%; height: auto; border-radius: 4px; display: block; }
.ldn-about-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.ldn-about-list li { padding: 1rem 0; border-top: 1px solid var(--line); }
.ldn-about-list a { font-weight: 500; }
.ldn-about-sub { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }

/* ===== RESOURCES & CONTACT ===== */
.ldn-resource-cta { margin: 1rem 0 0; }
.ldn-contact-socials { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.ldn-contact-direct { text-align: center; }
.ldn-contact-direct .ldn-intro { margin-left: auto; margin-right: auto; }
.ldn-contact-email { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 2rem; }
.ldn-contact-email a { color: var(--primary); }
.ldn-contact-email a:hover { color: var(--accent); }
.ldn-contact-direct .ldn-contact-socials { justify-content: center; }

/* ===== FORMULAIRE ===== */
.ldn-contact-form { max-width: 720px; margin: 0 auto; }
.ldn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ldn-form-field { margin-bottom: 1.5rem; }
.ldn-form-field label { display: block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.ldn-form-field input, .ldn-form-field select, .ldn-form-field textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--text); font-family: 'Work Sans', sans-serif; font-size: 1rem; }
html[data-theme="dark"] .ldn-form-field input,
html[data-theme="dark"] .ldn-form-field select,
html[data-theme="dark"] .ldn-form-field textarea { background: var(--light); }
.ldn-form-field textarea { min-height: 160px; resize: vertical; }
.ldn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ldn-form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.ldn-form-banner { padding: 1rem 1.2rem; border-radius: 2px; margin: 0 0 2rem; font-weight: 500; max-width: 720px; }
.ldn-form-banner.ok { background: var(--light); color: var(--primary); border-left: 3px solid var(--gold); }
html[data-theme="dark"] .ldn-form-banner.ok { color: var(--accent); }
.ldn-form-banner.err { background: var(--light); color: var(--text); border-left: 3px solid var(--accent); }

/* ===== RESPONSIVE TABLETTE / PETIT ===== */
@media (max-width: 900px) {
  .ldn-stages { grid-template-columns: repeat(2, 1fr); }
  .ldn-cards { grid-template-columns: 1fr; }
  .ldn-about-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ldn-ctas { flex-direction: column; }
  .ldn-btn { width: 100%; text-align: center; }
  .ldn-stages { grid-template-columns: 1fr; }
  .ldn-agenda-row { flex-direction: column; gap: 0.4rem; }
  .ldn-article-nav-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ldn-article-next { text-align: left; }
  .ldn-form-row { grid-template-columns: 1fr; }
}

/* ===== MOBILE : MENU (fond opaque garanti) ===== */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; margin-right: 3rem; }
  .main-navigation { position: static; }
  .main-navigation .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    text-align: center;
    background-color: var(--paper) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
    padding: 1.5rem 24px 2rem;
    z-index: 200;
  }
  .main-navigation .menu.is-open { display: flex; }
  .main-navigation .menu li { width: 100%; }
  .main-navigation .menu a { display: block; padding: 0.8rem 0; font-size: 1.05rem; color: var(--text); }
  .menu-cta .ldn-btn-sm { display: inline-block; width: auto; }
  #ldn-theme-toggle { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin-left: 0; }
}

/* ===== MENU MOBILE PLEIN ÉCRAN (v1.5.1) ===== */
.site-header { z-index: 1000; }

@media (max-width: 768px) {
	#primary-menu { display: none; }

	#primary-menu.is-open {
		display: flex;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100vh;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		text-align: center;
		background-color: var(--paper) !important;
		border: none;
		box-shadow: none !important;
		padding: 6rem 24px 3rem;
		margin: 0;
		z-index: 990;
		overflow-y: auto;
	}

	#primary-menu li { width: 100%; }

	#primary-menu a {
		display: block;
		font-family: 'Cormorant Garamond', serif;
		font-size: 1.6rem;
		padding: 0.9rem 0;
		color: var(--text) !important;
	}

	#primary-menu .menu-cta a {
		font-family: 'Work Sans', sans-serif;
		font-size: 1rem;
	}
}

/* Sécurité desktop : le menu reste en ligne, jamais en overlay */
@media (min-width: 769px) {
	#primary-menu {
		position: static !important;
		display: flex !important;
		height: auto !important;
		background: transparent !important;
		box-shadow: none !important;
	}
}

/* ===== POLISH FINAL V2 : HARMONIE DES ALIGNEMENTS ===== */
/* Heroes centrés sur toutes les pages intérieures, Contact inclus */
.ldn-page-hero,
.ldn-about-hero,
.ldn-contact-page > header,
.ldn-journal-archive > header,
.ldn-work-page > header,
.ldn-resources-page > header {
	text-align: center;
}

.ldn-page-hero > .ldn-container > .ldn-intro,
.ldn-about-hero .ldn-intro,
.ldn-contact-page > header .ldn-intro,
.ldn-journal-archive > header .ldn-intro,
.ldn-work-page > header .ldn-intro,
.ldn-resources-page > header .ldn-intro {
	margin-left: auto;
	margin-right: auto;
}

/* Les listes restent à gauche, même sous un hero centré */
.ldn-page-hero .ldn-agenda-list,
.ldn-page-hero .ldn-agenda-row {
	text-align: left;
}

/* Blocs de texte des sections : alignés sous leur titre */
.ldn-mtdm-intro { margin: 2rem 0 0; }
.ldn-mtdm-hero .ldn-mtdm-intro { margin: 2rem auto 0; }
.ldn-mtdm-loop p { margin: 0; }

/* ===== POLISH V3 : HEROS PROPRES ===== */
.ldn-page-hero .ldn-intro,
.ldn-mtdm-hero .ldn-intro,
.ldn-mtdm-hero .ldn-mtdm-intro,
.ldn-about-hero .ldn-intro,
.ldn-contact-page > header .ldn-intro,
.ldn-journal-archive > header .ldn-intro,
.ldn-work-page > header .ldn-intro,
.ldn-resources-page > header .ldn-intro {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}




