/**
 * hero.css — Section Hero d'accueil et bannières de page
 *
 * @package developer
 * @since   1.0.0
 */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 120px 0 var(--space-4xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-img,
.hero__bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__bg-img {
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero:hover .hero__bg-img {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 5, 4, 0.75) 0%, rgba(7, 5, 4, 0.65) 50%, rgba(7, 5, 4, 0.9) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(197, 141, 38, 0.15);
    border: 1px solid rgba(197, 141, 38, 0.4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-widest);
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(5px);
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__title span {
    color: var(--color-gold);
    display: inline-block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-base);
    color: var(--color-white);
    margin-bottom: var(--space-2xl);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.hero__scroll-down {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.hero__scroll-down:hover {
    opacity: 1;
}

.hero__scroll-icon {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-gold);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* Page Banner (Pages secondaires) */
.page-banner {
    position: relative;
    padding: 160px 0 80px;
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.page-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.35;
}

.page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-banner__subtitle {
    color: var(--color-border);
    font-size: var(--font-size-md);
}
