/* ============================================================
   RACINES COMMUNES — Feuille de style principale
   Police : Gotham via Adobe Fonts (Typekit — pkq7yam)
     font-weight: 500 → Gotham Medium
     font-weight: 800 → Gotham Black
   Couleurs :
     Rouge      #e6352a
     Gris       #b2b2b2
     Gris foncé #3d3d3d
     Gris clair #ededed
     Blanc      #ffffff
   ============================================================ */


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: #ffffff;
}

body {
    font-family: gotham, sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #3d3d3d;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Neutraliser les styles de blocs Gutenberg injectés en frontend */
.wp-site-blocks,
.entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Fond blanc pour le contenu de page */
html,
body {
    background-color: #ffffff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}


/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */

.rc-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 100px;
}

@media (max-width: 1400px) { .rc-container { padding: 0 60px; } }
@media (max-width: 1200px) { .rc-container { padding: 0 40px; } }
@media (max-width: 768px)  { .rc-container { padding: 0 20px; } }


/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

/* Rubriques de navigation / titres de section → Rouge */
.rc-rubrique {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 4.5vw, 4rem); /* ~64px à 1440px */
    text-transform: uppercase;
    color: #e6352a;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* Titres de page → Gris */
.rc-titre {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.75rem);
    text-transform: uppercase;
    color: #b2b2b2;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* Sous-titres */
.rc-sous-titre {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.75rem); /* ~44px à 1440px */
    text-transform: uppercase;
    color: #b2b2b2;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Texte courant */
body,
.rc-body-text {
    font-size: clamp(1rem, 1.2vw, 1.25rem); /* ~18-20px */
    font-weight: 500;
    line-height: 1.7;
    color: #3d3d3d;
}

/* Texte en gras / mise en avant */
.rc-lead {
    font-weight: 800;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.rc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ededed;
    border-bottom: 1px solid #d4d4d4;
}

/* Décalage quand la barre admin WP est visible (utilisateur connecté) */
.admin-bar .rc-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .rc-header {
        top: 46px;
    }
}

.rc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 80px;
    max-width: 1600px;
    margin: 0 auto;
    background-color: #ededed;
}

/* Logo */
.rc-logo {
    display: block;
    flex-shrink: 0;
    height: 100px;
}

.rc-logo img,
.rc-logo svg {
    height: 100px;
    width: auto;
}

/* Nav */
.rc-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rc-nav__item {
    position: relative;
}

.rc-nav__link {
    display: block;
    padding: 12px 28px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.125rem; /* 18px */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6352a;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1;
}

.rc-nav__link:hover,
.rc-nav__link:focus,
.rc-nav__item--current > .rc-nav__link {
    background: #e6352a;
    color: #ffffff;
}

/* Dropdown Organisation */
.rc-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #ededed;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.rc-nav__item--has-dropdown:hover .rc-nav__dropdown,
.rc-nav__item--has-dropdown:focus-within .rc-nav__dropdown {
    display: block;
}

.rc-nav__dropdown-link {
    display: block;
    padding: 12px 20px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e6352a;
    transition: background 0.15s, color 0.15s;
}

.rc-nav__dropdown-link:hover {
    background: #e6352a;
    color: #ffffff;
}

/* Loupe / Recherche */
/* Icône loupe — rouge et trait plus épais */
.rc-nav__search-toggle {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #e6352a;
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    background: none;
    border: none;
}

.rc-nav__search-toggle:hover,
.rc-nav__search-toggle.is-active {
    color: #ffffff;
    background: #e6352a;
}

.rc-nav__search-toggle svg {
    width: 28px;
    height: 28px;
}

/* ── Overlay de recherche ── */
.rc-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-search-overlay[hidden] {
    display: none;
}

.rc-search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: rc-fade-in 0.2s ease;
}

.rc-search-overlay__panel {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 24px;
    animation: rc-slide-up 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.rc-search-overlay__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 8px;
    transition: color 0.15s;
}

.rc-search-overlay__close:hover {
    color: #ffffff;
}

.rc-search-overlay__close svg {
    width: 24px;
    height: 24px;
}

.rc-search-overlay__form {
    background: #ffffff;
}

.rc-search-overlay__field {
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    border-bottom: 3px solid #e6352a;
}

.rc-search-overlay__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #e6352a;
}

#rc-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 24px 0;
    font-family: gotham, sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #1a1a1a;
    background: transparent;
}

#rc-search-input::placeholder {
    color: #b2b2b2;
}

/* Bouton natif "clear" de l'input search → rouge */
#rc-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6352a' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s;
}

#rc-search-input::-webkit-search-cancel-button:hover {
    opacity: 1;
}

/* Résultats live */
.rc-search-overlay__results {
    background: #ffffff;
    margin-top: 2px;
    max-height: 60vh;
    overflow-y: auto;
}

.rc-search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.rc-search-result-item:last-child {
    border-bottom: none;
}

.rc-search-result-item:hover {
    background: #fdf2f1;
    color: #e6352a;
}

.rc-search-result-item__type {
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: #e6352a;
    padding: 3px 7px;
    flex-shrink: 0;
}

.rc-search-result-item__title {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
}

.rc-search-result-item__date {
    font-size: 0.75rem;
    color: #b2b2b2;
    flex-shrink: 0;
}

.rc-search-overlay__no-results,
.rc-search-overlay__loading {
    padding: 24px;
    text-align: center;
    font-size: 0.9375rem;
    color: #b2b2b2;
    font-style: italic;
}

.rc-search-overlay__see-all {
    display: block;
    text-align: center;
    padding: 14px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6352a;
    text-decoration: none;
    background: #fdf2f1;
    transition: background 0.15s;
}

.rc-search-overlay__see-all:hover {
    background: #fce8e7;
}

@keyframes rc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

/* Mobile menu toggle */
.rc-nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.rc-nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #3d3d3d;
    transition: all 0.3s;
}

@media (max-width: 1024px) {
    .rc-header-inner { padding: 14px 40px; }
    .rc-nav__link { padding: 8px 12px; font-size: 0.75rem; }
}

@media (max-width: 768px) {
    .rc-header-inner { padding: 14px 20px; }
    .rc-nav__mobile-toggle { display: flex; }

    .rc-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #ededed;
        z-index: 500;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .rc-nav.is-open { display: flex; }

    .rc-nav__item { width: 100%; }
    .rc-nav__link { padding: 14px 20px; border-bottom: 1px solid #ededed; }

    .rc-nav__dropdown {
        position: static;
        display: block;
        box-shadow: none;
        background: #f5f5f5;
    }

    .rc-search-bar form { padding: 0 20px; }
}


/* ============================================================
   FOOTER
   ============================================================ */

.rc-footer {
    background: #1a1a1a;
    color: #ffffff;
}

/* ── Corps principal ── */
.rc-footer-body {
    padding: 72px 80px 56px;
}

.rc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
}

/* ── Colonnes génériques ── */
.rc-footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rc-footer-heading {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e6352a;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 0;
}

/* ── Colonne Marque ── */
.rc-footer-logo {
    display: block;
    width: 220px;
    flex-shrink: 0;
}

.rc-footer-logo svg,
.rc-footer-logo img {
    width: 100%;
    height: auto;
    /* Passer le logo en blanc */
    filter: brightness(0) invert(1);
}

.rc-footer-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rc-footer-partners {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: auto;
    padding-top: 12px;
}

.rc-footer-partners img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.rc-footer-partners img:hover {
    opacity: 1;
}

/* ── Plan du site ── */
.rc-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rc-footer-nav li {
    line-height: 1.4;
}

.rc-footer-nav a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.rc-footer-nav a:hover {
    color: #e6352a;
}

.rc-footer-nav--sub {
    margin-top: 6px;
    margin-left: 12px;
    gap: 6px;
}

.rc-footer-nav--sub a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
}

.rc-footer-nav--sub a:hover {
    color: #e6352a;
}

/* ── Dernières actualités ── */
.rc-footer-news {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rc-footer-news__item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.rc-footer-news__link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 0;
    text-decoration: none;
    transition: color 0.15s;
}

.rc-footer-news__link:hover .rc-footer-news__title {
    color: #e6352a;
}

.rc-footer-news__title {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.35;
    transition: color 0.15s;
}

.rc-footer-news__date {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.rc-footer-more {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6352a;
    text-decoration: none;
    transition: opacity 0.15s;
}

.rc-footer-more:hover {
    opacity: 0.75;
}

.rc-footer-empty {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ── Contact ── */
.rc-footer-address {
    font-style: normal;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.rc-footer-address strong {
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.rc-footer-address a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    transition: color 0.15s;
}

.rc-footer-address a:hover {
    color: #e6352a;
}

.rc-footer-cta {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background: #e6352a;
    color: #ffffff;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.rc-footer-cta:hover {
    background: #c42a20;
}

/* ── Barre inférieure ── */
.rc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 80px;
}

.rc-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    gap: 20px;
}

.rc-footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.rc-footer-credit {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
}

.rc-footer-credit a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.15s;
}

.rc-footer-credit a:hover {
    color: #e6352a;
}

.rc-footer-bottom-link {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.15s;
}

.rc-footer-bottom-link:hover {
    color: #e6352a;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .rc-footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .rc-footer-body { padding: 56px 60px 48px; }
}

@media (max-width: 768px) {
    .rc-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .rc-footer-body { padding: 48px 24px 40px; }
    .rc-footer-bottom { padding: 16px 24px; }
    .rc-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.rc-page {
    min-height: calc(100vh - 93px - 100px); /* header + footer */
    padding: 80px 0;
}

/* ── Breadcrumbs ── */
.rc-breadcrumb {
    margin-bottom: 28px;
}

.rc-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rc-breadcrumb__item {
    display: flex;
    align-items: center;
    font-family: gotham, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b2b2b2;
}

/* Séparateur › entre items */
.rc-breadcrumb__item + .rc-breadcrumb__item::before {
    content: '›';
    margin: 0 8px;
    color: #d4d4d4;
    font-size: 0.875rem;
    line-height: 1;
}

.rc-breadcrumb__item a {
    color: #b2b2b2;
    text-decoration: none;
    transition: color 0.15s;
}

.rc-breadcrumb__item a:hover {
    color: #e6352a;
}

.rc-breadcrumb__item span[aria-current="page"] {
    color: #e6352a;
}


/* En-tête de section (titre de page en rouge) */
.rc-page-header {
    margin-bottom: 72px;
}

/* Singles sans grand titre : breadcrumb seul, moins d'espace */
.rc-single-actualite .rc-page-header,
.rc-forum-layout ~ * .rc-page-header,
.rc-page .rc-page-header:only-child,
.single-rc_actualite .rc-page-header,
.single-rc_forum .rc-page-header,
.single-rc_groupe_travail .rc-page-header,
.single-rc_evenement .rc-page-header {
    margin-bottom: 16px;
}

.rc-page-header .rc-rubrique {
    margin-bottom: 0;
}

/* Sous-section rouge inline */
.rc-section-heading {
    display: inline-block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e6352a;
    margin-bottom: 20px;
}


/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */

/* Hero : texte gauche + carte droite */
.rc-hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 110px;
}

.rc-hero__title {
    margin-bottom: 24px;
}

.rc-hero__text {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: #3d3d3d;
}

.rc-hero__map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-hero__map svg,
.rc-hero__map img {
    width: 100%;
    max-width: 720px;
    height: auto;
}

/* En-tête de section avec bouton "Voir tout" */
.rc-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.rc-section-header .rc-rubrique {
    margin-bottom: 0;
}

.rc-section-header__link {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6352a;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.rc-section-header__link:hover {
    opacity: 0.7;
}

/* Section Actualités */
.rc-home-actualites {
    margin-bottom: 110px;
}

/* Section Agenda */
.rc-home-agenda {
    margin-bottom: 110px;
}

.rc-agenda-subtitle {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b2b2b2;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .rc-hero { grid-template-columns: 1fr; gap: 40px; }
    .rc-hero__map { order: -1; }
    .rc-hero__map svg { max-width: 360px; }
}


/* ============================================================
   CARDS ACTUALITÉS
   ============================================================ */

.rc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc-news-card {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    background: #b2b2b2;
}

.rc-news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* Placeholder si pas d'image */
.rc-news-card__placeholder {
    width: 100%;
    height: 100%;
    background: #b2b2b2;
    display: block;
}

.rc-news-card:hover .rc-news-card__image {
    transform: scale(1.05);
}

.rc-news-card__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(230, 53, 42, 0.82);
    color: #ffffff;
    padding: 20px 24px 24px;
    font-family: gotham, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 6px;
    backdrop-filter: blur(2px);
    transition: background 0.3s ease;
}

.rc-news-card__date {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rc-news-card__title {
    font-weight: 800;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.3;
    color: #ffffff;
}

.rc-news-card:hover .rc-news-card__caption {
    background: rgba(196, 42, 32, 0.92);
}

@media (max-width: 900px) {
    .rc-news-grid { grid-template-columns: repeat(2, 1fr); }
}

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


/* ============================================================
   CARDS AGENDA / ÉVÉNEMENTS
   ============================================================ */

.rc-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc-event-card {
    cursor: pointer;
    background: #b2b2b2;
    transition: background 0.2s;
}

.rc-event-card.is-open {
    background: #999999;
}

.rc-event-card__date-box {
    padding: 32px 24px 20px;
    text-align: center;
    color: #ffffff;
}

.rc-event-card__day {
    display: block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    line-height: 1;
}

.rc-event-card__monthyear {
    display: block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    line-height: 1.3;
}

.rc-event-card__time {
    display: block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
}

.rc-event-card__label {
    background: #999999;
    color: #ffffff;
    padding: 12px 24px;
    font-family: gotham, sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Panneau accordéon de l'événement */
.rc-event-panel {
    display: none;
    grid-column: 1 / -1;
    background: #f2f2f2;
    padding: 32px 40px;
    margin-top: -20px;
    border-top: 3px solid #e6352a;
}

.rc-event-panel.is-open {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.rc-event-panel__date {
    flex-shrink: 0;
    background: #b2b2b2;
    color: #ffffff;
    padding: 24px 28px;
    text-align: center;
    min-width: 160px;
}

.rc-event-panel__content {
    flex: 1;
}

.rc-event-panel__desc-title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #3d3d3d;
    margin-bottom: 12px;
}

.rc-event-panel__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #3d3d3d;
    margin-bottom: 20px;
}

.rc-event-panel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-event-panel__name {
    font-weight: 500;
    color: #888;
}

.rc-btn-inscription {
    display: inline-block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e6352a;
    padding: 10px 24px;
    border: 2px solid #e6352a;
    transition: background 0.2s, color 0.2s;
}

.rc-btn-inscription:hover {
    background: #e6352a;
    color: #ffffff;
}

@media (max-width: 900px) {
    .rc-events-grid { grid-template-columns: 1fr; }
    .rc-event-panel.is-open { flex-direction: column; }
    .rc-event-panel__date { min-width: auto; width: 100%; }
}


/* ============================================================
   PAGE ACTUALITÉS — ARCHIVE
   ============================================================ */

.rc-actualites-archive .rc-news-grid {
    /* 3 colonnes, 3 lignes max par page */
}


/* ============================================================
   SINGLE ACTUALITÉ
   ============================================================ */

.rc-article__heading {
    margin-bottom: 36px;
}

.rc-article__date {
    display: inline-block;
    font-family: gotham, sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    color: #b2b2b2;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.rc-article__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    text-transform: uppercase;
    color: #e6352a;
    line-height: 1.2;
    margin-bottom: 12px;
}

.rc-article__intro {
    font-size: 1rem;
    color: #888888;
    font-style: italic;
    line-height: 1.5;
}

.rc-article__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.rc-article__text p {
    margin-bottom: 1.2em;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.75;
}

.rc-article__text p strong {
    font-weight: 800;
}

.rc-article__text p em {
    font-style: italic;
    color: #888;
}

.rc-article__image {
    flex-shrink: 0;
    width: clamp(250px, 28vw, 420px);
}

.rc-article__image img {
    width: 100%;
    height: auto;
}

.rc-article__source {
    font-style: italic;
    color: #b2b2b2;
    font-size: 0.875rem;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .rc-article__body { grid-template-columns: 1fr; }
    .rc-article__image { width: 100%; }
}


/* ============================================================
   PAGE FORUMS — ARCHIVE
   ============================================================ */

.rc-forums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc-forum-card {
    display: flex;
    flex-direction: column;
    background: #b2b2b2;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.rc-forum-card:hover {
    background: #999;
}

.rc-forum-card__icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
}

.rc-forum-card__icon svg {
    width: 90px;
    height: 90px;
    fill: rgba(255,255,255,0.85);
}

.rc-forum-card__label {
    background: #888888;
    padding: 20px 24px;
    color: #ffffff;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.rc-forum-card:hover .rc-forum-card__label {
    background: #e6352a;
}

@media (max-width: 900px) {
    .rc-forums-grid { grid-template-columns: 1fr 1fr; }
}

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


/* ============================================================
   SINGLE FORUM
   ============================================================ */

.rc-forum-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.rc-forum__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 2vw, 2rem);
    text-transform: uppercase;
    color: #e6352a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.rc-forum__intro {
    font-size: 0.9375rem;
    color: #3d3d3d;
    margin-bottom: 24px;
    line-height: 1.65;
}

.rc-forum__content p {
    margin-bottom: 1.1em;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Listes dans tous les contenus éditeur WP ── */
.rc-org-text ul,
.rc-evenement__content ul,
.rc-article__text ul,
.rc-projet-content ul,
.rc-groupe__content ul,
.rc-forum__content ul,
.rc-page-content ul {
    list-style: none;
    margin: 0.5em 0 1em 0;
    padding: 0;
}

.rc-org-text ul li,
.rc-evenement__content ul li,
.rc-article__text ul li,
.rc-projet-content ul li,
.rc-groupe__content ul li,
.rc-forum__content ul li,
.rc-page-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: inherit;
}

.rc-org-text ul li::before,
.rc-evenement__content ul li::before,
.rc-article__text ul li::before,
.rc-projet-content ul li::before,
.rc-groupe__content ul li::before,
.rc-forum__content ul li::before,
.rc-page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    background: #e6352a;
    border-radius: 50%;
}

/* Listes ordonnées */
.rc-org-text ol,
.rc-evenement__content ol,
.rc-article__text ol,
.rc-projet-content ol,
.rc-groupe__content ol,
.rc-forum__content ol,
.rc-page-content ol {
    list-style: none;
    counter-reset: rc-counter;
    margin: 0.5em 0 1em 0;
    padding: 0;
}

.rc-org-text ol li,
.rc-evenement__content ol li,
.rc-article__text ol li,
.rc-projet-content ol li,
.rc-groupe__content ol li,
.rc-forum__content ol li,
.rc-page-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 0.5em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    counter-increment: rc-counter;
}

.rc-org-text ol li::before,
.rc-evenement__content ol li::before,
.rc-article__text ol li::before,
.rc-projet-content ol li::before,
.rc-groupe__content ol li::before,
.rc-forum__content ol li::before,
.rc-page-content ol li::before {
    content: counter(rc-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    color: #e6352a;
    line-height: 1.65;
}

/* Sidebar rouge */
.rc-forum__sidebar {
    position: sticky;
    top: 110px;
}

.rc-constats-box {
    background: #e6352a;
    color: #ffffff;
    padding: 28px 28px 32px;
    margin-bottom: 20px;
}

.rc-constats-box__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.rc-constats-box__content {
    font-size: 0.875rem;
    line-height: 1.6;
}

.rc-constats-box__content p {
    margin-bottom: 1em;
}

.rc-constats-box__content strong {
    font-weight: 800;
}

/* PDF link */
.rc-pdf-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 12px 0;
    border-top: 1px solid #ededed;
    font-size: 0.875rem;
    color: #3d3d3d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.rc-pdf-link:hover {
    color: #e6352a;
}

.rc-pdf-link svg {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .rc-forum-layout { grid-template-columns: 1fr; }
    .rc-forum__sidebar { position: static; }
}


/* ============================================================
   PAGE ORGANISATION
   ============================================================ */

/* Comité de Pilotage */
.rc-org-comite {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: start;
    margin-bottom: 100px;
}

.rc-org-text p {
    margin-bottom: 1.1em;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* EN CHIFFRES */
.rc-org-stats {
    background: #e6352a;
    padding: 28px 24px;
}

.rc-org-stats__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.4);
}

.rc-stat-item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.rc-stat-item__number {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 5vw, 5rem);
    color: #ffffff;
    line-height: 1;
}

.rc-stat-item__label {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    line-height: 1.3;
}

/* Liste membres */
.rc-membres-section {
    margin-bottom: 100px;
}

.rc-membres-category {
    margin-bottom: 4px;
}

.rc-membres-category__header {
    background: #ededed;
    padding: 10px 20px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888888;
}

.rc-membre-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #3d3d3d;
}

.rc-membre-row:last-child {
    border-bottom: none;
}

.rc-membre-row__nom {
    font-weight: 800;
}

.rc-membre-row__fonction {
    color: #888;
}

/* Groupes de travail — cards */
.rc-gt-section {
    margin-bottom: 100px;
}

.rc-gt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc-gt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #b2b2b2;
    padding: 40px 24px;
    text-align: center;
    text-decoration: none;
    min-height: 200px;
    transition: background 0.2s;
}

.rc-gt-card:hover {
    background: #e6352a;
}

.rc-gt-card__icon svg {
    width: 56px;
    height: 56px;
    fill: rgba(255,255,255,0.8);
}

.rc-gt-card__subtitle {
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.65);
    line-height: 1;
}

.rc-gt-card__name {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1.35;
}

/* Contacts */
.rc-contacts-section {
    background: #f7f6f4;
    padding: 48px;
    margin-bottom: 40px;
}

.rc-contacts-header {
    margin-bottom: 40px;
}

.rc-contacts-title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rc-contacts-subtitle {
    font-size: 0.9375rem;
    color: #b2b2b2;
    margin: 0;
}

.rc-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    padding: 24px;
    border: 1px solid #ebebeb;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.rc-contact-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-color: #e6352a;
}

.rc-contact-card__avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #e6352a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.rc-contact-card__body {
    flex: 1;
    min-width: 0;
}

.rc-contact-card__name {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.9375rem;
    color: #1a1a1a;
    margin-bottom: 3px;
    line-height: 1.3;
}

.rc-contact-card__poste {
    font-size: 0.75rem;
    color: #b2b2b2;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.rc-contact-card__links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rc-contact-card__links a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #3d3d3d;
    text-decoration: none;
    transition: color 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rc-contact-card__links a svg {
    width: 13px;
    height: 13px;
    min-width: 13px;
    color: #e6352a;
}

.rc-contact-card__links a:hover {
    color: #e6352a;
}

@media (max-width: 1024px) {
    .rc-org-comite { grid-template-columns: 1fr; }
    .rc-gt-grid { grid-template-columns: repeat(2, 1fr); }
    .rc-contacts-grid { grid-template-columns: 1fr; gap: 24px; }
}

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


/* ============================================================
   SINGLE GROUPE DE TRAVAIL
   ============================================================ */

.rc-groupe-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.rc-groupe__subtitle {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    text-transform: uppercase;
    color: #e6352a;
    margin-bottom: 28px;
    line-height: 1.2;
}

.rc-groupe__content p {
    margin-bottom: 1.1em;
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* Tableau des membres */
.rc-membres-table-wrapper {
    position: sticky;
    top: 110px;
}

.rc-membres-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.rc-membres-table thead tr {
    background: #e6352a;
}

.rc-membres-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.rc-membres-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.rc-membres-table tbody td {
    padding: 9px 16px;
    color: #3d3d3d;
    line-height: 1.4;
    border-bottom: 1px solid #ededed;
}

.rc-membres-table tbody td:first-child {
    font-weight: 800;
}

@media (max-width: 1024px) {
    .rc-groupe-layout { grid-template-columns: 1fr; }
    .rc-membres-table-wrapper { position: static; }
}


/* ============================================================
   PAGE LE PROJET — FRISE TEMPORELLE
   ============================================================ */

.rc-timeline-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #ededed;
}

.rc-timeline {
    position: relative;
    overflow-x: auto;
    padding-bottom: 16px;
}

.rc-timeline-track {
    position: relative;
    display: flex;
    min-width: 900px;
    padding: 0 20px;
}

/* Ligne horizontale centrale */
.rc-timeline-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    height: 2px;
    background: #b2b2b2;
    z-index: 0;
}

/* Flèche droite */
.rc-timeline-track::after {
    content: '';
    position: absolute;
    right: 0;
    top: 57px;
    border-left: 12px solid #b2b2b2;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

.rc-timeline-year-group {
    flex: 1;
    position: relative;
    z-index: 1;
}

.rc-timeline-year-label {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: #b2b2b2;
    margin-bottom: 40px;
    line-height: 1;
}

.rc-timeline-events {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
}

.rc-timeline-event {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.rc-timeline-event::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e6352a;
    flex-shrink: 0;
}

.rc-timeline-event__month {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #b2b2b2;
    letter-spacing: 0.06em;
}

.rc-timeline-event__desc {
    font-size: 0.8125rem;
    color: #3d3d3d;
    line-height: 1.4;
}

/* Séparateur de dots sur la ligne */
.rc-timeline-dot {
    position: absolute;
    top: 60px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b2b2b2;
    border: 2px solid #ffffff;
    z-index: 2;
}

@media (max-width: 768px) {
    .rc-timeline-track { flex-direction: column; min-width: auto; }
    .rc-timeline-track::before { top: 0; bottom: 0; left: 16px; right: auto; width: 2px; height: auto; }
    .rc-timeline-track::after { display: none; }
    .rc-timeline-year-group { padding-left: 32px; margin-bottom: 24px; }
    .rc-timeline-year-label { font-size: 1.5rem; }
}


/* ============================================================
   PAGE DOCUMENTS
   ============================================================ */

.rc-documents-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rc-document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #ededed;
    text-decoration: none;
    color: #3d3d3d;
    transition: color 0.15s;
}

.rc-document-item:first-child {
    border-top: 1px solid #ededed;
}

.rc-document-item:hover {
    color: #e6352a;
}

.rc-document-item__icon {
    flex-shrink: 0;
    width: 36px;
}

.rc-document-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rc-document-item__name {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
}

.rc-document-item__date {
    font-size: 0.75rem;
    color: #b2b2b2;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.rc-document-item__size {
    font-size: 0.8125rem;
    color: #b2b2b2;
    white-space: nowrap;
    font-style: italic;
}


/* ============================================================
   ARCHIVE AGENDA
   ============================================================ */

.rc-agenda-section {
    margin-bottom: 80px;
}

.rc-agenda-section__title {
    margin-bottom: 32px;
    color: #3d3d3d;
}

.rc-agenda-section--past .rc-agenda-section__title {
    color: #b2b2b2;
}

.rc-agenda-empty {
    color: #b2b2b2;
    font-style: italic;
    padding: 40px 0;
}

.rc-agenda-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ededed;
}

.rc-agenda-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid #ededed;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.rc-agenda-item:hover {
    background: #fdf2f1;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0 -12px;
}

.rc-agenda-item__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e6352a;
    color: #ffffff;
    padding: 8px 12px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    min-width: 68px;
}

.rc-agenda-item--past .rc-agenda-item__date-block {
    background: #ededed;
    color: #b2b2b2;
}

.rc-agenda-item__day {
    font-size: 1.75rem;
}

.rc-agenda-item__month {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rc-agenda-item__year {
    font-size: 0.625rem;
    opacity: 0.7;
    margin-top: 1px;
}

.rc-agenda-item__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rc-agenda-item__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
    color: #3d3d3d;
    line-height: 1.3;
}

.rc-agenda-item--past .rc-agenda-item__title {
    color: #b2b2b2;
}

.rc-agenda-item__heure {
    font-size: 0.8125rem;
    color: #b2b2b2;
    font-weight: 500;
}

.rc-agenda-item__desc {
    font-size: 0.875rem;
    color: #888;
    line-height: 1.4;
}

.rc-agenda-item__cta {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6352a;
    white-space: nowrap;
}

.rc-agenda-item--past .rc-agenda-item__cta {
    color: #b2b2b2;
}

@media (max-width: 600px) {
    .rc-agenda-item { grid-template-columns: 64px 1fr; gap: 16px; }
    .rc-agenda-item__cta { display: none; }
}


/* ============================================================
   SINGLE ÉVÉNEMENT
   ============================================================ */

/* ── Layout deux colonnes ── */
.rc-evenement-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

/* ── Colonne contenu ── */
.rc-evenement-single {
    min-width: 0;
    padding-bottom: 80px;
}

.rc-evenement__header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid #ededed;
}

.rc-evenement__meta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 20px;
}

.rc-evenement__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #e6352a;
    color: #ffffff;
    padding: 12px 20px;
    min-width: 80px;
    text-align: center;
    font-family: gotham, sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

.rc-evenement__day   { font-size: 2.5rem; }
.rc-evenement__month { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.rc-evenement__year  { font-size: 0.75rem; opacity: 0.7; margin-top: 2px; }

.rc-evenement__heure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #3d3d3d;
}

.rc-evenement__heure svg {
    width: 20px;
    height: 20px;
    color: #e6352a;
}

.rc-evenement__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    text-transform: uppercase;
    color: #e6352a;
    line-height: 1.2;
}

.rc-evenement__content,
.rc-evenement__description {
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.8;
    color: #3d3d3d;
    margin-bottom: 32px;
}

.rc-evenement__image { margin-top: 32px; }
.rc-evenement__image img { width: 100%; height: auto; }

/* ── Sidebar sticky ── */
.rc-evenement-sidebar {
    position: sticky;
    top: 140px; /* hauteur header + marge */
}

.rc-evenement-sidebar__inner {
    background: #f7f7f7;
    border-top: 4px solid #e6352a;
    padding: 32px 28px 36px;
}

.rc-evenement-inscription__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    text-transform: uppercase;
    color: #e6352a;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.rc-evenement-sidebar__event-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.rc-evenement-sidebar__event-info strong {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #3d3d3d;
}

.rc-evenement-sidebar__event-info span {
    font-size: 0.8125rem;
    color: #b2b2b2;
    font-weight: 500;
}

/* Formulaire en sidebar : champs empilés */
.rc-inscription-form--sidebar .rc-form-field {
    margin-bottom: 10px;
}

.rc-inscription-form--sidebar .rc-form-input {
    padding: 12px 14px;
    font-size: 0.875rem;
}

.rc-inscription-form--sidebar .rc-form-submit {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .rc-evenement-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rc-evenement-sidebar {
        position: static;
        margin-top: 48px;
    }
}


/* ============================================================
   PAGE INSCRIPTIONS
   ============================================================ */

.rc-inscriptions-event {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b2b2b2;
    margin-bottom: 32px;
}

.rc-inscription-form {
    max-width: 680px;
}

.rc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.rc-form-field {
    display: flex;
    flex-direction: column;
}

.rc-form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e6352a;
    border-radius: 0;
    font-family: gotham, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3d3d3d;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.rc-form-input::placeholder {
    color: #b2b2b2;
}

.rc-form-input:focus {
    border-color: #3d3d3d;
}

.rc-form-input.has-error {
    border-color: #cc0000;
}

.rc-form-message {
    margin-top: 20px;
    padding: 14px 20px;
    font-size: 0.9375rem;
    display: none;
}

.rc-form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.rc-form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.rc-form-submit {
    margin-top: 8px;
    display: inline-block;
    background: #e6352a;
    color: #ffffff;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 40px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.rc-form-submit:hover {
    background: #c42b22;
}

.rc-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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


/* ============================================================
   PAGE DE RECHERCHE
   ============================================================ */

.rc-search-results__count {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 32px;
    font-style: italic;
}

.rc-search-result {
    padding: 24px 0;
    border-bottom: 1px solid #ededed;
}

.rc-search-result:first-of-type {
    border-top: 1px solid #ededed;
}

.rc-search-result__type {
    display: inline-block;
    background: #e6352a;
    color: #fff;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    margin-bottom: 8px;
}

.rc-search-result__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    text-transform: uppercase;
    color: #3d3d3d;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    transition: color 0.15s;
}

.rc-search-result__title:hover {
    color: #e6352a;
}

.rc-search-result__excerpt {
    font-size: 0.875rem;
    color: #888;
    line-height: 1.6;
}

.rc-search-no-results {
    padding: 48px 0;
    text-align: center;
    color: #b2b2b2;
    font-size: 1rem;
}


/* ============================================================
   UTILITAIRES
   ============================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.rc-mt-section { margin-top: 100px; }
.rc-mb-section { margin-bottom: 100px; }

/* Séparateur de sections */
.rc-section-divider {
    height: 1px;
    background: #ededed;
    margin: 80px 0;
}

/* Texte en rouge */
.rc-red { color: #e6352a; }

/* Bouton générique */
.rc-btn {
    display: inline-block;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    background: #e6352a;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s;
}

.rc-btn:hover {
    background: #c42b22;
    color: #ffffff;
}


/* ============================================================
   ANIMATIONS AU SCROLL — IntersectionObserver
   ============================================================ */

/* État initial : invisible, décalé vers le bas */
.rc-anim {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--anim-delay, 0ms);
}

/* Variante : depuis la gauche (carte, image) */
.rc-anim--left {
    transform: translateX(-40px);
}

/* Variante : depuis la droite (map, sidebar) */
.rc-anim--right {
    transform: translateX(40px);
}

/* État visible */
.rc-anim.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .rc-anim {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */

.rc-mentions-header {
    padding: 56px 0 40px;
    border-bottom: 2px solid #ededed;
    margin-bottom: 48px;
}

.rc-mentions-body {
    max-width: 800px;
    padding-bottom: 80px;
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.8;
    color: #3d3d3d;
}

.rc-mentions-body h2 {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e6352a;
    margin: 40px 0 12px;
}

.rc-mentions-body h3 {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #3d3d3d;
    margin: 28px 0 8px;
}

.rc-mentions-body p {
    margin-bottom: 1em;
}

.rc-mentions-body a {
    color: #e6352a;
    text-decoration: underline;
}

.rc-mentions-body a:hover {
    opacity: 0.75;
}


/* ============================================================
   PRINT
   ============================================================ */

@media print {
    .rc-header, .rc-footer, .rc-search-bar { display: none; }
    .rc-page { padding: 0; }
    a[href]::after { content: ' (' attr(href) ')'; }
}
