/* ===== VARIABLES GLOBALES AMÉLIORÉES ===== */
:root {
    /* Couleurs principales */
    --primary: #1a5490;
    --primary-dark: #0d3660;
    --primary-light: #2b70b8;
    --secondary: #ffd700;
    --secondary-light: #ffed4e;
    --accent: #ff6b6b;
    
    /* Couleurs neutres */
    --dark: #0a0e27;
    --gray-900: #1a1d2e;
    --gray-800: #2d3142;
    --gray-700: #4a4e69;
    --gray-600: #6c757d;
    --gray-500: #8b95a2;
    --gray-400: #b8c1cc;
    --gray-300: #d4dae0;
    --gray-200: #e9ecef;
    --gray-100: #f4f6f8;
    --gray-50: #f8fafc;
    --white: #ffffff;
    
    /* Gradients améliorés */
    --gradient-primary: linear-gradient(135deg, #1a5490 0%, #2b70b8 50%, #3d8ae5 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff59d 100%);
    --gradient-vibrant: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Ombres améliorées */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(26, 84, 144, 0.3);
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
}

/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    /* Background supprimé car défini dans site-background.css */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CURSEUR PERSONNALISÉ AMÉLIORÉ (DÉSACTIVÉ) ===== */
/* .custom-cursor {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all var(--transition-fast);
    mix-blend-mode: difference;
    backdrop-filter: blur(2px);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    opacity: 0.2;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all var(--transition-base);
    filter: blur(5px);
}

.custom-cursor.active {
    transform: scale(1.5);
    border-color: var(--secondary);
} */



.donate-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.35),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.donate-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
}

.donate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 71, 87, 0.45),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ff7979 0%, #ff5252 100%);
}

.donate-btn:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.donate-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.donate-icon {
    font-size: 1.2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}



/* ===== HERO SECTION AMÉLIORÉE ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f7fa 100%);
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
    filter: blur(40px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: white;
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translate(30px, -30px) rotate(120deg) scale(1.1); 
    }
    66% { 
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9); 
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line-1 {
    display: block;
    font-family: 'David', 'Noto Serif Hebrew', serif;
    font-size: 0.8em;
    opacity: 0.95;
    animation: slideInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line-2 {
    display: block;
    background: linear-gradient(45deg, white, var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease 0.2s both;
    text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.3);
}

.title-line-3 {
    display: block;
    font-size: 0.5em;
    font-weight: 300;
    letter-spacing: 0.5em;
    opacity: 0.85;
    animation: slideInUp 1s ease 0.4s both;
    text-transform: uppercase;
}

@keyframes slideInDown {
    from { 
        opacity: 0; 
        transform: translateY(-40px); 
    }
    to { 
        opacity: 0.95; 
        transform: translateY(0); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-40px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 0.85; 
        transform: translateY(0); 
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeIn 1s ease 0.6s both;
    line-height: 1.7;
    font-weight: 300;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.9; }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.8s both;
}

.btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}



/* ===== SECTIONS GÉNÉRALES ===== */
section {
    position: relative;
}

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

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

.title-decoration {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.title-main {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gray-900);
    position: relative;
    display: inline-block;
}

.title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* ===== SECTION STATS AMÉLIORÉE ===== */
.stats {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    background: var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

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

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== CARTES AMÉLIORÉES ===== */
.overview-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.overview-card:hover::before {
    opacity: 0.05;
}

/* ===== CARTES DE NAVIGATION ===== */
.navigation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--gray-800);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
}

/* ===== TESTIMONIALS AMÉLIORÉS ===== */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: 'Playfair Display', serif;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.testimonial-card strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== VIDEO SECTION AMÉLIORÉE ===== */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.video-container:hover::before {
    opacity: 1;
}

/* ===== FOOTER COMPACT ET ÉLÉGANT ===== */
.footer {
    background: linear-gradient(135deg, #1a4587 0%, #2d7be5 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.footer-wave {
    position: relative;
    height: 25px;
    width: 100%;
    overflow: hidden;
}

.footer-wave svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.footer .container {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.footer-compact {
    max-width: 1200px;
}

/* === LIGNE PRINCIPALE === */
.footer-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

/* === LOGO ET NOM === */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.footer-logo {
    width: 50px;
    height: auto;
    filter: brightness(1.1);
}

.footer-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 0.2rem 0;
    font-weight: 700;
    color: #ffe066;
    line-height: 1.2;
}

.footer-text p {
    font-size: 0.8rem;
    color: var(--gray-200);
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
}

/* === CITATION === */
.footer-quote {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 230, 102, 0.2);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    min-width: 200px;
    flex-shrink: 0;
}

.verse-line {
    font-style: normal;
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.3;
    font-family: 'Frank Ruhl Libre', serif;
    direction: rtl;
    margin-bottom: 0.1rem;
}

.quote-attribution {
    font-size: 0.7rem;
    color: #ffe066;
    margin-top: 0.3rem;
    font-weight: 600;
    direction: rtl;
}

/* === CONTACT === */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-200);
}

.contact-item i {
    color: #ffe066;
    font-size: 0.9rem;
    width: 15px;
    text-align: center;
    opacity: 0.9;
}

/* === BOUTON DON === */
.footer-action {
    flex-shrink: 0;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(45deg, #ffe066, #ffd700);
    color: #1a4587;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 230, 102, 0.3);
}

.support-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 230, 102, 0.4);
}

/* === COPYRIGHT === */
.footer-bottom {
    text-align: center;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.75rem;
    color: var(--gray-300);
    margin: 0;
    opacity: 0.8;
}

/* === BOUTON RETOUR HAUT === */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ffe066, #ffd700);
    color: #1a4587;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 230, 102, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 230, 102, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .footer-main-row {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand, .footer-quote, .footer-contact, .footer-action {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .footer-main-row {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .footer-brand, .footer-quote, .footer-contact, .footer-action {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .footer-quote {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .footer-main-row {
        padding: 0.8rem 0;
    }
    
    .footer-logo {
        width: 45px;
    }
    
    .footer-text h3 {
        font-size: 1.1rem;
    }
    
    .verse-line {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
}



