/* css/style.css */
:root {
    /* Palette Officielle */
    --primary-green: #2E7D32;
    --primary-purple: #6A1B9A;
    --light-green: #4CAF50;
    --light-purple: #9C27B0;

    /* Backgrounds */
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.95);

    /* Text */
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-muted: #95A5A6;

    /* Spacing & Layout */
    --nav-height: 80px;
    --border-radius: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EEF2 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(46, 125, 50, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 27, 154, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(46, 125, 50, 0.2);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
    background: rgba(106, 27, 154, 0.1);
    color: var(--primary-purple);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-purple);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(106, 27, 154, 0.4);
}

.btn-outline {
    background: rgba(106, 27, 154, 0.1);
    color: var(--primary-purple);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Input Styles */
.input-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 16px;
    padding: 14px 20px;
    color: var(--text-primary);
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.input-glass:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: white;
}

.input-glass::placeholder {
    color: var(--text-muted);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: 50px;
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-purple {
    background: rgba(106, 27, 154, 0.1);
    border-color: rgba(106, 27, 154, 0.3);
    color: var(--primary-purple);
}

/* Icon Container */
.icon-container {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.icon-container:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.2);
}

/* Sticky Bar */
.sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 40px;
    height: auto;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    z-index: 60;
    padding: 0.5rem 1rem;
    text-align: center;
    line-height: 1.4;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 50;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(46, 125, 50, 0.05);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.625rem 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
}

/* Navigation Menu Utilities */
.desktop-menu {
    display: flex;
}

.mobile-menu-btn {
    display: none;
}

/* Hero */
.hero {
    padding-top: 10rem;
    padding-bottom: 3rem;
    text-align: center;
}

/* Team Member Card */
.team-member-card {
    position: relative;
    overflow: hidden;
}

.team-member-card .member-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(106, 27, 154, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(46, 125, 50, 0.2);
}

.team-member-card .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Page Styles */
.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* Campaign Specifics */
.campagne-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    display: block;
    object-fit: contain;
}

.doc-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(106, 27, 154, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green) !important;
}

/* Survey/Form Styles */
.question-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    position: relative;
    cursor: pointer;
    padding: 1rem 1.5rem;
    padding-left: 3.5rem;
    border: 2px solid rgba(46, 125, 50, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.radio-option:hover {
    border-color: var(--primary-green);
    background: rgba(46, 125, 50, 0.05);
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option .checkmark {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.radio-option input:checked~.checkmark {
    border-color: var(--primary-green);
    background-color: var(--primary-green);
}

.radio-option .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option input:checked~.checkmark:after {
    display: block;
}

.radio-option input:checked~span {
    color: var(--primary-green);
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.checkbox-option input {
    margin-top: 0.25rem;
}

/* Sitemap Styles */
.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

.content h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.content>p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

.sitemap-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sitemap-section h2 i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 12px;
    font-size: 1.125rem;
}

.sitemap-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sitemap-section a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(46, 125, 50, 0.03);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sitemap-section a:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
    transform: translateX(4px);
    border-color: rgba(46, 125, 50, 0.3);
}

.sitemap-section a i {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* 404 Page Styles */
main {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-number {
    font-size: clamp(120px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 4px 20px rgba(46, 125, 50, 0.2);
}

.icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--primary-green);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(46, 125, 50, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green), var(--primary-purple));
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.25rem !important;
        border-radius: 20px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .icon-container {
        width: 50px !important;
        height: 50px !important;
        border-radius: 14px !important;
    }

    .contact-method .icon-container {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    section {
        padding: 3rem 0;
    }

    .sticky-bar {
        position: relative !important;
        font-size: 0.7rem;
        padding: 10px 1rem;
    }

    .navbar {
        position: relative !important;
        top: 0 !important;
        margin-top: 0 !important;
        box-shadow: none !important;
    }

    .desktop-menu {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .contact-method {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-method a {
        font-size: 0.9rem;
        word-break: break-all;
    }

    .section-padding {
        padding: 3rem 0 !important;
    }
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}