/* ------------------------------------------------------------------

01. General style
02. Owl-Theme custom style
03. Preloader style
04. Cursor & Drag style
05. Navigation style
06. Header Navigation style
07. Homepage style
08. Homepage Image Animation style
09. For Images Reveal Effect style
10. Text Animation style
11. For Images Imago Effect style
12. Page Header Banner style
13. Section style
14. Resume style
15. Skills Progress Bar style
16. Services style
17. Portfolio style
18. Gallery style
19. YouTube PopUp style
20. Accordion Box (for Faqs) style
21. Testimonials style
22. Clients style
23. Homepage Blog style
24. Blog style
25. Post style
26. Post Prev & Next style
27. Contact style
28. Button style
29. Footer style

------------------------------------------------------------------- */


/* ======= General style ======= */
html,
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    /* Limite les corrections de scroll de Chrome quand le header passe en fixed (saut de layout). */
    overflow-anchor: none;
}
body {
    font-family: var(--site-font-heading, 'Bebas Neue'), sans-serif;
    color: #868a9b;
    font-size: var(--site-font-size-body, 16px);
    line-height: 1.75em;
    font-weight: 400;
    background: #F4F5F7;
}
img {
    width: 100%;
    height: auto;
}
/* typography */
/* headings — échelle relative à --site-font-size-h1 (réglable dans l’admin) */
h1 {
    font-size: var(--site-font-size-h1, 60px);
}
h2 {
    font-size: calc(var(--site-font-size-h1, 60px) * 0.8);
}
h3 {
    font-size: calc(var(--site-font-size-h1, 60px) * 0.6);
}
h4 {
    font-size: calc(var(--site-font-size-h1, 60px) * 0.5);
}
h5 {
    font-size: calc(var(--site-font-size-h1, 60px) * 0.4);
}
h6 {
    font-size: calc(var(--site-font-size-h1, 60px) * 0.35);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #868a9b;
    font-family: var(--site-font-heading, 'Bebas Neue'), sans-serif;
    font-weight: 700;
    line-height: 1.25em;
    text-transform: uppercase;
}
/* paragraph */
p {
    font-family: var(--site-font-body, 'Syne'), sans-serif;
    font-size: var(--site-font-size-body, 16px);
    line-height: 1.75em;
    margin: 0 0 20px;
    color: #868a9b;
    font-weight: 400;
}
/* lists */
ul {
    list-style-type: none;
}
/* links */
a {
    color: #18191d;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #18191d;
}
a:link {
    text-decoration: none;
}
a:focus {
    outline: none;
}
img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
/* form element */
button,
input,
optgroup,
select,
textarea {
    font-family: var(--site-font-body, 'Syne'), sans-serif;
}
input[type="password"]:focus,
input[type="email"]:focus,
input[type="text"]:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
textarea:focus {
    outline: none;
}
input[type="password"],
input[type="email"],
input[type="text"],
input[type="file"],
textarea {
    max-width: 100%;
    margin-bottom: 20px;
    padding: 15px 0;
    height: auto;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-width: 0 0 2px;
    border-style: solid;
    display: block;
    width: 100%;
    line-height: 1.5em;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #868a9b;
    background-image: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
input:focus,
textarea:focus {
    border-bottom-width: 2px;
    border-color: #18191d;
}
/* submit and alert success  */
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height: 1.75em;
    -webkit-transition: background-color .15s ease-out;
    transition: background-color .15s ease-out;
    border: none;
    color: #868a9b;
    background: #18191d;
    padding: 17px 34px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover {
    background: #18191d;
    color: #fff;
    border: none;
}

button.mfp-close:hover,
button.mfp-arrow:hover {
    background: transparent;
}
.alert-success {
    background: transparent;
    color: #868a9b;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 0px;
}
select {
    padding: 10px;
    border-radius: 5px;
}
th,
tr,
td {
    padding: 10px 0;
}
input[type="radio"],
input[type="checkbox"] {
    display: inline;
}
/* placeholder */
::-webkit-input-placeholder {
    color: #868a9b;
    font-size: 16px;
    font-weight: 400;
}
:-moz-placeholder {
    color: #868a9b;
}
::-moz-placeholder {
    color: #868a9b;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #868a9b;
}
/* important css */
.bg-whit {
    background-color: #fff;
}
.bg-drknavy {
    background-color: #18191d;
}
.bg-blcknavy {
    background-color: #18191d;
}
.valign {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.v-middle {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}
.pb-0 {
    padding-bottom: 0px !important;
}
.pt-0 {
    padding-top: 0px !important;
}
.mt-25 {
    margin-top: 25px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-45 {
    margin-top: 45px;
}
.mt-60 {
    margin-top: 60px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-25 {
    margin-bottom: 25px;
}
.mb-45 {
    margin-bottom: 45px;
}
.mb-60 {
    margin-bottom: 60px;
}
.bg-fixed {
    background-attachment: fixed;
}
.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
}
.bg-img-position-top {
    background-position: top;
}
.ontop {
    position: relative;
    z-index: 7;
}
.rest {
    padding: 0 !important;
    margin: 0 !important;
}
.d-flex {
    display: flex!important;
}
.full-width {
    width: 100% !important;
}
/* list style */
.ullist {
    display: grid;
    font-size: 16px;
}
.ullist ul {
    position: relative;
    float: left;
    padding: 0px;
}
.ullist ul li {
    position: relative;
    line-height: 1.5em;
    margin-bottom: 10px;
    padding-left: 25px;
}
.ullist ul li:before {
    content: "\e64c";
    font-family: "Themify";
    position: absolute;
    left: 0;
    top: -1px;
    color: #18191d;
    font-weight: 400;
    font-size: 13px;
}


/* ======= Owl-Theme custom style ======= */
.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 14px;
    line-height: 1.5;
    display: block;
    outline: none;
}
.owl-theme .owl-dots {
    margin-top: 14px;
}
.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 10px;
    border-radius: 50%;
    background: rgb(97, 96, 96);
    border: 1px solid rgba(0, 0, 0, 0.5);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
    border: 1px solid #fff;
}
/* owl nav */
.owl-theme .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.owl-theme .owl-prev {
    float: left;
}
.owl-theme .owl-next {
    float: right;
}
.owl-theme .owl-nav [class*=owl-] {
    color: #FFF;
    font-size: 20px;
    margin: 5px 30px;
    padding: 4px 7px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
    border-radius: 0px;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    color: #fff;
    background: transparent;
}











/* ======= Preloader style ======= */
html.preloader-skip .preloader-bg,
html.preloader-skip #preloader {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Connexion très lente ou chargement long : pastille discrète (injectée par site-network-preload-boot.js) */
#subtle-net-loader {
	position: fixed;
	left: 50%;
	bottom: max(14px, env(safe-area-inset-bottom, 0px));
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 999998;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 7px 16px 9px;
	border-radius: 999px;
	background: rgba(24, 25, 29, 0.42);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: rgba(255, 255, 255, 0.9);
	font-family: "Syne", system-ui, sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0;
	-webkit-animation: subtle-net-loader-in 0.42s ease 0.05s forwards;
	animation: subtle-net-loader-in 0.42s ease 0.05s forwards;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}
#subtle-net-loader .subtle-net-loader__bar {
	width: 52px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.12);
	overflow: hidden;
	position: relative;
}
#subtle-net-loader .subtle-net-loader__bar::after {
	content: "";
	position: absolute;
	left: -40%;
	top: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	-webkit-animation: subtle-net-loader-shimmer 1.05s ease-in-out infinite;
	animation: subtle-net-loader-shimmer 1.05s ease-in-out infinite;
}
#subtle-net-loader.subtle-net-loader--out {
	opacity: 0;
	-webkit-transition: opacity 0.22s ease;
	-o-transition: opacity 0.22s ease;
	transition: opacity 0.22s ease;
	-webkit-animation: none;
	animation: none;
}
@-webkit-keyframes subtle-net-loader-in {
	from {
		opacity: 0;
		-webkit-transform: translateX(-50%) translateY(6px);
		transform: translateX(-50%) translateY(6px);
	}
	to {
		opacity: 1;
		-webkit-transform: translateX(-50%) translateY(0);
		transform: translateX(-50%) translateY(0);
	}
}
@keyframes subtle-net-loader-in {
	from {
		opacity: 0;
		-webkit-transform: translateX(-50%) translateY(6px);
		transform: translateX(-50%) translateY(6px);
	}
	to {
		opacity: 1;
		-webkit-transform: translateX(-50%) translateY(0);
		transform: translateX(-50%) translateY(0);
	}
}
@-webkit-keyframes subtle-net-loader-shimmer {
	0% {
		left: -40%;
	}
	100% {
		left: 100%;
	}
}
@keyframes subtle-net-loader-shimmer {
	0% {
		left: -40%;
	}
	100% {
		left: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	#subtle-net-loader {
		-webkit-animation: none;
		animation: none;
		opacity: 1;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	#subtle-net-loader .subtle-net-loader__bar::after {
		-webkit-animation: none;
		animation: none;
		left: 20%;
		width: 60%;
		opacity: 0.5;
	}
}

.preloader-bg,
#preloader {
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #F4F5F7;
	z-index: 999999;
}
#preloader {
	display: table;
	table-layout: fixed;
}
#preloader-status {
	display: table-cell;
	vertical-align: middle;
}
.preloader-position {
	position: relative;
	margin: 0 auto;
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}
.loader {
	position: relative;
	width: 60px;
	height: 60px;
	left: 50%;
	top: auto;
	margin-left: -22px;
	margin-top: 2px;
	-webkit-animation: rotate 1s infinite linear;
	-moz-animation: rotate 1s infinite linear;
	-ms-animation: rotate 1s infinite linear;
	-o-animation: rotate 1s infinite linear;
	animation: rotate 1s infinite linear;
	border: 2px solid #e3e4e6;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}
.loader span {
	position: absolute;
	width: 60px;
	height: 60px;
	top: -2px;
	left: -2px;
	border: 2px solid transparent;
	border-top: 2px solid #18191d;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
}
@-webkit-keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}


/* ======= Cursor & Drag style  ======= */
.cursor {
  position: fixed;
  top: -40px;
  left: -40px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: top 0.28s ease, left 0.28s ease;
}
.cursor:before {
  content: "";
  width: 75px;
  height: 75px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: white;
  border: 1px solid white;
  transition: all ease 0.15s;
  transform: scale(0.15);
}
.cursor.light:before {
  transform: scale(1);
  background: transparent;
}
.cursor.drag {
  mix-blend-mode: unset;
}
.cursor.drag:before {
  transform: scale(1);
  background: #18191d;
  border-color: transparent;
}
.cursor.drag:before {
  content: "\e658";
  font-family: "Themify";
  font-size: 20px;
  color: #fff;
}

/* Survol logo : disque curseur = grand rond noir sous le header, logo en blanc */
body.logo-cursor-hover .cursor.js-cursor {
  mix-blend-mode: normal;
  z-index: 850;
  top: -56px;
  left: -56px;
}
body.logo-cursor-hover .cursor.js-cursor:before {
  width: 112px;
  height: 112px;
  transform: scale(1);
  background: #18191d;
  border-color: transparent;
  transition:
    transform 0.28s cubic-bezier(0.33, 1, 0.68, 1),
    width 0.28s ease,
    height 0.28s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}
body.logo-cursor-hover .nilsbrown-header .logo-wrap .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.28s ease;
}
body.logo-cursor-hover .cursor.js-cursor.drag:before {
  content: "";
  font-family: inherit;
  font-size: 0;
  color: transparent;
}

/* Barre blanche : le curseur est un frère du header, pas un enfant — :has() + classe body.header-bar-scrolled (JS) */
body.logo-cursor-hover:has(.nilsbrown-header.scrolled) .cursor.js-cursor,
body.logo-cursor-hover.header-bar-scrolled .cursor.js-cursor {
  mix-blend-mode: normal;
  z-index: 9999;
  top: -40px;
  left: -40px;
}
body.logo-cursor-hover:has(.nilsbrown-header.scrolled) .cursor.js-cursor:before,
body.logo-cursor-hover.header-bar-scrolled .cursor.js-cursor:before {
  opacity: 0;
  transform: scale(0);
  width: 0;
  height: 0;
  border: none;
  background: transparent;
  transition: opacity 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}
body.logo-cursor-hover .nilsbrown-header.scrolled .logo-wrap > a {
  position: relative;
  z-index: 1;
}
body.logo-cursor-hover .nilsbrown-header.scrolled .logo {
  position: relative;
}
body.logo-cursor-hover .nilsbrown-header.scrolled .logo::before {
  content: "";
  position: absolute;
  left: var(--logo-disk-x, 50%);
  top: var(--logo-disk-y, 50%);
  width: 112px;
  height: 112px;
  margin: 0;
  border-radius: 50%;
  background: #18191d;
  z-index: 0;
  pointer-events: none;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  transition: none;
}
body.logo-cursor-hover .nilsbrown-header.scrolled .logo img {
  position: relative;
  z-index: 1;
}
.line {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ======= Navigation style ======= */
.nilsbrown-menu {
    display: block;
    background: #fff;
    right: 0;
    z-index: 101;
    position: fixed;
    width: 370px;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    bottom: 0;
    top: 0;
    -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 5%);
    box-shadow: 0 0 30px rgb(0 0 0 / 5%);
    min-height: 300px;
    overflow: auto;
}
.nilsbrown-menu ul {
    position: relative;
    margin-top: 150px;
    margin-bottom: 50px;
}
.nilsbrown-menu ul > li {
    list-style: none;
    visibility: hidden;
    opacity: 0;
    top: -20px;
    position: relative;
    text-align: center;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    margin: 0 40px;
    padding: 10px 15px;
}
.nilsbrown-menu ul > li.is-show {
    visibility: visible;
    opacity: 1;
    top: 0px;
}
.nilsbrown-menu ul > li a {
    color: #18191d;
    font-size: 18px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}
.nilsbrown-menu ul > li a:hover {
    color: #18191d;
}
.nilsbrown-menu ul > li.active a {
    color: #18191d;
}
.nilsbrown-menu.nilsbrown-menu-show {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
}
.logo-wrap {
    position: relative;
    z-index: 1021;
    width: fit-content;
    max-width: 100%;
}
.nilsbrown-header .logo-wrap > a {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    vertical-align: top;
}
.nilsbrown-header .logo-wrap .logo {
    display: block;
    width: max-content;
    max-width: 100%;
}
/* Header transparent : flèche par défaut ; main au survol du logo */
.nilsbrown-header:not(.scrolled) .logo-wrap > a,
.nilsbrown-header:not(.scrolled) .logo-wrap .logo,
.nilsbrown-header:not(.scrolled) .logo-wrap .logo img {
    cursor: default;
}
.nilsbrown-header:not(.scrolled) .logo-wrap > a:hover,
.nilsbrown-header:not(.scrolled) .logo-wrap > a:focus-visible,
.nilsbrown-header:not(.scrolled) .logo-wrap .logo:hover,
.nilsbrown-header:not(.scrolled) .logo-wrap .logo img:hover {
    cursor: pointer;
}
/* Barre blanche : logo cliquable = curseur bouton */
.nilsbrown-header.scrolled .logo-wrap > a,
.nilsbrown-header.scrolled .logo-wrap .logo,
.nilsbrown-header.scrolled .logo-wrap .logo img {
    cursor: pointer;
}
.nilsbrown-menu ul li ul {
    position: relative;
    margin-top: 0px;
    margin-bottom: 0px;
    border: none;
    border-radius: 0px;
    background: transparent;
}
.nilsbrown-menu ul li ul li {
    list-style: none;
    visibility: visible;
    opacity: 1;
    top: 0px;
    position: relative;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    margin: 0;
    padding: 5px 15px;
    background: transparent;
    text-align: center;
}
.nilsbrown-menu ul li ul li:last-of-type,
.nilsbrown-menu ul li ul > li a:last-of-type {
    padding-bottom: 0px;
}
.nilsbrown-menu ul li ul li:hover {
    background: transparent !important;
}
.nilsbrown-menu ul > li.dropdown span {
    color: #18191d;
    font-size: 18px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}
.nilsbrown-menu ul > li.dropdown span i {
    font-size: 9px;
    font-weight: normal;
    color: #868a9b;
}
.nilsbrown-menu ul li ul > li a {
    padding: 5px 15px;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #868a9b;
    position: relative;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.nilsbrown-menu ul li ul > li a:hover,
.nilsbrown-menu ul li ul > li.active a {
    color: #18191d;
}


/* ======= Header Navigation style ======= */
.nilsbrown-header {
    padding: 25px;
    position: relative;
    top: 0;
    z-index: 900;
    width: 100%;
    height: 100px;
    margin-bottom: 0;
    background: transparent;
}
.nilsbrown-header .logo img {
    width: 170px;
    height: auto;
    display: block;
}
.nilsbrown-header h1 {
    position: relative;
    font-size: 40px;
    line-height: 1em;
    font-weight: 900;
    margin-bottom: 0px;
    color: #fff;
    padding: 0;
}
.nilsbrown-header h1 span.stroke {
    position: absolute;
    font-size: 60px;
    -webkit-text-stroke: 1px #868a9b;
    color: transparent;
    transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
}
.nilsbrown-header.scrolled {
    position: fixed;
    padding: 0 15px;
    top: 0;
    background: #fff;
    display: flex;
    align-items: center;
    -webkit-transition: .0s all ease;
    -o-transition: .0s all ease;
    transition: .0s all ease;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    box-shadow: 0 0 50px 0 rgb(0 0 0 / 5%);
    height: 80px;
}
.nilsbrown-header.scrolled > .container {
    width: 100%;
}
.nilsbrown-header.scrolled .container > .row {
    min-height: 80px;
    align-items: center;
}
/* Centrage vertical au niveau des conteneurs (évite position:absolute sur l’img) */
.nilsbrown-header.scrolled .logo-wrap {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: fit-content;
    max-width: 100%;
}
.nilsbrown-header.scrolled .logo-wrap > a {
    display: flex;
    align-items: center;
    line-height: 0;
    width: fit-content;
    max-width: 100%;
}
.nilsbrown-header.scrolled .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
}
.nilsbrown-header.scrolled .logo img {
    width: 170px;
    max-width: min(170px, 55vw);
    height: auto;
    display: block;
    object-fit: contain;
    object-position: 50% 45%;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
}
.nilsbrown-header.scrolled h1 {
    margin-bottom: 0px;
    color: #18191d;
    padding: 0;
}
.nilsbrown-header.scrolled h1 span.stroke {
    -webkit-text-stroke: 1px #18191d;
    color: transparent;
}
.nilsbrown-header.scrolled .nilsbrown-nav-toggle {
    top: 0 !important;
}
.nilsbrown-header.scrolled .nilsbrown-menu-burger-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nilsbrown-header.awake {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}
.nilsbrown-header.sleep {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}
.nilsbrown-nav-toggle {
    top: 0px !important;
}
.nilsbrown-nav-toggle i,
.nilsbrown-nav-toggle i:before,
.nilsbrown-nav-toggle i:after {
    background: #18191d !important;
}
.nilsbrown-menu-burger-wrap {
    position: relative;
    z-index: 1022;
}
.nilsbrown-nav-toggle {
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    top: -15px;
    z-index: 109;
    display: block !important;
    float: right;
    right: 0;
    display: none;
    border-bottom: none !important;
    background-color: #fff;
    border-radius: 50%;
}
.nilsbrown-nav-toggle:hover i:before {
    top: -7px;
}
.nilsbrown-nav-toggle:hover i:after {
    bottom: -7px;
}
.nilsbrown-nav-toggle.active i {
    background: transparent !important;
}
.nilsbrown-nav-toggle.active i:before {
    top: -2px;
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}
.nilsbrown-nav-toggle.active i:after {
    bottom: 0;
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
}
.nilsbrown-nav-toggle:hover,
.nilsbrown-nav-toggle:focus,
.nilsbrown-nav-toggle:active {
    outline: none;
    border-bottom: none !important;
}
.nilsbrown-nav-toggle i {
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 25px;
    height: 0px;
    top: 7px;
    font: bold 14px/.4 Helvetica;
    text-transform: uppercase;
    text-indent: -55px;
    background: #fff;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.nilsbrown-nav-toggle i:before,
.nilsbrown-nav-toggle i:after {
    content: '';
    width: 25px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 12px;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
.nilsbrown-nav-toggle i:before {
    top: -6px;
}
.nilsbrown-nav-toggle i:after {
    bottom: -6px;
}


/* ======= Homepage style ======= */
.header-section {
    padding-top: 0px;
}
.header-section-wrap {
    overflow: hidden;
}
.header-view-on-mobile h4 {
    font-size: 30px;
    line-height: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 4px;
    color: #868a9b;
    text-shadow: 1px 1px #fff;
}
.header-view-on-mobile h1,
.header-not-view-on-mobile h1 {
    font-size: 70px;
    line-height: 1em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #18191d;
    text-shadow: 1px 1px #fff;
}
.header-view-on-mobile h1 span.stroke,
.header-not-view-on-mobile h1 span.stroke {
    color: #18191d;
}
.header-view-on-mobile h6,
.header-not-view-on-mobile h6,
.header-hero-roles h6 {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: #18191d;
    margin-bottom: 0px;
}
.header-hero-roles {
    position: relative;
    z-index: 99;
}
.header-view-on-mobile p,
.header-not-view-on-mobile p {
    color: #18191d;
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 30px;
    font-weight: 400;
}
.header-not-view-on-mobile {
    display: none;
}
.header-cont {
    position: relative;
    z-index: 99;
}
.header-cont-text {
    padding: 30px 0;
    position: relative;
    z-index: 99;
}
.header-cont-text p {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
}
.header-img {
    width: 100%;
}

/* Profil : plusieurs photos superposées (données site-content) + fondu */
.site-profile-hero-stack {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}
/* Firefox : clip le rectangle de la <video> (fond / calques) pour coller au masque rond. */
.site-profile-hero-stack.site-profile-hero-stack--has-video {
    border-radius: 50%;
    overflow: hidden;
}
.site-profile-hero-stack .site-profile-hero-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    opacity: 0;
    /* Fondu diaporama + révélation .imago (clip-path), sans écraser border-transform (.transform-banner img) */
    -webkit-transition: opacity 1.15s ease-in-out, -webkit-clip-path 0.8s ease, clip-path 0.8s ease;
    -o-transition: opacity 1.15s ease-in-out, clip-path 0.8s ease;
    transition: opacity 1.15s ease-in-out, clip-path 0.8s ease;
    -webkit-transition-delay: 0s, 0.3s, 0.3s;
    -o-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
    pointer-events: none;
    z-index: 0;
}
.site-profile-hero-stack .site-profile-hero-img.is-active {
    opacity: 1;
    z-index: 1;
}

/* Vidéo au-dessus (z-index 2 si has-video) : survol = lecture ; rollout = la vidéo va au bout puis fondu ; ~1 s après entrée la photo se masque (JS). */
.site-profile-hero-stack .site-profile-hero-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.42s ease;
    -o-transition: opacity 0.42s ease;
    transition: opacity 0.42s ease;
    -webkit-animation: border-transform 12s linear infinite alternate forwards;
    animation: border-transform 12s linear infinite alternate forwards;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.site-profile-hero-stack.site-profile-hero-stack--has-video .site-profile-hero-video {
    z-index: 2;
}
/* Portrait accueil : flèche système classique (pas la main « bouton ») + le petit rond custom reste visible au-dessus */
@media (min-width: 992px) {
    body.page-home #site-profile-hero-stack {
        cursor: default;
    }
}
.site-profile-hero-stack.is-video-hover .site-profile-hero-video {
    opacity: 1;
}
/* Lancement au scroll seul : la vidéo reste invisible jusqu’à armement JS (évite flash blanc du plan décodeur). */
.site-profile-hero-stack.is-video-hover.is-video-hover--scroll-pending .site-profile-hero-video {
    opacity: 0 !important;
    -webkit-transition: opacity 0s !important;
    -o-transition: opacity 0s !important;
    transition: opacity 0s !important;
}
/* Scroll : après décodage, opacité 1 sans rampe (la rampe 0→1 laisse voir un plan clair une frame sur certains moteurs). */
.site-profile-hero-stack.is-video-hover.is-video-hover--scroll-reveal-instant .site-profile-hero-video {
    opacity: 1 !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}
/* ~1 s après entrée survol : masque la photo (JS ajoute .is-video-hover--photo-hide) */
.site-profile-hero-stack.is-video-hover.is-video-hover--photo-hide .site-profile-hero-img.is-active {
    opacity: 0;
    -webkit-transition: opacity 0.48s ease;
    -o-transition: opacity 0.48s ease;
    transition: opacity 0.48s ease;
}
/* Fin de session vidéo : fondu vidéo puis photo plus lent (le JS garde la classe ~leaving assez longtemps). */
.site-profile-hero-stack.is-video-hover-leaving .site-profile-hero-video {
    opacity: 0 !important;
    -webkit-transition: opacity 0.55s ease-out !important;
    -o-transition: opacity 0.55s ease-out !important;
    transition: opacity 0.55s ease-out !important;
}
.site-profile-hero-stack.is-video-hover-leaving .site-profile-hero-img.is-active {
    opacity: 1 !important;
    -webkit-transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s !important;
    -o-transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s !important;
    transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s !important;
}

/* ======= Homepage Image Animation style ======= */
.ripple-animation,
.morp-ani {
    --morp-value: 66% 24% 44% 56% / 44% 24% 70% 56%;
    --morp-md-value: 43% 38% 39% 35% / 44% 39% 43% 56%;
    --morp-time: 8s;
    --morp-spin-time: 20s;
    animation: morpspin var(--morp-spin-time) linear infinite reverse
}
.morp-ani:before {
    -webkit-animation: vsmorph var(--morp-time) ease-in-out infinite both alternate;
    animation: vsmorph var(--morp-time) ease-in-out infinite both alternate
}
.transform-banner img {
    -webkit-animation: border-transform 12s linear infinite alternate forwards;
    animation: border-transform 12s linear infinite alternate forwards;
    border-radius: 100%
}
@-webkit-keyframes ripple {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0
    }

    30% {
        opacity: 0.40
    }

    100% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0
    }
}
@keyframes ripple {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0
    }

    30% {
        opacity: 0.40
    }

    100% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0
    }
}
@-webkit-keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%
    }

    100% {
        border-radius: 40% 60%
    }
}
@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%
    }

    100% {
        border-radius: 40% 60%
    }
}
@-webkit-keyframes vsmorph {
    0% {
        border-radius: var(--morp-value)
    }

    50% {
        border-radius: var(--morp-md-value)
    }

    100% {
        border-radius: 40% 60%
    }
}
@keyframes vsmorph {
    0% {
        border-radius: var(--morp-value)
    }

    50% {
        border-radius: var(--morp-md-value)
    }

    100% {
        border-radius: 40% 60%
    }
}
@-webkit-keyframes vsheromorph {
    0% {
        border-radius: 25% 80% 57% 47% / 53% 60% 43% 52%
    }

    50% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%
    }

    100% {
        border-radius: 40% 60%
    }
}
@keyframes vsheromorph {
    0% {
        border-radius: 25% 80% 57% 47% / 53% 60% 43% 52%
    }

    50% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%
    }

    100% {
        border-radius: 40% 60%
    }
}
@-webkit-keyframes morpspin {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}
@keyframes morpspin {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}
@-webkit-keyframes border-transform {
    0% {
        border-radius: 61% 39% 53% 47%/54% 48% 52% 46%
    }
    2.5% {
        border-radius: 59% 41% 54% 46%/55% 49% 51% 45%
    }
    5% {
        border-radius: 56% 44% 54% 46%/54% 50% 50% 46%
    }
    7.5% {
        border-radius: 51% 49% 55% 45%/53% 53% 47% 47%
    }
    10% {
        border-radius: 46% 54% 55% 45%/51% 55% 45% 49%
    }
    12.5% {
        border-radius: 43% 57% 54% 46%/50% 57% 43% 50%
    }
    15% {
        border-radius: 41% 59% 53% 47%/49% 59% 41% 51%
    }
    17.5% {
        border-radius: 42% 58% 51% 49%/49% 61% 39% 51%
    }
    20% {
        border-radius: 44% 56% 48% 52%/48% 64% 36% 52%
    }
    22.5% {
        border-radius: 47% 53% 44% 56%/48% 66% 34% 52%
    }
    25% {
        border-radius: 50% 50% 41% 59%/48% 66% 34% 52%
    }
    27.5% {
        border-radius: 53% 47% 40% 60%/49% 66% 34% 51%
    }
    30% {
        border-radius: 54% 46% 40% 60%/50% 66% 34% 50%
    }
    32.5% {
        border-radius: 56% 44% 42% 58%/51% 61% 39% 49%
    }
    35% {
        border-radius: 57% 43% 45% 55%/53% 55% 45% 47%
    }
    37.5% {
        border-radius: 58% 42% 48% 52%/55% 49% 51% 45%
    }
    40% {
        border-radius: 59% 41% 51% 49%/57% 43% 57% 43%
    }
    42.5% {
        border-radius: 59% 41% 54% 46%/59% 40% 60% 41%
    }
    45% {
        border-radius: 60% 40% 56% 44%/61% 39% 61% 39%
    }
    47.5% {
        border-radius: 60% 40% 59% 41%/63% 40% 60% 37%
    }
    50% {
        border-radius: 60% 40% 62% 38%/65% 42% 58% 35%
    }
    52.5% {
        border-radius: 60% 40% 64% 36%/66% 45% 55% 34%
    }
    55% {
        border-radius: 60% 40% 65% 35%/66% 48% 52% 34%
    }
    57.5% {
        border-radius: 59% 41% 64% 36%/66% 50% 50% 34%
    }
    60% {
        border-radius: 58% 42% 61% 39%/66% 53% 47% 34%
    }
    62.5% {
        border-radius: 56% 44% 55% 45%/64% 56% 44% 36%
    }
    65% {
        border-radius: 54% 46% 48% 52%/62% 60% 40% 38%
    }
    67.5% {
        border-radius: 52% 48% 42% 58%/59% 63% 37% 41%
    }
    70% {
        border-radius: 51% 49% 38% 62%/57% 65% 35% 43%
    }
    72.5% {
        border-radius: 50% 50% 36% 64%/54% 66% 34% 46%
    }
    75% {
        border-radius: 48% 52% 37% 63%/50% 66% 34% 50%
    }
    77.5% {
        border-radius: 47% 53% 40% 60%/46% 65% 35% 54%
    }
    80% {
        border-radius: 46% 54% 43% 57%/42% 63% 37% 58%
    }
    82.5% {
        border-radius: 46% 54% 47% 53%/39% 62% 38% 61%
    }
    85% {
        border-radius: 46% 54% 49% 51%/37% 60% 40% 63%
    }
    87.5% {
        border-radius: 48% 52% 51% 49%/38% 58% 42% 62%
    }
    90% {
        border-radius: 51% 49% 52% 48%/40% 56% 44% 60%
    }
    92.5% {
        border-radius: 54% 46% 53% 47%/44% 53% 47% 56%
    }
    95% {
        border-radius: 58% 42% 53% 47%/49% 51% 49% 51%
    }
    97.5% {
        border-radius: 60% 40% 53% 47%/52% 49% 51% 48%
    }
    100% {
        border-radius: 61% 39% 53% 47%/54% 48% 52% 46%
    }
}

@keyframes border-transform {
    0% {
        border-radius: 61% 39% 53% 47%/54% 48% 52% 46%
    }
    2.5% {
        border-radius: 59% 41% 54% 46%/55% 49% 51% 45%
    }
    5% {
        border-radius: 56% 44% 54% 46%/54% 50% 50% 46%
    }
    7.5% {
        border-radius: 51% 49% 55% 45%/53% 53% 47% 47%
    }
    10% {
        border-radius: 46% 54% 55% 45%/51% 55% 45% 49%
    }
    12.5% {
        border-radius: 43% 57% 54% 46%/50% 57% 43% 50%
    }
    15% {
        border-radius: 41% 59% 53% 47%/49% 59% 41% 51%
    }
    17.5% {
        border-radius: 42% 58% 51% 49%/49% 61% 39% 51%
    }
    20% {
        border-radius: 44% 56% 48% 52%/48% 64% 36% 52%
    }
    22.5% {
        border-radius: 47% 53% 44% 56%/48% 66% 34% 52%
    }
    25% {
        border-radius: 50% 50% 41% 59%/48% 66% 34% 52%
    }
    27.5% {
        border-radius: 53% 47% 40% 60%/49% 66% 34% 51%
    }
    30% {
        border-radius: 54% 46% 40% 60%/50% 66% 34% 50%
    }
    32.5% {
        border-radius: 56% 44% 42% 58%/51% 61% 39% 49%
    }
    35% {
        border-radius: 57% 43% 45% 55%/53% 55% 45% 47%
    }
    37.5% {
        border-radius: 58% 42% 48% 52%/55% 49% 51% 45%
    }
    40% {
        border-radius: 59% 41% 51% 49%/57% 43% 57% 43%
    }
    42.5% {
        border-radius: 59% 41% 54% 46%/59% 40% 60% 41%
    }
    45% {
        border-radius: 60% 40% 56% 44%/61% 39% 61% 39%
    }
    47.5% {
        border-radius: 60% 40% 59% 41%/63% 40% 60% 37%
    }
    50% {
        border-radius: 60% 40% 62% 38%/65% 42% 58% 35%
    }
    52.5% {
        border-radius: 60% 40% 64% 36%/66% 45% 55% 34%
    }
    55% {
        border-radius: 60% 40% 65% 35%/66% 48% 52% 34%
    }
    57.5% {
        border-radius: 59% 41% 64% 36%/66% 50% 50% 34%
    }
    60% {
        border-radius: 58% 42% 61% 39%/66% 53% 47% 34%
    }
    62.5% {
        border-radius: 56% 44% 55% 45%/64% 56% 44% 36%
    }
    65% {
        border-radius: 54% 46% 48% 52%/62% 60% 40% 38%
    }
    67.5% {
        border-radius: 52% 48% 42% 58%/59% 63% 37% 41%
    }
    70% {
        border-radius: 51% 49% 38% 62%/57% 65% 35% 43%
    }
    72.5% {
        border-radius: 50% 50% 36% 64%/54% 66% 34% 46%
    }
    75% {
        border-radius: 48% 52% 37% 63%/50% 66% 34% 50%
    }
    77.5% {
        border-radius: 47% 53% 40% 60%/46% 65% 35% 54%
    }
    80% {
        border-radius: 46% 54% 43% 57%/42% 63% 37% 58%
    }
    82.5% {
        border-radius: 46% 54% 47% 53%/39% 62% 38% 61%
    }
    85% {
        border-radius: 46% 54% 49% 51%/37% 60% 40% 63%
    }
    87.5% {
        border-radius: 48% 52% 51% 49%/38% 58% 42% 62%
    }
    90% {
        border-radius: 51% 49% 52% 48%/40% 56% 44% 60%
    }
    92.5% {
        border-radius: 54% 46% 53% 47%/44% 53% 47% 56%
    }
    95% {
        border-radius: 58% 42% 53% 47%/49% 51% 49% 51%
    }
    97.5% {
        border-radius: 60% 40% 53% 47%/52% 49% 51% 48%
    }
    100% {
        border-radius: 61% 39% 53% 47%/54% 48% 52% 46%
    }
}

@-webkit-keyframes moving {
    0% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }

    20% {
        -webkit-transform: translate(0px, -60px);
        transform: translate(0px, -60px)
    }

    50% {
        -webkit-transform: translate(-60px, -60px);
        transform: translate(-60px, -60px)
    }

    70% {
        -webkit-transform: translate(-60px, 0px);
        transform: translate(-60px, 0px)
    }

    100% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }
}
@keyframes moving {
    0% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }

    20% {
        -webkit-transform: translate(0px, -60px);
        transform: translate(0px, -60px)
    }

    50% {
        -webkit-transform: translate(-60px, -60px);
        transform: translate(-60px, -60px)
    }

    70% {
        -webkit-transform: translate(-60px, 0px);
        transform: translate(-60px, 0px)
    }

    100% {
        -webkit-transform: translate(0px, 0px);
        transform: translate(0px, 0px)
    }
}
@-webkit-keyframes arrow-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    20% {
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px)
    }

    40% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    60% {
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px)
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}
@keyframes arrow-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    20% {
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px)
    }

    40% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    60% {
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px)
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}
@-webkit-keyframes arrow-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    20% {
        -webkit-transform: translateX(20px);
        transform: translateX(20px)
    }

    40% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    60% {
        -webkit-transform: translateX(20px);
        transform: translateX(20px)
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}
@keyframes arrow-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    20% {
        -webkit-transform: translateX(20px);
        transform: translateX(20px)
    }

    40% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    60% {
        -webkit-transform: translateX(20px);
        transform: translateX(20px)
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}


/* ======= For Images Reveal Effect style ======= */
.reveal-effect {
  float: left;
  position: relative;
}
.reveal-effect.animated:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #18191d;
  position: absolute;
  left: 0;
  top: 0;
  animation: 1s reveal linear forwards;
  -webkit-animation-duration: 1s;
  z-index: 1;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -moz-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -o-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  -ms-animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  animation-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.reveal-effect.animated > * {
  animation: 1s reveal-inner linear forwards;
}
@-webkit-keyframes reveal {
  0% {
    left: 0;
    width: 0;
  }
  50% {
    left: 0;
    width: 100%;
  }
  51% {
    left: auto;
    right: 0;
  }
  100% {
    left: auto;
    right: 0;
    width: 0;
  }
}
@-webkit-keyframes reveal-inner {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  50% {
    visibility: hidden;
    opacity: 0;
  }
  51% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}
@media only screen and (max-width: 991px), only screen and (max-device-width: 991px) {
  .cursor {
    display: none;
  }

}


/* ======= Text Animation style ======= */
body.page-home [data-splitting]:not(.splitting) {
    visibility: hidden;
}
body.page-home .wow {
    visibility: hidden;
}
body.page-home .wow.animated {
    visibility: visible;
}
.page-home #home [data-hero-cta] {
    margin-top: clamp(24px, 3vh, 40px);
    opacity: 0;
    -webkit-transform: translateY(14px);
    -ms-transform: translateY(14px);
    transform: translateY(14px);
    pointer-events: none;
}
.page-home.hero-cta-visible #home [data-hero-cta] {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    pointer-events: auto;
    -webkit-transition: opacity 0.55s ease, -webkit-transform 0.55s ease;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.splitting.animated .char {
    -webkit-animation: fadeInUp 0.4s cubic-bezier(0.3, 0, 0.7, 1) both;
    animation: fadeInUp 0.4s cubic-bezier(0.3, 0, 0.7, 1) both;
    -webkit-animation-delay: calc(30ms * var(--char-index));
    animation-delay: calc(30ms * var(--char-index));
}
.splitting .whitespace {
    width: 10px;
}
@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
.splitting.txt.animated .char {
    -webkit-animation: fadeIn 0.3s cubic-bezier(0.3, 0, 0.7, 1) both;
    animation: fadeIn 0.3s cubic-bezier(0.3, 0, 0.7, 1) both;
    -webkit-animation-delay: calc(10ms * var(--char-index));
    animation-delay: calc(10ms * var(--char-index));
}
.splitting.txt .whitespace {
    width: 5px;
}
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* ======= For Images Imago Effect style ======= */
.imago {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
    -webkit-transition-delay: .3s;
    -o-transition-delay: .3s;
    transition-delay: .3s;
}
.imago.animated {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


/* ======= Page Header Banner style ======= */
.banner-header {
    padding-top: 200px;
    padding-bottom: 200px;
    background-size: cover;
    background-position: top top;
}
.banner-header h6 {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    color: #868a9b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.banner-header h6 a {
    color: #868a9b;
}
.banner-header h1 {
    position: relative;
    font-size: 60px;
    line-height: 1em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #18191d;
}
.banner-header p {
    font-size: 16px;
    font-weight: 400;
    color: #868a9b;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
.banner-header p a {
    color: #868a9b;
}
.banner-header p span {
    color: #18191d;
}
/* author & date */
.banner-header .author .avatar {
    width: 27px;
    height: 27px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 5px;
}
.banner-header .post {
    margin-top: 20px;
}
.banner-header .post div {
    display: inline-block;
}
.banner-header .post .author {
    margin-right: 20px;
    font-size: 13px;
}
.banner-header .post .date-comment {
    position: relative;
    font-size: 13px;
    color: #fff;
    margin-right: 20px
}
.banner-header .post .date-comment i {
    color: #18191d;
    font-size: 18px;
    margin-right: 5px;
}
.banner-header .post .date-comment:last-of-type {
    margin-right: 0px;
}
@media screen and (max-width: 767px) {
    .banner-header h6 {
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 10px;
    }
    .banner-header h6 a:hover {
        color: #fff;
    }
    .banner-header h6 i {
        margin: 0 15px;
        font-size: 10px;
    }
    .banner-header h1 {
        font-size: 36px;
    }
    .banner-header p {
        font-size: 16px;
        color: #868a9b;
    }
}


/* ======= Section style ======= */
.section-padding {
    padding: 60px 0;
}
.section-padding h1 {
    font-size: 60px;
    line-height: 1.2em;
    font-weight: 700;
    margin-bottom: 0px;
    color: #18191d;
}
.section-padding h1 span.stroke {
    color: transparent;
}
.section-padding h6 {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    color: #868a9b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ======= Resume style ======= */
.resume .o-hidden {
    width: 100%;
}
.resume .profile {
    width: 100%;
}
.resume .profile::-webkit-scrollbar {
    width: 0 !important;
}
.resume .hero-img {
    border-radius: 5px;
    overflow: hidden;
}
.resume .block h4 {
    color: #18191d;
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}
.resume .block .item {
    margin-bottom: 30px;
}
.resume .block .item:last-of-type {
    margin-bottom: 0;
}
.resume .block h5 {
color: #18191d;
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: 700;
}
.resume .block h5 span {
    padding: 3px 12px;
    background: transparent;
    font-size: 14px;
    float: right;
    color: #868a9b;
    font-weight: 400;
    border: 2px solid rgba(0, 0, 0, 0.05);
}
.resume .block p {
    font-size: 16px;
    color: #868a9b;
}
.resume .content .butn {
    margin-right: 10px;
}
.resume .content .butn:last-of-type {
    margin-right: 0;
}


/* ======= Skills Progress Bar style ======= */
.bar {
    position: relative;
    background-color: #e6e7eb;
    height: 4px;
    margin: 0 0 30px 0;
    border-radius: 10px;
}
.bar-fill {
    position: absolute;
    height: 4px;
}
/* Section Outils (barres) : ancre */
#about {
    scroll-margin-top: 88px;
}
.bar-title {
    position: relative;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    /* font-weight: 700; */
    line-height: 1.5em;
    text-align: left;
    margin: 0 0 5px 0;
    color: #18191d;
}
.percent {
    position: absolute;
    right: 0;
}
/* animations for skills progress bar */
.bar-fill-design {
    width: 90%;
    background-color: #868a9b;
    border-radius: 10px;
    animation: bar-fill-design 2s ease-out;
    -moz-animation: bar-fill-design 2s ease-out;
    -webkit-animation: bar-fill-design 2s ease-out;
}
@keyframes bar-fill-design {
    0% {
        width: 0px;
    }
    100% {
        width: 90%;
    }
}
@-moz-keyframes bar-fill-design {
    0% {
        width: 0px;
    }
    100% {
        width: 90%;
    }
}
@-webkit-keyframes bar-fill-design {
    0% {
        width: 0px;
    }
    100% {
        width: 90%;
    }
}
.bar-fill-branding {
    width: 70%;
    background-color: #868a9b;
    border-radius: 10px;
    animation: bar-fill-branding 2s ease-out;
    -moz-animation: bar-fill-branding 2s ease-out;
    -webkit-animation: bar-fill-branding 2s ease-out;
}
@keyframes bar-fill-branding {
    0% {
        width: 0px;
    }
    100% {
        width: 70%;
    }
}
@-moz-keyframes bar-fill-branding {
    0% {
        width: 0px;
    }
    100% {
        width: 70%;
    }
}
@-webkit-keyframes bar-fill-branding {
    0% {
        width: 0px;
    }
    100% {
        width: 70%;
    }
}
.bar-fill-webdesign {
    width: 95%;
    background-color: #868a9b;
    border-radius: 10px;
    animation: bar-fill-webdesign 2s ease-out;
    -moz-animation: bar-fill-webdesign 2s ease-out;
    -webkit-animation: bar-fill-webdesign 2s ease-out;
}
@keyframes bar-fill-webdesign {
    0% {
        width: 0px;
    }
    100% {
        width: 95%;
    }
}
@-moz-keyframes bar-fill-webdesign {
    0% {
        width: 0px;
    }
    100% {
        width: 95%;
    }
}
@-webkit-keyframes bar-fill-webdesign {
    0% {
        width: 0px;
    }
    100% {
        width: 95%;
    }
}
.bar-fill-socialmedia {
    width: 80%;
    background-color: #868a9b;
    border-radius: 10px;
    animation: bar-fill-socialmedia 2s ease-out;
    -moz-animation: bar-fill-socialmedia 2s ease-out;
    -webkit-animation: bar-fill-socialmedia 2s ease-out;
}
@keyframes bar-fill-socialmedia {
    0% {
        width: 0px;
    }
    100% {
        width: 80%;
    }
}
@-moz-keyframes bar-fill-socialmedia {
    0% {
        width: 0px;
    }
    100% {
        width: 80%;
    }
}
@-webkit-keyframes bar-fill-socialmedia {
    0% {
        width: 0px;
    }
    100% {
        width: 80%;
    }
}

/* #about : barres à 0 % au chargement, remplissage au scroll (custom.js) — placé après .bar-fill-* */
#about .bar-fill,
#about .bar-fill.bar-fill-design,
#about .bar-fill.bar-fill-branding,
#about .bar-fill.bar-fill-socialmedia,
#about .bar-fill.bar-fill-webdesign {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    width: 0;
    max-width: 100%;
    transition: width 1.45s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Colonne compétences : entrée verticale ligne par ligne (custom.js ajoute .skills-bars--lines-in au scroll) */
#about #skills-bars .skill-bar-row {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.52s cubic-bezier(0.33, 1, 0.68, 1),
        transform 0.52s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: opacity, transform;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(1) {
    transition-delay: 0ms;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(2) {
    transition-delay: 0.2s;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(3) {
    transition-delay: 0.4s;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(4) {
    transition-delay: 0.6s;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(5) {
    transition-delay: 0.8s;
}
#about #skills-bars.skills-bars--lines-in .skill-bar-row:nth-child(6) {
    transition-delay: 1s;
}
@media (prefers-reduced-motion: reduce) {
    #about #skills-bars .skill-bar-row {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* ======= Services style ======= */
/* Carrousel compétences : même hauteur pour tous les encarts visibles */
.services .owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.services .owl-carousel .owl-stage::after {
    content: none;
    display: none;
}
.services .owl-carousel .owl-item {
    float: none !important;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}
.services .owl-carousel .owl-item > .item {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    box-sizing: border-box;
}
.services .owl-carousel .item > a {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}
.services .owl-carousel .item p {
    flex: 1;
    margin-bottom: 0;
}
.services .item {
	padding: 60px 40px 90px 40px;
    background-color: #FFF;
    position: relative;
	-webkit-transition: all .5s;
  transition: all .5s;
}
.services .item:hover {
  border-color: transparent;
	background-color: #24252b;
}
.services .item:hover .numb {
  -webkit-text-stroke: 1px #18191d;
}
.services .item .icon {
    color: #18191d;
    font-size: 50px;
    z-index: 2;
    margin-bottom: 20px;
}
.services .item:hover .icon {
  color: #FFF;
}
.services .item h5 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #18191d;
}
.services .item p {
    color: #868a9b;
}
.services .item:hover h5 {
	color: #FFF;
}
.services .item:hover p {
	color: #FFF;
}
.services .item .numb {
    font-size: 48px;
    font-weight: 900;
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.3);
    opacity: .6;
}
.services .item:hover .numb {
    -webkit-text-stroke: 1px rgba(255,255,255,0.6);
}
.services-page h5 {
    color: #18191d;
}

/* Compétences / Réalisations : entre md et lg, empiler titres + intro (évite chevauchement du paragraphe sur les gros h1) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #services .row.mb-45,
    #portfolio .row.mb-45 {
        flex-direction: column;
    }
    #services .row.mb-45 > [class*="col-md"],
    #portfolio .row.mb-45 > [class*="col-md"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-left: 0 !important;
    }
    #services .row.mb-45 .mt-45,
    #portfolio .row.mb-45 .mt-45 {
        margin-top: 1.5rem;
    }
}


/* ======= Portfolio style ======= */
#portfolio {
    scroll-margin-top: 88px;
}
.portfolio {
    overflow: hidden;
}
.portfolio .item {}
.portfolio .img-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
}
.portfolio .wrapper-img {
  position: relative;
  background-color:#18191d;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
}
.portfolio img {
  width: 100%;
  margin: 0;
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
  background-size: cover;

}
.portfolio .img-block:hover img {
  opacity: 0.1;
}
.portfolio .img-block:hover .wrapper-img {
  transform: scale(0.95);
}
.portfolio .img-block:hover .title-block {
  opacity: 1;
  transform: translateX(0px);
}
.portfolio .title-block {
  position: absolute;
  opacity: 0;
  transform: translateX(-20px);
  transition: 700ms cubic-bezier(0.17, 0.67, 0, 1.01);
}
.portfolio .title-block h4 {
  font-size: 24px;
  margin-bottom: 0;
  color: #fff;
}
.portfolio .title-block p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}
.portfolio-page p {
    font-weight: 400;
    margin-bottom: 20px;
}
.portfolio-page p span {
    color: #18191d;
}


/* =======  Gallery style  ======= */
.gallery-item {
    position: relative;
    width: 100%;
    margin: 0 0 23px 0;
    float: left;
    box-sizing: border-box
}
.gallery-item .gallery-item-inner {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    background-color: #f9f9f9;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    -webkit-transition: all 1.25s cubic-bezier(.01, .71, .26, .94);
    -moz-transition: all 1.25s cubic-bezier(.01, .71, .26, .94);
    transition: all 1.25s cubic-bezier(.01, .71, .26, .94)
}
.gallery-box {
    overflow: hidden;
    position: relative;
}
.gallery-box .gallery-img {
    position: relative;
    overflow: hidden;
}
.gallery-box .gallery-img:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}
.gallery-box .gallery-img > img {
    transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    border-radius: 0;
}
.gallery-box .gallery-detail {
    opacity: 0;
    color: #ffffff;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    overflow: hidden;
    transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1);
}
.gallery-box .gallery-detail h4 {
    font-size: 18px;
}
.gallery-box .gallery-detail p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
}
.gallery-box:hover .gallery-detail {
    top: 50%;
    transform: translate(0, -50%);
    opacity: 1;
}


/* ======= YouTube PopUp style ======= */
/* play button */
.vid-area h5 {
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 300;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.play-button {
    position: relative;
    width: 85px;
    height: 85px;
    margin: auto;
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    z-index: 4;
    margin-left: 15px;
}
.play-button svg {
    position: absolute;
    width: 100%;
    height: 100%;
}
.circle-fill circle {
    opacity: 1;
    fill: #18191d;
}
.polygon {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 90px;
    font-size: 35px;
    z-index: 2;
    padding-left: 5px;
}
.play-button svg.circle-fill {
    z-index: 1;
    stroke-dasharray: 322;
    stroke-dashoffset: 322;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.play-button:hover svg.circle-fill {
    stroke-dashoffset: 38.5;
}
.play-button svg.circle-track {
    z-index: 0;
}
.play-button.color {
    color: #18191d;
}
.play-button.color .circle-fill circle {
    fill: #18191d;
}
/* video gallery */
.vid-area .vid-icon {
    position: relative;
    overflow: hidden;
}
.vid-area:hover .vid-icon > img {
    transform: scale(1.05);
}
.video-gallery-button {
    position: relative;
    margin: auto;
    z-index: 4;
    margin-left: 15px;
    float: right;
}
.video-gallery-polygon {
	z-index: 2;
    padding-left: 5px;
    display: inline-block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #18191d;
    padding: 15px 14px 15px 16px;
    line-height: 0;
}
.video-gallery-polygon:hover {
    background: #fff;
    border: 1px solid #fff;
}
.video-gallery-polygon i {
	font-size: 20px;
}


/* ======= Accordion Box (for Faqs) style ======= */
.accordion-box {
  position: relative;
    padding: 0px;
}
.accordion-box .block {
    position: relative;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 20px;
}
.accordion-box .block.active-block {
  background-color: #fff;
}
.accordion-box .block:last-child {
  margin-bottom: 0;
}
.accordion-box .block .acc-btn {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
    padding: 20px 40px;
    padding-right: 60px;
    color: #18191d;
    transition: all 500ms ease;
}
.accordion-box .block .acc-btn .count {
  color: #868a9b;
  padding-right: 3px;
}
.accordion-box .block .acc-btn:before {
  position: absolute;
    right: 35px;
    top: 20px;
    height: 30px;
    font-size: 14px;
    font-weight: normal;
    color: #868a9b;
    line-height: 30px;
    content: "\e61a";
    font-family: "Themify";
    transition: all 500ms ease;
}
.accordion-box .block .acc-btn.active {
  background-color: #fff;
    color: #18191d;
}
.accordion-box .block .acc-btn.active:before {
  color: "Themify";
  content: "\e622";
}
.accordion-box .block .acc-content {
  position: relative;
  display: none;
}
.accordion-box .block .content {
  position: relative;
    padding: 0px 40px 30px;
    background-color: #fff;
    color: #868a9b;
}
.accordion-box .block .acc-content.current {
  display: block;
}
.accordion-box .block .content .text {
  display: block;
  position: relative;
  top: 0px;
  display: block;
}


/* ======= Testimonials style ======= */
.testimonials  h4 {
    font-size: 30px;
    margin-bottom: 0px;
    padding-top: 10px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    color: #fff;
}
.testimonials .testimonials-box {
    position: relative;
    background: #fff;
    padding: 60px 45px;
    margin-bottom: -60px;
}
.testimonials .testimonials-box h5 {
    font-size: 24px;
    color: #18191d;
}
.testimonials .item {
    position: relative;
}
.testimonials .item .quote {
    position: absolute;
    right: 15px;
    bottom: 0px;
    width: 70px;
    margin: 0 auto 0px;
    opacity: 0.2;
}
.testimonials .item p {
    color: #868a9b;
}
.testimonials .item .info {
    text-align: left;
    padding: 10px 0 0 0;
}
.testimonials .item .info .author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    float: left;
    overflow: hidden;
}
.testimonials .item .info .cont {
    margin-left: 70px;
}
.testimonials .item .info .cont h6 {
    display: block;
    font-size: 16px;
    margin-bottom: 0px;
    padding-top: 10px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    color: #18191d;
    line-height: 1em;
    text-transform: none;
    letter-spacing: 0px;
}
.testimonials .item .info span {
    font-size: 14px;
    color: #868a9b;
    line-height: 1em;
}


/* ======= Clients style ======= */
.clients {
    background-color: #18191d;
}
.clients .owl-carousel {
    margin: 15px 0;
}
.clients .clients-logo {
    opacity: 1;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}
.clients .clients-logo:hover {
    opacity: 1;
}
.clients img {
    -webkit-filter: none;
    filter: none;
}
.clients img:hover {
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
    -webkit-transition: all .5s;
    transition: all .5s;
}

/* Accueil : bandeau logos — hauteur verrouillée (plein écran / resize Owl) */
body.page-home #clients.site-clients-section {
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: hidden;
}
body.page-home .site-clients-band {
    width: 100%;
    box-sizing: border-box;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    padding: 20px clamp(20px, 4vw, 56px);
    overflow: hidden;
    display: flex;
    align-items: center;
}
body.page-home #site-clients-carousel.owl-carousel {
    width: 100%;
    margin: 0 !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
}
body.page-home #site-clients-carousel .owl-stage-outer,
body.page-home #site-clients-carousel.owl-height .owl-stage-outer {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
}
body.page-home #site-clients-carousel .owl-stage {
    height: 80px !important;
    display: flex;
    align-items: center;
}
body.page-home #site-clients-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
body.page-home #site-clients-carousel .owl-item > .item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.page-home #clients .clients-logo {
    min-height: 0;
    height: 80px;
    max-height: 80px;
    width: 100%;
    box-sizing: border-box;
}
body.page-home #site-clients-carousel .owl-item img,
body.page-home #clients .clients-logo img {
    width: auto !important;
    max-width: min(175px, 100%);
    max-height: 80px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}
html:fullscreen body.page-home .site-clients-band {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
}
html:fullscreen body.page-home #site-clients-carousel.owl-carousel,
html:fullscreen body.page-home #site-clients-carousel .owl-stage-outer,
html:fullscreen body.page-home #site-clients-carousel .owl-stage {
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
}



/* ======= HomePage Blog style ======= */
.homepage-blog .img {
  position: relative;
    overflow: hidden;
}
.homepage-blog .img:hover img {
    -webkit-filter: none;
    filter: none;
    -webkit-transform: scale(1.09, 1.09);
    transform: scale(1.09, 1.09);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.homepage-blog .img img {
    -webkit-transition: all .5s;
    transition: all .5s;
}
.homepage-blog .content {
  width: 100%;
  padding: 30px;
}
.homepage-blog .content .date {
  display: table-cell;
  position: relative;
  width: 80px;
  z-index: 2;
}
.homepage-blog .content .date h1 {
    font-size: 48px;
    font-weight: 700;
    color: #18191d;
    margin-bottom: 0px;
    line-height: 1em;
}
.homepage-blog .content .date h6 {
    color: #868a9b;
    letter-spacing: 0px;
    text-transform: none;
    padding-right: 3px;
    font-size: 14px;
    font-family: 'Syne', sans-serif;
    font-weight: 400;
}
.homepage-blog .content .cont {
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}
.homepage-blog .content .cont h5 {
    margin-bottom: 20px;
    font-size: 27px;
    color: #18191d;
}
.homepage-blog .content .info h6 {
    font-weight: 400;
    font-size: 14px;
    color: #868a9b;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0px;
}
.homepage-blog .content .info .tags {
  color: #18191d;
}
@media screen and (max-width: 991px) {
    .homepage-blog .content {
    padding: 0 30px;
    margin-top: 40px;
    }
    .homepage-blog .content .cont h4 {
        line-height: 1.25em;
    }
    .order2 {
    -webkit-box-ordinal-group: 3 !important;
        -ms-flex-order: 2 !important;
            order: 2 !important;
  }
    .order1 {
    -webkit-box-ordinal-group: 2 !important;
        -ms-flex-order: 1 !important;
            order: 1 !important;
  }  
}
@media screen and (max-width: 480px) {
    .homepage-blog .content {
    padding: 0 15px;
  }
    .homepage-blog .content .date {
    width: 60px;
  }
    .homepage-blog .content .info .tags {
    margin: 5px 0 0;
  }
    .homepage-blog .content .date h3 {
    font-size: 40px;
  }
}



/* ======= Blog style ======= */
.blog .item {
    margin-bottom: 30px;
}
.blog .post-img {
    position: relative;
    overflow: hidden;
}
.blog .post-img:hover img {
    -webkit-filter: none;
    filter: none;
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.blog .post-img a {
    display: block;
}
.blog .post-img img {
    -webkit-transition: all .5s;
    transition: all .5s;
}
.blog .post-img .date {
    display: inline-block;
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border: 1px solid #fff;
    color: #18191d;
    padding: 15px;
    text-align: center;
}
.blog .post-img .date span {
    font-family: 'Syne', sans-serif;
    display: block;
    font-size: 12px;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #18191d;
}
.blog .post-img .date i {
    font-family: 'Syne', sans-serif;
    font-style: normal;
    display: block;
    font-size: 30px;
    font-style: 700;
    color: #18191d;
}
.blog .post-cont {
    padding: 30px 0;
}
.blog .post-cont h4 {
    font-size: 36px;
    margin-bottom: 20px;
}
.blog .post-cont h4 a,
.blog .post-cont h5 a:hover {
    color: #18191d;
}
/* news sidebar */
.blog-sidebar .widget {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}
.blog-sidebar .widget ul {
    margin-bottom: 0;
    padding: 0;
}
.blog-sidebar .widget ul li {
    margin-bottom: 20px;
    color: #868a9b;
    font-size: 16px;
    line-height: 1.5em;
}
.blog-sidebar .widget ul li a {
    color: #868a9b;
}
.blog-sidebar .widget ul li a.active {
    color: #18191d;
}
.blog-sidebar .widget ul li a:hover {
    color: #18191d;
}
.blog-sidebar .widget ul li:last-child {
    margin-bottom: 0;
}
.blog-sidebar .widget ul li i {
    font-size: 8px;
    margin-right: 10px;
    color: #18191d;
}
.blog-sidebar .widget .recent li {
    display: block;
    overflow: hidden;
}
.blog-sidebar .widget .recent .thum {
    width: 90px;
    overflow: hidden;
    float: left;
}
.blog-sidebar .widget .recent a {
    display: block;
    margin-left: 105px;
}
.blog-sidebar .widget-title {
    margin-bottom: 20px;
}
.blog-sidebar .widget-title h5 {
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(0,0,0,0.04);
    font-size: 24px;
    line-height: 1.75em;
    margin-bottom: 15px;
    color: #18191d;
}
.blog-sidebar .search form {
    position: relative;
}
.blog-sidebar .search form input {
    width: 100%;
    padding: 10px;
    border: 0;
    background: #f4f5f7;
	margin-bottom: 0;
    border-radius: 0px;
}
.blog-sidebar .search form button {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    color: #18191d;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.blog-sidebar .tags li {
    margin: 5px !important;
    padding: 10px 20px;
    background-color: #f4f5f7;
    border: none;
    color: #868a9b !important;
    float: left;
}
.blog-sidebar ul.tags li a {
    font-size: 14px;
    color: #868a9b;
}
.blog-sidebar ul.tags li:hover,
.blog-sidebar ul.tags li a:hover {
    background-color: #18191d;
    color: #fff;
}
/* pagination */
.pagination-wrap {
    padding: 0;
    margin: 0;
    text-align: center;
}
.pagination-wrap li {
    display: inline-block;
    margin: 0 5px;
}
.pagination-wrap li a {
    background: transparent;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 45px;
    text-align: center;
    color: #999;
    font-weight: 400;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 16px;
}
.pagination-wrap li a i {
    font-size: 11px;
}

.pagination-wrap li a:hover {
    opacity: 1;
    text-decoration: none;
    background: #18191d;
    border: 2px solid #18191d;
    color: #fff;
}
.pagination-wrap li a.active {
    background-color: #18191d;
    border: 2px solid #18191d;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .pagination-wrap {
        padding: 0;
        margin: 0;
        text-align: center;
    }
}


/* ======= Post style ======= */
.blog-post-section {
    padding-top: 120px;
}
.blog-comment-section {
    padding-top: 60px;
    margin-bottom: 60px;
}
.blog-comment-section h3 {
    font-size: 21px;
    color: #18191d;
}
.blog-comment-section h3 span {
    font-size: 14px;
    color: #868a9b;
    font-weight: 400;
    margin-left: 15px;
}
.blog-post-caption h1 {
    margin-bottom: 20px;
    font-size: 40px;
    text-transform: uppercase;
}
.blog-post-comment-wrap {
    display: flex;
    margin-bottom: 60px;
}
.blog-post-user-comment {
    margin-right: 30px;
    flex: 0 0 auto;
}
.blog-post-user-comment img {
    border-radius: 100%;
    width: 100px;
}
.blog-post-user-content {
    margin-right: 26px;
}
.blog-post-repay {
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}
.blog-post-categorydate-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #868a9b;
    font-size: 14px;
}
.blog-post-categorydate-wrapper a {
    color: #18191d;
}
.blog-post-categorydate-divider {
    width: 20px;
    height: 2px;
    margin-right: 15px;
    margin-left: 15px;
    background-color: rgba(0,0,0,0.07);
}


/* ======= Prev and Next style ======= */
.nex-prv {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
    background: #fff;
}
.nex-prv span.icon {
    color: #18191d;
    font-size: 27px;
}
.nex-prv .prv h5,
.nex-prv .prv h5 a,
.nex-prv .nxt h5,
.nex-prv .nxt h5 a {
    font-size: 21px;
    color: #18191d;
}

.nex-prv .prv span,
.nex-prv .prv span a,
.nex-prv .nxt span,
.nex-prv .nxt span a {
    font-size: 16px;
    color: #868a9b;
}


.nex-prv .prv:hover h5,
.nex-prv .prv:hover h5 a,
.nex-prv .nxt:hover h5,
.nex-prv .nxt:hover h5 a,
.nex-prv .prv:hover span,
.nex-prv .prv:hover span a,
.nex-prv .nxt:hover span,
.nex-prv .nxt:hover span a {
	color: #fff;
}

.nex-prv .nxt .img,
.nex-prv .prv .img {
  padding: 40px;
  background-size: cover;
  background-position: center center;
  position: relative;
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}


.nex-prv .nxt .img:hover:after,
.nex-prv .prv .img:hover:after {
  opacity: 0;
}
.nex-prv .nxt .img:after,
.nex-prv .prv .img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}
.nex-prv .nxt .img .overly,
.nex-prv .prv .img .overly {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #18191d;
  opacity: .7;
}


.nex-prv .nxt .img .text-center,
.nex-prv .prv .img .text-center {
  position: relative;
  z-index: 4;
}
.nex-prv .all-works {
  display: block;
  height: 100%;
  padding: 30px;
    background: transparent;
    border-left: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
}


/* ======= Contact style ======= */
.contact h5 {
     color: #18191d;
}
.contact .item {
    padding: 10px 0px;
}
.contact .item .wrap-block {
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.contact .item .icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 40px;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    position: relative;
    z-index: 3;
    float: left;
    color: #18191d;
}
.contact .item .text-block {
    overflow: hidden;
}
.contact .item h5 {
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: 0px;
    color: #18191d;
}
.contact .item p {
    margin-bottom: 0px;
}
.google-map {
	width: 100%;
    -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
    height: calc(100% + 30px);
    overflow: hidden;
}


/* ======= Button style ======= */
.btn-link {
    position: relative;
    width: 170px;
    height: 70px;
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
}
.btn-link a {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    color: #18191d;
    font-size: 16px;
    line-height: 1.75em;
    position: relative;
    display: block;
    z-index: 99;
    top: 50%;
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-decoration: none;
}

.btn-link a.white {
    color: #fff;
}
.btn-link a i {
    font-size: 12px;
}
.btn-link:hover,
.btn-link a:hover {
    text-decoration: none;
}
.btn-block {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0%;
    z-index: 1;
    border-radius: 50%;
    text-decoration: none;
}
.btn-block:hover {
     text-decoration: none;
}
.animation {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.btn-link:hover .btn-block {
    left: 60%;
    text-decoration: none;
}
.animation-bounce {
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -moz-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -ms-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.btn-block.color1 {
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, 0.07);
}
.btn-block.color2 {
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, 0.07);
}
.btn-block.color3 {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.5);
}

/* Fiches projet (page-*.html, portfolio-page, volet latéral) */
.portfolio-page .mt-45 {
    margin-top: 0;
}
.portfolio-page .btn-wrap {
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 18px;
}
.portfolio-page .btn-wrap .btn-block {
    width: 30px;
    height: 30px;
}
/*
 * Bouton CTA : le cercle démarre à gauche du texte ; au survol il se place
 * sur la flèche (ti-arrow ~12px), quelle que soit la longueur du libellé.
 * La largeur du .btn-link suit le texte (plus de 170px / 60% fixes).
 */
.portfolio-page .btn-wrap .btn-link {
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 2.25em;
    margin-left: 0;
    margin-right: 0;
}
.portfolio-page .btn-wrap .btn-link a {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35em;
    top: auto;
    text-align: left;
    padding-left: 40px;
    line-height: 1.35;
    min-height: 34px;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    transform: none;
}
.portfolio-page .btn-wrap .btn-link a i {
    position: relative;
    top: 2px;
    left: 3px;
}
.portfolio-page .btn-wrap .btn-link .btn-block {
    left: 0;
    right: auto;
    margin: 0;
    -webkit-transition: left 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55),
        border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    -moz-transition: left 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55),
        border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    -o-transition: left 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55),
        border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    transition: left 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55),
        border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
/* Cercle décalé vers la droite (~5px) pour ne pas effleurer la dernière lettre */
.portfolio-page .btn-wrap .btn-link:hover .btn-block {
    left: calc(100% - 16px);
    right: auto;
}

/* contact form button style */
.btn-link input[type="submit"], 
.btn-link input[type="reset"], 
.btn-link input[type="button"], 
.btn-link button {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    border: none;
    color: #18191d;
    background: transparent;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.contact__form .btn-link:hover .btn-block {
    left: 60%;
    text-decoration: none;
}



/* ======= Footer style ======= */
.nilsbrown-footer-section {
    background: #fff;
    padding: 75px 0 60px 0;
    width: 100%;
}
.nilsbrown-footer-social-link {
    display: inline-block;
    margin: 10px 0;
    padding: 0;
}
.nilsbrown-footer-social-link li {
    display: inline-block;
    background-color: transparent;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3 ease-in-out;
    border: 2px solid rgba(0, 0, 0, 0.05);
    font-size: 12px;
    margin-left: 5px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.nilsbrown-footer-social-link li i {
    color: #18191d;
}
.nilsbrown-footer-section h5 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #18191d;
}
.nilsbrown-footer-section p {
    color: #868a9b;
}
body.page-home .nilsbrown-footer-section {
    padding: 36px 0 44px;
}
.site-footer-copyright-wrap {
    margin-top: 0;
    text-align: center;
}
.site-footer-bottom-line {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
    max-width: 100%;
}
.site-footer-copyright {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #868a9b;
}
.site-footer-legal-nav {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
    margin: 0;
}
.site-footer-legal-link {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.15rem 0.1rem;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #b4b8c4;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    overflow: visible;
    box-shadow: none;
    transition: color 0.28s ease;
}
.site-footer-legal-link::before {
    content: "→";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    font-size: 0.82em;
    line-height: 1;
    color: #b4b8c4;
    opacity: 0.7;
    transform: translateY(-0.06em);
    transition: opacity 0.28s ease, color 0.28s ease, transform 0.28s ease;
}
.site-footer-legal-link:hover,
.site-footer-legal-link:focus-visible {
    background: transparent;
    color: #18191d;
    border: none;
    box-shadow: none;
}
.site-footer-legal-link:hover::before,
.site-footer-legal-link:focus-visible::before {
    opacity: 0.85;
    color: #18191d;
    transform: translateY(-0.06em);
}

/* Modale mentions légales / confidentialité */
.site-legal-modal {
    position: fixed;
    inset: 0;
    z-index: 21000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-legal-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.site-legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 20, 0.42);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: backdrop-filter 0.5s ease, background 0.42s ease;
}
.site-legal-modal.is-open .site-legal-modal-backdrop {
    background: rgba(12, 14, 20, 0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.site-legal-modal-dialog {
    position: relative;
    width: min(100%, 640px);
    max-height: min(82vh, 720px);
    max-height: min(82dvh, 720px);
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 4px 6px rgba(24, 25, 29, 0.04),
        0 24px 48px rgba(24, 25, 29, 0.12),
        0 0 0 1px rgba(24, 25, 29, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(28px) scale(0.94);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}
.site-legal-modal.is-open .site-legal-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow:
        0 8px 16px rgba(24, 25, 29, 0.06),
        0 32px 64px rgba(24, 25, 29, 0.16),
        0 0 0 1px rgba(24, 25, 29, 0.05);
}
.site-legal-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: rgba(24, 25, 29, 0.06);
    color: #18191d;
    font-family: inherit;
    font-size: 24px;
    font-weight: 300;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-legal-modal-close:hover {
    background: rgba(24, 25, 29, 0.1);
    transform: rotate(90deg);
}
.site-legal-modal-close:focus-visible {
    outline: 2px solid #18191d;
    outline-offset: 2px;
}
.site-legal-modal-inner {
    padding: 44px 48px 48px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    font-family: var(--site-font-body, 'Syne'), system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #5c6070;
}
.site-legal-modal-kicker,
.site-legal-modal-title,
.site-legal-modal-body,
.site-legal-modal-body h3,
.site-legal-modal-body p,
.site-legal-modal-body li,
.site-legal-modal-body a,
.site-legal-modal-body strong {
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
}
.site-legal-modal-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #868a9b;
    opacity: 0;
    transform: translateY(10px);
}
.site-legal-modal-title {
    margin: 0 0 28px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #18191d;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(12px);
}
.site-legal-modal-body {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.site-legal-modal-body section {
    margin-bottom: 2rem;
}
.site-legal-modal-body section:last-child {
    margin-bottom: 0;
}
.site-legal-modal-body p {
    margin: 0 0 1.15em;
}
.site-legal-modal-body p:last-child {
    margin-bottom: 0;
}
.site-legal-modal-body .site-legal-intro {
    margin-bottom: 1.75em;
    line-height: 1.8;
}
.site-legal-modal-body h3 {
    margin: 0 0 0.7em;
    font-size: 1.05rem;
    font-weight: 600;
    color: #18191d;
    line-height: 1.4;
}
.site-legal-modal-body ul {
    margin: 0.25em 0 1.15em;
    padding-left: 1.25em;
    list-style-type: disc;
}
.site-legal-modal-body li {
    margin-bottom: 0.6em;
    line-height: 1.75;
    display: list-item;
}
.site-legal-modal-body li:last-child {
    margin-bottom: 0;
}
.site-legal-modal-body a {
    color: #18191d;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-legal-modal-body a:hover {
    color: #000;
}
.site-legal-modal.is-open .site-legal-modal-kicker {
    animation: site-legal-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.site-legal-modal.is-open .site-legal-modal-title {
    animation: site-legal-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.site-legal-modal.is-open .site-legal-modal-body p {
    animation: site-legal-fade-up 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(1) { animation-delay: 0.28s; }
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(2) { animation-delay: 0.34s; }
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(3) { animation-delay: 0.4s; }
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(4) { animation-delay: 0.46s; }
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(5) { animation-delay: 0.52s; }
.site-legal-modal.is-open .site-legal-modal-body p:nth-child(n+6) { animation-delay: 0.58s; }
@keyframes site-legal-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body.site-legal-modal-open {
    overflow: hidden;
}
@media (max-width: 575px) {
    .site-legal-modal-inner {
        padding: 32px 24px 28px;
    }
    .site-legal-modal-dialog {
        border-radius: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-legal-modal,
    .site-legal-modal-backdrop,
    .site-legal-modal-dialog,
    .site-legal-modal-close {
        transition: none;
    }
    .site-legal-modal.is-open .site-legal-modal-kicker,
    .site-legal-modal.is-open .site-legal-modal-title,
    .site-legal-modal.is-open .site-legal-modal-body p {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .site-legal-modal-dialog {
        transform: none;
    }
    .site-legal-modal.is-open .site-legal-modal-dialog {
        transform: none;
    }
}


/* ======= Media Query style ======= */
@media (max-width: 767px) {


    .nilsbrown-header {
    background: #fff;
    margin-bottom: 30px;
        padding: 25px 0px;
}
    .nilsbrown-header h1 {
        font-size: 40px;
        color: #18191d;
    }
    .nilsbrown-header h1 span.stroke {
    font-size: 50px;
    }
    .header-view-on-mobile h6,
    .header-not-view-on-mobile h6,
    .header-hero-roles h6 {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .header-view-on-mobile h4 {
        font-size: 22px;
        line-height: 1.1em;
        font-weight: 700;
        margin: 0 0 2px;
    }
    .header-view-on-mobile h1, .header-not-view-on-mobile h1 {
    font-size: 40px;
    }
    .header-view-on-mobile p, .header-not-view-on-mobile p {
        color: #868a9b;
    }
    .header-cont-text {
        background: transparent;
        width: 100%;
        padding: 0px;
        position: relative;
        z-index: 99;
        margin: 30px auto 30px auto;
    }
    .section-padding h1 {
        font-size: 45px;
    }
    .testimonials .testimonials-box {
        padding: 40px 20px;
        margin-bottom: 15px;
    }
    .accordion-box .block .acc-btn {
        padding: 15px 15px;
    }
    .accordion-box .block .acc-btn:before {
        right: 15px;
    }
    .accordion-box .block .content {
        padding: 0px 15px 20px;
    }
    .btn-wrap {
        margin-bottom: 45px;
    }
    .pagination-wrap {
        margin-bottom: 30px;
    }

}
@media (min-width: 840px) {


    .header-cont-absolute {
        height: 56.6875em;
    }
    .header-view-on-mobile {
        display: none;
    }
    .header-not-view-on-mobile {
        display: block;
    }
    .header-img {
        width: 60%;
        margin-top: 40px;
    }
    .header-img-left {
        float: left;
    }
    .header-img-right {
        float: right;
    }
    .header-cont {
        width: 39.7%;
        position: relative;
        margin-top: 40px;
    }
    .header-cont-right {
        float: right;
    }
    .header-cont-absolute-right {
        left: -19%;
    }
    .header-cont-absolute-left {
        right: -19%;
        text-align: right;
        width: 100%;
    }
    .header-cont-absolute {
        position: absolute;
        z-index: 99;
        height: auto;
        top: 40%;
        -ms-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .header-cont-text {
        margin: 0;
        width: 100%;
    }
    .header-cont-text-left {
        margin-left: -2.52648%;
    }

  

}
@media (min-width: 1020px) {

 


    .header-cont-text {}
    .header-cont-text-left {
        width: 100%;
        margin-left: -20%;
    }
    .header-img {
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .header-cont {
        height: 50vw;
    }
    .header-cont-absolute-left {
        right: -40%;
    }
    .header-cont-absolute-right {
        left: -32%;
    }

 
}
@media (min-width: 1200px) {

  
    .container {
        max-width: 1140px !important;
    }
}
@media (min-width: 1270px) {

 

    .header-img {
        width: 50%;
    }
    .header-img-left {
        margin-left: 0%;
    }
    .header-img-right {
        margin-right: 0%;
    }
    .header-cont-text {
        width: 100%;
        padding: 30px 0 30px 0px;
        background-color: transparent;
        margin-bottom: 30px;
    }
    .header-cont-text-left {
        width: 120%;
        padding: 60px 100px;
    }
 
}
@media (max-width: 991px) {
    .header-section:after {
        display: none;
    }

/* ok */
  

 
}

@media (max-width: 760px) {
    .header-section:after {
        display: none;
    }
    .header-cont {
        position: relative;
        z-index: 99;
        top: -361px;
    }
}

.header-cont-absolute  {
    top: 282px;
    left: -74px;
}


@media (min-width: 991px) {
    .header-section {
        max-height: 750px;
    }
    body.page-home #home.header-section {
        max-height: none;
    }
}


.videobtn  {
    width: 50px;
    height: 50px;
    z-index: 100000;
}




#mkLightboxContainer {

    z-index: 15009;

}


body  {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }




  .col-md-2.text-center.rest:hover .icon.full-width.ti-layout-grid3
  
  {  
    display: none;   

  }

  .col-md-2.text-center.rest:hover .icon.full-width.ti-layout-grid4
  
  {  
    display: inline;

  }


  .col-md-2.text-center.rest:hover 
  
  {  
    
  /*  background-color: #18191d;  */

  }

  .icon.full-width.ti-layout-grid4  {  
    display: none;   

  }


  .owl-carousel.disable-click {
    pointer-events: none;
}


.title-block{
   /* display: none; */
    pointer-events: none; 
 
}



.text-right.ontop {
    /* display: none; */
    text-align: right;
 }




 .col-md-4.text-right.nilsbrown-menu-burger-wrap{display: none; }

 .ligneligne {
    height:1px;
    width: 100px; /* taille de la ligne */
    margin: 0 auto; /* centré horizontalement */
    opacity: 0.3; /* transparence de 70% */
 
    background: black;
  }



/* Project overlay (single-page project viewing) */
.project-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.project-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 18, 0.35);
}
.project-overlay-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(52vw, 980px);
    height: 100vh;
    height: 100dvh;
    background: #f4f5f7;
    overflow: auto;
    padding: 16px 28px 32px;
    padding-top: max(16px, env(safe-area-inset-top, 0px));
    padding-right: max(28px, env(safe-area-inset-right, 0px));
    padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-sizing: border-box;
}
.project-overlay.project-overlay--hero .project-overlay-panel {
    background: #0e0f12;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.project-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.project-overlay.is-open .project-overlay-panel {
    transform: translateX(0);
}
.project-overlay-close {
    position: sticky;
    top: 10px;
    margin-left: auto;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border: none;
    background: transparent;
    color: #18191d;
    font-size: 40px;
    font-weight: 300;
    display: block;
    z-index: 2;
    text-align: center;
    padding: 0;
    cursor: pointer;
}
.project-overlay.project-overlay--hero .project-overlay-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    margin: 0;
    width: 42px;
    height: 42px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    font-size: 32px;
    z-index: 30;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.project-overlay-loading {
    padding: 40px 10px;
    color: #18191d;
}
#project-overlay-content {
    box-sizing: border-box;
    max-width: 100%;
    padding: 12px 4px 8px;
}
.project-overlay.project-overlay--hero #project-overlay-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
#project-overlay-content .portfolio-page {
    padding-left: 0;
    padding-right: 0;
}
#project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) {
    margin-top: 8px;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode > .container > .row {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-hero-col {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}
#project-overlay-content .project-overlay-hero-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#project-overlay-content .project-overlay-hero-stage {
    position: relative;
    flex: 1 1 0;
    min-height: min(65vh, 100%);
    overflow: hidden;
    background: #0e0f12;
}
/* Ombrage en dégradé sur l’image (haut + bas) pour la lisibilité du texte blanc */
#project-overlay-content .project-overlay-hero-stage::before,
#project-overlay-content .project-overlay-hero-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
#project-overlay-content .project-overlay-hero-stage::before {
    top: 0;
    height: 42%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}
#project-overlay-content .project-overlay-hero-stage::after {
    bottom: 0;
    height: 48%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}
/* Images plein volet (cover), fondu entre diapositives */
#project-overlay-content .project-overlay-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#project-overlay-content .project-overlay-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}
#project-overlay-content .project-overlay-slide-img.is-active {
    opacity: 1;
}
/* Calque UI : titre + lien / vidéo haut-gauche, description en bas — texte blanc */
#project-overlay-content .project-overlay-ui {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
#project-overlay-content .project-overlay-ui-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 52px;
    max-width: none;
    padding: max(18px, env(safe-area-inset-top, 0px)) 8px 12px 20px;
    box-sizing: border-box;
    pointer-events: none;
}
#project-overlay-content .project-overlay-ui-top .project-overlay-actions,
#project-overlay-content .project-overlay-ui-top .project-overlay-actions a,
#project-overlay-content .project-overlay-ui-top .btn-link {
    pointer-events: auto;
}
#project-overlay-content .project-overlay-ui-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 20px max(22px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    pointer-events: none;
    max-height: 52%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
#project-overlay-content .project-overlay-ui-bottom .project-overlay-desc,
#project-overlay-content .project-overlay-ui-bottom a,
#project-overlay-content .project-overlay-ui-bottom .btn-link {
    pointer-events: auto;
}
#project-overlay-content .project-overlay-ui-top h1,
#project-overlay-content .project-overlay-ui-top h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95);
}
#project-overlay-content .project-overlay-ui-top h6 {
    color: rgba(255, 255, 255, 0.92) !important;
}
#project-overlay-content .project-overlay-ui-bottom p,
#project-overlay-content .project-overlay-ui-bottom span:not(.btn-block) {
    color: rgba(255, 255, 255, 0.96) !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.88), 0 1px 3px rgba(0, 0, 0, 0.9);
}
/* Description : flèche intégrée au flux (float) — les lignes suivantes s’alignent au même X que la flèche */
#project-overlay-content .project-overlay-desc {
    display: block;
}
#project-overlay-content .project-overlay-desc p:first-of-type {
    padding-left: 0;
    box-sizing: border-box;
    overflow: visible;
    line-height: 1.45;
}
/* Flèche centrée sur la hauteur de ligne : milieu de la ligne − demi-hauteur du triangle (4+4 px) */
#project-overlay-content .project-overlay-desc p:first-of-type::before {
    content: "";
    float: left;
    width: 0;
    height: 0;
    margin-right: 0.45em;
    margin-bottom: 0.35em;
    margin-left: 0;
    margin-top: calc(0.725em - 4px);
    margin-top: calc(0.5lh - 4px);
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
#project-overlay-content .project-overlay-desc p:first-of-type::after {
    content: "";
    display: table;
    clear: both;
}
/* « Technologies : » en gras (premier span du paragraphe, comme sur les pages projet) */
#project-overlay-content .project-overlay-desc p > span:first-of-type {
    font-weight: 700 !important;
}
#project-overlay-content .project-overlay-ui .project-overlay-actions .btn-link a {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
}
/* Cercle animé du bouton : visible en blanc sur le volet */
#project-overlay-content .project-overlay-ui-top .project-overlay-actions .btn-link {
    margin: 0;
    text-align: left;
}
/* Espace léger entre les 2 CTA (video + lien externe) pour éviter le chevauchement visuel */
#project-overlay-content .project-overlay-ui-top .project-overlay-actions .btn-link + .btn-link {
    margin-left: 0;
}
#project-overlay-content .project-overlay-ui-top .project-overlay-actions .btn-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 16px;
}
#project-overlay-content .project-overlay-ui-top .btn-block.color1,
#project-overlay-content .project-overlay-ui-top .btn-block.color2,
#project-overlay-content .project-overlay-ui-top .btn-block.color3 {
    background-color: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
#project-overlay-content .project-overlay-ui-top .btn-link:hover .btn-block.color1,
#project-overlay-content .project-overlay-ui-top .btn-link:hover .btn-block.color2,
#project-overlay-content .project-overlay-ui-top .btn-link:hover .btn-block.color3 {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.22);
}
#project-overlay-content .project-overlay-actions .project-overlay-file-video {
    cursor: pointer;
}
#project-overlay-content .portfolio-page h1,
#project-overlay-content .portfolio-page h6 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    hyphens: auto;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-ui-top h1 {
    font-size: clamp(22px, 3.8vw, 40px);
    line-height: 1.2em;
    margin-top: 0;
    margin-bottom: 2px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-ui-top h6 {
    margin-bottom: 6px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-ui-top .project-overlay-actions {
    margin-top: 4px;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-desc p {
    margin-bottom: 0.65em;
    font-size: clamp(13px, 1.35vw, 15px);
    line-height: 1.45;
}
#project-overlay-content .portfolio-page.project-overlay-hero-mode .project-overlay-desc p:last-child {
    margin-bottom: 0;
}
#project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) h1 {
    font-size: clamp(28px, 4.2vw, 52px);
    line-height: 1.12em;
    margin-top: 0;
    padding-right: 8px;
}
#project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) h6 {
    padding-right: 8px;
}
/* Aperçu vidéo au-dessus du volet projet */
.project-overlay-video-layer {
    position: fixed;
    inset: 0;
    z-index: 25050;
    background: rgba(6, 8, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-overlay-video-layer.is-open {
    opacity: 1;
}
.project-overlay-video-layer.is-closing {
    pointer-events: none;
}
.project-overlay-video-inner {
    position: relative;
    width: min(96vw, 960px);
    max-height: 86vh;
    opacity: 0;
    transform: scale(0.94) translate3d(0, 16px, 0);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-overlay-video-layer.is-open .project-overlay-video-inner {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    transition-delay: 0.08s;
}
.project-overlay-video-pop-el {
    display: block;
    width: 100%;
    max-height: 86vh;
    border-radius: 6px;
    background: #000;
}
.project-overlay-video-pop-el--iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
    border: 0;
    background: #000;
}
.project-overlay-video-layer-close {
    position: absolute;
    top: -6px;
    right: -6px;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.project-overlay-video-layer-close:hover {
    background: #fff;
    color: #111;
}

@media (prefers-reduced-motion: reduce) {
    .project-overlay-video-layer {
        opacity: 1;
        transition: none;
    }
    .project-overlay-video-layer .project-overlay-video-inner {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
#project-overlay-content .portfolio-page .row {
    margin-left: 0;
    margin-right: 0;
}
#project-overlay-content .portfolio-page [class*="col-"] {
    max-width: 100%;
}
/* -------------------------------------------------------------------------
   Volet projet : entrée douce des textes / boutons + bouton fermer
   Délais juste après le slide du panneau (0.35s) ; durées plus longues pour un rendu plus fluide.
   ------------------------------------------------------------------------- */
@keyframes project-overlay-el-in {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes project-overlay-close-in {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#project-overlay.is-open .project-overlay-ui-top > h6,
#project-overlay.is-open .project-overlay-ui-top > h1 {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.is-open .project-overlay-ui-top > h6 {
    animation-delay: 0.36s;
}

#project-overlay.is-open .project-overlay-ui-top > h1 {
    animation-delay: 0.43s;
}

/* CTA hero : meme mouvement que les titres, leger decalage entre le 1er et le 2e bouton */
#project-overlay.project-overlay--hero.is-open
    .project-overlay-ui-top
    .project-overlay-actions
    .btn-wrap
    .btn-link {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.project-overlay--hero.is-open
    .project-overlay-ui-top
    .project-overlay-actions
    .btn-wrap
    .btn-link:nth-child(1) {
    animation-delay: 0.52s;
}

#project-overlay.project-overlay--hero.is-open
    .project-overlay-ui-top
    .project-overlay-actions
    .btn-wrap
    .btn-link:nth-child(2) {
    animation-delay: 0.62s;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p:nth-of-type(1) {
    animation-delay: 0.52s;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p:nth-of-type(2) {
    animation-delay: 0.59s;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p:nth-of-type(3) {
    animation-delay: 0.66s;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p:nth-of-type(4) {
    animation-delay: 0.73s;
}

#project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p:nth-of-type(5) {
    animation-delay: 0.8s;
}

/* Fallback (pas de mode hero : pas d’images exploitables) */
#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h6,
#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h1 {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h6 {
    animation-delay: 0.37s;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h1 {
    animation-delay: 0.44s;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 p {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 p:nth-of-type(1) {
    animation-delay: 0.5s;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 p:nth-of-type(2) {
    animation-delay: 0.57s;
}

#project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 p:nth-of-type(3) {
    animation-delay: 0.64s;
}

#project-overlay.is-open
    #project-overlay-content
    .portfolio-page:not(.project-overlay-hero-mode)
    .col-md-4
    .btn-wrap
    .btn-link {
    animation: project-overlay-el-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#project-overlay.is-open
    #project-overlay-content
    .portfolio-page:not(.project-overlay-hero-mode)
    .col-md-4
    .btn-wrap
    .btn-link:nth-child(1) {
    animation-delay: 0.52s;
}

#project-overlay.is-open
    #project-overlay-content
    .portfolio-page:not(.project-overlay-hero-mode)
    .col-md-4
    .btn-wrap
    .btn-link:nth-child(2) {
    animation-delay: 0.62s;
}

/* Bouton fermer : apparition + micro-interaction au survol */
.project-overlay-close {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

#project-overlay.is-open .project-overlay-close {
    animation: project-overlay-close-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

#project-overlay.is-open .project-overlay-close:hover {
    transform: scale(1.06);
    opacity: 0.92;
}

#project-overlay.is-open.project-overlay--hero .project-overlay-close:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

#project-overlay.is-open .project-overlay-close:focus-visible {
    outline: 2px solid rgba(24, 25, 29, 0.45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    #project-overlay.is-open .project-overlay-ui-top > h6,
    #project-overlay.is-open .project-overlay-ui-top > h1,
    #project-overlay.project-overlay--hero.is-open
        .project-overlay-ui-top
        .project-overlay-actions
        .btn-wrap
        .btn-link,
    #project-overlay.is-open .project-overlay-ui-bottom .project-overlay-desc p,
    #project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h6,
    #project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 h1,
    #project-overlay.is-open #project-overlay-content .portfolio-page:not(.project-overlay-hero-mode) .col-md-4 p,
    #project-overlay.is-open
        #project-overlay-content
        .portfolio-page:not(.project-overlay-hero-mode)
        .col-md-4
        .btn-wrap
        .btn-link,
    #project-overlay.is-open .project-overlay-close {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

body.project-overlay-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .project-overlay-panel {
        width: 100vw;
    }
}

.portfolio .img-block {
    position: relative;
}

/* =============================================================================
   Firefox — ajustements de taille (polices via --site-font-* / admin typographie)
   ============================================================================= */

/* Hero : 70px → 50px sous Firefox (Roboto plus large que Bebas) */
html.is-firefox .header-view-on-mobile h4 {
    font-size: 24px;
    font-weight: 500;
}
html.is-firefox .header-view-on-mobile h1,
html.is-firefox .header-not-view-on-mobile h1 {
    font-size: var(--site-font-size-h1, 50px);
}

html.is-firefox h1 {
    font-size: var(--site-font-size-h1, 50px);
}

html.is-firefox .nilsbrown-header h1 span.stroke {
    font-size: var(--site-font-size-h1, 50px);
}

@media (max-width: 767px) {
    html.is-firefox .header-view-on-mobile h4 {
        font-size: 18px;
        font-weight: 500;
    }
    html.is-firefox .header-view-on-mobile h1,
    html.is-firefox .header-not-view-on-mobile h1 {
        font-size: 40px;
    }
    html.is-firefox .banner-header h1 {
        font-size: 36px;
    }
    html.is-firefox .section-padding h1 {
        font-size: 45px;
    }
}

/* =============================================================================
   Accueil : sous 1000px — photo au-dessus, texte en dessous
   ============================================================================= */
@media (max-width: 999px) {
    .header-section {
        max-height: none !important;
    }
    .header-section-wrap {
        overflow: visible;
    }
    #home .transform-banner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    #home .transform-banner .header-img,
    #home .transform-banner .header-img.header-img-left,
    #home .transform-banner .header-img.header-img-right {
        float: none;
        width: 100%;
        max-width: min(100%, 800px);
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    #home .transform-banner .header-img img {
        width: 100%;
        max-width: 800px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    #home .transform-banner .header-img .site-profile-hero-stack {
        width: 100%;
        max-width: min(100%, 800px);
        margin: 0 auto;
    }
    #home .transform-banner .header-cont,
    #home .transform-banner .header-cont.header-cont-right {
        float: none;
        width: 100%;
        max-width: 720px;
        height: auto !important;
        margin: 2rem auto 0;
        padding: 0 15px;
        box-sizing: border-box;
        top: auto !important;
        position: relative;
        z-index: 99;
    }
    #home .transform-banner .header-cont-absolute,
    #home .transform-banner .header-cont-absolute.header-cont-absolute-right,
    #home .transform-banner .header-cont-absolute.header-cont-absolute-left {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        width: 100%;
        height: auto !important;
        max-width: 100%;
    }
    #home .transform-banner .header-cont-text {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Accueil : indicateur scroll (double chevron) — desktop uniquement, bas viewport */
body.page-home #home.header-section {
    position: relative;
}
body.page-home .site-hero-scroll-hint {
    display: none;
}
@media (min-width: 1000px) {
    body.page-home .site-hero-scroll-hint {
        display: block;
        position: fixed;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 12px;
        z-index: 850;
        transform: translateX(-50%);
        color: #18191d;
        text-decoration: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.45s ease, visibility 0.45s ease, color 0.25s ease;
    }
    body.page-home.hero-cta-visible:not(.hero-scroll-hint-hidden) .site-hero-scroll-hint {
        opacity: 0.78;
        visibility: visible;
        pointer-events: auto;
    }
    body.page-home.hero-scroll-hint-hidden .site-hero-scroll-hint {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    body.page-home .site-hero-scroll-hint:hover,
    body.page-home .site-hero-scroll-hint:focus {
        opacity: 1;
        color: #18191d;
    }
}
@media (min-width: 1000px) {
    body.page-home .site-hero-scroll-hint__chevrons {
        display: block;
        line-height: 0;
    }
    body.page-home .site-hero-scroll-hint__svg {
        display: block;
        overflow: visible;
    }
    body.page-home .site-hero-scroll-hint__path {
        opacity: 0.28;
        animation: site-hero-chevron-drift 2.1s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    }
    body.page-home .site-hero-scroll-hint__path--1 {
        animation-delay: 0s;
    }
    body.page-home .site-hero-scroll-hint__path--2 {
        animation-delay: 0.28s;
        opacity: 0.55;
    }
}
@keyframes site-hero-chevron-drift {
    0%,
    100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    45% {
        opacity: 1;
        transform: translateY(5px);
    }
}

/* Accueil : ≥1000px — hero centré dans la fenêtre + photo / texte côte à côte */
@media (min-width: 1000px) {
    body.page-home #home.header-section {
        min-height: calc(100svh - 100px);
        min-height: calc(100dvh - 100px);
        max-height: none !important;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }
    body.page-home #home.header-section > .container {
        flex: 0 1 auto;
        width: 100%;
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        transform: translateY(-4vh);
    }
    body.page-home #home .header-section-wrap {
        overflow: visible;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    body.page-home #home .transform-banner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(24px, 3.5vw, 56px);
        width: 100%;
        max-width: min(1080px, 100%);
        margin-left: auto;
        margin-right: auto;
    }
    body.page-home #home .transform-banner .header-img,
    body.page-home #home .transform-banner .header-img.header-img-left,
    body.page-home #home .transform-banner .header-img.header-img-right,
    body.page-home #home .transform-banner .header-cont,
    body.page-home #home .transform-banner .header-cont.header-cont-right {
        float: none !important;
    }
    body.page-home #home .transform-banner .header-img,
    body.page-home #home .transform-banner .header-img.header-img-left,
    body.page-home #home .transform-banner .header-img.header-img-right {
        float: none;
        flex: 0 0 auto;
        width: min(40vw, 400px);
        max-width: 400px;
        min-width: 260px;
        margin: 0;
        padding: 0;
    }
    body.page-home #home .transform-banner .header-img .site-profile-hero-stack {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    body.page-home #home .transform-banner .header-cont,
    body.page-home #home .transform-banner .header-cont.header-cont-right {
        float: none;
        flex: 0 1 auto;
        min-width: 0;
        width: auto;
        max-width: min(520px, 52vw);
        height: auto !important;
        margin: 0;
        padding: 0;
        position: relative;
        top: auto !important;
    }
    body.page-home #home .transform-banner .header-cont-absolute,
    body.page-home #home .transform-banner .header-cont-absolute.header-cont-absolute-right,
    body.page-home #home .transform-banner .header-cont-absolute.header-cont-absolute-left {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        width: 100%;
        height: auto !important;
        max-width: 100%;
    }
    body.page-home #home .transform-banner .header-cont-text {
        width: 100%;
        margin: 0;
        padding: 20px 0 8px;
    }
    body.page-home #home .header-not-view-on-mobile h1 {
        font-size: clamp(42px, 4.2vw, var(--site-font-size-h1, 64px));
        line-height: 1.05;
    }
    body.page-home #home .header-not-view-on-mobile h4 {
        font-size: clamp(22px, 2vw, 30px);
    }
}

/* Accueil : ≥1600px — photo un peu plus large */
@media (min-width: 1600px) {
    body.page-home #home .transform-banner .header-img,
    body.page-home #home .transform-banner .header-img.header-img-left {
        width: min(38vw, 440px);
        max-width: 440px;
    }
}

/* Accueil mobile / étroit : header transparent en haut de page ; barre blanche au scroll (.scrolled) */
@media (max-width: 839px) {
    body.page-home .nilsbrown-header:not(.scrolled) {
        background: transparent !important;
        margin-bottom: 0 !important;
        padding: 14px 12px !important;
        box-shadow: none;
    }
    body.page-home .nilsbrown-header.scrolled {
        background: #fff !important;
        box-shadow: 0 0 50px 0 rgb(0 0 0 / 5%);
    }
    /* Même cadre horizontal que .header-cont (≤1599px : max-width 720px + padding 15px) pour aligner avec rôles + paragraphe */
    #home .header-view-on-mobile {
        margin-top: 1.25rem;
        margin-bottom: 0.25rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 720px;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    #home .header-hero-roles {
        width: 100%;
        margin: 0.5rem auto 0;
        box-sizing: border-box;
    }
    #home .header-hero-roles h6 {
        display: block;
        max-width: 100%;
    }
}
@media (max-width: 769px) {
    body.page-home .nilsbrown-header:not(.scrolled) {
        padding: 12px 10px !important;
    }
}

/* Accueil : <700px — paragraphe hero plus proche du titre « Profil communication » */
@media (max-width: 699px) {
    body.page-home #home .transform-banner .header-cont,
    body.page-home #home .transform-banner .header-cont.header-cont-right {
        margin-top: 0.35rem;
    }
    body.page-home #home .header-view-on-mobile {
        margin-bottom: 0;
    }
    body.page-home #home .transform-banner .header-cont-text {
        padding: 6px 0 20px;
        margin: 0 auto;
    }
}

/* Accueil : très petits écrans — titres de section un peu plus compacts */
@media (max-width: 419px) {
    body.page-home .section-padding h1 {
        font-size: 32px;
        line-height: 1.12em;
    }
    body.page-home .section-padding h6 {
        font-size: 10px;
        letter-spacing: 1.2px;
        margin-bottom: 12px;
    }
    body.page-home .header-view-on-mobile h4 {
        font-size: 17px;
        margin-bottom: 0;
    }
    body.page-home .header-view-on-mobile h1 {
        font-size: 28px;
        line-height: 1.08em;
    }
    body.page-home .header-hero-roles h6 {
        font-size: 11px;
        letter-spacing: 1.2px;
        margin-bottom: 16px;
    }
}

/* Méthodologie — étapes (sans carrousel photo) */
#methodologie .site-metho-steps {
    row-gap: 30px;
}
#methodologie .site-metho-step {
    height: 100%;
    padding: 28px 24px 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
#methodologie .site-metho-step__numb {
    font-family: var(--font-heading, inherit);
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.12);
    margin-bottom: 18px;
}
#methodologie .site-metho-step h5 {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: 0;
}
#methodologie .site-metho-step p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.72);
}
#methodologie [data-site-role="metho-intro"] {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.78);
}

/* Contact (accueil) */
body.page-home #contact.site-contact-section .site-contact-col-title {
    font-size: 18px;
    margin-bottom: 22px;
    text-transform: none;
    letter-spacing: 0;
}
body.page-home #contact .site-contact-welcome {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.72);
    font-style: italic;
}
body.page-home #contact .site-contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #18191d;
}
body.page-home #contact select {
    width: 100%;
    height: 50px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #18191d;
    border-radius: 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2318191d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
body.page-home #contact .site-contact-form__msg {
    margin-bottom: 20px;
}
body.page-home #contact .site-contact-booking-btn {
    margin-top: 28px;
}
body.page-home #contact .site-contact-booking-btn .btn-link {
    width: auto;
    min-width: 280px;
    max-width: 100%;
    height: auto;
    min-height: 70px;
}
body.page-home #contact .site-contact-booking-btn .btn-link a {
    white-space: normal;
    padding: 8px 12px;
    line-height: 1.35;
}
body.page-home #contact .site-contact-submit-wrap {
    width: auto;
    min-width: 220px;
}
body.page-home #contact .site-contact-phone-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #18191d;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
body.page-home #contact .site-contact-phone-btn:hover {
    color: #000;
}
body.page-home #contact .site-contact-phone-item {
    margin-top: 0;
}
body.page-home #contact .site-contact-welcome-slot {
    margin-top: 0;
}
body.page-home #contact .site-contact-location-slot {
    margin-top: 20px;
}
body.page-home #contact .site-contact-location-slot .item {
    padding-top: 0;
}

/* Résumé local pour crawlers / lecteurs d'écran (hors affichage visuel) */
.seo-local-summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
