@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --lm-green: #071a10;
    --lm-green2: #0e2b1b;
    --lm-lime: #c8e96f;
    --lm-cream: #f5f4e9;
    --lm-ink: #18321f;
    --lm-muted: #6e786d;
    --lm-line: rgba(24, 50, 31, .12);
    --lm-serif: 'Playfair Display', Georgia, serif;
    --lm-sans: 'Manrope', sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
body.lahmaq-redesign {
    font-family: var(--lm-sans);
    background: var(--lm-cream);
    color: var(--lm-ink);
    cursor: auto;
}

body.lahmaq-redesign #cur,
body.lahmaq-redesign #cur-ring,
body.lahmaq-redesign #grain {
    display: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.lahmaq-nav {
    position: fixed !important;
    inset: 0 0 auto !important;
    height: 76px !important;
    padding: 0 !important;
    background: linear-gradient(180deg, rgba(3, 18, 10, .62), rgba(3, 18, 10, 0)) !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1500 !important;
    font-family: var(--lm-sans);
}

.lahmaq-nav.is-scrolled {
    height: 68px !important;
    background: rgba(5, 23, 15, .94) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

.lahmaq-nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 clamp(22px, 5vw, 55px);
}

.lahmaq-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 210px;
    color: #fff !important;
    text-decoration: none;
}

.lahmaq-logo-mark {
    width: 150px;
    height: 150px;
    display: block;
    overflow: hidden;
}

.lahmaq-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.lahmaq-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.lahmaq-logo-copy strong {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .18em;
}

.lahmaq-logo-copy small {
    font-size: 5px;
    letter-spacing: .05em;
    opacity: .78;
    margin-top: 4px;
    white-space: nowrap;
}

.lahmaq-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
}

.lahmaq-nav-links a {
    position: relative;
    color: rgba(255, 255, 255, .88) !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 500;
    padding: 9px 10px;
}

.lahmaq-nav-links a:after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 3px;
    height: 1px;
    background: var(--lm-lime);
    transform: scaleX(0);
    transition: .25s;
}

.lahmaq-nav-links a:hover:after,
.lahmaq-nav-links a.active:after {
    transform: scaleX(1);
}

.lahmaq-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 280px;
}

.lahmaq-search,
.lahmaq-lang {
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 10px;
}

.lahmaq-search {
    font-size: 19px;
    padding: 0;
}

.lahmaq-login {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 10px;
    white-space: nowrap;
}

.lahmaq-join {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    background: var(--lm-lime);
    color: #17301d !important;
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.lahmaq-join span {
    font-size: 14px;
}

.lahmaq-menu-btn {
    display: none;
    background: transparent;
    border: 0;
    padding: 5px;
}

.lahmaq-menu-btn i {
    display: block;
    width: 23px;
    height: 1px;
    background: #fff;
    margin: 5px 0;
}

.lahmaq-mobile {
    display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.lm-hero {
    position: relative;
    min-height: 680px;
    height: 100vh;
    max-height: 860px;
    overflow: hidden;
    background: var(--lm-green);
}

.lm-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/hero.png') center / cover no-repeat;
}

.lm-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 18, 10, .97) 0%, rgba(3, 18, 10, .87) 28%, rgba(3, 18, 10, .43) 54%, rgba(3, 18, 10, .05) 84%),
        linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .15));
}

.lm-hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px clamp(24px, 5.2vw, 70px) 30px;
}

.lm-hero-copy {
    max-width: 700px;
}

.lm-eyebrow,
.lm-kicker {
    font-size: 9px;
    letter-spacing: .17em;
    font-weight: 800;
    margin: 0 0 13px;
}

.lm-eyebrow {
    color: rgba(255, 255, 255, .7);
}

.lm-hero h1 {
    font-family: var(--lm-serif);
    font-size: clamp(30px, 3.4vw, 30px);
    line-height: .98;
    letter-spacing: -.045em;
    color: #fff;
    margin: 0;
}

.lm-hero h1 em {
    color: var(--lm-lime);
    font-style: normal;
}

.lm-hero-desc {
    max-width: 590px;
    color: rgba(255, 255, 255, .87);
    font-size: 12px;
    line-height: 1.5;
    margin: 20px 0 0;
}

.lm-actions {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: 24px;
}

.lm-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    padding: 11px 17px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.lm-btn-primary {
    background: var(--lm-lime);
    color: #17301d;
}

.lm-btn-outline {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
    background: transparent;
}

.lm-btn-dark {
    border-color: rgba(24, 50, 31, .5);
    color: var(--lm-ink);
    background: transparent;
}

.lm-btn-outline:hover {
    background: #fff;
    color: var(--lm-green);
}

.lm-btn-primary:hover {
    background: #dcf38d;
}

.lm-btn-dark:hover {
    background: var(--lm-ink);
    color: #fff;
}

.lm-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 670px;
    margin-top: 31px;
}

.lm-hero-stats > div {
    display: grid;
    grid-template-columns: 27px 1fr;
    column-gap: 8px;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .2);
    padding-right: 13px;
}

.lm-hero-stats > div:last-child {
    border-right: 0;
}

.lm-stat-icon {
    grid-row: span 2;
    color: #dcebb1;
    font-size: 21px;
}

.lm-hero-stats b {
    font-size: 9px;
    white-space: nowrap;
}

.lm-hero-stats small {
    font-size: 7px;
    color: rgba(255, 255, 255, .55);
}

.lm-hero-side {
    position: relative;
    align-self: stretch;
    min-width: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 50px;
    padding-right: 15px;
    gap: 12px;
    color: #fff;
}

.lm-play {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(0, 0, 0, .12);
    color: #fff;
    cursor: pointer;
}

.lm-hero-side b {
    font-size: 10px;
    line-height: 1.25;
}

.lm-hero-side small {
    display: block;
    font-size: 8px;
    color: rgba(255, 255, 255, .6);
    margin-top: 3px;
}

.lm-scroll {
    position: absolute;
    right: -5px;
    bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.lm-scroll span {
    font-size: 8px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgba(255, 255, 255, .7);
}

.lm-scroll i {
    width: 1px;
    height: 40px;
    background: linear-gradient(#fff, rgba(255, 255, 255, .1));
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.lm-section {
    padding: 58px 0;
    background: var(--lm-cream);
}

.lm-container {
    width: min(1440px, 92%);
    margin: auto;
}

.lm-two-col {
    display: grid;
    grid-template-columns: minmax(250px, 28%) 1fr;
    gap: 35px;
    align-items: center;
}

.lm-intro h2,
.lm-section-head h2 {
    font-family: var(--lm-serif);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0 0 16px;
}

.lm-intro p,
.lm-section-head > p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--lm-muted);
    max-width: 390px;
}

.lm-text-link {
    display: inline-flex;
    gap: 12px;
    color: var(--lm-ink);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    margin-top: 14px;
}

.lm-text-link span {
    font-size: 16px;
}

/* ============================================================
   ACTEURS
   ============================================================ */
.lm-actors {
    padding-bottom: 45px;
}

.lm-actor-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.lm-actor-card {
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(20, 50, 30, .06);
    text-decoration: none;
    color: var(--lm-ink);
}

.lm-card-image {
    height: 125px;
    background-position: center;
    background-size: cover;
    background-color: #a9b99b;
}

.lm-card-body {
    position: relative;
    padding: 10px;
    min-height: 78px;
}

.lm-card-body b {
    display: block;
    font-size: 10px;
}

.lm-card-body small {
    display: block;
    font-size: 7.5px;
    color: #788177;
    line-height: 1.4;
    margin-top: 4px;
    padding-right: 12px;
}

.lm-card-body span {
    position: absolute;
    right: 8px;
    bottom: 9px;
    font-size: 15px;
}

/* ============================================================
   THÈMES CLAIR / SOMBRE
   ============================================================ */
.lm-dark {
    background: linear-gradient(110deg, #071a10, #173c26);
    color: #fff;
}

.lm-light .lm-kicker,
.lm-dark .lm-kicker {
    color: rgba(255, 255, 255, .7);
}

.lm-light h2,
.lm-dark h2 {
    color: #fff;
}

.lm-light p,
.lm-dark p {
    color: rgba(255, 255, 255, .7);
}

/* ============================================================
   MARKETPLACE
   ============================================================ */
.lm-market {
    padding: 43px 0;
}

.lm-products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.lm-product {
    position: relative;
    background: #f8f8ef;
    border-radius: 9px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
}

.lm-product-img {
    height: 125px;
    background: linear-gradient(135deg, #587b46, #d6c38c) center / cover;
}

.lm-product-body {
    padding: 10px;
    min-height: 105px;
}

.lm-product-body small,
.lm-product-body b,
.lm-product-body span,
.lm-product-body strong {
    display: block;
}

.lm-product-body small {
    font-size: 7px;
    color: #7a8378;
}

.lm-product-body b {
    font-size: 10px;
    margin-top: 4px;
}

.lm-product-body span {
    font-size: 7px;
    color: #7a8378;
    margin-top: 6px;
}

.lm-product-body strong {
    font-size: 9px;
    margin-top: 7px;
}

.lm-product-body em {
    font-style: normal;
    font-weight: 500;
}

.lm-product > i {
    position: absolute;
    right: 8px;
    bottom: 9px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0c2a1a;
    color: #fff;
    font-style: normal;
}

.lm-loading,
.lm-empty {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}

/* ============================================================
   SECTION GLOBALE / CARTE
   ============================================================ */
.lm-global {
    position: relative;
    padding: 54px 0;
    background: #eef0e5;
    overflow: hidden;
}

.lm-global-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(244, 244, 233, .96), rgba(244, 244, 233, .72), rgba(244, 244, 233, .94)),
        url('/images/lahmaq-hero.png') center / cover;
    filter: saturate(.55);
    opacity: .55;
}

.lm-global-top,
.lm-global .lm-container {
    position: relative;
}

.lm-map-art {
    min-height: 280px;
    position: relative;
    display: grid;
    place-items: center;
}

.lm-africa {
    font-family: var(--lm-serif);
    font-size: 75px;
    letter-spacing: .08em;
    color: #638b61;
    opacity: .38;
}

.lm-map-art i {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #4e814a;
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(78, 129, 74, .1);
}

.lm-map-art i:nth-child(2) {
    left: 43%;
    top: 35%;
}

.lm-map-art i:nth-child(3) {
    left: 53%;
    top: 52%;
}

.lm-map-art i:nth-child(4) {
    left: 61%;
    top: 41%;
}

.lm-map-art i:nth-child(5) {
    left: 47%;
    top: 67%;
}

.lm-metrics {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lm-line);
    margin-top: 25px;
}

.lm-metrics > div {
    padding: 18px 25px;
    border-right: 1px solid var(--lm-line);
}

.lm-metrics > div:last-child {
    border: 0;
}

.lm-metrics span {
    font-size: 22px;
    color: #477149;
}

.lm-metrics b {
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-top: 5px;
}

.lm-metrics small {
    font-size: 8px;
    color: #7a8378;
    line-height: 1.4;
}

/* ============================================================
   CHAÎNE DE VALEUR
   ============================================================ */
.lm-value {
    padding: 42px 0;
}

.lm-chain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lm-chain > div {
    text-align: center;
    min-width: 70px;
}

.lm-chain span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #a8b6a2;
    border-radius: 50%;
    margin: auto;
    font-size: 19px;
}

.lm-chain b {
    display: block;
    font-size: 9px;
    margin-top: 7px;
}

.lm-chain small {
    display: block;
    font-size: 7px;
    color: #7a8378;
    margin-top: 3px;
}

.lm-chain i {
    font-style: normal;
    color: #9ba89b;
}

/* ============================================================
   FEATURES
   ============================================================ */
.lm-feature-wrap {
    padding: 0 0 45px;
    background: var(--lm-cream);
}

.lm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lm-feature {
    min-height: 170px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 22px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
}

.lm-feature:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 18, 10, .9), rgba(3, 18, 10, .1));
}

.lm-feature > div {
    position: relative;
    z-index: 1;
}

.lm-feature small {
    font-size: 7px;
}

.lm-feature h3 {
    font-family: var(--lm-serif);
    font-size: 24px;
    margin: 5px 0;
}

.lm-feature span {
    font-size: 8px;
}

.lm-feature-academy {
    background-image: linear-gradient(135deg, #304a30, #a9b493);
}

.lm-feature-innovation {
    background-image: linear-gradient(135deg, #4f6750, #c4ceaa);
}

.lm-feature-invest {
    background-image: linear-gradient(135deg, #3e5e36, #a6b776);
}

/* ============================================================
   IMPACT
   ============================================================ */
.lm-impact {
    position: relative;
    padding: 52px 0;
    overflow: hidden;
}

.lm-impact-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 25, 15, .9), rgba(5, 25, 15, .36)),
        url('/images/hero.png') center / cover;
    filter: saturate(.65);
}

.lm-impact > .lm-container {
    position: relative;
}

.lm-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.lm-impact-grid > div {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding-left: 16px;
}

.lm-impact-grid span {
    display: block;
    font-size: 24px;
}

.lm-impact-grid b {
    display: block;
    font-size: 16px;
    margin-top: 16px;
}

.lm-impact-grid small {
    font-size: 8px;
    color: rgba(255, 255, 255, .6);
}

/* ============================================================
   EN-TÊTES DE SECTION
   ============================================================ */
.lm-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
}

.lm-section-head > p {
    margin: 0;
}

.lm-section-head em {
    font-style: italic;
}

/* ============================================================
   GRILLES DE CARTES
   ============================================================ */
.lm-network-grid,
.lm-opportunity-grid,
.lm-training-grid,
.lm-three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lm-network-card,
.lm-opportunity,
.lm-training,
.lm-three-cards article {
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    padding: 18px;
    text-decoration: none;
    color: var(--lm-ink);
    min-height: 145px;
}

.lm-network-card small,
.lm-opportunity small,
.lm-training small,
.lm-three-cards small {
    font-size: 7px;
    letter-spacing: .12em;
    color: #71806f;
}

.lm-network-card b,
.lm-opportunity h3,
.lm-training h3,
.lm-three-cards h3 {
    display: block;
    font-family: var(--lm-serif);
    font-size: 20px;
    line-height: 1.1;
    margin: 10px 0;
}

.lm-network-card span,
.lm-opportunity span,
.lm-training span,
.lm-three-cards p {
    font-size: 9px;
    color: #7a8378;
}

.lm-network-card strong,
.lm-opportunity b,
.lm-training b,
.lm-three-cards article > b {
    display: block;
    font-size: 8px;
    margin-top: 18px;
}

.lm-actions-bottom {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.lm-learning {
    padding: 52px 0;
}

.lm-training-grid {
    margin-bottom: 22px;
}

.lm-training {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.lm-training span {
    color: rgba(255, 255, 255, .6);
}

.lm-three-cards article {
    min-height: 180px;
}

.lm-three-cards-dark article {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.lm-three-cards-dark article p {
    color: rgba(255, 255, 255, .6);
}

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.lm-news-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 13px;
}

.lm-news-main {
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
}

.lm-news-image {
    height: 250px;
    background: linear-gradient(135deg, #365a39, #b7c89e);
}

.lm-news-main small,
.lm-news-main h3,
.lm-news-main span {
    display: block;
    margin-left: 18px;
    margin-right: 18px;
}

.lm-news-main small {
    font-size: 7px;
    letter-spacing: .1em;
    margin-top: 15px;
}

.lm-news-main h3 {
    font-family: var(--lm-serif);
    font-size: 26px;
    line-height: 1.08;
    margin-top: 7px;
}

.lm-news-main span {
    font-size: 8px;
    color: #7a8378;
    margin-bottom: 18px;
}

.lm-news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-news-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 11px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    padding: 9px;
    text-decoration: none;
    color: var(--lm-ink);
}

.lm-news-row > div {
    background: linear-gradient(135deg, #66875b, #d2c49c);
    border-radius: 6px;
}

.lm-news-row small,
.lm-news-row b,
.lm-news-row em {
    display: block;
}

.lm-news-row small {
    font-size: 7px;
    color: #71806f;
}

.lm-news-row b {
    font-size: 10px;
    margin-top: 4px;
}

.lm-news-row em {
    font-size: 7px;
    color: #7a8378;
    font-style: normal;
    margin-top: 7px;
}

/* ============================================================
   ÉVÉNEMENTS
   ============================================================ */
.lm-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lm-event-grid article {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    padding: 13px;
}

.lm-event-grid article > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    border-right: 1px solid var(--lm-line);
    padding-right: 12px;
}

.lm-event-grid article > div small {
    font-size: 7px;
}

.lm-event-grid article > div b {
    font-size: 24px;
    font-family: var(--lm-serif);
}

.lm-event-grid section h3 {
    font-size: 11px;
    margin: 0 0 7px;
}

.lm-event-grid section span,
.lm-event-grid section em {
    display: block;
    font-size: 8px;
    color: #7a8378;
    font-style: normal;
}

.lm-event-grid section em {
    margin-top: 8px;
    background: #eef2e7;
    border-radius: 999px;
    padding: 5px 7px;
    width: max-content;
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.lm-partners {
    padding: 25px 0;
    border-top: 1px solid var(--lm-line);
}

.lm-partner-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: #697266;
}

.lm-partner-row span {
    font-size: 11px;
    font-weight: 800;
}

/* ============================================================
   MODALE VIDÉO
   ============================================================ */
.lm-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, .72);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lm-video-modal.is-open {
    display: flex;
}

.lm-video-modal > div {
    position: relative;
    width: min(650px, 100%);
    padding: 45px;
    background: #0b2518;
    color: #fff;
    border-radius: 15px;
    text-align: center;
}

.lm-video-modal button {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 24px;
}

.lm-video-modal h3 {
    font-family: var(--lm-serif);
    font-size: 30px;
}

.lm-video-modal p {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}

.modal-bg {
    z-index: 2500;
}

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
    .lahmaq-nav-links {
        gap: 0;
    }

    .lahmaq-nav-links a {
        padding-inline: 6px;
        font-size: 9px;
    }

    .lahmaq-nav-actions {
        min-width: 220px;
    }

    .lm-actor-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lm-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — 991px
   ============================================================ */
@media (max-width: 991px) {
    .lahmaq-nav-inner {
        padding-inline: 22px;
    }

    .lahmaq-nav-links,
    .lahmaq-login,
    .lahmaq-lang {
        display: none;
    }

    .lahmaq-nav-actions {
        margin-left: auto;
        min-width: auto;
    }

    .lahmaq-menu-btn {
        display: block;
    }

    .lahmaq-mobile {
        position: absolute;
        top: 76px;
        left: 15px;
        right: 15px;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 13px;
        background: rgba(5, 23, 15, .97);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .25s;
    }

    .lahmaq-mobile.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .lahmaq-mobile a {
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        padding: 10px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .lm-hero {
        min-height: 720px;
    }

    .lm-hero-inner {
        padding-top: 100px;
    }

    .lm-hero-side {
        display: none;
    }

    .lm-two-col {
        grid-template-columns: 1fr;
    }

    .lm-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lm-actor-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lm-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .lm-chain {
        flex-wrap: wrap;
        justify-content: center;
    }

    .lm-chain > div {
        width: 28%;
    }

    .lm-chain > i {
        display: none;
    }

    .lm-impact-grid {
        margin-top: 20px;
    }

    .lm-network-grid,
    .lm-opportunity-grid,
    .lm-training-grid,
    .lm-three-cards,
    .lm-event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
    .lahmaq-logo {
        min-width: auto;
    }

    .lahmaq-logo-copy strong {
        font-size: 15px;
    }

    .lahmaq-join {
        padding: 9px 12px;
    }

    .lm-hero h1 {
        font-size: 41px;
    }

    .lm-hero-desc {
        font-size: 11px;
    }

    .lm-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .lm-hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .lm-hero-stats > div {
        grid-template-columns: 1fr;
        border-right: 0;
    }

    .lm-stat-icon {
        display: none;
    }

    .lm-hero-stats b {
        font-size: 7px;
    }

    .lm-hero-stats small {
        font-size: 6px;
    }

    .lm-actor-grid,
    .lm-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-card-image,
    .lm-product-img {
        height: 135px;
    }

    .lm-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .lm-metrics > div {
        border-bottom: 1px solid var(--lm-line);
    }

    .lm-chain > div {
        width: 30%;
    }

    .lm-feature-grid,
    .lm-network-grid,
    .lm-opportunity-grid,
    .lm-training-grid,
    .lm-three-cards,
    .lm-event-grid {
        grid-template-columns: 1fr;
    }

    .lm-impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lm-news-row {
        grid-template-columns: 75px 1fr;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.lm-footer {
    background: #06170f;
    color: #fff;
    padding: 40px 4% 18px;
}

.lm-footer-inner {
    max-width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 35px;
}

.lm-footer .lahmaq-logo {
    display: inline-flex;
}

.lm-footer-brand > p,
.lm-footer p {
    font-size: 9px;
    color: rgba(255, 255, 255, .52);
    margin-top: 24px;
}

.lm-footer h4 {
    font-size: 10px;
    margin: 0 0 13px;
}

.lm-footer a:not(.lahmaq-logo) {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    margin: 8px 0;
    text-decoration: none;
}

.lm-newsletter {
    display: flex;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    overflow: hidden;
}

.lm-newsletter input {
    min-width: 0;
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 8px;
    padding: 9px 12px;
}

.lm-newsletter button {
    border: 0;
    background: var(--lm-lime);
    width: 35px;
}

.lm-footer-bottom {
    max-width: 1440px;
    margin: 28px auto 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .4);
    font-size: 8px;
}

@media (max-width: 800px) {
    .lm-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .lm-footer-brand {
        grid-column: 1 / -1;
    }

    .lm-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.lm-marquee-wrap {
    background: #071a10;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.lm-marquee-inner {
    display: flex;
    animation: lm-marquee 28s linear infinite;
}

.lm-marquee-inner span {
    font-size: 11px;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, .5);
    padding-right: 40px;
    flex-shrink: 0;
}

.lm-marquee-inner b {
    color: var(--lm-lime);
    font-weight: 800;
}

@keyframes lm-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* ============================================================
   DÉTAIL (formations / opportunités)
   ============================================================ */
.lm-detail {
    padding: 120px 0 70px;
    background: var(--lm-cream);
}

.lm-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lm-muted);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color .2s;
}

.lm-detail-back:hover {
    color: var(--lm-ink);
}

.lm-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 45px;
    align-items: start;
}

.lm-detail h1 {
    font-family: var(--lm-serif);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--lm-ink);
    margin: 0 0 14px;
}

.lm-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 11px;
    color: var(--lm-muted);
    margin: 8px 0 0;
}

.lm-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lm-detail-body {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--lm-ink);
    margin-top: 28px;
    max-width: 680px;
}

/* Encart latéral */
.lm-detail-aside {
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.lm-detail-aside h4 {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin: 0 0 16px;
}

.lm-detail-aside dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.lm-detail-aside dt {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-detail-aside dd {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--lm-ink);
    line-height: 1.5;
}

.lm-detail-aside .lm-btn {
    width: 100%;
    justify-content: center;
    margin-top: 22px;
}

/* ============================================================
   CARTES FORMATION (variante light)
   ============================================================ */
.lm-training-card {
    display: flex;
    flex-direction: column;
}

.lm-training-card h3 {
    margin: 10px 0 6px;
}

.lm-training-card strong {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 400;
}

/* ============================================================
   MODALE (formulaire)
   ============================================================ */
.lm-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(6, 23, 15, .78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.lm-modal.is-open {
    display: flex;
}

.lm-modal-card {
    position: relative;
    width: min(620px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--lm-cream);
    color: var(--lm-ink);
    border-radius: 18px;
    padding: 36px 34px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    font-family: var(--lm-sans);
    margin: auto;
}

.lm-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--lm-line);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    color: var(--lm-ink);
    transition: background .2s;
}

.lm-modal-close:hover {
    background: var(--lm-lime);
}

.lm-modal-card h3 {
    font-family: var(--lm-serif);
    font-size: 28px;
    letter-spacing: -.03em;
    margin: 0 0 6px;
}

.lm-modal-card > p {
    font-size: 11px;
    color: var(--lm-muted);
    margin: 0 0 24px;
}

/* Formulaire */
.lm-form-group {
    margin-bottom: 14px;
}

.lm-form-group label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin-bottom: 6px;
}

.lm-form-group input,
.lm-form-group select,
.lm-form-group textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    padding: 11px 13px;
    font-family: var(--lm-sans);
    font-size: 12px;
    color: var(--lm-ink);
    outline: none;
    transition: border-color .2s;
}

.lm-form-group input:focus,
.lm-form-group select:focus,
.lm-form-group textarea:focus {
    border-color: var(--lm-ink);
}

.lm-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.lm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lm-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

/* Alertes */
.lm-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 11px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.lm-alert-success {
    background: rgba(200, 233, 111, .38);
    border: 1px solid rgba(120, 160, 40, .3);
    color: #2f4a15;
}

.lm-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #721c24;
}

.lm-alert-error ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* ============================================================
   RESPONSIVE DÉTAIL
   ============================================================ */
@media (max-width: 900px) {
    .lm-detail {
        padding: 100px 0 50px;
    }

    .lm-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lm-detail-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .lm-modal-card {
        padding: 28px 22px 24px;
    }

    .lm-form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ONGLETS / FILTRES
   ============================================================ */
.lm-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.lm-tab,
.lm-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .75);
    transition: .2s;
}

.lm-tab:hover,
.lm-tab.is-active {
    background: var(--lm-lime);
    color: #17301d;
    border-color: var(--lm-lime);
}

.lm-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    flex-wrap: wrap;
}

.lm-filters-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lm-filter-tab {
    background: transparent;
    border: 1px solid var(--lm-line);
    color: var(--lm-muted);
}

.lm-filter-tab:hover {
    border-color: var(--lm-ink);
    color: var(--lm-ink);
}

.lm-filter-tab.is-active {
    background: var(--lm-ink);
    color: #fff;
    border-color: var(--lm-ink);
}

.lm-filters-fields {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.lm-filters-fields select,
.lm-filters-fields input {
    background: var(--lm-cream);
    border: 1px solid var(--lm-line);
    border-radius: 10px;
    padding: 10px 13px;
    font-family: var(--lm-sans);
    font-size: 11px;
    color: var(--lm-ink);
    outline: none;
    min-width: 160px;
}

.lm-filters-fields select:focus,
.lm-filters-fields input:focus {
    border-color: var(--lm-ink);
}

/* ============================================================
   CARTES FORMATION (refonte)
   ============================================================ */
.lm-training-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
    transition: transform .25s, box-shadow .25s;
}

.lm-training-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, .08);
}

.lm-training-card-cover {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #587b46, #d6c38c) center / cover;
}

.lm-badge-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
}

.lm-badge-elearning {
    background: rgba(200, 233, 111, .95);
    color: #17301d;
}

.lm-badge-presentiel {
    background: rgba(3, 18, 10, .85);
    color: #fff;
}

.lm-badge-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    background: #fff;
    color: var(--lm-ink);
}

.lm-badge-free {
    background: var(--lm-lime);
    color: #17301d;
}

.lm-training-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.lm-training-card-body small {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-training-card-body h3 {
    font-family: var(--lm-serif);
    font-size: 18px;
    line-height: 1.15;
    margin: 4px 0;
}

.lm-training-card-formateur {
    font-size: 10px;
    color: var(--lm-muted);
}

.lm-training-card-meta {
    display: flex;
    gap: 12px;
    margin: 8px 0;
    font-size: 10px;
    color: var(--lm-muted);
}

.lm-training-card-cta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 10px;
    font-weight: 800;
    color: var(--lm-ink);
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ============================================================
   CTA FORMATEUR / E-FORMATEUR
   ============================================================ */
.lm-learning-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 40px;
}

.lm-cta-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: .25s;
    position: relative;
}

.lm-section:not(.lm-dark) .lm-cta-card {
    background: #fff;
    border-color: var(--lm-line);
    color: var(--lm-ink);
}

.lm-cta-card:hover {
    background: rgba(200, 233, 111, .12);
    border-color: var(--lm-lime);
    transform: translateY(-2px);
}

.lm-section:not(.lm-dark) .lm-cta-card:hover {
    background: #fafaf3;
    border-color: var(--lm-ink);
}

.lm-cta-emoji {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.lm-cta-card h4 {
    font-family: var(--lm-serif);
    font-size: 18px;
    margin: 0 0 4px;
    letter-spacing: -.02em;
}

.lm-cta-card p {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .6);
    margin: 0;
}

.lm-section:not(.lm-dark) .lm-cta-card p {
    color: var(--lm-muted);
}

.lm-cta-arrow {
    margin-left: auto;
    font-size: 18px;
    opacity: .6;
    transition: transform .25s;
}

.lm-cta-card:hover .lm-cta-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ============================================================
   VIDÉO + LEÇONS
   ============================================================ */
.lm-video-hero {
    position: relative;
    padding-bottom: 56.25%; /* ratio 16:9 */
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0;
    background: #000;
}

.lm-video-hero iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lm-course-content {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--lm-line);
}

.lm-course-title {
    font-family: var(--lm-serif);
    font-size: 22px;
    letter-spacing: -.02em;
    margin: 0 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lm-course-title span {
    font-size: 11px;
    font-weight: 400;
    color: var(--lm-muted);
    font-family: var(--lm-sans);
}

.lm-course-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lm-lesson {
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 12px;
    overflow: hidden;
}

.lm-lesson summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    transition: background .2s;
}

.lm-lesson summary::-webkit-details-marker {
    display: none;
}

.lm-lesson summary:hover {
    background: #fafaf3;
}

.lm-lesson[open] summary {
    border-bottom: 1px solid var(--lm-line);
}

.lm-lesson-num {
    font-family: var(--lm-serif);
    font-size: 18px;
    color: var(--lm-muted);
    min-width: 32px;
}

.lm-lesson-info {
    flex: 1;
}

.lm-lesson-info b {
    display: block;
    font-size: 12px;
    color: var(--lm-ink);
}

.lm-lesson-info small {
    font-size: 10px;
    color: var(--lm-muted);
}

.lm-lesson-free {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 9px;
    background: rgba(200, 233, 111, .5);
    color: #2f4a15;
    border-radius: 999px;
}

.lm-lesson-chevron {
    font-size: 12px;
    color: var(--lm-muted);
    transition: transform .25s;
}

.lm-lesson[open] .lm-lesson-chevron {
    transform: rotate(180deg);
}

.lm-lesson-body {
    padding: 18px;
}

.lm-lesson-body p {
    font-size: 12px;
    color: var(--lm-muted);
    margin: 0 0 14px;
    line-height: 1.6;
}

.lm-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.lm-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   BLOC PRIX
   ============================================================ */
.lm-price-block {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--lm-line);
}

.lm-price {
    font-family: var(--lm-serif);
    font-size: 36px;
    line-height: 1;
    color: var(--lm-ink);
    letter-spacing: -.03em;
}

.lm-price small {
    font-size: 12px;
    font-weight: 500;
    color: var(--lm-muted);
    margin-left: 4px;
    font-family: var(--lm-sans);
}

.lm-price-free {
    color: #2f4a15;
}

.lm-price-hint {
    display: block;
    font-size: 10px;
    color: var(--lm-muted);
    margin-top: 6px;
}

/* ============================================================
   PAGE CANDIDATURE
   ============================================================ */
.lm-candidature-head {
    text-align: center;
    margin-bottom: 40px;
}

.lm-candidature-emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 14px;
}

.lm-candidature-head h1 {
    font-family: var(--lm-serif);
    font-size: clamp(30px, 3.6vw, 44px);
    letter-spacing: -.03em;
    line-height: 1.05;
    margin: 0 0 14px;
}

.lm-candidature-head p {
    font-size: 12px;
    color: var(--lm-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.lm-candidature-form {
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 16px;
    padding: 34px;
}

.lm-form-legal {
    font-size: 10px;
    color: var(--lm-muted);
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--lm-line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .lm-learning-cta {
        grid-template-columns: 1fr;
    }

    .lm-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .lm-filters-fields {
        width: 100%;
    }

    .lm-filters-fields select,
    .lm-filters-fields input {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .lm-candidature-form {
        padding: 22px 20px;
    }

    .lm-course-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lm-lesson summary {
        padding: 12px 14px;
        gap: 10px;
    }
}


/* ============================================================
   PAGE ACTUALITÉS — LISTE
   ============================================================ */
.lm-news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lm-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
    transition: transform .25s, box-shadow .25s;
}

.lm-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, .08);
}

.lm-news-card-image {
    height: 200px;
    background: linear-gradient(135deg, #365a39, #b7c89e) center / cover;
}

.lm-news-card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lm-news-card-body small {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-news-card-body h3 {
    font-family: var(--lm-serif);
    font-size: 20px;
    line-height: 1.15;
    margin: 8px 0 10px;
    letter-spacing: -.02em;
}

.lm-news-card-body p {
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--lm-muted);
    margin: 0 0 14px;
}

.lm-news-card-meta {
    font-size: 10px;
    color: var(--lm-muted);
    margin-top: auto;
    padding-top: 10px;
}

/* ============================================================
   PAGE ACTUALITÉ — DÉTAIL
   ============================================================ */
.lm-article {
    padding-bottom: 80px;
    background: var(--lm-cream);
}

.lm-article-hero {
    position: relative;
    height: 420px;
    background: linear-gradient(135deg, #365a39, #b7c89e) center / cover;
    margin-top: 76px;
}

.lm-article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 18, 10, .4), rgba(3, 18, 10, .05));
}

.lm-article-title {
    font-family: var(--lm-serif);
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
    margin: 10px 0 18px;
    color: var(--lm-ink);
}

.lm-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--lm-muted);
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--lm-line);
}

.lm-article-extrait {
    font-family: var(--lm-serif);
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
    color: var(--lm-muted);
    margin: 0 0 30px;
    padding-left: 22px;
    border-left: 3px solid var(--lm-lime);
}

.lm-article-body {
    font-size: 14px;
    line-height: 1.85;
    color: var(--lm-ink);
}

.lm-article-body p {
    margin: 0 0 22px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .lm-news-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-article-hero {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .lm-news-page-grid {
        grid-template-columns: 1fr;
    }

    .lm-article-hero {
        height: 220px;
        margin-top: 68px;
    }

    .lm-article-extrait {
        font-size: 17px;
        padding-left: 16px;
    }
}

/* ============================================================
   INSCRIPTION VENDEUR — Choix du type
   ============================================================ */
.lm-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lm-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: #fff;
    border: 2px solid var(--lm-line);
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
}

.lm-type-card:hover {
    border-color: var(--lm-ink);
}

.lm-type-card.is-active,
.lm-type-card:has(input:checked) {
    border-color: var(--lm-lime);
    background: #fafdf0;
}

.lm-type-card input {
    position: absolute;
    opacity: 0;
}

.lm-type-emoji {
    font-size: 24px;
    line-height: 1;
}

.lm-type-card strong {
    font-size: 13px;
    color: var(--lm-ink);
}

/* Catégories en chips */
.lm-cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lm-cat-chip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.lm-cat-chip input {
    position: absolute;
    opacity: 0;
}

.lm-cat-chip span {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--lm-muted);
    transition: .2s;
}

.lm-cat-chip:hover span {
    border-color: var(--lm-ink);
    color: var(--lm-ink);
}

.lm-cat-chip input:checked + span {
    background: var(--lm-ink);
    color: #fff;
    border-color: var(--lm-ink);
}

/* ============================================================
   CARTES VENDEURS (public)
   ============================================================ */
.lm-vendeur-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lm-vendeur-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--lm-ink);
    transition: transform .25s, box-shadow .25s;
}

.lm-vendeur-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, .08);
}

.lm-vendeur-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--lm-ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--lm-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}

.lm-vendeur-type {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin-bottom: 6px;
}

.lm-vendeur-card h3 {
    font-family: var(--lm-serif);
    font-size: 18px;
    margin: 0 0 4px;
}

.lm-vendeur-card p {
    font-size: 11px;
    color: var(--lm-muted);
    margin: 0 0 12px;
}

.lm-vendeur-count {
    font-size: 10px;
    font-weight: 700;
    color: var(--lm-ink);
    background: var(--lm-cream);
    padding: 4px 12px;
    border-radius: 999px;
}

/* En-tête du profil vendeur */
.lm-vendeur-header {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 16px;
    margin-top: 25px;
}

.lm-vendeur-header-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--lm-ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--lm-serif);
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
}

.lm-vendeur-header h1 {
    font-family: var(--lm-serif);
    font-size: 30px;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.1;
}

/* CTA Rejoindre */
.lm-cta-rejoindre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
    padding: 32px 36px;
    background: linear-gradient(110deg, #071a10, #173c26);
    border-radius: 20px;
    color: #fff;
    flex-wrap: wrap;
}

.lm-cta-rejoindre h3 {
    font-family: var(--lm-serif);
    font-size: 22px;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.lm-cta-rejoindre p {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin: 0;
    max-width: 500px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .lm-vendeur-grid { grid-template-columns: repeat(3, 1fr); }
    .lm-type-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .lm-vendeur-grid { grid-template-columns: repeat(2, 1fr); }
    .lm-vendeur-header {
        flex-direction: column;
        text-align: center;
    }
    .lm-vendeur-header h1 { font-size: 24px; }
    .lm-cta-rejoindre {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

/* ============================================================
   APPELS À PROJETS
   ============================================================ */
.lm-appels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lm-appel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
    transition: transform .25s, box-shadow .25s;
}

.lm-appel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, .08);
}

.lm-appel-cover {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #365a39, #b7c89e) center / cover;
}

.lm-appel-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lm-appel-ouvert {
    background: var(--lm-lime);
    color: #17301d;
}

.lm-appel-clos {
    background: rgba(3, 18, 10, .85);
    color: #fff;
}

.lm-appel-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lm-appel-body small {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-appel-body h3 {
    font-family: var(--lm-serif);
    font-size: 20px;
    line-height: 1.15;
    margin: 8px 0 10px;
    letter-spacing: -.02em;
}

.lm-appel-body p {
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--lm-muted);
    margin: 0 0 14px;
}

.lm-appel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    color: var(--lm-muted);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--lm-line);
}

@media (max-width: 991px) {
    .lm-appels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .lm-appels-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ÉVÉNEMENTS
   ============================================================ */
.lm-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lm-event-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--lm-ink);
    transition: transform .25s, box-shadow .25s;
}

.lm-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(20, 50, 30, .08);
}

.lm-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--lm-ink);
    color: #fff;
    padding: 20px 12px;
    text-align: center;
}

.lm-event-date span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .6;
}

.lm-event-date b {
    font-family: var(--lm-serif);
    font-size: 36px;
    line-height: 1;
    margin: 6px 0;
}

.lm-event-date small {
    font-size: 10px;
    opacity: .5;
}

.lm-event-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}

.lm-event-body small {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lm-muted);
}

.lm-event-body h3 {
    font-family: var(--lm-serif);
    font-size: 20px;
    line-height: 1.15;
    margin: 8px 0 8px;
    letter-spacing: -.02em;
}

.lm-event-body p {
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--lm-muted);
    margin: 0 0 10px;
}

.lm-event-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--lm-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.lm-event-price {
    font-size: 11px;
    font-weight: 800;
    color: var(--lm-ink);
}

@media (max-width: 991px) {
    .lm-events-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .lm-event-card { grid-template-columns: 85px 1fr; }
    .lm-event-date b { font-size: 28px; }
    .lm-event-body { padding: 16px; }
    .lm-event-body h3 { font-size: 17px; }
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.lm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.lm-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 100px;
}

.lm-contact-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--lm-line);
    border-radius: 12px;
}

.lm-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lm-cream);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.lm-contact-info strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lm-muted);
    margin-bottom: 5px;
}

.lm-contact-info p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--lm-ink);
    margin: 0;
}

.lm-contact-info p a {
    color: var(--lm-ink);
    text-decoration: none;
    font-weight: 600;
}

.lm-contact-info p a:hover {
    color: var(--lm-lime);
}

.lm-contact-cta {
    padding: 20px 22px;
    background: linear-gradient(110deg, #071a10, #173c26);
    border-radius: 12px;
    color: #fff;
}

.lm-contact-cta p {
    font-size: 12px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .7);
}

.lm-contact-cta .lm-text-link {
    color: #fff;
    margin-top: 0;
}

@media (max-width: 900px) {
    .lm-contact-grid {
        grid-template-columns: 1fr;
    }
    .lm-contact-aside {
        position: static;
    }
}