/* --- Fondations --- */
:root {
    --primary: #3d2b1f;
    --secondary: #c9935e;
    --accent: #f8f1e7;
    --white: #ffffff;
    --text: #4a4a4a;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--primary); }

/* --- Header --- */
.main-header {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

nav { width: 100%; display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center;  }
.logo img { height: 80px; width: auto; display: block; }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--secondary); }
.burger { display: none; cursor: pointer; position: relative; z-index: 1200; }
.burger div { width: 26px; height: 3px; background: var(--primary); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* --- Hero --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1517433367423-c7e5b0f35086?q=80&w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content { max-width: 800px; }
.subtitle { text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; color: var(--secondary); font-weight: 600; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--white); margin: 15px 0; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.btn {
    padding: 15px 35px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.4s;
    border: none;
}
.btn-outline { background: transparent; border: 2px solid var(--white); margin-left: 15px; }
.btn:hover { background: var(--primary); transform: translateY(-3px); color: var(--white); }

/* --- Produits --- */
.products { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.separator { width: 60px; height: 3px; background: var(--secondary); margin: 15px auto; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; padding: 0 10px; }
.product-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-12px); box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.product-img-wrapper { overflow: hidden; }
.product-img-wrapper img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.06); }
.product-card:hover .product-info h3 { color: var(--secondary); }
.product-info { padding: 25px; }
.price { color: var(--secondary); font-weight: 700; font-size: 1.1rem; display: block; margin-top: 15px; }

/* --- About --- */
.about { background: var(--accent); padding: 100px 0; }
.about-flex { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.about-image { flex: 1; min-width: 350px; position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.about-text { flex: 1.2; min-width: 350px; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 25px; }
.features { list-style: none; margin-top: 25px; display: grid; gap: 12px; }
.features li {
    padding: 10px 0;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(61,43,31,0.12);
}
.features li::before { content: none; }
.features li:last-child { border-bottom: none; }

.experience-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: linear-gradient(135deg, rgba(61,43,31,0.98), rgba(61,43,31,0.85));
    color: var(--white);
    padding: 10px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 28px rgba(61,43,31,0.25);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: calc(100% - 32px);
    white-space: nowrap;
}
.experience-badge strong { font-size: 1.05rem; color: var(--secondary); }
.experience-badge span { font-size: 0.85rem; opacity: 0.95; }

/* --- Contact & Footer --- */
.contact { padding: 100px 25px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-grid .info { justify-self: center; max-width: 520px; width: 100%; }
.hours-card { background: var(--primary); color: var(--white); padding: 30px; border-radius: 8px; margin-top: 30px; }
.hours-card h3 { color: var(--secondary); margin-bottom: 20px; }
.hours-card ul { list-style: none; }
.hours-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

.contact-side { display: flex; flex-direction: column; gap: 25px; }
.map-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(61,43,31,0.08); }
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }
.callout-card { background: var(--accent); padding: 28px; border-radius: 12px; box-shadow: var(--shadow); }
.callout-card h3 { margin-bottom: 10px; }
.callout-card p { margin-bottom: 20px; }

.btn-full { display: inline-block; text-align: center; width: 100%; }

.footer { background: var(--primary); color: var(--white); padding: 80px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--secondary); margin-bottom: 20px; }
.footer .logo { color: var(--white); margin-bottom: 20px; }
.footer-address { color: #d9d1c7; margin-top: 12px; font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links li { line-height: 1.4; }
.footer a { color: #ccc; text-decoration: none; transition: 0.3s; font-size: 0.9rem; line-height: 2.5; }
.footer a:hover { color: var(--secondary); }
.footer-bottom { text-align: center; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; font-size: 0.8rem; color: #888; }
.footer-legal-muted { margin-top: 12px; font-size: 0.75rem; opacity: 0.7; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal-muted a { color: #bbb; text-decoration: none; }
.social-icons { display: flex; gap: 14px; }
.social-link { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: 0.3s; }
.social-link svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.6; }
.social-link svg path { fill: var(--white); stroke: none; }
.social-link:hover { background: var(--secondary); border-color: transparent; }

@media (min-width: 901px) {
    nav { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
    .nav-links { justify-self: center; }
    .burger { justify-self: end; }
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid, .footer-grid { grid-template-columns: 1fr; justify-items: center; }
    .burger { display: block; }
    .nav-links {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .nav-open .nav-links {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 1100;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-open .nav-links a { color: var(--white); font-size: 1.1rem; }
    .nav-open .burger { position: fixed; top: 22px; right: 22px; }
    .nav-open .burger div { background: var(--white); }
    .nav-open .burger div:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-open .burger div:nth-child(2) { opacity: 0; }
    .nav-open .burger div:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-open { overflow: hidden; }
    .hero-btns { display: flex; flex-direction: column; gap: 12px; }
    .btn-outline { margin-left: 0; }
    .contact { padding-left: 20px; padding-right: 20px; }
    .contact-grid { width: 100%; }
    .contact-grid > * { width: 100%; }
    .contact-grid .info { justify-self: center; max-width: 520px; width: 100%; padding: 0; }
    .product-card,
    .map-card,
    .callout-card { border-radius: 0; }
    .product-img-wrapper img { border-radius: 0; }
    .product-card { transition: none; }
    .product-card:hover { transform: none; box-shadow: var(--shadow); }
    .product-card:hover .product-img-wrapper img { transform: none; }
    .about-flex { flex-direction: column; gap: 30px; }
    .about-image,
    .about-text { min-width: 0; width: 100%; }
    .about-image img { display: block; width: 100%; max-width: 100%; }
    .features { width: 100%; }
    .features li { width: 100%; }
    .footer-about { text-align: center; }
    .footer-about .logo { justify-content: center; }
}
