:root {
    --primary: #0D1B2A;
    --primary-light: #1B2A3F;
    --primary-dark: #050D16;
    --accent: #00A896;
    --accent-light: #00C4B0;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8C5F;
    --text: #2D3436;
    --text-light: #636E72;
    --bg: #FAFAFC;
    --bg-alt: #F0F0F5;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 1rem 2rem;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(5, 13, 22, 0.90) 100%), url('./photo1.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Sections */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1.5rem auto 0;
}

/* Vision Section */
#vision {
    background: var(--bg-alt);
}

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

.vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.vision-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.vision-card p {
    color: var(--text-light);
}

.vision-card p strong {
    color: var(--text);
    transition: color 0.3s ease;
}

.vision-card:hover p strong {
    color: var(--accent);
}

/* Programme Section */
#programme {
    background: var(--primary);
    color: var(--white);
}

#programme .section-title h2,
#programme .section-title p {
    color: var(--white);
}

/* Engagements Section */
#engagements {
    background: var(--white);
}

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

.engagement-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.engagement-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.engagement-priority {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.25);
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    white-space: nowrap;
}

.engagement-item h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.engagement-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.engagement-item strong {
    color: var(--primary);
    font-weight: 600;
}

/* Équipe Section */
#equipe {
    background: var(--bg-alt);
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.team-member {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.team-member h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
#contact {
    background: var(--primary);
    color: var(--white);
}

#contact .section-title h2 {
    color: var(--white);
}

#contact .section-title p {
    color: rgba(255,255,255,0.8);
}

/* Press Section */
#presse {
    background: var(--bg-alt);
    padding: 5rem 2rem;
}

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

.press-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.press-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-alt);
}

.press-logo {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--bg-alt);
}

.press-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.press-header h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.press-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.press-item h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.press-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.press-link {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.press-link:hover {
    background: var(--accent-light);
    transform: translateX(5px);
}

/* Dates Importantes Section */
#dates-importantes {
    background: var(--primary);
    color: var(--white);
}

#dates-importantes .section-title h2,
#dates-importantes .section-title p {
    color: var(--white);
}

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

.date-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--bg-alt);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.date-card.urgent {
    border: 2px solid var(--accent-orange);
    background: var(--white);
}

.date-card.urgent:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}

.date-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.date-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.date-highlight {
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.25);
}

.date-card.urgent .date-highlight {
    background: var(--accent-orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.date-content p {
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

.date-content p a {
    color: var(--accent);
    font-weight: 500;
}

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

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    max-width: 500px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-light);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 2rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

footer .logo {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .engagement-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}