.sk-stage {
	position: relative;
	display: flex;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.sk-panel {
	position: relative;
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 50%;
	height: 100%;
	overflow: hidden;
	cursor: pointer;
	transition: flex-basis 0.6s ease;
}

.sk-panel--left {
	background: #ffffff;
}

.sk-panel--right {
	background: #ece5d8;
}

.is-left .sk-panel--left {
	flex-basis: 92%;
	cursor: default;
}

.is-left .sk-panel--right {
	flex-basis: 8%;
}

.is-right .sk-panel--left {
	flex-basis: 8%;
}

.is-right .sk-panel--right {
	flex-basis: 92%;
	cursor: default;
}

.sk-fixed {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50vw;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.sk-fixed--left {
	left: 0;
}

.sk-fixed--right {
	right: 0;
	align-items: flex-end;
}

.sk-reveal {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	overflow: hidden;
	transition: opacity 0.6s ease;
}

.sk-reveal--left {
	left: 50vw;
	width: 42vw;
}

.sk-reveal--right {
	right: 50vw;
	width: 42vw;
}

.is-left .sk-reveal--left,
.is-right .sk-reveal--right {
	opacity: 1;
}

.sk-logo img{
	width: 100%;	
}

.sk-nav {
	
}

.sk-link {
	text-decoration: none;
	color: inherit;
}

.sk-content {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	transition: opacity 0.6s ease;
}

.sk-content.is-loading {
	opacity: 0.35;
}

.sk-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	border: 1px solid #111111;
	border-radius: 50%;
	background: white;
	transform: translate(-50%, -50%);
	transition: left 0.6s ease;
	z-index: 5;
	pointer-events: auto;
	cursor: pointer;
}

.sk-hover-safe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 6vw;
	transform: translateX(-50%);
	z-index: 3;
}

.sk-stage.is-left .sk-hover-safe,
.sk-stage.is-right .sk-hover-safe {
	display: none;
}

.is-left .sk-handle {
	left: 92%;
}

.is-right .sk-handle {
	left: 8%;
}

.sk-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: #111111;
	transform: translateX(-50%);
	transition: left 0.6s ease;
	z-index: 4;
	pointer-events: none;
}

.is-left .sk-divider {
	left: 92%;
}

.is-right .sk-divider {
	left: 8%;
}

/* LE MENU MOBILE — masque partout, revele sous le seuil */

.sk-menu-toggle {
	display: none;
}

/* HOVER HINT — desktop only, the whole block is off below the breakpoint */

@media screen and (min-width: 901px) {

	/* HOVER HINT — home state */

	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--left:hover) .sk-panel--left {
		flex-basis: 55%;
	}
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--left:hover) .sk-panel--right {
		flex-basis: 45%;
	}
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--left:hover) .sk-divider,
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--left:hover) .sk-handle {
		left: 55%;
	}

	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--right:hover) .sk-panel--right {
		flex-basis: 55%;
	}
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--right:hover) .sk-panel--left {
		flex-basis: 45%;
	}
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--right:hover) .sk-divider,
	.sk-stage:not(.is-left):not(.is-right):has(.sk-panel--right:hover) .sk-handle {
		left: 45%;
	}

	/* HOVER HINT — folded state (nudge collapsed side toward home) */

	.sk-stage.is-left:has(.sk-panel--right:hover) .sk-panel--left {
		flex-basis: 88%;
	}
	.sk-stage.is-left:has(.sk-panel--right:hover) .sk-panel--right {
		flex-basis: 12%;
	}
	.sk-stage.is-left:has(.sk-panel--right:hover) .sk-divider,
	.sk-stage.is-left:has(.sk-panel--right:hover) .sk-handle {
		left: 88%;
	}

	.sk-stage.is-right:has(.sk-panel--left:hover) .sk-panel--left {
		flex-basis: 12%;
	}
	.sk-stage.is-right:has(.sk-panel--left:hover) .sk-panel--right {
		flex-basis: 88%;
	}
	.sk-stage.is-right:has(.sk-panel--left:hover) .sk-divider,
	.sk-stage.is-right:has(.sk-panel--left:hover) .sk-handle {
		left: 12%;
	}

}

.diapo_projets {
	position: relative;
}

.diapo-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: transparent;
	border: 0;
	padding: 0;
	line-height: 0;
	cursor: pointer;
}

.diapo-arrow--prev {
	left: 20px;
}

.diapo-arrow--next {
	right: 20px;
}

/*////////////*/
/* RESPONSIVE */
/*////////////*/

@media screen and (max-width: 900px) {

	/* LA SCÈNE PIVOTE — même système, axe vertical.
	   Les flex-basis 50 / 92 / 8 restent valables tels quels,
	   ils suivent l'axe principal du conteneur. */

	.sk-stage {
		flex-direction: column;
		height: 100vh;
		height: 100dvh;
	}

	.sk-panel {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
	}

	/* LES DEUX COUCHES REPASSENT EN FLUX.
	   Sur desktop .sk-fixed et .sk-reveal sont deux calques absolus
	   qui se croisent. En mobile elles s'empilent dans le panneau :
	   l'en-tete d'abord, puis la vitrine ou l'article.

	   C'est .sk-fixed qui tient toute la hauteur, puisqu'elle porte la
	   composition de marque, image comprise. .sk-reveal ne prend la main
	   qu'une fois la rubrique choisie — voir juste apres. */

	.sk-fixed {
		position: static;
		width: auto;
		height: auto;
		flex: 1 1 auto;
		min-height: 0;
		justify-content: flex-start;
	}

	.sk-fixed--right {
		order: -1;
		align-items: stretch;
	}

	.sk-panel--right .sk-marine {
		order: -1;
	}

	.sk-reveal {
		position: static;
		width: auto;
		height: auto;
		flex: 0 0 auto;
		min-height: 0;
	}

	/* L'ARTICLE PREND LA MAIN — l'en-tete se reduit a son contenu
	   et l'article occupe le reste, avec son propre defilement. */

	.is-left:not(.is-landing) .sk-panel--left .sk-fixed,
	.is-right:not(.is-landing) .sk-panel--right .sk-fixed {
		flex: 0 0 auto;
	}

	.is-left:not(.is-landing) .sk-panel--left .sk-reveal,
	.is-right:not(.is-landing) .sk-panel--right .sk-reveal {
		flex: 1 1 auto;
	}

	/* LE PANNEAU AU REPOS — planches 1, 4, 5 et 7.
	   L'accueil et le bandeau replie sont la meme composition : l'image
	   occupe tout le panneau et la marque se pose dessus. C'est l'etat
	   « panneau non actif », d'ou le :not() plutot que deux regles.

	   .sk-fixed devient le contexte d'empilement du panneau ; le visuel
	   y passe en fond (z-index -1). Le calage se fait sur la boite de
	   padding, c'est a dire sur toute la boite du calque, padding de
	   .padd30 comprise : le visuel touche donc les quatre bords sans
	   avoir a ressortir. */

	.sk-stage:not(.is-left) .sk-panel--left .sk-fixed,
	.sk-stage:not(.is-right) .sk-panel--right .sk-fixed {
		position: relative;
		z-index: 1;
		justify-content: center;
	}

	.sk-stage:not(.is-left) .sk-panel--left .sk-visual,
	.sk-stage:not(.is-right) .sk-panel--right .sk-visual {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: -1;
		width: auto;
		height: auto;
		max-height: none;
		margin: 0;
		aspect-ratio: auto;
	}

	.sk-stage:not(.is-left) .sk-panel--left .sk-visual img,
	.sk-stage:not(.is-right) .sk-panel--right .sk-visual img {
		width: 100%;
		height: 100%;
		min-width: 0;
		object-fit: cover;
	}

	/* L'ACCUEIL — les trois mots tiennent le bas du panneau, juste
	   au-dessus du trait. Une fois le panneau ouvert ils remontent sous
	   le logo (planche 2), ce qui est leur place dans le flux : la regle
	   ne vaut donc que pour l'accueil.
	   Les 20px redisent la padding de .padd30, que le calage sur la
	   boite de padding de .sk-fixed ne reprend pas. */

	.sk-stage:not(.is-left):not(.is-right) .sk-labels {
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: 20px;
		margin: 0;
	}

	/* LE BANDEAU REPLIE NE GARDE QUE LA MARQUE.
	   Sur l'accueil les deux textes sont deja masques ; ici c'est le
	   panneau replie pendant qu'on lit l'autre — il ne reste que le
	   logo ou les lunes, poses sur l'image. */

	.is-right .sk-panel--left .sk-labels,
	.is-right .sk-panel--left .sk-intro,
	.is-left .sk-panel--right .sk-accroche {
		display: none;
	}

	/* LE TRAIT ET LE ROND — left devient top */

	.sk-divider {
		top: 50%;
		left: 0;
		right: 0;
		width: auto;
		height: 1px;
		transform: translateY(-50%);
		transition: top 0.6s ease;
	}

	.is-left .sk-divider {
		left: 0;
		top: 92%;
	}

	.is-right .sk-divider {
		left: 0;
		top: 8%;
	}

	.sk-handle {
		transition: top 0.6s ease;
	}

	.is-left .sk-handle {
		left: 50%;
		top: 92%;
	}

	.is-right .sk-handle {
		left: 50%;
		top: 8%;
	}

	/* PAS DE SURVOL EN TACTILE */

	.sk-hover-safe {
		display: none;
	}

	/* LE QUATRIEME ETAT — vitrine et article sont exactement
	   complementaires : l'article ne parait qu'une fois une
	   rubrique choisie, sinon c'est la vitrine qui reste. */

	.sk-content {
		display: none;
	}

	.is-left:not(.is-landing) .sk-panel--left .sk-content,
	.is-right:not(.is-landing) .sk-panel--right .sk-content {
		display: block;
	}

	.is-left:not(.is-landing) .sk-panel--left .sk-landing,
	.is-right:not(.is-landing) .sk-panel--right .sk-landing {
		display: none;
	}

	/* L'ATTERRISSAGE — planches 2 et 5. L'image repasse dans le flux,
	   sous le texte, et comble tout ce qui reste jusqu'au trait. Les
	   marges negatives reprennent la padding de .padd30 : elle garde
	   le texte en retrait et laisse l'image filer d'un bord a l'autre. */

	.is-left.is-landing .sk-panel--left .sk-visual,
	.is-right.is-landing .sk-panel--right .sk-visual {
		flex: 1 1 auto;
		min-height: 0;
		height: auto;
		max-height: none;
		aspect-ratio: auto;
		margin: 0 -20px -20px;
	}

	.is-left.is-landing .sk-panel--left .sk-visual img,
	.is-right.is-landing .sk-panel--right .sk-visual img {
		width: 100%;
		height: 100%;
		min-width: 0;
		object-fit: cover;
	}

	/* Le bloc qui porte l'image et l'accroche doit grandir lui aussi,
	   sinon l'image n'a rien a combler. La marge du haut redonne l'air
	   que la compensation negative des lunes avait mange. */

	.is-right.is-landing .sk-panel--right .sk-fixed--right > .sk-landing {
		flex: 1 1 auto;
		min-height: 0;
		margin-top: 30px;
	}

	/* LE TEXTE AVANT L'IMAGE — l'ordre desktop est image puis accroche,
	   la planche 5 les inverse. */

	.sk-panel--right .sk-accroche {
		order: -1;
		margin-bottom: 30px;
	}

	/* L'ACCUEIL NE PORTE PAS LES TEXTES — planche 1.
	   Accueil et atterrissage sont deux compositions distinctes :
	   le premier est une couverture, le second porte l'intro. */

	.sk-stage:not(.is-left):not(.is-right) .sk-intro,
	.sk-stage:not(.is-left):not(.is-right) .sk-accroche {
		display: none;
	}

	/* LE BOUTON ENTRER — accueil seulement.
	   Hors du flux de .sk-fixed, dont les enfants ne se compriment pas :
	   il se cale sur le calque, qui tient tout le panneau a l'accueil. */

	.sk-enter {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 20%;
		z-index: 2;
	}

	.sk-enter__btn {
		display: inline-block;
		border: 1px solid currentColor;
		padding: 7px 20px;
		font-size: 13px;
		line-height: 1.2;
		letter-spacing: 0.03em;
	}

	.is-left .sk-enter,
	.is-right .sk-enter {
		display: none;
	}

	/* LE MENU — la nav existante devient l'overlay lateral.
	   Aucun markup duplique : ce sont les memes .sk-link,
	   donc le handler de panel.js continue de fonctionner. */

	.is-left .sk-menu-toggle,
	.is-right .sk-menu-toggle {
		display: block;
	}

	.sk-nav {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		min-width: 220px;
		margin: 0;
		padding: 70px 24px 24px;
		background: rgba(255, 255, 255, 0.93);
		text-align: left;
		z-index: 20;
		transform: translateX(100%);
		transition: transform 0.4s ease;
	}

	.is-left .sk-nav--left,
	.is-right .sk-nav--right {
		display: block;
	}

	.open_menu .sk-nav {
		transform: translateX(0);
	}

	/* 22px et non 26 : « Collaborations » doit tenir sur une ligne
	   dans un tiroir a moitie d'ecran, comme sur la planche 6. */

	.sk-nav .sk-link {
		display: block;
		width: 100%;
		font-size: 22px;
		padding: 16px 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	}

}