/* Utilisation des variables du fichier themes.css */
.wrapper-homepage {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    overflow-x: hidden;
}

/* === HERO SECTION === */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.logo-container {
    margin-bottom: 2rem;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ccc;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-accent {
    color: var(--color-nav);
    font-size: 4.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.brand-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-nav) 0%, var(--color-navTwo) 100%);
    border-radius: 2px;
    margin-top: 10px;
}

.hero-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    margin-left: 2rem;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    width: 120px;
    height: 80px;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 20%;
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    width: 140px;
    height: 90px;
    animation-delay: 4s;
}

.card-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.mini-chart, .mini-stats, .mini-gauge {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 6px;
    opacity: 0.8;
}

/* === FEATURES SECTION === */
.features-section {
    padding: 100px 5% 80px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}



.card:hover img {
    transform: scale(1.1);
}


.card img{
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    margin-left: auto;
    margin-right: auto;
}


.card h3 {
    color: #383838;
    font-size: 1.4rem;
    font-weight: 600;
}

.card p {
    color: #868686;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.feature-badge {
    background: var(--color-third-rgba);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .hero-section {
        padding: 2rem 3%;
    }
    
    .features-section {
        padding: 80px 3% 60px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
        min-height: auto;
    }
    
    .hero-visual {
        margin: 2rem 0 0 0;
        height: 300px;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 5%;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease-out forwards;
}

[data-aos-delay="100"] { animation-delay: 0.1s; }
[data-aos-delay="200"] { animation-delay: 0.2s; }
[data-aos-delay="300"] { animation-delay: 0.3s; }
[data-aos-delay="400"] { animation-delay: 0.4s; }