/* ============================================================
   Maquette — site céramiques Lise Huret
   Feuille de style autonome, mobile-first.
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --bg:        #f3f1ec;
    --bg-alt:    #eae7df;
    --ink:       #211f1a;
    --ink-soft:  #6a655b;
    --line:      #ddd8cd;
    --accent:    #9a7b4f;

    --statut-disponible: #4f7d5e;
    --statut-reservee:   #b07d2b;
    --statut-vendue:     #8a857c;

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans:  'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --maxw: 1120px;
    --radius: 4px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }

/* ---------- En-tête / navigation ---------- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 88%, white);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(1.1) blur(4px);
}
.nav {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nav-logo { display: inline-flex; color: var(--ink); }
.nav-logo img { height: 34px; width: auto; }
.nav-logo--placeholder { width: 56px; }
.nav-menu {
    display: flex;
    gap: 26px;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav-menu a {
    color: var(--ink-soft);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Conteneur principal ---------- */
.site-main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px 80px;
}
.wrap-narrow { max-width: 760px; margin: 0 auto; }

/* ---------- Titres de section ---------- */
.section-title {
    font-size: 1.9rem;
    text-align: center;
    margin: 54px 0 6px;
}
.section-subtitle {
    text-align: center;
    color: var(--ink-soft);
    font-style: italic;
    font-family: var(--serif);
    font-size: 1.2rem;
    margin: 0 0 34px;
}

/* ============================================================
   ACCUEIL
   ============================================================ */
.hero {
    text-align: center;
    padding: 46px 0 8px;
}
.hero__logo {
    color: var(--ink);
    width: 200px;
    max-width: 62vw;
    height: auto;
    margin: 0 auto;
}
.hero__wordmark {
    width: 230px;
    max-width: 70vw;
    margin: 22px auto 0;
    opacity: .9;
}
.hero__tagline {
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
}

/* Sculpture mise en avant */
.featured {
    margin: 40px auto 0;
    max-width: 760px;
}
.featured__frame {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    aspect-ratio: 4 / 3;
    box-shadow: 0 18px 40px -24px rgba(0,0,0,.45);
}
.featured__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.featured:hover .featured__frame img { transform: scale(1.03); }
.featured__caption {
    text-align: center;
    margin-top: 22px;
}
.featured__name {
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}
.featured__accroche {
    display: block;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
    max-width: 540px;
    margin: 0 auto 14px;
}
.featured__link {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
}

/* Sculptures en réserve */
.reserve { margin-top: 64px; }
.reserve__title {
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--ink-soft);
    font-size: 1.25rem;
    margin-bottom: 22px;
}
.reserve__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.reserve__item { text-align: center; }
.reserve__frame {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    aspect-ratio: 1 / 1;
}
.reserve__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease, opacity .3s;
}
.reserve__item:hover .reserve__frame img { transform: scale(1.05); }
.reserve__name {
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 1.15rem;
}

/* ============================================================
   BESTIAIRE
   ============================================================ */
.bestiaire { margin-top: 8px; }
.creature {
    display: block;
    background: color-mix(in srgb, var(--bg) 70%, white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
    transition: box-shadow .25s, transform .25s;
}
.creature:hover {
    box-shadow: 0 22px 46px -30px rgba(0,0,0,.5);
    transform: translateY(-2px);
}
.creature__grid { display: grid; grid-template-columns: 1fr; }
.creature__media {
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 4 / 3;
}
.creature__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
.creature:hover .creature__media img { transform: scale(1.04); }
.creature__body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.creature__name { font-size: 1.9rem; }
.creature__accroche {
    color: var(--ink-soft);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.28rem;
    line-height: 1.35;
}
.creature__more {
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ============================================================
   STATUT (badge)
   ============================================================ */
.statut {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
}
.statut::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.statut--disponible { color: var(--statut-disponible); background: color-mix(in srgb, var(--statut-disponible) 14%, white); }
.statut--reservee   { color: var(--statut-reservee);   background: color-mix(in srgb, var(--statut-reservee) 16%, white); }
.statut--vendue     { color: var(--statut-vendue);     background: color-mix(in srgb, var(--statut-vendue) 16%, white); }

/* ============================================================
   FICHE SCULPTURE
   ============================================================ */
.back-link {
    display: inline-block;
    margin: 28px 0 10px;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}
.back-link:hover { color: var(--ink); }

.fiche { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 6px; }

.gallery__main {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    aspect-ratio: 4 / 3;
    box-shadow: 0 18px 40px -28px rgba(0,0,0,.45);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.gallery__thumb {
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--accent); }

.fiche__name { font-size: 2.6rem; margin-bottom: 14px; }
.fiche__histoire {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.5;
    color: #38342d;
    margin-bottom: 28px;
}
.specs { border-top: 1px solid var(--line); }
.specs__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.specs__label {
    color: var(--ink-soft);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.specs__value { text-align: right; }
.fiche__prix { font-family: var(--serif); font-size: 1.7rem; }
.fiche__prix.is-vendue { text-decoration: line-through; color: var(--ink-soft); }
.fiche__statut-wrap { margin-top: 22px; }

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos__lede {
    font-family: var(--serif);
    font-size: 1.6rem;
    line-height: 1.45;
    text-align: center;
    margin: 10px auto 36px;
    max-width: 680px;
}
.apropos__text p {
    margin: 0 0 20px;
    font-size: 1.08rem;
}
.apropos__signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    text-align: right;
    margin-top: 10px;
}
.atelier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 40px 0 6px;
}
.atelier figure { margin: 0; }
.atelier__frame {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    aspect-ratio: 4 / 5;
}
.atelier__frame img { width: 100%; height: 100%; object-fit: cover; }
.atelier figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
    text-align: center;
}
.note-placeholder {
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
    background: var(--bg-alt);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin: 26px auto 0;
    max-width: 560px;
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
    background: #20201c;
    color: #d9d4c8;
    margin-top: 40px;
}
.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 44px 22px;
    text-align: center;
}
.site-footer__logo { height: 18px; width: auto; margin: 0 auto 14px; filter: invert(1) brightness(1.4); opacity: .85; }
.site-footer__tagline { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.site-footer__legal { margin: 0; font-size: 13px; opacity: .6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
    body { font-size: 18px; }
    .featured__frame { aspect-ratio: 16 / 11; }

    /* Bestiaire : photo à gauche, texte à droite */
    .creature__grid {
        grid-template-columns: 46% 1fr;
        align-items: stretch;
    }
    .creature__media { aspect-ratio: auto; min-height: 320px; height: 100%; }
    .creature__body { padding: 34px 40px; }
    .creature__name { font-size: 2.3rem; }

    /* Fiche : galerie à gauche, infos à droite */
    .fiche {
        grid-template-columns: 1.15fr 1fr;
        gap: 48px;
        align-items: start;
    }
    .gallery { position: sticky; top: 90px; }

    .atelier { grid-template-columns: repeat(3, 1fr); }
    .section-title { font-size: 2.4rem; }
}

@media (min-width: 1024px) {
    .hero__logo { width: 240px; }
    .featured { max-width: 820px; }
    .fiche__name { font-size: 3rem; }
}
