:root {
    /* Palette Festive */
    --primary: #C18C74; /* Terracotta (Base) */
    --gold: #D4AF37; /* Doré Festif */
    --fir-green: #2F4F4F; /* Vert Sapin Chic */
    
    --secondary: #FDFBF7; 
    --text-main: #2C2C2C; 
    --text-light: #666666;
    --white: #ffffff;
    
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(212, 175, 55, 0.2); /* Ombre dorée au survol */
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary);
    color: var(--text-main);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--fir-green); /* Titres en vert foncé chic */
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 3rem 0; /* Réduit de 5rem à 3rem pour moins d'espace */
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }

.tagline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold); /* Tagline dorée */
    margin-bottom: 10px;
    font-weight: 600;
}

.italic-text {
    font-style: italic;
    font-weight: 400;
    color: var(--gold); /* Texte italique en doré */
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    padding: 0.5rem 0; /* Réduit un peu le padding vertical */
    border-bottom: 2px solid var(--gold); /* Liseré doré */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Nouveau style pour le logo image dans la navbar */
.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 60px; /* Taille ajustée pour la navbar */
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-nav {
    background-color: var(--gold); /* Bouton contact doré */
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.burger-menu { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px; /* Ajusté par rapport à la nouvelle hauteur de navbar */
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mobile-menu.active { transform: translateY(0); }
.mobile-link { text-decoration: none; color: var(--text-main); font-size: 1.1rem; font-weight: 500; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh; /* Réduit de 85vh à 60vh */
    min-height: 500px; /* On garde quand même une taille mini pour le contenu */
    background-color: #ddd; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.75) blur(5px); /* Flou artistique ajouté pour masquer la pixellisation */
    transform: scale(1.05); /* Léger zoom pour éviter les bords flous blancs */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero-section h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2.5rem;
    color: var(--gold); /* Sous-titre en doré */
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--gold); /* Bouton doré */
    color: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); /* Glow doré */
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Snow Effect */
.snow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px; /* On les remonte un peu plus haut pour être sûr */
    color: white;
    font-size: 1.5rem;
    opacity: 0; /* Invisible par défaut (pendant le délai) */
    animation: fall linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; font-size: 1rem; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; font-size: 0.8rem; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 11s; animation-delay: 2s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 13s; font-size: 1.2rem; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 3s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 11s; font-size: 1rem; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 14s; animation-delay: 1s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 10s; font-size: 0.9rem; }
.snowflake:nth-child(10) { left: 5%; animation-duration: 12s; animation-delay: 4s; }

@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0px); opacity: 0.8; }
    100% { transform: translateY(100vh) translateX(20px); opacity: 0; }
}

/* Concept Section */
.concept-section { background-color: var(--white); }
.concept-section h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--fir-green); }
.concept-text { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: var(--text-light); }

/* Collections Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.card-category {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.2); /* Bordure dorée très légère */
}

.card-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.card-image {
    height: 250px; /* Photos plus grandes pour mieux voir les produits */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.card-category:hover .card-image { transform: scale(1.03); }
.card-content { padding: 1.2rem; text-align: center; background: var(--white); position: relative; z-index: 2; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--fir-green); }
.card-content p { font-size: 0.9rem; color: var(--text-light); }

/* Carousel Section */
.carousel {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gold); /* Bordure dorée autour du carrousel */
}

.carousel-track-container { height: 100%; position: relative; overflow: hidden; }
.carousel-track { padding: 0; margin: 0; list-style: none; position: relative; height: 100%; transition: transform 0.5s ease-in-out; }
.carousel-slide { position: absolute; top: 0; bottom: 0; width: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    color: var(--gold);
    font-size: 1.2rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover { background: var(--gold); color: var(--white); }
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Social Section */
.social-section { background-color: var(--secondary); }
.social-box { text-align: center; max-width: 600px; margin: 0 auto; }
.social-buttons { margin-top: 2rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--white);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, color 0.3s;
}
.social-btn.fb:hover { color: #3b5998; }
.social-btn.insta:hover { color: #d6249f; }
.social-btn:hover { transform: scale(1.05); border: 1px solid var(--gold); }

/* Footer */
footer { background-color: var(--white); color: var(--text-light); padding: 4rem 0 1rem; border-top: 2px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--primary); margin-bottom: 1.5rem; font-size: 1.2rem; letter-spacing: 1px; }
.contact-list, .hours-list { list-style: none; }
.contact-list li, .hours-list li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 10px; }
.contact-list a { color: var(--text-main); text-decoration: none; transition: color 0.3s; font-weight: 500; }
.contact-list a:hover { color: var(--gold); }
.hours-list span { color: var(--text-main); font-weight: 600; min-width: 120px; display: inline-block; }
.footer-bottom { text-align: center; border-top: 1px solid #f0f0f0; padding-top: 2rem; font-size: 0.8rem; color: #999; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; padding: 0 10px; }
    .nav-links { display: none; }
    .burger-menu { display: block; }
    .grid-container { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .card-image { height: 160px; }
    .section { padding: 3rem 0; }
    .carousel { height: 300px; }
    
    /* Centrage Footer Mobile */
    .footer-grid { 
        gap: 2rem; 
        text-align: center; /* Centre le texte global */
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre les éléments flex (comme les listes) */
    }

    .contact-list li, .hours-list li {
        justify-content: center; /* Centre les items des listes */
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}