/* --- POLICES --- */
@font-face {
    font-family: 'Nextrue Con Bold';
    src: url('fonts/Nextrue-Condensed-Bold.woff2') format('woff2'); 
    font-weight: bold;
}

@font-face {
    font-family: 'DIN Alternate Bold';
    src: url('fonts/DIN-Alternate-Bold.woff2') format('woff2');
    font-weight: bold;
}

/* --- CONFIGURATION --- */
:root {
    --bg-color: #ffffff; /* Fond BLANC comme la vidéo */
    --text-color: #000000; /* Texte NOIR */
    --font-logo: 'Nextrue Con Bold', sans-serif;
    --font-ui: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Important pour ne pas avoir de scrollbar à cause de l'inclinaison */
    font-family: var(--font-ui);
    position: relative; /* Pour le positionnement absolute des enfants */
    display: flex;
    flex-direction: column;
}

/* --- HEADER --- */
.site-header {
    position: relative; /* Pour que .header-line soit positionnée par rapport au header */
    width: 100%;
    padding: 30px 50px;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.brand-name {
    font-family: var(--font-ui);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
    color: var(--text-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-ui);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

/* Ligne sous le menu */
.main-nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--text-color);
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -4px;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.header-line {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 2px;
    background-color: var(--text-color);
    transform: translateX(-50%); /* Centre la ligne sous le header */
}

/* --- HERO SECTION --- */
.hero-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -100px; /* Remonte la section héro pour compenser l'espace pris par le header */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'DIN Alternate Bold', sans-serif;
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-discover {
    font-family: var(--font-ui);
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    border: 1px solid var(--text-color);
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 100px;
    
}

.btn-discover:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    cursor: pointer;
}


/* --- CARROUSEL INFINI (MARQUEE) --- */
.marquee-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw; /* Prend toute la largeur de l'écran */
    pointer-events: none;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: scroll 10s linear infinite;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le texte sous l'image */
}

.marquee-item img {
    height: 230px;
    object-fit: cover;
    margin-bottom: 10px;
    transition: filter 0.3s;
    margin-bottom: 40px;
}

.marquee-item p {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-color);
}

/* Animation pure CSS */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Défile de la moitié (la première série d'images) */
    }
}

/* --- QUICK PREVIEW --- */
.quick-preview-wrapper {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100vw;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.quick-preview-track {
    display: flex;
    width: max-content;
    animation: quick-scroll 15s linear infinite reverse;
    white-space: nowrap;
}

.quick-preview-track span {
    font-family: 'DIN Alternate Bold', sans-serif;
    font-size: 13px;
    color: var(--text-color);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
    padding-right: 0; /* PAS de padding ici pour éviter la coupure */
    margin-bottom: 265px;

}

@keyframes quick-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20%);
    }
}
/* --- QUICK PREVIEW --- */
.quick-preview-wrapper1 {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100vw;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.quick-preview-track1 {
    display: flex;
    width: max-content;
    animation: quick-scroll 15s linear infinite reverse;
    white-space: nowrap;
}

.quick-preview-track1 span {
    font-family: 'DIN Alternate Bold', sans-serif;
    font-size: 13px;
    color: var(--text-color);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
    padding-right: 0; /* PAS de padding ici pour éviter la coupure */
    margin-bottom: 12px;

}

/* Centrage du texte sur la page À propos */
.apropos-section {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apropos-text {
    font-family: 'DIN Alternate Bold', sans-serif;
    font-size: 20px;
    color: var(--text-color);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
