:root {
    /* Couleurs */
    --color-dark-choc: #4A2C2A;
    --color-milk-choc: #8C5D58;
    --color-cream: #F5E6CC;
    --color-gold: #D4AF37;
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-choc: 0 6px 16px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 20px rgba(74, 44, 42, 0.4);
    
    --spacing-large: 60px;
    --spacing-medium: 40px;
    --spacing-small: 20px;
}

body {
    background-color: var(--color-cream);
    color: var(--color-dark-choc);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
}

section, .content-wrapper, form {
    max-width: 1200px;
    margin: var(--spacing-medium) auto;
    padding: 0 var(--spacing-small);
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-dark-choc);
    text-align: center;
    margin-top: 0; 
    margin-bottom: 0.8em;
}

h1 { font-size: 3.8rem; letter-spacing: 2px; }
h2 { 
    font-size: 2.2rem; 
    border-bottom: 3px solid var(--color-milk-choc); 
    padding-bottom: 10px;
    margin-bottom: var(--spacing-small);
}
h3 { font-size: 1.5rem; color: var(--color-milk-choc); margin-bottom: 1em; }

p { 
    text-align: justify;
    max-width: 900px; 
    margin: 15px auto; 
}

header {
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
}

.nav-links button {
    background-color: transparent;
    color: var(--color-dark-choc);
    border: none;
    padding: 10px 18px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 1rem;
}

.nav-links button:hover,
.nav-links button.active {
    color: var(--color-white);
    background-color: var(--color-milk-choc);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: var(--spacing-small) 0;
}

.image-gallery img {
    width: 100%;
    max-width: 550px;
    height: 350px;
    border-radius: 12px;
    box-shadow: var(--shadow-choc);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
}

.image-gallery img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.product-item {
    padding: var(--spacing-small);
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: var(--spacing-medium);
    text-align: center;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-item img {
    max-width: 80%;
    height: auto;
    border: 4px solid var(--color-milk-choc);
    border-radius: 15px;
    margin: 20px auto;
    display: block;
    box-shadow: var(--shadow-choc);
}

#contact-info {
    max-width: 700px;
    margin: var(--spacing-medium) auto;
    padding: var(--spacing-small);
}

#contact-info h3 {
    text-align: center;
    line-height: 1.8;
}

form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-choc);
    text-align: left;
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-dark-choc);
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: var(--color-milk-choc);
    box-shadow: 0 0 0 3px rgba(140, 93, 88, 0.2);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="submit"] {
    display: block;
    width: 100%;
    background-color: var(--color-milk-choc);
    color: var(--color-cream);
    padding: 15px 25px;
    border: 2px solid var(--color-gold); 
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.1rem;
}

input[type="submit"]:hover {
    background-color: var(--color-dark-choc);
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial {
    background-color: var(--color-white);
    padding: 20px;
    border-left: 5px solid var(--color-gold);
    margin: 25px auto;
    border-radius: 0 10px 10px 0;
    text-align: left;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial strong {
    color: var(--color-dark-choc);
    display: block;
    margin-bottom: 5px;
}

footer {
    background-color: var(--color-dark-choc);
    color: var(--color-cream);
    padding: var(--spacing-small) 0;
    margin-top: var(--spacing-large);
}

footer p {
    text-align: center;
    margin: 0;
}

@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-links button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .image-gallery img {
        max-width: 90%;
        height: 300px;
    }
    
    .product-item img {
        max-width: 95%;
    }
}

@media (max-width: 650px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }

    nav {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 5px;
        margin-top: 10px;
    }

    .nav-links a {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav-links button {
        width: 90%; 
        margin: 0;
    }
    
    #logo {
        margin-bottom: 10px;
    }
    
    .image-gallery img {
        height: 250px;
    }
    
    .testimonial {
        margin-left: 10px;
        margin-right: 10px;
    }
}