:root {
    --marron-clair: #D2B48C;
    --marron-fonce: #8B4513;
    --blanc: #FFFFFF;
    --noir: #000000;
    --gris-clair: #F5F5F5;
    --text-color: #555555;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Dancing Script', cursive;
    line-height: 1.6;
    color: var(--text-color);
}

/* ===== SECTION HERO ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: opacity 1s ease-in-out;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
    animation: fadeInUp 1s ease-out;
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1.2s ease-out;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
    animation: slideInUp 1.2s ease-out 0.3s both;
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--blanc);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 1.2s ease-out 0.6s both;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 10;
    border: 1px solid var(--blanc);
}

.btn-hero:hover {
    background: var(--blanc);
    color: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

/* ===== CARROUSEL D'IMAGES ===== */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* ===== SECTIONS PRODUITS ===== */
.product-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.product-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-row.reverse {
    flex-direction: row-reverse;
}

/* Conteneur pour texte + bouton */
.product-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-text {
    padding: 40px;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-button {
    text-align: left;
    padding: 0 40px 20px 40px;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: var(--gris-clair);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed var(--marron-clair);
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px var(--shadow);
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 20px;
}

.product-description {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.btn-decouvrir {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--marron-clair), var(--marron-fonce));
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

.btn-decouvrir:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, var(--marron-fonce), var(--marron-clair));
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .btn-hero {
        font-size: 0.85rem;
        padding: 7px 18px;
    }

    .product-section {
        padding: 40px 20px;
    }

    .product-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
    }

    .product-row.reverse {
        flex-direction: column !important;
    }

    /* Sur mobile : réorganisation en colonne avec ordre personnalisé */
    .product-text-container {
        display: contents; /* Permet aux enfants de participer à l'ordre */
    }

    .product-text {
        order: 1;
        padding: 20px;
        text-align: center;
    }

    .product-image {
        order: 2;
    }

    .product-button {
        order: 3;
        text-align: center;
        padding: 10px;
    }

    .product-title {
        font-size: 2.2rem;
    }

    .product-description {
        font-size: 1.1rem;
    }

    .image-placeholder {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn-hero {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .product-title {
        font-size: 2rem;
    }

    .btn-decouvrir {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .image-placeholder {
        height: 200px;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet parallax léger pour le hero */
@media (min-width: 769px) {
    .hero-background {
        transform: translateZ(0);
        will-change: transform;
    }
}