:root {
    --color-beige: #C8A985;
    --color-ivoire: #EAD8C3;
    --color-creme: rgba(243, 230, 216, 0.9);
    --color-choc-clair: #7D5A44;
    --color-brun: #3A2E28;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--color-brun);
    background-color: var(--color-creme);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
    font-family: var(--font-serif);
    color: var(--color-brun);
}

.bg-light-creme {
    background-color: var(--color-creme);
}

/* Animated Gourmand Elements (Wow factor) */
.gourmand-elements-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.g-elem {
    position: absolute;
    /* Beautiful sepia tone, drop shadow for depth */
    filter: sepia(0.85) hue-rotate(-10deg) saturate(1.2) drop-shadow(0 15px 25px rgba(58, 46, 40, 0.4));
    opacity: 0; /* Let GSAP fade them in */
    will-change: transform, top, left;
    transform-origin: center center;
}

/* Base sizes and positions - varied for depth and parallax */
.g-elem-1 { width: 7vw; top: 15%; left: 5%; filter: sepia(0.85) hue-rotate(-10deg) saturate(1.2) blur(2px) drop-shadow(0 10px 20px rgba(0,0,0,0.3)); } 
.g-elem-2 { width: 5vw; top: 35%; right: 8%; }
.g-elem-3 { width: 8vw; top: 65%; left: 12%; }
.g-elem-4 { width: 9vw; top: 90%; right: -2%; filter: sepia(0.85) hue-rotate(-10deg) saturate(1.2) blur(3px); }
.g-elem-5 { width: 4vw; top: 130%; left: 30%; }
.g-elem-6 { width: 8vw; top: 180%; left: 8%; filter: sepia(0.85) hue-rotate(-10deg) saturate(1.2) blur(2px); } 
.g-elem-7 { width: 6vw; top: 230%; right: 15%; }

/* FIXED GEOMETRIC LOGO (Watermark Effect) */
#fixed-geometric-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vmax; /* Use vmax to ensure it covers massive screens */
    height: 100vmax;
    pointer-events: none;
    z-index: 0; /* Just above the body background */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4; /* Subtle */
    mix-blend-mode: multiply; /* 'Produit' in Photoshop, blends naturally and disappears on dark backgrounds like the hero */
}

#fixed-geometric-logo .sq {
    position: absolute;
    border: 1.5px solid var(--color-beige); /* Beige lines will gently darken the cream background */
    transform-origin: center;
    will-change: transform, opacity;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('images/feuillete-chocolat-caramel.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(58, 46, 40, 0.6), rgba(234, 216, 195, 0.98));
    z-index: 2;
}

.hero-social-top {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 15px;
}

.hero-social-top .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero-social-top .social-icon:hover {
    background-color: var(--color-beige);
    border-color: var(--color-beige);
    color: var(--color-brun);
    transform: translateY(-3px);
}

.hero-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(58, 46, 40, 0.1));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-choc-clair);
}

.btn-custom {
    display: inline-block;
    padding: 12px 36px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 0;
    transition: all 0.4s ease;
    background: transparent;
}

.btn-custom:hover {
    background-color: #ffffff;
    color: var(--color-brun);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background-color: rgba(58, 46, 40, 0.2);
    overflow: hidden;
}

.scroll-indicator span {
    display: block;
    width: 100%;
    height: 50%;
    background-color: var(--color-brun);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* SECTION HISTOIRE */
.section-histoire {
    position: relative;
    z-index: 5;
    background-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-choc-clair);
}

.highlight-text {
    border-left: 3px solid var(--color-beige);
    padding-left: 1rem;
    font-style: italic;
    color: var(--color-brun);
    font-weight: 500;
}

.image-frame {
    position: relative;
    padding: 15px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(58, 46, 40, 0.05);
    border-radius: 4px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: 20px; bottom: 20px;
    border: 1px solid var(--color-beige);
    z-index: -1;
}

/* SECTION CRÉATIONS */
.section-creations {
    position: relative;
    z-index: 5;
}

.creation-card {
    background: transparent;
    border: none;
    overflow: hidden;
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card-img-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.creation-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--color-choc-clair);
}

/* SECTION EXPERIENCE */
.section-experience {
    position: relative;
    z-index: 5;
    background-color: transparent;
}

/* SECTION RESEAUX SOCIAUX */
.section-social {
    background-image: url('images/eclair-choc.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-ivoire);
}

.social-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(58, 46, 40, 0.85);
    z-index: 1;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-ivoire);
    text-decoration: none;
    border: 1px solid rgba(247, 241, 235, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: var(--color-beige);
    border-color: var(--color-beige);
    color: var(--color-brun);
}

.bg-dark-footer {
    background-color: #2a211d;
}

.footer-link-breizh {
    color: #3f332d;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-social-top {
        top: 20px;
        right: 20px;
        gap: 10px;
    }

    .hero-social-top .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        background-attachment: scroll;
    }
    
    .section-social {
        background-attachment: scroll;
    }
    
    .g-elem {
        transform: scale(0.6) !important;
    }
    .gourmand-elements-container {
        opacity: 0.5;
    }
}
