@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #2d6e4a;
    --primary-dark: #1e5a3a;
    --secondary: #c67424;
    --gradient-start: #2d6e4a;
    --gradient-end: #3d8b5c;
    --dark: #3d2817;
    --light: #f5f3e8;
    --text: #3d2817;
    --border: #9a9d3a;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

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

header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

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

.social-icons {
    display: flex;
    gap: 0.8rem;
    position: absolute;
    left: 2rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
}

.social-icons a:nth-child(1) {
    background: #1877f2;
}

.social-icons a:nth-child(2) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.logo-nav {
    margin: 0 1rem;
}

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

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 180px 2rem 120px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("1000109430.jpg") center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary) 0%, rgba(16,185,129,0.8) 100%);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 0.5rem 1.5rem;
    margin: 0.3rem 0;
    border-radius: 8px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-secondary {
    background: linear-gradient(90deg, var(--secondary) 0%, #14b8a6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}

section {
    padding: 100px 0;
}

h2 {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vision {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
}

.vision h2 {
    color: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text h2 {
    text-align: left;
    margin-bottom: 2rem;
    color: white;
}

.lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
}

.vision-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-transform: uppercase;
}

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

.programme-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.programme-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(37,99,235,0.2);
    border-left-color: var(--secondary);
}

.card-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.programme-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
}

.programme-card ul {
    list-style: none;
}

.programme-card li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #636e72;
}

.programme-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.equipe {
    background: white;
    color: var(--text);
}

.equipe h2 {
    color: var(--primary);
}

.equipe-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-align: center;
    box-shadow: 0 8px 30px rgba(37,99,235,0.3);
}

.equipe-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
}

.equipe-text h3::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    margin-left: -2rem;
    margin-top: -1rem;
}

.equipe-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text);
}

.equipe-values {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(16,185,129,0.05) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.value-item strong {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.value-item span {
    color: var(--text);
}

.actualites {
    background: var(--light);
}

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

.actu-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.actu-date {
    display: inline-block;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.actu-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.actu-card p {
    color: #636e72;
    line-height: 1.6;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.contact-info p {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.method strong {
    color: var(--dark);
    font-size: 1rem;
}

.method span {
    color: var(--primary);
    font-weight: 500;
}

.social-inline {
    display: flex;
    gap: 1rem;
}

.social-inline a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-inline a:hover {
    color: var(--primary-dark);
}

.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 1.1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo strong {
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .social-icons {
        order: 3;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .logo-nav {
        display: none;
    }

    .hero {
        padding: 140px 1rem 80px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    h2 {
        font-size: 2rem;
    }

    .vision-grid,
    .equipe-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-text h2 {
        text-align: center;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}