/* ===================================
   SECTION HERO - Page d'accueil principale
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

/* ===== ARRIÈRE-PLAN ===== */
.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 20s ease-out;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.9) 0%,
        rgba(17, 24, 39, 0.6) 50%,
        transparent 100%
    );
}

.hero__overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--bg-primary) 0%,
        transparent 30%,
        transparent 100%
    );
}

/* ===== CONTAINER PRINCIPAL ===== */
.hero__container {
    position: relative;
    z-index: 20;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    min-height: 100vh;
}

/* ===== CONTENU TEXTUEL ===== */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-full);
    color: #FB923C;
    font-weight: 600;
    font-size: var(--font-sm);
    width: fit-content;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__badge .icon {
    width: 1rem;
    height: 1rem;
    color: #FB923C;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.hero__title {
    font-size: var(--font-7xl);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--font-xl);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    max-width: 32rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== ACTIONS ===== */
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
    }
}

.btn--hero {
    position: relative;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-lg);
    font-weight: 800;
    letter-spacing: 0.05em;
    overflow: hidden;
}

.btn--hero-secondary {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-lg);
    background: transparent;
    transition: all var(--transition-normal);
}

.btn--hero-secondary:hover {
    background: white;
    color: var(--bg-primary);
    border-color: white;
    transform: translateY(-2px);
}

.btn--hero-secondary .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== STATISTIQUES HERO ===== */
.hero__stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-6);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero__stat {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.hero__stat-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.hero__stat-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hero__stat-content {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: var(--font-2xl);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.hero__stat-label {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

/* ===== IMAGE HERO ===== */
.hero__image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__image-container {
    position: relative;
    z-index: 10;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 3/4;
}

.hero__image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease-out;
}

.hero__image-container:hover .hero__image-photo {
    transform: scale(1.05);
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(249, 115, 22, 0.3) 0%,
        transparent 50%
    );
}

.hero__image-blur {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -10;
    filter: blur(40px);
    opacity: 0.7;
}

/* ===== INDICATEUR DE SCROLL ===== */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-sm);
    animation: bounce 2s ease-in-out infinite;
    z-index: 30;
}

.hero__scroll-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-orange);
}

/* ===== EFFET PARALLAX ===== */
.hero[data-parallax] .hero__bg-image {
    transform: scale(1.1) translateY(var(--parallax-offset, 0));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
        padding-top: var(--space-20);
        padding-bottom: var(--space-20);
    }
    
    .hero__title {
        font-size: var(--font-6xl);
    }
    
    .hero__description {
        max-width: none;
        margin: 0 auto;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero__container {
        padding: var(--space-16) var(--space-4);
        gap: var(--space-6);
    }
    
    .hero__title {
        font-size: var(--font-5xl);
        line-height: 1;
    }
    
    .hero__description {
        font-size: var(--font-lg);
    }
    
    .btn--hero,
    .btn--hero-secondary {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-base);
    }
    
    .hero__stats {
        gap: var(--space-6);
    }
    
    .hero__stat-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .hero__stat-icon .icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .hero__stat-number {
        font-size: var(--font-xl);
    }
    
    .hero__scroll {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--font-4xl);
    }
    
    .hero__actions {
        gap: var(--space-4);
    }
    
    .hero__stats {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
    
    .hero__stat {
        gap: var(--space-2);
    }
    
    .hero__image-blur {
        bottom: -1rem;
        right: -1rem;
    }
}

/* ===== ANIMATIONS SPÉCIFIQUES ===== */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero__image-container {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.hero__image-blur {
    animation: heroGlow 4s ease-in-out infinite;
}

/* ===== ÉTATS INTERACTIFS ===== */
.hero__badge:hover {
    background: rgba(249, 115, 22, 0.3);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
}

.hero__stat:hover .hero__stat-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    .hero__bg-image,
    .hero__image-photo,
    .hero__image-container,
    .hero__image-blur,
    .hero__scroll {
        animation: none;
        transition: none;
    }
    
    .hero__badge,
    .hero__title,
    .hero__description,
    .hero__actions,
    .hero__stats,
    .hero__image {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    
    .hero__background,
    .hero__image-blur,
    .hero__scroll {
        display: none;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .hero__title {
        font-size: var(--font-3xl);
        color: black;
    }
    
    .hero__description {
        font-size: var(--font-base);
        color: #333;
    }
}