/* ============ Sereno Plissé — minimal theme ============ */
:root {
    --bg: #ffffff;
    --bg-soft: #f6f4f0;
    --ink: #17150f;
    --muted: #6c655b;
    --line: #e7e2d9;
    --accent: #9a8a76;
    --accent-deep: #7a6a56;
    --black: #161310;
    --radius: 2px;
    --container: 1200px;
    --header-h: 84px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: .01em;
}

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.9rem;
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid var(--black);
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--black); color: #fff; }
.btn--primary:hover { background: #2c2720; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
}
.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand__logo { height: 46px; width: auto; }

.nav__list { list-style: none; display: flex; gap: 2.25rem; }
.nav__list a {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    padding: .25rem 0;
    transition: color .2s var(--ease);
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--ink);
    transition: width .25s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { width: 100%; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__toggle span {
    width: 24px; height: 1.5px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.hero__eyebrow {
    font-size: .76rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 1.4rem;
}
.hero__title {
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    margin-bottom: 1.5rem;
}
.hero__text {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Slider (crossfade) ---------- */
.hero__media { width: 100%; }
.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    overflow: hidden;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s var(--ease);
    will-change: opacity;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.slider__dots {
    position: absolute;
    left: 0; right: 0; bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}
.slider__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
    transition: background .25s var(--ease), transform .25s var(--ease);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}
.slider__dot.is-active { background: #fff; transform: scale(1.15); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.section__intro { color: var(--muted); font-size: 1.02rem; }

/* ---------- Products ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.product { display: flex; flex-direction: column; }
.product__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.product__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.product__media:hover img { transform: scale(1.04); }
.product__body { padding: 1.4rem .25rem 0; }
.product__title { font-size: 1.6rem; margin-bottom: .6rem; }
.product__text { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.product__link {
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- SEO text ---------- */
.seo { max-width: 50rem; margin-inline: auto; text-align: center; }
.seo .section__title { margin-bottom: 1.6rem; }
.seo__body { color: var(--muted); font-size: 1.05rem; }
.seo__body p + p { margin-top: 1.1rem; }

/* ---------- Lead form ---------- */
.lead__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.lead__intro .section__title { text-align: left; }
.lead__contact { list-style: none; margin-top: 1.6rem; color: var(--muted); }
.lead__contact li { margin-bottom: .4rem; }
.lead__contact a { border-bottom: 1px solid var(--line); }

.lead__form-wrap {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.section--alt .lead__form-wrap { background: #fff; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
    display: block;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .45rem;
}
.field input, .field textarea {
    width: 100%;
    padding: .8rem .9rem;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.3rem; font-size: .92rem; }
.alert--ok { background: #eef4ee; border: 1px solid #cfe2cf; color: #2f5d3a; }
.alert--err { background: #fbeeee; border: 1px solid #eccccc; color: #8a3030; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; }
.site-footer__inner { text-align: center; display: grid; gap: .8rem; justify-items: center; }
.site-footer__logo { height: 40px; width: auto; opacity: .9; }
.site-footer__text { color: var(--muted); }
.site-footer__meta { color: var(--muted); font-size: .82rem; letter-spacing: .04em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { max-width: 460px; margin-inline: auto; order: -1; }
    .lead__grid { grid-template-columns: 1fr; }
    .products { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

    .nav__toggle { display: flex; }
    .nav__list {
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: .5rem 24px 1rem;
        display: none;
    }
    .nav__list.is-open { display: flex; }
    .nav__list li { width: 100%; }
    .nav__list a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .nav__list a::after { display: none; }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .slide { transition: none; }
    html { scroll-behavior: auto; }
}
