/* ==========================================================================
   Galerie Axel Barat — galerie d'art contemporain, Normandie.
   Murs clairs, noir profond, un bleu outremer. Les œuvres apportent la couleur.
   Titres : Bodoni Moda (droit, jamais en italique). Texte : Hanken Grotesk.
   ========================================================================== */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--paper: #FBF9F5; --warm: #F2EDE4; --wall: #EEEAE2; --ink: #121212; --muted: #6E6A63; --blue: #2433A0; --blue-d: #1A2578;
	--line: rgba(18, 18, 18, .13);
	--c-bg: var(--paper); --c-ink: var(--ink); --c-muted: var(--muted); --c-accent: var(--blue); --c-line: var(--line);
	--f-title: "Bodoni Moda", Didot, "Times New Roman", serif; --f-text: "Hanken Grotesk", system-ui, sans-serif;
	--header-h: 96px;
	--section: clamp(80px, 11vw, 160px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

body { font-family: var(--f-text); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 500; font-style: normal; color: var(--ink); letter-spacing: -.01em; line-height: 1.06; }
.entry-content h2 { font-size: clamp(38px, 4.6vw, 66px); }
.entry-content h3 { font-size: clamp(22px, 2vw, 27px); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
::selection { background: var(--blue); color: #fff; }
.gb-center { text-align: center; }
.gb-right { text-align: right; }
.gb-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.gb-more a { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.gb-more a:hover { color: var(--blue); background-size: 30% 1px; }

/* -- En-tête : logo centré, menu réparti de chaque côté -------------------------------- */
.site-header { transition: background .4s, color .4s, box-shadow .4s; }
.site-header.is-solid, body:not(.has-dark-hero) .site-header { background: rgba(251, 249, 245, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.has-dark-hero .site-header:not(.is-solid) { background: linear-gradient(rgba(0, 0, 0, .35), transparent); box-shadow: none; }
.site-header__in { position: relative; }
.site-logo { color: inherit; }
.gb-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.gb-logo__a { font-family: var(--f-text); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.gb-logo__b { margin-top: 7px; font-family: var(--f-title); font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.site-nav__list a { font-family: var(--f-text); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: 1; position: relative; }
.site-nav__list > li:not(.gb-menu-cta) > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-nav__list > li:not(.gb-menu-cta) > a:hover::after, .site-nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.site-nav__list .gb-menu-cta > a { padding: 13px 24px; border: 1px solid currentColor; transition: background .3s, color .3s; }
.site-nav__list .gb-menu-cta > a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.has-dark-hero .site-header:not(.is-solid) .gb-menu-cta > a:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (min-width: 1021px) {
	.site-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
	.site-nav { flex: 1; margin-left: 0; }
	.site-nav__list { flex: 1; gap: 40px; }
	.site-nav__list > li:nth-child(3) { margin-right: auto; }
}
body.nav-open .site-header, body.nav-open:not(.has-dark-hero) .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); color: var(--ink); }
@media (max-width: 1020px) {
	:root { --header-h: 80px; }
	.gb-logo { align-items: flex-start; }
	.gb-logo__b { font-size: 25px; }
	.site-nav__list a { font-family: var(--f-title); font-size: 38px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 14px 0; }
	.site-nav__list > li > a::after { display: none; }
	.site-nav__list .gb-menu-cta { margin-top: 18px; }
	.site-nav__list .gb-menu-cta > a { display: inline-block; padding: 15px 30px; font-family: var(--f-text); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
}

/* -- Boutons ---------------------------------------------------------------------------- */
.wp-block-button__link, .so-btn, .sgh-form__submit button { display: inline-block; padding: 17px 32px; border-radius: 0; font-family: var(--f-text); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; text-decoration: none; transition: background .3s, color .3s, box-shadow .3s; }
.is-style-gb-ink > .wp-block-button__link, .so-btn, .sgh-form__submit button { background: var(--ink); color: #fff; border: 0; cursor: pointer; }
.is-style-gb-ink > .wp-block-button__link:hover, .so-btn:hover, .sgh-form__submit button:hover { background: var(--blue); color: #fff; }
.is-style-gb-line > .wp-block-button__link, .so-btn.is-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.is-style-gb-line > .wp-block-button__link:hover, .so-btn.is-line:hover { background: var(--ink); color: #fff; }
.is-style-gb-light > .wp-block-button__link { background: #fff; color: var(--ink); }
.is-style-gb-light > .wp-block-button__link:hover { background: var(--blue); color: #fff; }
.gb-center-btn { justify-content: center; margin-top: clamp(48px, 6vw, 80px) !important; }

/* -- Sections ------------------------------------------------------------------------------ */
.gb-sec { padding-top: var(--section) !important; padding-bottom: var(--section) !important; }
.gb-sec + .gb-sec { padding-top: 0 !important; }
.wp-block-columns.alignwide { gap: clamp(28px, 5vw, 96px); }
.gb-sec__head { align-items: flex-end !important; margin-bottom: clamp(32px, 4vw, 56px) !important; }
.gb-sec__head h2 { margin: 0; }
.entry-content .gb-selection > h2 { margin-bottom: clamp(40px, 5vw, 72px); }

/* -- Diaporama d'ouverture -------------------------------------------------------------------- */
.gb-slider { position: relative; margin-top: 0 !important; padding: 0 !important; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; background: #111; color: #fff; }
.entry-content .gb-slider > .gb-slide { position: absolute; inset: 0; width: 100% !important; max-width: none !important; margin: 0 !important; min-height: 0; height: 100%; padding: 0 0 clamp(96px, 12vh, 140px) !important; align-items: flex-end; }
.js .gb-slide { opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s 1.4s; }
.js .gb-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.4s ease, visibility 0s; }
html:not(.js) .gb-slide:not(:first-child) { display: none; }
.gb-slide .wp-block-cover__image-background { transform: scale(1.1); transition: transform 8s linear; }
.gb-slide.is-active .wp-block-cover__image-background { transform: scale(1.0); }
.gb-slide .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(8, 8, 10, .78) 0%, rgba(8, 8, 10, .45) 38%, rgba(8, 8, 10, 0) 68%), linear-gradient(0deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, 0) 45%) !important; }
.gb-slide .wp-block-cover__inner-container { width: min(var(--w-wide), 100% - 2 * var(--gutter)) !important; max-width: none !important; margin: 0 auto !important; }
.gb-slide .wp-block-cover__inner-container > * { max-width: 640px; margin-left: 0 !important; }
.gb-slide__kicker { margin: 0 0 18px !important; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.gb-slide__title { margin: 0 0 22px !important; font-family: var(--f-title); font-size: clamp(46px, 6.6vw, 104px); font-weight: 500; line-height: .98; letter-spacing: -.015em; color: #fff; }
.gb-slide__text { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .82); max-width: 46ch !important; }
.gb-slide__link { margin-top: 30px !important; }
.gb-slide__link a { display: inline-block; padding: 17px 32px; border: 1px solid rgba(255, 255, 255, .8); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.gb-slide__link a:hover { background: #fff; color: var(--ink); }
.js .gb-slide .wp-block-cover__inner-container > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .gb-slide.is-active .wp-block-cover__inner-container > * { opacity: 1; transform: none; }
.js .gb-slide.is-active .wp-block-cover__inner-container > :nth-child(2) { transition-delay: .15s; }
.js .gb-slide.is-active .wp-block-cover__inner-container > :nth-child(3) { transition-delay: .3s; }
.js .gb-slide.is-active .wp-block-cover__inner-container > :nth-child(4) { transition-delay: .45s; }
.gb-dots { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(var(--w-wide), 100% - 2 * var(--gutter)); display: flex; justify-content: flex-end; gap: 22px; }
.gb-dots button { position: relative; width: 120px; padding: 14px 0 0; border: 0; background: none; color: rgba(255, 255, 255, .6); font: 600 11.5px/1.2 var(--f-text); letter-spacing: .18em; text-transform: uppercase; text-align: left; cursor: pointer; }
.gb-dots button::before, .gb-dots button::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: rgba(255, 255, 255, .3); }
.gb-dots button::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.gb-dots button.is-active { color: #fff; }
.gb-dots button.is-active::after { animation: gb-progress var(--gb-delay, 7s) linear forwards; }
@keyframes gb-progress { to { transform: scaleX(1); } }
@media (max-width: 700px) { .gb-dots { justify-content: flex-start; bottom: 28px; gap: 12px; } .gb-dots button { width: 70px; font-size: 0; } .gb-slide .wp-block-cover__background { background: linear-gradient(0deg, rgba(8, 8, 10, .85), rgba(8, 8, 10, .2) 75%) !important; } }

/* -- Introduction ------------------------------------------------------------------------------ */
.gb-intro { text-align: center; }
.gb-intro__title { font-size: clamp(38px, 5vw, 72px) !important; max-width: 16ch; margin: 0 auto 32px !important; }
.gb-intro__text { max-width: 64ch !important; margin: 0 auto !important; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.8; }
.gb-intro__text a { color: var(--ink); font-weight: 600; text-decoration-color: var(--blue); }

/* -- Grille d'œuvres (extension SGH Œuvres) ---------------------------------------------------- */
.so-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(44px, 5vw, 80px) clamp(20px, 2.4vw, 36px); }
.so-cols-4 { grid-template-columns: repeat(4, 1fr); }
.so-card__link { display: block; color: inherit; text-decoration: none; }
.so-card__fig { position: relative; margin: 0 0 20px; aspect-ratio: 1 / 1.12; display: flex; align-items: center; justify-content: center; padding: 15%; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 18%, #FFFFFF 0%, #F3EFE8 55%, #E7E2D9 100%); }
.so-card__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 1px 2px rgba(18, 18, 18, .18), 0 22px 34px -18px rgba(18, 18, 18, .5); transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
.so-card__fig::after { content: "Découvrir"; position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.so-card__link:hover .so-card__img { transform: scale(1.04); box-shadow: 0 1px 2px rgba(18, 18, 18, .18), 0 34px 44px -20px rgba(18, 18, 18, .55); }
.so-card__link:hover .so-card__fig::after { opacity: 1; transform: translate(-50%, 0); }
.so-card__label { text-align: center; }
.so-card__label p { margin: 0; }
.so-card__artist { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.so-card__title { margin-top: 6px !important; font-family: var(--f-title); font-size: 21px; line-height: 1.2; }
.so-card__title span { color: var(--muted); }
.so-card__meta { margin-top: 4px !important; font-size: 13.5px; color: var(--muted); }
.so-card__price { margin-top: 10px !important; font-size: 15px; font-weight: 600; }
.so-card.is-vendue .so-card__price, .so-card.is-reservee .so-card__price { color: var(--blue); font-weight: 500; }
@media (max-width: 1100px) { .so-cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .so-grid, .so-cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .so-grid, .so-cols-4 { grid-template-columns: 1fr; } }
.so-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 0 0 clamp(40px, 5vw, 72px); }
.so-filters a { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding-bottom: 6px; transition: color .2s; }
.so-filters a:hover { color: var(--ink); }
.so-filters a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.so-empty { color: var(--muted); text-align: center; }
.gb-catalogue { padding-top: clamp(24px, 3vw, 48px) !important; }

/* -- Une galerie, un regard ----------------------------------------------------------------------- */
.gb-esprit { padding: 0 !important; background: var(--warm); }
.entry-content .gb-esprit__cols { max-width: none !important; width: 100% !important; margin: 0 !important; gap: 0 !important; align-items: stretch !important; }
.gb-esprit__img { height: 100%; margin: 0 !important; overflow: hidden; }
.gb-esprit__img img { width: 100%; height: 100%; min-height: clamp(480px, 62vw, 860px); object-fit: cover; }
.gb-esprit__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 8vw, 140px) clamp(28px, 7vw, 120px) !important; }
.gb-esprit__text h2 { margin-top: 0; }
.gb-esprit__text p:not(.gb-more) { color: var(--muted); max-width: 48ch; font-size: 18px; }
.gb-esprit__text .gb-more { margin-top: 18px; }

/* -- Citation ---------------------------------------------------------------------------------------- */
.gb-quote { padding: clamp(96px, 13vw, 190px) 0 !important; text-align: center; color: #fff; background: radial-gradient(ellipse 70% 90% at 50% 40%, #2F40BF 0%, var(--blue) 45%, var(--blue-d) 100%); }
.gb-quote__text { margin: 0 auto 30px !important; max-width: 24ch !important; font-family: var(--f-title); font-size: clamp(34px, 4.6vw, 68px); line-height: 1.15; }
.gb-quote__author { margin: 0 !important; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* -- Engagements ---------------------------------------------------------------------------------------- */
.gb-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 44px; text-align: center; }
.gb-features.is-3 { grid-template-columns: repeat(3, 1fr); }
.gb-feature::before { content: ""; display: block; width: 44px; height: 1px; margin: 0 auto 26px; background: var(--ink); }
.gb-feature h3 { margin: 0 0 12px; font-size: 24px; }
.gb-feature p { margin: 0 auto; max-width: 30ch; color: var(--muted); font-size: 15.5px; }
.gb-quote + .gb-features-sec, .gb-esprit + .gb-features-sec { padding-top: var(--section) !important; }
@media (max-width: 960px) { .gb-features, .gb-features.is-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gb-features, .gb-features.is-3 { grid-template-columns: 1fr; } }

/* -- Artistes ---------------------------------------------------------------------------------------------- */
.gb-artists__cols { align-items: flex-start !important; }
.gb-artists__cols > .wp-block-column:first-child h2 { margin-top: 0; }
.gb-artists__cols > .wp-block-column:first-child p:not(.gb-more) { color: var(--muted); max-width: 36ch; }
.so-artists { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.so-artist a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.so-artist__name { font-family: var(--f-title); font-size: clamp(34px, 4vw, 58px); font-weight: 500; line-height: 1.02; transition: transform .6s var(--ease), color .3s; }
.so-artist__count { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.so-artist a:hover .so-artist__name { transform: translateX(18px); color: var(--blue); }
.gb-peek { position: fixed; left: 0; top: 0; z-index: 60; width: 240px; height: auto; pointer-events: none; opacity: 0; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); transition: opacity .3s; }
.gb-peek.is-on { opacity: 1; }
.so-artists.has-bio .so-artist a { display: grid; grid-template-columns: 240px 1fr auto; grid-template-areas: "img name count" "img bio count"; gap: 10px 48px; align-items: start; padding: 40px 0; }
.so-artists.has-bio .so-artist__img { grid-area: img; width: 240px; height: 240px; object-fit: contain; padding: 26px; background: radial-gradient(ellipse 80% 60% at 50% 18%, #fff, #EDE8E0); }
.so-artists.has-bio .so-artist__name { grid-area: name; }
.so-artists.has-bio .so-artist__bio { grid-area: bio; max-width: 60ch; color: var(--muted); }
.so-artists.has-bio .so-artist__count { grid-area: count; }
.so-artists.has-bio .so-artist a:hover .so-artist__name { transform: none; }
@media (max-width: 720px) {
	.so-artists.has-bio .so-artist a { grid-template-columns: 110px 1fr; grid-template-areas: "img name" "img count" "bio bio"; gap: 6px 20px; }
	.so-artists.has-bio .so-artist__img { width: 110px; height: 110px; padding: 12px; }
}

/* -- Dans la galerie ------------------------------------------------------------------------------------------ */
.gb-insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gb-insta > figure { margin: 0 !important; overflow: hidden; }
.gb-insta img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.gb-insta > figure:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gb-insta { grid-template-columns: 1fr 1fr; } }

/* -- Visite ---------------------------------------------------------------------------------------------------- */
.gb-visit { padding: var(--section) 0 !important; min-height: 0 !important; }
.gb-visit .wp-block-cover__background { background: linear-gradient(90deg, rgba(10, 10, 12, .9), rgba(10, 10, 12, .72)) !important; opacity: 1 !important; }
.gb-visit .wp-block-cover__inner-container { width: min(var(--w-wide), 100% - 2 * var(--gutter)) !important; max-width: none !important; margin: 0 auto; }
.gb-visit__cols { align-items: center !important; }
.gb-visit h2 { color: #fff; margin-top: 0; }
.gb-visit p { color: rgba(255, 255, 255, .78); max-width: 46ch; }
.gb-visit .wp-block-buttons { margin-top: 30px; }
.gb-visit__infos { display: grid; gap: 22px; }
.gb-visit__item { margin: 0 !important; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .18); color: #fff !important; font-size: 18px; }
.gb-visit__item strong { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.gb-visit a { color: #fff; }
.gb-visit__item:last-child { border-bottom: 0; }

/* -- En-têtes des pages intérieures --------------------------------------------------------------------------------- */
.gb-head { margin-top: 0 !important; padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) 0 clamp(24px, 4vw, 56px) !important; text-align: center; }
.gb-head__title { font-size: clamp(54px, 7.4vw, 116px) !important; font-weight: 500; line-height: .95; margin: 0 auto 26px !important; }
.gb-head .gb-lead { margin: 0 auto !important; }
.gb-head + .gb-sec { padding-top: clamp(40px, 5vw, 80px) !important; }
.gb-pagehero { min-height: 78vh !important; align-items: flex-end; padding-bottom: clamp(48px, 7vw, 96px) !important; }
.gb-pagehero .wp-block-cover__background { background: linear-gradient(0deg, rgba(8, 8, 10, .75), rgba(8, 8, 10, .1) 70%) !important; opacity: 1 !important; }
.gb-pagehero .wp-block-cover__inner-container { width: min(var(--w-wide), 100% - 2 * var(--gutter)) !important; max-width: none !important; margin: 0 auto; }
.gb-pagehero .gb-head__title { color: #fff; margin-left: 0 !important; text-align: left; }
.gb-pagehero .gb-lead { color: rgba(255, 255, 255, .85); margin-left: 0 !important; }
.gb-pagehero + .gb-sec { padding-top: var(--section) !important; }
.gb-row { align-items: flex-start !important; }
.gb-row h2 { margin-top: 0; }
.gb-lead-cols p { font-size: 19px; color: var(--muted); }
.gb-features-sec { padding-top: var(--section) !important; }

/* -- Contact ------------------------------------------------------------------------------------------------------- */
.gb-contact__cols { align-items: flex-start !important; }
.gb-formbox { padding: clamp(24px, 3vw, 44px); background: #fff; }
.gb-contact__infos { display: grid; gap: 22px; }
.gb-contact__infos .gb-visit__item { color: var(--ink) !important; border-bottom-color: var(--line); }
.gb-contact__infos .gb-visit__item strong { color: var(--muted); }
.gb-contact__infos a { color: var(--ink); }
.sgh-form input:not([type="checkbox"]), .sgh-form select, .sgh-form textarea { border-radius: 0; background: var(--paper); border: 0; border-bottom: 1px solid var(--line); }
.sgh-form input:focus, .sgh-form textarea:focus { border-bottom-color: var(--ink); }
.sgh-form__choice span { border-radius: 0 !important; }
.sgh-form__choice input:checked + span, .sgh-choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* -- Fiche d'une œuvre -------------------------------------------------------------------------------------------------- */
.so-single__in { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 48px)); padding-bottom: var(--section); }
.so-crumbs { display: flex; gap: 10px; margin-bottom: 28px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.so-crumbs a { color: var(--muted); text-decoration: none; }
.so-crumbs a:hover { color: var(--ink); }
.so-single__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.so-single__fig { margin: 0; display: flex; align-items: center; justify-content: center; min-height: min(80vh, 860px); padding: clamp(28px, 8%, 110px); background: radial-gradient(ellipse 80% 55% at 50% 12%, #fff 0%, #F2EEE7 55%, #E4DED4 100%); }
.so-single__fig a { display: block; cursor: zoom-in; }
.so-single__img { max-height: calc(min(80vh, 860px) - 140px); width: auto; max-width: 100%; box-shadow: 0 2px 4px rgba(18, 18, 18, .16), 0 40px 60px -26px rgba(18, 18, 18, .55); }
.so-single__info { position: sticky; top: calc(var(--header-h) + 24px); }
.so-single__artist { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.so-single__artist a { text-decoration: none; }
.so-single__artist a:hover { color: var(--blue); }
.so-single__title { font-size: clamp(40px, 4.6vw, 68px); font-weight: 500; margin: 0 0 34px; }
.so-single__specs { margin: 0 0 30px; border-top: 1px solid var(--ink); }
.so-single__specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.so-single__specs dt { color: var(--muted); }
.so-single__specs dd { margin: 0; font-weight: 600; text-align: right; }
.so-single__specs.is-vendue div:last-child dd, .so-single__specs.is-reservee div:last-child dd { color: var(--blue); }
.so-single__desc { color: var(--muted); }
.so-single__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.so-single__note { font-size: 14.5px; color: var(--muted); }
.so-more { margin-top: var(--section); }
.so-more__title { font-size: clamp(34px, 3.6vw, 52px); text-align: center; margin-bottom: clamp(36px, 4vw, 60px); }
@media (max-width: 900px) {
	.so-single__grid { grid-template-columns: 1fr; }
	.so-single__fig { min-height: 0; }
	.so-single__img { max-height: 70vh; }
	.so-single__info { position: static; }
}

/* -- Page d'un artiste ---------------------------------------------------------------------------------------------------- */
.so-artist-head { padding: calc(var(--header-h) + clamp(40px, 6vw, 100px)) 0 clamp(40px, 5vw, 80px); text-align: center; }
.so-artist-head .so-crumbs { justify-content: center; }
.so-artist-head__name { font-size: clamp(56px, 8vw, 124px); font-weight: 500; line-height: .95; margin: 0 0 30px; }
.so-artist-head__bio { max-width: 62ch; margin: 0 auto; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.so-artist-head__count { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.so-artist-works { padding-bottom: var(--section); }

/* -- Pied de page --------------------------------------------------------------------------------------------------------- */
.gb-footer { padding: clamp(72px, 9vw, 128px) 0 30px; background: var(--ink); color: rgba(255, 255, 255, .7); }
.gb-footer a { color: #fff; text-decoration: none; }
.gb-footer a:hover { color: #B9C2FF; }
.gb-footer__logo { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(56px, 7vw, 96px); color: #fff; }
.gb-footer__logo .gb-logo__a { font-size: 12px; }
.gb-footer__logo .gb-logo__b { font-size: clamp(44px, 6vw, 84px); margin-top: 14px; }
.gb-footer__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; font-size: 15.5px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .14); }
.gb-footer__h { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.gb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .5); }
.gb-footer__bottom .gb-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gb-footer__bottom a { color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .gb-footer__in { grid-template-columns: 1fr 1fr; } }

/* Pages simples (mentions, confidentialité) */
.page-hero { background: var(--paper); text-align: center; padding-top: calc(var(--header-h) + 64px); }
.page-hero__title { font-size: clamp(44px, 6vw, 88px); font-weight: 500; }

/* Ajustements */
.gb-quote__author { margin-left: auto !important; margin-right: auto !important; }
.gb-dots button { width: 150px; }
.gb-insta img, .gb-esprit__img img { border-radius: 0 !important; }
@media (max-width: 520px) {
	.so-grid, .so-cols-4 { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
	.so-card__fig { padding: 12%; }
	.so-card__title { font-size: 17px; }
	.so-card__meta { display: none; }
	.so-card__artist { font-size: 10px; letter-spacing: .14em; }
}
.gb-dots button { width: auto; min-width: 120px; padding-right: 10px; white-space: nowrap; }

/* -- Diaporama : exposition (affiche) ------------------------------------------------------ */
.gb-slide--affiche { overflow: hidden; }
.gb-slide__blur { position: absolute; inset: -60px; background: var(--se-bg) center / cover no-repeat; filter: blur(46px) saturate(1.25); transform: scale(1.15); transition: transform 8s linear; }
.gb-slide--affiche.is-active .gb-slide__blur { transform: scale(1.05); }
.gb-slide--affiche .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(8, 8, 10, .86) 0%, rgba(8, 8, 10, .62) 45%, rgba(8, 8, 10, .35) 100%) !important; }
.gb-slide__poster { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - var(--w-wide)) / 2)); top: 50%; height: min(72%, 760px); width: auto; max-width: 40vw; object-fit: contain; transform: translateY(-46%); box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 50px 80px -30px rgba(0, 0, 0, .8); opacity: 0; transition: opacity 1.2s var(--ease) .2s, transform 1.4s var(--ease) .2s; }
.gb-slide--affiche.is-active .gb-slide__poster { opacity: 1; transform: translateY(-50%); }
.gb-slide--affiche .wp-block-cover__inner-container { z-index: 2; }
@media (max-width: 900px) {
	.gb-slide__poster { display: none; }
}

/* -- Événements ------------------------------------------------------------------------------ */
.se-part + .se-part { margin-top: var(--section); }
.se-part__title { font-size: clamp(34px, 3.6vw, 52px) !important; margin: 0 0 clamp(28px, 3vw, 44px) !important; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.se-list { display: grid; gap: clamp(40px, 5vw, 72px); }
.se-list.is-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.se-card__link { display: block; color: inherit; text-decoration: none; }
.se-card p { margin: 0; }
.se-card__fig { margin: 0; overflow: hidden; background: var(--warm); }
.se-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.se-card__link:hover .se-card__img { transform: scale(1.04); }
.se-card__type { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px !important; }
.se-card__title { font-family: var(--f-title); font-weight: 500; line-height: 1.02; margin: 0 0 10px; font-size: clamp(24px, 2vw, 30px); }
.se-card__artists { font-weight: 600; margin-bottom: 6px !important; }
.se-card__dates { color: var(--muted); }
.se-card__vern { margin-top: 6px !important; color: var(--ink); }
.se-card__text { margin-top: 22px !important; color: var(--muted); max-width: 52ch; }
.se-card__more { display: inline-block; margin-top: 30px !important; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.se-card__link:hover .se-card__more { color: var(--blue); background-size: 30% 1px; }
.se-card:not(.is-big) .se-card__fig { aspect-ratio: 4 / 5; margin-bottom: 20px; }
.se-card.is-big .se-card__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.se-card.is-big .se-card__fig { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 6%, 70px); background: radial-gradient(ellipse 80% 60% at 50% 18%, #fff 0%, #F3EFE8 55%, #E7E2D9 100%); }
.se-card.is-big .se-card__img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 4px rgba(18, 18, 18, .16), 0 40px 60px -26px rgba(18, 18, 18, .55); }
.se-card.is-big .se-card__title { font-size: clamp(40px, 4.8vw, 74px); margin-bottom: 18px; }
.se-card.is-passe { opacity: .9; }
.se-empty { text-align: center; color: var(--muted); font-size: 19px; }
@media (max-width: 900px) {
	.se-list.is-grid { grid-template-columns: repeat(2, 1fr); }
	.se-card.is-big .se-card__link { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.se-list.is-grid { grid-template-columns: 1fr; }
}

.se-single__in { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 48px)); padding-bottom: var(--section); }
.se-single__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.se-single__fig { margin: 0; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 7%, 96px); background: radial-gradient(ellipse 80% 55% at 50% 12%, #fff 0%, #F2EEE7 55%, #E4DED4 100%); }
.se-single__fig a { display: block; cursor: zoom-in; }
.se-single__img { display: block; max-height: 78vh; width: auto; max-width: 100%; box-shadow: 0 2px 4px rgba(18, 18, 18, .16), 0 40px 60px -26px rgba(18, 18, 18, .55); }
.se-single__info { position: sticky; top: calc(var(--header-h) + 24px); }
.se-single__type { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.se-single__title { font-size: clamp(40px, 4.6vw, 72px); font-weight: 500; margin: 0 0 14px; }
.se-single__artists { margin: 0 0 32px; font-size: 19px; font-weight: 600; }
.se-single__artists a { text-decoration: none; }
.se-single__artists a:hover { color: var(--blue); }
.se-single__desc { color: var(--muted); }
.se-single__desc strong { color: var(--ink); }
@media (max-width: 900px) {
	.se-single__grid { grid-template-columns: 1fr; }
	.se-single__info { position: static; }
}
.gb-slide__artist { margin: 0 0 10px !important; font-family: var(--f-title); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; color: #fff; }
.gb-slide--affiche .gb-slide__title { font-size: clamp(44px, 5.6vw, 92px); }
.gb-slide--affiche .gb-slide__blur { filter: blur(46px) saturate(1.5) brightness(.95); }

/* Mobile : barres du diaporama sur toute la largeur, sans débordement */
@media (max-width: 700px) {
	.gb-dots { justify-content: stretch; }
	.gb-dots button { flex: 1 1 0; min-width: 0; width: auto; padding-right: 0; font-size: 0; }
}
/* Mobile connecté : la barre d'administration défile, l'en-tête reste collé en haut */
@media (max-width: 600px) {
	.admin-bar .site-header { top: var(--gb-adminbar, 46px); }
}
