:root {
    --primary: #054a98;
    --secondary: #ffed00;
    --dark: #222;
    --light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
}

/* Hero Slider - Version Optimisée */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    transform: translateY(50px);
    opacity: 0;
    transition: var(--transition);
}

.swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-number {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 30px;
    font-size: 14px;
}

.slide-date {
    display: block;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    font-size: 14px;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slide-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slide-btn:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slide-image {
    position: absolute;
    right: 10%;
    z-index: 1;
    width: 40%;
    max-width: 500px;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform: scale(0.9);
    opacity: 0;
    transition: var(--transition);
}

.swiper-slide-active .slide-image {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.5s;
}

/* Navigation */
.swiper-button-next, 
.swiper-button-prev {
    color: white;
    background-color: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: white;
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary);
    opacity: 1;
    transform: scale(1.2);
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .hero-section {
        max-height: 700px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        max-height: 650px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: auto;
        max-height: none;
        min-height: 0;
        aspect-ratio: 1/1.3;
    }
    
    .swiper-slide {
        flex-direction: column-reverse;
        justify-content: flex-end;
        padding: 20px;
        text-align: center;
    }
    
    .slide-content {
        max-width: 100%;
        padding: 15px;
        margin-top: -50px;
        background: rgba(0,0,0,0.7);
        border-radius: 10px;
    }
    
    .slide-image {
        position: relative;
        right: auto;
        width: 100% !important;
        max-height: 50vh;
        margin: 0 auto 15px;
    }
    
    .slide-overlay {
        background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .slide-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .slide-number, .slide-date {
        font-size: 0.8rem;
    }
    
    .slide-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        aspect-ratio: 1/1.5;
    }
    
    .slide-title {
        font-size: 1.2rem;
    }
    
    .slide-text {
        font-size: 0.8rem;
    }
    
    .swiper-slide {
        padding: 15px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}


/* Section Articles */
.article-sect {
    padding: 60px 5%;
    background-color: #f8f9fa;
}

.sect-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.sect-title h3 {
    font-size: 2.5rem;
    color: var(--primary);
    display: inline-block;
    padding-bottom: 15px;
}

.sect-title h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.articles-cards {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.articles-cards:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.articles-images {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 0.9rem;
    color: #033a7a;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.article-surtitle {
    font-size: 0.8rem;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 2px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 22px;
    color: var(--dark);
}

.article-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-right: 20px;
    margin-top: 20px;
}

.article-link:after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.article-link:hover {
    color: #033a7a;
    padding-right: 25px;
}

.article-link:hover:after {
    right: -5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Afficher 6 articles sur tablette */
    .articles-grid .articles-cards:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 992px) {
    .sect-title h3 {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sect-title h3 {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-title {
        font-size: 1rem;
    }
    
    .article-surtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .article-sect {
        padding: 40px 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Afficher 5 articles sur mobile */
    .articles-grid .articles-cards:nth-child(n+6) {
        display: none;
    }
    
    .sect-title h3 {
        font-size: 1.5rem;
    }
    
    .articles-images {
        height: 180px;
    }
    
    .article-category {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .article-date {
        font-size: 0.7rem;
    }
}


/* Section À propos */
.about-section {
    background-color: #054a98; /* Bleu foncé */
    color: white;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.about-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #ffed00; /* Jaune */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 30px;
}

.about-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffed00; /* Jaune */
    color: #054a98; /* Bleu foncé */
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-cta:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.about-pattern {
    position: absolute;
    opacity: 0.05;
    z-index: 1;
}

.pattern-1 {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
}

.pattern-2 {
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .pattern-1, .pattern-2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}


/* Section Articles Spéciale */
.special-articles {
    padding: 60px 5%;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    color: #054a98;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #ffed00;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.articles-duo {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.articles-column {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.column-icon {
    width: 40px;
    height: 40px;
    background-color: #054a98;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.column-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #054a98;
    margin: 0;
}

.article-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.article-item:hover {
    transform: translateX(5px);
}

.article-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-surtitle {
    font-size: 0.8rem;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 16px;
    margin-bottom: 5px;
    margin-top: -1px;
}

.article-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-title a:hover {
    color: #054a98;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .articles-duo {
        gap: 20px;
    }
    
    .articles-column {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .column-title {
        font-size: 1.3rem;
    }
    
    .article-image {
        width: 80px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .articles-duo {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Afficher seulement 3 articles sur mobile */
    .article-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 576px) {
    .special-articles {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .articles-column {
        padding: 15px;
    }
    
    .column-header {
        margin-bottom: 15px;
    }
    
    .column-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .column-title {
        font-size: 1.2rem;
    }
    
    .article-item {
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .article-image {
        width: 70px;
        height: 60px;
    }
    
    .article-surtitle {
        font-size: 0.7rem;
    }
    
    .article-title {
        font-size: 0.9rem;
    }
}


/* Section Politique & Culture */
.pc-articles {
    padding: 60px 5%;
    background-color: #f8f9fa;
}

.pc-header {
    text-align: center;
    margin-bottom: 40px;
}

.pc-title {
    font-size: 2.2rem;
    color: #054a98;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.pc-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #ffed00;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.pc-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.pc-duo {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.pc-column {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.pc-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.pc-icon {
    width: 40px;
    height: 40px;
    background-color: #054a98;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.pc-cat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #054a98;
    margin: 0;
}

.pc-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    transition: all 0.3s ease;
}

.pc-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pc-item:hover {
    transform: translateX(5px);
}

.pc-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.pc-content {
    flex: 1;
}

.pc-surtitle {
    font-size: 0.8rem;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 16px;
    margin-bottom: 5px;
    margin-top: -1px;
}

.pc-article-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.pc-article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.pc-article-title a:hover {
    color: #054a98;
    text-decoration: underline;
}

.pc-date {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 5px;
    display: block;
}

/* Animation spéciale pour cette section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pc-column {
    animation: fadeInUp 0.6s ease-out forwards;
}

.pc-column:nth-child(2) {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pc-duo {
        gap: 20px;
    }
    
    .pc-column {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .pc-title {
        font-size: 1.8rem;
    }
    
    .pc-cat-title {
        font-size: 1.3rem;
    }
    
    .pc-image {
        width: 80px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .pc-duo {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Afficher seulement 3 articles sur mobile */
    .pc-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 576px) {
    .pc-articles {
        padding: 40px 15px;
    }
    
    .pc-title {
        font-size: 1.5rem;
    }
    
    .pc-subtitle {
        font-size: 0.95rem;
    }
    
    .pc-column {
        padding: 15px;
    }
    
    .pc-header {
        margin-bottom: 15px;
    }
    
    .pc-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .pc-cat-title {
        font-size: 1.2rem;
    }
    
    .pc-item {
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .pc-image {
        width: 70px;
        height: 60px;
    }
    
    .pc-surtitle {
        font-size: 0.7rem;
    }
    
    .pc-article-title {
        font-size: 0.9rem;
    }
}



