/* ============================================
   A MANCA 2026 - THÈME MILITANT MODERNE
   ============================================ */

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

:root {
    --red: #DC2626;
    --red-dark: #991B1B;
    --red-light: #EF4444;
    --black: #0A0A0A;
    --dark: #141414;
    --dark-2: #1A1A1A;
    --dark-3: #242424;
    --gray: #9CA3AF;
    --gray-light: #D1D5DB;
    --text: #E5E7EB;
    --white: #F5F5F5;
    --white-pure: #FFFFFF;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--red-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--red);
    color: var(--white-pure);
}


/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(220, 38, 38, 0.3);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-brand__logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--red);
    object-fit: cover;
}

.site-brand__name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--white-pure);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-brand__name span {
    color: var(--red);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-brand__slogan {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gray);
    letter-spacing: 0.04em;
    text-transform: none;
    margin-top: 0.15rem;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.site-brand:hover .site-brand__slogan {
    opacity: 1;
}

@media (max-width: 480px) {
    .site-brand__slogan {
        display: none;
    }
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav a {
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition);
}

.site-nav a:hover,
.site-nav a.current {
    color: var(--white-pure);
    background: rgba(220, 38, 38, 0.15);
}

/* Social icons dans le header */
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--dark-3);
}

.site-nav .nav-social__icon,
.nav-social a.nav-social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    color: var(--gray);
    font-size: 0;
    letter-spacing: 0;
    transition: all var(--transition);
}

.site-nav .nav-social__icon:hover,
.nav-social a.nav-social__icon:hover {
    color: var(--white-pure);
    background: rgba(220, 38, 38, 0.2);
}

/* Podcast link dans le header */
.nav-podcast {
    display: flex;
    align-items: center;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--dark-3);
}

.site-nav .nav-podcast__link,
.nav-podcast a.nav-podcast__link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
}

.site-nav .nav-podcast__link:hover,
.nav-podcast a.nav-podcast__link:hover {
    color: var(--white-pure);
    background: rgba(29, 185, 84, 0.2);
}

/* Séparateur | entre podcast et réseaux */
.nav-separator {
    color: var(--dark-3);
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0 0.25rem;
    user-select: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
    }

    .site-nav.active {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .nav-podcast {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--dark-3);
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        justify-content: center;
    }

    .nav-separator {
        display: none;
    }

    .nav-social {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--dark-3);
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        justify-content: center;
    }
}


/* --- WORDPRESS NAV MENU (ul/li standard) --- */
.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__menu li {
    list-style: none;
    position: relative;
}

.site-nav__menu > li > a {
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > li.current-menu-item > a,
.site-nav__menu > li.current-menu-ancestor > a {
    color: var(--white-pure);
    background: rgba(220, 38, 38, 0.15);
}

/* Chevron for parent items */
.site-nav__menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.2rem;
    transition: transform var(--transition);
}

.site-nav__menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
}

/* Dropdown sub-menu */
.site-nav__menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-3);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all var(--transition);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    list-style: none;
}

.site-nav__menu > li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Bridge to prevent hover gap loss */
.site-nav__menu > li.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.site-nav__menu .sub-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-light);
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    transition: all var(--transition);
}

.site-nav__menu .sub-menu a:hover {
    color: var(--white-pure);
    background: rgba(220, 38, 38, 0.15);
    padding-left: 1.5rem;
}

/* Mobile WordPress menu */
@media (max-width: 768px) {
    .site-nav__menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .site-nav__menu > li {
        width: 100%;
    }

    .site-nav__menu > li > a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .site-nav__menu .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(10, 10, 10, 0.5);
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        margin: 0;
        padding: 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-nav__menu > li.menu-item-has-children.open > .sub-menu {
        max-height: 600px;
    }

    .site-nav__menu .sub-menu a {
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}


/* --- NAV DROPDOWN (Catégories) - Fallback --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-dropdown__trigger svg {
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown__trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-3);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all var(--transition);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-light);
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
    white-space: nowrap;
    transition: all var(--transition);
}

.nav-dropdown__menu a:hover {
    color: var(--white-pure);
    background: rgba(220, 38, 38, 0.15);
    padding-left: 1.5rem;
}

.nav-dropdown__menu a small {
    color: var(--gray);
    font-size: 0.7rem;
    margin-left: 0.75rem;
}

/* Dropdown bridge (prevents gap hover loss) */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

/* Mobile: dropdown becomes inline list */
@media (max-width: 768px) {
    .nav-dropdown__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(10, 10, 10, 0.5);
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        margin: 0;
        padding: 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown__menu {
        max-height: 600px;
    }

    .nav-dropdown__menu a {
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}


/* --- HERO : DERNIER BILLET --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 7rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--black) 100%);
    pointer-events: none;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: var(--white-pure);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

/* Slogan dans le hero */
.hero__slogan {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--gray);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white-pure);
    max-width: 900px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.article-hero .hero__title {
    max-width: none;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero__excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* Hero background image */
.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

/* Fallback image (image par défaut) : visible en haut, fondu vers le noir en bas */
.hero__image--fallback {
    opacity: 0.45;
    background-size: cover;
    background-position: center top;
}

/* Overlay : image visible en haut, fondu vers le noir pour protéger le texte */
.hero--fallback-image::after {
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.1) 0%,
        rgba(10, 10, 10, 0.4) 30%,
        rgba(10, 10, 10, 0.85) 50%,
        var(--black) 70%
    );
}

/* Désactiver le radial-gradient par défaut pour le fallback */
.hero--fallback-image::before {
    background: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--red);
    color: var(--white-pure);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    animation: fadeInUp 0.8s ease 0.6s both;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero__cta:hover {
    background: var(--red-light);
    color: var(--white-pure);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeInUp 1s ease 1s both;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gray), transparent);
    animation: scrollLine 2s ease infinite;
}


/* --- SECTION COMMUNE --- */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section__header {
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--white-pure);
}

.section__title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--red);
    margin-right: 0.75rem;
    vertical-align: middle;
}

.section__link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section__link:hover {
    color: var(--red-light);
}

.section__link::after {
    content: '→';
    transition: transform var(--transition);
}

.section__link:hover::after {
    transform: translateX(4px);
}


/* --- GRILLE DE COMMUNIQUÉS --- */
.communiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .communiques-grid {
        grid-template-columns: 1fr;
    }
}

.communique-card {
    background: var(--dark);
    border: 1px solid var(--dark-3);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.communique-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--red);
    transition: height var(--transition);
}

.communique-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.communique-card:hover::before {
    height: 100%;
}

.communique-card__date {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.communique-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.communique-card__title a {
    color: var(--white-pure);
}

.communique-card__title a:hover {
    color: var(--red-light);
}

.communique-card__excerpt {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.communique-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.communique-card__cat {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red-light);
    background: rgba(220, 38, 38, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}


/* --- ARTICLE SINGLE --- */
.article-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, var(--black) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Fond ambient flou — halo de l'image à la une */
.article-hero__ambient {
    position: absolute;
    top: -20%;
    left: -10%;
    right: -10%;
    bottom: -20%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: blur(50px) saturate(1.8);
    z-index: 0;
    animation: ambientFadeIn 1.2s ease both;
}

/* Barre rouge latérale décorative */
.article-hero--has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--red) 0%, transparent 80%);
    z-index: 2;
}

@keyframes ambientFadeIn {
    from { opacity: 0; filter: blur(70px) saturate(1); }
    to { opacity: 0.25; filter: blur(50px) saturate(1.8); }
}

.article-hero__inner {
    max-width: min(1060px, 92vw);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.article-content {
    max-width: min(1060px, 92vw);
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

.article-content p {
    font-size: 1.35rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--white-pure);
    margin: 2.5rem 0 1rem;
}

.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.1rem; }

.article-content blockquote {
    border-left: 4px solid var(--red);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--dark);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text);
}

.article-content ul, .article-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.article-content img {
    border-radius: 8px;
    margin: 2rem auto;
}

.article-content a {
    color: var(--red-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* --- SHARE BUTTONS --- */
.share-buttons {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-3);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.share-buttons__label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}

.share-buttons__list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    color: var(--gray-light);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.share-btn--facebook:hover  { background: #1877F2; border-color: #1877F2; color: var(--white-pure); }
.share-btn--bluesky:hover   { background: #0085FF; border-color: #0085FF; color: var(--white-pure); }
.share-btn--whatsapp:hover   { background: #25D366; border-color: #25D366; color: var(--white-pure); }
.share-btn--signal:hover     { background: #3A76F0; border-color: #3A76F0; color: var(--white-pure); }
.share-btn--telegram:hover   { background: #0088CC; border-color: #0088CC; color: var(--white-pure); }
.share-btn--copy:hover       { background: var(--red); border-color: var(--red); color: var(--white-pure); }

.share-btn--copy.copied {
    background: #16a34a;
    border-color: #16a34a;
    color: var(--white-pure);
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-btn {
        width: 38px;
        height: 38px;
    }
}


/* --- ARCHIVES --- */
.archives-section {
    background: var(--dark);
}

.archives-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.archives-filter {
    background: none;
    border: 1px solid var(--dark-3);
    color: var(--gray-light);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}

.archives-filter:hover,
.archives-filter.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white-pure);
}

.archives-list {
    list-style: none;
}

.archives-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--dark-3);
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    transition: all var(--transition);
}

.archives-item:hover {
    padding-left: 1rem;
    border-bottom-color: rgba(220, 38, 38, 0.3);
}

.archives-item__date {
    font-size: 0.8rem;
    color: var(--gray);
    white-space: nowrap;
    min-width: 100px;
    font-variant-numeric: tabular-nums;
}

.archives-item__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.archives-item__title a {
    color: var(--white);
}

.archives-item__title a:hover {
    color: var(--red-light);
}

.archives-item__cat {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    margin-left: auto;
    white-space: nowrap;
}

/* Pagination archives */
.archives-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.archives-pagination a,
.archives-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.archives-pagination a {
    color: var(--gray-light);
    border: 1px solid var(--dark-3);
}

.archives-pagination a:hover {
    border-color: var(--red);
    color: var(--red-light);
}

.archives-pagination .current {
    background: var(--red);
    color: var(--white-pure);
    border: none;
}


/* --- SEARCH IN ARCHIVES --- */
.search-bar {
    display: flex;
    margin-bottom: 2rem;
    max-width: 500px;
}

.search-bar input[type="search"] {
    flex: 1;
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: border-color var(--transition);
}

.search-bar input[type="search"]:focus {
    border-color: var(--red);
}

.search-bar button {
    background: var(--red);
    border: none;
    color: var(--white-pure);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition);
}

.search-bar button:hover {
    background: var(--red-light);
}


/* --- FOOTER --- */
.site-footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-3);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--red);
}

.footer-brand__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white-pure);
}

.footer-description {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-3);
    border-radius: 50%;
    color: var(--gray-light);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--red);
    color: var(--white-pure);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white-pure);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--red-light);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}


/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes scrollLine {
    0% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
    100% { height: 40px; opacity: 0; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- PAGE 404 --- */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.page-404 h1 {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.page-404 p {
    font-size: 1.25rem;
    color: var(--gray);
    margin: 1rem 0 2rem;
}


/* --- LOADING STATE --- */
.loading {
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.loading::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid var(--dark-3);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* --- PAGE CUNTATTI (Contact) --- */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    text-align: center;
}

.contact-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.contact-section p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark);
    border: 1px solid var(--dark-3);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition);
}

.contact-link:hover {
    border-color: var(--red);
    color: var(--red-light);
}


/* --- ALERT BANNER (Événement urgent — sous le header) --- */
.alert-banner {
    background: var(--red);
    color: var(--white-pure);
    padding: 0.6rem 2rem;
    position: fixed;
    top: var(--header-height, 80px);
    left: 0;
    right: 0;
    z-index: 999;
    animation: alertSlideDown 0.6s ease both;
}

/* Quand l'alerte est active, décaler le contenu pour ne rien cacher */
body.has-alert .hero {
    padding-top: calc(8rem + var(--alert-offset, 120px) - var(--header-height, 80px));
}

body.has-alert .article-hero {
    padding-top: calc(8rem + var(--alert-offset, 120px) - var(--header-height, 80px));
}

@keyframes alertSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alert-banner__icon {
    animation: pulse 1.5s infinite;
}

.alert-banner__text {
    font-size: 0.9rem;
    flex: 1;
}

.alert-banner__link {
    color: var(--white-pure);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 0.3rem 1rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: all var(--transition);
}

.alert-banner__link:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white-pure);
}

@media (max-width: 768px) {
    .alert-banner {
        padding: 0.5rem 1rem;
    }

    .alert-banner__text {
        font-size: 0.8rem;
    }
}


/* --- ÉVÉNEMENTS / MOBILISATIONS --- */
.events-section {
    background: var(--black);
    border-top: 1px solid var(--dark-3);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

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

.event-card {
    background: var(--dark);
    border: 1px solid var(--dark-3);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.event-card--alert {
    border-color: var(--red);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, var(--dark) 100%);
}

.event-card__alert-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--red);
    color: var(--white-pure);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 0 8px 0 8px;
    animation: pulse 2s infinite;
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    background: var(--dark-3);
    border-radius: 8px;
    padding: 0.5rem;
}

.event-card__day {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.event-card__month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}

.event-card__info {
    flex: 1;
}

.event-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.event-card__title a {
    color: var(--white-pure);
}

.event-card__title a:hover {
    color: var(--red-light);
}

.event-card__location,
.event-card__time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.25rem;
}


/* --- CAMARADES (Partenaires) --- */
.camarades-section {
    background: var(--black);
    border-top: 1px solid var(--dark-3);
    border-bottom: 1px solid var(--dark-3);
}

.camarades-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.camarade-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition);
}

.camarade-item img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition);
}

.camarade-item:hover img {
    transform: scale(1.08);
}

.camarade-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition);
}

.camarade-item a:hover {
    color: var(--red-light);
}

.camarade-item__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-light);
    margin-top: 0.5rem;
}

/* Widget Image WordPress dans la grille camarades */
.camarades-grid .widget_media_image,
.camarades-grid .widget_custom_html {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.camarades-grid .widget_media_image img,
.camarades-grid .widget_custom_html img {
    max-height: 90px;
    width: auto;
    transition: all var(--transition);
}

.camarades-grid .widget_media_image:hover img,
.camarades-grid .widget_custom_html:hover img {
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .camarades-grid {
        gap: 2rem;
    }

    .camarade-item img,
    .camarades-grid .widget_media_image img,
    .camarades-grid .widget_custom_html img {
        max-height: 70px;
    }
}


/* --- PRINT --- */
@media print {
    .site-header,
    .site-footer,
    .hero__scroll,
    .hero__cta,
    .archives-filters {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .article-content p,
    .article-content li {
        color: black;
    }
}
