/* ════════════════════════════════════════════════════════════════════════
   REVAMOTORS — Archetype AK "Latitude"
   Fond lavande #F0F0FA · Orange flash #FF5500 · Barlow Condensed + Public Sans
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES ──────────────────────────────────────────────────────── */
:root {
    /* Palette — fond lavande, unique dans le réseau */
    --rm-base:        #F0F0FA;
    --rm-base-2:      #E6E6F5;
    --rm-surface:     #FFFFFF;
    --rm-encre:       #0E0E1A;
    --rm-soft:        #5A5A72;
    --rm-ligne:       #D8D8EC;
    --rm-muted:       #8A8AAA;

    /* Accent orange flash */
    --rm-flash:       #FF5500;
    --rm-flash-deep:  #CC4300;
    --rm-flash-tint:  #FFF2EE;

    /* Sections sombres + footer */
    --rm-nuit:        #0A0A1A;
    --rm-nuit-2:      #14141F;
    --rm-nuit-bord:   #1E1E30;

    /* Typographie */
    --rm-font-d: 'Barlow Condensed', sans-serif;
    --rm-font-b: 'Public Sans', sans-serif;

    /* Mise en page */
    --rm-hh:    64px;
    --rm-r:     4px;
    --rm-max:   1200px;
}

/* ── 2. RESET / BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--rm-font-b);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--rm-encre);
    background: var(--rm-base);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 3. LAYOUT ─────────────────────────────────────────────────────────── */
.rm-cadre {
    max-width: var(--rm-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── 4. TYPOGRAPHIE ────────────────────────────────────────────────────── */
.rm-section-titre {
    font-family: var(--rm-font-d);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    font-style: italic;
    color: var(--rm-encre);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.rm-section-titre--centre { text-align: center; }

.rm-kicker {
    font-family: var(--rm-font-d);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-flash);
    margin-bottom: 0.5rem;
}

.rm-eyebrow {
    font-family: var(--rm-font-d);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rm-flash);
    margin-bottom: 1rem;
}

/* ── 5. BOUTONS ────────────────────────────────────────────────────────── */
.rm-bouton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rm-font-d);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 26px;
    border-radius: var(--rm-r);
    background: var(--rm-flash);
    color: #fff;
    transition: background 0.18s, transform 0.15s;
    cursor: pointer;
}
.rm-bouton:hover { background: var(--rm-flash-deep); transform: translateY(-2px); }

.rm-bouton--ligne {
    background: transparent;
    color: var(--rm-flash);
    border: 1.5px solid var(--rm-flash);
}
.rm-bouton--ligne:hover { background: var(--rm-flash); color: #fff; }

.rm-bouton--clair {
    background: transparent;
    color: rgba(255,255,255,0.90);
    border: 1.5px solid rgba(255,255,255,0.40);
}
.rm-bouton--clair:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.70); }

/* ── 6. HEADER ─────────────────────────────────────────────────────────── */
.rm-entete {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--rm-surface);
    border-bottom: 1px solid var(--rm-ligne);
    height: var(--rm-hh);
}

.rm-entete-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

/* Logo */
.rm-logo {
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-shrink: 0;
    text-decoration: none;
}
.rm-logo-reva {
    font-family: var(--rm-font-d);
    font-size: 1.55rem;
    font-weight: 900;
    font-style: italic;
    color: var(--rm-encre);
    line-height: 1;
}
.rm-logo-chevron {
    font-family: var(--rm-font-d);
    font-size: 1.75rem;
    font-weight: 900;
    font-style: italic;
    color: var(--rm-flash);
    line-height: 1;
    margin: 0 1px 0 2px;
}
.rm-logo-motors {
    font-family: var(--rm-font-d);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-encre);
    line-height: 1;
}
.rm-logo--clair .rm-logo-reva,
.rm-logo--clair .rm-logo-motors { color: rgba(255,255,255,0.90); }

/* Nav desktop */
.rm-nav { margin-left: auto; }
.rm-nav-liste {
    display: flex;
    align-items: center;
    gap: 2px;
}
.rm-nav-liste li a {
    font-family: var(--rm-font-d);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--rm-soft);
    padding: 6px 12px;
    border-radius: var(--rm-r);
    transition: color 0.15s, background 0.15s;
}
.rm-nav-liste li a:hover { color: var(--rm-flash); }
.rm-nav-contact {
    color: var(--rm-encre) !important;
    border: 1.5px solid var(--rm-ligne) !important;
    margin-left: 8px;
}
.rm-nav-contact:hover { border-color: var(--rm-flash) !important; color: var(--rm-flash) !important; background: var(--rm-flash-tint) !important; }

/* Nav toggle (burger) */
.rm-nav-toggle {
    display: none;
    color: var(--rm-encre);
    margin-left: auto;
    padding: 4px;
}

/* Elements masqués sur desktop (affichés uniquement dans le menu mobile) */
.rm-nav-close { display: none; }
.rm-nav-logo  { display: none; }
.rm-nav-top   { display: none; }

/* ── 7. NAV MOBILE ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .rm-nav-toggle { display: flex; }
    .rm-entete-inner { gap: 0; }

    .rm-nav {
        position: fixed;
        inset: 0;
        z-index: 300;
        background: var(--rm-nuit);
        display: flex;
        flex-direction: column;
        padding: 0 0 40px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .rm-nav.is-open { transform: translateX(0); }

    .rm-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--rm-nuit-bord);
    }
    .rm-nav-logo {
        display: flex;
    }
    .rm-nav-logo .rm-logo-reva,
    .rm-nav-logo .rm-logo-motors { color: rgba(255,255,255,0.90); }

    .rm-nav-close {
        display: flex;
        color: rgba(255,255,255,0.70);
        padding: 4px;
    }
    .rm-nav-close:hover { color: #fff; }

    .rm-nav-liste {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 0;
        overflow-y: auto;
        flex: 1;
    }
    .rm-nav-liste li { width: 100%; }
    .rm-nav-liste li a {
        display: block;
        font-size: 1.3rem;
        font-weight: 700;
        font-style: italic;
        color: rgba(255,255,255,0.80) !important;
        padding: 14px 24px;
        border-radius: 0;
        border-left: 3px solid transparent;
        letter-spacing: 0.04em;
        background: transparent !important;
    }
    .rm-nav-liste li a:hover { color: var(--rm-flash) !important; border-left-color: var(--rm-flash); }
    .rm-nav-contact { border: none !important; }
}

/* ── 8. HERO "OUVERTURE" ───────────────────────────────────────────────── */
.rm-ouverture {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    background: var(--rm-nuit) center/cover no-repeat;
    overflow: hidden;
}

.rm-ouverture-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(10,10,26,0.90) 0%,
        rgba(10,10,26,0.68) 50%,
        rgba(10,10,26,0.25) 100%
    );
}

.rm-ouverture-corps {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    max-width: 700px;
}

.rm-ouverture-titre {
    font-family: var(--rm-font-d);
    font-size: clamp(3.2rem, 8.5vw, 9rem);
    font-weight: 900;
    font-style: italic;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.rm-ouverture-titre .rm-flash-text { color: var(--rm-flash); }

.rm-ouverture-lead {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    max-width: 460px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.rm-ouverture-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.rm-ouverture-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.rm-ouverture-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rm-ouverture-stat-num {
    font-family: var(--rm-font-d);
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: var(--rm-flash);
    line-height: 1;
}

.rm-ouverture-stat-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
}

/* ── 9. BANDE CATÉGORIES ───────────────────────────────────────────────── */
.rm-bande-cats {
    background: var(--rm-surface);
    border-bottom: 1px solid var(--rm-ligne);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.rm-bande-cats::-webkit-scrollbar { display: none; }

.rm-bande-cats .rm-cadre {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 0;
    padding-bottom: 0;
    min-width: max-content;
}

.rm-bande-cat {
    font-family: var(--rm-font-d);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rm-soft);
    padding: 14px 18px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.rm-bande-cat:hover { color: var(--rm-flash); border-bottom-color: var(--rm-flash); }

/* ── 10. SECTION ARTICLES (MANCHETTE + GRILLE) ─────────────────────────── */
.rm-fil {
    padding: 64px 0;
}

/* Manchette (1er article, à la une) */
.rm-manchette {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 0;
    background: var(--rm-surface);
    border-radius: var(--rm-r);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,10,26,0.08);
    margin-bottom: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.rm-manchette:hover { box-shadow: 0 8px 28px rgba(10,10,26,0.12); transform: translateY(-3px); }

.rm-manchette-visuel {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.rm-manchette-visuel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.rm-manchette:hover .rm-manchette-visuel img { transform: scale(1.03); }

.rm-manchette-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--rm-font-d);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--rm-flash);
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 1;
}

.rm-manchette-corps {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rm-manchette-titre {
    font-family: var(--rm-font-d);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: var(--rm-encre);
}
.rm-manchette-titre a { color: inherit; }
.rm-manchette-titre a:hover { color: var(--rm-flash); }

.rm-manchette-extrait {
    font-size: 0.9rem;
    color: var(--rm-soft);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.rm-manchette-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--rm-muted);
    font-weight: 500;
}

/* Grille d'articles */
.rm-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.rm-carte {
    background: var(--rm-surface);
    border-radius: var(--rm-r);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10,10,26,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}
.rm-carte:hover { box-shadow: 0 8px 24px rgba(10,10,26,0.11); transform: translateY(-4px); }

.rm-carte-visuel {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.rm-carte-visuel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.rm-carte:hover .rm-carte-visuel img { transform: scale(1.04); }

.rm-carte-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--rm-font-d);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    background: var(--rm-flash);
    color: #fff;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 1;
}

.rm-carte-corps { padding: 18px 20px 20px; }

.rm-carte-titre {
    font-family: var(--rm-font-d);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    color: var(--rm-encre);
    margin-bottom: 0.5rem;
}
.rm-carte-titre a { color: inherit; }
.rm-carte-titre a:hover { color: var(--rm-flash); }

.rm-carte-meta {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--rm-muted);
    font-weight: 500;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rm-ligne);
}

/* ── 11. PERSONA "ROUTE" ───────────────────────────────────────────────── */
.rm-route {
    background: var(--rm-nuit);
    padding: 80px 0;
}

.rm-route-grille {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 64px;
    align-items: center;
}

.rm-route-photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--rm-r);
}
.rm-route-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Trait orange en bas gauche du portrait */
.rm-route-photo::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--rm-flash);
}

.rm-route-texte { color: rgba(255,255,255,0.90); }

.rm-route-eyebrow {
    font-family: var(--rm-font-d);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rm-flash);
    margin-bottom: 0.6rem;
}

.rm-route-nom {
    font-family: var(--rm-font-d);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.4rem;
}

.rm-route-role {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.50);
    letter-spacing: 0.03em;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    font-family: var(--rm-font-d);
}

.rm-route-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin-bottom: 2rem;
}
.rm-route-bio p { margin-bottom: 0.9em; }
.rm-route-bio ul { padding-left: 0; margin-bottom: 1em; }
.rm-route-bio ul li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 0.5em;
}
.rm-route-bio ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 14px;
    height: 2.5px;
    background: var(--rm-flash);
    border-radius: 1px;
    transform: rotate(-45deg);
}

/* ── 12. CATÉGORIES "JALONS" ───────────────────────────────────────────── */
.rm-jalons {
    padding: 72px 0 80px;
    background: var(--rm-base);
}

.rm-jalons-grille {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.rm-jalon {
    background: var(--rm-surface);
    border-radius: var(--rm-r);
    border-top: 3px solid var(--rm-ligne);
    padding: 24px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 6px rgba(10,10,26,0.05);
    transition: border-top-color 0.18s, transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
}
.rm-jalon:hover {
    border-top-color: var(--rm-flash);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,85,0,0.12);
}

.rm-jalon-num {
    font-family: var(--rm-font-d);
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    color: var(--rm-flash);
    line-height: 1;
}

.rm-jalon-nom {
    font-family: var(--rm-font-d);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rm-encre);
    line-height: 1.2;
    margin-top: 2px;
}

.rm-jalon-desc {
    font-size: 0.78rem;
    color: var(--rm-soft);
    line-height: 1.45;
    flex: 1;
}

.rm-jalon-count {
    font-family: var(--rm-font-d);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--rm-muted);
    text-transform: uppercase;
    margin-top: 8px;
}

/* ── 13. FOOTER ────────────────────────────────────────────────────────── */
.rm-pied {
    background: var(--rm-nuit);
    border-top: 3px solid var(--rm-flash);
    padding: 64px 0 40px;
}

.rm-pied-grille {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
    align-items: start;
}

.rm-pied-col--brand {}

.rm-pied-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 20px;
    max-width: 260px;
}

.rm-pied-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.04em;
}

.rm-pied-titre {
    font-family: var(--rm-font-d);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    margin-bottom: 16px;
}

.rm-pied-liens { display: flex; flex-direction: column; gap: 8px; }
.rm-pied-liens a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.15s;
}
.rm-pied-liens a:hover { color: var(--rm-flash); }

/* Derniers articles dans le footer */
.rm-pied-articles li {}
.rm-pied-articles a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}
.rm-pied-art-vignette {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 2px;
}
.rm-pied-art-vignette img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rm-pied-art-titre {
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.65);
    transition: color 0.15s;
}
.rm-pied-articles a:hover .rm-pied-art-titre { color: var(--rm-flash); }

/* ── 14. BANDEAU HÉROS INTERNES ────────────────────────────────────────── */
.rm-bandeau {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: var(--rm-nuit) center/cover no-repeat;
    overflow: hidden;
}

.rm-bandeau-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,26,0.90) 0%, rgba(10,10,26,0.50) 60%, rgba(10,10,26,0.30) 100%);
}

.rm-bandeau-corps {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px 24px 40px;
    text-align: center;
}

/* Fil d'ariane */
.rm-fil-ariane {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}
.rm-fil-ariane a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.rm-fil-ariane a:hover { color: var(--rm-flash); }
.rm-fil-ariane span.rm-sep { color: rgba(255,255,255,0.30); }
.rm-fil-ariane span:last-child { color: rgba(255,255,255,0.80); }

/* ── 15. SINGLE POST ───────────────────────────────────────────────────── */
.rm-lecture {}

/* Hero de l'article */
.rm-lecture-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background: var(--rm-nuit) center/cover no-repeat;
    overflow: hidden;
}
.rm-lecture-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,26,0.95) 0%, rgba(10,10,26,0.55) 55%, rgba(10,10,26,0.25) 100%);
}
.rm-lecture-hero-corps {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--rm-max);
    margin: 0 auto;
    padding: 56px 24px 44px;
}
.rm-lecture-hero h1 {
    font-family: var(--rm-font-d);
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 820px;
}
.rm-lecture-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.60);
}
.rm-lecture-hero-meta .rm-kicker { margin-bottom: 0; font-size: 0.75rem; }
.rm-lecture-hero-meta span { color: rgba(255,255,255,0.45); }

/* Corps de l'article */
.rm-lecture-layout {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

/* Résumé IA */
.rm-lecture-layout .rm-ai-summary {
    background: var(--rm-flash-tint);
    border-left: 3px solid var(--rm-flash);
    padding: 16px 20px;
    border-radius: 0 var(--rm-r) var(--rm-r) 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Image mise en avant */
.rm-lecture-vignette {
    position: relative;
    overflow: hidden;
    border-radius: var(--rm-r);
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
}
.rm-lecture-vignette img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tags */
.rm-lecture-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--rm-ligne);
}
.rm-lecture-tags a {
    font-family: var(--rm-font-d);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border: 1.5px solid var(--rm-ligne);
    border-radius: 2px;
    color: var(--rm-soft);
    transition: border-color 0.15s, color 0.15s;
}
.rm-lecture-tags a:hover { border-color: var(--rm-flash); color: var(--rm-flash); }

/* Bloc auteur */
.rm-signature {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
    background: var(--rm-surface);
    border: 1px solid var(--rm-ligne);
    border-radius: var(--rm-r);
    padding: 24px;
    margin: 2rem 0;
}
.rm-signature-photo {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}
.rm-signature-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-signature-nom {
    font-family: var(--rm-font-d);
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    color: var(--rm-encre);
}
.rm-signature-role {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--rm-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--rm-font-d);
}
.rm-signature-bio {
    font-size: 0.85rem;
    color: var(--rm-soft);
    line-height: 1.6;
    margin-top: 6px;
}

/* Articles similaires */
.rm-voisins {
    padding: 48px 0 64px;
    background: var(--rm-base);
}
.rm-voisins-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0;
}

/* ── 16. ARCHIVE PAGES ─────────────────────────────────────────────────── */
.rm-archive {}

/* Hero archive */
.rm-archive-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--rm-nuit) center/cover no-repeat;
    overflow: hidden;
}
.rm-archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,26,0.72);
}
.rm-archive-hero-corps {
    position: relative;
    z-index: 2;
    padding: 56px 24px 44px;
}
.rm-archive-hero h1 {
    font-family: var(--rm-font-d);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.rm-archive-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.70);
    margin-top: 0.5rem;
}
.rm-archive-desc p { color: rgba(255,255,255,0.70) !important; }

/* Grille archive */
.rm-archive-fil {
    padding: 56px 0 72px;
}
.rm-archive-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.rm-archive-fiche {
    background: var(--rm-surface);
    border-radius: var(--rm-r);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10,10,26,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}
.rm-archive-fiche:hover { box-shadow: 0 8px 24px rgba(10,10,26,0.11); transform: translateY(-4px); }

.rm-archive-fiche-visuel {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.rm-archive-fiche-visuel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.rm-archive-fiche:hover .rm-archive-fiche-visuel img { transform: scale(1.04); }

.rm-archive-fiche-corps { padding: 18px 20px 20px; }

.rm-archive-fiche-titre {
    font-family: var(--rm-font-d);
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    color: var(--rm-encre);
    margin-bottom: 0.5rem;
}
.rm-archive-fiche-titre a { color: inherit; }
.rm-archive-fiche-titre a:hover { color: var(--rm-flash); }

.rm-archive-fiche-meta {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--rm-muted);
    margin-top: 0.6rem;
}

/* ── 17. BLOC SEO ──────────────────────────────────────────────────────── */
.rm-encart {
    background: var(--rm-surface);
    border-top: 1px solid var(--rm-ligne);
    padding: 64px 0;
}

.rm-encart > .rm-cadre > .rm-section-titre {
    margin-bottom: 2.5rem;
}

.rm-encart-grille {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 56px;
    align-items: center;
}

.rm-encart-texte p {
    font-size: 0.95rem;
    color: var(--rm-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rm-encart-liste {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}
.rm-encart-liste li {
    position: relative;
    padding-left: 1.5em;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 0.9rem;
    color: var(--rm-soft);
    line-height: 1.5;
    border-bottom: 1px solid var(--rm-ligne);
}
.rm-encart-liste li:first-child { border-top: 1px solid var(--rm-ligne); }
.rm-encart-liste li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--rm-flash);
    font-family: var(--rm-font-d);
    font-weight: 700;
}

.rm-encart-image {
    overflow: hidden;
    border-radius: var(--rm-r);
    aspect-ratio: 4/3;
}
.rm-encart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rm-r);
    transition: transform 0.4s;
}
.rm-encart-image:hover img { transform: scale(1.03); }

/* ── 18. PAGES STATIQUES ────────────────────────────────────────────────── */

/* Contact */
.rm-contact-hero { min-height: 240px; }
.rm-contact-corps {
    padding: 64px 0;
}
.rm-contact-grille {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.rm-contact-texte {}
.rm-contact-texte h2 {
    font-family: var(--rm-font-d);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
}
.rm-contact-texte p {
    font-size: 0.9rem;
    color: var(--rm-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.rm-contact-coords {
    margin-top: 1.5rem;
    padding: 20px 0;
    border-top: 1px solid var(--rm-ligne);
}
.rm-contact-coords p {
    font-size: 0.85rem;
    color: var(--rm-soft);
    margin-bottom: 0.5rem;
}
.rm-contact-coords strong { color: var(--rm-encre); }

/* CF7 */
.wpcf7-form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.wpcf7-form br { display: none; }
.wpcf7-form label {
    font-family: var(--rm-font-d);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rm-soft);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--rm-ligne);
    border-radius: var(--rm-r);
    font-family: var(--rm-font-b);
    font-size: 0.9rem;
    color: var(--rm-encre);
    background: var(--rm-surface);
    transition: border-color 0.15s;
    outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color: var(--rm-flash); }
.wpcf7-form textarea { resize: vertical; min-height: 140px; }
.wpcf7-submit {
    width: 100%;
    padding: 13px;
    background: var(--rm-flash);
    color: #fff;
    font-family: var(--rm-font-d);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--rm-r);
    cursor: pointer;
    transition: background 0.18s;
}
.wpcf7-submit:hover { background: var(--rm-flash-deep); }

/* Mentions légales */
.rm-ml-corps {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px;
}
.rm-ml-corps h2 {
    font-family: var(--rm-font-d);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    margin: 2rem 0 0.75rem;
    color: var(--rm-encre);
}
.rm-ml-corps h2:first-child { margin-top: 0; }
.rm-ml-corps p {
    font-size: 0.9rem;
    color: var(--rm-soft);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.rm-ml-corps a { color: var(--rm-flash); text-decoration: underline; }

/* Plan du site */
.rm-plan-corps { padding: 56px 0 72px; }
.rm-plan-section { margin-bottom: 3rem; }
.rm-plan-section h2 {
    font-family: var(--rm-font-d);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rm-flash);
    display: inline-block;
}
.rm-plan-liste { display: flex; flex-direction: column; gap: 8px; }
.rm-plan-liste a {
    font-size: 0.9rem;
    color: var(--rm-soft);
    transition: color 0.15s;
}
.rm-plan-liste a:hover { color: var(--rm-flash); }

/* ── 19. ENTRY-CONTENT ─────────────────────────────────────────────────── */
.entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--rm-encre);
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content h2 {
    font-family: var(--rm-font-d);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    margin: 2em 0 0.75em;
    line-height: 1.15;
}
.entry-content h3 {
    font-family: var(--rm-font-d);
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    margin: 1.5em 0 0.6em;
    line-height: 1.2;
}
.entry-content strong { font-weight: 600; }
.entry-content a { color: var(--rm-flash); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--rm-flash-deep); }
.entry-content blockquote {
    border-left: 3px solid var(--rm-flash);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--rm-flash-tint);
    border-radius: 0 var(--rm-r) var(--rm-r) 0;
    font-style: italic;
    color: var(--rm-soft);
}
.entry-content img {
    border-radius: var(--rm-r);
    margin: 1.5em 0;
    max-width: 100%;
}

/* Bullets décoratifs — slash diagonal orange 45° (signature AK) */
.entry-content ul { list-style: none; padding-left: 0; margin-bottom: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.5em; }
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.54em;
    width: 12px;
    height: 2.5px;
    background: var(--rm-flash);
    border-radius: 1px;
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.entry-content ol li { margin-bottom: 0.5em; }

/* ── 20. UTILITAIRES ───────────────────────────────────────────────────── */
.rm-flash-text { color: var(--rm-flash); }

/* Stars (kk star ratings) */
.rm-lecture-hero-meta .kk-star-rating { display: inline-flex; }

/* Kk Star Ratings dans le hero */
.post-hero-stars { display: inline-block; }

/* ── 21. RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .rm-grille { grid-template-columns: repeat(2, 1fr); }
    .rm-archive-grille { grid-template-columns: repeat(2, 1fr); }
    .rm-voisins-grille { grid-template-columns: repeat(2, 1fr); }
    .rm-jalons-grille { grid-template-columns: repeat(3, 1fr); }
    .rm-pied-grille { grid-template-columns: 1fr 1fr; gap: 40px; }
    .rm-encart-grille { grid-template-columns: 1fr; }
    .rm-encart-image { display: none; }
}

@media (max-width: 768px) {
    .rm-ouverture { min-height: 70vh; }
    .rm-ouverture-titre { font-size: clamp(2.8rem, 12vw, 5rem); }
    .rm-ouverture-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
    .rm-ouverture-stats { gap: 20px; }

    .rm-manchette { grid-template-columns: 1fr; }
    .rm-manchette-visuel { aspect-ratio: 16/9; }
    .rm-manchette-corps { padding: 20px 18px; }

    .rm-grille { grid-template-columns: 1fr; }
    .rm-archive-grille { grid-template-columns: 1fr; }
    .rm-voisins-grille { grid-template-columns: 1fr; }
    .rm-jalons-grille { grid-template-columns: repeat(2, 1fr); }

    .rm-route-grille { grid-template-columns: 1fr; gap: 32px; }
    .rm-route-photo { aspect-ratio: 3/2; max-height: 280px; }

    .rm-contact-grille { grid-template-columns: 1fr; gap: 32px; }

    .rm-pied-grille { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .rm-pied-desc { margin: 16px auto 20px; }
    .rm-pied-copy { margin: 0 auto; }
    .rm-pied-liens { align-items: center; }

    .rm-encart-grille { grid-template-columns: 1fr; }

    .rm-signature { grid-template-columns: 1fr; text-align: center; }
    .rm-signature-photo { margin: 0 auto; }

    .rm-lecture-layout { padding: 32px 16px 48px; }

    .rm-bande-cats .rm-cadre { padding: 0 12px; }

    .rm-fil { padding: 40px 0; }
    .rm-jalons { padding: 48px 0 56px; }
    .rm-route { padding: 56px 0; }

    .rm-section-titre { margin-bottom: 1.5rem; }
}

@media (max-width: 480px) {
    .rm-jalons-grille { grid-template-columns: 1fr; }
    .rm-ouverture-stats { flex-wrap: wrap; gap: 16px; }
}

/* ── 22. FOCUS STATES (ACCESSIBILITÉ) ──────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--rm-flash);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── 23. REDUCED MOTION ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
