*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold:      #b8964f;
    --gold-light:#d4af72;
    --dark:      #1c1c1c;
    --green:     #2d4a2d;
    --text:      #3a3a3a;
    --light:     #faf9f7;
    --radius:    16px;
}

body {
    background: #fff;
    color: var(--text);
    font-family: 'DM Sans', Arial, sans-serif;
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 68px;
    border-bottom: 1px solid #ece8e0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .3px;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--dark);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    width: 100%;
    height: 95vh;
    min-height: 460px;
        background: url('bg_vita.jpg') center / cover no-repeat;
    position: relative;
}

/* ── Hero content ────────────────────────────────────────────────────────── */
.hero-content { color: #fff; padding: 20px; }

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(56px, 9vw, 100px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.72);
    margin-bottom: 36px;
    font-weight: 300;
    letter-spacing: .3px;
}

.hero-btn {
    display: inline-block;
    padding: 13px 34px;
    border: 1.5px solid rgba(255,255,255,.7);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .2s, border-color .2s;
}

.hero-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}


/* ── Products Section ────────────────────────────────────────────────────── */
.products {
    padding: 72px 48px 80px;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1160px;
    margin: 0 auto;
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.card {
    text-decoration: none;
    color: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1px solid #ece8e0;
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.25,.8,.25,1),
                box-shadow .32s cubic-bezier(.25,.8,.25,1);
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(0,0,0,.13);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f3ef;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-no-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f3ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 13px;
}

.card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.card-cta::after {
    content: '→';
    transition: transform .2s;
}

.card:hover .card-cta::after {
    transform: translateX(4px);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
    background: var(--green);
    color: rgba(255,255,255,.55);
    padding: 48px;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 13px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,.35);
    font-style: italic;
}

/* ── Product Page ────────────────────────────────────────────────────────── */
.product-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}

.main-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--light);
}

#main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

#main-image:hover { transform: scale(1.03); }

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, transform .2s;
}

.thumb:hover { transform: scale(1.06); }
.thumb.active { border-color: var(--gold); }

.no-image {
    aspect-ratio: 1 / 1;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border-radius: 20px;
}

.product-badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.details h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 16px;
}

.product-desc {
    color: #777;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.form-card {
    background: var(--light);
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #ece8e0;
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 22px;
}

#leadForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#leadForm input {
    padding: 13px 16px;
    border: 1.5px solid #ddd9d0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    transition: border-color .2s;
    outline: none;
    color: var(--dark);
}

#leadForm input:focus { border-color: var(--gold); }
#leadForm input::placeholder { color: #aaa; }

#leadForm button {
    padding: 15px;
    background: var(--green);
    border: none;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background .2s, transform .2s;
    margin-top: 4px;
}

#leadForm button:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

#message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

#message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    display: block;
}

#message.error {
    background: #fff5f5;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: block;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media(max-width: 960px) {
    .product-container {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 36px;
    }
}

@media(max-width: 768px) {
    .navbar { padding: 0 20px; }
    .products { padding: 48px 20px 60px; }
    .hero { height: 50vw; min-height: 200px; }

    footer {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        text-align: center;
    }

    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
        border-top: 1px solid #ece8e0;
        z-index: 998;
    }

    .nav-links.active { display: flex; }
    .form-row { grid-template-columns: 1fr; }
}


/* ── Dropdown ───────────────────────────────────────────────── */
.has-dropdown { position: relative; }

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    background: #fff;
    border: 1px solid #ece8e0;
    border-radius: 14px;
    padding: 18px 8px 8px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 1000;
    list-style: none;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li a {
    display: block;
    padding: 10px 14px;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background .15s;
    white-space: nowrap;
}

.dropdown li a:hover { background: #f5f3ef; color: #2d4a2d; }

/* Mobile : dropdown devient liste normale */
@media (max-width: 768px) {
    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: #f5f3ef;
        border-radius: 10px;
        margin-top: 6px;
        padding: 6px;
    }

    .has-dropdown.open .dropdown { display: block; }

    .has-dropdown > a svg {
        transition: transform .2s;
    }
    .has-dropdown.open > a svg { transform: rotate(180deg); }
}


/* ── Hero Slider ─────────────────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 95vh;
    min-height: 460px;
    overflow: hidden;
    background: #111;
}

.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.slide.active { opacity: 1; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flèches */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(70 86 63);
    backdrop-filter: blur(4px);
    border: 1px solid rgb(69 84 63);
    color: #fff;
    font-size: 36px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    line-height: 1;
}

.slider-arrow:hover { background: rgba(184,150,79,0.6); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Points */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
}

.dot.active {
    background: #b8964f;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-slider { height: 50vw; min-height: 220px; }
    .slider-arrow { width: 38px; height: 38px; font-size: 24px; }
}