/* ====================================
   HOMEPAGE STYLES MODERNISÉS
   ==================================== */

/* Variables CSS */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --spacing-section: 5rem;
    --border-radius-lg: 1.5rem;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base - FORCER LE BON COMPORTEMENT */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

/* Empêcher tous les conteneurs de déborder */
.container,
.container-fluid,
.row,
section,
div {
    max-width: 100%;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* Optimisation des performances de scroll */
.hero-animated-bg,
.hero-gradient,
.hero-particles {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ====================================
   HERO SECTION V2
   ==================================== */
.hero-section-v2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 40%, #7c3aed 100%);
    position: relative;
    padding: 8rem 0 6rem 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden !important;
    width: 100%;
    max-width: 100vw;
}

/* Animated Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden !important;
    pointer-events: none;
    width: 100%;
    max-width: 100%;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%);
    will-change: transform;
    transform: translateZ(0);
}

/* Désactiver l'animation sur mobile pour fluidité */
@media (min-width: 769px) {
    .hero-gradient {
        animation: gradientMove 10s ease-in-out infinite alternate;
    }
}

@keyframes gradientMove {
    0% { transform: translateZ(0) translate(0, 0) scale(1); }
    100% { transform: translateZ(0) translate(-5%, -5%) scale(1.1); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 60px;
    will-change: transform;
    transform: translateZ(0);
}

/* Désactiver l'animation sur mobile */
@media (min-width: 769px) {
    .hero-particles {
        animation: particleFloat 20s linear infinite;
    }
}

@keyframes particleFloat {
    0% { transform: translateZ(0) translateY(0); }
    100% { transform: translateZ(0) translateY(-100px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badgeGlow 3s infinite;
}

@keyframes badgeGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(253, 224, 71, 0.5));
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 600px;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s;
}

.btn-hero-primary:hover .btn-shine {
    left: 100%;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

/* Hero Mini Stats */
.hero-mini-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ====================================
   HERO METRICS CARDS - NOUVEAU DESIGN PRO
   ==================================== */
.hero-metrics {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 14px;
    font-size: 1.5rem;
    color: #0f172a;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.metric-content {
    position: relative;
    z-index: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Animation au chargement */
.metric-card {
    animation: metricFadeIn 0.6s ease forwards;
}

.metric-card:nth-child(1) {
    animation-delay: 0.1s;
}

.metric-card:nth-child(2) {
    animation-delay: 0.2s;
}

.metric-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes metricFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   RECENT ACTIVITY CARD - MODERNISÉ
   ==================================== */
.recent-activity-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.recent-activity-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: cardGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}
    z-index: 2;
}

/* Activity Header */
.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.activity-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.activity-title i {
    font-size: 1.3rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fecaca;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 30px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(220, 38, 38, 0.5);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fee2e2;
    box-shadow: 0 0 10px #dc2626, 0 0 20px #dc2626;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 10px #dc2626, 0 0 20px #dc2626;
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.4);
        box-shadow: 0 0 15px #dc2626, 0 0 30px #dc2626;
    }
}

/* Activity List - Sans barre de défilement */
.activity-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

/* Activity Item - Modernisé avec glassmorphism */
.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.activity-item:hover::before {
    transform: scaleY(1);
}

/* Activity Avatar */
.activity-avatar {
    position: relative;
    flex-shrink: 0;
}

.activity-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.1);
}

.activity-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    font-size: 0.65rem;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* Activity Content */
.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-user {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.activity-user strong {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.activity-user strong.text-primary {
    color: #fbbf24 !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.activity-action {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.activity-beneficiary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.activity-beneficiary i {
    color: #fbbf24;
}

.activity-beneficiary strong {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 0.25rem;
    font-weight: 600;
}

.activity-time-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.activity-time-info i {
    margin-right: 0.25rem;
}

/* No Activity State */
.no-activity {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-activity i {
    color: rgba(255, 255, 255, 0.3);
    animation: floatIcon 3s ease-in-out infinite;
}

.no-activity p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

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

/* Legacy support */
.activity-amount {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.amount-value {
    font-weight: 700;
    color: #fbbf24;
    font-size: 1rem;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.activity-time i {
    margin-right: 0.25rem;
}

/* Activity Arrow */
.activity-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover .activity-arrow {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.activity-time i {
    margin-right: 0.25rem;
}

/* Activity Arrow */
.activity-arrow {
    flex-shrink: 0;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.activity-item:hover .activity-arrow {
    color: #6366f1;
    transform: translateX(3px);
}

/* No Activity */
.no-activity {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

/* Activity Footer - Modernisé */
.activity-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.activity-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.activity-view-all:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    gap: 1rem;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Hero V2 */
@media (max-width: 991px) {
    .hero-section-v2 {
        padding: 5rem 0 4rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-metrics {
        gap: 1rem;
    }
    
    .metric-card {
        min-width: 140px;
        padding: 1rem 1.5rem;
    }
    
    .metric-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    
    .metric-value {
        font-size: 1.3rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .recent-activity-card {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .activity-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-section-v2 {
        padding: 4rem 0 3rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-metrics {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .metric-card {
        min-width: auto;
        flex: 1;
        padding: 0.875rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .metric-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .recent-activity-card {
        padding: 1.5rem;
        border-radius: 24px;
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .activity-item {
        padding: 1rem;
    }
    
    .activity-avatar img {
        width: 44px;
        height: 44px;
    }
    
    .activity-user {
        font-size: 0.9rem;
    }
    
    .activity-beneficiary {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .slogan-container {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
    
    .slogan-brand {
        font-size: 1.3rem;
    }
    
    .slogan-separator {
        display: none;
    }
    
    .slogan-text-wrapper {
        min-width: auto;
        width: 100%;
    }
    
    .slogan-text {
        font-size: 0.95rem;
    }
}

/* ====================================
   STATS SECTION
   ==================================== */
.stats-section {
    background: var(--secondary-gradient);
    padding: 3.5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item i {
    display: block;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem !important;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.stat-item h3 .counter {
    display: inline-block;
}

.stat-item p {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ====================================
   HOW IT WORKS SECTION
   ==================================== */
.how-it-works-section {
    padding: var(--spacing-section) 0;
    background: #f8f9fa;
}

.step-card {
    transition: var(--transition-smooth);
    background: white;
    position: relative;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.step-number {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.icon-circle-lg {
    border-radius: 50%;
}

.step-icon {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ====================================
   SECTIONS COMMUNES
   ==================================== */
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title p.lead {
    font-size: 1.1rem;
    color: #6c757d;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: white;
    border-color: white;
    color: #667eea;
    transform: translateY(-3px);
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 992px) {
    .hero-section-v2 {
        padding: 3rem 0 2rem;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .recent-activity-card {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
        min-height: auto;
        overflow: visible !important;
    }
    
    .hero-section-v2 {
        padding: 2.5rem 0 2rem;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .floating-card {
        position: static !important;
        margin: 1rem 0;
        transform: none !important;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Slogan responsive */
    .slogan-container {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.5rem;
        gap: 0.5rem;
    }
    
    .slogan-separator {
        display: block;
        font-size: 1.5rem;
    }
    
    .slogan-brand {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .slogan-text-wrapper {
        min-width: 180px;
        height: 1.4rem;
        overflow: hidden;
        position: relative;
    }
    
    .slogan-text {
        font-size: 0.85rem;
        white-space: nowrap;
        top: 0;
    }
    
    /* Activity card mobile */
    .activity-item {
        padding: 0.875rem;
    }
    
    .activity-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .activity-user {
        font-size: 0.875rem;
    }
    
    .activity-beneficiary {
        font-size: 0.8rem;
    }
    
    .activity-time-info {
        font-size: 0.75rem;
    }
    
    :root {
        --spacing-section: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-section-v2 {
        padding: 2rem 0 1.5rem;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .slogan-brand {
        font-size: 1.25rem;
    }
    
    .slogan-text {
        font-size: 0.9rem;
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .activity-title {
        font-size: 1rem;
    }
    
    .activity-list {
        gap: 0.75rem;
    }
    
    .recent-activity-card {
        padding: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .slogan-brand {
        font-size: 1.125rem;
    }
    
    .slogan-text {
        font-size: 0.85rem;
    }
    
    .activity-item {
        padding: 0.75rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-hero-primary,
    .btn-hero-secondary,
    .activity-view-all {
        min-height: 44px;
        min-width: 44px;
    }
    
    .activity-item {
        min-height: 60px;
    }
}

/* ====================================
   ANIMATIONS
   ==================================== */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ====================================
   UTILITIES
   ==================================== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.shadow-hover {
    transition: var(--transition-smooth);
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
