:root {
    --primary: #e3720c;
    --secondary: #F39C12;
    --green: #00843D;
    --white: #FFFFFF;
    --dark: #2C3E50;
    --light: #7F8C8D;
    --gray-bg: #F8F9FA;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-fixed {
    position: relative;
    background: #fff3e0;
    z-index: 1000;
    transition: all 0.3s;
}

.header-fixed.scrolled {
    background-image: url('../image/bg.jpg');
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    padding: 15px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction:row;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s;
}

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

.header-title {
    text-align: center;
    flex: 1;
}

.header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #de8720;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 5px;
}

.header-title p {
    font-size: 0.9rem;
    color: #000;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.main-navigation {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 90%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: #fff3e0;
    transform: translateY(-2px);
    color: #df6e22;
}

/* Menu Mobile - Barre Fixe en Haut */
.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}

/* Menu Mobile Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 10002;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.mobile-menu-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    padding: 10px 0;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: #fff3e0;
    border-left-color: var(--primary);
    color: var(--primary);
}

/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Ancien menu burger - CachÃƒÂ© */
.burger-menu {
    display: none;
}

.nav-overlay {
    display: none;
}

.campagne-live-section {
    padding: 50px 0 80px 0;
    background: var(--white);
}

.slider-column {
    position: relative;
    padding-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

.campagne-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.slider-wrapper {
    position: relative;
    height: 585px;
    width: 100%;
    display: flex;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(227,114,12,0.4);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 0;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(227,114,12,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(227,114,12,0.6);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.4);
    border-color: var(--primary);
}

.hero-candidates-wrapper {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    height: 585px;
    display: flex;
    flex-direction: column;
}

.hero-candidates-header {
    text-align: center;
    margin-bottom: 20px;
}

.hero-candidates-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

.hero-candidates-scroll-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-candidates-scroll-wrapper {
    height: 100%;
    overflow: hidden;
}

.hero-candidates-scroll-content {
    display: flex;
    flex-direction: column;
    animation: heroInfiniteScroll 20s linear infinite;
}

@keyframes heroInfiniteScroll {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.hero-candidates-scroll-content:hover {
    animation-play-state: paused;
}

.binome-group {
    min-height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}

.hero-candidate-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s;
}

.hero-candidate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.hero-candidate-photo {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.hero-candidate-photo img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.badge-tete,
.badge-second {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(231,76,60,0.4);
}

.badge-second {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 3px 10px rgba(227,114,12,0.4);
}

.hero-candidate-info {
    flex: 1;
    min-width: 0;
}

.hero-candidate-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.hero-candidate-info .fonction {
    font-size: 0.8rem;
    color: var(--light);
    margin-bottom: 8px;
    line-height: 1.3;
}

.candidate-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.candidate-tags span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.candidate-tags i {
    color: var(--primary);
    font-size: 0.75rem;
}

.btn-voir-candidats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(227,114,12,0.3);
}

.btn-voir-candidats:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227,114,12,0.4);
    gap: 15px;
}

.btn-voir-candidats i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.candidates-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.candidates-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.candidate-modern-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.candidate-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(227,114,12,0.15);
}

.candidate-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.candidate-image-wrapper img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    transition: transform 0.4s ease;
}

.candidate-modern-card:hover .candidate-image-wrapper img {
    transform: scale(1.05);
}

.candidate-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.badge-position {
    background: #fff;
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.candidate-modern-card:hover .badge-position {
    transform: scale(1.05);
}

.candidate-content {
    padding: 25px;
}

.candidate-content h3 {
    font-size: 0.988rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.position-title {
    font-size: 0.85rem;
    color: var(--light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.tags-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227,114,12,0.2);
}

.tag i {
    color: var(--primary);
}





.news-scroll-container {
    position: relative;
    margin-top: 50px;
}

.news-scroll-wrapper {
    overflow-x: hidden;
    padding: 20px 0;
}

.news-scroll-content {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.news-card {
    min-width: 350px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.news-content p {
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.news-link:hover {
    gap: 12px;
}

/* Section TÃƒÂ©moignages */
.temoignages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 20px;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.temoignage-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.temoignage-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(227,114,12,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.temoignage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(227,114,12,0.15);
}

.temoignage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.temoignage-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    flex-shrink: 0;
}

.temoignage-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.temoignage-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.temoignage-info p {
    font-size: 0.85rem;
    color: var(--light);
}

.temoignage-categorie {
    display: inline-block;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

.temoignage-content {
    position: relative;
    z-index: 2;
}

.temoignage-text {
    color: var(--dark);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.temoignage-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.temoignage-rating i {
    color: #FFC107;
    font-size: 1rem;
}

.temoignage-date {
    font-size: 0.8rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.agenda-section {
    padding: 80px 0;
    background: #fff;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.agenda-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s;
}

.agenda-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(227,114,12,0.2);
}

.agenda-date {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.date-box {
    background: var(--primary);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.date-box .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-box .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.agenda-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.agenda-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    font-size: 0.9rem;
}

.agenda-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.agenda-location i {
    color: var(--primary);
}

.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
}

.video-section .section-title {
    color: #fff;
}

.video-section .title-underline {
    background: var(--primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark);
}

.vote-section .section-title {
    color: var(--dark);
}

.vote-section .title-underline {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.vote-finder {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.vote-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.vote-finder h3 {
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: var(--dark);
    font-weight: 700;
    text-align: center;
}

.vote-form {
    margin-bottom: 0;
}

.vote-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.vote-input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.vote-input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.vote-input-group input {
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

.vote-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227,114,12,0.1);
}

.vote-input-group input::placeholder {
    color: #adb5bd;
}

.btn-vote-search {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(227,114,12,0.3);
    cursor: pointer;
}

.btn-vote-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227,114,12,0.4);
}

.btn-vote-search i {
    margin-right: 10px;
}

.vote-result {
    display: none;
    margin-top: 30px;
    animation: slideDown 0.4s ease;
}

.vote-result.active {
    display: block;
}

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

.join-section {
    padding: 80px 0;
    background: var(--gray-bg);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.join-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.join-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light);
    margin-bottom: 25px;
}

.join-benefits {
    list-style: none;
}

.join-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.join-benefits i {
    color: var(--primary);
    font-size: 1.1rem;
}

.join-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(227,114,12,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227,114,12,0.4);
}

.btn-block {
    width: 100%;
}

.footer {
    background-image: url('../image/bg.jpg');
    background-size: cover;
    background-position: bottom;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column p {
    line-height: 1.7;
    opacity: 0.9;
}

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

.footer-column ul li {
    padding: 6px 0;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: 0.3s;
    
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-column ul li i {
    color: #fff;
}

.social-links {
    /*display: flex;*/
    gap: 12px;
}

.social-links a {
    /*width: 40px;
    height: 40px;*/
    /*background: rgba(255,255,255,0.1);*/
    border-radius: 50%;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.8;
    margin: 0;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(227,114,12,0.4);
}

.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(227,114,12,0.5);
}

.scroll-top.active {
    display: flex;
}

/* ==========================================
   BOUTONS FLOTTANTS
   ========================================== */


.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:hover::before {
    width: 100%;
    height: 100%;
}

.floating-btn i {
    position: relative;
    z-index: 2;
}

.floating-btn-text {
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s;
}

.floating-btn-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(0,0,0,0.8);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-btn:hover .floating-btn-text {
    opacity: 1;
    transform: translateX(0);
}

.floating-btn:hover {
    transform: scale(1.15);
}

.floating-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}

.vote-training-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.vote-training-btn:hover {
    box-shadow: 0 8px 25px rgba(52,152,219,0.5);
}

.location-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.location-btn:hover {
    box-shadow: 0 8px 25px rgba(227,114,12,0.5);
}

/* Compteur visiteurs flottant */
.visitor-counter-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    cursor: default;
    pointer-events: none;
}

.visitor-counter-btn .floating-btn-text {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.visitor-counter-btn i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Animation d'entrÃ©e */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-actions {
    animation: slideInRight 0.6s ease-out;
}

.floating-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.floating-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.floating-btn:nth-child(3) {
    animation-delay: 0.3s;
}

@media (max-width: 1024px) {
    .mobile-top-bar {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-fixed {
        margin-top: 50px;
    }
    
    body {
        padding-top: 0;
    }
    
    .campagne-grid,
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .candidates-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-candidates-wrapper {
        height: auto;
        margin-top: 30px;
    }
    
    .hero-candidates-scroll-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-title h1 { 
        font-size: 1.2rem; 
        letter-spacing: 4px; 
        line-height: 17px;
    }
    
    .header-title p { 
        font-size: 0.8rem; 
        letter-spacing: 4px; 
    }
    
    .section-title { 
        font-size: 1.8rem; 
    }
    
    .slider-wrapper { 
        height: 400px; 
    }
    
    .vote-finder {
        padding: 35px 25px;
    }
    
    .vote-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-vote-search {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .vision-card,
    .news-card {
        min-width: 280px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-candidate-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-candidate-photo {
        width: 100px;
        height: 100px;
    }
    
    .candidate-tags {
        justify-content: center;
    }
    
    .candidates-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-title h1 { 
        font-size: 1rem; 
        letter-spacing: 2px; 
    }
    
    .header-title p { 
        font-size: 0.75rem; 
        letter-spacing: 2px; 
    }
    
    .slider-wrapper { 
        height: 320px; 
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-candidates-header h3 {
        font-size: 1.2rem;
    }
    
    .hero-candidate-info h4 {
        font-size: 1rem;
    }
    
    .hero-candidate-card {
        padding: 15px;
    }
    
    /* Boutons flottants en mobile */
    
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-btn-text {
        font-size: 0.75rem;
        padding: 6px 12px;
        right: 60px;
    }
    
    /* En-tÃªte responsive */
    .header-content {
        gap: 15px;
    }
    
    .header-logo img {
        height: 50px;
    }
}

/* ==========================================
   HERO AGENDA SECTION - Nouvelle Section
   ========================================== */
.hero-agenda-wrapper {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    height: 585px;
    display: flex;
    flex-direction: column;

}

.hero-agenda-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 90%);
    padding: 15px;
    border-radius: 15px;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: #fff3e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.header-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.header-text p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
}

.hero-agenda-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.hero-agenda-list::-webkit-scrollbar {
    width: 6px;
}

.hero-agenda-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.hero-agenda-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.hero-agenda-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.hero-agenda-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left-color: var(--primary);
}

.agenda-item-date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.agenda-item-content {
    flex: 1;
    min-width: 0;
}

.agenda-item-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.agenda-time,
.agenda-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--light);
    margin: 4px 0;
}

.agenda-time i,
.agenda-location i {
    color: var(--primary);
    font-size: 0.8rem;
}

.btn-voir-agenda {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(227,114,12,0.3);
}

.btn-voir-agenda:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227,114,12,0.4);
    gap: 15px;
}

.btn-voir-agenda i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

/* Responsive pour Hero Agenda */
@media (max-width: 1024px) {
    .hero-agenda-wrapper {
        height: auto;
        margin-top: 30px;
    }
    
    .hero-agenda-list {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-agenda-header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .hero-agenda-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .agenda-item-date {
        width: 100%;
        height: 50px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .date-day {
        font-size: 1.8rem;
    }
    
    .date-month {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-agenda-wrapper {
        padding: 20px;
    }
    
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .header-text h3 {
        font-size: 1.1rem;
    }
    
    .hero-agenda-item {
        padding: 12px;
    }
    
    .agenda-item-date {
        height: 45px;
    }
}

/* ==========================================
   VISION SECTION - NOUVELLE VERSION MODERNE
   ========================================== */
.vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(227,114,12,0.05), rgba(243,156,18,0.05));
    border-radius: 50%;
    z-index: 0;
}

.vision-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0,132,61,0.03), rgba(227,114,12,0.03));
    border-radius: 50%;
    z-index: 0;
}

.vision-section .container {
    position: relative;
    z-index: 1;
}

.vision-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    margin: 10px auto 0;
    max-width: 600px;
    line-height: 1.6;
}

.vision-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.vision-modern-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.vision-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vision-modern-card:hover::before {
    transform: scaleX(1);
}

.vision-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(227,114,12,0.15);
}

.vision-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.vision-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.vision-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
    flex-shrink: 0;
}

.vision-modern-card:hover .vision-icon-modern {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.vision-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.vision-description {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.vision-modern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vision-modern-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
    transition: all 0.3s;
}

.vision-modern-list li:hover {
    transform: translateX(5px);
    color: var(--primary);
}

.vision-modern-list i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Animation d'entrÃ©e */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .vision-modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .vision-section {
        padding: 60px 0;
    }
    
    .vision-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .vision-modern-card {
        padding: 25px;
    }
    
    .vision-card-header {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .vision-number {
        font-size: 2rem;
    }
    
    .vision-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .vision-card-content h3 {
        font-size: 1.2rem;
    }
    
    .vision-description {
        font-size: 0.9rem;
    }

}

@media (max-width: 480px) {
    .vision-section {
        padding: 50px 0;
    }
    
    .vision-modern-card {
        padding: 20px;
    }
    
    .vision-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .vision-number {
        font-size: 1.8rem;
    }
    
    .vision-icon-modern {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .vision-card-content h3 {
        font-size: 1.1rem;
    }
    
    .vision-modern-list li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

}

/* Animation simple pour AOS sans bibliothÃ¨que externe */
@keyframes fadeUpAnimation {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-modern-card {
    animation: fadeUpAnimation 0.6s ease forwards;
}

.vision-modern-card:nth-child(1) { animation-delay: 0.1s; }
.vision-modern-card:nth-child(2) { animation-delay: 0.2s; }
.vision-modern-card:nth-child(3) { animation-delay: 0.3s; }
.vision-modern-card:nth-child(4) { animation-delay: 0.4s; }
.vision-modern-card:nth-child(5) { animation-delay: 0.5s; }
.vision-modern-card:nth-child(6) { animation-delay: 0.6s; }
/* ==========================================
   PRELOADER MODERNE AVEC LOGO RHDP
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.preloader-logo {
    width: 500px;
    
    object-fit: contain;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(227,114,12,0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.preloader-text {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

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




.news-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.news-section .section-title {
    color: #fff;
}

.news-section .title-underline {
    background: #fff;
}





.news-auto-scroll:hover {
    animation-play-state: paused;
}


    100% {
        transform: translateX(-50%);
    }
}



.news-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: #fff;
}



.news-modern-icon i {
    font-size: 1.8rem;
    color: #fff;
}



.news-modern-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-modern-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-modern-content p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
}

.news-modern-link:hover {
    gap: 12px;
    color: var(--secondary);
}

.news-modern-link i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.news-modern-link:hover i {
    transform: translateX(3px);
}

.news-center-btn {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.btn-voir-actualites {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-voir-actualites::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-voir-actualites:hover::before {
    left: 100%;
}

.btn-voir-actualites:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    gap: 20px;
}

.btn-voir-actualites i:first-child {
    font-size: 1.2rem;
}

.btn-voir-actualites i:last-child {
    font-size: 1rem;
    transition: transform 0.3s;
}

.btn-voir-actualites:hover i:last-child {
    transform: translateX(5px);
}

/* Duplication pour boucle infinie */
.news-auto-scroll::after {
    content: '';
    display: flex;
    gap: 30px;
}

/* ==========================================
   BOUTONS FLOTTANTS ANIMÃ‰S
   ========================================== */


.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    cursor: pointer;
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-btn i {
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:hover::before {
    width: 120%;
    height: 120%;
}

.floating-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.floating-btn:active {
    transform: scale(0.95);
}

/* WhatsApp */
.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation-delay: 0s;
}

.floating-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Vote Training */
.floating-btn.vote-training {
    background: linear-gradient(135deg, #3498db, #2980b9);
    animation-delay: 0.2s;
}

.floating-btn.vote-training:hover {
    background: linear-gradient(135deg, #2980b9, #21618C);
}

/* Location */
.floating-btn.location {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation-delay: 0.4s;
}

.floating-btn.location:hover {
    background: linear-gradient(135deg, var(--secondary), #d68910);
}

/* Animation de rebond */
@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Texte au survol */
.floating-btn-text {
    position: absolute;
    right: 75px;
    background: var(--dark);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--dark);
}

.floating-btn:hover .floating-btn-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {

    
    .news-modern-icon i {
        font-size: 1.5rem;
    }
    
    
    
    .btn-voir-actualites {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn i {
        font-size: 1.3rem;
    }
    
    .floating-btn-text {
        display: none;
    }
}

@media (max-width: 480px) {
    
    
    .btn-voir-actualites {
        padding: 12px 25px;
        font-size: 0.95rem;
        gap: 10px;
    }
}


/* ==========================================
   SECTION ACTUALITÃ‰S V2.4 - AVEC IMAGES
   ========================================== */
.news-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.news-section .section-title {
    color: #fff;
}

.news-section .title-underline {
    background: #fff;
}





.news-modern-scroll-wrapper:hover {
    animation-play-state: paused;
}


    100% {
        transform: translateX(-50%);
    }
}



.news-modern-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}



.news-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-modern-card-full:hover .news-modern-image img {
    transform: scale(1.1);
}



.news-modern-card-full:hover 

.news-modern-icon-overlay i {
    font-size: 1.5rem;
    color: #fff;
}



.news-modern-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-modern-date::before {
    content: '📅';
    font-size: 1rem;
}

.news-modern-content-full h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-modern-content-full p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.7;
    margin-bottom: 18px;
}

.news-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(227,114,12,0.1);
}

.news-modern-link:hover {
    gap: 12px;
    background: rgba(227,114,12,0.2);
    transform: translateX(5px);
}

.news-modern-link i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.news-modern-link:hover i {
    transform: translateX(3px);
}

.news-center-btn {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.btn-voir-actualites-new {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-voir-actualites-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-voir-actualites-new:hover::before {
    left: 100%;
}

.btn-voir-actualites-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    gap: 20px;
}

.btn-voir-actualites-new i:first-child {
    font-size: 1.2rem;
}

.btn-voir-actualites-new i:last-child {
    font-size: 1rem;
    transition: transform 0.3s;
}

.btn-voir-actualites-new:hover i:last-child {
    transform: translateX(5px);
}

/* ==========================================
   MENU DROPDOWN MÃ‰DIA
   ========================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-dropdown-menu li a:hover {
    background: #fff3e0;
    border-left-color: var(--primary);
    color: var(--primary);
    padding-left: 25px;
}

/* ==========================================
   BOUTON VIDÃ‰OS
   ========================================== */
.video-center-btn {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.btn-voir-videos {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(227,114,12,0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-voir-videos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-voir-videos:hover::before {
    left: 100%;
}

.btn-voir-videos:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(227,114,12,0.5);
    gap: 20px;
}

.btn-voir-videos i:first-child {
    font-size: 1.2rem;
}

.btn-voir-videos i:last-child {
    font-size: 1rem;
    transition: transform 0.3s;
}

.btn-voir-videos:hover i:last-child {
    transform: translateX(5px);
}

/* ==========================================
   BOUTONS FLOTTANTS - AJUSTEMENT POSITION
   ========================================== */
.floating-actions {
    position: fixed;
    bottom: 110px; /* ChangÃ© de 30px Ã  110px pour Ã©viter scroll-top */
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9997; /* Un niveau en dessous des boutons flottants */
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(227,114,12,0.4);
}

.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(227,114,12,0.5);
}

.scroll-top.active {
    display: flex;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .nav-dropdown-menu {
        display: none !important;
    }
    .header-title h1{line-height: auto}
   
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    } 
    
    .news-modern-icon-overlay i {
        font-size: 1.3rem;
    }
    
     .header-content{flex-direction: column;}
    
    .news-modern-content-full h3 {
        font-size: 1.1rem;
    }
    
    .btn-voir-actualites-new,
    .btn-voir-videos {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .floating-actions {
        bottom: 95px;
        right: 15px;
        gap: 12px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    
    
    
    
    .btn-voir-actualites-new,
    .btn-voir-videos {
        padding: 12px 25px;
        font-size: 0.95rem;
        gap: 10px;
    }
}


/* ==========================================
   SECTION ACTUALITÃ‰S - GRILLE STATIQUE 4x2
   ========================================== */
.news-static-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.news-modern-card-full {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.news-modern-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.news-modern-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-modern-card-full:hover .news-modern-image img {
    transform: scale(1.1);
}

.news-modern-icon-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.news-modern-card-full:hover .news-modern-icon-overlay {
    transform: rotate(15deg) scale(1.1);
}

.news-modern-icon-overlay i {
    font-size: 1.3rem;
    color: #fff;
}

.news-modern-content-full {
    padding: 20px;
}

.news-modern-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-modern-content-full h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-modern-content-full p {
    font-size: 0.9rem;
    color: var(--light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(227,114,12,0.1);
}

.news-modern-link:hover {
    gap: 12px;
    background: rgba(227,114,12,0.2);
    transform: translateX(5px);
}

/* ==========================================
   BOUTON CENTRÃ‰ VIDÃ‰OS
   ========================================== */
.video-section .video-center-btn {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .news-static-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .news-static-grid {
        grid-template-columns: 1fr;
    }
    
    .news-modern-image {
        height: 180px;
    }
}
