/* ===== VARIABLES ET RESET ===== */
:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #38a169;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #e53e3e;
    --dark-color: #1a202c;
    --gray: #4a5568;
    --light-gray: #a0aec0;
    --light-color: #f7fafc;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-color: #2d3748;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* ===== NAVIGATION ===== */
header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* BANNIÈRE TEASER */
.teaser-banner {
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-bottom: 3px solid #fff;
}

.teaser-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.teaser-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.teaser-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.teaser-banner p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-style: italic;
}

/* Bandeau actualités */
.bandeau-actualites {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    overflow: hidden;
}

.bandeau-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

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

.bandeau-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    font-weight: 500;
}

.bandeau-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* ===== SECTIONS GÉNÉRALES ===== */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--success-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 161, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Page headers */
.page-header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Constats section */
.constats {
    padding: 4rem 0;
    background: white;
}

.constats h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.constat-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--warning-color);
    transition: transform 0.3s;
}

.constat-item:hover {
    transform: translateY(-5px);
}

.constat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.constat-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Programme section */
.programme {
    padding: 4rem 0;
    background: var(--light-bg);
}

.programme h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.programme-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.programme-card:hover {
    transform: translateY(-5px);
}

.programme-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Calendrier */
.calendrier-section {
    padding: 4rem 0;
    background: white;
}

.calendrier-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.calendrier-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s;
}

.event-item:hover {
    transform: translateY(-2px);
}

.event-item.urgent {
    border-left-color: var(--error-color);
    background: #fef2f2;
}

.event-date {
    flex-shrink: 0;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
}

.event-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-color);
}

/* Actions section */
.actions {
    padding: 4rem 0;
    background: var(--light-bg);
}

.actions h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.action-card:hover {
    transform: translateY(-3px);
}

.action-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Liens navigation désactivés */
.nav-link.disabled {
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    position: relative;
}

.nav-link.disabled:hover {
    color: #666 !important;
    background-color: rgba(0,0,0,0.05) !important;
    transform: none !important;
}

/* Notifications teaser */
.teaser-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s ease;
    min-width: 300px;
}

.teaser-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-text {
    font-weight: 500;
    font-size: 1rem;
}

/* ===== RESPONSIVE MOBILE - AJOUTS UNIQUEMENT ===== */

/* Responsive logo */
@media (max-width: 968px) {
    .logo h2 {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile */
    nav {
        padding: 1rem;
    }
    
    .logo h2 {
        display: none;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .burger {
        display: flex;
    }
    
    /* Bannière teaser mobile */
    .teaser-banner {
        padding: 1rem 0.5rem;
    }
    
    .teaser-banner h2 {
        font-size: 1.2rem;
    }
    
    .teaser-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .teaser-icon {
        font-size: 1.5rem;
    }
    
    /* Bandeau actualités mobile */
    .bandeau-item {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
    
    /* Sections mobiles */
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }
    
    /* Hero mobile */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }
    
    /* Page header mobile */
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Grilles mobile */
    .constats-grid,
    .programme-grid,
    .calendrier-events,
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards mobile */
    .constat-item,
    .programme-card,
    .action-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .constat-icon {
        font-size: 2.5rem;
    }
    
    /* Events mobile */
    .event-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .event-date {
        padding: 0.8rem;
    }
    
    /* Titres sections mobile */
    .constats h2,
    .programme h2,
    .calendrier-section h2,
    .actions h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Notification mobile */
    .teaser-notification {
        min-width: 280px;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* Navigation très petit */
    .logo-img {
        height: 30px;
    }
    
    /* Bannière teaser très petit */
    .teaser-banner {
        padding: 0.8rem 0.5rem;
    }
    
    .teaser-banner h2 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .teaser-banner p {
        font-size: 0.9rem;
    }
    
    /* Bandeau actualités très petit */
    .bandeau-item {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .bandeau-icon {
        font-size: 1rem;
    }
    
    /* Hero très petit */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 180px;
    }
    
    /* Container très petit */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Cards très petit */
    .constat-item,
    .programme-card,
    .action-card {
        padding: 1.2rem;
        margin: 0 0.3rem;
    }
    
    .constat-icon {
        font-size: 2rem;
    }
    
    /* Events très petit */
    .event-item {
        padding: 1.2rem;
    }
    
    .event-date {
        padding: 0.6rem;
    }
    
    .event-date .day {
        font-size: 1.2rem;
    }
    
    /* Titres très petit */
    .constats h2,
    .programme h2,
    .calendrier-section h2,
    .actions h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    /* Notification très petit */
    .teaser-notification {
        min-width: 260px;
        padding: 0.8rem 1.2rem;
    }
    
    .notification-text {
        font-size: 0.9rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.constat-item,
.programme-card,
.event-item,
.action-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-transition {
    animation: fadeIn 0.5s ease-in;
}

/* ===== UTILITAIRES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-white { background: white; }
.bg-light { background: var(--light-color); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ===== PRINT STYLES ===== */
@media print {
    .bandeau-actualites,
    .burger,
    .hero-buttons {
        display: none !important;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}
/* ===== CORRECTION MOBILE SLOGAN ===== */

/* Force l'affichage du slogan sur mobile */
@media (max-width: 768px) {
    .logo h2 {
        display: block !important;
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 180px !important;
    }
    
    .logo {
        gap: 8px !important;
    }
    
    .logo-img {
        height: 30px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .logo h2 {
        font-size: 0.7rem !important;
        max-width: 150px !important;
    }
    
    .logo-img {
        height: 25px !important;
    }
}

/* Animation hamburger */
.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* ===== SECTION RÉSEAUX SOCIAUX ===== */
.social-follow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.social-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.social-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon-wrapper {
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.social-link:hover .social-icon-wrapper {
    transform: scale(1.1);
}

.social-icon {
    font-size: 2.5rem;
}

.social-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.social-subtitle {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    opacity: 0.8 !important;
    font-style: italic;
}

/* Couleurs spécifiques */
.social-link.facebook .social-icon-wrapper {
    background: #1877f2;
}

.social-link.facebook .social-icon {
    color: white;
}

.social-link.instagram .social-icon-wrapper {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link.instagram .social-icon {
    color: white;
}

/* RESPONSIVE RÉSEAUX SOCIAUX */
@media (max-width: 768px) {
    .social-follow {
        padding: 3rem 0;
    }
    
    .social-content h2 {
        font-size: 2rem;
    }
    
    .social-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-link {
        flex-direction: row;
        padding: 1rem 2rem;
        min-width: 200px;
        max-width: 250px;
    }
    
    .social-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .social-icon {
        font-size: 1.8rem;
    }
    
    .social-name {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .social-follow {
        padding: 2.5rem 0;
    }
    
    .social-content h2 {
        font-size: 1.8rem;
    }
    
    .social-link {
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
    
    .social-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .social-icon {
        font-size: 1.6rem;
    }
    
    .social-name {
        font-size: 1rem;
    }
}
    .social-link.facebook .social-icon {
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 2rem;
}

