/* ============================================================
   MAIN.CSS — Nostre Mar
   CSS complet de toutes les sections et pages
   ============================================================ */

/* ── STATUS BADGES ÉVÉNEMENTS ── */
.nm-event-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.nm-status-avenir {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.nm-status-bientot {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.nm-status-encours {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    animation: nm-status-pulse 1.5s ease-in-out infinite;
}

.nm-status-termine {
    background: rgba(120, 120, 120, 0.12);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(120, 120, 120, 0.2);
}

/* Carte terminée : légèrement atténuée */
.nm-prog-card[data-status="termine"] {
    opacity: 0.5;
    filter: grayscale(0.4);
}

/* Carte en cours : léger halo */
.nm-prog-card[data-status="encours"] {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}

@keyframes nm-status-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* ── CONTAINER GLOBAL ── */
.nm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.nm-container--narrow {
    max-width: 860px;
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.nm-hero {
    min-height: 100vh;
    background: linear-gradient(160deg, #FF6B00 0%, #FF9100 30%, #FFBA3B 60%, #FF6B00 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 48px 80px;
}

/* Soleil décoratif */
.nm-hero-sun {
    position: absolute;
    top: -80px; right: 120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,186,59,.35) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.nm-hero-sun-rays {
    position: absolute;
    top: -60px; right: 140px;
    width: 280px; height: 280px;
    border: 2px solid rgba(255,255,255,.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(255,255,255,.04),
        0 0 0 60px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.015);
    pointer-events: none;
}

/* Dunes décoratives */
.nm-hero-dunes {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 280px;
    overflow: hidden;
    pointer-events: none;
}

.nm-dune {
    position: absolute;
    bottom: 0;
    border-radius: 50% 50% 0 0;
}

.nm-dune-1 { width: 900px; height: 220px; background: #C2006E; opacity: .16; left: -100px; bottom: -40px; }
.nm-dune-2 { width: 700px; height: 180px; background: #9B0095; opacity: .14; right: -80px; bottom: -20px; }
.nm-dune-3 { width: 500px; height: 140px; background: #FF6B00; opacity: .12; left: 30%; bottom: -60px; }

/* Contenu hero */
/* Affiche officielle flottante dans le hero */
.nm-hero-affiche {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(2deg);
    z-index: 3;
    width: clamp(160px, 18vw, 280px);
    pointer-events: none;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.nm-hero-affiche img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.nm-hero-affiche:hover {
    transform: translateY(-50%) rotate(0deg) scale(1.02);
}

@media (max-width: 900px) {
    .nm-hero-affiche { display: none; }
}

.nm-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-right: clamp(0px, 22vw, 320px);
}

.nm-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(194, 0, 110, .85);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 4px;
    padding: 6px 14px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
}

.nm-hero-edition {
    background: var(--violet);
    color: var(--white);
    border-radius: 50%;
    width: 100px; height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    text-transform: uppercase;
    border: 3px solid rgba(255,255,255,.35);
    box-shadow: 0 0 0 6px rgba(194,0,110,.3), 0 6px 24px rgba(0,0,0,.35);
    line-height: 1;
    flex-shrink: 0;
    gap: 2px;
}

.nm-edition-num {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    display: block;
    letter-spacing: -.01em;
}

.nm-edition-ieme {
    font-size: 14px;
    font-weight: 700;
    vertical-align: super;
    letter-spacing: 0;
}

.nm-edition-word {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .9;
    display: block;
}

.nm-hero-title {
    font-family: var(--font-title);
    font-size: clamp(60px, 8vw, 100px);
    color: #C2006E;
    -webkit-text-stroke: 0;
    font-weight: 900;
    line-height: .88;
    letter-spacing: -3px;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 rgba(100,0,80,.2);
    margin-bottom: 0;
}

.nm-hero-title span {
    display: block;
    color: #C2006E;
}

.nm-hero-tagline {
    font-family: var(--font-title);
    font-size: clamp(22px, 4vw, 44px);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.1;
    margin-bottom: 28px;
    text-shadow: 2px 2px 0 rgba(100,0,60,.3);
}

.nm-hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.nm-hero-location {
    font-family: var(--font-title);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.nm-hero-subloc {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-top: 4px;
    margin-bottom: 24px;
}

.nm-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nm-hero-dates {
    font-family: var(--font-title);
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 2px 2px 0 rgba(100,0,60,.2);
    text-align: right;
}

.nm-hero-cats-list {
    margin-top: 12px;
    text-align: right;
}

.nm-hero-cats-list span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.75;
}

.nm-hero-cats-list em {
    color: var(--violet);
    font-style: normal;
    font-weight: 900;
}

/* ============================================================
   SECTION PROGRAMME — HOMEPAGE
   ============================================================ */
.nm-programme-section {
    padding: 80px 0;
}

.nm-programme-section .nm-container {
    padding: 0 48px;
}

/* ============================================================
   ACCORDION CATÉGORIES — HOMEPAGE
   ============================================================ */

.nm-cat-panels {
    margin-top: 12px;
}

.nm-cat-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity    0.35s ease,
        margin-top 0.35s ease;
}

.nm-cat-panel.open {
    max-height: 260px;
    opacity: 1;
    margin-top: 20px;
}

.nm-cat-panel-inner {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: center;
    background: var(--panel-bg, #f5f0e8);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    border-left: 5px solid var(--panel-color, var(--orange));
}

.nm-cat-panel-icon {
    font-size: 52px;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
}

.nm-cat-panel-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--panel-color, var(--orange));
    margin-bottom: 10px;
}

.nm-cat-panel-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #4a3a2a;
    margin-bottom: 20px;
}

.nm-cat-panel-cta {
    display: inline-block;
    background: var(--panel-color, var(--orange));
    color: #fff;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.nm-cat-panel-cta:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 600px) {
    .nm-cat-panel-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 20px;
        text-align: center;
    }
    .nm-cat-panel-icon { font-size: 40px; }
    .nm-cat-panel.open { max-height: 380px; }
}

/* ============================================================
   À LA UNE — HOMEPAGE
   ============================================================ */
.nm-une-section {
    background: linear-gradient(150deg, var(--violet3) 0%, var(--violet) 50%, var(--violet2) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.nm-une-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,186,59,.12);
    filter: blur(40px);
    pointer-events: none;
}

.nm-une-section .nm-container {
    position: relative;
    z-index: 1;
}

.nm-une-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.nm-une-sub {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin-bottom: 36px;
    font-weight: 500;
}

.nm-une-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.nm-une-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    cursor: none;
    transition: transform .2s, background .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.nm-une-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.1);
    color: inherit;
}

.nm-une-img {
    overflow: hidden;
    position: relative;
}

.nm-une-img-big  { height: 260px; }
.nm-une-img-sm   { height: 120px; }

.nm-une-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nm-une-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #3d1a08, #1a0a02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nm-une-body {
    padding: 16px 18px 18px;
}

.nm-une-badge {
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    background: rgba(255,255,255,.2); /* fallback, écrasé par style inline */
}

/* Overlay type dans l'image principale de la une */
.nm-une-type-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
}

.nm-une-type-big {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    letter-spacing: .05em;
}

.nm-une-intervenants {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    font-style: italic;
    margin: 4px 0 0;
}

.nm-une-card-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -.3px;
}

.nm-une-card.nm-une-small .nm-une-card-title {
    font-size: 14px;
}

.nm-une-meta {
    font-size: 12px;
    color: rgba(255,255,255,.42);
    line-height: 1.55;
    font-weight: 500;
}

.nm-une-free {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(6,214,160,.18);
    color: #06D6A0;
    padding: 3px 10px;
    border-radius: var(--radius);
}

/* ============================================================
   PAGE BANNIÈRE (pages intérieures)
   ============================================================ */
.nm-page-banner {
    background: var(--dark);
    padding: 120px 48px 60px;
    position: relative;
    overflow: hidden;
}

.nm-page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, #FF6B00 0%, transparent 50%);
    opacity: .08;
    pointer-events: none;
}

.nm-page-banner--programme::after {
    content: 'PROGRAMME';
    position: absolute;
    right: -20px; bottom: -20px;
    font-family: var(--font-title);
    font-size: 160px;
    font-weight: 900;
    color: rgba(255,255,255,.03);
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
}

.nm-banner-eyebrow {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.nm-banner-title {
    font-family: var(--font-title);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: .9;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.nm-banner-sub {
    font-size: 15px;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* ============================================================
   PAGE PROGRAMME COMPLET
   ============================================================ */
.nm-programme-full {
    padding: 60px 0 80px;
    background: var(--dark);
    color: var(--white);
}

.nm-prog-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.nm-pill-tous {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.nm-pill-tous.active,
.nm-pill-tous:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.nm-pill-count {
    opacity: .6;
    font-weight: 600;
}

.nm-tarif-filters {
    display: flex;
    gap: 8px;
}

.nm-tarif-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.55);
    cursor: none;
    transition: all .15s;
}

.nm-tarif-btn.active,
.nm-tarif-btn:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

/* ── AGENDA CHRONOLOGIQUE — SÉPARATEURS DE JOURS ── */
.nm-day-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 10px;
}

.nm-day-label {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
    padding: 5px 14px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.22);
}

.nm-day-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.nm-day-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

/* ── CARD PROGRAMME — NOUVEAU DESIGN HORIZONTAL ── */
.nm-prog-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: inherit;
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    cursor: pointer;
    min-height: 72px;
}

.nm-prog-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 0, 0.28);
    transform: translateX(4px);
    color: inherit;
}

.nm-prog-card[data-hidden="true"] {
    display: none;
}

.nm-prog-card[data-status="termine"] {
    opacity: 0.42;
    filter: grayscale(0.5);
}

.nm-prog-card[data-status="encours"] {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.04);
}

/* Colonne heure */
.nm-prog-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 800;
    color: var(--orange3);
    text-align: center;
    line-height: 1.1;
    flex-shrink: 0;
}

.nm-prog-time .nm-time-tbd {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Corps de la card */
.nm-prog-body {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.nm-prog-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.nm-prog-title {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.2px;
}

.nm-prog-speaker {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    font-style: italic;
}

.nm-prog-lieu {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.32);
    margin: 2px 0 0;
}

/* Compatibilité anciens sélecteurs */
.nm-prog-card-body { padding: 12px 16px; }
.nm-prog-meta-item,
.nm-prog-card-meta,
.nm-prog-card-img,
.nm-prog-card-img-placeholder { display: none; }

.nm-no-events {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   FICHE ÉVÉNEMENT
   ============================================================ */
.nm-event-hero {
    min-height: 420px;
    background: var(--dark) center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.nm-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,8,0,.92) 0%, rgba(26,8,0,.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
    width: 100%;
}

.nm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
    font-weight: 500;
}

.nm-breadcrumb a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .15s;
}

.nm-breadcrumb a:hover {
    color: var(--orange3);
}

.nm-event-hero-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: .95;
}

.nm-event-content {
    padding: 60px 0 80px;
}

.nm-event-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.nm-event-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.nm-event-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.nm-event-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
}

.nm-event-body h2, .nm-event-body h3 {
    font-family: var(--font-title);
    color: var(--violet);
    margin: 28px 0 12px;
    text-transform: uppercase;
}

.nm-event-body p { margin-bottom: 16px; }
.nm-event-body blockquote {
    border-left: 4px solid var(--orange);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--sand);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--violet);
    font-weight: 500;
}

/* Sidebar sticky */
.nm-event-sidebar {
    position: sticky;
    top: 80px;
}

.nm-event-info-box {
    background: var(--white);
    border: 2px solid rgba(0,0,0,.07);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}

.nm-info-box-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -.3px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--orange);
}

.nm-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.nm-info-row:last-of-type {
    border-bottom: none;
}

.nm-info-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.nm-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nm-info-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.nm-info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    display: block;
}

.nm-maps-link {
    font-size: 12px;
    color: var(--violet);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 4px;
    transition: color .15s;
}

.nm-maps-link:hover { color: var(--orange); }

.nm-info-cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.nm-resa-btn {
    width: 100%;
    text-align: center;
    display: block;
    font-size: 15px;
}

.nm-free-badge {
    background: rgba(6,214,160,.1);
    color: #1B5E20;
    border: 1.5px solid rgba(6,214,160,.25);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.nm-info-share {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nm-share-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.nm-share-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--violet);
    text-decoration: none;
    border: 1px solid var(--violet);
    padding: 3px 10px;
    border-radius: 20px;
    transition: all .15s;
}

.nm-share-btn:hover {
    background: var(--violet);
    color: var(--white);
}

.nm-back-link {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
    padding: 12px 0;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.nm-back-link:hover { color: var(--orange); }

/* Événements similaires */
.nm-similar-events {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid rgba(0,0,0,.06);
}

.nm-similar-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -.3px;
    margin-bottom: 24px;
}

.nm-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.nm-similar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    transition: transform .2s;
    cursor: none;
    display: block;
}

.nm-similar-card:hover {
    transform: translateY(-3px);
    color: inherit;
}

.nm-similar-card-img {
    height: 100px;
    overflow: hidden;
}

.nm-similar-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nm-similar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #2d1810, #0f0408);
}

.nm-similar-body {
    padding: 12px 14px;
}

.nm-similar-body h4 {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
}

.nm-similar-body p {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}

/* ============================================================
   PAGE LE FESTIVAL
   ============================================================ */
.nm-festival-manifeste {
    padding: 80px 48px;
    background: var(--cream);
}

.nm-manifeste-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 16px;
}

.nm-manifeste-col {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(0,0,0,.06);
    transition: transform .2s;
}

.nm-manifeste-col:hover { transform: translateY(-4px); }

.nm-manifeste-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.nm-manifeste-col h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--violet);
    letter-spacing: -.3px;
    margin-bottom: 12px;
}

.nm-manifeste-col p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.nm-festival-histoire {
    padding: 80px 48px;
    background: var(--sand);
}

.nm-histoire-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nm-histoire-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink);
    margin-top: 16px;
}

.nm-histoire-content p { margin-bottom: 16px; }

.nm-histoire-quote {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.nm-histoire-quote::before {
    content: '"';
    position: absolute;
    top: -20px; left: 30px;
    font-size: 100px;
    font-family: var(--font-title);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.nm-histoire-quote blockquote {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -.3px;
    line-height: 1.3;
    font-style: normal;
}

.nm-histoire-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,.35);
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.nm-festival-timeline {
    padding: 80px 48px;
    background: var(--cream);
}

.nm-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-top: 16px;
    padding-left: 80px;
}

.nm-timeline::before {
    content: '';
    position: absolute;
    left: 40px; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), var(--violet));
}

.nm-timeline-item {
    display: grid;
    grid-template-columns: 60px 20px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.nm-timeline-year {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    text-align: right;
}

.nm-timeline-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--violet);
    border: 3px solid var(--cream);
    box-shadow: 0 0 0 2px var(--violet);
    position: relative;
    left: -79px;
}

.nm-timeline-content h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 4px;
}

.nm-timeline-content p {
    font-size: 13px;
    color: var(--muted);
}

.nm-festival-sos {
    padding: 80px 48px;
    background: var(--dark);
    position: relative;
    z-index: 1;
}

.nm-sos-block {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 48px;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.nm-sos-logo {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 900;
    color: var(--orange3);
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    border: 3px solid var(--orange);
    padding: 20px;
    border-radius: var(--radius);
}

.nm-sos-text h3 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.nm-sos-text p {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ============================================================
   PAGE PARTENAIRES
   ============================================================ */
.nm-partners-section {
    padding: 60px 0 80px;
}

.nm-partners-intro {
    margin-bottom: 48px;
}

.nm-partners-group {
    margin-bottom: 48px;
}

.nm-partners-group-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--violet);
    letter-spacing: .06em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.nm-partners-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.nm-partners-dark {
    background: var(--dark);
    padding: 28px;
    border-radius: var(--radius-lg);
}

.nm-partner-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    transition: background .2s, border-color .2s, transform .15s;
    text-decoration: none;
    cursor: none;
    min-height: 70px;
}

.nm-partner-tile:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

.nm-partner-tile img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .7;
    transition: opacity .2s;
}

.nm-partner-tile:hover img { opacity: 1; }

.nm-partner-tile-name {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.6);
    text-align: center;
}

.nm-become-partner {
    margin-top: 64px;
    background: linear-gradient(135deg, var(--orange), var(--violet));
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}

.nm-become-partner-content h3 {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.nm-become-partner-content p {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.65;
}

.nm-become-partner-content .btn-primary {
    background: var(--dark);
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.nm-contact-section {
    padding: 60px 0 80px;
}

.nm-contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

.nm-contact-form-title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -.5px;
    margin-bottom: 28px;
}

.nm-form-success {
    background: rgba(6,214,160,.12);
    border: 1.5px solid rgba(6,214,160,.3);
    color: #1B5E20;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.nm-form-error {
    background: rgba(194,0,110,.08);
    border: 1.5px solid rgba(194,0,110,.25);
    color: var(--violet);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.nm-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nm-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nm-form-field label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink);
}

.nm-form-field input,
.nm-form-field select,
.nm-form-field textarea {
    border: 2px solid rgba(0,0,0,.1);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    transition: border-color .15s;
    outline: none;
}

.nm-form-field input:focus,
.nm-form-field select:focus,
.nm-form-field textarea:focus {
    border-color: var(--orange);
}

.nm-form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A7060' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.nm-form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Infos contact sidebar */
.nm-contact-info-block,
.nm-contact-social-block,
.nm-contact-presse-block {
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,.06);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
}

.nm-contact-info-block h3,
.nm-contact-social-block h4,
.nm-contact-presse-block h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -.2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange);
}

.nm-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.nm-contact-info-item:last-child { border-bottom: none; }

.nm-ci-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.nm-contact-info-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 2px;
}

.nm-contact-info-item a,
.nm-contact-info-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.nm-contact-info-item a:hover { color: var(--orange); }

.nm-contact-social-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.nm-contact-social-link {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--violet);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .15s;
    padding: 8px 0;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.nm-contact-social-link:hover { color: var(--orange); }

.nm-contact-presse-block p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* ============================================================
   INDEX / ARCHIVE
   ============================================================ */
.nm-archive-section {
    padding: 120px 0 80px;
}

.nm-archive-header {
    margin-bottom: 48px;
}

.nm-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.nm-post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,.06);
    transition: transform .2s;
}

.nm-post-card:hover { transform: translateY(-4px); }

.nm-post-card-img {
    display: block;
    height: 200px;
    overflow: hidden;
}

.nm-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nm-post-card-body {
    padding: 20px;
}

.nm-post-card-title {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -.3px;
    margin-bottom: 10px;
}

.nm-post-card-title a {
    color: inherit;
    text-decoration: none;
}

.nm-post-card-title a:hover { color: var(--orange); }

.nm-post-card-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nm-pagination {
    margin-top: 48px;
    text-align: center;
}

.nm-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nm-pagination .page-numbers {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: var(--radius);
    border: 2px solid rgba(0,0,0,.1);
    color: var(--ink);
    text-decoration: none;
    transition: all .15s;
}

.nm-pagination .page-numbers.current,
.nm-pagination .page-numbers:hover {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
}

.nm-no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 1024px) {
    .nm-container { padding: 0 32px; }
    .nm-hero { padding: 100px 32px 60px; }
    .nm-une-grid { grid-template-columns: 1fr 1fr; }
    .nm-event-layout { grid-template-columns: 1fr 280px; }
    .nm-page-banner { padding: 120px 32px 50px; }
    .nm-festival-histoire { padding: 60px 32px; }
}

@media (max-width: 768px) {
    .nm-container { padding: 0 20px; }
    .nm-hero { padding: 90px 20px 50px; }
    .nm-hero-bottom { flex-direction: column; gap: 24px; }
    .nm-hero-bottom-right { text-align: left; }
    .nm-hero-dates { text-align: left; }
    .nm-hero-cats-list { text-align: left; }
    .nm-une-grid { grid-template-columns: 1fr; }
    .nm-event-layout { grid-template-columns: 1fr; }
    .nm-event-sidebar { position: static; }
    .nm-similar-grid { grid-template-columns: 1fr 1fr; }
    .nm-festival-manifeste,
    .nm-festival-histoire,
    .nm-festival-timeline { padding: 60px 20px; }
    .nm-manifeste-cols { grid-template-columns: 1fr; }
    .nm-histoire-layout { grid-template-columns: 1fr; }
    .nm-contact-layout { grid-template-columns: 1fr; }
    .nm-form-row { grid-template-columns: 1fr; }
    .nm-prog-card { grid-template-columns: 80px 1fr; }
    .nm-prog-card-meta { display: none; }
    .nm-partners-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .nm-page-banner { padding: 100px 20px 40px; }
    .nm-sos-block { grid-template-columns: 1fr; text-align: center; }
    .nm-timeline { padding-left: 60px; }
}

@media (max-width: 480px) {
    .nm-hero-title { font-size: 64px; }
    .nm-similar-grid { grid-template-columns: 1fr; }
    .nm-partners-logos-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   EDITIONS PRECEDENTES
   ============================================================ */

.nm-page-banner--editions { background: var(--dark); }

.nm-editions-intro { padding: 60px 20px; background: var(--cream); }
.nm-editions-intro-body { font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 720px; margin: 0 auto; }

.nm-editions-section { padding: 72px 20px 100px; background: var(--cream); }

.nm-editions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 72px;
}

.nm-edition-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(26,8,0,.08);
    transition: transform .25s, box-shadow .25s;
}
.nm-edition-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,8,0,.14); }

.nm-edition-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark);
}
.nm-edition-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nm-edition-card:hover .nm-edition-card-img img { transform: scale(1.04); }

.nm-edition-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #3a1a00 100%);
}
.nm-edition-year-big {
    font-family: var(--font-title);
    font-size: 96px; font-weight: 900;
    color: var(--ed-color, #FF6B00);
    opacity: .6; line-height: 1;
}

.nm-edition-card-overlay {
    position: absolute; inset: 0;
    background: rgba(26,8,0,.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s;
}
.nm-edition-card:hover .nm-edition-card-overlay { opacity: 1; }
.nm-edition-voir {
    color: #fff; font-family: var(--font-title);
    font-size: 20px; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase;
}

.nm-edition-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nm-edition-card-top { display: flex; flex-direction: column; gap: 6px; }

.nm-edition-badge {
    display: inline-block; color: #fff;
    font-family: var(--font-title); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 3px 10px; border-radius: 20px; width: fit-content;
}
.nm-edition-card-title {
    font-family: var(--font-title); font-size: 28px; font-weight: 800;
    color: var(--ink); text-transform: uppercase; line-height: 1.1; margin: 0;
}
.nm-edition-card-dates { font-size: 14px; color: var(--muted); margin: 0; }
.nm-edition-card-excerpt { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

.nm-edition-stats {
    display: flex; gap: 20px;
    padding-top: 16px; border-top: 1px solid rgba(26,8,0,.07); margin-top: auto;
}
.nm-edition-stat { display: flex; flex-direction: column; gap: 2px; }
.nm-edition-stat strong { font-family: var(--font-title); font-size: 24px; font-weight: 900; color: var(--orange); line-height: 1; }
.nm-edition-stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.nm-editions-empty { text-align: center; padding: 60px 20px; }
.nm-editions-empty-inner { max-width: 800px; margin: 0 auto; }
.nm-editions-empty-icon { font-size: 48px; margin-bottom: 16px; }
.nm-editions-empty h3 { font-family: var(--font-title); font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.nm-editions-placeholder-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; opacity: .4; pointer-events: none; }

.nm-editions-cta { text-align: center; padding-top: 60px; border-top: 1px solid rgba(26,8,0,.1); }
.nm-editions-cta p { font-size: 18px; color: var(--muted); margin-bottom: 20px; }

/* Detail edition */
.nm-edition-hero .nm-event-hero-overlay {
    background: linear-gradient(to top, rgba(26,8,0,.85) 0%, rgba(26,8,0,.3) 60%, transparent 100%);
}
.nm-edition-hero-year { font-family: var(--font-title); font-size: 80px; font-weight: 900; line-height: 1; opacity: .5; margin-bottom: 8px; }
.nm-edition-hero-dates { font-size: 18px; color: rgba(255,255,255,.7); margin: 8px 0 0; }

.nm-edition-stats-bar { background: var(--ed-color, var(--orange)); padding: 28px 20px; }
.nm-edition-stats-row { display: flex; justify-content: center; gap: 80px; max-width: 1200px; margin: 0 auto; }
.nm-edition-stat-big { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nm-edition-stat-big strong { font-family: var(--font-title); font-size: 48px; font-weight: 900; color: #fff; line-height: 1; }
.nm-edition-stat-big span { font-size: 13px; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .1em; }

.nm-edition-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.nm-edition-main { min-width: 0; }
.nm-edition-section-title { font-family: var(--font-title); font-size: 26px; font-weight: 800; color: var(--ink); text-transform: uppercase; margin: 48px 0 20px; }

.nm-edition-video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: var(--dark); }
.nm-edition-video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; }

.nm-edition-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.nm-gallery-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.nm-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nm-gallery-thumb:hover img { transform: scale(1.05); }

.nm-edition-nav { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.nm-edition-nav-link { display: block; padding: 12px 16px; background: var(--sand); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.nm-edition-nav-link:hover { background: var(--orange); color: #fff; }

@media (max-width: 1024px) {
    .nm-editions-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .nm-edition-layout { grid-template-columns: 1fr; }
    .nm-editions-placeholder-grid { grid-template-columns: repeat(2,1fr); }
    .nm-edition-stats-row { gap: 40px; }
}
@media (max-width: 600px) {
    .nm-edition-year-big { font-size: 64px; }
    .nm-edition-hero-year { font-size: 48px; }
    .nm-edition-stats-row { gap: 24px; flex-wrap: wrap; }
    .nm-edition-stat-big strong { font-size: 36px; }
    .nm-editions-placeholder-grid { grid-template-columns: 1fr; }
    .nm-edition-gallery-grid { grid-template-columns: repeat(2,1fr); }
}


/* ============================================================
   ARTICLES D'ÉDITION — nm-articles-grid (dans single-nm_edition.php)
   ============================================================ */

.nm-edition-articles {
    margin-top: 56px;
}

.nm-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.nm-article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: 0 2px 12px rgba(26,8,0,.08);
    transition: var(--transition);
}

.nm-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(26,8,0,.14);
}

.nm-article-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.nm-article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.nm-article-card:hover .nm-article-card-img img {
    transform: scale(1.04);
}

.nm-article-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 900;
    color: rgba(255,255,255,.6);
}

.nm-article-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nm-article-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.nm-article-title {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    margin: 0;
}

.nm-article-date {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.nm-article-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #5a3a20;
    margin: 0;
    flex: 1;
}

.nm-article-lire {
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .nm-articles-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
    .nm-articles-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SINGLE ARTICLE (single.php)
   ============================================================ */

/* --- Héro bannière --- */
.nm-single-hero {
    min-height: 60vh;
    background: var(--dark);
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.nm-single-hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26,8,0,.25) 0%,
        rgba(26,8,0,.80) 100%
    );
    padding: 120px 0 64px;
    width: 100%;
}

.nm-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.nm-single-cat-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
}

.nm-single-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    max-width: 860px;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.nm-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin: 0;
}

.nm-single-year {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* --- Contenu de l'article --- */
.nm-single-content {
    padding: 64px 0 80px;
    background: var(--cream);
}

.nm-single-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
}

.nm-single-body h1,
.nm-single-body h2,
.nm-single-body h3,
.nm-single-body h4 {
    font-family: var(--font-title);
    font-weight: 800;
    text-transform: uppercase;
    margin: 1.5em 0 .5em;
    color: var(--ink);
}

.nm-single-body h2 { font-size: 28px; }
.nm-single-body h3 { font-size: 22px; }

.nm-single-body p { margin: 0 0 1.2em; }

.nm-single-body a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nm-single-body a:hover { color: var(--orange); }

.nm-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 8px 0;
}

.nm-single-body blockquote {
    border-left: 4px solid var(--orange);
    margin: 24px 0;
    padding: 12px 24px;
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--ink);
}

/* --- Footer article : bouton retour + nav --- */
.nm-single-footer {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid var(--sand);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nm-single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: var(--accent, var(--orange));
    color: #fff;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    align-self: flex-start;
    transition: var(--transition);
}

.nm-single-back:hover {
    opacity: .85;
    transform: translateX(-4px);
}

.nm-single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nm-single-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(26,8,0,.07);
    transition: var(--transition);
}

.nm-single-nav-link:hover {
    box-shadow: 0 6px 24px rgba(26,8,0,.14);
    transform: translateY(-2px);
}

.nm-single-nav-link--next {
    text-align: right;
}

.nm-single-nav-dir {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}

.nm-single-nav-title {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .nm-single-hero-overlay { padding: 100px 0 48px; }
    .nm-single-nav { grid-template-columns: 1fr; }
    .nm-single-nav-link--next { text-align: left; }
    .nm-single-content { padding: 48px 0 64px; }
}

@media (max-width: 480px) {
    .nm-single-title { font-size: 28px; }
    .nm-single-back { font-size: 14px; padding: 12px 20px; }
}


/* ============================================================
   CATEGORY.PHP — Archive catégorie / liste articles par année
   ============================================================ */

.nm-cat-articles {
    padding: 64px 0 80px;
    background: var(--cream);
}

/* Bannière avec couleur dynamique */
.nm-page-banner {
    padding: 100px 0 64px;
    background: var(--dark);
}

.nm-page-banner .nm-breadcrumb {
    margin-bottom: 16px;
}

/* Breadcrumb clair (sur fond sombre) */
.nm-breadcrumb--light,
.nm-breadcrumb--light a,
.nm-breadcrumb--light span {
    color: rgba(255,255,255,.65) !important;
}

.nm-breadcrumb--light a:hover {
    color: #fff !important;
}

/* Pagination */
.nm-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid var(--sand);
    transition: var(--transition);
}

.nm-pagination .page-numbers.current,
.nm-pagination .page-numbers:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.nm-pagination .page-numbers.prev,
.nm-pagination .page-numbers.next {
    width: auto;
    padding: 0 16px;
}

/* État vide */
.nm-empty-state {
    text-align: center;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 16px;
}

/* Carte désactivée (année sans articles) */
.nm-edition-card--vide {
    opacity: .55;
    pointer-events: none;
    cursor: default;
}


/* ============================================================
   PAGE FESTIVAL — sections origine, affiches, mission, SOS
   ============================================================ */

/* --- Origine "Ici, là-bas..." --- */
.nm-festival-origine {
    background: var(--orange);
    padding: 80px 0;
    color: #fff;
}

.nm-origine-titre {
    font-family: var(--font-title);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.nm-origine-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.nm-origine-col {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.92);
}

.nm-origine-col em { font-style: italic; }
.nm-origine-col strong { color: #fff; font-weight: 700; }

@media (max-width: 768px) {
    .nm-origine-cols { grid-template-columns: 1fr; gap: 24px; }
    .nm-origine-titre { font-size: 36px; }
}

/* --- Affiches des éditions --- */
.nm-festival-affiches {
    padding: 80px 0;
    background: var(--cream);
}

.nm-affiches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.nm-affiche-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,8,0,.12);
}

.nm-affiche-img {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nm-affiche-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nm-affiche-year-fallback {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    pointer-events: none;
}

.nm-affiche-fallback-text {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 900;
    color: rgba(255,255,255,.9);
    line-height: 1;
    text-transform: uppercase;
}

.nm-affiche-fallback-text em {
    font-style: normal;
    color: rgba(255,255,255,.6);
}

.nm-affiche-fallback-year {
    font-family: var(--font-title);
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.nm-affiche-body {
    padding: 16px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nm-affiche-num {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nm-affiche-dates {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.nm-affiche-lieux {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) { .nm-affiches-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .nm-affiches-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* --- Mission grande citation --- */
.nm-festival-mission {
    background: var(--orange);
    padding: 80px 0;
}

.nm-mission-text {
    font-family: var(--font-title);
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    text-align: center;
}

/* --- SOS Racisme --- */
.nm-festival-sos {
    background: var(--cream);
    padding: 80px 0;
}

.nm-sos-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: center;
}

.nm-sos-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nm-sos-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.nm-sos-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    object-fit: contain;
}

.nm-sos-text {
    position: relative;
    z-index: 2;
}

.nm-sos-headline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--orange);
    margin-bottom: 24px;
}

.nm-sos-headline strong { color: var(--orange); }

.nm-sos-quote-box {
    background: var(--orange);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    color: #fff;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .nm-sos-layout { grid-template-columns: 1fr; gap: 32px; }
    .nm-sos-logo-wrap { max-width: 200px; margin: 0 auto; }
}


/* ============================================================
   PAGE PROGRAMME — Calendrier prévisionnel 2026
   ============================================================ */

/* Légende types */
.nm-cal-legend {
    background: var(--sand);
    padding: 16px 0;
    border-bottom: 1px solid rgba(26,8,0,.08);
}

.nm-cal-legend-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.nm-cal-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.nm-cal-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Section calendrier */
.nm-cal-section {
    padding: 64px 0 80px;
    background: var(--cream);
}

/* Jour */
.nm-cal-day {
    margin-bottom: 40px;
}

.nm-cal-day-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.nm-cal-day-label {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: .04em;
    white-space: nowrap;
}

.nm-cal-day-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--sand);
}

/* Événements du jour */
.nm-cal-events {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 24px;
    border-left: 3px solid var(--sand);
}

/* Un événement */
.nm-cal-event {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: 0 1px 6px rgba(26,8,0,.06);
}

.nm-cal-heure {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 900;
    color: var(--orange);
    min-width: 60px;
    flex-shrink: 0;
    padding-top: 2px;
}

.nm-cal-heure--vide {
    color: var(--muted);
}

.nm-cal-event-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nm-cal-event-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nm-cal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.nm-cal-partenaire {
    font-size: 11px;
    color: var(--muted);
    font-style: italic;
}

.nm-cal-event-title {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

.nm-cal-intervenants {
    font-size: 13px;
    color: var(--violet);
    font-weight: 600;
    margin: 0;
}

.nm-cal-lieu {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nm-cal-lieu-icon { font-size: 12px; }

@media (max-width: 600px) {
    .nm-cal-event { flex-direction: column; gap: 8px; padding: 14px 16px; }
    .nm-cal-heure { min-width: auto; font-size: 15px; }

    .nm-cal-events { padding-left: 12px; }
}


/* ============================================================
   PAGES LÉGALES — Mentions légales & RGPD
   ============================================================ */

.nm-legal-section {
    background: var(--cream);
    padding: 72px 0 96px;
}

.nm-container--narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Contenu éditorial WordPress (the_content) */
.nm-editorial {
    font-size: 16px;
    line-height: 1.75;
    color: #3a2a1a;
}

.nm-editorial h2 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin: 48px 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sand, #e8dcc8);
}

.nm-editorial h2:first-child {
    margin-top: 0;
}

.nm-editorial h3 {
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--orange);
    margin: 32px 0 8px;
}

.nm-editorial p {
    margin-bottom: 16px;
}

.nm-editorial a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nm-editorial a:hover {
    color: var(--violet);
}

.nm-editorial ul,
.nm-editorial ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.nm-editorial li {
    margin-bottom: 6px;
}

.nm-editorial strong {
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 600px) {
    .nm-legal-section { padding: 48px 0 72px; }
    .nm-editorial { font-size: 15px; }
    .nm-editorial h2 { font-size: 18px; }
}