/* Page d'accueil - Choix CHR / GMS / PRESTIGE */

.home-page {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #000;
}

.home-container {
    min-height: 100vh;
    position: relative;
}

/* Header avec logo centré sur fond blanc */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.home-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-logo .logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    filter: none;
    transition: transform 0.3s ease;
    display: block;
}

.home-logo:hover .logo-img {
    transform: scale(1.05);
}

/* Section principale */
.home-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.sections-container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    align-items: stretch;
}

/* Chaque section */
.home-section {
    position: relative;
    flex: 1;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* Image de fond */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 1;
}

/* Ajustement spécifique pour Prestige - décaler l'image vers la gauche */
.prestige-section .section-bg-image {
    background-position: 60% center; /* Décaler vers la gauche pour éviter la coupure droite */
}

.home-section:hover .section-bg-image {
    transform: scale(1.1);
}

/* Séparateurs en V */
.section-separator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%
    );
    z-index: 10;
    transition: all 0.4s ease;
}

.separator-left {
    left: 0;
    transform-origin: top;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%
    );
}

.separator-right {
    right: 0;
    transform-origin: top;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%
    );
}

.home-section:hover .section-separator {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.6) 70%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Section centrale (GMS) mise en avant */
.center-section {
    z-index: 2;
    /* Pas de scale pour garder l'alignement parfait */
}

.center-section .section-overlay {
    opacity: 0.75;
}

/* Overlay avec gradient */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.chr-section .section-overlay {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.85) 0%, rgba(160, 130, 109, 0.85) 50%, rgba(139, 111, 71, 0.85) 100%);
}

.gms-section .section-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.85) 50%, rgba(44, 62, 80, 0.85) 100%);
}

.prestige-section .section-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 44, 44, 0.85) 50%, rgba(26, 26, 26, 0.85) 100%);
}

/* Si pas d'image de fond, utiliser les couleurs par défaut */
.chr-section:not(:has(.section-bg-image[style*="background-image"])) .section-overlay {
    background: linear-gradient(135deg, #8b6f47 0%, #a0826d 50%, #8b6f47 100%);
}

.gms-section:not(:has(.section-bg-image[style*="background-image"])) .section-overlay {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
}

.prestige-section:not(:has(.section-bg-image[style*="background-image"])) .section-overlay {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
}

/* Contenu de la section */
.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: block;
    height: 5rem;
    overflow: visible;
    font-size: 5rem !important;
    position: relative;
    top: 0;
}

.center-section .section-title {
    font-size: 5.5rem !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    height: 5.5rem;
}

/* S'assurer que CHR et PRESTIGE ont exactement la même taille et position */
.chr-section .section-title,
.prestige-section .section-title {
    font-size: 5rem !important;
    height: 5rem;
    line-height: 1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: 0;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bouton d'action */
.section-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px
    min-height: 56px;
    box-sizing: border-box;
}

.section-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    gap: 1.5rem;
}

.section-button svg {
    transition: transform 0.3s ease;
}

.section-button:hover svg {
    transform: translateX(5px);
}

/* Badge Work in Progress */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    min-height: 56px;
    box-sizing: border-box;
}

.badge-icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}



/* Effet hover sur les sections */
.home-section:hover .section-overlay {
    opacity: 0.7;
}

.home-section:hover .section-title {
    transform: scale(1.08);
}

.center-section:hover .section-overlay {
    opacity: 0.65;
}

.center-section:hover .section-title {
    transform: scale(1.1);
}

/* Indicateur de scroll */
.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    animation: fadeIn 1s ease 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 1;
    }
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sections-container {
        flex-direction: column;
        height: auto;
    }
    
    .home-section {
        min-height: 100vh;
        flex: none;
    }
    
    .center-section {
        transform: scale(1);
    }
    
    .section-separator {
        display: none;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .center-section .section-title {
        font-size: 4.5rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .home-header {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .home-header {
        padding: 1rem 1rem;
    }
    
    .home-logo .logo-img {
        height: 45px;
        max-width: 150px;
    }
    
    .home-main {
        padding-top: 80px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .center-section .section-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .section-content {
        padding: 2rem 1.25rem;
    }
    
    .home-section {
        padding: 3rem 1rem;
        min-height: auto;
    }
    
    .center-section {
        padding: 4rem 1rem;
    }
    
    .section-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
        width: auto;
        min-width: 200px;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Effet de parallaxe léger */
@media (prefers-reduced-motion: no-preference) {
    .section-content {
        transition: transform 0.3s ease;
    }
    
    .home-section:hover .section-content {
        transform: translateY(-5px);
    }
    
    .center-section:hover .section-content {
        transform: translateY(-8px);
    }
}

