/* Utopik Galeries — affichage des galeries et portfolios repris de Vega. */
.utkg-wall { columns: 3 280px; column-gap: 12px; margin-block: 48px; }
.utkg-wall > a { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: 8px; }
.utkg-wall img, .utkg-thumbs img, .utkg-strip img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.utkg-wall > a:hover img, .utkg-thumbs > a:hover img { transform: scale(1.04); }
.utkg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-block: 32px; }
.utkg-thumbs > a { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 1; }
.utkg-thumbs img { height: 100%; object-fit: cover; }
.utkg-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-block: 32px; padding-bottom: 8px; }
.utkg-strip > a { flex: 0 0 auto; scroll-snap-align: start; border-radius: 8px; overflow: hidden; }
.utkg-strip img { height: min(70vh, 620px); width: auto; }
.utkg-half { float: left; width: calc(50% - 20px); margin-right: 40px; }
.utkg-half--last { margin-right: 0; }
.utkg-clear { clear: both; }
.utkg-center { text-align: center !important; margin-top: 2rem; }
.utkg-right { text-align: right !important; }
.utkg-big { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
@media (max-width: 760px) { .utkg-half { float: none; width: auto; margin-right: 0; } }

/* ==========================================================================
   Portfolios — page /portfolio/ et pages de portfolio
   ========================================================================== */

/* ---------- Filtres ---------- */
.utkp { --utkp-gap: clamp(10px, 1.2vw, 16px); max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)) !important; margin: 0 auto clamp(56px, 7vw, 96px); padding-inline: var(--gutter, 24px) !important; }
.utkp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 3vw, 40px); }
.utkp-filters button {
	appearance: none; cursor: pointer; border: 1px solid var(--line, #e8e6e1); background: var(--paper, #fff); color: var(--ink, #111);
	padding: 9px 16px; border-radius: 999px; font: 500 12px/1 var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase;
	transition: background .2s, color .2s, border-color .2s;
}
.utkp-filters button:hover { border-color: var(--ink, #111); }
.utkp-filters button.is-on { background: var(--ink, #111); border-color: var(--ink, #111); color: var(--paper, #fff); }

/* ---------- Grille : 3 colonnes, grandes vignettes sur 2 colonnes ---------- */
.utkp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 30vw, 440px); grid-auto-flow: dense; gap: var(--utkp-gap); }
.utkp-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius, 10px); background: #1b1b1b; color: #fff; text-decoration: none; isolation: isolate; }
.utkp-card[hidden] { display: none; }
.utkp-card--big { grid-column: span 2; }
.utkp.is-filtered .utkp-card--big { grid-column: auto; }
.utkp-card__img, .utkp-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.utkp-card__img img { object-fit: cover; border-radius: 0 !important; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.utkp-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72) 100%); transition: opacity .5s; }
.utkp-card__txt { position: absolute; z-index: 2; left: clamp(18px, 2vw, 28px); right: 64px; bottom: clamp(18px, 2vw, 26px); display: grid; gap: 6px; }
.utkp-card__tag { font: 500 11px/1.3 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft, #d9c27a); }
.utkp-card__title { font: 500 clamp(22px, 2vw, 30px)/1.08 var(--sans, sans-serif); letter-spacing: -.01em; }
.utkp-card--big .utkp-card__title { font-size: clamp(28px, 3vw, 46px); }
.utkp-card__sub { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.utkp-card__go { position: absolute; z-index: 2; right: clamp(18px, 2vw, 26px); bottom: clamp(18px, 2vw, 26px); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); font-size: 18px; transition: background .3s, color .3s, transform .3s; }
.utkp-card:hover { color: #fff; }
.utkp-card:hover .utkp-card__img img { transform: scale(1.05); }
.utkp-card:hover .utkp-card__go { background: #fff; color: #111; transform: translateX(3px); }
.utkp.is-filtering .utkp-card:not([hidden]) { animation: utkp-in .5s both; }
@keyframes utkp-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 980px) { .utkp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 42vw, 380px); } }
@media (max-width: 600px) {
	.utkp-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.utkp-card, .utkp-card--big { grid-column: auto; aspect-ratio: 4 / 5; }
	.utkp-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter, 16px)); padding: 0 var(--gutter, 16px) 4px; scrollbar-width: none; }
	.utkp-filters button { flex: 0 0 auto; }
}

/* ---------- En-tête « grande image » ---------- */
.utkp-hero { position: relative; min-height: min(88vh, 900px); display: flex; align-items: flex-end; color: #fff; background: #111; overflow: hidden; isolation: isolate; }
.utkp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: utkp-zoom 9s cubic-bezier(.2, .7, .2, 1) both; }
.utkp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7) 100%); }
@keyframes utkp-zoom { from { transform: scale(1.08); } }
.utkp-hero__txt { width: 100%; max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)); margin-inline: auto; padding: 0 var(--gutter, 24px) clamp(40px, 6vw, 80px); }
.utkp-hero__tag { margin: 0 0 14px; font: 500 12px/1.4 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft, #d9c27a); }
.utkp-hero__tag a { color: inherit; text-decoration: none; }
.utkp-hero__title { margin: 0; max-width: 16ch; font: 500 clamp(40px, 6.4vw, 96px)/.98 var(--sans, sans-serif); letter-spacing: -.025em; color: #fff; }
.utkp-hero__sub { margin: 18px 0 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 21px); color: rgba(255, 255, 255, .85); }
.utkp-hero__down { position: absolute; right: var(--gutter, 24px); bottom: clamp(40px, 6vw, 80px); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); color: #fff; text-decoration: none; font-size: 20px; transition: background .3s, color .3s; }
.utkp-hero__down:hover { background: #fff; color: #111; }
.utkp-header-immersif .utk-header { border-bottom-color: transparent; }
#utkp-start { scroll-margin-top: 90px; }
.utkp-header-immersif #utkp-start { padding-top: clamp(48px, 6vw, 88px); }
/* Style galerie : un court texte centré au-dessus des photos. */
.utkp-single--galerie #utkp-start > :is(h1, h2, h3, p) { text-align: center !important; }
.utkp-single--galerie #utkp-start > h1:first-child { display: none; }

/* ---------- Mises en page des photos ---------- */
.utk-prose-blocks > .utkp-photos, .utkp-photos { max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)) !important; margin: clamp(32px, 4vw, 56px) auto !important; padding-inline: var(--gutter, 24px) !important; }
.utkp-photos a { display: block; overflow: hidden; border-radius: var(--radius, 10px); }
.utkp-photos img { display: block; width: 100%; height: auto; border-radius: 0 !important; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.utkp-photos a:hover img { transform: scale(1.03); }
.utkp-photos--mosaique { columns: 3 300px; column-gap: 14px; }
.utkp-photos--mosaique > a { margin-bottom: 14px; break-inside: avoid; }
.utkp-photos--grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.utkp-photos--grille > a { aspect-ratio: 1; }
.utkp-photos--grille img { height: 100%; object-fit: cover; }
.utkp-photos--pellicule { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px !important; max-width: none !important; }
.utkp-photos--pellicule > a { flex: 0 0 auto; scroll-snap-align: center; }
.utkp-photos--pellicule img { height: min(72vh, 680px); width: auto; }
/* Éditorial : une photo pleine largeur, puis deux côte à côte, etc. */
.utkp-photos--editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.utkp-photos--editorial > a:nth-child(3n + 1) { grid-column: 1 / -1; }
.utkp-photos--editorial > a:not(:nth-child(3n + 1)) img { aspect-ratio: 4 / 5; object-fit: cover; }
.utkp-photos--editorial > a:nth-child(3n + 1) img { max-height: 90vh; object-fit: cover; }
@media (max-width: 600px) { .utkp-photos--editorial { grid-template-columns: 1fr; } .utkp-photos--pellicule img { height: 58vh; } }

/* ---------- Portfolio suivant ---------- */
.utkp-next { max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)); margin: clamp(56px, 7vw, 96px) auto; padding-inline: var(--gutter, 24px); text-align: center; }
.utkp-next > a { position: relative; display: flex; align-items: flex-end; min-height: clamp(240px, 30vw, 380px); border-radius: var(--radius, 10px); overflow: hidden; color: #fff; text-decoration: none; background: #111; isolation: isolate; text-align: left; }
.utkp-next__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.utkp-next > a:hover .utkp-next__img { transform: scale(1.04); opacity: .6; }
.utkp-next > a:hover { color: #fff; }
.utkp-next__txt { display: grid; gap: 8px; padding: clamp(22px, 3vw, 40px); }
.utkp-next__tag { font: 500 12px/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft, #d9c27a); }
.utkp-next__title { font: 500 clamp(28px, 3.4vw, 52px)/1 var(--sans, sans-serif); letter-spacing: -.02em; }
.utkp-next__all { display: inline-block; margin-top: 22px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--gold, #b8963e); padding-bottom: 2px; }

/* ---------- Page galerie : ouverture, texte lisible, mur replié ---------- */
.utkg-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter, 24px) clamp(48px, 6vw, 88px); box-sizing: border-box; }
.utkg-hero__txt > * { margin: 0; }
.utkg-hero__tag .utk-crumbs { margin: 0 0 18px; }
.utkg-hero__txt .utk-titre { padding: 0; text-align: left; }
.utkg-hero__txt .utk-titre > * { margin-inline: 0; text-align: left; }
.utkg-hero__txt .utk-titre--sep::before { margin: 0 0 22px; }
.utkg-hero__txt p:has(> .utk-titre__script) { text-align: left !important; margin: 0 0 6px; }
.utkg-hero__txt h1 { font-family: var(--sans, inherit) !important; font-size: clamp(36px, 4.4vw, 64px) !important; font-weight: 500 !important; line-height: 1.04 !important; letter-spacing: -.025em !important; text-transform: none !important; text-align: left !important; color: var(--ink, #111) !important; margin: 0 !important; }
.utkg-hero__txt h1::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 24px; background: var(--gold, #B8963E); }
.utkg-hero__pics { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 11; }
.utkg-hero__pics > a { display: block; overflow: hidden; border-radius: var(--radius, 10px); }
.utkg-hero__pics > a:first-child { grid-row: span 2; }
.utkg-hero__pics--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.utkg-hero__pics--2 { grid-template-rows: 1fr; }
.utkg-hero__pics--2 > a:first-child { grid-row: auto; }
.utkg-hero__pics img { display: block; width: 100%; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.utkg-hero__pics > a:hover img { transform: scale(1.04); }

/* Texte en colonne lisible ; photos, colonnes et murs restent larges. */
.utkg-body { border-top: 1px solid var(--line, #E6E6E6); padding-top: clamp(40px, 5vw, 72px); }
.utkg-body :is(p, ul, ol, h2, h3, h4, blockquote, .utk-titre):not(.utkg-half *):not([style*="background"] *):not(.utk-section-dark-article *) { max-width: 760px; margin-inline: auto; box-sizing: border-box; }
.utkg-body p { font-size: 17.5px; line-height: 1.75; }
.utkg-body h2:not(.utk-titre__main) { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; margin-top: clamp(40px, 5vw, 64px); }
.utkg-body h3 { font-size: 21px; margin-top: 32px; }
.utkg-body ul { padding-left: 0; list-style: none; }
.utkg-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.utkg-body ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: var(--gold, #B8963E); }
.utkg-body .utkg-half { box-sizing: border-box; }

@media (max-width: 860px) {
	.utkg-hero { grid-template-columns: 1fr; }
	.utkg-hero__pics { aspect-ratio: 4 / 3; }
}
.utkg-body :is(video, iframe) { display: block; width: 100% !important; max-width: 100% !important; height: auto; }
.utkg-body { overflow-x: clip; }

/* ---------- Galerie avec grande image mise en avant : ouverture plein écran ---------- */
.utkg-cover { position: relative; min-height: min(92vh, 980px); display: grid; align-items: end; background: #111; overflow: hidden; }
.utkg-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: utkg-zoom 14s ease-out both; }
@keyframes utkg-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .utkg-cover__img { animation: none; } }
.utkg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .72), rgba(10, 10, 10, .15) 60%), linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, .55)); pointer-events: none; }
.utkg-cover__txt { position: relative; z-index: 1; width: 100%; max-width: calc(var(--wrap, 1320px) + 2 * var(--gutter, 24px)); margin: 0 auto; padding: 0 var(--gutter, 24px) clamp(56px, 9vw, 120px); box-sizing: border-box; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.utkg-cover__txt > *, .utkg-cover__txt .utk-titre > * { margin: 0; text-align: left !important; color: #fff; }
.utkg-cover__txt .utk-titre { padding: 0; text-align: left; }
.utkg-cover__txt .utk-titre--sep::before { margin: 0 0 22px; background: var(--gold-soft, #D9C27A); }
.utkg-cover__txt .utk-titre__script { color: var(--gold-soft, #D9C27A); font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.utkg-cover__txt h1 { max-width: 13ch; font-family: var(--sans, inherit) !important; font-size: clamp(44px, 7vw, 112px) !important; font-weight: 500 !important; line-height: .96 !important; letter-spacing: -.035em !important; text-transform: none !important; color: #fff !important; }
.utkg-cover__txt .utk-titre__desc { color: rgba(255, 255, 255, .85); margin-top: 18px; }
.utkg-cover__down { position: absolute; z-index: 1; right: var(--gutter, 24px); bottom: 32px; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 50%; color: #fff; text-decoration: none; font-size: 20px; transition: background .25s, color .25s; }
.utkg-cover__down:hover { background: #fff; color: #111; }
.utkg-single:has(.utkg-cover) .utkg-body { border-top: 0; }

/* ---------- Section « Photos connectées » ---------- */
.utkg-body .utkg-connect-wrap { max-width: none !important; margin: clamp(56px, 7vw, 96px) calc(50% - 50vw) !important; padding: clamp(64px, 8vw, 112px) max(var(--gutter, 24px), calc(50vw - 560px)) !important; background: #0E1416; color: #D5DBDD; box-sizing: border-box; width: 100vw; position: relative; overflow: hidden; isolation: isolate; }
.utkg-connect-wrap::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60vw; height: 120%; background: radial-gradient(closest-side, rgba(217, 194, 122, .18), transparent); }
.utkg-body .utkg-connect-wrap :is(p, h2, h3, ul) { max-width: none; }
.utkg-connect-wrap .utk-titre { padding: 0 0 24px; }
.utkg-connect-wrap .utk-titre__main { color: #fff !important; max-width: 820px; }
.utkg-connect-wrap .utk-titre__script { color: var(--gold-soft, #D9C27A); }
.utkg-connect-wrap .utkg-lead { max-width: 760px !important; margin: 0 auto 48px !important; text-align: center !important; font-size: 19px; color: #fff; }
.utkg-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.utkg-connect__card { position: relative; padding: 32px 30px 30px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg, 14px); background: rgba(255, 255, 255, .04); }
.utkg-connect__card--main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 40px; align-items: start; border-color: rgba(217, 194, 122, .45); background: linear-gradient(135deg, rgba(217, 194, 122, .12), rgba(255, 255, 255, .03)); }
.utkg-connect__card > * { margin: 0 0 10px !important; }
.utkg-connect__card > :last-child { margin-bottom: 0 !important; }
.utkg-connect__card h3 { margin-top: 0 !important; color: #fff; font-size: 21px; font-weight: 500; }
.utkg-connect__card p, .utkg-connect__card li { color: #C9D0D2; font-size: 16px; line-height: 1.65; }
.utkg-connect__card .utkg-tag { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft, #D9C27A); }
.utkg-connect__card ul { list-style: none; padding: 0; }
.utkg-connect__card li { position: relative; padding: 8px 0 8px 22px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.utkg-connect__card li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--gold-soft, #D9C27A); }
.utkg-connect-wrap .utkg-note { max-width: 760px !important; margin: 40px auto 24px !important; text-align: center !important; color: #AEB6B9; font-size: 16px; }
.utkg-connect-wrap .utkg-center { text-align: center; margin: 0; }
.utkg-connect-wrap .utk-btn { background: #fff; color: #111 !important; border-color: #fff; }
.utkg-connect-wrap .utk-btn:hover { background: var(--gold, #B8963E); border-color: var(--gold, #B8963E); color: #fff !important; }
@media (max-width: 760px) {
	.utkg-connect, .utkg-connect__card--main { grid-template-columns: 1fr; }
	.utkg-cover { min-height: 78vh; }
}
.utkg-body .utkg-connect-wrap .utkg-connect__card h3 { color: #fff !important; font-family: var(--sans, inherit) !important; }
.utkg-body .utkg-connect-wrap p.utkg-center { text-align: center !important; max-width: none !important; }
.utkg-body .utkg-connect-wrap .utkg-center .utk-btn { display: inline-flex; padding: 16px 30px; border: 1.5px solid #fff !important; border-radius: var(--radius, 10px); background: #fff !important; color: #111 !important; font: 600 13px/1 var(--sans, inherit) !important; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.utkg-body .utkg-connect-wrap .utkg-center .utk-btn:hover { background: var(--gold, #B8963E) !important; border-color: var(--gold, #B8963E) !important; color: #fff !important; }

/* Anciennes sections colorées (Vega) : de l'air autour du texte, plus de retours à la ligne forcés. */
.utkg-body .one[style*="background-color"]:not([style*="background-color: #ffffff"]):not([style*="background-color:#ffffff"]):not([style*="background-color: #fff;"]) { padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 88px) !important; border-radius: var(--radius-lg, 14px); }
.utkg-body .one[style*="#1a1a1a"] h2 { text-align: center !important; margin-inline: auto !important; }
.utkg-body .utk-grid-2col p br, .utkg-body .utk-grid-2col p a:empty { display: none; }
.utkg-body .utk-grid-2col p { text-align: left !important; }
.utkg-body .utk-grid-2col > div { min-width: 0; }
@media (max-width: 760px) { .utkg-body .utk-grid-2col { grid-template-columns: 1fr !important; gap: 32px !important; } }
.utkg-body .one[style*="background-color"] p br, .utkg-body .one[style*="background-color"] p a:empty { display: none; }
