/* ==========================================================================
   CONSEIL RÉGIONAL DE SAN PEDRO — v6
   Charte : vert (titres, hover, bordures) / orange (texte boutons) / fond blanc
   ========================================================================== */

/* ==========================================================================
   1. RESET
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--navy-deep);
    /* Image de fond fixe en U (visible en haut, à gauche et à droite du wrapper) */
    background-image: url('images/demo/novembre-bleu.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   WRAPPER PRINCIPAL — Site dans un cadre en U
   - 80% de largeur centrée (10% de marge de chaque côté → 20% au total)
   - Descend de 30% de la hauteur écran (image visible en haut)
   - Collé au bas (pas de marge inférieure)
   - Ombre douce pour détacher du fond
   ========================================================================== */
.site-wrapper {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40vh;
    margin-bottom: 0;
    padding: 1%;
    background-color: white;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

/* Sur tablettes : on réduit la marge du haut et on élargit un peu */
@media (max-width: 1200px) {
    .site-wrapper {
        width: 92%;
        margin-top: 20vh;
    }
}

/* Sur mobile : le wrapper prend toute la largeur et part du haut */
@media (max-width: 768px) {
    .site-wrapper {
        width: 100%;
        margin-top: 0;
        box-shadow: none;
    }
}

/* La nav sticky reste en haut du wrapper quand on scrolle */
.site-wrapper .main-nav {
    top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--green);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   2. VARIABLES (charte logo Conseil Régional San Pedro)
   ========================================================================== */
:root {
    /* === COULEURS PRINCIPALES === */

    /* VERT — titres, hover, bordures de boutons (couleur d'action principale) */
    --green: #18326c;;
    /* Vert pur pour hover/fond actif */
    --green-dark: #18326c;;
    /* Vert sombre pour textes */
    --green-light: #2da06b;
    /* Vert clair pour accents */
    --green-forest: #228B22;
    /* Vert forêt pour hover des boutons */
    --cyan-pale: #d9eee3;
    /* Vert très pâle pour fonds doux */

    /* ORANGE — texte des boutons, accents chauds */
    --orange: #00a4d7;
    /* Orange principal (texte des boutons) */
    --orange-dark: #c45e10;
    /* Orange sombre */
    --orange-pale: #fdebd6;
    /* Orange très pâle pour fonds */

    /* BLEU MARINE & CYAN — couleurs du logo (ancres + ruban + phare) */
    --navy: #2d3b63;
    --navy-deep: #2d3b63;
    --navy-pale: #e8edf5;
    --cyan: #00a4d7;
    --cyan-light: #4cc4e8;
    --cyan-pale: #d8eef7;

    /* === STATUTS DE RÉALISATION (carte) === */
    --status-realized: #18326c;;
    /* Vert : Réalisé */
    --status-progress: #00a4d7;
    /* Bleu cyan : En cours */
    --status-planned: #e87722;
    /* Orange : Programmé */
    --status-foreseen: #6b7280;
    /* Gris : Prévu */

    /* === NEUTRES === */
    --ink: #1a1a1a;
    --ink-soft: #495057;
    --ink-muted: #6c757d;
    --line: #e5e7eb;
    --line-soft: #f3f4f6;

    /* === FONDS === */
    --bg: #ffffff;
    --bg-paper: #ffffff;
    --bg-warm: #fafafa;
    --bg-soft: #f7f9fc;
    --bg-deep: #18326c;

    /* === TYPOGRAPHIE === */
    --font-body: 'Roboto', -apple-system, sans-serif;
    --font-display: 'Roboto Slab', Georgia, serif;
    --font-condensed: 'Roboto Condensed', sans-serif;

    /* === LAYOUT === */
    --container: 1280px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    /* === OMBRES === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 6px 18px rgba(25, 135, 84, 0.25);

    /* === TRANSITIONS === */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.25s var(--ease);
}

/* ==========================================================================
   3. TYPOGRAPHIE — Grands titres en vert
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--green-light);
    letter-spacing: -0.005em;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.0625rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.0625rem;
    color: var(--ink-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

/* ==========================================================================
   4. CONTENEURS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* === Média Hero (vidéo prioritaire / photo) === */
.media-hero {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
    box-shadow: var(--shadow-md);
}

.media-hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.media-hero-frame iframe,
.media-hero video {
    width: 100%;
    height: 100%;
    display: block;
}

.media-hero video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.media-hero-photo img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.media-hero-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(205, 32, 31, 0.95);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
    z-index: 2;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* === Galerie sous le héros === */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.media-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
    cursor: pointer;
    background: #000;
    transition: transform var(--transition);
}

.media-gallery-item:hover {
    transform: scale(1.03);
}

.media-gallery-item img,
.media-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

/* === Indicateur vidéo dans le popup Leaflet === */
.popup-card .popup-image-wrap {
    position: relative;
    line-height: 0;
}

.popup-video-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(205, 32, 31, 0.95);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.popup-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.4rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.18);
    transition: background var(--transition);
    text-decoration: none;
    z-index: 4;
}

.popup-play-overlay:hover {
    background: rgba(0, 0, 0, 0.35);
    color: white;
}

/* Utilitaires d'espacement (compatibles avec les classes ajoutées dans les vues) */
.m-5 { margin: 1.25rem; }
.mt-5 { margin-top: 1.25rem; }
.mb-5 { margin-bottom: 1.25rem; }
.ml-5 { margin-left: 1.25rem; }
.mr-5 { margin-right: 1.25rem; }
.bg-cyan { background-color: var(--cyan); }
.text-white { color: white; }

.section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

/* ==========================================================================
   5. BOUTONS — Bordure verte / texte orange / hover vert+blanc
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid var(--green);
    background-color: white;
    color: var(--orange);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.btn:hover,
.btn:focus {
    background-color: var(--green-forest);
    color: white;
    border-color: var(--green-forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn .arrow {
    transition: transform var(--transition);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* Variante remplie verte (CTA fort) */
.btn-filled {
    background-color: var(--green);
    color: white;
    border-color: var(--green);
}

.btn-filled:hover {
    background-color: var(--green-forest);
    border-color: var(--green-forest);
    color: white;
}

/* Variante orange (très fort accent) */
.btn-orange {
    background-color: white;
    color: var(--orange);
    border-color: var(--orange);
}

.btn-orange:hover {
    background-color: var(--orange);
    color: white;
    border-color: var(--orange);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.825rem;
}

.btn-lg {
    padding: 0.85rem 1.7rem;
    font-size: 1rem;
}

/* ==========================================================================
   6. UTILITY BAR — Layout 30%/70% : icônes sociales (gauche) + liens (droite)
   ========================================================================== */
.utility-bar {
    background-color: white;
    color: var(--ink);
    font-size: 0.8125rem;
    border-top: 3px solid var(--cyan-light);
    border-bottom: 1px solid var(--line);
}

.utility-bar .container {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
    height: 42px;
    gap: 1rem;
}

.utility-bar a {
    color: var(--ink);
    transition: color 0.2s, transform 0.2s;
}

.utility-bar a:hover {
    color: var(--cyan);
}

/* Côté gauche (30%) : icônes de réseaux sociaux */
.utility-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.utility-social-label {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-right: 0.5rem;
    font-weight: 600;
}

.utility-social a.social-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid currentColor;
    font-size: 0.75rem;
    transition: all var(--transition);
}

.utility-social a.social-icon.fb { color: #1877f2; }
.utility-social a.social-icon.tw { color: #000; }
.utility-social a.social-icon.yt { color: #cd201f; }
.utility-social a.social-icon.tk { color: #000; }
.utility-social a.social-icon.ig { color: #dc2743; }
.utility-social a.social-icon.ln { color: #0a66c2; }

.utility-social a.social-icon:hover {
    color: white;
    transform: translateY(-2px);
}

.utility-social a.social-icon.fb:hover { background: #1877f2; border-color: #1877f2; }
.utility-social a.social-icon.tw:hover { background: #000; border-color: #333; }
.utility-social a.social-icon.yt:hover { background: #cd201f; border-color: #cd201f; }
.utility-social a.social-icon.tk:hover { background: #000; border-color: #333; }
.utility-social a.social-icon.ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: #dc2743; }
.utility-social a.social-icon.ln:hover { background: #0a66c2; border-color: #0a66c2; }

/* Côté droit (70%) : liens utilitaires */
.utility-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.utility-meta .separator {
    width: 1px;
    height: 14px;
    background: var(--line);
}

.utility-meta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .utility-bar {
        display: none;
    }
}

/* ==========================================================================
   6.b BANDEAU FLASH INFO (sous le menu, texte qui défile, fond cyan)
   ========================================================================== */
.flash-info-band {
    background-color: var(--cyan);
    color: white;
    padding: 0.5rem 0;
    overflow: hidden;
}

.flash-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-info .info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    font-size: 0.825rem;
    color: white;
}

.flash-info .info i {
    font-size: 0.85rem;
}

.flash-info .info b {
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.scrolling-text-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll-flash 28s linear infinite;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

.scrolling-text p {
    margin: 0;
    padding-right: 4rem;
    flex-shrink: 0;
    font-size: 0.875rem;
    color: white;
}

.scrolling-text p span {
    font-style: italic;
    font-weight: 500;
}

.scrolling-text p span::before {
    content: "✦";
    margin-right: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}

@keyframes scroll-flash {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .flash-info .info { font-size: 0.75rem; padding: 0.3rem 0.65rem; }
    .scrolling-text p { font-size: 0.8rem; padding-right: 2.5rem; }
}

/* ==========================================================================
   7. IDENTITY BAR
   ========================================================================== */
.identity-bar {
    background-color: white;
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
}

.identity-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.identity {
    display: none;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.identity-banner {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    line-height: 0;
}

.identity-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 769px) {
    .identity-bar {
        padding: 0;
    }

    .identity-bar > .container {
        max-width: 100%;
        padding: 0;
    }

    .identity-wrap {
        gap: 0;
    }
}

.identity-logo {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--green);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.identity:hover .identity-logo {
    transform: scale(1.05);
    border-color: var(--orange);
}

.identity-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.identity-text {
    line-height: 1.2;
}

.identity-supratext {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.identity-marque {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.01em;
    display: block;
    line-height: 1.15;
}

.identity-tagline {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

.identity-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    gap: 0.5rem;
    transition: all var(--transition);
}

.search-form:focus-within {
    border-color: var(--green);
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

.search-form input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 180px;
    color: var(--ink);
}

.search-form button {
    color: var(--green);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .identity-banner {
        display: none;
    }

    .identity {
        display: flex;
    }

    .identity-marque {
        font-size: 1.05rem;
    }

    .identity-tagline,
    .identity-supratext {
        font-size: 0.7rem;
    }

    .identity-logo {
        width: 56px;
        height: 56px;
    }

    .identity-actions {
        display: none;
    }
}

/* ==========================================================================
   8. NAVIGATION (sticky, fond vert sombre pour distinguer)
   ========================================================================== */
.main-nav {
    background-color: var(--green);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.95rem 0.85rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active,
.nav-item:hover .nav-link {
    color: var(--orange);
    /* color: white; */
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--orange);
}

.nav-link.has-dropdown::after {
    content: "▾";
    font-size: 0.65rem;
    opacity: 0.7;
    margin-left: 0.2rem;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background-color: white;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s var(--ease);
    border-top: 3px solid var(--orange);
    z-index: 200;
}

.nav-item:hover>.dropdown,
.nav-item:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: var(--ink);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--line-soft);
    transition: all var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: var(--cyan);
    color: white;
    padding-left: 1.6rem;
}

.nav-link > i {
    font-size: 0.85rem;
    opacity: 0.95;
}

.dropdown a > i {
    font-size: 0.7rem;
    width: 12px;
    margin-right: 0.35rem;
    color: var(--ink-muted);
    opacity: 0.7;
    transition: all var(--transition);
}

.dropdown a:hover > i {
    color: white;
    opacity: 1;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: white;
    background: transparent;
    align-items: center;
    justify-content: center;
}

.main-nav-brand {
    display: none;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 0;
}

@media (max-width: 1024px) {
    .main-nav .container {
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav-brand {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--green);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        white-space: normal;
    }

    .nav-list.is-open {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-link {
        padding: 1rem 1.25rem;
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .nav-link.has-dropdown::after {
        margin-left: auto;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08);
        border-top: none;
        border-left: 4px solid var(--orange);
        background-color: #ffffff;
        border-radius: 0 6px 6px 0;
        margin: 0 0 0.4rem;
        overflow: hidden;
        display: none;
    }

    .nav-item.is-expanded > .dropdown {
        display: block;
    }

    .nav-item.is-expanded > .nav-link {
        color: var(--orange);
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-link.active {
        position: relative;
    }

    .nav-link.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--orange);
    }

    .dropdown a {
        color: var(--ink);
        border-bottom: 1px solid var(--line-soft);
        padding-left: 2.25rem;
        transition: all var(--transition);
    }

    .dropdown a:last-child {
        border-bottom: none;
    }

    .dropdown a:hover {
        background-color: var(--cyan);
        color: white;
        padding-left: 2.6rem;
    }

    .dropdown a:hover > i {
        color: white;
        opacity: 1;
    }

    .dropdown a.active {
        background: var(--cyan-pale);
        color: var(--green);
        font-weight: 700;
    }

    .dropdown a.active > i {
        color: var(--orange);
    }
}

/* ==========================================================================
   9. SECTION HEADER
   ========================================================================== */
.section-header {
    margin-bottom: 2.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 3px solid var(--green);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--orange);
}

.section-header-text h2 {
    margin: 0;
    margin-bottom: 0.2rem;
}

.section-header-text .subtitle {
    color: var(--ink-muted);
    font-size: 0.95rem;
    margin: 0;
}

.section-header .more-link {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.section-header .more-link:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ==========================================================================
   10. CARROUSEL ACTUALITÉS + MOT DU PRÉSIDENT (côte à côte)
   ========================================================================== */
.featured-section {
    padding: 4rem 0;
    background: var(--bg-soft);
}

.featured-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Carrousel */
.featured-carousel {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.carousel-stage {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/11;
    background: var(--navy);
    box-shadow: var(--shadow-md);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 1.5rem 1.25rem;
    color: white;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 70%);
}

.carousel-caption-tag {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.carousel-caption h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.carousel-caption a.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.875rem;
    transition: gap var(--transition);
}

.carousel-caption a.read-link:hover {
    color: white;
    gap: 0.6rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition);
    z-index: 5;
}

.carousel-control:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev { left: 0.85rem; }
.carousel-next { right: 0.85rem; }

.carousel-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 5;
}

.carousel-thumbs {
    display: flex;
    gap: 0.5rem;
}

.carousel-thumb {
    flex: 1;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.55;
    border: 2.5px solid transparent;
    transition: all var(--transition);
    background: var(--navy-pale);
    padding: 0;
}

.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-thumb:hover {
    opacity: 0.85;
    border-color: var(--orange);
}

.carousel-thumb.is-active {
    opacity: 1;
    border-color: var(--green);
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
}

/* Mot du président */
.president-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.president-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-light);
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid var(--green-light);
    position: relative;
}

.president-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 70px;
    height: 3px;
    background: var(--orange);
}

.president-block {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--line);
}

.president-photo {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--green);
    box-shadow: var(--shadow-sm);
    background: var(--navy-pale);
}

.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-text p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
    font-style: italic;
    text-align: justify;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    flex: 1;
}


.quick-access-col h4 {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 0.45rem;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid var(--orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-access-col h4 i {
    color: var(--orange);
    font-size: 0.95rem;
}

.quick-access-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: 1rem;
    row-gap: 0.35rem;
}

.quick-access-list li { margin-bottom: 0; }

@media (max-width: 480px) {
    .quick-access-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-flow: row;
    }
}

.quick-access-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.5rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.quick-access-list a i {
    color: var(--green);
    width: 18px;
    text-align: center;
    transition: transform var(--transition);
}

.quick-access-list a:hover {
    background: var(--cyan-pale);
    color: var(--green-dark);
    padding-left: 0.7rem;
}

.quick-access-list a:hover i {
    color: var(--orange);
    transform: scale(1.15);
}

/* ==========================================================================
   11. PRÉSENTATION DU CONSEIL (Le Conseil Régional de San Pedro)
   ========================================================================== */
.intro-section {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .intro-grid { grid-template-columns: 1fr; }
}

.intro-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.intro-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid var(--green);
    border-radius: var(--radius-md);
    z-index: 2;
    pointer-events: none;
}

.intro-image::after {
    content: "";
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 80%;
    height: 80%;
    border: 3px solid var(--orange);
    border-radius: var(--radius-md);
    z-index: -1;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 380px) {
    .intro-stats {
        grid-template-columns: 1fr;
    }
}

.intro-stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--cyan-pale);
    border-radius: var(--radius-sm);
    border-bottom: 3px solid var(--green);
}

.intro-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--green);
    font-weight: 700;
    line-height: 1;
}

.intro-stat-label {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* ==========================================================================
   12. ACTUALITÉS GRID
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid { grid-template-columns: 1fr; } }

.news-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--navy-pale);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--green);
    color: white;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    font-family: var(--font-condensed);
}

.news-card-tag.tag-orange { background-color: var(--orange); }
.news-card-tag.tag-cyan { background-color: var(--cyan); }
.news-card-tag.tag-navy { background-color: var(--navy); }

.news-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-condensed);
    font-weight: 600;
}

.news-card-meta i {
    color: var(--orange);
    margin-right: 0.3rem;
}

.news-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.news-card h3 a {
    color: var(--green-dark);
}

.news-card:hover h3 a {
    color: var(--orange);
}

.news-card p {
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.read-more {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-condensed);
    transition: all var(--transition);
    margin-top: auto;
}

.read-more:hover {
    color: var(--green);
    gap: 0.6rem;
}

/* ==========================================================================
   13. RÉALISATIONS — Carte interactive (Leaflet) + filtres + grid
   ========================================================================== */
.realisations-section {
    background: var(--bg-soft);
}

.realisations-controls {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-xs);
}

.controls-label {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.controls-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1.5px solid var(--line);
    background: white;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-pill .pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.filter-pill[data-status="realized"] { color: var(--status-realized); border-color: var(--status-realized); }
.filter-pill[data-status="progress"] { color: var(--status-progress); border-color: var(--status-progress); }
.filter-pill[data-status="planned"]  { color: var(--status-planned);  border-color: var(--status-planned); }
.filter-pill[data-status="foreseen"] { color: var(--status-foreseen); border-color: var(--status-foreseen); }

.filter-pill.is-active,
.filter-pill:hover {
    color: white;
    transform: translateY(-1px);
}

.filter-pill[data-status="realized"].is-active,
.filter-pill[data-status="realized"]:hover { background: var(--status-realized); }
.filter-pill[data-status="progress"].is-active,
.filter-pill[data-status="progress"]:hover { background: var(--status-progress); }
.filter-pill[data-status="planned"].is-active,
.filter-pill[data-status="planned"]:hover  { background: var(--status-planned); }
.filter-pill[data-status="foreseen"].is-active,
.filter-pill[data-status="foreseen"]:hover { background: var(--status-foreseen); }
.filter-pill[data-status="all"] { color: var(--green); border-color: var(--green); }
.filter-pill[data-status="all"].is-active,
.filter-pill[data-status="all"]:hover { background: var(--green); }

.year-select {
    padding: 0.4rem 1.5rem 0.4rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: white;
    font-size: 0.875rem;
    color: var(--ink);
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23198754'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    cursor: pointer;
    font-weight: 600;
}

.year-select:focus {
    outline: none;
    border-color: var(--green);
}

.realisations-map-wrap {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

#realisationsMap {
    height: 480px;
    width: 100%;
}

/* Légende sous la carte */
.map-legend {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--bg-warm);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.825rem;
    align-items: center;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-soft);
}

.legend-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* Personnalisation popup Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md) !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 280px !important;
}

.popup-card {
    width: 280px;
}

.popup-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.popup-card .popup-body {
    padding: 0.85rem 1rem 1rem;
}

.popup-card .popup-status {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 100px;
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.popup-card h4 {
    font-size: 0.95rem;
    color: var(--green);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.popup-card .popup-meta {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-condensed);
}

.popup-card .popup-meta i {
    color: var(--orange);
    margin-right: 0.25rem;
}

.popup-card p {
    font-size: 0.825rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

.popup-card .popup-progress {
    margin-top: 0.5rem;
}

.popup-card .progress-bar {
    height: 6px;
    background: var(--line);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.popup-card .progress-fill {
    height: 100%;
    background: var(--green);
    border-radius: 100px;
}

.popup-card .popup-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.45rem 0.85rem;
    background: var(--green-light);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.popup-card .popup-detail-link:hover {
    background: var(--green-forest);
    color: white;
    transform: translateX(2px);
}

.popup-card .popup-detail-link i {
    font-size: 0.7rem;
}

/* Champ de recherche dans les filtres */
.search-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    transition: all var(--transition);
    min-width: 220px;
}

.search-input-group:focus-within {
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(45, 160, 107, 0.15);
}

.search-input-group i {
    color: var(--ink-muted);
    font-size: 0.85rem;
}

.search-input-group input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.875rem;
    color: var(--ink);
}

@media (max-width: 768px) {
    .search-input-group {
        margin-left: 0 !important;
        width: 100%;
        min-width: 0;
    }

    .realisations-controls {
        gap: 0.85rem;
        padding: 1rem;
    }

    .controls-group {
        width: 100%;
        justify-content: flex-start;
    }

    .year-select {
        width: 100%;
    }
}

/* Désactiver les animations AOS pour utilisateurs sensibles au mouvement */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Marqueur custom (cercle coloré) */
.custom-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.custom-marker:hover {
    transform: scale(1.2);
}

.marker-realized { background: var(--status-realized); }
.marker-progress { background: var(--status-progress); }
.marker-planned  { background: var(--status-planned); }
.marker-foreseen { background: var(--status-foreseen); }

/* ==========================================================================
   14. FORCES DE LA RÉGION
   ========================================================================== */
.forces-section {
    background: var(--green);
    color: white;
    position: relative;
    overflow: hidden;
}

.forces-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(232, 119, 34, 0.18), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 164, 215, 0.15), transparent 40%);
}

.forces-section .container { position: relative; }

.forces-section h2 { color: white; }
.forces-section .subtitle { color: rgba(255, 255, 255, 0.85); }
.forces-section .section-header { border-bottom-color: var(--orange); }
.forces-section .section-header::after { background: white; }

.forces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 992px) { .forces-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .forces-grid { grid-template-columns: 1fr; } }

.force-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.force-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width 0.4s var(--ease);
}

.force-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.force-card:hover::before { width: 60%; }

.force-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
}

.force-card:hover .force-icon {
    background: var(--orange);
    color: white;
    transform: scale(1.08);
}

.force-card h3 {
    color: white;
    font-size: 1.0625rem;
    margin-bottom: 0.4rem;
}

.force-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   14. E-SERVICES (icônes circulaires - style ivoirien)
   ========================================================================== */
.services-section {
    background: linear-gradient(180deg, var(--bg-warm) 0%, white 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.service-card {
    text-align: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem 0.75rem;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--cyan);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    background: var(--cyan-pale);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.service-card:hover .service-icon {
    background: var(--cyan);
    color: white;
    transform: scale(1.08);
    border-color: rgba(0, 164, 215, 0.3);
    box-shadow: 0 6px 16px rgba(0, 164, 215, 0.3);
}

.service-card h4 {
    font-size: 0.85rem;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: var(--font-condensed);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   15. TRANSPARENCE & GOUVERNANCE
   ========================================================================== */
.transparence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 992px) { .transparence-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .transparence-grid { grid-template-columns: 1fr; } }

.transparence-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.transparence-card::after {
    content: "→";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--cyan-pale);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.transparence-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.transparence-card:hover::after {
    background: var(--orange);
    color: white;
    transform: rotate(-45deg);
}

.transparence-icon {
    width: 56px;
    height: 56px;
    background: var(--cyan-pale);
    color: var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: all var(--transition);
}

.transparence-card:hover .transparence-icon {
    background: var(--green);
    color: white;
}

.transparence-card h3 {
    font-size: 1.0625rem;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.transparence-card p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   16. MÉDIATHÈQUE (vidéothèque + photothèque)
   ========================================================================== */
.media-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--line);
    margin-bottom: 1.5rem;
}

.media-tab {
    padding: 0.65rem 0;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: -2px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.media-tab:hover { color: var(--green); }

.media-tab.is-active {
    color: var(--green);
    border-bottom-color: var(--orange);
}

.media-tab i { font-size: 1rem; }

.media-panel { display: none; }
.media-panel.is-active { display: block; }

/* Vidéothèque */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 992px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.video-card:hover {
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--navy);
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--transition);
}

.video-card:hover .video-play-btn { background: rgba(0, 0, 0, 0.45); }

.video-play-btn i {
    width: 56px;
    height: 56px;
    background: white;
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
    transition: all var(--transition);
}

.video-card:hover .video-play-btn i {
    background: var(--orange);
    color: white;
    transform: scale(1.1);
}

.video-info {
    padding: 1rem 1.25rem;
}

.video-info h4 {
    font-size: 0.95rem;
    color: var(--green-dark);
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.video-info .video-meta {
    font-size: 0.75rem;
    color: var(--ink-muted);
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Photothèque */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 768px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

.photo-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.photo-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(25, 135, 84, 0.85) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.photo-item::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    z-index: 2;
}

.photo-item:hover img { transform: scale(1.08); }
.photo-item:hover::before, .photo-item:hover::after { opacity: 1; }
.photo-item:hover::after { transform: translateY(0); }

/* ==========================================================================
   17. PARTENAIRES
   ========================================================================== */
.partners-section {
    background: var(--bg-soft);
    padding: 4rem 0;
}

.partners-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scroll-partners 30s linear infinite;
    align-items: center;
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0%) opacity(1);
    transition: filter var(--transition), transform var(--transition);
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(100%) opacity(0.55);
    transform: scale(0.96);
}

.partner-logo img { max-height: 60px; width: auto; }

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   18. NOUS SUIVRE (Réseaux sociaux)
   ========================================================================== */
/* ===== Section Nous Suivre — style communicant ===== */
.follow-section {
    background: linear-gradient(180deg, white 0%, var(--bg-warm) 100%);
}

.follow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) { .follow-grid { grid-template-columns: 1fr; } }

.follow-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
}

.follow-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand);
    z-index: 1;
}

.follow-card.platform-fb { --brand: #1877f2; --brand-soft: rgba(24, 119, 242, 0.1); }
.follow-card.platform-yt { --brand: #cd201f; --brand-soft: rgba(205, 32, 31, 0.1); }
.follow-card.platform-tk { --brand: #000;    --brand-soft: rgba(0, 0, 0, 0.08); }

.follow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}

.follow-card-top {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
}

.follow-platform {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.follow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px var(--brand-soft);
    flex-shrink: 0;
}

.follow-meta { min-width: 0; }

.follow-meta h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

.follow-meta small {
    font-size: 0.75rem;
    color: var(--ink-muted);
    font-family: var(--font-condensed);
    letter-spacing: 0.02em;
    display: block;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.follow-stats {
    text-align: right;
    flex-shrink: 0;
    line-height: 1.05;
}

.follow-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--brand);
    font-weight: 700;
}

.follow-stats span {
    font-size: 0.7rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-condensed);
    font-weight: 600;
}

.follow-preview {
    position: relative;
    background: var(--brand-soft);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex: 1;
}

.follow-preview img,
.follow-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.follow-preview-video { aspect-ratio: 16 / 9; }

.follow-preview-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--brand);
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.follow-preview-fallback i {
    font-size: 2.5rem;
    opacity: 0.85;
}

.follow-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: var(--brand);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all var(--transition);
}

.follow-cta:hover {
    color: white;
    padding-left: 1.5rem;
    filter: brightness(1.1);
}

.follow-cta i {
    transition: transform var(--transition);
}

.follow-cta:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   19. LAYOUT 2 COLONNES (contenu + aside)
   ========================================================================== */
.layout-content-aside {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
}

@media (max-width: 992px) { .layout-content-aside { grid-template-columns: 1fr; } }

/* ==========================================================================
   20. ASIDE (sidebar)
   ========================================================================== */
.aside-widget {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.aside-widget-header {
    background: var(--green);
    color: white;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aside-widget-header h4 {
    color: white;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.aside-widget-header i { color: rgba(255, 255, 255, 0.9); }

.aside-widget-body { padding: 1.25rem; }

/* Newsletter */
.aside-newsletter {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white;
    border: none;
}

.aside-newsletter .aside-widget-header { background: transparent; padding-bottom: 0; }
.aside-newsletter .aside-widget-body { color: white; }

.aside-newsletter p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: var(--radius-sm);
    font-family: inherit;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.7); }
.newsletter-form input:focus { background: rgba(255, 255, 255, 0.2); }

.newsletter-form button {
    background: var(--orange);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.newsletter-form button:hover {
    background: white;
    color: var(--green);
}

/* Flash infos */
.flash-list li {
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--line);
}

.flash-list li:last-child { border-bottom: none; padding-bottom: 0; }
.flash-list li:first-child { padding-top: 0; }

.flash-date {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.flash-text {
    color: var(--ink);
    font-size: 0.875rem;
    line-height: 1.5;
}

.flash-text a { color: var(--ink); }
.flash-text a:hover { color: var(--green); }

/* Agenda mini dans aside */
.mini-agenda li {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.mini-agenda li:last-child { border-bottom: none; padding-bottom: 0; }
.mini-agenda li:first-child { padding-top: 0; }

.mini-agenda-date {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--cyan-pale);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mini-agenda-day {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--green);
    font-weight: 700;
    line-height: 1;
}

.mini-agenda-month {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-family: var(--font-condensed);
    margin-top: 0.15rem;
}

.mini-agenda-content h5 {
    font-size: 0.875rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.mini-agenda-content small {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

/* Liens rapides */
.quick-links li { margin-bottom: 0.4rem; }

.quick-links li:last-child { margin-bottom: 0; }

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    color: var(--ink);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.quick-links a i {
    color: var(--orange);
    width: 18px;
    text-align: center;
}

.quick-links a:hover {
    background: var(--cyan-pale);
    border-left-color: var(--green);
    color: var(--green-dark);
    padding-left: 1rem;
}

/* Réseaux sociaux compacts */
.social-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.social-mini a {
    aspect-ratio: 1/1;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: all var(--transition);
    font-size: 1.1rem;
}

.social-mini a:hover {
    color: white;
    transform: translateY(-2px);
}

.social-mini a.fb:hover { background: #1877f2; }
.social-mini a.tw:hover { background: #000; }
.social-mini a.yt:hover { background: #cd201f; }
.social-mini a.tk:hover { background: #000; }
.social-mini a.ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.social-mini a.ln:hover { background: #0a66c2; }

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.footer {
    background-color: #18326c;
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 0;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green) 0%, var(--orange) 50%, var(--green) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-col h5 {
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.1rem;
    padding-bottom: 0.55rem;
    position: relative;
}

.footer-col h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--orange);
}

.footer-address {
    font-style: normal;
    font-size: 0.85rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.footer-address i {
    color: var(--orange);
    width: 16px;
    margin-right: 0.4rem;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-address a:hover {
    color: var(--orange);
}

.footer-logo-wrap {
    margin: 1rem 0;
}

.footer-logo-wrap img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    padding: 6px;
    border-radius: 50%;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.social-icon-circle:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon-circle.fb:hover { background: #1877f2; border-color: #1877f2; }
.social-icon-circle.tw:hover { background: #000; border-color: #333; }
.social-icon-circle.yt:hover { background: #cd201f; border-color: #cd201f; }
.social-icon-circle.tk:hover { background: #000; border-color: #333; }
.social-icon-circle.ln:hover { background: #0a66c2; border-color: #0a66c2; }

.footer-map {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition);
}

.footer-map:hover iframe {
    filter: grayscale(0%);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 1.5rem 1rem;
    }

    .footer-col h5 {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.78rem;
    }

    .footer-address {
        font-size: 0.78rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    padding: 4px;
    border: 2px solid var(--orange);
}

.footer-brand-text {
    font-family: var(--font-display);
    color: white;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
}

.footer p { font-size: 0.875rem; line-height: 1.6; }

.footer h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: var(--orange);
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover { color: var(--orange); padding-left: 0.25rem; }

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--orange);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 14px;
}

.footer-contact a { color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: var(--orange); }

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background-color: var(--orange);
    color: white;
    transform: translateY(-2px);
    border-color: var(--orange);
}

.footer-bottom-wrap {
    background-color: #212529;
}

.footer-bottom {
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #6c757d;
}

.footer-bottom a { color: #6c757d; }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   22. SCROLL TOP
   ========================================================================== */
.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
    border: 2px solid var(--orange);
    font-size: 1rem;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--orange);
    border-color: var(--orange);
}

/* ==========================================================================
   23. ANIMATIONS
   ========================================================================== */
.js-loaded .reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-loaded .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .js-loaded .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   AJOUTS — Bouton WhatsApp, bannière responsive, en-tête compact
   ========================================================================== */

/* --- Bouton flottant WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float i { font-size: 1.5rem; line-height: 1; }
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* Sur petit écran : bouton WhatsApp rond compact */
@media (max-width: 768px) {
    .whatsapp-float-label { display: none; }
    .whatsapp-float {
        padding: 0;
        width: 54px;
        height: 54px;
        justify-content: center;
        bottom: 1rem;
        left: 1rem;
    }
}

/* ==========================================================================
   Protection basique du contenu (images & vidéos)
   ========================================================================== */
/* Empêche la sélection et le surlignage des images/vidéos */
img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none; /* iOS : pas de menu "Enregistrer l'image" au appui long */
}

/* Petite notification de copyright */
.copyright-notice {
    position: fixed;
    z-index: 99999;
    max-width: 300px;
    background: rgba(24, 50, 108, 0.96); /* var(--green) du thème */
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    border-left: 4px solid #E8920C;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.copyright-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}
