/*
Theme Name: Atelier d'Artiste
Theme URI: https://exemple.com/atelier-artiste
Author: Serge Meloche
Author URI: https://exemple.com
Description: Thème élégant pour Valérie Malo : pour ses œuvres, gestion autonome des tableaux (dimensions cm/pouces, prix, statut), page de présentation, contact et réglages simples. Conçu pour présenter son art avec raffinement.
Version: 1.4.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atelier
Tags: portfolio, art, gallery, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, full-width-template
*/

/* =========================================================
   1. Variables & réinitialisation
   ========================================================= */
:root {
	--accent: #9c6b3f;
	--accent-dark: #7c5330;
	--ink: #26221d;
	--ink-soft: #5c554b;
	--muted: #8c8578;
	--line: #e5ddce;
	--paper: #faf7f1;
	--paper-2: #f2ece0;
	--card: #ffffff;
	--white: #ffffff;
	--font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 4px;
	--shadow: 0 18px 40px -24px rgba(38, 34, 29, .45);
	--shadow-soft: 0 8px 24px -18px rgba(38, 34, 29, .5);
	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.12;
	color: var(--ink);
	margin: 0 0 .5em;
	letter-spacing: .2px;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 9999;
	background: var(--ink); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =========================================================
   2. Boutons & éléments communs
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5em;
	padding: 14px 30px;
	font-family: var(--font-body);
	font-size: .85rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	border-radius: var(--radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .22s ease;
	line-height: 1;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--block { display: flex; width: 100%; }

.section-eyebrow {
	font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
	color: var(--accent); font-weight: 600; margin: 0 0 .6em;
}
.link-arrow {
	display: inline-block; font-weight: 500; letter-spacing: .04em;
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.75; }

/* =========================================================
   3. En-tête
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(250, 247, 241, .92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 20px -18px rgba(0,0,0,.5);
}
.site-header__inner {
	max-width: var(--wrap); margin: 0 auto;
	padding: 18px var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-title {
	font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600;
	color: var(--ink); letter-spacing: .5px;
}
.site-logo img { max-height: 60px; width: auto; }

.site-nav .nav-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 30px;
}
.site-nav a {
	color: var(--ink); font-size: .82rem; font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase;
	position: relative; padding: 6px 0;
}
.site-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 0; height: 1.5px; background: var(--accent); transition: width .25s ease;
}
.site-nav a:hover::after,
.site-nav .current-menu-item > a::after { width: 100%; }
.site-nav .sub-menu {
	position: absolute; list-style: none; margin: 10px 0 0; padding: 10px 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-soft); min-width: 190px; display: none;
}
.site-nav .menu-item-has-children { position: relative; }
.site-nav .menu-item-has-children:hover .sub-menu { display: block; }
.site-nav .sub-menu a { padding: 8px 18px; text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.site-nav .sub-menu a::after { display: none; }

.menu-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent;
	cursor: pointer; position: relative;
}
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
	content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
	background: var(--ink); transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle__bar { top: 21px; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
body.nav-open .menu-toggle__bar { background: transparent; }
body.nav-open .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   4. Accueil — héros
   ========================================================= */
.hero {
	position: relative;
	min-height: min(78vh, 720px);
	display: flex; align-items: center;
	padding: 100px var(--gutter);
	background: var(--paper-2);
	overflow: hidden;
}
.hero--image {
	background-image: var(--hero-bg);
	background-size: cover; background-position: center;
}
.hero__overlay { position: absolute; inset: 0; }
.hero--image .hero__overlay {
	background: linear-gradient(105deg, rgba(30,25,20,.72) 0%, rgba(30,25,20,.32) 55%, rgba(30,25,20,.15) 100%);
}
.hero__content { position: relative; max-width: 680px; margin: 0 auto; text-align: center; width: 100%; }
.hero--image .hero__content { color: #fff; }
.hero--image .hero__title, .hero--image .hero__eyebrow { color: #fff; }
.hero__eyebrow {
	font-size: .82rem; letter-spacing: .32em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 18px; font-weight: 600;
}
.hero__title { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 20px; }
.hero__intro { font-size: 1.2rem; line-height: 1.7; margin: 0 auto 32px; max-width: 560px; }
.hero--image .hero__intro { color: rgba(255,255,255,.9); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   5. Sections génériques
   ========================================================= */
.section { padding: clamp(56px, 8vw, 110px) var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 46px; }
.section__more { text-align: center; margin-top: 50px; }
.content-narrow { max-width: 760px; margin: 0 auto; }

/* Présentation artiste */
.intro-artiste { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-artiste__inner {
	max-width: var(--wrap); margin: 0 auto;
	padding: clamp(56px, 8vw, 100px) var(--gutter);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(30px, 6vw, 80px); align-items: center;
}
.intro-artiste__photo img {
	width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
	aspect-ratio: 4 / 5; object-fit: cover;
}
.intro-artiste__text h2 { margin-bottom: 22px; }

/* =========================================================
   6. Grille d'œuvres
   ========================================================= */
.oeuvres-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(20px, 3vw, 40px);
}
.oeuvres-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.oeuvre-card { position: relative; }
.oeuvre-card__link { display: block; color: inherit; }
.oeuvre-card__media {
	position: relative; display: block; overflow: hidden;
	background: var(--paper-2); border-radius: var(--radius);
	aspect-ratio: 1 / 1;
}
.oeuvre-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.oeuvre-card__link:hover .oeuvre-card__media img { transform: scale(1.05); }
.oeuvre-card__flag {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	background: var(--ink); color: #fff; font-size: .68rem;
	letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px;
	border-radius: 2px;
}
.oeuvre-card__body { padding: 16px 2px 4px; }
.oeuvre-card__title {
	display: block; font-family: var(--font-heading); font-size: 1.35rem;
	font-weight: 500; color: var(--ink); line-height: 1.2;
}
.oeuvre-card__meta { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.oeuvre-card__price { display: block; margin-top: 8px; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.oeuvre-card__price--demande { color: var(--muted); font-weight: 500; font-style: italic; }

/* Remplacement d'image manquante */
.oeuvre-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--paper-2), #e8e0d2);
}
.oeuvre-placeholder span {
	font-family: var(--font-heading); font-size: 4rem; color: rgba(156,107,63,.4);
}

/* =========================================================
   7. En-tête de page & filtres
   ========================================================= */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--gutter); }
.page-hero__title { margin: 0; }

.galerie-filtres {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
	padding: 28px var(--gutter) 0; max-width: var(--wrap); margin: 0 auto;
}
.filtre {
	padding: 8px 18px; border: 1px solid var(--line); border-radius: 100px;
	font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); background: #fff;
	transition: all .2s ease;
}
.filtre:hover { border-color: var(--accent); color: var(--accent); }
.filtre.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.galerie-vide { text-align: center; padding: 60px 0; color: var(--muted); }
.galerie-vide p { margin-bottom: 20px; }

/* Pagination */
.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); font-size: .9rem; background: #fff;
}
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   8. Œuvre individuelle
   ========================================================= */
.oeuvre-single {
	max-width: var(--wrap); margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--gutter);
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(30px, 5vw, 70px); align-items: start;
}
.oeuvre-single__figure {
	background: var(--paper-2); border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden;
}
.oeuvre-single__figure img { width: 100%; }
.oeuvre-zoom { display: block; cursor: zoom-in; }
.oeuvre-single__figure .oeuvre-placeholder { aspect-ratio: 4/5; }

.oeuvre-single__details { position: sticky; top: 100px; }
.oeuvre-single__back { margin-bottom: 20px; }
.oeuvre-single__back a { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.oeuvre-single__title { margin: 0 0 14px; }
.oeuvre-single__status { margin-bottom: 24px; }

.oeuvre-badge {
	display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
	padding: 6px 14px; border-radius: 100px; font-weight: 600;
}
.oeuvre-badge--disponible { background: #e7f0e4; color: #3f6b3a; }
.oeuvre-badge--vendue { background: #f3e2e0; color: #9a3f37; }
.oeuvre-badge--reservee { background: #f4ecda; color: #8a6a25; }
.oeuvre-badge--non_disponible { background: #eceae6; color: #6b6459; }

.oeuvre-specs { margin: 0 0 26px; border-top: 1px solid var(--line); }
.oeuvre-specs > div {
	display: flex; justify-content: space-between; gap: 20px;
	padding: 13px 0; border-bottom: 1px solid var(--line);
}
.oeuvre-specs dt { margin: 0; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.oeuvre-specs dd { margin: 0; text-align: right; font-weight: 500; }

.oeuvre-single__price {
	font-family: var(--font-heading); font-size: 2rem; color: var(--accent);
	margin-bottom: 24px; font-weight: 600;
}
.oeuvre-single__price .prix-indispo { color: var(--muted); font-style: italic; }
.oeuvre-single__desc { color: var(--ink-soft); margin-bottom: 28px; }
.oeuvre-single__cta { margin-bottom: 22px; }
.oeuvre-single__cta-note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

.oeuvre-single__share {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px;
}
.oeuvre-single__share a { font-weight: 500; }

.section--connexes { border-top: 1px solid var(--line); }

/* =========================================================
   9. À propos & contact
   ========================================================= */
.apropos__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(30px, 6vw, 80px); align-items: start;
}
.apropos__photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.apropos__cadre {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	width: 100%; aspect-ratio: 4/5; border: 2px dashed var(--line); border-radius: var(--radius);
	background: var(--paper-2); color: var(--muted); text-align: center;
	font-size: .95rem; letter-spacing: .04em; text-decoration: none;
}
.apropos__cadre--action { cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.apropos__cadre--action:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.apropos__cadre-plus { font-size: 2.6rem; line-height: 1; }
.apropos__ville { margin-top: 14px; text-align: center; color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.apropos__text { font-size: 1.05rem; }

.contact__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(30px, 6vw, 70px); align-items: start;
}
.contact__coords { list-style: none; margin: 26px 0; padding: 0; }
.contact__coords li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.contact__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__social { display: flex; gap: 18px; margin-top: 10px; }

/* Contact en pleine largeur (formulaire agrandi) */
.contact--stack { max-width: 900px; }
.contact__lead { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.contact__lead .entry-content { font-size: 1.05rem; }
.contact__coords--inline { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 12px 30px; margin: 22px 0 0; padding: 0; }
.contact__coords--inline li { border: 0; padding: 0; flex-direction: row; align-items: baseline; gap: 8px; }
.contact__form--wide { max-width: 820px; margin: 0 auto; }

/* Formulaire */
.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.contact__form h2 { font-size: 1.6rem; margin-bottom: 20px; }
.contact__form--shortcode { max-width: 680px; margin: 30px auto; }
.entry-content .contact__form--shortcode a { border-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.form-row label .req { color: var(--accent); }
.form-row label .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.form-row input, .form-row textarea, .form-row select {
	width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
	color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none;
}
.form-row select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238c8578' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156,107,63,.12); background-color: #fff;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--muted); margin: -4px 0 16px; }
.oeuvre-apercu { display: flex; gap: 20px; align-items: flex-start; margin: -2px 0 20px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.oeuvre-apercu[hidden] { display: none; }
.oeuvre-apercu img { width: 200px; max-width: 42%; flex: none; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.oeuvre-apercu__info { font-size: .92rem; color: var(--ink-soft); }
.apercu-titre { font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); line-height: 1.15; margin-bottom: 4px; }
.apercu-meta { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.apercu-prix { color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.apercu-desc { line-height: 1.55; }
@media (max-width: 520px) { .oeuvre-apercu { flex-direction: column; } .oeuvre-apercu img { width: 100%; max-width: 100%; } }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.contact-notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .95rem; }
.contact-notice--succes { background: #e7f0e4; color: #35622f; border: 1px solid #bcd6b4; }
.contact-notice--erreur { background: #f7e4e2; color: #93362e; border: 1px solid #e3b7b2; }

/* =========================================================
   10. Bande d'appel à l'action
   ========================================================= */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band__inner { max-width: 680px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 30px; font-size: 1.1rem; }

/* =========================================================
   11. Contenu éditorial (entry-content)
   ========================================================= */
.entry-content { line-height: 1.8; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); margin: 1.4em 0; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent);
	font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: var(--ink-soft);
}
.entry-content a { border-bottom: 1px solid rgba(156,107,63,.4); }

/* Articles de blogue */
.post-item { padding: 34px 0; border-bottom: 1px solid var(--line); }
.post-item__title { font-size: 1.7rem; margin-bottom: 6px; }
.post-item__meta { font-size: .82rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }

/* =========================================================
   12. Pied de page
   ========================================================= */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); }
.site-footer__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 30px;
	display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.site-footer__name { font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); display: block; }
.site-footer__ville { font-size: .85rem; color: var(--muted); }
.site-footer__contact { display: flex; flex-direction: column; gap: 4px; }
.site-footer__contact a { color: var(--ink-soft); }
.site-footer__social { display: flex; gap: 14px; }
.site-footer__social a {
	width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft); background: #fff;
}
.site-footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer__legal {
	text-align: center; padding: 18px var(--gutter); border-top: 1px solid var(--line);
	font-size: .8rem; color: var(--muted); letter-spacing: .04em;
}

/* =========================================================
   13. Lightbox
   ========================================================= */
.lightbox {
	position: fixed; inset: 0; z-index: 999; display: none;
	align-items: center; justify-content: center; padding: 4vmin;
	background: rgba(24, 20, 16, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close {
	position: absolute; top: 20px; right: 26px; background: transparent; border: 0;
	color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox__close:hover { opacity: 1; }
body.lightbox-open { overflow: hidden; }

/* =========================================================
   14. Responsive
   ========================================================= */
@media (max-width: 900px) {
	.oeuvre-single { grid-template-columns: 1fr; }
	.oeuvre-single__details { position: static; }
	.intro-artiste__inner,
	.apropos__inner,
	.contact__inner { grid-template-columns: 1fr; }
	.intro-artiste__photo,
	.apropos__media { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 780px) {
	body { font-size: 16px; }
	.menu-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
		background: var(--paper); border-left: 1px solid var(--line);
		transform: translateX(100%); transition: transform .3s ease;
		padding: 90px 30px 30px; z-index: 90; box-shadow: var(--shadow);
	}
	body.nav-open .site-nav { transform: translateX(0); }
	.site-nav .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.site-nav .nav-menu > li { width: 100%; border-bottom: 1px solid var(--line); }
	.site-nav a { display: block; padding: 14px 0; font-size: .95rem; }
	.site-nav a::after { display: none; }
	.site-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 14px; margin: 0; }
	.site-footer__inner { flex-direction: column; text-align: center; align-items: center; }
	.site-footer__contact { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
