/* ============================================================
   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;
    overflow-x: hidden;
}

/* 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(2rem, 3.5vw, 3.25rem); /* ~52px à 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(1.75rem, 3.25vw, 3rem);
    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.25rem, 2vw, 2.25rem); /* ~36px à 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;
}

/* Agenda */
.rc-nav__agenda-btn {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #e6352a;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

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

.rc-nav__agenda-btn svg {
    width: 28px;
    height: 28px;
}

/* 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;
}

/* ── Cadenas / Auth ── */
.rc-nav__auth {
    position: relative;
}

.rc-nav__auth-btn {
    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__auth-btn:hover {
    color: #ffffff;
    background: #e6352a;
}

.rc-nav__auth-btn--logged {
    color: #e6352a;
}

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

.rc-nav__auth-btn svg {
    width: 28px;
    height: 28px;
}

/* Icônes groupées — transparent sur desktop, barre horizontale sur mobile */
.rc-nav__icons-row {
    display: contents;
}

/* Dropdown utilisateur connecté */
.rc-auth-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #ebebeb;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
    padding: 16px;
}

.rc-auth-dropdown__name {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    color: #1a1a1a;
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.rc-auth-dropdown__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #3d3d3d;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.15s;
}

.rc-auth-dropdown__link:hover { color: #e6352a; }

.rc-auth-dropdown__logout {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 0.8125rem;
    color: #b2b2b2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    transition: color 0.15s;
}

.rc-auth-dropdown__logout:hover { color: #e6352a; }

/* ── Modal de connexion ── */
.rc-login-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-login-modal[hidden] { display: none; }

.rc-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.rc-login-modal__panel {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    margin: 24px;
    padding: 48px 40px 40px;
    z-index: 1;
}

.rc-login-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #b2b2b2;
    padding: 4px;
    transition: color 0.15s;
    display: flex;
}

.rc-login-modal__close:hover { color: #1a1a1a; }
.rc-login-modal__close svg { width: 20px; height: 20px; }

.rc-login-modal__icon {
    width: 56px;
    height: 56px;
    background: rgba(230, 53, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #e6352a;
}

.rc-login-modal__icon svg { width: 28px; height: 28px; }

.rc-login-modal__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.rc-login-modal__subtitle {
    font-size: 0.9375rem;
    color: #b2b2b2;
    margin: 0 0 28px;
}

.rc-login-modal__field {
    margin-bottom: 16px;
}

.rc-login-modal__field label {
    display: block;
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3d3d3d;
    margin-bottom: 6px;
}

.rc-login-modal__field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4d4d4;
    padding: 12px 14px;
    font-size: 0.9375rem;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s;
}

.rc-login-modal__field input:focus {
    border-color: #e6352a;
}

.rc-login-modal__error {
    background: #fff5f5;
    border-left: 3px solid #e6352a;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #c0392b;
    margin-bottom: 16px;
}

.rc-login-modal__submit {
    width: 100%;
    background: #e6352a;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.rc-login-modal__submit:hover { background: #c42d22; }
.rc-login-modal__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Onglets documents ── */
.rc-docs-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #ebebeb;
    margin-bottom: 0;
}

/* ── Barre recherche + tri ── */
.rc-docs-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0 20px;
    border-bottom: 1px solid #ededed;
    margin-bottom: 24px;
}

.rc-docs-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 360px;
}

.rc-docs-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #b2b2b2;
    pointer-events: none;
}

.rc-docs-search-input {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 38px;
    border: 1px solid #d0d5dd;
    border-radius: 2px;
    font-size: 0.875rem;
    color: #3d3d3d;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

/* Masquer le X natif du navigateur */
.rc-docs-search-input::-webkit-search-cancel-button,
.rc-docs-search-input::-webkit-search-decoration,
.rc-docs-search-input::-ms-clear {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.rc-docs-search-input:focus {
    border-color: #e6352a;
    box-shadow: 0 0 0 1px #e6352a;
}

.rc-docs-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #b2b2b2;
    display: flex;
    align-items: center;
}

.rc-docs-search-clear svg {
    width: 14px;
    height: 14px;
}

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

.rc-docs-sort-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rc-docs-sort-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b2b2b2;
    margin-right: 2px;
}

.rc-sort-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #646970;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.12s;
    white-space: nowrap;
}

.rc-sort-btn:hover {
    border-color: #e6352a;
    color: #e6352a;
}

.rc-sort-btn--active,
.rc-sort-btn--active:hover {
    background: #e6352a;
    border-color: #e6352a;
    color: #fff;
}

.rc-docs-no-results {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 32px 0;
    font-size: 0.9375rem;
    color: #b2b2b2;
    font-style: italic;
}

.rc-docs-no-results[hidden] { display: none; }

.rc-docs-no-results svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Folder accordion masqué par recherche */
.rc-folder-accordion[hidden] { display: none; }

/* Item masqué par recherche */
li[data-title][hidden] { display: none; }

@media (max-width: 640px) {
    .rc-docs-toolbar { flex-direction: column; align-items: flex-start; }
    .rc-docs-search-wrap { max-width: 100%; width: 100%; }
}

.rc-docs-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 24px;
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b2b2b2;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.rc-docs-tab svg {
    width: 14px;
    height: 14px;
}

.rc-docs-tab:hover { color: #3d3d3d; }

.rc-docs-tab--active {
    color: #e6352a;
    border-bottom-color: #e6352a;
}

.rc-docs-tab--locked {
    color: #b2b2b2;
}

.rc-docs-tab--locked:hover {
    color: #e6352a;
    cursor: pointer;
}

.rc-docs-panel { display: none; }
.rc-docs-panel--active { display: block; }

/* Zone verrouillée */
.rc-docs-locked {
    text-align: center;
    padding: 64px 24px;
}

.rc-docs-locked__icon {
    width: 72px;
    height: 72px;
    background: #f7f6f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #b2b2b2;
}

.rc-docs-locked__icon svg { width: 36px; height: 36px; }

.rc-docs-locked__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rc-docs-locked__text {
    font-size: 0.9375rem;
    color: #b2b2b2;
    line-height: 1.6;
    margin-bottom: 28px;
}

.rc-docs-locked__btn {
    background: #e6352a;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s;
}

.rc-docs-locked__btn:hover { background: #c42d22; }

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

/* ── 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__excerpt {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    flex-basis: 100%;
    margin-top: -4px;
}

.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;
    z-index: 600;
}

.rc-nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #3d3d3d;
    transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center;
}

/* Hamburger → croix quand actif */
.rc-nav__mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.rc-nav__mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.rc-nav__mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Burger menu à partir de 1024px (couvre tablettes iPad Air etc.) ── */
@media (max-width: 1024px) {
    .rc-header-inner { padding: 14px 32px; }
    .rc-nav__mobile-toggle { display: flex; }

    .rc-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 2px solid #e6352a;
        z-index: 500;
        box-shadow: 0 16px 40px rgba(0,0,0,0.13);

        /* État fermé */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition:
            opacity    0.26s ease,
            transform  0.32s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear 0.32s;
    }

    .rc-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition:
            opacity    0.26s ease,
            transform  0.32s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s;
    }

    /* Items — fade in en stagger */
    .rc-nav .rc-nav__item {
        opacity: 0;
        transition: opacity 0.22s ease;
    }
    .rc-nav.is-open .rc-nav__item { opacity: 1; }
    .rc-nav.is-open .rc-nav__item:nth-child(1) { transition-delay: 0.08s; }
    .rc-nav.is-open .rc-nav__item:nth-child(2) { transition-delay: 0.13s; }
    .rc-nav.is-open .rc-nav__item:nth-child(3) { transition-delay: 0.18s; }
    .rc-nav.is-open .rc-nav__item:nth-child(4) { transition-delay: 0.23s; }
    .rc-nav.is-open .rc-nav__item:nth-child(5) { transition-delay: 0.28s; }
    .rc-nav.is-open .rc-nav__item:nth-child(6) { transition-delay: 0.33s; }
    .rc-nav.is-open .rc-nav__item:nth-child(7) { transition-delay: 0.38s; }

    /* Icônes — fade + glissement depuis le bas */
    .rc-nav .rc-nav__icons-row {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.26s ease, transform 0.30s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .rc-nav.is-open .rc-nav__icons-row {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.32s;
    }

    .rc-nav__item { width: 100%; }
    .rc-nav__link {
        padding: 20px 24px;
        border-bottom: 1px solid #f0f0f0;
        border-left: 3px solid transparent;
        transition: border-color 0.18s, background 0.18s, color 0.18s;
        white-space: normal;
    }
    .rc-nav__link:hover,
    .rc-nav__link:active {
        border-left-color: #e6352a;
        background: #fdf5f5;
        color: #e6352a;
    }

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

    /* Dropdown Organisation — animation max-height + opacity */
    .rc-nav__item--has-dropdown .rc-nav__dropdown {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #f0f0f0;
        box-shadow: none;
        transition:
            max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
            opacity    0.22s ease;
    }
    .rc-nav__item--has-dropdown.is-dropdown-open .rc-nav__dropdown {
        max-height: 400px;
        opacity: 1;
        transition:
            max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
            opacity    0.28s ease 0.06s;
    }

    /* Liens du dropdown */
    .rc-nav__dropdown-link {
        padding: 15px 24px 15px 40px;
        font-size: 0.8125rem;
        border-left: 3px solid transparent;
        background: transparent;
        transition: background 0.18s, border-color 0.18s, color 0.18s;
    }
    .rc-nav__dropdown-link:hover,
    .rc-nav__dropdown-link:active {
        background: #fff;
        border-left-color: #e6352a;
        color: #e6352a;
    }

    /* Flèche chevron */
    .rc-nav__item--has-dropdown > .rc-nav__link::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg) translateY(-1px);
        margin-left: 10px;
        vertical-align: middle;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .rc-nav__item--has-dropdown.is-dropdown-open > .rc-nav__link::after {
        transform: rotate(45deg) translateY(-3px);
    }

    /* Scroll lock */
    body.nav-open { overflow: hidden; }

    /* Barre d'icônes */
    .rc-nav__icons-row {
        display: flex;
        align-items: stretch;
        width: 100%;
    }
    .rc-nav__icons-row .rc-nav__agenda-btn,
    .rc-nav__icons-row .rc-nav__search-toggle {
        flex: 1;
        justify-content: center;
        padding: 18px 0;
        border-right: 1px solid #ededed;
        border-bottom: none;
    }
    .rc-nav__icons-row .rc-nav__auth {
        flex: 1;
        display: flex;
    }
    .rc-nav__icons-row .rc-nav__auth-btn {
        flex: 1;
        justify-content: center;
        padding: 18px 0;
    }
}

@media (max-width: 768px) {
    .rc-header-inner { padding: 10px 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-partners {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin-top: auto;
    padding-top: 20px;
}

.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 a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    transition: color 0.15s;
}

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

.rc-footer-org-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.rc-footer-org-link: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;
}

.rc-footer-idees-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 16px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    color: rgba(255,255,255,0.75);
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    align-self: flex-start;
}

.rc-footer-idees-link__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rc-footer-idees-link__icon svg {
    width: 14px;
    height: 14px;
}

.rc-footer-idees-link:hover {
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

/* ── 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;
    max-width: 1440px;
    margin: 0 auto;
    gap: 20px;
}
.rc-footer-copy  { flex: 1; }
.rc-footer-credit { flex: 1; text-align: center; }
.rc-footer-legal {
    flex: 1;
    text-align: right;
    white-space: nowrap;
}

.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);
}

.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: 44fr 56fr;
    gap: 0;
    align-items: center;
    margin-bottom: 80px;
    /* Breakout du padding container (100px) pour occuper toute la largeur */
    width: calc(100% + 200px);
    margin-left: -100px;
    margin-right: -100px;
}



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

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

.rc-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rc-hero__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.rc-hero__btn--primary {
    background: #e6352a;
    color: #ffffff;
}

.rc-hero__btn--primary:hover {
    background: #c42d22;
    color: #ffffff;
}

.rc-hero__btn--secondary {
    background: transparent;
    color: #e6352a;
    border: 2px solid #e6352a;
}

.rc-hero__btn--secondary:hover {
    background: #e6352a;
    color: #ffffff;
}

.rc-hero__left {
    padding-left: 100px;
    padding-right: 50px;
}

.rc-hero__map {
    width: 100%;
    margin-right: 0;
    overflow: visible;
}

.rc-hero__map svg,
.rc-hero__map img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

/* ── Map interactive ─────────────────────────────────────────────────── */
#rc-map-wrap svg {
    overflow: visible; /* ombres et lift peuvent déborder du viewBox */
}
#rc-map-wrap svg polygon[data-npa] {
    cursor: pointer;
    outline: none;
    transform-box: fill-box;
    transform-origin: center center;
    transition:
        fill      0.18s ease,
        opacity   0.35s ease,
        filter    0.24s ease,
        transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#rc-map-wrap svg polygon[data-npa].is-hover {
    fill: #e6352a;
    transform: translateY(-7px);
    filter:
        drop-shadow(0 8px 20px rgba(230, 53, 42, 0.52))
        drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

/* Mobile — transition plus douce pour le hover tactile */
@media (max-width: 768px) {
    #rc-map-wrap svg polygon[data-npa] {
        transition:
            fill      0.4s ease,
            opacity   0.35s ease,
            filter    0.3s ease,
            transform 0.32s ease;
    }
    #rc-map-wrap svg polygon[data-npa].is-hover {
        transform: translateY(-3px);
        filter: drop-shadow(0 4px 12px rgba(230, 53, 42, 0.45));
    }
}

/* Animation démo — tous écrans, fade doux indépendant du hover réel */
#rc-map-wrap svg polygon[data-npa].is-demo-lit {
    fill: #e6352a;
    transform: translateY(-4px);
    filter: drop-shadow(0 5px 14px rgba(230, 53, 42, 0.38));
    transition:
        fill      1.3s ease-in-out,
        opacity   1.1s ease,
        filter    1.1s ease,
        transform 1.0s ease;
}
#rc-map-wrap svg polygon[data-npa].is-demo-fading {
    fill: #b3b2b2;
    transform: none;
    filter: none;
    transition:
        fill      0.9s ease-in-out,
        filter    0.7s ease,
        transform 0.6s ease;
}

#rc-map-wrap svg polygon[data-npa].is-active {
    fill: #c42d22;
    transform: translateY(-7px);
    filter:
        drop-shadow(0 10px 24px rgba(196, 45, 34, 0.60))
        drop-shadow(0 3px 7px rgba(0, 0, 0, 0.20));
}

/* Atténuation du reste de la carte quand un panel est ouvert */
#rc-map-wrap.has-selection svg polygon[data-npa]:not(.is-active) {
    opacity: 0.25;
}

/* Tooltip commune */
.rc-map-tooltip {
    position: fixed;
    background: #1a1a1a;
    color: #fff;
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 7px 13px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.12s ease, transform 0.12s ease;
    z-index: 9000;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.rc-map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 16px;
    border: 5px solid transparent;
    border-bottom: none;
    border-top-color: #1a1a1a;
}
.rc-map-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Panel latéral enrichi ───────────────────────────────────────────── */
.rc-map-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100vw);
    background: #fff;
    box-shadow: -8px 0 60px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.rc-map-panel.is-open {
    transform: translateX(0);
}

/* ── En-tête sombre ─────────────────────────────────────────────────────────── */
.rc-map-panel__header {
    background: #1a1a1a;
    padding: 36px 24px 28px;
    flex-shrink: 0;
}

.rc-map-panel__header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rc-map-panel__header-label {
    font-family: gotham, sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.rc-map-panel__close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.rc-map-panel__close:hover {
    background: #e6352a;
    border-color: #e6352a;
    color: #fff;
}

/* Bouton Fermer mobile — caché sur desktop */
.rc-map-panel__close-mobile {
    display: none;
}

@media (max-width: 768px) {
    .rc-map-panel__close-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 24px;
        padding: 14px 20px;
        background: #e6352a;
        color: #fff;
        border: none;
        border-radius: 0;
        font-family: gotham, sans-serif;
        font-weight: 800;
        font-size: 0.875rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.15s;
    }
    .rc-map-panel__close-mobile:hover,
    .rc-map-panel__close-mobile:active {
        background: #c42a20;
    }
}

.rc-map-panel__commune-name {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.625rem;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
    text-transform: none;
    letter-spacing: -0.02em;
}

.rc-map-panel__header-accent {
    height: 3px;
    width: 36px;
    background: #e6352a;
    border-radius: 2px;
}

/* ── Corps du panel ─────────────────────────────────────────────────────────── */
.rc-map-panel__body {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.rc-map-panel__section-label {
    font-family: gotham, sans-serif;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b0b0b0;
    margin: 0 0 12px;
}

/* ── Statistiques ───────────────────────────────────────────────────────────── */
.rc-map-panel__stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rc-map-panel__stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rc-map-panel__stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 2px;
    background: #f6f6f6;
    border: 1px solid #ececec;
    transition: border-color 0.2s ease;
}

.rc-map-panel__stat-item--pop {
    background: #fef2f1;
    border-color: rgba(230, 53, 42, 0.18);
}

.rc-map-panel__stat-item--small {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 12px;
}

.rc-map-panel__stat-icon {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 2px;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e6352a;
}

.rc-map-panel__stat-item--pop .rc-map-panel__stat-icon {
    background: #ffffff;
    border-color: rgba(230, 53, 42, 0.20);
}

.rc-map-panel__stat-item--small .rc-map-panel__stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 2px;
}

.rc-map-panel__stat-icon svg {
    width: 18px;
    height: 18px;
}

.rc-map-panel__stat-item--small .rc-map-panel__stat-icon svg {
    width: 15px;
    height: 15px;
}

.rc-map-panel__stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rc-map-panel__stat-label {
    display: block;
    font-family: gotham, sans-serif;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 3px;
    white-space: nowrap;
}

.rc-map-panel__stat-label em {
    font-style: normal;
    font-weight: 400;
    opacity: 0.75;
}

.rc-map-panel__stat-value {
    display: block;
    font-family: gotham, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-map-panel__stat-item--pop .rc-map-panel__stat-value {
    font-size: 1.125rem;
    color: #c42d22;
}

/* ── Section fusion ─────────────────────────────────────────────────────────── */
.rc-map-panel__fusion {
    background: #f6f6f6;
    border: 1px solid #ececec;
    border-radius: 2px;
    padding: 18px 20px;
    flex-shrink: 0;
}

.rc-map-panel__fusion .rc-map-panel__section-label {
    margin-bottom: 12px;
}

.rc-map-panel__fusion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rc-map-panel__fusion-tag {
    font-family: gotham, sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 7px 12px;
    border-radius: 2px;
    line-height: 1;
}

/* Overlay de fond */
.rc-map-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.34s, visibility 0.34s;
    z-index: 9050;
}
.rc-map-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* 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-top: -40px;
    margin-bottom: 120px;
}

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

.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;
    height: 140px;
    background: rgba(230, 53, 42, 0.82);
    color: #ffffff;
    padding: 14px 24px 18px;
    font-family: gotham, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 6px;
    backdrop-filter: blur(2px);
    transition: background 0.3s ease;
    overflow: hidden;
}

.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;
    flex-shrink: 0;
}

.rc-news-card__title {
    font-weight: 800;
    font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
    line-height: 1.3;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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;
    text-align: center;
}

/* 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
   ============================================================ */



/* ============================================================
   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 {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    display: block;
    background: #b2b2b2;
}

/* Zone image / fallback bulle */
.rc-forum-card__thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #b2b2b2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-forum-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.rc-forum-card:hover .rc-forum-card__thumb {
    transform: scale(1.04);
}

/* Fallback : bulle */
.rc-forum-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 80px;
}

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

/* Label en overlay rouge semi-transparent, hauteur fixe */
.rc-forum-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(230, 53, 42, 0.82);
    padding: 16px 24px;
    min-height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    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;
    transition: background 0.2s;
}

.rc-forum-card__date {
    display: block;
    font-weight: 500;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 4px;
}

.rc-forum-card:hover .rc-forum-card__label {
    background: rgba(230, 53, 42, 0.96);
}

@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;
}

/* ── Liens hypertextes dans les contenus éditoriaux ───────────────── */
.rc-projet-content a:not(.wp-block-button__link),
.rc-page-content a:not(.wp-block-button__link),
.rc-groupe__content a:not(.wp-block-button__link),
.rc-forum__content a:not(.wp-block-button__link),
.rc-evenement__content a:not(.wp-block-button__link),
.rc-article__text a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
    color: #e6352a;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: opacity 0.15s;
}
.rc-projet-content a:not(.wp-block-button__link):hover,
.rc-page-content a:not(.wp-block-button__link):hover,
.rc-groupe__content a:not(.wp-block-button__link):hover,
.rc-forum__content a:not(.wp-block-button__link):hover,
.rc-evenement__content a:not(.wp-block-button__link):hover,
.rc-article__text a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover {
    opacity: 0.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: static;
}

.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 list (repeater) */
.rc-pdf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

/* PDF link */
.rc-pdf-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    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; }
}
@media (max-width: 768px) {
    .rc-forum__sidebar   { width: 100%; max-width: 100%; box-sizing: border-box; }
    .rc-constats-box     { padding: 20px 18px 24px; overflow-wrap: break-word; word-break: break-word; box-sizing: border-box; }
    .rc-constats-box__content { font-size: 0.875rem; }
}


/* ============================================================
   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;
}

/* ── Boutons Gutenberg (wp-block-button) ── */
.rc-org-text .wp-block-button,
.rc-evenement__content .wp-block-button,
.rc-article__text .wp-block-button,
.rc-projet-content .wp-block-button,
.rc-groupe__content .wp-block-button,
.rc-forum__content .wp-block-button,
.rc-page-content .wp-block-button {
    margin: 1em 0;
}

.rc-org-text .wp-block-button__link,
.rc-evenement__content .wp-block-button__link,
.rc-article__text .wp-block-button__link,
.rc-projet-content .wp-block-button__link,
.rc-groupe__content .wp-block-button__link,
.rc-forum__content .wp-block-button__link,
.rc-page-content .wp-block-button__link {
    display: inline-block;
    background: #e6352a;
    color: #fff !important;
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 28px;
    border: none;
    border-radius: 0 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s;
}

.rc-org-text .wp-block-button__link:hover,
.rc-evenement__content .wp-block-button__link:hover,
.rc-article__text .wp-block-button__link:hover,
.rc-projet-content .wp-block-button__link:hover,
.rc-groupe__content .wp-block-button__link:hover,
.rc-forum__content .wp-block-button__link:hover,
.rc-page-content .wp-block-button__link:hover {
    background: #c42a20;
    color: #fff !important;
}

/* Variante "outline" de Gutenberg */
.rc-org-text .wp-block-button.is-style-outline .wp-block-button__link,
.rc-evenement__content .wp-block-button.is-style-outline .wp-block-button__link,
.rc-article__text .wp-block-button.is-style-outline .wp-block-button__link,
.rc-projet-content .wp-block-button.is-style-outline .wp-block-button__link,
.rc-groupe__content .wp-block-button.is-style-outline .wp-block-button__link,
.rc-forum__content .wp-block-button.is-style-outline .wp-block-button__link,
.rc-page-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: #e6352a !important;
    border: 2px solid #e6352a;
    border-radius: 0 !important;
}

.rc-org-text .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-evenement__content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-article__text .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-projet-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-groupe__content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-forum__content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rc-page-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #e6352a;
    color: #fff !important;
}

/* ── Le Projet — Layout deux colonnes ───────────────────────────────────────── */

.rc-projet-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
    margin-bottom: 80px;
}

.rc-projet-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 120px;
}

.rc-projet-card {
    background: #c42d22;
    border-radius: 2px;
    overflow: hidden;
}

.rc-projet-card__header {
    background: rgba(0, 0, 0, 0.22);
    padding: 13px 24px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.rc-projet-card__body {
    padding: 24px;
}

.rc-projet-vision-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.9375rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    color: #ffffff;
}

.rc-projet-vision-quote p {
    margin: 0 0 0.7em;
}

.rc-projet-vision-quote p:last-child {
    margin-bottom: 0;
}

.rc-projet-axes-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rc-projet-axes-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rc-projet-axes-list li::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    margin-top: 7px;
}

/* 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;
}

/* ── Bandeau chiffres clés horizontal (Comité de Pilotage) ── */
.rc-stat-banner {
    display: flex;
    background: #e6352a;
    margin-top: 60px;
    margin-bottom: 80px;
}

.rc-stat-banner__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 24px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.rc-stat-banner__item:last-child {
    border-right: none;
}

.rc-stat-banner__number {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    color: #ffffff;
    line-height: 1;
    display: block;
}

.rc-stat-banner__label {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    display: block;
    margin-top: 8px;
    line-height: 1.4;
}

/* 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;
    text-decoration: none;
    overflow: hidden;
    background: #b2b2b2;
    aspect-ratio: 4 / 3;
    transition: box-shadow 0.2s;
}

.rc-gt-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.rc-gt-card__thumb-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.rc-gt-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rc-gt-card:hover .rc-gt-card__thumb {
    transform: scale(1.05);
}

.rc-gt-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #c8c8c8;
}

.rc-gt-card__overlay {
    flex-shrink: 0;
    height: 76px;
    background: #b2b2b2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    text-align: center;
    transition: background 0.2s;
}

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

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

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

/* Page Organisation — intro + cartes de navigation */
.rc-org-body {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: start;
    margin-bottom: 80px;
}

.rc-org-body__right {
    position: sticky;
    top: 120px;
}

.rc-org-structure-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.rc-org-intro {
    margin-bottom: 48px;
}

.rc-org-nav-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
}

.rc-org-nav-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    background: #f7f6f4;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.rc-org-nav-card:hover {
    background: #e6352a;
    box-shadow: 0 4px 20px rgba(230,53,42,0.18);
}

.rc-org-nav-card__icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #e6352a;
    transition: color 0.2s;
}

.rc-org-nav-card:hover .rc-org-nav-card__icon svg {
    color: #ffffff;
}

.rc-org-nav-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 12px;
}

.rc-org-nav-card__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.0625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    transition: color 0.2s;
}

.rc-org-nav-card:hover .rc-org-nav-card__title {
    color: #ffffff;
}

.rc-org-nav-card__arrow {
    font-size: 1.25rem;
    color: #e6352a;
    transition: color 0.2s, transform 0.2s;
}

.rc-org-nav-card:hover .rc-org-nav-card__arrow {
    color: #ffffff;
    transform: translateX(4px);
}

/* 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;
    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; }
    .rc-stat-banner { flex-wrap: wrap; }
    .rc-stat-banner__item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .rc-stat-banner__item:nth-child(even) { border-right: none; }
}

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


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

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

.rc-groupe__subtitle {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2.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;
}

/* Responsables — ligne mise en avant */
.rc-membres-table tbody tr.rc-membres-table__responsable {
    background: #fff0f0;
}
.rc-membres-table tbody tr.rc-membres-table__responsable td {
    color: #3d3d3d;
    font-weight: 700;
    border-bottom-color: #f5c0bc;
}

/* Séparateur visuel entre responsables et membres */
.rc-membres-table tbody tr.rc-membres-table__separator td {
    padding: 0;
    height: 8px;
    background: #ededed;
    border-bottom: none;
}

/* Header de groupe (section rouge dans le tableau) */
.rc-membres-table tbody tr.rc-membres-table__group-header td {
    background: #e6352a;
    color: #ffffff;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 16px;
    border-bottom: none;
}

@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: 100px;
    margin-bottom: 80px;
    padding-top: 64px;
    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;
}



/* ============================================================
   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;
}

/* ── Accordéons dossiers ── */
.rc-folder-accordion {
    margin-bottom: 8px;
    border: 1px solid #ededed;
    background: #fff;
}

.rc-folder-accordion__header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.12s;
}

.rc-folder-accordion__header:hover {
    background: #fafafa;
}

.rc-folder-accordion__header--plain {
    cursor: default;
    padding: 10px 18px 6px;
}

.rc-folder-accordion__header--plain:hover {
    background: none;
}

.rc-folder-accordion__icon {
    flex-shrink: 0;
    color: #e6352a;
    width: 20px;
    height: 20px;
}

.rc-folder-accordion__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.rc-folder-accordion__name {
    flex: 1;
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1d2327;
}

.rc-folder-accordion__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #fdf0ef;
    color: #e6352a;
    border: 1px solid #f5c0bc;
    padding: 2px 8px;
    border-radius: 20px;
}

.rc-folder-accordion__count {
    font-size: 0.75rem;
    color: #b2b2b2;
    white-space: nowrap;
}

.rc-folder-accordion__chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #b2b2b2;
    transition: transform 0.2s ease;
}

.rc-folder-accordion__header[aria-expanded="false"] .rc-folder-accordion__chevron {
    transform: rotate(-90deg);
}

.rc-folder-accordion__body {
    padding: 0 18px 4px;
    border-top: 1px solid #f5f5f5;
}

.rc-folder-accordion__body[hidden] {
    display: none;
}

.rc-folder-accordion--no-folder {
    border: none;
    background: transparent;
    margin-top: 32px;
}

.rc-folder-accordion--no-folder .rc-folder-accordion__body {
    padding: 0;
    border-top: none;
}

.rc-documents-list {
    padding: 0;
    margin: 0;
    list-style: none;
}


/* ============================================================
   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;
}

@media (max-width: 768px) {
    .rc-evenement-single { padding-bottom: 24px; }
}

.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__meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rc-evenement__lieu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #646970;
}

.rc-evenement__lieu svg {
    width: 16px;
    height: 16px;
    color: #b2b2b2;
    flex-shrink: 0;
}

.rc-evenement-sidebar__lieu {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.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;
}

/* ── Inscriptions fermées / événement passé ── */
.rc-inscription-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
    gap: 12px;
}

.rc-inscription-closed__icon {
    width: 52px;
    height: 52px;
    color: #b2b2b2;
}

.rc-inscription-closed__icon svg {
    width: 100%;
    height: 100%;
}

.rc-inscription-closed__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3d3d3d;
    margin: 0;
}

.rc-inscription-closed__desc {
    font-size: 0.8125rem;
    color: #888;
    line-height: 1.55;
    margin: 0;
}

/* ── 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;
    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;
    }
}

/* Désactiver les animations de scroll sur mobile — évite le flash
   causé par le JS qui ajoute .rc-anim après le premier paint */
@media (max-width: 768px) {
    .rc-anim,
    .rc-anim--left,
    .rc-anim--right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ============================================================
   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) ')'; }
}


/* ============================================================
   RESPONSIVE — CONSOLIDÉ
   Breakpoints :
     ≥ 1600px  Wide screen
     ≤ 1400px  Large desktop (déjà partiellement couvert)
     ≤ 1200px  Desktop moyen
     ≤ 1024px  Tablette paysage
     ≤ 900px   Tablette portrait
     ≤ 768px   Mobile paysage / grande tablette
     ≤ 600px   Mobile portrait
     ≤ 480px   Petit mobile
   ============================================================ */


/* ── Wide screen ≥ 1600px ───────────────────────────────────── */
@media (min-width: 1600px) {
    .rc-footer-body        { padding: 80px 120px 64px; }
    .rc-footer-bottom      { padding: 24px 120px; }
    .rc-news-grid          { gap: 24px; }
    .rc-events-grid        { gap: 24px; }
    .rc-forums-grid        { gap: 24px; }
}


/* ── Large desktop ≤ 1400px ─────────────────────────────────── */
@media (max-width: 1400px) {
    .rc-header-inner       { padding: 12px 60px; }
    .rc-footer-body        { padding: 64px 60px 48px; }
    .rc-footer-bottom      { padding: 20px 60px; }
    .rc-footer-grid        { gap: 48px; }
    .rc-nav__link          { padding: 12px 20px; font-size: 1rem; }
    .rc-logo               { height: 80px; }
    .rc-logo img,
    .rc-logo svg           { height: 80px; }
    /* Container padding = 60px → ajuster le breakout */
    .rc-hero               { width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; }
    .rc-hero__left         { padding-left: 60px; }
}


/* ── Desktop moyen ≤ 1200px ─────────────────────────────────── */
@media (max-width: 1200px) {
    .rc-logo               { height: 72px; }
    .rc-logo img,
    .rc-logo svg           { height: 72px; }
    .rc-nav__link          { padding: 10px 14px; font-size: 0.875rem; }
    /* Container padding = 40px → ajuster le breakout */
    .rc-hero               { width: calc(100% + 80px); margin-left: -40px; margin-right: -40px; margin-bottom: 100px; }
    .rc-hero__left         { padding-left: 40px; padding-right: 40px; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 100px; }
    .rc-org-comite         { gap: 40px; }
    .rc-groupe-layout      { gap: 40px; }
    .rc-contacts-section   { padding: 36px; }
    .rc-gt-grid            { grid-template-columns: repeat(2, 1fr); }
    .rc-footer-grid        { grid-template-columns: 1fr 1fr; gap: 40px; }
    .rc-footer-body        { padding: 56px 40px 48px; }
    .rc-footer-bottom      { padding: 18px 40px; }
}


/* ── Tablette paysage ≤ 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
    /* Header */
    .rc-header-inner       { padding: 10px 32px; }
    .rc-logo               { height: 64px; }
    .rc-logo img,
    .rc-logo svg           { height: 64px; }

    /* Page wrapper */
    .rc-page               { padding: 60px 0; }
    .rc-page-header        { margin-bottom: 48px; }

    /* Home — container padding reste 40px à ce breakpoint */
    .rc-hero               { margin-bottom: 80px; }
    .rc-hero__map          { width: 100%; margin-right: 0; }
    .rc-hero__map svg      { max-width: 500px; margin: 0 auto; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 80px; }

    /* Grilles 3 col → 2 col */
    .rc-news-grid          { grid-template-columns: 1fr 1fr; gap: 16px; }
    .rc-forums-grid        { grid-template-columns: 1fr 1fr; gap: 16px; }
    .rc-events-grid        { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Boîte à idées → 1 col */
    .rc-idees-layout       { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; margin-bottom: 60px; }
    .rc-idees-card         { padding: 36px 32px; }
    .rc-idees-row          { grid-template-columns: 1fr; gap: 16px; }
    .rc-idees-submit       { width: 100%; justify-content: center; }

    /* Le Projet */
    .rc-projet-layout      { grid-template-columns: 1fr 280px; gap: 40px; }

    /* Organisation */
    .rc-org-body           { grid-template-columns: 1fr; gap: 40px; }
    .rc-org-body__right    { position: static; }
    .rc-org-structure-img  { max-width: 480px; }
    .rc-org-comite         { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
    .rc-org-stats          { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
    .rc-stat-item          { border-right: 1px solid rgba(255,255,255,0.2); padding: 0 16px; }
    .rc-stat-item:last-child { border-right: none; }
    .rc-contacts-section   { padding: 28px; }
    .rc-contacts-grid      { grid-template-columns: 1fr 1fr; gap: 16px; }
    .rc-membres-section    { margin-bottom: 64px; }
    .rc-gt-section         { margin-bottom: 64px; }

    /* Groupe de travail */
    .rc-groupe-layout      { grid-template-columns: 1fr; gap: 40px; }
    .rc-membres-table-wrapper { overflow-x: auto; }

    /* Forum single */
    .rc-forum-layout       { gap: 40px; }

    /* Evenement */
    .rc-evenement-layout   { gap: 40px; }

    /* Documents */
    .rc-docs-sort-wrap     { gap: 4px; }
    .rc-sort-btn           { padding: 5px 10px; font-size: 0.6875rem; }

    /* Utils */
    .rc-mt-section         { margin-top: 72px; }
    .rc-mb-section         { margin-bottom: 72px; }
    .rc-section-divider    { margin: 56px 0; }
}


/* ── Tablette portrait ≤ 900px ──────────────────────────────── */
@media (max-width: 900px) {
    /* Home sections */
    .rc-hero               { margin-bottom: 64px; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 64px; }

    /* Section header */
    .rc-section-header     { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Contacts grid → 1 col */
    .rc-contacts-grid      { grid-template-columns: 1fr; }
    .rc-contacts-section   { padding: 24px 20px; margin-bottom: 28px; }

    /* Organisation */
    .rc-org-stats          { grid-template-columns: repeat(2, 1fr); }

    /* News & events */
    .rc-news-grid          { gap: 14px; }
    .rc-forums-grid        { gap: 14px; }

    /* Agenda archive */
    .rc-agenda-item        { grid-template-columns: 64px 1fr; gap: 20px; }
    .rc-agenda-item__cta   { display: none; }

    /* Event panel */
    .rc-event-panel        { padding: 24px 20px; margin-top: -14px; }
    .rc-event-panel.is-open { flex-direction: column; gap: 20px; }
    .rc-event-panel__date  { min-width: auto; width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 20px; }

    /* Evenement */
    .rc-evenement-layout   { grid-template-columns: 1fr; gap: 0; }
    .rc-evenement-sidebar  { position: static; margin-top: 40px; }
    .rc-evenement__meta    { gap: 20px; flex-wrap: wrap; }
}


/* ── Mobile ≤ 768px ──────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Header */
    .rc-header-inner       { padding: 10px 20px; }
    .rc-logo               { height: 56px; }
    .rc-logo img,
    .rc-logo svg           { height: 56px; }

    /* Mobile nav panneau */
    .rc-nav__dropdown      { min-width: unset; }

    /* Page */
    .rc-page               { padding: 48px 0; }
    .rc-page-header        { margin-bottom: 36px; }

    /* Home hero — colonne unique, annuler le breakout */
    .rc-hero               { grid-template-columns: 1fr; width: 100%; margin-left: 0; margin-right: 0; gap: 32px; margin-bottom: 56px; padding-top: 24px; }
    .rc-hero__left         { padding-left: 0; padding-right: 0; }
    .rc-hero__map          { order: -1; width: 100%; margin-right: 0; margin-bottom: 12px; }
    .rc-hero__map svg      { max-width: 480px; margin: 0 auto; }
    .rc-hero__actions      { gap: 12px; }
    .rc-hero__btn          { padding: 12px 22px; font-size: 0.75rem; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 56px; margin-top: 0; }

    /* Grilles → 1 col */
    .rc-news-grid          { grid-template-columns: 1fr; gap: 12px; }
    .rc-forums-grid        { grid-template-columns: 1fr; gap: 12px; }
    .rc-events-grid        { grid-template-columns: 1fr; gap: 10px; }

    /* News cards — caption plus compacte */
    .rc-news-card__caption { height: 96px; padding: 10px 16px 12px; gap: 4px; }
    .rc-news-card__title   { font-size: 1.15rem; -webkit-line-clamp: 2; line-clamp: 2; }

    /* Forum cards — label plus compact */
    .rc-forum-card__thumb-wrap { max-height: 280px; }
    .rc-forum-card__label  { padding: 12px 16px; min-height: 62px; font-size: 1.15rem; }
    .rc-forum-card__date   { font-size: 0.7rem; }

    /* Boîte à idées */
    .rc-idees-layout       { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; margin-bottom: 48px; }
    .rc-idees-intro        { font-size: 0.9375rem; }
    .rc-idees-card         { padding: 28px 22px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
    .rc-idees-card__icon   { width: 52px; height: 52px; margin-bottom: 14px; }
    .rc-idees-card__icon svg { width: 28px; height: 28px; }
    .rc-idees-card__title  { font-size: 1.25rem; }
    .rc-idees-card__subtitle { font-size: 0.875rem; margin-bottom: 22px; }
    .rc-idees-form         { gap: 14px; }
    .rc-idees-row          { grid-template-columns: 1fr; gap: 14px; }
    .rc-idees-field input,
    .rc-idees-field textarea { padding: 13px 14px; font-size: 1rem; min-height: 48px; }
    .rc-idees-field textarea { min-height: 120px; }
    .rc-idees-submit       { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.9375rem; }

    /* Le Projet → 1 col */
    .rc-projet-layout      { grid-template-columns: 1fr; gap: 36px; }
    .rc-projet-sidebar     { position: static; }
    .rc-projet-card__body  { padding: 20px; }

    /* Article single */
    .rc-article__body      { grid-template-columns: 1fr; gap: 28px; }
    .rc-article__image     { width: 100%; order: -1; }
    .rc-article__heading   { margin-bottom: 24px; }

    /* Forum single */
    .rc-forum-layout       { grid-template-columns: 1fr; gap: 32px; }

    /* Organisation */
    .rc-org-comite         { margin-bottom: 56px; }
    .rc-org-stats          { grid-template-columns: repeat(2, 1fr); }
    .rc-membre-row         { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; }
    .rc-membre-row__fonction { color: #b2b2b2; font-size: 0.8125rem; }
    .rc-membres-section    { margin-bottom: 48px; }
    .rc-gt-section         { margin-bottom: 48px; }
    .rc-gt-grid            { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Groupe de travail single */
    .rc-groupe-layout      { grid-template-columns: 1fr; gap: 32px; }
    /* Tableau membres : empiler chaque ligne en carte */
    .rc-membres-table-wrapper { overflow-x: visible; }
    .rc-membres-table      { min-width: 0; display: block; }
    .rc-membres-table thead { display: none; }
    .rc-membres-table tbody { display: block; }
    .rc-membres-table tbody tr {
        display: flex;
        flex-direction: column;
        border-bottom: 2px solid #ededed;
        padding: 10px 0;
        background: none !important;
    }
    .rc-membres-table tbody tr.rc-membres-table__separator { display: none; }
    .rc-membres-table tbody tr.rc-membres-table__group-header {
        display: block;
        margin-top: 8px;
    }
    .rc-membres-table tbody tr.rc-membres-table__group-header td {
        display: block;
        border-radius: 0;
    }
    .rc-membres-table tbody td {
        display: block;
        padding: 2px 16px;
        border-bottom: none;
    }
    .rc-membres-table tbody td:first-child { color: #e6352a; }
    .rc-membres-table tbody tr.rc-membres-table__responsable td { border-bottom: none; }

    /* Tables génériques dans le contenu WP */
    .rc-page-content table,
    .rc-org-intro table,
    .rc-article__text table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

    /* Map panel */
    .rc-map-panel          { width: min(400px, calc(100vw - 16px)); }
    .rc-map-panel__header  { padding: 28px 20px 24px; }
    .rc-map-panel__body    { padding: 22px 18px 28px; }

    /* Documents */
    .rc-docs-toolbar       { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 0; overflow: hidden; }
    .rc-docs-search-wrap   { max-width: 100%; }
    .rc-docs-sort-wrap     { width: 100%; overflow-x: auto; padding-bottom: 6px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .rc-docs-sort-label    { flex-shrink: 0; }
    .rc-sort-btn           { flex-shrink: 0; }

    /* Accordéon dossiers */
    .rc-folder-accordion__header { padding: 12px 14px; }
    .rc-folder-accordion__body   { padding: 0 14px 4px; }

    /* Agenda archive */
    .rc-agenda-item        { grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; }
    .rc-agenda-item__day   { font-size: 1.375rem; }

    /* Evenement single */
    .rc-evenement__meta    { align-items: flex-start; gap: 16px; }
    .rc-evenement__date-block { flex-shrink: 0; }
    .rc-evenement-sidebar  { margin-top: 32px; }
    .rc-evenement-sidebar__inner { padding: 24px 20px; }

    /* Inscriptions */
    .rc-form-grid          { grid-template-columns: 1fr; }
    .rc-inscription-form   { max-width: 100%; }

    /* Timeline */
    .rc-timeline-section   { margin-top: 64px; }
    .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; }

    /* Footer */
    .rc-footer-body        { padding: 48px 20px 40px; }
    .rc-footer-grid        { grid-template-columns: 1fr; gap: 36px; }
    .rc-footer-bottom      { padding: 16px 20px; }
    .rc-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    .rc-footer-logo        { width: 160px; }
    .rc-footer-partners    { gap: 16px; }

    /* Search page */
    .rc-search-result__title { font-size: 0.9375rem; }

    /* Auth dropdown */
    .rc-auth-dropdown      { right: -8px; min-width: 200px; }

    /* ── Typographie mobile : base unique + reset global ───────────
       html font-size réduit → TOUS les rem scalent automatiquement.
       1rem = 15px au lieu de 16px. Un seul endroit à maintenir.
    ── */
    html { font-size: 93.75%; } /* 15px base — affecte tous les rem */
    body { font-size: 1rem; }   /* hérite de html = 15px */

    /* Neutraliser les classes WP font-size :
       WP génère :root { --wp--preset--font-size--medium: 20px } dans un <style> inline
       APRÈS notre CSS → redéfinir la variable ne fonctionne pas.
       On cible les classes avec une spécificité plus haute (main + classe > classe seule)
       pour que notre !important l'emporte sur celui de WP. */
    main .has-small-font-size   { font-size: 0.8125rem !important; }
    main .has-medium-font-size  { font-size: 1rem      !important; }
    main .has-large-font-size   { font-size: 1.25rem   !important; }
    main .has-x-large-font-size { font-size: 1.5rem    !important; }
    main .has-xx-large-font-size{ font-size: 1.875rem  !important; }

    /* Conteneurs de contenu → héritent de body */
    .rc-hero__text,
    .rc-hero__text p,
    .rc-article__intro,
    .rc-article__text,
    .rc-article__text p,
    .rc-forum__intro,
    .rc-forum__content,
    .rc-forum__content p,
    .rc-evenement__content,
    .rc-evenement__content p,
    .rc-evenement__description,
    .rc-page-content,
    .rc-page-content p,
    .rc-org-intro,
    .rc-org-intro p,
    .rc-projet-content,
    .rc-projet-content p,
    .rc-groupe__content,
    .rc-groupe__content p,
    .rc-projet-vision-quote,
    .rc-inscription-closed__desc,
    .rc-search-result__excerpt,
    .rc-idees-card__desc,
    .rc-contact-card__name  { font-size: 1em; line-height: 1.65; }

    /* Texte secondaire — un cran plus petit */
    .rc-evenement__heure,
    .rc-evenement__lieu,
    .rc-agenda-item__heure,
    .rc-agenda-item__desc,
    .rc-projet-axes-list li,
    .rc-contact-card__poste,
    .rc-footer-nav a,
    .rc-footer-address,
    .rc-footer-news__title  { font-size: 0.8125rem; }

    /* Très petit — mentions légales, crédits */
    .rc-footer-copy,
    .rc-footer-credit,
    .rc-footer-nav--sub a   { font-size: 0.75rem; }

    /* Utils */
    .rc-mt-section         { margin-top: 56px; }
    .rc-mb-section         { margin-bottom: 56px; }
    .rc-section-divider    { margin: 40px 0; }
}


/* ── Mobile portrait ≤ 600px ────────────────────────────────── */
@media (max-width: 600px) {
    /* Container */
    .rc-container          { padding: 0 16px; }

    /* Logo */
    .rc-logo               { height: 58px; }
    .rc-logo img,
    .rc-logo svg           { height: 58px; }

    /* Page */
    .rc-page               { padding: 40px 0; }
    .rc-page-header        { margin-bottom: 28px; }

    /* Home */
    .rc-hero               { margin-bottom: 48px; gap: 24px; }
    .rc-hero__map svg      { max-width: 380px; }
    .rc-hero__text         { text-align: justify; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 48px; }
    .rc-home-agenda        { margin-top: 80px; }

    /* News card */
    .rc-news-card          { aspect-ratio: 3 / 2; }

    /* Forum cards */
    .rc-forum-card__thumb-wrap { height: 240px; }
    .rc-forum-card__icon     { padding: 30px 24px 70px; }
    .rc-forum-card__icon svg { width: 64px; height: 64px; }

    /* Organisation */
    .rc-org-body           { gap: 32px; }
    .rc-org-nav-cards      { grid-template-columns: 1fr; gap: 12px; }
    .rc-org-nav-card       { padding: 22px 24px; gap: 18px; }
    .rc-org-nav-card__title { font-size: 0.875rem; }
    .rc-gt-grid            { grid-template-columns: 1fr; gap: 12px; }
    .rc-org-stats          { grid-template-columns: 1fr 1fr; }

    /* Le Projet sidebar cards */
    .rc-projet-card__header { padding: 11px 18px; }
    .rc-projet-card__body  { padding: 18px; }

    /* Contacts */
    .rc-contacts-section   { padding: 20px 16px; }
    .rc-contact-card       { padding: 16px; gap: 14px; }

    /* Map panel */
    .rc-map-panel          { width: 100vw; }
    .rc-map-panel__stat-grid { grid-template-columns: 1fr; }

    /* Tabs documents */
    .rc-docs-tab           { padding: 12px 16px; font-size: 0.75rem; }

    /* Agenda */
    .rc-agenda-item        { grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; }
    .rc-agenda-item__day   { font-size: 1.25rem; }
    .rc-agenda-item__month,
    .rc-agenda-item__year  { font-size: 0.5625rem; }

    /* Forms */
    .rc-form-grid          { grid-template-columns: 1fr; }
    .rc-form-submit        { width: 100%; text-align: center; padding: 14px 20px; }
    .rc-idees-submit       { width: 100%; justify-content: center; }

    /* Footer */
    .rc-footer-grid        { gap: 28px; }
    .rc-footer-logo        { width: 140px; }

    /* Search overlay */
    .rc-search-overlay__panel { margin: 0 12px; }
    #rc-search-input       { font-size: 1.125rem; padding: 18px 0; }

    /* Utils */
    .rc-mt-section         { margin-top: 48px; }
    .rc-mb-section         { margin-bottom: 48px; }
    .rc-section-divider    { margin: 32px 0; }
}


/* ══════════════════════════════════════════════════════════════
   BOÎTE À IDÉES
══════════════════════════════════════════════════════════════ */

/* Layout — colonne unique, alignée à gauche avec le titre */
.rc-idees-layout {
    display: block;
    max-width: 760px;
    margin: 48px 0 96px;
}

/* Intro */
.rc-idees-intro {
    color: #4a4a4a;
    font-size: 1.0625rem;
    line-height: 1.78;
    margin-bottom: 40px;
}
.rc-idees-intro p              { margin: 0 0 16px; }
.rc-idees-intro p:last-child   { margin-bottom: 0; }

/* Carte formulaire */
.rc-idees-card {
    background: #ffffff;
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 48px 44px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
                0 2px 6px rgba(0, 0, 0, 0.04);
}

.rc-idees-card__icon {
    width: 56px;
    height: 56px;
    background: #fdf0ef;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    color: #e6352a;
}
.rc-idees-card__icon svg { width: 28px; height: 28px; stroke: #e6352a; }

.rc-idees-card__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0 0 6px;
    text-align: left;
    letter-spacing: -0.01em;
}

.rc-idees-card__subtitle {
    font-size: 0.9375rem;
    color: #888888;
    margin: 0 0 32px;
    text-align: left;
}

/* Form */
.rc-idees-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rc-idees-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rc-idees-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.rc-idees-field label {
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    color: #3d3d3d;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.rc-idees-field label span {
    color: #e6352a;
    margin-left: 2px;
}
.rc-idees-field input,
.rc-idees-field textarea {
    border: 1.5px solid #e3e3e3;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1a1a1a;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    width: 100%;
    box-sizing: border-box;
}
.rc-idees-field input:hover,
.rc-idees-field textarea:hover {
    background: #ffffff;
    border-color: #cfcfcf;
}
.rc-idees-field input:focus,
.rc-idees-field textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #e6352a;
    box-shadow: 0 0 0 4px rgba(230, 53, 42, 0.10);
}
.rc-idees-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}
.rc-idees-input--error {
    border-color: #e6352a !important;
    background: #fdf8f8 !important;
}

/* Feedback */
.rc-idees-message {
    font-size: 0.875rem;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s;
}
.rc-idees-message:empty { display: none; }
.rc-idees-message--success {
    background: #f0faf4;
    border: 1px solid #34a853;
    color: #1a6b32;
    padding: 12px 16px;
}
.rc-idees-message--error {
    background: #fdf0ef;
    border: 1px solid #e6352a;
    color: #b52920;
    padding: 12px 16px;
}

/* Bouton — pleine largeur, mise en valeur */
.rc-idees-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e6352a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.2s ease;
    align-self: stretch;
    margin-top: 8px;
    box-shadow: 0 2px 10px rgba(230, 53, 42, 0.22);
}
.rc-idees-submit svg     { width: 16px; height: 16px; flex-shrink: 0; }
.rc-idees-submit:hover   { background: #c42a20; box-shadow: 0 4px 16px rgba(230, 53, 42, 0.32); }
.rc-idees-submit:active  { transform: scale(0.98); }
.rc-idees-submit:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

/* Responsive */
@media (max-width: 1024px) {
    .rc-idees-layout { margin: 40px 0 72px; }
    .rc-idees-intro  { margin-bottom: 32px; }
}

@media (max-width: 768px) {
    .rc-idees-layout { margin: 28px 0 60px; max-width: 100%; }
    .rc-idees-intro {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    .rc-idees-card {
        padding: 32px 22px 28px;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    .rc-idees-card__icon       { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
    .rc-idees-card__icon svg   { width: 24px; height: 24px; }
    .rc-idees-card__title      { font-size: 1.25rem; }
    .rc-idees-card__subtitle   { font-size: 0.875rem; margin-bottom: 24px; }
    .rc-idees-form             { gap: 16px; }
    .rc-idees-row              { grid-template-columns: 1fr; gap: 14px; }
    .rc-idees-field input,
    .rc-idees-field textarea   { padding: 13px 14px; font-size: 1rem; min-height: 48px; }
    .rc-idees-submit           { padding: 15px 24px; }
}

/* ── Petit mobile ≤ 480px ───────────────────────────────────── */
@media (max-width: 480px) {
    /* Container */
    .rc-container          { padding: 0 14px; }

    /* Header */
    .rc-header-inner       { padding: 8px 14px; }
    .rc-logo               { height: 52px; }
    .rc-logo img,
    .rc-logo svg           { height: 52px; }
    .rc-nav__search-toggle,
    .rc-nav__agenda-btn,
    .rc-nav__auth-btn      { padding: 8px 10px; }
    .rc-nav__search-toggle svg,
    .rc-nav__agenda-btn svg,
    .rc-nav__auth-btn svg  { width: 22px; height: 22px; }

    /* Typographie */
    .rc-rubrique           { font-size: clamp(1.75rem, 7vw, 2.5rem); }

    /* Page */
    .rc-page               { padding: 32px 0; }
    .rc-page-header        { margin-bottom: 24px; }

    /* Hero */
    .rc-hero               { gap: 20px; margin-bottom: 40px; padding-top: 16px; }
    .rc-hero__map svg      { max-width: 310px; }
    .rc-hero__text         { font-size: 0.9rem; }
    .rc-hero__actions      { flex-direction: column; gap: 10px; }
    .rc-hero__btn          { width: 100%; text-align: center; justify-content: center; }
    .rc-home-actualites,
    .rc-home-agenda        { margin-bottom: 40px; }

    /* News cards — caption ultra-compacte */
    .rc-news-card__caption { height: 92px; padding: 8px 14px 12px; gap: 3px; }
    .rc-news-card__title   { font-size: 1.05rem; }

    /* Events cards */
    .rc-event-card__date-box { padding: 24px 16px 14px; }
    .rc-event-card__label  { font-size: 0.8125rem; padding: 10px 16px; }

    /* Forum cards */
    .rc-forum-card__label  { padding: 10px 14px; min-height: 52px; }

    /* Article single */
    .rc-article__title     { font-size: clamp(1.25rem, 5vw, 1.5rem); }

    /* Agenda */
    .rc-agenda-item        { grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; }
    .rc-agenda-item__date-block { min-width: 52px; }
    .rc-agenda-item__day   { font-size: 1.25rem; }
    .rc-agenda-item__title { font-size: 1.05rem; }
    .rc-agenda-item:hover  { padding-left: 8px; padding-right: 8px; margin: 0 -8px; }

    /* Groupe de travail */
    .rc-gt-grid            { grid-template-columns: 1fr; gap: 10px; }
    .rc-gt-card__name      { font-size: 1.05rem; }

    /* Documents */
    .rc-folder-accordion__name { font-size: 0.8125rem; }
    .rc-folder-accordion__header { padding: 10px 12px; }
    .rc-document-item      { padding: 14px 0; gap: 14px; }

    /* Contact cards */
    .rc-contact-card       { flex-direction: column; padding: 14px; }
    .rc-contact-card__avatar { width: 44px; height: 44px; min-width: 44px; font-size: 0.875rem; }

    /* Map panel — quasi plein écran */
    .rc-map-panel          { width: 100vw; }
    .rc-map-panel__header  { padding: 24px 18px 20px; }
    .rc-map-panel__header-bar { margin-bottom: 16px; }
    .rc-map-panel__commune-name { font-size: 1.375rem; margin-bottom: 16px; }
    .rc-map-panel__body    { padding: 20px 16px 24px; gap: 18px; }
    .rc-map-panel__stat-item { padding: 12px 14px; gap: 12px; }
    .rc-map-panel__stat-value { font-size: 0.9375rem; }

    /* Form */
    .rc-form-input         { padding: 12px 14px; }

    /* Login modal */
    .rc-login-modal__panel { padding: 40px 24px 32px; margin: 16px; }
    .rc-login-modal__title { font-size: 1.25rem; }

    /* Footer */
    .rc-footer-body        { padding: 40px 14px 32px; }
    .rc-footer-bottom      { padding: 14px; }
    .rc-footer-bottom-inner { gap: 4px; }

    /* Breadcrumb */
    .rc-breadcrumb         { margin-bottom: 16px; }
    .rc-breadcrumb__item   { font-size: 0.6875rem; }

    /* Masquer le titre de la page courante dans le breadcrumb sur les singles longs */
    body.single-rc_actualite     .rc-breadcrumb__item:last-child,
    body.single-rc_forum         .rc-breadcrumb__item:last-child,
    body.single-rc_evenement     .rc-breadcrumb__item:last-child,
    body.single-rc_groupe_travail .rc-breadcrumb__item:last-child { display: none; }

    /* Org nav cards */
    .rc-org-nav-card       { padding: 18px 20px; gap: 14px; }
    .rc-org-nav-card__icon { width: 36px; height: 36px; }

    /* ── Typographie ≤ 480px ── */
    /* html/body héritent du bloc 768px (15px base) — rien à changer */

    /* Utils */
    .rc-mt-section         { margin-top: 40px; }
    .rc-mb-section         { margin-bottom: 40px; }
    .rc-section-divider    { margin: 24px 0; }

    /* Boîte à idées */
    .rc-idees-layout       { gap: 20px; margin-top: 16px; margin-bottom: 40px; }
    .rc-idees-card         { padding: 22px 16px; }
    .rc-idees-card__icon   { width: 44px; height: 44px; margin-bottom: 12px; }
    .rc-idees-card__icon svg { width: 24px; height: 24px; }
    .rc-idees-card__title  { font-size: 1.125rem; }
    .rc-idees-row          { grid-template-columns: 1fr; }
    .rc-idees-submit       { width: 100%; justify-content: center; padding: 13px 18px; }
}


/* ── Très petit mobile ≤ 360px ──────────────────────────────── */
@media (max-width: 360px) {
    /* Container */
    .rc-container          { padding: 0 12px; }

    /* Header */
    .rc-header-inner       { padding: 6px 10px; }
    .rc-logo               { height: 44px; }
    .rc-logo img,
    .rc-logo svg           { height: 44px; }
    .rc-nav__search-toggle,
    .rc-nav__agenda-btn,
    .rc-nav__auth-btn      { padding: 6px 8px; }
    .rc-nav__search-toggle svg,
    .rc-nav__agenda-btn svg,
    .rc-nav__auth-btn svg  { width: 20px; height: 20px; }

    /* Typo */
    .rc-rubrique           { font-size: clamp(1.5rem, 9vw, 2rem); }

    /* Page */
    .rc-page               { padding: 28px 0; }
    .rc-page-header        { margin-bottom: 20px; }

    /* Hero */
    .rc-hero               { gap: 16px; margin-bottom: 32px; }
    .rc-hero__map svg      { max-width: 240px; }

    /* Map panel — plein écran */
    .rc-map-panel          { width: 100vw; }
    .rc-map-panel__header  { padding: 18px 14px 16px; }
    .rc-map-panel__header-bar { margin-bottom: 12px; }
    .rc-map-panel__commune-name { font-size: 1.25rem; margin-bottom: 14px; }
    .rc-map-panel__body    { padding: 16px 12px 20px; gap: 14px; }
    .rc-map-panel__stat-item { padding: 10px 12px; gap: 10px; border-radius: 2px; }
    .rc-map-panel__stat-icon { width: 32px; height: 32px; border-radius: 2px; }
    .rc-map-panel__stat-icon svg { width: 15px; height: 15px; }
    .rc-map-panel__stat-value { font-size: 0.875rem; }
    .rc-map-panel__stat-item--pop .rc-map-panel__stat-value { font-size: 0.9375rem; }
    .rc-map-panel__fusion  { padding: 14px 16px; border-radius: 2px; }

    /* Grilles → toujours 1 col */
    .rc-gt-grid            { grid-template-columns: 1fr; gap: 8px; }
    .rc-events-grid        { gap: 8px; }
    .rc-news-grid          { gap: 8px; }

    /* Org */
    .rc-org-nav-cards      { grid-template-columns: 1fr; gap: 10px; }
    .rc-org-nav-card       { padding: 16px 18px; gap: 14px; }

    /* Footer */
    .rc-footer-body        { padding: 32px 12px 28px; }
    .rc-footer-bottom      { padding: 12px; }
    .rc-footer-logo        { width: 120px; }

    /* Boîte à idées */
    .rc-idees-card         { padding: 20px 14px; }
    .rc-idees-card__title  { font-size: 1.0625rem; }

    /* Utils */
    .rc-mt-section         { margin-top: 32px; }
    .rc-mb-section         { margin-bottom: 32px; }
    .rc-section-divider    { margin: 20px 0; }
}


/* ============================================================
   COOKIES & POLITIQUE DE CONFIDENTIALITÉ (nLPD)
   ============================================================ */

/* ── Bannière cookies ─────────────────────────────────────── */
.rc-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border-top: 3px solid #e6352a;
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.10);
    transform: translateY(110%);
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.rc-cookie-banner.is-visible { transform: translateY(0); }
.rc-cookie-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.rc-cookie-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.rc-cookie-banner__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: #e6352a;
    margin-top: 2px;
}
.rc-cookie-banner__icon svg { width: 100%; height: 100%; }
.rc-cookie-banner__text     { flex: 1; min-width: 0; }
.rc-cookie-banner__title {
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 5px;
}
.rc-cookie-banner__desc {
    font-size: 0.8125rem;
    color: #555555;
    margin: 0;
    line-height: 1.55;
}
.rc-cookie-banner__link {
    color: #e6352a;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
    cursor: pointer;
}
.rc-cookie-banner__link:hover { color: #c42d22; }
.rc-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}
.rc-cookie-btn {
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 11px 22px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rc-cookie-btn--primary {
    background: #e6352a;
    color: #ffffff;
    border: 2px solid #e6352a;
}
.rc-cookie-btn--primary:hover  { background: #c42d22; border-color: #c42d22; }
.rc-cookie-btn--secondary {
    background: transparent;
    color: #555555;
    border: 2px solid #d4d4d4;
}
.rc-cookie-btn--secondary:hover { border-color: #888888; color: #1a1a1a; }

/* Bouton rouvrir (flottant bas-gauche) */
.rc-cookie-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99998;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    color: #aaaaaa;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.28s ease,
                transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.15s ease,
                border-color 0.15s ease;
}
.rc-cookie-reopen.is-visible { opacity: 1; transform: scale(1); }
.rc-cookie-reopen:hover      { color: #e6352a; border-color: #e6352a; }
.rc-cookie-reopen svg        { width: 16px; height: 16px; }

/* ── Modal politique de confidentialité ──────────────────── */
.rc-privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.rc-privacy-modal[hidden] { display: none; }
.rc-privacy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.rc-privacy-modal.is-open .rc-privacy-modal__overlay { opacity: 1; }
.rc-privacy-modal__panel {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;      /* header fixe + body scrollable */
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.28s ease, transform 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}
.rc-privacy-modal.is-open .rc-privacy-modal__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.rc-privacy-modal__header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #eeeeee;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
}
.rc-privacy-modal__title {
    font-family: gotham, sans-serif;
    font-weight: 800;
    font-size: 1.0625rem;
    color: #1a1a1a;
    margin: 0;
}
.rc-privacy-modal__footer {
    flex-shrink: 0;
    padding: 16px 28px 24px;
    border-top: 1px solid #eeeeee;
    display: flex;
    justify-content: center;
}
.rc-privacy-modal__close {
    font-family: gotham, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 11px 32px;
    background: #e6352a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.rc-privacy-modal__close:hover { background: #c42d22; }
.rc-privacy-modal__body {
    padding: 24px 28px 32px;
    font-size: 0.875rem;
    line-height: 1.72;
    color: #444444;
    overflow-y: auto;            /* scroll uniquement ici, pas sur le panel */
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.rc-privacy-modal__body p      { margin: 0 0 14px; }
.rc-privacy-modal__body strong { color: #1a1a1a; font-weight: 700; }
.rc-privacy-modal__body ul     { margin: 8px 0 14px 20px; padding: 0; }
.rc-privacy-modal__body li     { margin-bottom: 6px; }
.rc-privacy-modal__body a      { color: #e6352a; text-decoration: underline; }
.rc-privacy-modal__body a:hover { color: #c42d22; }

/* Lien footer — même style que rc-footer-bottom-link */
a.rc-privacy-trigger.rc-footer-bottom-link,
button.rc-privacy-trigger { cursor: pointer; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .rc-cookie-banner__inner {
        flex-direction: column;
        padding: 18px 20px 20px;
        gap: 16px;
        align-items: stretch;
    }
    .rc-cookie-banner__actions { width: 100%; }
    .rc-cookie-btn             { flex: 1; text-align: center; padding: 12px 16px; }
    .rc-cookie-reopen          { display: none; }
    .rc-footer-bottom          { padding-bottom: 28px; }
    .rc-privacy-modal          { padding: 12px; align-items: flex-end; }
    .rc-privacy-modal__panel   { max-height: 88vh; border-radius: 14px 14px 0 0; }
    .rc-privacy-modal__header  { padding: 20px 20px 16px; }
    .rc-privacy-modal__body    { padding: 18px 20px 20px; }
    .rc-privacy-modal__footer  { padding: 14px 20px 20px; }
    .rc-privacy-modal__close   { width: 100%; }
}
