:root {
    --bg: #f7f4ef;
    --bg-soft: #efe7d8;
    --card: #ffffff;
    --text: #2d241d;
    --text-soft: #5f5145;
    --gold: #AB8056;
    --gold-soft: #D9BD79;
    --gold-light: #FFE498;
    --border: rgba(171, 128, 86, 0.18);
    --shadow: 0 18px 50px rgba(80, 52, 26, 0.10);
    --radius: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Playfair Display', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(100% - 28px, var(--container));
    margin: 0 auto;
}

.site-header {
    background: rgba(247, 244, 239, 0.96);
    border-bottom: 1px solid var(--border);
}
.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px 0 8px;
}
.brand {
    grid-column: 2;
    justify-self: center;
}

.client-account-link {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(80, 52, 26, 0.08);
}
.client-account-link:hover { color: var(--gold); }
.client-account-icon {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-light); font-size: 1rem;
}
.client-account-text { font-size: 0.94rem; font-weight: 700; }
.brand-logo {
    width: min(100%, 320px);
    height: auto;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 244, 239, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.sticky-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 10px 0;
    font-size: 0.98rem;
}
.sticky-nav a {
    color: var(--text);
}
.sticky-nav a:hover {
    color: var(--gold);
}
.nav-cta {
    color: var(--gold);
    font-weight: 700;
}

.hero {
    padding: 22px 0 18px;
}
.hero-single {
    display: block;
}
.hero-copy, .service-card, .cta-box {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-copy {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: #fff;
    border-radius: var(--radius);
    background-image:
        linear-gradient(90deg,
            rgba(10, 8, 7, 0.92) 0%,
            rgba(16, 13, 11, 0.88) 24%,
            rgba(20, 16, 13, 0.70) 36%,
            rgba(20, 16, 13, 0.36) 48%,
            rgba(20, 16, 13, 0.10) 58%,
            rgba(20, 16, 13, 0.00) 70%),
        url('/assets/img/hero-atelier-sophie.jpg');
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right center;
    background-size: 100% 100%, auto 100%;
    padding: 50px 0 44px;
}
.hero-panel {
    width: min(100%, 500px);
    margin-left: clamp(34px, 5.2vw, 68px);
    padding-right: 14px;
}

.eyebrow {
    color: var(--gold-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 12px;
}
.hero h1, h2, h3 {
    font-family: 'Cinzel', serif;
}
.hero h1 {
    font-size: clamp(2rem, 3.9vw, 3.35rem);
    line-height: 1.04;
    margin-bottom: 18px;
    max-width: 12.5ch;
    color: var(--gold);
}
.hero h1 span {
    display: block;
    white-space: nowrap;
}

.hero-kicker {
    color: var(--gold-light);
    font-weight: 700;
    font-size: clamp(0.98rem, 1.3vw, 1.14rem);
    line-height: 1.34;
    max-width: 26ch;
    margin-bottom: 16px;
}

.hero-text {
    color: rgba(255,255,255,0.93);
    font-size: 0.98rem;
    line-height: 1.64;
    max-width: 27ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    font-size: 0.98rem;
    border: 1px solid transparent;
    transition: 0.2s ease;
}
.btn-primary {
    background: var(--gold);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-1px);
}
.btn-secondary {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.btn-outline-gold {
    color: var(--gold);
    background: transparent;
    border-color: var(--gold);
}

.services,
.story-highlight,
.craft-section,
.cta-section {
    padding: 18px 0 12px;
}
.section-heading,
.gallery-heading {
    margin-bottom: 20px;
}
.section-heading h2,
.story-copy h2,
.craft-copy h2,
.cta-box h2 {
    font-size: clamp(1.55rem, 4vw, 3rem);
    line-height: 1.13;
}
.service-cards,
.story-grid,
.craft-grid,
.footer-grid,
.story-page-hero-grid,
.story-two-cols,
.story-signature-grid {
    display: grid;
    gap: 20px;
}
.service-card {
    background: #efe3cf;
    padding: 24px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(171, 128, 86, 0.22);
    box-shadow: var(--shadow);
}
.story-copy p,
.craft-copy p,
.cta-box p {
    color: var(--text-soft);
}
.story-copy p + p,
.craft-copy p + p {
    margin-top: 12px;
}

/* Histoire.php */
.story-page-hero {
    padding: 24px 0 16px;
}
.story-page-hero-grid,
.story-two-cols,
.story-signature-grid {
    display: grid;
    gap: 20px;
    align-items: center;
}
.story-page-hero-copy,
.story-text-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px;
}
.story-page-hero-copy h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 16px;
}
.story-lead {
    color: var(--text-soft);
    font-size: 1.08rem;
}
.story-page-hero-photo,
.story-image-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.story-page-hero-photo img,
.story-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-section {
    padding: 14px 0;
}
.story-text-card h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.35rem, 4vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 14px;
}
.story-text-card p {
    color: var(--text-soft);
}
.story-text-card p + p {
    margin-top: 12px;
}
.story-image-stack {
    display: grid;
    gap: 18px;
}
.story-image-card.small img {
    aspect-ratio: 4 / 3;
}
.alt-section {
    background: linear-gradient(180deg, rgba(239, 231, 216, 0.35), rgba(247, 244, 239, 0));
}
.dark-band {
    margin-top: 12px;
    padding: 26px 0;
    background: linear-gradient(135deg, #171310, #241d17);
}
.story-signature-copy {
    color: #fff;
}
.story-signature-copy h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.45rem, 4vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 14px;
}
.story-signature-copy p {
    color: rgba(255,255,255,0.88);
}
.signature-card {
    background: rgba(255,255,255,0.05);
}
.signature-card img {
    object-fit: contain;
    background: rgba(255,255,255,0.02);
}
.dark-band .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: transparent;
}

.cta-box {
    background: linear-gradient(135deg, #161311, #27201a);
    color: #fff;
    padding: 28px 22px;
    text-align: center;
}
.cta-box p {
    color: rgba(255,255,255,0.88);
}

.site-footer {
    margin-top: 28px;
    padding: 34px 0 42px;
    background: #13100d;
    color: rgba(255,255,255,0.86);
}
.footer-grid {
    display: grid;
    gap: 22px;
}
.footer-logo {
    width: min(100%, 170px);
    background: #f7f4ef;
    border-radius: 18px;
    padding: 10px;
    margin-bottom: 14px;
}
.site-footer h3 {
    color: var(--gold-soft);
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.site-footer ul {
    list-style: none;
}
.site-footer li + li {
    margin-top: 8px;
}
.site-footer a:hover {
    color: var(--gold-light);
}

@media (min-width: 860px) {
    .brand-logo {
        width: 360px;
    }
    .sticky-nav-inner {
        justify-content: flex-end;
    }
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .story-grid,
    .craft-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .craft-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .footer-grid {
        grid-template-columns: 1.1fr 0.8fr 0.8fr;
    }
    .story-page-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
    .story-two-cols {
        grid-template-columns: 1.05fr 0.95fr;
    }
    .story-two-cols.reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }
    .story-signature-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

@media (max-width: 1100px) {
    .hero-copy {
        min-height: 590px;
        background-image:
            linear-gradient(90deg,
                rgba(10, 8, 7, 0.92) 0%,
                rgba(16, 13, 11, 0.88) 26%,
                rgba(20, 16, 13, 0.66) 39%,
                rgba(20, 16, 13, 0.28) 51%,
                rgba(20, 16, 13, 0.08) 60%,
                rgba(20, 16, 13, 0.00) 72%),
            url('/assets/img/hero-atelier-sophie.jpg');
        background-position: left top, 88% center;
        background-size: 100% 100%, auto 102%;
    }
    .hero-panel {
        width: min(100%, 460px);
        margin-left: 32px;
    }
    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }
}

@media (max-width: 860px) {
    .header-top {
        grid-template-columns: 1fr auto;
        padding: 10px 0 8px;
    }
    .brand {
        grid-column: 1;
        justify-self: center;
    }
    .client-account-link {
        grid-column: 2;
    }
    .brand-logo {
        width: min(100%, 290px);
    }
    .hero-copy {
        min-height: 620px;
        background-image:
            linear-gradient(90deg,
                rgba(10, 8, 7, 0.92) 0%,
                rgba(16, 13, 11, 0.88) 30%,
                rgba(20, 16, 13, 0.60) 44%,
                rgba(20, 16, 13, 0.22) 56%,
                rgba(20, 16, 13, 0.05) 64%,
                rgba(20, 16, 13, 0.00) 76%),
            url('/assets/img/hero-atelier-sophie.jpg');
        background-position: left top, 82% center;
        background-size: 100% 100%, cover;
        padding: 44px 0 40px;
    }
    .hero-panel {
        width: min(100%, 430px);
        margin-left: 26px;
        padding-right: 0;
    }
    .hero h1 {
        font-size: clamp(1.7rem, 4.8vw, 2.5rem);
        max-width: 12ch;
    }
    .hero-kicker {
        max-width: 22ch;
        font-size: 0.98rem;
    }
    .hero-text {
        max-width: 22ch;
        font-size: 0.96rem;
    }
}

@media (max-width: 640px) {
    .header-top {
        padding: 8px 0 6px;
    }
    .brand-logo {
        width: min(100%, 230px);
    }
    .sticky-nav-inner {
        gap: 8px 14px;
        font-size: 0.92rem;
        padding: 8px 0;
    }
    .hero-copy {
        min-height: 760px;
        background-image:
            linear-gradient(90deg,
                rgba(10, 8, 7, 0.92) 0%,
                rgba(16, 13, 11, 0.88) 34%,
                rgba(20, 16, 13, 0.58) 50%,
                rgba(20, 16, 13, 0.18) 64%,
                rgba(20, 16, 13, 0.03) 74%,
                rgba(20, 16, 13, 0.00) 86%),
            url('/assets/img/hero-atelier-sophie.jpg');
        background-position: left top, 76% center;
        background-size: 100% 100%, cover;
        padding: 34px 0 34px;
    }
    .hero-panel {
        width: calc(100% - 36px);
        margin-left: 18px;
    }
    .hero h1 {
        font-size: 1.55rem;
        line-height: 1.08;
        margin-bottom: 16px;
        max-width: 11.5ch;
    }
    .hero-kicker {
        font-size: 0.92rem;
        max-width: 18ch;
    }
    .hero-text {
        max-width: 18ch;
        font-size: 0.92rem;
        line-height: 1.58;
    }
    .hero-actions {
        gap: 10px;
    }
    .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    /* Galerie */
    .page-hero {
        padding: 20px 0 8px;
    }
}
/* Galerie */
.page-hero {
    padding: 28px 0 12px;
}
.surtitle {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 10px;
}
.page-intro,
.gallery-heading p {
    color: var(--text-soft);
    max-width: 70ch;
}
.gallery-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    line-height: 1.16;
    margin-bottom: 14px;
}
.gallery-nav-section {
    position: sticky;
    top: 52px;
    z-index: 24;
    padding: 8px 0 8px;
    background: rgba(247, 244, 239, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.gallery-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.gallery-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.gallery-nav a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}
.gallery-nav a.is-active {
    background: rgba(171, 128, 86, 0.12);
    border-color: rgba(171, 128, 86, 0.42);
    color: var(--gold);
}
.gallery-section {
    padding: 18px 0 10px;
}
.gallery-heading {
    margin-bottom: 18px;
}
.gallery-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery-card {
    display: block;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #fff;
}
.gallery-card-label {
    display: block;
    padding: 12px 14px 14px;
    color: var(--text-soft);
    font-size: 0.95rem;
}
.lightbox-open {
    overflow: hidden;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(16, 12, 9, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 100;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-figure {
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    text-align: center;
}
.lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
}
.lightbox-figure figcaption {
    margin-top: 12px;
    color: rgba(255,255,255,0.9);
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    cursor: pointer;
}
.lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
}
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (min-width: 860px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 20px 0 8px;
    }
    .gallery-nav-section {
        top: 46px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-card-label {
        font-size: 0.92rem;
    }
    .lightbox {
        padding: 18px 10px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 640px) {
    .client-account-text { display: none; }
    .client-account-link { padding: 8px 10px; }
    .client-account-icon { width: 32px; height: 32px; }
}


@media (max-width: 1100px) {
    .hero-copy {
        min-height: 560px;
        background-image:
            linear-gradient(90deg, rgba(10, 8, 7, 0.92) 0%, rgba(18, 15, 13, 0.88) 34%, rgba(24, 20, 17, 0.62) 48%, rgba(24, 20, 17, 0.18) 60%, rgba(24, 20, 17, 0.00) 72%),
            url('/assets/img/hero-atelier-sophie.jpg');
        background-position: left top, 88% center;
        background-size: 100% 100%, auto 100%;
    }
    .hero-panel {
    width: min(100%, 500px);
    margin-left: clamp(34px, 5.2vw, 68px);
    padding-right: 14px;
}
    .hero h1 {
    font-size: clamp(2rem, 3.9vw, 3.35rem);
    line-height: 1.04;
    margin-bottom: 18px;
    max-width: 12.5ch;
    color: var(--gold);
}
}

@media (max-width: 760px) {
    .hero-copy {
        min-height: 720px;
        background-image:
            linear-gradient(90deg, rgba(10, 8, 7, 0.90) 0%, rgba(16, 13, 11, 0.84) 36%, rgba(22, 18, 15, 0.52) 54%, rgba(22, 18, 15, 0.12) 70%, rgba(22, 18, 15, 0.00) 84%),
            url('/assets/img/hero-atelier-sophie.jpg');
        background-position: left top, 94% center;
        background-size: 100% 100%, auto 100%;
        padding: 42px 0;
    }
    .hero-panel {
    width: min(100%, 500px);
    margin-left: clamp(34px, 5.2vw, 68px);
    padding-right: 14px;
}
    .hero h1 {
    font-size: clamp(2rem, 3.9vw, 3.35rem);
    line-height: 1.04;
    margin-bottom: 18px;
    max-width: 12.5ch;
    color: var(--gold);
}
    .hero-kicker {
    color: var(--gold-light);
    font-weight: 700;
    font-size: clamp(0.98rem, 1.3vw, 1.14rem);
    line-height: 1.34;
    max-width: 26ch;
    margin-bottom: 16px;
}
    .hero-text {
    color: rgba(255,255,255,0.93);
    font-size: 0.98rem;
    line-height: 1.64;
    max-width: 27ch;
}
}


/* --- Correctif final hero + cartes services --- */
.hero h1 {
    color: #ffffff !important;
}
.service-card h3 {
    color: var(--gold) !important;
}

@media (max-width: 1100px) {
    .hero-copy {
        background-position: left top, 86% center !important;
        background-size: 100% 100%, auto 100% !important;
    }
    .hero h1 {
        color: #ffffff !important;
    }
}

@media (max-width: 760px) {
    .hero-copy {
        min-height: 720px !important;
        background-image:
            linear-gradient(90deg,
                rgba(10, 8, 7, 0.90) 0%,
                rgba(16, 13, 11, 0.84) 30%,
                rgba(22, 18, 15, 0.54) 44%,
                rgba(22, 18, 15, 0.18) 58%,
                rgba(22, 18, 15, 0.03) 70%,
                rgba(22, 18, 15, 0.00) 82%),
            url('/assets/img/hero-atelier-sophie.jpg') !important;
        background-position: left top, 72% center !important;
        background-size: 100% 100%, cover !important;
        padding: 40px 0 34px !important;
    }
    .hero-panel {
        width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        padding-right: 10px !important;
    }
    .hero h1 {
        color: #ffffff !important;
        font-size: 1.42rem !important;
        line-height: 1.08 !important;
        max-width: 9.2ch !important;
        margin-bottom: 14px !important;
    }
    .hero-kicker {
        max-width: 16ch !important;
        font-size: 0.9rem !important;
        margin-bottom: 14px !important;
    }
    .hero-text {
        max-width: 15.5ch !important;
        font-size: 0.88rem !important;
        line-height: 1.56 !important;
    }
    .hero-actions {
        gap: 10px !important;
        margin-top: 16px !important;
    }
    .btn {
        padding: 12px 16px !important;
        font-size: 0.92rem !important;
    }
}

@media (max-width: 480px) {
    .hero-copy {
        min-height: 760px !important;
        background-position: left top, 70% center !important;
    }
    .hero-panel {
        width: calc(100% - 34px) !important;
        margin-left: 17px !important;
    }
    .hero h1 {
        font-size: 1.28rem !important;
        max-width: 8.8ch !important;
    }
    .hero-kicker {
        max-width: 15ch !important;
    }
    .hero-text {
        max-width: 14.5ch !important;
        font-size: 0.86rem !important;
    }
}



/* --- Mobile hero image dedicated crop --- */
.service-card h3 {
    color: var(--gold) !important;
}
.hero h1 {
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .hero-copy {
        background-image:
            linear-gradient(90deg,
                rgba(10, 8, 7, 0.90) 0%,
                rgba(16, 13, 11, 0.84) 30%,
                rgba(22, 18, 15, 0.54) 44%,
                rgba(22, 18, 15, 0.18) 58%,
                rgba(22, 18, 15, 0.03) 70%,
                rgba(22, 18, 15, 0.00) 82%),
            url('/assets/img/hero-atelier-sophie-mobile.jpg') !important;
        background-position: left top, 64% 18% !important;
        background-size: 100% 100%, cover !important;
        min-height: 720px !important;
        padding: 40px 0 34px !important;
    }
    .hero-panel {
        width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        padding-right: 10px !important;
    }
    .hero h1 {
        font-size: 1.42rem !important;
        line-height: 1.08 !important;
        max-width: 9.2ch !important;
        margin-bottom: 14px !important;
        color: #ffffff !important;
    }
    .hero-kicker {
        max-width: 16ch !important;
        font-size: 0.9rem !important;
        margin-bottom: 14px !important;
    }
    .hero-text {
        max-width: 15.5ch !important;
        font-size: 0.88rem !important;
        line-height: 1.56 !important;
    }
    .hero-actions {
        gap: 10px !important;
        margin-top: 16px !important;
    }
    .btn {
        padding: 12px 16px !important;
        font-size: 0.92rem !important;
    }
}

@media (max-width: 480px) {
    .hero-copy {
        background-position: left top, 60% 16% !important;
        min-height: 760px !important;
    }
    .hero-panel {
        width: calc(100% - 34px) !important;
        margin-left: 17px !important;
    }
    .hero h1 {
        font-size: 1.28rem !important;
        max-width: 8.8ch !important;
    }
    .hero-kicker {
        max-width: 15ch !important;
    }
    .hero-text {
        max-width: 14.5ch !important;
        font-size: 0.86rem !important;
    }
}


/* --- Galerie : harmonisation titres + descriptions --- */
.gallery-card {
    display: flex;
    flex-direction: column;
}

.gallery-card-label {
    display: block;
    padding: 18px 20px 8px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #8f6a45;
    font-size: 0.98rem;
    line-height: 1.22;
    font-weight: 700;
}

.gallery-card-description {
    display: block;
    padding: 0 20px 22px;
    font-family: 'Playfair Display', serif;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.64;
}

@media (min-width: 860px) {
    .gallery-grid {
        gap: 20px;
    }

    .gallery-card-label {
        padding: 20px 22px 8px;
        font-size: 1rem;
    }

    .gallery-card-description {
        padding: 0 22px 24px;
    }
}

@media (max-width: 640px) {
    .gallery-card-label {
        padding: 16px 16px 8px;
        font-size: 0.9rem;
    }

    .gallery-card-description {
        padding: 0 16px 18px;
        font-size: 0.92rem;
        line-height: 1.58;
    }
}


/* Contact */
.contact-hero .page-intro {
    max-width: 62ch;
}
.contact-section {
    padding: 18px 0 44px;
}
.contact-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}
.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}
.contact-card-head h2,
.contact-info-card h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 10px;
}
.contact-card-head p,
.contact-info-card > p:last-of-type,
.contact-info-item p {
    color: var(--text-soft);
}
.contact-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 10px;
}
.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}
.contact-field {
    display: grid;
    gap: 8px;
}
.contact-field label {
    font-weight: 700;
    color: var(--text);
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(171, 128, 86, 0.28);
    background: #fffdf9;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-field textarea {
    min-height: 180px;
    resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(171, 128, 86, 0.58);
    box-shadow: 0 0 0 4px rgba(171, 128, 86, 0.12);
    background: #ffffff;
}
.contact-submit {
    justify-self: start;
    margin-top: 4px;
}
.contact-alert {
    margin-top: 18px;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.98rem;
}
.contact-alert ul {
    margin: 0;
    padding-left: 18px;
}
.contact-alert-error {
    background: #fff3f1;
    border: 1px solid rgba(176, 68, 54, 0.18);
    color: #7c2d23;
}
.contact-alert-success {
    background: #f3fbf5;
    border: 1px solid rgba(66, 124, 82, 0.18);
    color: #245233;
}
.contact-info-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}
.contact-info-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fffaf2;
    border: 1px solid rgba(171, 128, 86, 0.16);
}
.contact-info-label {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.contact-info-item a {
    color: var(--text);
    font-weight: 700;
}
.contact-info-item a:hover {
    color: var(--gold);
}
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (min-width: 920px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }
    .contact-card {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding-bottom: 34px;
    }
    .contact-card {
        padding: 18px;
    }
    .contact-submit,
    .contact-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* --- Boutique : page en préparation --- */
.boutique-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    line-height: 1.16;
    margin-bottom: 14px;
}

.boutique-coming-section {
    padding: 18px 0 44px;
}

.boutique-coming-grid {
    display: grid;
    gap: 20px;
}

.boutique-coming-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.boutique-coming-card-main {
    background: #efe3cf;
}

.boutique-coming-card h2,
.boutique-coming-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 12px;
}

.boutique-coming-card p {
    color: var(--text-soft);
}

.boutique-coming-card p + p {
    margin-top: 12px;
}

.boutique-coming-card .btn-secondary {
    color: var(--gold);
    background: transparent;
    border-color: var(--gold);
}

@media (min-width: 860px) {
    .boutique-coming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .boutique-coming-card-main {
        grid-column: 1 / -1;
    }
}

/* --- Boutique : affichage dynamique articles --- */
.boutique-public-section {
    padding: 20px 0 54px;
}

.boutique-public-intro {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--text-soft);
    line-height: 1.7;
}

.boutique-public-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 22px;
}

.boutique-product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.boutique-product-link {
    color: inherit;
    text-decoration: none;
    display: block;
    flex: 1;
}

.boutique-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #efe3cf;
    overflow: hidden;
}

.boutique-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boutique-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    color: var(--gold);
    letter-spacing: .18em;
    background: linear-gradient(135deg, #f7f0e3, #e9d5b8);
}

.boutique-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,.92);
    color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .75rem;
    font-weight: 600;
}

.boutique-product-body {
    padding: 18px 18px 8px;
}

.boutique-product-category {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--gold);
    margin-bottom: 8px;
}

.boutique-product-body h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.28;
    margin-bottom: 8px;
}

.boutique-product-meta {
    color: var(--text-soft);
    font-size: .9rem;
    margin-bottom: 8px;
}

.boutique-product-price {
    color: var(--gold);
    font-weight: 700;
    margin-top: 10px;
}

.boutique-product-actions {
    padding: 0 18px 18px;
}

.boutique-product-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.boutique-sold-note {
    display: block;
    color: var(--text-soft);
    font-size: .92rem;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

@media (min-width: 520px) {
    .boutique-public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 760px) and (max-width: 1023px) {
    .boutique-public-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .boutique-public-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
