/* Heliumdsg CSS Document */
/* .picContainer margin-bottom Page photo / graphic / web */

* {
	font-family: 'Lato', sans-serif;
	font-weight: normal;
	outline: 0;
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body:not(.project) {
	background-color:#000;
	height:100%;
}

body.project {
	background:#f2f3ef;
}

body.project.project-dark {
	background:#171a1b;
}

body.project main.projectPres h2 {
	margin-top: 100px;
}

body.project main.projectPres h2:first-child {
	margin-top: 0 !important;
}

main,
header {
	position: relative;
	z-index: 1;
}

header {
	position: relative;
	z-index: 1000;
}

#fadeLayer { /* Pour l'apparition du fondu au noir (toutes les pages) */
	position:fixed;
	z-index:10000000;
	width:100%;
	height:100%;
	background:#000;
	top:0;
	display:none;
}

.fade-layer-visible {
	display: block !important;
	opacity: 1;
}

.fade-layer-hidden {
	display: none;
	opacity: 0;
}

/* Variables de couleurs */

:root {
	--accent-color-dark: #82ECB1;
	--hover-color-dark: #EBECE6;
}

/* //////////////////////////////////////////////////////
   ///////////////////// PAGE HOME ///////////////////// 
   ////////////////////////////////////////////////////// */

body.home nav.menu {
	z-index: 1000;
	display: flex;
    justify-content: center;
    align-items: center;
}

body.home nav ul {
	padding-left:  0;
	margin-top:  40px;
	line-height:  calc(2.8vw + 70px);
}

body.home main {
	overflow:  hidden;
	position:  absolute;
	box-sizing:  border-box;
	top:  0;
	width: 100%;
	min-height: 100vh;
}

body.home .home-seo-intro {
	position: absolute;
	left: 50%;
	bottom: 38px;
	transform: translateX(-50%);
	z-index: 1001;
	width: min(920px, calc(100% - 48px));
	padding: 0 18px;
	box-sizing: border-box;
	text-align: center;
	color: #EBECE6;
}

body.home .home-seo-intro p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

body.home .home-seo-intro p + p {
	margin-top: 6px;
}

body.home .home-seo-intro p.home-seo-intro__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	justify-content: center;
	align-items: center;
	font-family: 'Playfair Display', serif;
	font-size: 13px;
	line-height: 1.3;
}

body.home .home-seo-intro a {
	color: var(--accent-color-dark);
	text-decoration: none;
}

body.home .home-seo-intro__links a + a::before {
	content: "•";
	color: #EBECE6;
	margin-right: 12px;
}

body.home .home-seo-intro a:hover {
	color: var(--hover-color-dark);
}

@media screen and (max-width: 768px) {
	body.home .home-seo-intro {
		bottom: 26px;
		padding: 0 14px;
		width: calc(100% - 24px);
	}

	body.home .home-seo-intro p {
		font-size: 14px;
		line-height: 1.4;
	}

	body.home .home-seo-intro__links {
		font-size: 13px;
	}
}

@media screen and (max-width: 480px) {
	body.home #logo {
		padding-top: 108px;
	}

	body.home nav.menu {
		transform: translateY(-11px);
	}

	body.home nav ul {
		margin-top: 0px;
	}

	body.home .home-seo-intro {
		bottom: 34px;
		padding: 0 12px;
		width: calc(100% - 20px);
	}

	body.home .home-seo-intro p {
		font-size: 14px;
		line-height: 1.3;
	}

	body.home .home-seo-intro p.home-seo-intro__links {
		gap: 4px 10px;
		font-size: 12px;
	}

	body.home .home-seo-intro__links a:nth-child(3)::before {
		content: "";
		margin-right: 0;
	}

	body.home .home-seo-intro__links a + a::before {
		margin-right: 10px;
	}
}

body.home .frame,
body.home .content {
	height: 100%;
}

nav ul li {
	list-style: none;
	font-size: calc(2.9vw + 50px);
	text-align: center;
}

nav ul li a {
	font-family: 'Playfair Display', serif;
	color: var(--accent-color-dark);
}

nav ul li a:hover {
	color: var(--hover-color-dark);
}

.project-abbr {
	font-size: 0.9em;
}

.project-subline {
	display: inline-block;
	font-size: 0.8em;
	font-weight: bold;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-top: 4px;
}

#logo {
	position:relative;
	width: calc(7.15vw + 156px);
	margin:0 auto 10px auto;
	padding-top:109px;
	box-sizing:border-box;
}

#coordText {
	position:absolute;
	top:0;
	font-size: 13px;
	text-align:right;
	right:30px;
}

/* Partie boutons de contact et about */

#contact,
#about {
	display: block;
	position: absolute;
	color: var(--accent-color-dark);
	letter-spacing: 2px;
	font-size: 12px;
	cursor: pointer;
	top: 25px;
}

#contact span:hover,
#about a:hover {
	color: var(--hover-color-dark);
}

#contact span,
#about a {
	display: block;
	padding: 12px 10px;
	margin: -12px -10px;
}

#contact {
	right:0;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	text-align: center;
}

#contactDetails {
	position: absolute;
	top: 100%;
	right: -5px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 12px;
	pointer-events: none;
}

#contactDetails.is-open {
	pointer-events: auto;
}

#about {
	left:30px;
}

#about a {
	text-decoration:none;
	color: var(--accent-color-dark);
}

#phoneDetail,
#emailDetail,
#instagramDetail {
	z-index: 10000000;
	display: block;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	font-size: 0;
	line-height: 0;
	transform: translate3d(12px, 0, 0);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s linear 0.28s;
}

#phoneDetail {
	position:relative;
	font-weight:bold;
	background-image: url(../images/ic-contact-phone.svg);
	background-size: 12px 12px;
}

#phoneDetail:hover {
	background-image: url(../images/ic-contact-phone-blanc.svg);
}

#emailDetail {
	background-image: url(../images/ic-contact-email.svg);
	background-size: 13px 13px;
}

#emailDetail:hover {
	background-image: url(../images/ic-contact-email-blanc.svg);
}

#instagramDetail {
	background-color: var(--accent-color-dark);
	-webkit-mask-image: url(../images/ic-contact-instagram.svg);
	mask-image: url(../images/ic-contact-instagram.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-size: 13px 13px;
	mask-size: 13px 13px;
}

#phoneDetail:hover,
#emailDetail:hover {
	opacity: 1;
}

#instagramDetail:hover {
	opacity: 1;
	background-color: var(--hover-color-dark);
}

#phoneDetail.is-visible,
#emailDetail.is-visible,
#instagramDetail.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0);
	transition-delay: 0s;
}

#phoneDetail.fadingIn,
#emailDetail.fadingIn,
#instagramDetail.fadingIn {
	opacity: 1;
}


/* //////////////////////////////////////////////////////
   ///////////////////// PAGES PROJETS ///////////////////// 
   ////////////////////////////////////////////////////// */

header #projectHeader {
	width:calc(100% - 20px);
	padding:10px 10px 110px 10px;
	overflow:hidden;
	background-size:cover;
	background-repeat:no-repeat; /* A tester avec repeat pour les iPhone */
	position:relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
	background-position:50% 50%;
	background-attachment:fixed;
	color:#35434a;
}

header #projectHeader h1 {
	font-size:41px;
	margin:auto;
	line-height:28px;
	letter-spacing:0px;
	font-family: 'Playfair Display', serif;
	color: #35434A;
	margin-top:18vh;
	margin-bottom:0;
	text-align:center;
	line-height: 35px;
}

header #projectHeader #descript2 {
	font-size:16px;
	margin: 10px auto 0 auto;
	line-height:28px;
	letter-spacing:0.5px;
	margin-top: 16px;
	text-align:center;
	line-height: 22px;
}

header #projectHeader #descript2 .descript2-secondary {
	display: inline-block;
	font-size: 0.84em;
	letter-spacing: 0.35px;
}

#pageBackground {
	z-index:1000;
	position:relative;
	padding-top:90px;
}

main {
	margin:auto;
	z-index:0;
}

main.home {
	max-width:1120px;
}

main.projectPres,
main.projectPres.\-photos,
main.projectPres--photos {
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 20px;
	max-width: initial;
}

main.projectPres {
	max-width: 920px !important;
}

main.projectPres.\-photos,
main.projectPres--photos {
	max-width: 1100px !important;
}

@media screen and (max-width: 480px) {
	main.projectPres.\-photos,
	main.projectPres--photos {
		padding-left: 0px;
		padding-right: 0px;
	}
}

body.project.project-dark #projectHeader h1,
body.project.project-dark #projectHeader #descript2,
body.project.project-dark main.projectPres h2,
body.project.project-dark .links_bottom_2 > div > span {
	color: #EBECE6;
}

.picContainer {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 100px;
	max-width: 1100px;
}

@media screen and (max-width: 768px) {
	.picContainer {
		margin-bottom: 80px;
	}
}

@media screen and (max-width: 480px) {
	.picContainer {
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 360px) {
	.picContainer {
		margin-bottom: 24px;
	}
}

.picContainerIframe {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:160px;
	max-width:calc(100% - 6%);
}

.picContainer img {
	max-width:100%;
}

main.projectPres.\-photos .picContainer img,
main.projectPres--photos .picContainer img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.picContainer.is-mirrored img {
	transform: scaleX(-1);
}

.portraitPics .picContainer {
	width: 100%;
	max-width: 500px;
	margin-top: 0;
	margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
	.portraitPics .picContainer {
		margin-bottom: 80px;
	}
}

@media screen and (max-width: 480px) {
	.portraitPics .picContainer {
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 360px) {
	.portraitPics .picContainer {
		margin-bottom: 24px;
	}
}

@media screen and (max-width: 1044px) {
	main.projectPres.\-photos .photo-section,
	main.projectPres--photos .photo-section {
		display: flex;
		flex-direction: column;
		row-gap: 100px;
	}

	main.projectPres.\-photos .portraitPics,
	main.projectPres--photos .portraitPics {
		display: contents;
	}

	main.projectPres.\-photos .picContainer,
	main.projectPres--photos .picContainer,
	main.projectPres.\-photos .portraitPics .picContainer,
	main.projectPres--photos .portraitPics .picContainer,
	main.projectPres.\-photos .picContainer.picContainer-portrait,
	main.projectPres--photos .picContainer.picContainer-portrait,
	main.projectPres.\-photos .portraitPics .picContainer.picContainer-portrait,
	main.projectPres--photos .portraitPics .picContainer.picContainer-portrait {
		margin-top: 0;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 768px) {
	main.projectPres.\-photos .photo-section,
	main.projectPres--photos .photo-section {
		row-gap: 80px;
	}
}

@media screen and (max-width: 480px) {
	main.projectPres.\-photos .photo-section,
	main.projectPres--photos .photo-section {
		row-gap: 40px;
	}
}

@media screen and (max-width: 360px) {
	main.projectPres.\-photos .photo-section,
	main.projectPres--photos .photo-section {
		row-gap: 24px;
	}
}

@media (min-width:1045px) {
	.portraitPics {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.portraitPics .picContainer {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 100px;
		max-width: 500px;
	}

	.portraitPics img {
		width: 100%;
	}
}

#portrait-seul img,
.picContainer-portrait-single img {
	width: 100%;
	max-width: 500px;
}

@media screen and (max-width: 768px) {
	#portrait-seul,
	.picContainer-portrait-single {
		max-width: 340px;
	}
}

@media screen and (max-width: 480px) {
	#portrait-seul,
	.picContainer-portrait-single {
		max-width: 260px;
	}
}

@media screen and (max-width: 360px) {
	#portrait-seul,
	.picContainer-portrait-single {
		max-width: 230px;
	}
}

.picContainer-portrait img {
	height: auto;
	max-height: none;
}

@media screen and (max-width: 480px) {
	.picContainer-portrait {
		max-width: 260px;
		padding: 0;
		margin: 0 auto 40px;
	}

	.portraitPics .picContainer.picContainer-portrait {
		width: auto;
		max-width: 260px;
		margin: 0 auto 40px;
	}
}

@media screen and (max-width: 360px) {
	.picContainer-portrait {
		max-width: 230px;
		margin-bottom: 24px;
	}

	.portraitPics .picContainer.picContainer-portrait {
		width: auto;
		max-width: 230px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 24px;
	}
}

#close {
	position: fixed;
	top: 11px;
	right: 11px;
	width: 56px;
	height: 56px;
	z-index: 1000001;
	cursor: pointer;
	display: block;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

#close #cross {
	position: absolute;
	width: 19px;
	height: 19px;
	background-image: url(../images/ic-close.svg);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(0deg);
	transition: transform 0.3s ease;
	pointer-events: none;
}

#close:hover #cross {
	transform: translate(-50%, -50%) rotate(90deg);
}

/* //////////////////////////////////////////////////////
   ///////////////////// PAGE ABOUT ///////////////////// 
   ////////////////////////////////////////////////////// */

body.about .container {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	z-index: 0;
}

body.about::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 10;
	background: rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

body.about,
body.about main,
body.about .wrapper {
	min-height: 100vh;
	min-height: 100dvh;
}

body.about main {
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	pointer-events: none;
	inset: 0;
	overflow: hidden;
}

body.about {
	background: #000;
	margin: 0;
	text-align: center;
	font-family: 'Lato', sans-serif;
	font-weight: normal;
	overflow: hidden;
}

.about .wrapper {
	max-width:860px;
	padding:40px 30px;
	width: min(100%, 860px);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	margin: 0 auto;
	position:  relative;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	pointer-events: none;
}

.about a {
	text-decoration: none;
	color:#717171;
	pointer-events: auto;
}

.about h3 {
	color:#FFFFFF;
	margin-top:5px;
	font-size:15px;
	font-weight:bold;
	letter-spacing:2px;
	margin-bottom:5px;
	font-family: 'Playfair Display', serif;
	text-transform:  uppercase;
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.82), 0 0 22px rgba(0, 0, 0, 0.72), 0 0 44px rgba(0, 0, 0, 0.5);
}

.about h3:first-of-type {
	margin-top: 0;
}

.about p {
	font-weight:300;
	color:#FFF;
	line-height:24px;
	letter-spacing:0.5px;
	font-size:15px;
	margin-bottom:30px;
	text-shadow: 0 3px 10px rgba(0, 0, 0, 0.82), 0 0 22px rgba(0, 0, 0, 0.72), 0 0 44px rgba(0, 0, 0, 0.5);
}

.about p:last-child {
	margin-bottom:24px !important;
}

.about .about-photo {
	display: block;
	width: 75px;
	height: 75px;
	max-width: none;
	aspect-ratio: 1 / 1;
	margin: 0 0 24px;
	border-radius: 50%;
	clip-path: circle(50%);
	object-fit: cover;
	object-position: center;
	filter: grayscale(1) contrast(1.18);
	overflow: hidden;
}

.about h1 {
	max-width: 510px;
	margin: 0 0 60px;
	color: #fff;
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1.25;
	padding-top: 0;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.88), 0 0 30px rgba(0, 0, 0, 0.82), 0 0 60px rgba(0, 0, 0, 0.7), 0 0 96px rgba(0, 0, 0, 0.52);
}

.about-name,
.about-desktop-comma {
	display: inline;
}

.about-mobile-break {
	display: none;
}

/* Relatif à l'animation interactive du fond de page */
.about #controlKit .panel { 
	display:  none;
}

/* //////////////////////////////////////////////////////
   ///////////////////// PAGES PROJET /////////////////// 
   ////////////////////////////////////////////////////// */

/* Contenu */
.project h2 {
	font-size:15px;
	letter-spacing:1px;
	text-align:center;
	padding-top:0px;
	margin-left:40px;
	margin-right:40px;
	text-transform: uppercase;
	margin-bottom:60px;
	vertical-align: baseline;
	color:#35434A;
	font-weight:bold;
}

.project h2 a {
	color:#52D089;
	text-decoration:none;
}

body.project-design .project h2 a {
	display: inline-block;
	margin-top: 12px;
}

.project h2 a:hover {
	color:#2DAC65;
	text-decoration:none;
}

.spacer-40 {
	display: block;
	height:40px;
}

.spacer-project-links {
	display: block;
	height: 160px;
}

@media screen and (max-width: 768px) {
	.spacer-project-links {
		height: 140px;
	}
}

@media screen and (max-width: 480px) {
	.spacer-project-links {
		height: 90px;
	}
}

@media screen and (max-width: 360px) {
	.spacer-project-links {
		height: 70px;
	}
}

/* Liens en bas de page */
.links_bottom,
.links_bottom_2 {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 640px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 43px;
	font-size: 12px;
}

body.project .links_bottom {
	gap: 6px 12px;
	align-items: center;
	font-size: 13px !important;
	line-height: 1.3 !important;
}

body.project .links_bottom a {
	text-decoration: none;
	color: #52D089;
	font-size: inherit !important;
	line-height: inherit !important;
}

body.project .links_bottom a + a::before {
	content: "•";
	color: #EBECE6;
	font-size: 0.82em;
	margin-right: 12px;
}

body.project .links_bottom a:hover {
	color:#2DAC65;
}

.links_bottom_2 {
	flex-direction: column;
}

.links_bottom_2 > div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.links_bottom_2 > div > span {
	font-size: 12px;
	letter-spacing: .5px;
	color: #35434A;
	font-weight: bold;
	display: block;
}

.links_bottom_2__items {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 8px;
}

.links_bottom_2 a {
	color: #52D089;
	font-family:'Playfair Display', serif;
	text-decoration:none;
	font-size:18px;
}

.links_bottom_2__separator {
	color: #EBECE6;
	font-size: 13px;
	line-height: 1.3;
	position: relative;
	top: 3px;
}

body.project-design .links_bottom_2__separator {
	color: #35434A;
}

.links_bottom_2 a:hover {
	color: #2DAC65;
}

iframe {
	display:block;
	margin-left:auto;
	margin-right:auto;
	max-width:calc(100% - 6%) !important;
}

.video-projects {
	max-width: 1120px !important;
}

.video-grid {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 42px;
}

.video-card {
	width: 100%;
}

.video-card__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.video-card__trigger:focus-visible {
	outline: 2px solid #52D089;
	outline-offset: 6px;
}

.video-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #101314;
	overflow: hidden;
}

.video-card__poster,
.video-card__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-card__preview {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	transform: scale(1.01);
	transform-origin: center;
}

.video-card.is-previewing .video-card__preview {
	opacity: 1;
}

.video-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.video-card__play img {
	width: 36px;
	height: 36px;
	display: block;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 900000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px 20px 20px;
	background: rgba(23, 26, 27, 0.98);
}

.video-lightbox[hidden] {
	display: none;
}

.video-lightbox__inner {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-lightbox__player {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	background: transparent;
	object-fit: contain;
}

body.video-lightbox-open {
	overflow: hidden;
}

body.video-lightbox-open header.projects {
	opacity: 0;
	pointer-events: none;
}

#p-webdesign {
	font-size:1.05em; 
	color:#35434A; 
	margin-bottom:90px; 
	margin-right:10px; 
	margin-left:10px; 
	text-align:center;
}
@media screen and (max-width: 768px) {
	#p-webdesign {
		margin-bottom: 90px;
	}
}

@media screen and (max-width: 480px) {
	#p-webdesign {
		margin-bottom: 50px;
	}
}

@media screen and (max-width: 360px) {
	#p-webdesign {
		margin-bottom: 30px;
	}
}

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

/* < = 1000 px */
  
@media (max-width:1000px){
	iframe {
		width:90%;
	}
}

/* < = 600 px */

@media (max-width:600px){
	header.projects {
		height:auto;
		padding-bottom:0;
	}
	
	header #projectHeader {
		padding-bottom:50px;
	}

	header #projectHeader h1 {
		margin-top:30%;
	}
	
	#logo {
		padding-top:124px;
		margin-bottom: 0;
	}

	body.home nav.menu {
		transform: translateY(24px);
	}

	body.home nav ul {
		margin-top: 40px;
	}

	#pageBackground {
		padding-top:0;
	}
	
	header #projectHeader {
		background-attachment:scroll;
	}
	
	.about h1 {
		margin-top: 4px !important;
		padding-top: 0 !important;
		line-height: 0.72;
	}

	.about-name {
		display: block;
		font-size: 0.86em;
		line-height: 0.68;
	}

	.about-desktop-comma {
		display: none;
	}

	.about-mobile-break {
		display: block;
		line-height: 0.05;
	}
	
	#contact, #about {
		top:15px;
	}

	@media (max-width:480px){
		body.home nav.menu {
			transform: translateY(8px);
		}

		body.home nav ul {
			margin-top: 0;
		}
	}

	#contactDetails {
		right: -12px;
	}

	#contact span,
	#about a {
		padding: 14px 12px;
		margin: -14px -12px;
	}

	#phoneDetail,
	#emailDetail,
	#instagramDetail {
		width: 36px;
		height: 36px;
	}

	/* Page projet */
	
	.project h2 {
		font-size:14px;	
    	padding-top: 20px;
    	padding-bottom: 8px;
	}

	body.project .links_bottom {
		gap: 4px 10px;
		max-width: 520px;
		font-size: 12px !important;
	}

	body.project .links_bottom a {
		font-size: 12px !important;
		line-height: 1.3 !important;
	}

	body.project .links_bottom a + a::before {
		margin-right: 10px;
	}

	.links_bottom_2__separator {
		font-size: 12px;
	}

	body.project .links_bottom.links_bottom--quad a:nth-child(4)::before {
		content: "";
		margin-right: 0;
	}

	.video-projects {
		padding-left: 15px;
		padding-right: 15px;
	}

	.video-grid {
		row-gap: 30px;
	}

	.video-card__play img {
		width: 28px;
		height: 28px;
	}

	.video-lightbox {
		padding: 70px 0 0;
	}

	.video-lightbox__player {
		width: 100%;
		max-width: 100%;
	}

	/* Page about */
	
	.about .wrapper {
		padding:32px 15px;
		max-height: none;
		min-height: calc(100vh - 24px);
		min-height: calc(100dvh - 24px);
		justify-content: center;
	}
	
	body.about {
		overflow: hidden;
	}

	body.about main {
		align-items: center;
		justify-content: center;
		padding: 12px 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.about p:last-child {
		margin-bottom: 0 !important;
	}

	body.about .container {
		position: fixed;
	}
}

@media (max-width:360px){
	header #projectHeader h1 {
		font-size:32px;
	}
}

@media (max-width:890px){
	iframe {
		height: 200px !important;
	}
}

@media (max-height:600px) and (min-width:800px) { /* On masque le logo de l'accueil sur les ecrans à faible hauteur mais large */
	#logo {
		display: none !important;
	}
}


@media (max-height:500px) and (max-width:1150px) {
	header.projects, header #projectHeader {
		background-size: auto;
	}
}

@media (max-height:400px){	
	#logo {
		padding-top:15px;
	}
}

/* Menu non sticky */
.photo-menu {
	display: flex;
	justify-content: center;
	gap: 50px;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px 0;
	z-index: 9999;
}

@media (min-width: 767px) {
	.project h2 {
		margin-bottom: 90px;
	}
}

.photo-tab {
	text-decoration: none;
	color: var(--accent-color-dark);
	border-bottom: none;
	transition: all 0.3s ease;
	display: inline-block;
	padding: 8px 6px;
	margin: -8px -6px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: center calc(100% - 7px);
	background-size: 0 1px;
}

.photo-tab-label {
	display: inline;
}

.photo-tab-label--short {
	display: none;
}

.photo-tab.active {
	color: #EBECE6;
	font-weight: regular;
	pointer-events: none;
	background-size: calc(100% - 14px) 1px;
}

@media (hover: hover) and (pointer: fine) {
	.photo-tab:hover:not(.active) {
		color: var(--hover-color-dark);
	}
}

.photo-section-heading--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.photo-section {
	scroll-margin-top: 92px;
}

body.project main.projectPres--photos .photo-section-heading:not(.photo-section-heading--hidden) {
	margin-top: 130px;
	margin-bottom: 30px;
}

@media (max-width: 480px) {
	body.project main.projectPres--photos .photo-section-heading:not(.photo-section-heading--hidden) {
		margin-top: 145px !important;
		margin-bottom: 25px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media (min-width: 767px) {
	body.project main.projectPres--photos .photo-section-heading:not(.photo-section-heading--hidden) {
		margin-top: 170px;
		margin-bottom: 60px;
	}
}

#photo-menu-sticky-wrapper {
	position: relative;
	z-index: 10;
	height: auto;
	padding-top: 0;
	padding-bottom: 60px;
	width: 100%;
	margin-top: 0;
}

#photo-menu-sticky {
	display: flex;
	justify-content: center;
	position: relative;
	width: auto;
	z-index: 1000;
}

#photo-menu-sticky.sticky {
	position: fixed;
	top: 20px;
	left: 0;
	width: 100%;
	justify-content: center;
	padding-left: 0;
	background-color: transparent;
	z-index: 10000;
	transform: none;
}

#photo-menu-sticky.sticky::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 80px;
	background: linear-gradient(to bottom, rgba(23, 26, 27, 0.7), transparent);
	pointer-events: none;
	z-index: -1;
}

@media (max-width: 768px) {
	.photo-menu {
		gap: 9px;
		font-size: 13px;
	}

	.photo-tab {
		padding: 12px 3px;
		margin: -12px -3px;
		background-position: center calc(100% - 11px);
	}

	.photo-tab.active {
		background-size: calc(100% - 8px) 1px;
	}

	#photo-menu-sticky.sticky .photo-tab[data-short-label] .photo-tab-label--full {
		display: none;
	}

	#photo-menu-sticky.sticky .photo-tab[data-short-label] .photo-tab-label--short {
		display: inline;
	}

	#photo-menu-sticky.sticky {
		gap: 9px;
		font-size: 13px;
		left: 0;
		transform: none;
		justify-content: flex-start;
		padding-left: 16px;
		padding-right: 36px;
		width: 100vw;
	}

	#photo-menu-sticky.sticky .photo-tab {
		transform: none;
		padding-left: 3px;
		padding-right: 3px;
	}

	#photo-menu-sticky:not(.sticky) {
		left: 50%;
		transform: translateX(-50%);
		justify-content: center;
		padding-left: 0;
		width: auto;
	}

	#photo-menu-sticky:not(.sticky) .photo-tab {
		transform: none;
	}
}
