/* ARTMGMT — espace privé. Polices hébergées par le site (licence SIL OFL, voir fonts/). */

@font-face { font-family: "GA Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Sans"; src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Serif"; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GA Cardo"; src: url("fonts/cardo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GA Cardo"; src: url("fonts/cardo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--ga-ink: #161616;
	--ga-ink-2: #34342f;
	--ga-grey: #5c5c58;
	--ga-line: #e6e6e2;
	--ga-line-2: #c9c9c3;
	--ga-soft: #f2f2ef;
	--ga-bg: #ffffff;
	--ga-sans: "GA Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ga-serif: "GA Serif", Georgia, serif;
	--ga-gutter: clamp(16px, 4vw, 32px);
	color-scheme: light;
}

/* ---------- Base ---------- */

body.ga { margin: 0; background: var(--ga-bg); color: var(--ga-ink); font: 15px/1.5 var(--ga-sans); -webkit-text-size-adjust: 100%; }
.ga *, .ga *::before, .ga *::after { box-sizing: border-box; }
.ga a { color: var(--ga-ink); text-decoration: none; }
.ga a:hover { color: var(--ga-grey); }
.ga a:focus-visible, .ga button:focus-visible, .ga select:focus-visible, .ga input:focus-visible { outline: 2px solid #3b6fe0; outline-offset: 2px; }
.ga img { max-width: 100%; }
.ga-wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--ga-gutter); padding-right: var(--ga-gutter); }
.ga-skip { position: absolute; left: -9999px; top: 0; background: var(--ga-ink); color: #fff !important; padding: 10px 14px; z-index: 10; }
.ga-skip:focus { left: 8px; top: 8px; }
.ga-muted { color: var(--ga-grey); }
.ga-link { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- En-tête : logo en pleine largeur, menu ---------- */

.ga-header { border-bottom: 1px solid var(--ga-line); }
.ga-header__in { padding-top: 20px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 14px; }
.ga-logo { display: block; color: var(--ga-ink) !important; }
.ga-logo__svg { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .ga-logo__svg { width: min(100%, 760px); } }
.ga-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 28px; font-size: 14px; }
.ga-nav a { display: inline-flex; align-items: center; min-height: 32px; border-bottom: 1px solid transparent; }
.ga-nav a[aria-current="page"] { border-bottom-color: var(--ga-ink); }
.ga-nav__sep { width: 1px; height: 16px; background: var(--ga-line-2); }
.ga-nav__out { color: var(--ga-grey) !important; }
@media (max-width: 700px) {
	.ga-nav { justify-content: flex-start; gap: 4px 18px; }
	.ga-nav__sep { flex-basis: 100%; height: 0; }
}

/* ---------- Titres ---------- */

.ga-main { padding-top: 64px; padding-bottom: 96px; }
.ga-title { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.ga-kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ga-grey); }
.ga-h1 { margin: 0; font: 400 clamp(40px, 6vw, 56px)/1.02 var(--ga-serif); letter-spacing: -.01em; }
.ga-lead { margin: 0; color: var(--ga-grey); font-size: 16px; }
.ga-h2 { margin: 0 0 24px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ga-block { margin-top: 64px; }
.ga-title + .ga-block, .ga-tabs + .ga-block { margin-top: 0; }

/* ---------- Étiquette de statut entre crochets ---------- */

.ga-badge { display: inline-flex; align-items: stretch; height: 26px; background: var(--ga-fill, #dcdcd6); color: var(--ga-ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; vertical-align: middle; }
.ga-badge__b { width: 7px; border: 2px solid var(--ga-ink); border-right: 0; }
.ga-badge__b--r { border-right: 2px solid var(--ga-ink); border-left: 0; }
.ga-badge__t { display: flex; align-items: center; padding: 0 9px; }
.ga-badge--m { height: 30px; font-size: 15px; }
.ga-badge--m .ga-badge__b { width: 8px; }
.ga-badge--m .ga-badge__t { padding: 0 10px; }
.ga-badge--l { height: 36px; font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.ga-badge--l .ga-badge__b { width: 9px; border-width: 3px; }
.ga-badge--l .ga-badge__t { padding: 0 12px; }

/* ---------- Onglets, filtres, boutons ---------- */

.ga-tabs { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--ga-line); margin-bottom: 32px; }
.ga-tabs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ga-grey); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ga-tabs a[aria-current="page"] { color: var(--ga-ink); border-bottom-color: var(--ga-ink); font-weight: 600; }

.ga-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 12px; margin: 0 0 40px; }
.ga-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ga-grey); }
.ga-field select, .ga-field input { min-width: 200px; height: 44px; padding: 0 12px; border: 1px solid var(--ga-line-2); border-radius: 0; background: #fff; color: var(--ga-ink); font: 15px var(--ga-sans); letter-spacing: 0; text-transform: none; }
.ga-field--search input { min-width: 260px; }
.ga-search { position: relative; display: block; }
.ga-search__icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ga-ink); pointer-events: none; }
.ga-search input { width: 100%; padding-left: 40px; }
.ga-count { margin: 0 0 0 auto; align-self: center; font-size: 14px; color: var(--ga-grey); }
.ga-filters.ga-js .ga-filters__go { display: none; }
@media (max-width: 700px) {
	.ga-field, .ga-field select, .ga-field input { width: 100%; min-width: 0; }
	.ga-count { margin-left: 0; }
}

.ga-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--ga-ink); background: var(--ga-ink); color: #fff !important; font: 500 14px var(--ga-sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ga-btn:hover { background: #333; }
.ga-btn--ghost { min-height: 44px; background: #fff; color: var(--ga-ink) !important; }
.ga-btn--ghost:hover { background: var(--ga-soft); }

/* ---------- Grille d'objets ---------- */

.ga-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 64px 32px; }
.ga-grid--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 40px 28px; }
.ga-card a { display: flex; flex-direction: column; gap: 18px; }
.ga-card__img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ga-bg, var(--ga-soft)); overflow: hidden; }
.ga-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.ga-card__txt { display: flex; flex-direction: column; gap: 4px; }
.ga-artist { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ga-ink); }
.ga-artist--m { margin: 0; font-size: 13px; letter-spacing: .16em; }
.ga-card__title { font: 400 24px/1.2 var(--ga-serif); }
.ga-grid--small .ga-card__title { font-size: 22px; }
.ga-card__dim { margin-top: 4px; font-size: 14px; color: var(--ga-grey); }
.ga-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.ga-card__ref { font-size: 12px; color: var(--ga-grey); letter-spacing: .04em; }

.ga-empty, .ga-message { padding: 56px 0; border-top: 1px solid var(--ga-line); border-bottom: 1px solid var(--ga-line); text-align: center; color: var(--ga-grey); }
.ga-message { text-align: left; border: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ga-empty__t { margin: 0 0 6px; font: 400 26px var(--ga-serif); color: var(--ga-ink); }
.ga-empty p { margin: 0; }
.ga-alert { border: 1px solid #e05252; background: #fff5f5; padding: 16px 20px; margin: 0 0 32px; }
.ga-alert p { margin: 0 0 4px; }

/* ---------- Tables ---------- */

.ga-table-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ga-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.ga-table th { text-align: left; padding: 0 16px 12px 0; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ga-grey); border-bottom: 1px solid var(--ga-ink); white-space: nowrap; }
.ga-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ga-line); vertical-align: top; }
.ga-table .ga-num { text-align: right; white-space: nowrap; }
.ga-table__empty td, .ga-table__none td { padding: 56px 0; text-align: center; color: var(--ga-grey); }
.ga-table__empty p, .ga-table__none p { margin: 0; }

/* ---------- Vue d'ensemble ---------- */

.ga-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.ga-tile { border-top: 1px solid var(--ga-ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ga-tile p { margin: 0; }
.ga-tile__l { font-size: 13px; color: var(--ga-grey); }
.ga-tile__v { font: 400 38px/1.05 var(--ga-serif); }
.ga-tile__s { font-size: 12px; color: var(--ga-grey); }
.ga-cols { display: flex; flex-wrap: wrap; gap: 0 64px; }
.ga-col { flex: 1 1 420px; min-width: 0; }
.ga-bars, .ga-statuts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ga-bars li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 110px; align-items: center; gap: 16px; font-size: 14px; }
.ga-bars__track { height: 14px; background: var(--ga-soft); display: flex; }
.ga-bars__fill { background: var(--ga-ink); }
.ga-bars__v { text-align: right; }
.ga-statuts li { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ga-line); padding-bottom: 12px; }
.ga-statuts__n { font: 400 26px var(--ga-serif); }
@media (max-width: 520px) { .ga-bars li { grid-template-columns: 1fr 90px; } .ga-bars__track { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Fiche objet ---------- */

.ga-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--ga-grey) !important; margin: -32px 0 16px; }
.ga-fiche { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.ga-fiche__photos { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ga-fiche__main { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0; border: 0; background: var(--ga-bg, var(--ga-soft)); cursor: zoom-in; overflow: hidden; }
.ga-fiche__main img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; display: block; }
.ga-fiche__main--empty { aspect-ratio: 4 / 3; cursor: default; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ga-grey); }
.ga-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px; }
.ga-thumb { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--ga-bg, var(--ga-soft)); cursor: pointer; overflow: hidden; }
.ga-thumb[aria-current="true"] { border-color: var(--ga-ink); }
.ga-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ga-fiche__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.ga-fiche__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ga-fiche__title { margin: 0; font: 400 48px/1.05 var(--ga-serif); letter-spacing: -.01em; }
.ga-fiche__sub { margin: 0; font-size: 16px; color: var(--ga-grey); }
.ga-dl { margin: 0; display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; border-top: 1px solid var(--ga-line); }
.ga-dl dt { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--ga-line); color: var(--ga-grey); font-size: 14px; }
.ga-dl dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ga-line); }
.ga-fiche__buy { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.ga-fiche__buy .ga-link { align-self: flex-start; font-size: 14px; }
.ga-price { margin: 0; font: 400 26px var(--ga-serif); }
.ga-prose { color: var(--ga-ink-2); font-size: 16px; line-height: 1.65; }
.ga-prose p { margin: 0 0 12px; }
.ga-3d model-viewer { width: 100%; height: min(70vh, 560px); background: var(--ga-soft); }
.ga-ar-btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }
.ga-more { border-top: 1px solid var(--ga-line); padding-top: 40px; margin-top: 112px; }

/* ---------- Fiche stock (téléphone) ---------- */

.ga-stock { max-width: 40rem; display: flex; flex-direction: column; align-items: flex-start; }
.ga-stock__bar { width: 100%; display: flex; justify-content: space-between; align-items: center; margin: -36px 0 24px; font-size: 14px; }
.ga-stock__photo { width: 100%; margin: 0 0 24px; padding: 0; border: 0; background: var(--ga-bg, var(--ga-soft)); cursor: zoom-in; overflow: hidden; }
.ga-stock__photo img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
.ga-stock .ga-badge { margin-bottom: 16px; }
.ga-stock__inv { margin: 0 0 16px; font-size: 40px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.ga-stock__artist { margin: 0 0 18px; padding: 5px 10px; background: var(--ga-ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.ga-stock__des { margin: 0 0 22px; font: 400 30px/1.1 var(--ga-serif); }
.ga-dl--stock { width: 100%; grid-template-columns: max-content 1fr; }
.ga-dl--stock dt { font-size: 13px; padding-right: 16px; }
.ga-dl--stock dd { font-size: 15px; color: var(--ga-ink-2); }
.ga-dl--stock .ga-stock__big { font-size: 17px; color: var(--ga-ink); }

/* ---------- Plein écran (photo à pleine résolution, on glisse pour la parcourir) ---------- */

.ga-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; overflow: hidden; }
.ga-viewer::backdrop { background: #000; }
.ga-viewer__zone { position: absolute; inset: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none; }
.ga-viewer__zone::-webkit-scrollbar { display: none; }
.ga-viewer__zone img { display: block; max-width: none; max-height: none; height: 100%; width: auto; }
.ga-viewer__zone.is-portrait img { width: 100%; height: auto; }
.ga-viewer__close { position: fixed; top: calc(env(safe-area-inset-top) + 12px); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- Pied de page ---------- */

.ga-footer { border-top: 1px solid var(--ga-line); }
.ga-footer__in { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ga-grey); }
.ga-footer a { color: var(--ga-grey); }

/* ---------- Page de connexion (wp-login.php) ---------- */

body.login { background: #fff; color: #161616; font-family: "GA Sans", system-ui, sans-serif; }
body.login h1.wp-login-logo, body.login #backtoblog, body.login .privacy-policy-page-link { display: none; }
body.login #login { width: min(400px, calc(100% - 32px)); padding: 6vh 0 48px; }
body.login .ga-login-head { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; color: #161616; }
body.login .ga-logo__svg { width: 100%; height: auto; margin-bottom: 36px; }
body.login .ga-kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #5c5c58; }
body.login .ga-login-title { margin: 0; font: 400 44px/1.05 "GA Serif", Georgia, serif; }
body.login .ga-login-sub { margin: 0; color: #5c5c58; font-size: 15px; }
body.login form { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
body.login label { font-size: 13px; color: #5c5c58; }
body.login form .input, body.login input[type="text"], body.login input[type="password"], body.login input[type="email"] { height: 48px; min-height: 48px; padding: 0 14px; margin: 8px 0 18px; border: 1px solid #c9c9c3; border-radius: 0; box-shadow: none; background: #fff; font-size: 16px; }
body.login form .input:focus { border-color: #161616; box-shadow: 0 0 0 1px #161616; }
body.login .button.wp-hide-pw { height: 48px; margin-top: 8px; color: #161616; }
body.login #loginform .forgetmenot { float: none; margin: 4px 0 24px; }
body.login .forgetmenot label { color: #34342f; font-size: 14px; }
body.login input[type="checkbox"] { accent-color: #161616; border-radius: 0; }
body.login .submit { display: block; clear: both; padding-top: 4px; }
body.login .button-primary, body.login .submit .button.button-primary.button-large { float: none; width: 100%; height: 52px; min-height: 52px; line-height: 52px; padding: 0 24px; border: 0; border-radius: 0; background: #161616; box-shadow: none; text-shadow: none; font: 500 14px "GA Sans", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
body.login .button-primary:hover, body.login .button-primary:focus { background: #333; }
body.login #nav { margin: 20px 0 0; padding: 0; text-align: center; font-size: 14px; }
body.login #nav a { color: #5c5c58; }
body.login .message, body.login .notice, body.login #login_error { border-left: 3px solid #161616; box-shadow: none; background: #f2f2ef; margin-bottom: 20px; }
body.login #login_error { border-left-color: #e05252; background: #fff5f5; }
body.login .ga-login-foot { width: min(400px, calc(100% - 32px)); margin: 0 auto 32px; text-align: center; font-size: 13px; color: #5c5c58; }
body.login .ga-login-foot a { color: #161616; }
body.login .language-switcher { display: none; }
