﻿/*=============================================================================
  14. PAGE D'ACCUEIL
=============================================================================*/
.home-page {
    padding: 0 0 60px;
    background-color: var(--color-bg-muted);
}

.home-page.main-content {
    gap: 0;
}

.home-page .home-content.center-page {
    background-color: transparent;
    border-radius: 0;
    padding-top: 48px;
    gap: 32px;
    display: flex;
    flex-direction: column;
}

/* Hero */
.hero.home-hero {
    width: 100%;
    min-height: 78vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('/style/image/page/hero.webp') no-repeat center center / cover;
    color: #ffffff;
}

.hero-inner {
    width: 100%;
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 0px;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    min-height: 78vh;
    box-sizing: border-box;
}

.home-hero .hero-content {
    grid-row: 1;
    align-self: center;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.home-hero h1 {
    color: #ffffff;
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.home-hero .hero-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
    text-align: center;
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-hero .button-forgot {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
}

.home-hero .button-forgot:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: #ffffff;
}

.home-hero .hero-actions {
    grid-row: 2;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.hero-actions-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-hero .hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 480px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px 24px 8px 8px;
}

.home-hero .hero-image-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.home-hero .hero-image-container a:hover {
    transform: scale(1.08);
}

.home-hero .hero-image-container img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Section “Ã€ propos” accueil */
.home-about-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-about-body p {
    color: var(--color-text-body);
    line-height: 1.7;
    text-align: justify;
}

/* Section jeux Ã  la une (accueil) */
.home-games-section {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
}

.home-games-inner {
    padding: 40px;
}

.home-games-header {
    text-align: center;
    margin-bottom: 32px;
}

.home-games-header .home-games-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-align: center;
}

.home-games-header .home-games-lead {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

.home-jeux-catalog {
    padding: 28px 24px 36px;
    border-radius: var(--radius-md);
}

.home-games-more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.home-page .hero-cta .button-submit,
.home-page .hero-cta .button-forgot,
.home-page .home-games-more .button-submit,
.home-page .home-about-body .button-submit,
.home-page .home-about-body .logout {
    align-self: center;
}

