/* ===== VARIABLES CSS MODERNES ===== */
:root {
    --primary: #D32F2F; /* Rouge moderne */
    --primary-dark: #B71C1C;
    --primary-light: #FF5252;
    --secondary: #2E7D32; /* Vert moderne */
    --secondary-dark: #1B5E20;
    --secondary-light: #4CAF50;
    --accent: #FF9800; /* Orange pour accent */
    --dark: #212121; /* Noir moderne */
    --dark-light: #424242;
    --light: #FAFAFA;
    --light-gray: #EEEEEE;
    --text: #212121;
    --text-light: #757575;
    --border: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

/* ===== RESET & BASE STYLES MODERNES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(211, 47, 47, 0.2);
    color: var(--primary);
}

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

section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    color: var(--dark);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* ===== BOUTONS MODERNES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::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.7s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.2);
}

/* ===== HERO SECTION MODERNE ===== */
.hero {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.95), rgba(33, 33, 33, 0.98)), 
                url('https://images.unsplash.com/photo-1511537190424-bbbab87ac5eb?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-buttons button a {
    text-decoration: none;   /* enlève le soulignement */
    color: inherit;          /* hérite la couleur du bouton */
    display: block;          /* rend le lien cliquable sur toute la surface */
    width: 100%;
    height: 100%;
}


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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* ===== ABOUT SECTION MODERNE ===== */
.about {
    background: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.objectives-list {
    margin: 25px 0 40px;
    list-style: none;
}

.objectives-list li {
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.objectives-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    transform: scale(1.2);
}

.objectives-list li:hover {
    transform: translateX(10px);
    transition: var(--transition);
    color: var(--dark);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(211, 47, 47, 0.1), rgba(46, 125, 50, 0.1));
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
    transform: scale(1.05);
}

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

/* ===== RESEARCH SECTION MODERNE ===== */
.research {
    background: var(--light);
    position: relative;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.research-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.research-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(211, 47, 47, 0.1);
}

.research-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.research-card:hover .research-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: rotate(15deg) scale(1.1);
}

.research-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.research-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== GOVERNANCE SECTION MODERNE ===== */
.governance {
    background: var(--dark);
    color: white;
    position: relative;
}

.governance .section-title {
    color: white;
}

.governance .section-title::after {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.governance-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.governance-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.governance-card:hover .governance-icon {
    transform: rotateY(180deg);
}

.governance-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.governance-card > p {
    opacity: 0.8;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.governance-details {
    text-align: left;
    margin-top: 20px;
    list-style: none;
}

.governance-details li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    opacity: 0.9;
    font-size: 0.95rem;
}

.governance-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.governance-details strong {
    color: var(--accent);
    font-weight: 600;
}

/* ===== MEMBERSHIP SECTION MODERNE ===== */
.membership {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.membership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="white" opacity="0.05" d="M0,0H1000V1000H0ZM500,500A250,250,0,1,0,250,250,250,250,0,0,0,500,500Z"/></svg>');
    background-size: 400px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(400px, 400px); }
}

.membership .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.membership .section-title::after {
    background: var(--accent);
}

.membership-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--accent);
    transform: scale(1.2) rotate(15deg);
}

.benefit-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-description {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
}

.membership .btn-primary {
    background: linear-gradient(135deg, var(--accent), #FF5722);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
    position: relative;
    z-index: 1;
}

.membership .btn-primary:hover {
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.5);
}


/* ===== RESPONSIVE STYLES MODERNES ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 150px 0 100px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .research-grid, .governance-cards, .benefits {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .btn {
        padding: 14px 28px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .objectives-list li {
        padding-left: 30px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .research-card, .governance-card, .benefit-card {
        padding: 30px 20px;
    }
}