/* ==========================================================
   LUXINARTE — FEUILLE DE STYLE PRINCIPALE
   Daniel Trammer
   Feuille mise en forme et organisée par sections numérotées
   ========================================================== */


/* ==========================================================
   01 — Variables globales
   ========================================================== */

:root {
    --ink: #171612;
    --muted: #746f65;
    --paper: #f7f5ef;
    --white: #fff;
    --gold: #c5a36b;
    --gold-dark: #997343;
    --line: #ded8cb;
    --serif: "Cormorant Garamond",Georgia,serif;
    --sans: "Montserrat",Arial,sans-serif;
    --max: 1240px;
    --shadow: 0 18px 55px rgba(16,14,9,.15);
}


/* ==========================================================
   02 — Réinitialisation et éléments généraux
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px),var(--max));
    margin: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    padding: 10px;
    z-index: 999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}


/* ==========================================================
   03 — En-tête et navigation
   ========================================================== */

.topbar {
    background: var(--ink);
    color: #e7dfd1;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar-inner {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar a {
    color: #d5b680;
}

.site-header {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.nav-wrap {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    width: 215px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.main-nav>a,.nav-drop-toggle {
    position: relative;
    padding: 42px 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.main-nav>a::after,.nav-drop-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 31px;
    height: 2px;
    background: var(--gold);
    transition: .3s;
}

.main-nav>a:hover::after,.main-nav>a.active::after,.nav-drop-toggle:hover::after {
    right: 0;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 78px;
    left: -22px;
    min-width: 210px;
    padding: 12px 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
}

.dropdown-menu a {
    display: block;
    padding: 9px 20px;
    font-size: 11px;
}

.dropdown-menu a:hover {
    background: var(--paper);
    color: var(--gold-dark);
}

.nav-dropdown:hover .dropdown-menu,.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px auto;
    background: #111;
}


/* ==========================================================
   04 — Slider / Hero
   ========================================================== */

.hero {
    position: relative;
    height: min(72vw, 720px);
    min-height: 560px;
    overflow: hidden;
    background: #1f2022;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .30);
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(3.5%) scale(1.02);
    transition:
        opacity 1.35s ease,
        transform 1.65s ease;
    pointer-events: none;
}

.hero-slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 10, .72) 0%,
            rgba(8, 9, 10, .35) 48%,
            rgba(8, 9, 10, .14) 100%
        );
}

.hero-slide:first-child .hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 10, .25) 0%,
            rgba(8, 9, 10, .52) 100%
        );
}

.hero-slide .hero-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: min(calc(100% - 48px), var(--max));
    height: 100%;
    margin: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
}

.hero-content.hero-right {
    align-items: flex-end;
    text-align: left;
}

.hero-content.hero-right > * {
    width: min(48%, 590px);
}

.hero-content.hero-left {
    align-items: flex-start;
    text-align: left;
}

.hero-content.hero-left > * {
    width: min(52%, 610px);
}

.eyebrow,
.section-kicker {
    font-family: var(--serif);
    font-style: italic;
    font-size: 23px;
    color: #d7b57c;
    margin: 0 0 9px;
}

.hero h1,
.hero h2 {
    position: relative;
    z-index: 3;
    font-family: var(--serif);
    font-size: clamp(52px, 5.2vw, 82px);
    font-weight: 500;
    line-height: .93;
    letter-spacing: -.025em;
    margin: 0 0 24px;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .48);
}

.hero-copy {
    position: relative;
    z-index: 3;
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 30px;
    color: #f0ece6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.hero-actions {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 25px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: .28s;
}

.btn-gold {
    background: var(--gold);
    color: #15120e;
}

.btn-gold:hover {
    background: #d3b681;
    transform: translateY(-2px);
}

.btn-dark {
    background: #171819;
    color: #ffffff;
}

.btn-dark:hover {
    background: #0f1011;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .65);
    color: #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #111111;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 46px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .18);
    color: #ffffff;
    font-size: 34px;
    cursor: pointer;
    transition: .25s;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, .50);
}

.hero-arrow.prev {
    left: 18px;
}

.hero-arrow.next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 10;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 26px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.hero-dots button.active {
    background: var(--gold);
}

/* ==========================================================
   05 — Sections générales et introduction
   ========================================================== */

.section-pad {
    padding: 95px 0;
}

.patterned {
    background-color: var(--paper);
    background-image: url('../images/line-bg.png');
    background-repeat: repeat-y;
    background-size: 100% 1px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;
    align-items: center;
}

.image-stage {
    position: relative;
    padding: 25px;
}

.image-stage::before {
    content: "";
    position: absolute;
    inset: 0 42% 38% 0;
    border: 1px solid var(--gold);
}

.image-stage img {
    position: relative;
    width: 100%;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,.1));
}

.intro-copy h2,.section-heading h2,.artist h2,.passion h2,.contact-cta h2 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.03;
    margin: .1em 0 .45em;
    font-size: clamp(42px,4.5vw,68px);
    letter-spacing: -.02em;
}

.ornament {
    width: 86px;
    height: 1px;
    background: var(--gold);
    margin: 25px 0;
}

.lead {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.4;
}

.intro-copy p:not(.section-kicker) {
    max-width: 600px;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.text-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

.text-link:hover {
    color: var(--gold-dark);
}


/* ==========================================================
   06 — Nouvelles œuvres et cartes
   ========================================================== */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-heading p:last-child {
    color: var(--muted);
    margin-top: -10px;
}

.featured-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 38px;
}

.feature-card {
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #111;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.feature-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 70px 28px 24px;
    background: linear-gradient(transparent,rgba(0,0,0,.78));
    color: #fff;
}

.feature-caption span {
    display: block;
    color: #d9bd8d;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.feature-caption strong {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 22px;
}

.work-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.work-card>a {
    display: block;
    overflow: hidden;
    background: #ece8df;
    aspect-ratio: 4/5;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.work-card:hover img {
    transform: scale(1.025);
}

.work-meta span,.blog-body>span {
    display: block;
    margin-top: 15px;
    color: var(--gold-dark);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.work-meta h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.1;
    margin: 7px 0 4px;
}

.work-meta p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.center {
    text-align: center;
    margin-top: 45px;
}


/* ==========================================================
   07 — Présentation de l’artiste et section Passion
   ========================================================== */

.artist-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 0;
}

.artist-card {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 54px 58px;
    margin-right: -70px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
}

.artist-card h2 {
    font-size: clamp(38px,3.6vw,55px);
}

.artist-card h2 em {
    font-size: .67em;
    color: #786a55;
}

.artist-card blockquote {
    font-family: var(--serif);
    font-size: 23px;
    font-style: italic;
    margin: 27px 0 5px;
    padding-left: 18px;
    border-left: 2px solid var(--gold);
}

.signature {
    width: 135px;
    margin: 12px 0;
}

.artist-image img {
    width: 100%;
    min-height: 620px;
    object-fit: cover;
}

.dark-section {
    background: #191816;
    color: #eee;
}

.passion-grid {
    display: grid;
    grid-template-columns: 1fr .75fr;
    align-items: center;
    gap: 9vw;
}

.section-kicker.light {
    color: #d0b17f;
}

.passion p:not(.section-kicker) {
    color: #c6c0b5;
    max-width: 590px;
}

.passion figure {
    margin: 0;
    position: relative;
}

.passion figure::before {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    border: 1px solid rgba(197,163,107,.7);
}

.passion figure img {
    position: relative;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: 50% 20%;
}


/* ==========================================================
   08 — Avis clients et aperçu du blog
   ========================================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.testimonial-card {
    text-align: center;
    padding: 35px 30px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 30px rgba(26,22,14,.04);
}

.testimonial-card img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

.testimonial-card p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1.45;
}

.testimonial-card strong {
    display: block;
    margin-top: 20px;
}

.testimonial-card span {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.blog-card {
    display: grid;
    grid-template-columns: 43% 57%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}

.blog-image {
    min-height: 290px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 28px;
}

.blog-body h3 {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    margin: 8px 0;
}

.blog-body p {
    color: var(--muted);
}

.blog-body a {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold);
}


/* ==========================================================
   09 — Appel à l’action et pied de page
   ========================================================== */

.contact-cta {
    background: #2a2721;
    color: #fff;
    padding: 58px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-cta h2 {
    font-size: 50px;
    margin: 0;
}

.contact-cta .section-kicker {
    margin: 0;
}

.site-footer {
    background: #12110f;
    color: #bdb7ac;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3,1fr);
    gap: 50px;
}

.footer-logo {
    width: 200px;
    margin-bottom: 18px;
}

.site-footer h3 {
    font-family: var(--serif);
    font-size: 21px;
    color: #fff;
    font-weight: 500;
    margin: 0 0 15px;
}

.site-footer a {
    display: block;
    color: #d3cfc7;
    font-size: 13px;
    margin: 7px 0;
}

.site-footer a:hover {
    color: #d5b27a;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid #2b2924;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}


/* ==========================================================
   10 — Animations d’apparition
   ========================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease,transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* ==========================================================
   11 — Responsive général — écrans ≤ 1050 px
   ========================================================== */

@media (max-width:1050px) {
    .main-nav {
        gap: 18px;
    }

    .works-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .artist-card {
        margin-right: -35px;
        padding: 42px;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-grid>div:last-child {
        grid-column: 2/4;
    }

    .hero-content.hero-right>* {
        width: min(55%,590px);
    }

}


/* ==========================================================
   12 — Responsive général — tablettes ≤ 820 px
   ========================================================== */

@media (max-width:820px) {
    .topbar {
        display: none;
    }

    .nav-wrap {
        height: 82px;
    }

    .brand img {
        width: 180px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        background: #fff;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 25px;
        border-top: 1px solid #eee;
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav>a,.nav-drop-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 13px 0;
    }

    .main-nav>a::after,.nav-drop-toggle::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 5px 15px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        height: 690px;
    }

    .hero-content.hero-left>*,.hero-content.hero-right>* {
        width: 85%;
        align-self: flex-start;
    }

    .hero-bg {
        object-position: center center;
    }

    .hero h1,.hero h2 {
        font-size: 58px;
    }

    .hero-arrow {
        display: none;
    }

    .split,.artist-grid,.passion-grid {
        grid-template-columns: 1fr;
    }

    .section-pad {
        padding: 75px 0;
    }

    .intro-grid {
        gap: 45px;
    }

    .featured-strip {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .artist-card {
        margin: 0 0 -35px 20px;
        padding: 38px;
    }

    .artist-image img {
        min-height: 470px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid>div:last-child {
        grid-column: auto;
    }

    .cta-inner {
        align-items: flex-start;
    }

    .passion figure img {
        height: 440px;
    }

}


/* ==========================================================
   13 — Responsive général — mobiles ≤ 560 px
   ========================================================== */

@media (max-width:560px) {
    .container {
        width: min(calc(100% - 30px),var(--max));
    }

    .hero {
        height: 650px;
        min-height: 0;
    }

    .hero-content.hero-left>*,.hero-content.hero-right>* {
        width: 100%;
    }

    .hero h1,.hero h2 {
        font-size: 47px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .section-pad {
        padding: 62px 0;
    }

    .intro-copy h2,.section-heading h2,.artist h2,.passion h2 {
        font-size: 42px;
    }

    .featured-strip {
        gap: 18px;
    }

    .feature-card {
        height: 330px;
    }

    .works-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .work-meta h3 {
        font-size: 19px;
    }

    .artist-card {
        margin: 0 0 -20px 10px;
        padding: 30px 25px;
    }

    .artist-image img {
        min-height: 370px;
    }

    .blog-body {
        padding: 23px;
    }

    .cta-inner {
        flex-direction: column;
    }

    .contact-cta h2 {
        font-size: 42px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .button-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .eyebrow,.section-kicker {
        font-size: 19px;
    }

}


/* ==========================================================
   14 — Pages intérieures — navigation et menu Galeries
   ========================================================== */

.gallery-menu {
    min-width: 440px;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
}

.nav-dropdown:hover .gallery-menu {
    display: grid;
}

.nav-dropdown.active-parent>.nav-drop-toggle {
    color: var(--gold-dark);
}


/* ==========================================================
   15 — Hero des pages intérieures et contenu texte
   ========================================================== */

.page-hero {
    position: relative;
    background: linear-gradient(rgba(15,14,12,.80),rgba(15,14,12,.76)),url('../images/hero-heritage.jpg') center/cover no-repeat;
    color: #fff;
    padding: 105px 0 90px;
    border-bottom: 1px solid #332e27;
}

.page-hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(52px,6vw,84px);
    line-height: 1;
    margin: 8px 0 20px;
    letter-spacing: -.02em;
}

.page-hero>div>p:last-child {
    max-width: 760px;
    color: #ded8ce;
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.5;
}

.inner-section {
    padding: 85px 0;
}

.inner-section.patterned {
    background-color: #f6f2e9;
}

.prose {
    max-width: 850px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.75;
    color: #4c473f;
}

.prose h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin: 1.3em 0 .4em;
}

.prose p {
    margin: 0 0 1.1em;
}

.prose strong {
    color: var(--ink);
}


/* ==========================================================
   16 — Galerie d’œuvres
   ========================================================== */

.gallery-intro {
    max-width: 900px;
    text-align: center;
    margin: 0 auto 55px;
}

.gallery-intro h2 {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 500;
    margin: 0 0 15px;
}

.gallery-intro p {
    font-family: var(--serif);
    font-size: 21px;
    color: var(--muted);
    line-height: 1.55;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px 26px;
}

.gallery-card {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

.gallery-image {
    display: block;
    overflow: hidden;
    background: #e8e3d9;
    aspect-ratio: 4/5;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.025);
}

.gallery-caption {
    padding: 16px 4px 0;
}

.gallery-caption span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold-dark);
}

.gallery-caption h2 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    margin: 6px 0 12px;
}

.gallery-caption h2 a:hover {
    color: var(--gold-dark);
}


/* ==========================================================
   17 — Cartes de catégories
   ========================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #111;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    transition: transform .7s ease,opacity .5s ease;
}

.category-card:hover img {
    transform: scale(1.04);
    opacity: .62;
}

.category-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 80px 28px 26px;
    background: linear-gradient(transparent,rgba(0,0,0,.78));
    color: #fff;
}

.category-card span {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d6b47e;
}

.category-card h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 34px;
    margin: 4px 0 0;
}


/* ==========================================================
   18 — Biographie
   ========================================================== */

.bio-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.bio-portrait {
    position: sticky;
    top: 125px;
}

.bio-portrait img {
    width: 100%;
    max-height: 690px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.bio-portrait .signature {
    margin: 20px auto 0;
}

.bio-copy h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 48px;
    margin: 0 0 24px;
}

.bio-copy p {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.7;
    color: #514b42;
}

.bio-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 35px;
}

.bio-fact {
    border: 1px solid var(--line);
    padding: 22px;
}

.bio-fact strong {
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
}

.bio-fact span {
    font-size: 12px;
    color: var(--muted);
}


/* ==========================================================
   19 — Contact
   ========================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
}

.contact-panel {
    background: #fff;
    padding: 42px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 35px rgba(0,0,0,.04);
}

.contact-panel h2 {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 20px;
}

.contact-list {
    display: grid;
    gap: 18px;
}

.contact-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.contact-item span {
    display: block;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 10px;
    color: var(--gold-dark);
    margin-bottom: 5px;
}

.contact-item a,.contact-item strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.contact-form label.full {
    grid-column: 1/-1;
}

.contact-form input,.contact-form textarea {
    width: 100%;
    border: 1px solid #d7d0c4;
    background: #fbfaf7;
    padding: 14px;
    font: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    justify-self: start;
}


/* ==========================================================
   20 — Fiches individuelles des œuvres
   ========================================================== */

.artwork-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 65px;
    align-items: start;
}

.artwork-image {
    background: #eee9df;
    padding: 24px;
}

.artwork-image img {
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    display: block;
}

.artwork-copy {
    padding-top: 18px;
}

.artwork-copy .section-kicker {
    margin-bottom: 8px;
}

.artwork-copy h1 {
    font-family: var(--serif);
    font-size: clamp(44px,5vw,68px);
    font-weight: 500;
    line-height: 1.02;
    margin: 0 0 22px;
}

.artwork-copy p {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
}

.artwork-meta {
    margin: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.artwork-meta div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.artwork-meta div:last-child {
    border-bottom: 0;
}

.artwork-meta span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}

.artwork-meta strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    text-align: right;
}


/* ==========================================================
   21 — Blog et articles
   ========================================================== */

.blog-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.blog-list .blog-card {
    display: block;
}

.blog-list .blog-image {
    height: 270px;
}

.article-hero-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    margin-bottom: 45px;
}

.article-body {
    max-width: 860px;
    margin: 0 auto;
}

.article-body p {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.72;
    color: #4d473f;
    margin: 0 0 1.25em;
}

.article-body h2 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    margin: 1.5em 0 .5em;
}

.article-body ul {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.7;
}


/* ==========================================================
   22 — Lightbox
   ========================================================== */

.lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px,90vw);
    max-height: 82vh;
    object-fit: contain;
}

.lightbox p {
    color: #eee;
    font-family: var(--serif);
    font-size: 19px;
}

.lightbox-close {
    position: absolute;
    right: 25px;
    top: 18px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 44px;
    cursor: pointer;
}


/* ==========================================================
   23 — Pages légales et états vides
   ========================================================== */

.legal {
    max-width: 900px;
}

.legal h2 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
}

.empty-note {
    padding: 35px;
    border: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
}


/* ==========================================================
   24 — Responsive pages intérieures — écrans ≤ 900 px
   ========================================================== */

@media (max-width:900px) {
    .gallery-grid,.category-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .bio-grid,.contact-grid,.artwork-layout {
        grid-template-columns: 1fr;
    }

    .bio-portrait {
        position: static;
        max-width: 560px;
        margin: auto;
    }

    .blog-list {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-menu {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .nav-dropdown:hover .gallery-menu {
        display: none;
    }

    .nav-dropdown.open .gallery-menu {
        display: grid;
    }

    .page-hero {
        padding: 80px 0 70px;
    }

}


/* ==========================================================
   25 — Responsive pages intérieures — mobiles ≤ 560 px
   ========================================================== */

@media (max-width:560px) {
    .gallery-grid,.category-grid,.blog-list {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form label.full {
        grid-column: auto;
    }

    .bio-facts {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .page-hero>div>p:last-child {
        font-size: 19px;
    }

    .inner-section {
        padding: 62px 0;
    }

    .category-card {
        min-height: 310px;
    }

    .artwork-image {
        padding: 10px;
    }

}

/* ==========================================================
   26 — Verrouillage du fond pendant la lightbox
   ========================================================== */

body.lightbox-open {
    overflow: hidden;
}

/* ==========================================================
   27 — Formulaire de contact
   ========================================================== */

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-status {
    min-height: 24px;
    margin: 2px 0 0;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

.form-status.success {
    color: #2f6b3c;
}

.form-status.error {
    color: #a62d2d;
}

#contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* ==========================================================
   28 — Modale de confirmation du formulaire
   ========================================================== */

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.success-modal.open {
    display: block;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 9, .72);
    backdrop-filter: blur(3px);
}

.success-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 520px);
    padding: 38px 34px 32px;
    transform: translate(-50%, -50%);
    background: #303134;
    color: #f1eee8;
    text-align: center;
    border: 1px solid rgba(197, 163, 107, .35);
    box-shadow: 0 32px 90px rgba(0, 0, 0, .55);
}

.success-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #ded9d0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.success-modal-close:hover {
    color: var(--gold);
    transform: scale(1.08);
}

.success-modal-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #d8bb89 0%, #c5a36b 100%);
    color: #181512;
    font-size: 38px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(197, 163, 107, .30);
}

.success-modal-kicker {
    margin: 0 0 8px;
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
}

.success-modal-box h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    line-height: 1.05;
}

.success-modal-box p {
    margin: 0 0 24px;
    color: #d8d4cc;
    font-size: 16px;
    line-height: 1.7;
}

body.modal-open {
    overflow: hidden;
}


/* ==========================================================
   29 — Thème Luxinarte : gris foncé
   ========================================================== */

:root {
    --paper: #2c2d2f;
    --muted: #b8b4ad;
    --line: #505155;
    --shadow: 0 18px 55px rgba(0, 0, 0, .32);
}

html,
body {
    background: #252628;
}

body {
    color: #ece9e2;
}

.site-header {
    background: rgba(45, 46, 48, .98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}

.topbar {
    background: #171819;
    color: #d7d3ca;
}

.topbar a {
    color: #d7b57c;
}

.main-nav,
.main-nav > a,
.nav-drop-toggle {
    color: #f1eee8;
}

.menu-toggle span {
    background: #f1eee8;
}

.dropdown-menu {
    background: #303134;
    border-color: #4a4b4e;
    color: #f0ede7;
}

.dropdown-menu a:hover {
    background: #252628;
    color: #d7b57c;
}

.patterned,
.inner-section.patterned {
    background-color: #2c2d2f;
}

.artist-card,
.testimonial-card,
.blog-card,
.gallery-card,
.contact-panel,
.bio-fact {
    background: #303134;
    color: #ece9e2;
    border-color: #505155;
}

.work-card > a,
.gallery-image,
.artwork-image {
    background: #343537;
}

.prose,
.bio-copy p,
.article-body p {
    color: #d4d0c8;
}

.prose h2,
.gallery-intro h2,
.bio-copy h2,
.contact-panel h2,
.artwork-copy h1,
.article-body h2,
.legal h2 {
    color: #f3f0e9;
}

.contact-form input,
.contact-form textarea {
    background: #202123;
    color: #f3f0e9;
    border-color: #54565a;
    color-scheme: dark;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9f9b94;
}

.contact-item {
    border-color: #505155;
}

.empty-note {
    border-color: #505155;
    color: #bbb7af;
}

.contact-cta {
    background: #202123;
}

.dark-section {
    background: #1d1e20;
}

.site-footer {
    background: #151618;
}

.page-hero {
    border-bottom-color: #45464a;
}

.text-link {
    color: #eeeae3;
}

.text-link:hover {
    color: var(--gold);
}

@media (max-width: 820px) {
    .main-nav {
        background: #303134;
        border-top-color: #494a4e;
        box-shadow: 0 15px 30px rgba(0, 0, 0, .30);
    }

    .hero-slide .hero-content {
        width: calc(100% - 40px);
    }

    .hero-content.hero-left,
    .hero-content.hero-right {
        align-items: flex-start;
    }

    .hero-content.hero-left > *,
    .hero-content.hero-right > * {
        width: 85%;
    }
}

@media (max-width: 560px) {
    .hero-slide .hero-content {
        width: calc(100% - 30px);
    }

    .hero-content.hero-left > *,
    .hero-content.hero-right > * {
        width: 100%;
    }

    .success-modal-box {
        padding: 32px 22px 24px;
    }

    .success-modal-box h3 {
        font-size: 34px;
    }
}
