/* ============================================
   CSS DÉDIÉ PAGE GAMME SIGNATURE
   Nouvelle structure avec grille de produits
   ============================================ */

/* Reset fond page */
body {
    background: #f5f5f5;
}

/* Container général */
.gs-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
    width: 100%;
}

/* ============================================
   SECTION HERO
   ============================================ */
.gs-hero {
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(1.5rem, 3vw, 2rem);
    background: #f5f5f5;
}

.gs-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.gs-intro {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: #555;
    max-width: 1100px;
    margin: 0;
}

.gs-intro strong {
    color: #333;
    font-weight: 600;
}

/* ============================================
   SECTION PRODUITS GRID
   ============================================ */
.gs-products {
    padding: clamp(1rem, 2vw, 2rem) 0 clamp(3rem, 5vw, 5rem);
    background: #f5f5f5;
}

.gs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    height: 680px;
}

/* ============================================
   PRODUIT PRINCIPAL (GAUCHE)
   ============================================ */
.gs-main-product {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
}

.gs-product-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.gs-product-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.gs-product-info {
    position: absolute;
    bottom: -30px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gs-product-desc {
    position: absolute;
    bottom: -50px;
    left: 1.5rem;
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.gs-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gs-product-link:hover .gs-product-image img {
    transform: scale(1.03);
}

.gs-arrow {
    font-size: 1rem;
    color: #333;
}

.gs-product-name {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: #333;
    margin: 0;
}

.gs-product-name strong {
    font-weight: 600;
}
    line-height: 1.4;
}

/* ============================================
   PRODUITS SECONDAIRES (DROITE)
   ============================================ */
.gs-side-products {
    grid-row: 1 / 2;
}

.gs-side-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.gs-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gs-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 0;
}

.gs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gs-product-card:hover .gs-card-image img {
    transform: scale(1.05);
}

.gs-card-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.gs-card-name {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 400;
    color: #333;
    margin: 0;
}

.gs-card-name strong {
    font-weight: 600;
}

.gs-card-desc {
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    color: #777;
    margin: 0.2rem 0 0 1.3rem;
    line-height: 1.4;
}

/* ============================================
   CONFIGURATEUR 3D
   ============================================ */
.gs-configurator {
    grid-row: 2 / 3;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.gs-config-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #ececec;
}

.gs-config-image img,
.gs-config-image .gs-config-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gs-config-image img {
    transition: opacity 0.25s ease;
}

.gs-config-image .gs-config-video {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gs-config-label {
    display: none;
}

.gs-config-link {
    display: block;
    height: 100%;
}

.gs-config-image.is-playing .gs-config-video {
    opacity: 1;
}

.gs-config-image.is-playing img {
    opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablette */
@media (max-width: 1024px) {
    .gs-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gs-main-product {
        grid-row: auto;
    }
    
    .gs-product-image {
        min-height: 400px;
        height: 400px;
    }
    
    .gs-product-info {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 0.8rem;
    }
    
    .gs-product-desc {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 0.3rem;
        margin-left: 1.5rem;
    }
    
    .gs-side-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .gs-card-image {
        height: 280px;
    }
    
    .gs-config-image {
        min-height: 200px;
    }
    
    .gs-configurator {
        grid-row: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gs-hero {
        padding: 5rem 0 1rem;
    }
    
    .gs-container {
        padding: 0 1rem;
    }
    
    .gs-title {
        font-size: 1.5rem;
    }
    
    .gs-intro {
        font-size: 0.85rem;
    }
    
    .gs-products {
        padding: 0.5rem 0 2rem;
    }
    
    .gs-grid {
        gap: 0.8rem;
    }
    
    .gs-product-image {
        min-height: 250px;
        height: 250px;
    }
    
    .gs-product-info {
        margin-top: 0.5rem;
    }
    
    .gs-product-desc {
        margin-top: 0.2rem;
        margin-bottom: 0.5rem;
    }
    
    .gs-side-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .gs-card-image {
        height: 160px;
    }
    
    .gs-card-info {
        margin-top: 0.4rem;
    }
    
    .gs-card-desc {
        margin-top: 0.1rem;
        font-size: 0.7rem;
    }
    
    .gs-config-image {
        min-height: 150px;
        height: 150px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .gs-title {
        font-size: 1.3rem;
    }
    
    .gs-product-image {
        min-height: 200px;
        height: 200px;
    }
    
    .gs-card-image {
        height: 130px;
    }
    
    .gs-config-image {
        min-height: 120px;
        height: 120px;
    }
}
