/* NOUVELLES VARIABLES - Palette équilibrée professionnelle */
:root {
    --primary-dark: #1a365d;       /* Bleu marine foncé - couleur principale */
    --primary-blue: #2563eb;       /* Bleu moderne */
    --accent-orange: #ea0c2a;      /* Orange énergique */
    --accent-gold: #d90606;        /* Or/Ambre */
    --text-dark: #1f2937;          /* Texte principal */
    --togo-white: #ffffff;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-500: #ef4444;
    --green-100: #dcfce7;
    --green-800: #166534;
    --success-green: #059669;
    --light-bg: #f8fafc;
}

/* TOUT LE RESTE DU CSS RESTE IDENTIQUE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-700);
    scroll-behavior: smooth;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

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

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: block;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(5, 5, 5, 0.5)), url('im2.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    margin-top: 78px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 28px;
    color: var(--red-500);
    margin-bottom: 32px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-text {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.countdown-label {
    font-size: 14px;
    color: var(--white);
}

/* Compteur de dons */
.donation-counter {
    margin: 40px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.donation-progress {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red-500), var(--primary-blue));
    width: 0%;
    transition: width 1s ease-in-out;
}

.donation-stats {
    text-align: center;
    color: var(--togo-white);
    font-size: 18px;
    font-weight: 600;
}

.amount-raised {
    color: var(--red-500);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background-color: var(--red-500);
    color: var(--white);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 96px;
    height: 4px;
    background-color: var(--red-500);
    margin: 0 auto 24px;
}

.section-text {
    font-size: 18px;
    max-width: 768px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
}

.about-objectives h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.objective-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.objective-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    padding: 4px;
    margin-top: 4px;
}

.objective-dot {
    width: 8px;
    height: 8px;
    background-color: var(--red-500);
    border-radius: 50%;
}

.objective-text {
    font-size: 16px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.festival-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Activities Section */
.activities-section {
    background-color: rgba(37, 99, 235, 0.05);
}

/* Registration Section */
.registration-section {
    background-color: var(--primary-dark);
}

.registration-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 896px;
    margin: 0 auto;
}

.registration-header {
    background-color: var(--primary-blue);
    padding: 32px 24px;
    text-align: center;
}

.registration-title {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 8px;
}

.registration-subtitle {
    color: var(--white);
}

.registration-form {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
}

.required {
    color: var(--red-500);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Payment Section */
.payment-section {
    margin: 32px 0;
    padding: 24px;
    background-color: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.payment-title {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    transition: all 0.3s;
    cursor: pointer;
}

.payment-option:hover {
    border-color: var(--primary-blue);
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.payment-icon {
    font-size: 24px;
    color: var(--accent-orange);
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 24px 0;
    padding: 16px;
    background-color: var(--gray-50);
    border-radius: 8px;
}

.terms-checkbox {
    margin-top: 4px;
}

.terms-label {
    font-size: 14px;
}

.terms-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    background-color: var(--red-500);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.submit-button:hover {
    background-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
    background-color: var(--gray-100);
    padding: 80px 0;
}

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

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    font-size: 24px;
    color: var(--primary-blue);
    margin-top: 5px;
    min-width: 30px;
}

.contact-item h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-item p {
    color: var(--gray-600);
    margin-bottom: 4px;
    font-size: 14px;
}

/* Confirmation Modal */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.modal-icon {
    font-size: 5rem;
    color: var(--success-green);
    margin-bottom: 24px;
}

.modal-title {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.modal-text {
    color: var(--gray-700);
    margin-bottom: 24px;
}

.payment-details {
    background-color: var(--gray-50);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.payment-details p {
    margin-bottom: 8px;
    display: flex;
}

.payment-details strong {
    width: 140px;
    display: inline-block;
}

.modal-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.modal-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Images optimisées */
.hero-image, .about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.hero-image {
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        box-shadow: none;
    }
    
    .nav-links.active {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        box-shadow: none;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-link {
        padding: 0;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 40px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .countdown-item {
        width: 60px;
        height: 60px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
}