/**
 * Styles calqués sur le thème Onie (Tailwind compilé) — éléments architectes.
 * Base : 62.5% ≈ 1rem = 10px (comme l’ancienne feuille).
 */

:root {
	--vaya-logo-unit: 9.65rem;
	--vaya-header-gap: 0.2rem;
	--vaya-gap-nav-to-grid: 5rem;
}

body.front-end {
	font-size: 62.5%;
	-webkit-font-smoothing: antialiased;
	padding: 0;
	margin: 0;
}

main {
	display: block;
	min-height: 50vh;
	/* Début du contenu sous la barre fixe (hauteur = logo v2) */
	padding-top: var(--vaya-logo-unit);
	width: calc(100vw - 2 * var(--vaya-logo-unit));
	max-width: calc(100vw - 2 * var(--vaya-logo-unit));
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Fiche projet : le héros passe sous le header fixe (comme Onie). */
body.nav-transparent main {
	padding-top: 0;
}

/* --- Typo utilitaires (noms identiques à l’originel) --- */
.text-xxxs {
	font-size: 1.2rem;
}
.text-xxs {
	font-size: 1.4rem;
}
.text-xs {
	font-size: 1.6rem;
}
.text-sm {
	font-size: 1.8rem;
}
.text-md {
	font-size: 2rem;
}
.text-lg {
	font-size: 2.4rem;
}
.text-3xl {
	font-size: 3.2rem;
}
.uppercase {
	text-transform: uppercase;
}
.text-grey-soft {
	color: #38383899;
}
.fill-main {
	fill: #000;
}
.text-white {
	color: #fff;
}
.font-medium {
	font-weight: 500;
}
.leading-tight {
	line-height: 1.2;
}

/* --- Layout --- */
.wrap {
	width: 100%;
	max-width: 144rem;
	margin-left: auto;
	margin-right: auto;
}
._with-paddings {
	padding-left: 3rem;
	padding-right: 3rem;
}
.px-12 {
	padding-left: 0;
	padding-right: 0;
}
.py-20 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
.py-hero {
	padding-top: 8rem;
	padding-bottom: 8rem;
}
.flex {
	display: flex;
}
.flex-wrap {
	flex-wrap: wrap;
}
.items-center {
	align-items: center;
}
.justify-between {
	justify-content: space-between;
}
.gap-8 {
	gap: 2rem;
}
.gap-12 {
	gap: 3rem;
}
.gap-24 {
	gap: 6rem;
}
.gap-6 {
	gap: 1.5rem;
}
.gap-x-20 {
	column-gap: 5rem;
}
.gap-y-8 {
	row-gap: 2rem;
}
.gap-28 {
	gap: 7rem;
}
.gap-55 {
	gap: 5.5rem;
}
.mt-8 {
	margin-top: 2rem;
}
.mt-16 {
	margin-top: 4rem;
}
.mt-20 {
	margin-top: 5rem;
}
.mb-8 {
	margin-bottom: 2rem;
}
.mb-12 {
	margin-bottom: 3rem;
}
.mb-22 {
	margin-bottom: 2.2rem;
}
.pb-12rem {
	padding-bottom: 12rem;
}
.mt-2 {
	margin-top: 0.5rem;
}
.mt-4 {
	margin-top: 1rem;
}
.mt-6 {
	margin-top: 1.5rem;
}

/* Grille fiche projet */
.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}
.gap-x-7 {
	column-gap: 7rem;
}
.gap-y-6 {
	row-gap: 6rem;
}
.col-span-3 {
	grid-column: span 3 / span 3;
}
.col-span-8 {
	grid-column: span 8 / span 8;
}
.col-start-5 {
	grid-column-start: 5;
}
.sticky-sidebar {
	position: sticky;
	top: 12.3rem;
}
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gap-8 {
	gap: 2rem;
}
.aspect-4-3 {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.aspect-3-4 {
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
.object-cover {
	object-fit: cover;
}
.w-full {
	width: 100%;
}
.h-full {
	height: 100%;
}
.text-center {
	text-align: center;
}

@media (max-width: 1020px) {
	.tablet-stack {
		display: flex;
		flex-direction: column;
	}
	.tablet-full {
		grid-column: 1 / -1;
		width: 100%;
	}
	.col-start-5 {
		grid-column-start: 1;
	}
	.sticky-sidebar {
		position: static;
	}
}

@media (max-width: 800px) {
	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
	}
	.desktop-hide {
		display: none;
	}
}

@media (min-width: 801px) {
	.desktop-hide {
		display: block;
	}
}

/* --- Couleurs Onie --- */
.bg-primary {
	background-color: rgb(2, 58, 196);
}
.bg-grey {
	background-color: #808080;
}
.bg-white {
	background-color: #fff;
}
.border-top-light {
	border-top: 1px solid #f2f2f2;
}

/* --- Header --- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header__wrap {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	align-items: flex-start;
	padding-left: 0;
	padding-right: 0;
}
.header__wrap--v2 {
	padding: 0;
}
.header__head {
	display: flex;
	justify-content: space-between;
	gap: 3rem;
	width: 100%;
	align-items: center;
}
.header__brand {
	margin: 0;
	line-height: 0;
}
.header__logo-full img {
	display: block;
	height: auto;
	width: 18.3rem;
	max-width: 100%;
}
.header__logo-short {
	display: none;
}
.header__logo-short img {
	display: block;
	width: 5rem;
	height: 5rem;
	object-fit: contain;
}
.header__logo-full {
	display: flex;
}

/* Transparent sur fiches projet (héro) */
.nav-transparent .header:not(.is-fixed):not(.is-active) .header__logo-full {
	display: flex;
}
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--header .menu__link,
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--header .menu__list > li > a,
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--tabs .menu__link,
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--tabs .menu__list > li > a {
	color: #fff;
}
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--tabs .menu__list > li:not(.current-menu-item) > a {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}
.nav-transparent .header:not(.is-fixed):not(.is-active) .menu--tabs .menu__list > li.current-menu-item > a {
	background: #023ac4;
	color: #fff;
}
.nav-transparent .header:not(.is-fixed):not(.is-active) .header__socials--v2 .social-icon {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.header.is-fixed,
.header.is-fixed.is-active {
	background-color: #fff;
}

/* Logo compact uniquement après scroll (classe is-scrolled dans header.js), pas au seul menu ouvert en haut de page */
.header.is-scrolled .header__logo-full {
	display: none;
}
.header.is-scrolled .header__logo-short {
	display: block;
}

.header__content {
	display: flex;
	align-items: center;
	gap: 4rem;
}
@media (max-width: 800px) {
	.header__head {
		width: 100%;
	}
	.header__content {
		display: none;
	}
	.header.is-active .header__content {
		display: flex;
		flex-direction: column;
		height: 100%;
		justify-content: center;
		align-items: center;
	}
	.header.is-active {
		height: 100%;
		background: #fff;
	}
	.header.is-active .header__wrap {
		flex-direction: column;
		height: 100%;
	}
}

.menu--header .menu__list,
.header .menu__list {
	display: flex;
	gap: 4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu--header .menu__link,
.header .menu__link,
.menu--header .menu__list > li > a {
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity 0.4s;
}
.menu--header .menu__link:hover,
.header .menu__link:hover,
.menu--header .menu__list > li > a:hover {
	opacity: 0.6;
}

.burger {
	appearance: none;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0.8rem;
}
.burger__item {
	display: block;
	width: 3.2rem;
	height: 2px;
	background: #000;
	position: relative;
}
.nav-transparent .burger__item {
	background: #fff;
}
.header.is-fixed .burger__item,
.header.is-active .burger__item {
	background: #000;
}
.burger__item::before,
.burger__item::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: inherit;
}
.burger__item::before {
	top: -0.8rem;
}
.burger__item::after {
	top: 0.8rem;
}

/* --- Footer ---
   wp_nav_menu : .menu--header / .menu--footer et .menu__list sont sur le même <ul> (pas un ul enfant). */
footer ul.menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer ul.menu__list > li {
	list-style: none;
}
footer ul.menu--header.menu__list {
	display: flex;
	gap: 6rem;
	align-items: center;
	flex-wrap: wrap;
}
footer ul.menu--footer.menu__list {
	display: flex;
	gap: 7rem;
	align-items: center;
	flex-wrap: wrap;
}
footer .menu--header .menu__link,
footer .menu--footer .menu__link,
footer ul.menu--footer.menu__list > li > a {
	font-size: 2rem;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.4s;
}
footer .menu--footer .menu__link,
footer ul.menu--footer.menu__list > li > a {
	font-size: 1.2rem;
}
footer .menu__link:hover,
footer ul.menu--footer.menu__list > li > a:hover {
	opacity: 0.6;
}
.footer-logo-white img {
	/* Logo SVG : fond #023ac4 = même bleu que .bg-primary — pas d’inversion */
	max-width: 14.1rem;
	height: auto;
}
.footer-link {
	text-decoration: none;
}
.footer-link:hover {
	opacity: 0.85;
}
.footer-legal {
	align-items: center;
}
@media (max-width: 800px) {
	footer ul.menu--header.menu__list {
		flex-direction: column;
		gap: 1rem;
		align-items: flex-start;
	}
}

/* --- Hero projet --- */
.vaya-hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: 80vh;
	background: #808080;
}
.vaya-hero__title {
	position: absolute;
	top: 11.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	text-transform: uppercase;
	font-size: 3.2rem;
	font-weight: 500;
	z-index: 50;
	margin: 0;
	text-align: center;
	max-width: 90%;
}
.vaya-hero__media {
	position: absolute;
	inset: 0;
}
.vaya-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-gradient-overlays {
	position: absolute;
	inset: 0;
	z-index: 40;
	pointer-events: none;
}
.hero-gradient-overlays::before,
.hero-gradient-overlays::after {
	content: "";
	position: absolute;
	height: 24rem;
	width: 100%;
	left: 0;
}
.hero-gradient-overlays::before {
	top: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}
.hero-gradient-overlays::after {
	bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.meta-hr {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.meta-label {
	font-weight: 500;
	margin: 0 0 0.4rem;
}
.project-meta-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.7rem;
}

/* --- Barre bas projet --- */
.vaya-project-bottombar {
	height: 10.1rem;
	min-height: 8rem;
}
.sticky-bottom {
	position: sticky;
	bottom: 0;
	z-index: 20;
}
.bottombar-archive-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.bottombar-link {
	text-decoration: none;
	color: inherit;
	max-width: 40%;
}
.bottombar-link:hover {
	opacity: 0.85;
}

/* --- Membre --- */
.vaya-member-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 7rem;
	align-items: flex-start;
}
.columns-wide {
	max-width: 120rem;
	margin: 0 auto;
}
.col-38 {
	flex: 0 0 38%;
	max-width: 38%;
}
.col-62 {
	flex: 1 1 0;
	min-width: 28rem;
}
@media (max-width: 800px) {
	.col-38,
	.col-62 {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* --- Contenu --- */
.text-content {
	line-height: 1.56;
}
.text-content p {
	margin: 0 0 1em;
}
.text-content img {
	max-width: 100%;
	height: auto;
}

/* WordPress core */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}
.pagination a,
.pagination span {
	padding: 0.5rem 1rem;
	text-decoration: none;
}

/* Cartes archive */
.vaya-card-project__link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.vaya-card-project__link:hover .vaya-card-project__img {
	transform: scale(1.02);
	transition: transform 0.4s;
}

/* --- Blocs ACF (Onie) --- */
.predefined-bg-lightgrey {
	background-color: #f8f8f8;
}
.mb-24 {
	margin-bottom: 6rem;
}
.text-main {
	color: #000;
}
.pt-gutter {
	padding-top: 3.2rem;
}
.aspect-square {
	aspect-ratio: 1 / 1;
}
.overflow-hidden {
	overflow: hidden;
}

/* Navigation entre membres (bloc ACF members-navigation, logique Onie) */
.vaya-members-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 11rem;
	gap: 2rem;
}
.vaya-members-nav__item {
	display: flex;
	align-items: center;
	gap: 2rem;
	text-decoration: none;
	color: inherit;
	flex: 1 1 0;
	min-width: 0;
}
.vaya-members-nav__text span {
	display: block;
}
.vaya-members-nav__avatar {
	display: block;
	width: 7.6rem;
	height: 7.6rem;
	border-radius: 9999px;
	flex-shrink: 0;
}
.vaya-members-nav__plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	background: rgb(0 0 0 / 0.05);
	flex-shrink: 0;
}
.vaya-members-nav__plus svg {
	display: block;
}
.vaya-members-nav__center {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 30rem;
	max-width: 100%;
	min-height: 11rem;
	padding: 2rem 3rem;
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
	text-decoration: underline;
	color: inherit;
	font-size: 1.8rem;
	line-height: 1.2;
}
@media (max-width: 800px) {
	.vaya-members-nav__inner {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		gap: 0;
	}
	.vaya-members-nav__item {
		justify-content: space-between;
		padding: 2rem 0;
	}
	.vaya-members-nav__item--first {
		order: 1;
	}
	.vaya-members-nav__item--second {
		order: 2;
	}
	.vaya-members-nav__center {
		order: 3;
		width: 100%;
		min-height: 0;
		border-left: 0;
		border-right: 0;
		border-top: 1px solid #f2f2f2;
		border-bottom: 1px solid #f2f2f2;
		margin-bottom: 3rem;
		padding: 3rem;
	}
}

.vaya-members-acf-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 3.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.vaya-members-acf-item {
	grid-column: span 4;
}
@media (max-width: 1020px) {
	.vaya-members-acf-item {
		grid-column: span 6;
	}
}
@media (max-width: 800px) {
	.vaya-members-acf-item {
		grid-column: span 12;
	}
}

.vaya-members-summary {
	cursor: pointer;
	list-style: none;
}
.vaya-members-summary::-webkit-details-marker {
	display: none;
}
.vya-minus {
	display: none;
}
.vaya-members-details[open] .vya-plus {
	display: none;
}
.vaya-members-details[open] .vya-minus {
	display: inline;
}

.vaya-members-toggle-icon {
	width: 6rem;
	height: 6rem;
	background: rgb(0 0 0 / 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	line-height: 1;
	flex-shrink: 0;
}
.vaya-members-details[open] .vaya-members-toggle-icon {
	background: rgb(0 0 0 / 0.1);
}

.wrap-xl {
	max-width: 160rem;
	margin-left: auto;
	margin-right: auto;
}
.wrap-md {
	max-width: 100rem;
	margin-left: auto;
	margin-right: auto;
}
.wrap-sm {
	max-width: 90rem;
	margin-left: auto;
	margin-right: auto;
}
.wrap-xs {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}
.wrap-xxs {
	max-width: 60rem;
	margin-left: auto;
	margin-right: auto;
}

/* --- Bloc ACF project-slider (plein écran) --- */
.vaya-project-slider {
	position: relative;
	height: 100vh;
	min-height: 42rem;
	overflow: hidden;
}
.vaya-project-slider__backgrounds {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vaya-project-slider__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.45s ease;
	z-index: 1;
}
.vaya-project-slider__bg[data-index="0"] {
	opacity: 1;
}
.vaya-project-slider__bg--mobile {
	display: none;
}
@media (max-width: 800px) {
	.vaya-project-slider__bg--desktop {
		display: none;
	}
	.vaya-project-slider__bg--mobile {
		display: block;
	}
}
.vaya-project-slider__cards-wrap {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 4.3rem;
	z-index: 60;
	width: 100%;
	max-width: 144rem;
	pointer-events: none;
}
.vaya-project-slider__cards-wrap a {
	pointer-events: auto;
}
.vaya-project-slider__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	height: 30rem;
	width: 100%;
}
.vaya-project-slider__card {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	opacity: 0;
	transition: opacity 0.45s ease;
}
.vaya-project-slider__card[data-index="0"] {
	opacity: 1;
}
.vaya-project-slider__card-link {
	display: flex;
	flex-direction: column;
	max-width: 42.6rem;
	width: 100%;
	text-decoration: none;
	color: inherit;
}
.vaya-project-slider__title {
	text-transform: uppercase;
	font-size: 2rem;
	margin: 0 0 1rem;
	color: #fff;
	font-weight: 500;
}
.text-content--slider {
	color: #fff;
}
.vaya-project-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 1rem;
}
.vaya-project-slider__nav--prev {
	left: 3rem;
}
.vaya-project-slider__nav--next {
	right: 3rem;
}
.vaya-acf-empty {
	padding: 2rem;
	background: #f5f5f5;
	border: 1px dashed #ccc;
}

/* =============================================================================
   Design v2 — en-tête (logo carré, onglets carrés, réseaux à droite) + archive projets mosaïque
   ============================================================================= */

/* --- Header v2 --- */
.header--v2 .header__wrap--v2 {
	max-width: 100%;
}
.header--v2 .header__head--v2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: var(--vaya-header-gap);
}
.header--v2 .header__brand {
	flex-shrink: 0;
}
.header--v2 .header__logo-full img {
	width: var(--vaya-logo-unit);
	height: var(--vaya-logo-unit);
	max-width: none;
	object-fit: contain;
}
.header--v2 .header__logo-short img {
	width: var(--vaya-logo-unit);
	height: var(--vaya-logo-unit);
}

@media (min-width: 801px) {
	.header--v2 .header__wrap--v2 {
		flex-direction: row;
		align-items: center;
		gap: 48px;
	}
	.header--v2 .header__head--v2 {
		width: auto;
		flex-shrink: 0;
		justify-content: flex-start;
	}
	.header--v2 .burger {
		display: none;
	}
	.header--v2 .header__content--v2 {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex: 1;
		min-width: 0;
		position: static;
		height: calc(var(--vaya-logo-unit) / 2);
		min-height: calc(var(--vaya-logo-unit) / 2);
		max-height: calc(var(--vaya-logo-unit) / 2);
		padding: 0;
		background: transparent;
		box-sizing: border-box;
	}
	.header--v2 .header__nav {
		flex: 1;
		display: flex;
		align-items: center;
		min-width: 0;
		height: 100%;
		max-height: calc(var(--vaya-logo-unit) / 2);
	}
	.header--v2 .menu--tabs.menu__list {
		gap: var(--vaya-header-gap);
		align-items: stretch;
		height: 100%;
		max-height: calc(var(--vaya-logo-unit) / 2);
	}
	.header--v2 .menu--tabs .menu__list > li {
		display: flex;
		max-height: 100%;
	}
	.header--v2 .menu--tabs .menu__link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: calc(var(--vaya-logo-unit) / 2);
		height: calc(var(--vaya-logo-unit) / 2);
		min-width: calc(var(--vaya-logo-unit) / 2);
		min-height: calc(var(--vaya-logo-unit) / 2);
		max-width: calc(var(--vaya-logo-unit) / 2);
		max-height: calc(var(--vaya-logo-unit) / 2);
		padding: 0;
		box-sizing: border-box;
		font-size: 1.2rem;
		font-weight: 700;
		text-transform: uppercase;
		text-decoration: none;
		text-align: center;
		line-height: 1.1;
		overflow: hidden;
		background: #e8e8e8;
		color: #000;
		transition: background 0.2s, color 0.2s;
		opacity: 1;
	}
	.header--v2 .menu--tabs .menu__link:hover {
		opacity: 0.85;
	}
	.header--v2 .menu--tabs .current-menu-item > .menu__link,
	.header--v2 .menu--tabs .current_page_item > .menu__link {
		background: #023ac4;
		color: #fff;
	}
	/* Réseaux : colonne de 2 carrés gris ; hauteur totale = 1 onglet (logo/2), entrefer type maquette */
	.header--v2 .header__socials--v2 {
		--vaya-social-stack-gap: 0.2rem;
		--vaya-social-cell: calc((var(--vaya-logo-unit) / 2 - var(--vaya-social-stack-gap)) / 2);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: var(--vaya-social-stack-gap);
		margin-left: auto;
		flex-shrink: 0;
		width: var(--vaya-social-cell);
		height: calc(var(--vaya-logo-unit) / 2);
		max-height: calc(var(--vaya-logo-unit) / 2);
		box-sizing: border-box;
	}
	.header--v2 .header__socials--v2 .social-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: var(--vaya-social-cell);
		height: var(--vaya-social-cell);
		min-width: var(--vaya-social-cell);
		min-height: var(--vaya-social-cell);
		background: #e8e8e8;
		color: #000;
		text-decoration: none;
		box-sizing: border-box;
		transition: opacity 0.2s ease, background 0.2s ease;
	}
	.header--v2 .header__socials--v2 .social-icon:hover {
		opacity: 0.88;
	}
	.header--v2 .header__socials--v2 .social-icon svg {
		width: 42%;
		height: 42%;
		max-width: 2.2rem;
		max-height: 2.2rem;
	}
}

@media (max-width: 800px) {
	.header--v2 .header__content--v2 {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
	}
	.header--v2 .menu--tabs.menu__list {
		flex-direction: column;
		width: 100%;
		max-width: 32rem;
		gap: 0.8rem;
	}
	.header--v2 .menu--tabs .menu__link {
		min-height: 5.6rem;
		width: 100%;
		box-sizing: border-box;
		background: #e8e8e8;
		color: #000;
		font-size: 1.4rem;
		font-weight: 700;
		text-transform: uppercase;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 1;
	}
	.header--v2 .menu--tabs .current-menu-item > .menu__link,
	.header--v2 .menu--tabs .current_page_item > .menu__link {
		background: #023ac4;
		color: #fff;
	}
	.header--v2 .header__socials--v2 {
		flex-direction: column;
	}
}

/* --- Archive projets mosaïque ---
   Espace sous la NAV avant la mosaïque (maquette). */
body.vaya-archive-project main {
	padding-top: calc(var(--vaya-logo-unit) + var(--vaya-gap-nav-to-grid));
	padding-bottom: 4rem;
}

.vaya-archive--project-v2 {
	padding-top: 0;
}

.vaya-archive-project-shell {
	width: 100%;
	box-sizing: border-box;
}

.vaya-archive--project-v2 .archive-header {
	display: none;
}

.vaya-project-mosaic {
	width: 100%;
	aspect-ratio: 1;
	max-width: 100%;
	margin: 0 0 0.2rem;
}

.vaya-project-mosaic__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(4, 1fr);
	gap: 2px;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	box-sizing: border-box;
}

.vaya-project-mosaic__item {
	min-height: 0;
	min-width: 0;
	position: relative;
}

.vaya-project-mosaic__link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #d0d0d0;
}

.vaya-project-mosaic__link:hover .vaya-project-mosaic__img {
	transform: scale(1.03);
}

.vaya-project-mosaic__media {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.vaya-project-mosaic__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.vaya-project-mosaic__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.2rem 1.6rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	pointer-events: none;
}

.vaya-project-mosaic__title {
	font-size: 1.4rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2;
}

.vaya-project-mosaic__meta {
	font-size: 1.2rem;
	opacity: 0.9;
}

@media (max-width: 800px) {
	body.vaya-archive-project main {
		padding-top: calc(var(--vaya-logo-unit) + max(2.4rem, var(--vaya-gap-nav-to-grid)));
	}
	.vaya-project-mosaic {
		max-width: 100%;
	}
}
