/* Variables */
:root {
    --primary-color: #180391; /* Bleu UCAO */
    --secondary-color: #8B0000; /* Rouge foncé */
    --accent-color: #d4af37; /* Or */
    --text-color: #333;
    --light-text: #fff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575; 
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    
    /* Variables manquantes ajoutées */
    --couleur-primaire: #180391;
    --couleur-secondaire: #8B0000;
    --couleur-tertiaire: #180391;
    --blanc: #ffffff;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Haut */
.header-haut {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-haut .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.info-defilante {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    min-width: 300px;
}

.info-defilante-contenu {
    display: inline-block;
    padding-left: 100%;
    animation: defilement 25s linear infinite;
}

@keyframes defilement {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.reseaux-sociaux {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.reseaux-sociaux a {
    color: var(--light-text);
    font-size: 16px;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.reseaux-sociaux a:hover {
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.heure-date {
    margin-left: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.heure-date i {
    margin-right: 8px;
    color: var(--accent-color);
}

/* Header Principal - Version améliorée */
.header-principal {
    background-color: var(--light-text);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header-principal.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.nav-principale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo img {
    height: 70px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Menu Principal - Desktop */
.menu-principal {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-principal li {
    margin-left: 25px;
    position: relative;
}

.menu-principal a {
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.menu-principal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.menu-principal a:hover::after {
    width: 100%;
}

.menu-principal a:hover {
    color: var(--secondary-color);
}

/* Menu Burger - Mobile */
.menu-burger {
    display: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 20px;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    margin-left: auto;
}

.menu-burger:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.menu-burger i {
    transition: var(--transition);
}

.menu-burger.active {
    background-color: var(--secondary-color);
}

/* Overlay Mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
}

/* Menu Mobile - Version améliorée */
@media (max-width: 992px) {
    .menu-principal {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        min-width: 300px;
        height: 100vh;
        background-color: var(--light-text);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
        border-left: 5px solid var(--primary-color);
    }
    
    .menu-principal.active {
        right: 0;
    }
    
    .menu-principal li {
        margin: 0 0 20px 0;
        width: 100%;
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .menu-principal.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    .menu-principal.active li:nth-child(1) { transition-delay: 0.1s; }
    .menu-principal.active li:nth-child(2) { transition-delay: 0.2s; }
    .menu-principal.active li:nth-child(3) { transition-delay: 0.3s; }
    .menu-principal.active li:nth-child(4) { transition-delay: 0.4s; }
    .menu-principal.active li:nth-child(5) { transition-delay: 0.5s; }
    .menu-principal.active li:nth-child(6) { transition-delay: 0.6s; }
    .menu-principal.active li:nth-child(7) { transition-delay: 0.7s; }
    .menu-principal.active li:nth-child(8) { transition-delay: 0.8s; }
    .menu-principal.active li:nth-child(9) { transition-delay: 0.9s; }
    
    .menu-principal a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
        position: relative;
        margin-bottom: 5px;
    }
    
    .menu-principal a:hover {
        background-color: var(--gray-light);
        color: var(--primary-color);
        transform: translateX(10px);
        box-shadow: var(--shadow-sm);
    }
    
    .menu-principal a::after {
        display: none;
    }
    
    .menu-burger {
        display: flex;
        position: relative;
    }
    
    .menu-overlay {
        display: block;
    }
    
    .menu-overlay.active {
        opacity: 1;
    }
}


 /* Dropdown Menu */
.menu-dropdown {
    position: relative;
}

.menu-dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    white-space: nowrap;
}

.menu-dropdown > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-top: 0;
    flex-shrink: 0;
}

.menu-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(24, 3, 145, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    border: 1px solid var(--primary-color);
}

.menu-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    padding-left: 25px;
}

.dropdown-menu li:first-child a:hover {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a:hover {
    border-radius: 0 0 8px 8px;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .menu-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        border-radius: 8px;
        backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .menu-dropdown:hover .dropdown-menu,
    .menu-dropdown.active .dropdown-menu {
        max-height: 200px;
        opacity: 1;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }
    
    .menu-dropdown:hover .dropdown-menu li,
    .menu-dropdown.active .dropdown-menu li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .dropdown-menu li:nth-child(1) { transition-delay: 0.1s; }
    .dropdown-menu li:nth-child(2) { transition-delay: 0.2s; }
    
    .dropdown-menu a {
        color: var(--light-text);
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--primary-color);
        padding-left: 20px;
    }
}

/* Bannière Article - Version améliorée */
.banniere-article {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    color: var(--light-text);
    overflow: hidden;
    margin-top: -100px;
}

.image-article {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1);
    filter: brightness(1.1) contrast(1.05);
}

.banniere-article:hover .image-article {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.banniere-article:hover .overlay-article {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0,0,0,0.6) 100%
    );
}

.overlay-article {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
    transition: background 0.5s ease;
}


.header-article {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 40px 0 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

.meta-article {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-article span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.meta-article .categorie {
    background-color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--light-text);
}

.meta-article .date {
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.titre-article {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.9);
    max-width: 100%;
    color: #ffffff;
    transition: text-shadow 0.3s ease;
}

.banniere-article:hover .titre-article {
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 1),
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.auteur-article {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auteur-article .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contenu Article - Version améliorée */
.article-main {
    padding: 80px 0;
    background-color: var(--light-text);
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.chapô {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
    font-style: italic;
}

.chapô::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

.article-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
}

.article-text p {
    margin-bottom: 30px;
}

.article-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 30px 0;
    box-shadow: var(--shadow-md);
}

.article-text h2, 
.article-text h3, 
.article-text h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 50px 0 20px 0;
}

.article-text h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--gray-medium);
    padding-bottom: 10px;
}

.article-text h3 {
    font-size: 1.5rem;
}

.article-text h4 {
    font-size: 1.3rem;
}

.article-text blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    margin: 40px 0;
    background-color: var(--gray-light);
    font-style: italic;
    color: #555;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-text ul, 
.article-text ol {
    margin-bottom: 30px;
    padding-left: 30px;
}

.article-text li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: var(--gray-light);
    border-left: 4px solid var(--secondary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.liste-membres {
    list-style: none;
    padding: 0;
}

.liste-membres li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.liste-membres li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.grid-themes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.theme-item {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
}

.theme-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.theme-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.theme-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Galerie - Version améliorée */
.gallery-section {
    padding: 80px 0;
    margin: 80px 0;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-medium);
}

.section-icon {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 3, 145, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--light-text);
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Articles Similaires - Version améliorée */
.related-articles {
    padding: 100px 0;
    background-color: var(--light-text);
    position: relative;
}

.related-articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-medium), transparent);
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.related-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.related-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.related-card:hover::after {
    opacity: 1;
}

.article-image {
    display: block;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.related-card:hover .related-image {
    transform: scale(1.1);
}

.article-categorie {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.article-meta .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lire-plus {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.lire-plus:hover {
    color: var(--secondary-color);
}

.lire-plus i {
    margin-left: 8px;
    transition: var(--transition);
    font-size: 0.8rem;
}

.lire-plus:hover i {
    transform: translateX(5px);
}

/* Footer - Version améliorée */
.footer {
    background-color: #fff;
    color: #333;
    padding: 100px 0 30px;
    position: relative;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-contenu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-logo:hover img {
    transform: scale(1.05) rotate(-5deg);
}

.footer-slogan {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 20px;
}

.footer-slogan::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.footer-menu-titre, 
.footer-liens-titre, 
.footer-contact-titre {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-menu-titre::after, 
.footer-liens-titre::after, 
.footer-contact-titre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-menu li, 
.footer-liens li {
    margin-bottom: 15px;
}

.footer-menu a, 
.footer-liens a {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-left: 15px;
    color: var(--primary-color);
    text-decoration: none;
}

.footer-menu a::before, 
.footer-liens a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-menu a:hover, 
.footer-liens a:hover {
    color: var(--secondary-color);
    padding-left: 25px;
}

.footer-menu a:hover::before, 
.footer-liens a:hover::before {
    opacity: 1;
    left: 5px;
}

.footer-contact-info {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: #333;
}

.footer-contact-info i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-reseaux {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-reseaux a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #F9F6F0;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-reseaux a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--primary-color);
}

.footer-copyright a {
    color: var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Partager l'article - Version améliorée */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-medium);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--gray-light);
}

.back-btn:hover {
    color: var(--light-text);
    background-color: var(--primary-color);
    transform: translateX(-5px);
}

.back-btn i {
    transition: var(--transition);
}

.back-btn:hover i {
    transform: translateX(-5px);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons span {
    font-weight: 600;
    color: var(--primary-color);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}



/* Responsive Design */
@media (max-width: 1200px) {
    .titre-article {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .banniere-article {
        height: 60vh;
        min-height: 500px;
    }
    
    .footer-contenu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-menu-titre::after, 
    .footer-liens-titre::after, 
    .footer-contact-titre::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-reseaux {
        justify-content: center;
    }
    
    .footer-menu a, 
    .footer-liens a {
        padding-left: 0;
    }
    
    .footer-menu a::before, 
    .footer-liens a::before {
        display: none;
    }
    
    .footer-menu a:hover, 
    .footer-liens a:hover {
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .header-haut .container {
        flex-direction: column;
        text-align: center;
    }
    
    .info-defilante {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .reseaux-sociaux, 
    .heure-date {
        margin: 10px 0;
        justify-content: center;
    }
    
    .titre-article {
        font-size: 2.2rem;
    }
    
    .banniere-article {
        height: 70vh;
        min-height: 400px;
        margin-top: 0;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 30px;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .back-btn {
        order: 2;
    }
}

@media (max-width: 576px) {
    .titre-article {
        font-size: 1.8rem;
    }
    
    .chapô {
        font-size: 1.1rem;
        padding-left: 20px;
    }
    
    .banniere-article {
        height: 80vh;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contenu {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact-info {
        justify-content: center;
    }
}