@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Inter:wght@400;500&display=swap');
:root {
    --black: #0A0A0A;
    --steel: #1A1A1A;
    --white: #FFFFFF;
    --purple: #6A2CFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}


/* Conteneur de la vidéo YouTube */

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}


/* Fallback image si vidéo ne charge pas */

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* Overlay sombre pour rendre la vidéo moins visible */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.891);
    z-index: 2;
}


/* Contenu du hero par-dessus la vidéo */

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 120px;
    /* Pour compenser le banner + nav fixed */
}

.logo svg {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta {
    background: var(--black);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    transition: transform 150ms ease-out;
}

.cta:hover {
    transform: scale(1.02);
}

.collection {
    padding: 5rem 2rem;
    max-width: 1200px;
}

.collection h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}


/* Sélecteur de type de produit */

.product-type-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.type-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border-radius: 25px;
}

.type-btn:hover {
    background: #000;
    color: #fff;
}

.type-btn.active {
    background: #000;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.product-card {
    position: relative;
    transition: transform 150ms ease-out;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card a {
    text-decoration: none;
    color: var(--black);
    display: block;
}

.product-card .product-info {
    padding: 1.5rem 0;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.product-card .price {
    font-size: 1.1rem;
    font-weight: 500;
}


/* Sélecteurs de couleur sur la page d'accueil */

.color-selector-home {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.color-option-home {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option-home:hover {
    border-color: #000;
    transform: scale(1.2);
}

.color-option-home.selected {
    border-color: #000;
    box-shadow: 0 0 0 2px #000;
}

.color-option-home.anthracite {
    background: #2F2F2F;
}

.color-option-home.black {
    background: #000000;
}

.color-option-home.burgundy {
    background: #800020;
}

.color-option-home.cotton {
    background: #FFB6C1;
}

.color-option-home.dark {
    background: #1a1a1a;
}

.color-option-home.desert {
    background: #F5DEB3;
}

.color-option-home.fraiche {
    background: #E0FFFF;
}

.color-option-home.french {
    background: #1e3a5f;
}

.color-option-home.lavender {
    background: #E6E6FA;
}

.color-option-home.white {
    background: #FFFFFF;
    border: 2px solid #ccc;
}

.color-option-home.light {
    background: #D3D3D3;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: opacity 0.3s ease;
}


/* Miniatures sur la page d'accueil */

.product-thumbnails-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 1rem 0;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
}

.thumbnail-home {
    width: 100%;
    height: 35px;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border-radius: 4px;
}

.thumbnail-home:hover,
.thumbnail-home.active {
    border-color: #000;
    opacity: 1;
    transform: scale(1.05);
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 3rem;
}


/* Header Navigation */

.nav {
    position: fixed;
    top: 40px;
    /* Hauteur du banner */
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-logo img {
    height: 30px;
    width: auto;
}

.nav a {
    color: var(--black);
    text-decoration: none;
    margin-left: 2rem;
    transition: opacity 150ms ease-out;
}

.nav a:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    border-radius: 15px;
}

.lang-btn:hover {
    background: #000;
    color: #fff;
}


/* Scrolling Banner */

.banner {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
    background: var(--black);
    color: var(--white);
    padding: 1rem 0;
    overflow: hidden;
}

.scrolling-text {
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* About Section */

.about {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}


/* Product Page */

.product-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 2rem 0;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.size-select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--white);
    border: 1px solid var(--black);
    font-family: 'Inter', sans-serif;
}


/* Product Gallery */

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--steel);
    padding: 2rem;
    transition: transform 150ms ease-out;
}

.product-gallery img:hover {
    transform: scale(1.02);
}


/* Status Pages */

.status-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.status-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.status-page p {
    margin-bottom: 2rem;
}


/* Footer */

footer {
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(10, 10, 10, 0.1);
}

footer a {
    color: var(--black);
    text-decoration: none;
    transition: opacity 150ms ease-out;
}

footer a:hover {
    opacity: 0.7;
}


/* Galerie d'images */

.gallery {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}