/* ==========================================
   HERO.CSS - Section d'accueil / Hero
   ========================================== */

.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

/* Éléments de fond décoratifs */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Contenu du hero */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Boutons du hero */
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons > .btn,
.hero-buttons > .scroll-indicator {
    flex: 0 0 auto;
}

.hero-buttons > .btn-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Indicateur de scroll */
.hero-buttons .scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0;
    min-width: 140px;
    background: transparent;
    box-shadow: none;
    margin-top: 0.35rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex: 0 0 auto;
}

.hero-buttons .scroll-indicator > span:first-child {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.hero-buttons .scroll-arrow {
    display: inline-block;
    color: var(--primary-color);
    font-size: 2.1rem;
    line-height: 1;
    animation: bounce 2s infinite;
    transform: translateY(0.15rem);
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 60px);
        margin-top: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons .scroll-indicator {
        min-width: 120px;
        gap: 0.35rem;
        margin-top: 0.5rem;
    }

    .hero-buttons > .btn-row {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons > .btn-row .btn {
        width: 100%;
    }

    .hero-buttons .scroll-indicator > span:first-child {
        font-size: 0.95rem;
    }

    .hero-buttons .scroll-arrow {
        font-size: 1.8rem;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -30%;
        right: -20%;
    }

    .hero::after {
        width: 300px;
        height: 300px;
        bottom: -20%;
        left: -15%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons > .btn-row .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero-buttons .scroll-indicator {
        min-width: 100%;
        margin: 0.35rem 0 0;
        gap: 0.3rem;
    }

    .hero-buttons .scroll-indicator > span:first-child {
        font-size: 0.9rem;
    }

    .hero-buttons .scroll-arrow {
        font-size: 1.55rem;
    }
}

