* {
  box-sizing: border-box;
}

/* webfont family */
/* Regular */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Thin */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Medium Italic */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Semibold */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Semibold Italic */
@font-face {
  font-family: 'AtypBLDisplay';
  src: url('../fonts/AtypBLDisplay-SemiboldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}


:root {
  --primary-dark: #00FF00;
  --secondary-dark: #00ffff;
  --black-700: #343434;
  --error: red;
  --white: #fff;
  --black: #000000;
  --bg-checkerBoard :linear-gradient(to right,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 1)),
    url("../images/checkboard-bg.jpg");
  --font-AtypBLDisplay: 'AtypBLDisplay', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  transition: 0.5s;
  font-family: var(--font-AtypBLDisplay);
  font-size: 15px;
  line-height: 27px;
  font-weight: 400;
  background-image:var(--bg-checkerBoard);
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6,
li,
p,
ul {
  margin: 0;
  padding: 0;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

li {
  list-style: none;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  text-decoration: none;
  color: var(--bs-link-hover-color);
}

a,
button {
  -webkit-transition: all 250ms ease 0s;
  -moz-transition: all 250ms ease 0s;
  -ms-transition: all 250ms ease 0s;
  -o-transition: all 250ms ease 0s;
  transition: all 250ms ease 0s;
}

button,
button:focus {
  outline: none;
  border: none;
  cursor: pointer;
}

.form-control:focus,
.form-check-input:focus {
  outline: 0;
  box-shadow: none;
}

input,
select,
textarea {
  font-size: 16px;
  line-height: 37px;
}

textarea:hover,
textarea:focus,
textarea:active {
  outline: none;
  box-shadow: none;
}

input:hover,
input:active,
input:focus {
  outline: none;
  box-shadow: none;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: inherit;
}

select:hover,
select:active,
select:focus {
  outline: none;
  box-shadow: none;
}

.form-select:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 0;
}

input[type=number] {
  -moz-appearance: textfield;
  /*For FireFox*/
}

input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.owl-dots {
  text-align: center;
}

.owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: #D3D3D3;
  display: inline-flex;
  position: relative;
  margin-right: 16px;
  border-radius: 50%;
}

.owl-dots .owl-dot.active span {
  background: var(--secondary-dark);
  position: relative;
}

.owl-dots .owl-dot.active span::before {
  content: '';
  height: 20px;
  width: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #a2c617;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.owl-nav button {
  height: 50px;
  width: 50px;
  font-size: 60px !important;
}

.owl-nav button span {
  display: none;
}

.owl-nav button.owl-prev {
  background: url('../images/left-arrow-icon.png')no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.owl-nav button.owl-next {
  background: url('../images/right-arrow-icon.png')no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

body.theme-alt .owl-nav button.owl-prev{
  background: url('../images/blueleft-arrow-icon.png')no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

body.theme-alt .owl-nav button.owl-next{
  background: url('../images/blueright-arrow-icon.png')no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.owl-nav {
  position: absolute;
  height: 0px;
  margin-top: 0px;
  width: calc(100% - 80px);
  display: flex;
  justify-content: space-between;
  top:calc(50% - 25px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

img {
  max-width: 100%;
  height: auto;
}

.flex-box {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1* var(--bs-gutter-y));
}

.custom-container {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px;
}

.navbar .header-wrap {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.mobile-contact-list {
  display: none;
}

.navbar-outer a.nav-link {
  font-size: 18px;
  line-height: 96%;
  color: var(--white);
  padding: 6px 20px 6px 20px !important;
  background-color: var(--black);
  border-radius: 35px;
  transform: all 0.4s ease-in-out;
}

li.nav-item.dropdown .dropdown-toggle {
  padding: 0px;
  font-size: 17px;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-outer a.nav-link:hover {
  color: var(--primary-dark);
  transform: all 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dropdown-menu {
  -webkit-animation: fadeIn 0.3s alternate;
  animation: fadeIn 0.3s alternate;
  padding: 0px;
}

.nav-item.dropdown.dropdown-mega {
  position: static;
}

li.nav-item.dropdown .dropdown-menu a.dropdown-item {
  padding: 4px 19px;
}

.nav-item.dropdown.dropdown-mega .dropdown-menu {
  width: 90%;
  top: auto;
  left: 5%;
}

.navbar-toggler {
  border: none;
  padding: 0;
  outline: none;
  display: flex;
  align-items: center;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .hamburger-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  z-index: 11;
  right: 0px;
}

.only_mobile_view {
  display: none;
}

/* "Clients" nav item : mobile seulement */
.top-navbar li.nav-item.mobile-only-item, .mobile-only-item {
  display: none;
}

.navbar-toggler .hamburger-toggle .hamburger {
  position: absolute;
  transform: translate(0%, -50%) rotate(0deg);
  left: auto;
  right: 0px;
  top: 50%;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.navbar-toggler .hamburger-toggle .hamburger span {
  width: 100%;
  height: 1px;
  position: absolute;
  background: var(--white);
  border-radius: 0px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1), transform 0.2s cubic-bezier(0.77, 0.2, 0.05, 1), all 0.3s ease-in-out;
  left: 0px;
}

/* État burger fermé : 2 traits espacés */
.navbar-toggler.collapsed .hamburger-toggle .hamburger span:first-child {
  top: 31%;
  bottom: auto;
  left: 0;
  right: auto;
  width: 40px;
  transform-origin: 50% 50%;
  transform: rotate(0deg);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.navbar-toggler.collapsed .hamburger-toggle .hamburger span:last-child {
  top: auto;
  bottom: 31%;
  left: 0;
  right: auto;
  width: 40px;
  transform-origin: 50% 50%;
  transform: rotate(0deg);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

/* État croix ouvert : les 2 traits se rejoignent au centre */
.navbar-toggler .hamburger-toggle .hamburger span:first-child {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  width: 49px;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.navbar-toggler .hamburger-toggle .hamburger span:last-child {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  width: 49px;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.navbar-toggler .hamburger-toggle .hamburger.active span {
  position: absolute;
  margin: 0;
}

.mobile_logo a {
  font-size: 40px;
  color: var(--white);
}

/* Menu mobile — bouton fermeture (icône popup du site) */
.menu-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
}
.menu-close-btn img {
  height: 45px;
  width: 45px;
  object-fit: contain;
}

/* Titre page dans le header du menu mobile */
.only_mobile_view .mobile-menu-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.only_mobile_view .mobile-menu-title a {
  color: var(--white);
}

.top-navbar {
  background-color: transparent;
  color: var(--white);
  padding: 28px 0px;
  position: fixed;
  z-index: 99;
  transition: all 0.3s ease-in-out;
  top: 0;
  width: 100%;
}

.top-navbar li.nav-item.dropdown {
  display: flex;
}

.top-navbar li.nav-item {
  padding: 0px 6px;
  display: flex;
}

header.top-navbar .top-logo-part {
  color: var(--white);
  max-width: 500px;
  width: 100%;
  font-size: 18px;
  display: flex;
}

header .navbar-outer {
  display: flex;
  align-items: center;
}

header .top-middle-head {
  flex: 1;
  text-align: center;
  font-size: 18px;
}

header .top-middle-head a {
  color: var(--white);
  pointer-events: none;
}

/* Empêche le collapse de flex-grow (Bootstrap force flex-grow:1)
   afin que top-middle-head occupe seul l'espace central */
header .navbar-collapse {
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 500px;
  width: 100%;
  justify-content: end;
}

header.top-navbar.sticky {
  background: none;
  padding: 10px 0px;
}

/* navbar end */

/* theme color button */
/* Toggle container */
.themecolor-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 30px;
  margin-left: 6px;
}

.themecolor-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.themecolor-switch .slider-RoundBtn {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-radius: 50px;
  transition: 0.3s;
  overflow: hidden;
}

.themecolor-switch .slider-RoundBtn:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-dark);
  border-radius: 50%;
  transition: 0.3s;
}

.themecolor-switch input:checked+.slider-RoundBtn {
  background: var(--black);
}

.themecolor-switch input:checked+.slider-RoundBtn:before {
  transform: translate(14px, -50%);
  background: var(--color-text);
}

/* theme color button css end */
/* banner start */
.hero-banner{
  position:relative;
}

/* footer start */
footer.footer {
  padding: 60px 0px 60px 0px;
  background-color: var(--white);
  color: var(--primary-dark);
}

footer.footer a {
  color: var(--primary-dark);
}
footer.footer .copyright-head a:hover {
    text-decoration: underline;
}
.footer-nav ul li a {
  font-size: 22px;
  font-weight: 400;
  /* line-height: 40px; */
  letter-spacing: 0.03em;
  text-decoration-skip-ink: none;
  /* padding: 4px 0px; */
  width: 100%;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

footer.footer .flex-box .footer-nav .copyright-head {
  font-size: 20px;
  position: relative;
   top: -3px;
}

.footer-nav ul li {
  font-size: 22px;
  /* line-height: 40px; */
}

footer.footer .flex-box .footer-nav:last-child {
  margin-left: auto;
  max-width: 515px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

footer.footer .flex-box .footer-nav:nth-child(3) {
  max-width: 290px;
  width: 100%;
      margin-top: 9px;
}

footer.footer .flex-box .footer-nav:nth-child(2) {
  max-width: 270px;
  width: 100%;
      margin-top: 9px;
}

footer.footer .flex-box {
  column-gap: 30px;
  justify-content: space-between;
}

footer.footer .footer-logo {
  max-width: 290px;
  width: 100%;
}
footer.footer .footer-logo img,
footer.footer .footer-logo svg {
    max-height: 53px;
    margin-top: -20px;
    width: auto;
}
/* footer.footer .footer-logo h2 {
  font-size: 55px;
  line-height: 78%;
} */

footer.footer .flex-box .footer-nav:nth-child(2) h4 {
  font-size: 22px;
}

footer .footer-nav ul.ftr-social {
  display: flex;
  column-gap: 30px;
}

footer.footer .flex-box .footer-nav:nth-child(3) ul li:nth-child(2) {
  margin-top: 30px;
}

footer .footer-nav ul.ftr-social li i {
  font-size: 53px;
}
footer .footer-nav ul.ftr-social li .fa-instagram {
  position: relative;
  top: 4px;
}

footer .footer-nav ul.ftr-social li .fa-linkedin-in {
  position: relative;
  top: 7px;
}
/* footer end */


/* client card section start */
.client-wrap a.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: calc(50% - 0px);
  position: relative;
  container-type: inline-size;
}

.client-wrap a.client-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.client-wrap a.client-item:hover .shape-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.client-wrap a.client-item h3 {
  font-size: clamp(28px, 10cqi, 70px);
  line-height: 1;
  font-family: 'AtypBLDisplay';
  font-style: italic;
  position: absolute;
  color: var(--primary-dark);
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;

}
body.theme-alt .client-wrap a.client-item h3{
  color: var(--primary-dark);
}

.client-wrap {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 0px;
}

.client-outer {
  padding: 80px 0px;
  background-image:var(--bg-checkerBoard);
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  background-attachment: fixed;
}

/* client card section start */

/* hover rolling text on hover */
.rolling-text {
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
}

.rolling-text:hover .letter,
.rolling-text.play .letter {
  transform: translateY(-100%);
}

.rolling-text .block:last-child {
  color: var(--primary-dark);
}

.rolling-text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

a.nav-link.rolling-text {
  height: 30px;
}

.rolling-text .block:last-child {
  color: var(--primary-dark);
  position: relative;
  transition: all 0.3s ease-in-out;
  transform: translateY(100%);
}

.rolling-text .block:first-child,
.rolling-text .block:last-child {
  transition: all 0.3s ease-in-out;
}

.rolling-text:hover .block:last-child {
  transform: translateY(0%);
}

.rolling-text:hover .block:first-child {
  transform: translateY(-100%);
}
.rolling-router-main {
    padding: 100px 0px 90px;
}
/* hover rolling text on hover end */

.client-rolling-outer {
  position: relative;
  color: var(--white);
  padding: 80px 0 48px;
  scroll-margin-top: 70px;
}

.client-roll-card .cntn-box {
  color: var(--primary-dark);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 10px 60px 30px 0px;
  transition: all 0.3s ease-in-out;
}

.client-roll-card .cntn-box:hover {
  color: var(--secondary-dark);
}

.client-roll-card .cntn-box h3 {
  font-size: 35px;
}

.client-roll-card .cntn-box h3.title-left {
  max-width: 400px;
  width: 100%;
}

.client-roll-card .cntn-box h3.title-left img {
  max-width: 24px;
  display: inline-block;
}

/* about us sec start */
.about-us-sec {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 200px 0px;
  color: var(--primary-dark);
}

.about-us-sec p {
  font-size: 30px;
  line-height: 40px;
  margin: 30px 0px;
}

/* end */

/* contact us sec start */
.contact-sec {
  padding: 180px 0px 100px;
}
.popup-overlay .contact-sec {
    padding-top: 0px;
}
.top-image-box,
.map-box {
  display: flex;
  flex-wrap: wrap;
}

.top-image-box .cntn-box,
.map-box .main-map-box {
  max-width: calc(100% - 300px);
  width: 100%;
}

.map-box .main-map-box h5 {
  color: var(--primary-dark);
  margin-top: 35px;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
}
.map-box .main-map-box h5 a{
  color: var(--primary-dark);
  transition: all 0.3s ease-in-out;
}
.map-box .main-map-box h5 a:hover{
  text-decoration: underline;
}
.top-image-box .thumb-image,
.map-box .social-box {
  max-width: 250px;
  width: 100%;
  height: 400px;
  position: relative;
  transition: all 0.5s ease-in-out;
}

/* .top-image-box .thumb-image:hover {
    filter: invert(1);
} */

.map-box .main-map-box iframe {
  width: 100%;
  height: 400px;
  pointer-events: none !important;
  filter: grayscale(100%) contrast(1.25) brightness(0.95) sepia(100%) hue-rotate(70deg) saturate(800%) brightness(1.15);
}
.map-box .main-map-box iframe:hover{
  pointer-events: none !important;
}
.top-image-box .thumb-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* filter: grayscale(100%) contrast(1.25) brightness(0.95) sepia(100%) hue-rotate(70deg) saturate(800%) brightness(1.15); */
}
/* 
.top-image-box .thumb-image::after {
  content: '';
  position: absolute;
  left: 0px;
  right: 0px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  width: 100%;
  background-color: #00ff007a;
} */

.top-image-box .cntn-box ul li,
.top-image-box .cntn-box h4 {
  font-size: 35px;
  line-height: 43px;
  color: var(--primary-dark);
}

.top-image-box .cntn-box a {
  color: var(--primary-dark);
  transition: all 0.3s ease-in-out;
}

.top-image-box .cntn-box ul,
.top-image-box .cntn-box h4 {
  max-width: 340px;
  width: 100%;
}

.top-image-box .cntn-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 15px;
}

.top-image-box .cntn-box h4 {
  margin-bottom: -78px;
  z-index: 9;
  position: relative;
  font-weight: normal;
}

.map-box ul.ftr-social li a {
  font-size: 50px;
  text-align: right;
  display: inline-flex;
  width: 100%;
  color: var(--primary-dark);
  justify-content: center;
  padding: 20px 20px;
  transition: all 0.3s ease-in-out;
}
.map-box ul.ftr-social li a i, .footer-nav ul li a i {
    transition: all 0.3s ease-in-out;
}
.map-box ul.ftr-social li a:hover i, .footer-nav ul li a:hover i {
    transform: scale(1.1);
}

.map-box ul.ftr-social {
  margin-top: 70px;
}

/* contact us sec end */

/* ==========================================================
   RADICAL PASS – GLOBAL POLISH
   ========================================================== */

/* Motion plus design, moins bootstrap */
a,
button {
  transition: all 400ms cubic-bezier(0.76, 0, 0.24, 1);
}

/* Mode alternatif (switch couleur) */
body.theme-alt {
  --primary-dark: #00ffff; /* Le vert devient cyan/bleu */
  --bg-checkerBoard: linear-gradient(to right,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 1)),
    url("../images/bluecheckboard-bg.jpg");
}

/* Banner text colour is applied only once scrolled; white before scroll. */
body.hero-scrolled.theme-alt .content__text-inner {
  color: var(--primary-dark);
}

body.hero-scrolled.theme-alt .content__text-inner--stroke {
  -webkit-text-stroke: 1.5px var(--primary-dark);
  text-stroke: 1.5px var(--primary-dark);
}

.footer-logo-svg .st0 {
  fill: var(--primary-dark);
  transition: fill 0.3s ease-in-out;
}

/* body.theme-alt .hero-filter {
  background-image: url('../images/bluecheckboard-bg.png');
} */

/* Clients – hauteur fluide 
.client-wrap a.client-item {
  height: clamp(360px, 45vw, 600px);
}*/

/* Motif client plus organique */
.client-wrap a.client-item::after {
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.client-wrap a.client-item:hover::after {
  filter: blur(2px);
}

/* Accessibilité – réduction du mouvement */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


body {
  transition: filter 0.6s ease, background-color 0.6s ease;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}
.hero-title {
  position: absolute;
  bottom: 10%;
  left: 5%;
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  animation: floatText 8s ease-in-out infinite;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary-dark);
  transform: translate(6px, 6px);
  opacity: 0.5;
}

@keyframes floatText {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
/* ==========================================================
   RADICAL PASS – HERO FILTER (toggle) + LIGHT HERO TITLE
   ========================================================== */

.content__img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Transparent overlay (SVG) controlled by toggle */
.hero-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  /* background-image: url('../images/checkboard-bg.png'); */
  background-size: cover;
  background-position: center;
}

/* Overlay visibility is driven ONLY by scroll, independent of the colour theme.
   The overlay COLOUR (green/blue) follows the theme switch via body.theme-alt. */
body.hero-scrolled .hero-filter {
  opacity: 1;
}

/* Hero title: GPU-friendly, no JS */
.hero-title {
  position: absolute;
  left: 56px;
  bottom: 56px;
  z-index: 5;
  color: var(--primary-dark);
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  font-weight: 400;
  user-select: none;
  will-change: transform;
  animation: heroFloat 9s ease-in-out infinite;
  mix-blend-mode: difference;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-dark);
  transform: translate(10px, 10px);
  opacity: 0.55;
}

@keyframes heroFloat {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-14px,0); }
  100% { transform: translate3d(0,0,0); }
}

@media (max-width: 768px) {
  .hero-title { left: 24px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; }
}

/* about-popup css start */
.popup-overlay {
  position: fixed;
  left: 0;
  top: -100%;
  height: 100%;
  width: 100%;
  background-image:var(--bg-checkerBoard);
  z-index: 1000;
  transition: all 0.5s ease-in-out;
  padding: 0px 50px 50px 50px;
  overflow: hidden;
}
.popup-overlay .modal-header {
    justify-content: end;
    margin-bottom: 30px;
    position: absolute;
    right: 0;
    top: 50px;
}
.popup-overlay.active {
  top: 0;
}
body:has(.popup-overlay.active){
  overflow: hidden;
}
.popup-wrapper {
  position: relative;
  max-width: 1920px;
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--primary-dark);
}
.popup-content {
  text-align: left;
  font-size: 22px;
  line-height: 27px;
  overflow-y: auto;
  height:100vh;
  scrollbar-width: none; 
  /* -ms-overflow-style: none;  */
  max-width: 90%;
    margin: 0 auto;
    font-family: 'AtypBLDisplay';
    font-style: italic;
    padding: 70px 0;
}

.popup-content p {
    font-family: 'AtypBLDisplay';
  font-style: italic;
    padding: 20px 0px;
    font-size: 45px;
    line-height: 50px;
}
.popup-content p strong {
    font-family: 'AtypBLDisplay';
    font-weight: 500;
    font-style: italic;
}

.popup-content ul {
    margin-top: 16px;
    list-style: none;
    padding-left: 0;
}

.popup-content ul li {
  position: relative;
  padding-left: 32px;}

.popup-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: inherit; /* ou une couleur spécifique */
}

.popup-content,
.popup-content p,
.popup-content li,
.popup-content li::before,
.popup-content li::marker {
  font-family: 'AtypBLDisplay' !important;
  font-style: italic;
  font-variant-emoji: text;
}

.popup-overlay .contact-sec ul li{
 padding-left: 0px;
}

.popup-overlay .contact-sec ul li::before{
 content:"";
}

.popup-wrapper .close-popup {
  cursor: pointer;
}
.popup-wrapper .close-popup img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}
.popup-wrapper .close-popup img.blue-close, body.filter-on .popup-wrapper .close-popup img.green-close{
  display: none;
}
body.filter-on .popup-wrapper .close-popup img.blue-close{
  display: block;
}
/* about-popup css end */

.top-logo-part img {
  height: 50px;
  vertical-align: middle;
  margin-left: -12px;
  margin-top: 1px;
}

.mobile_logo img {
  height: 40px;
  vertical-align: middle;
}


body {
  transition: filter 0.6s ease, background-color 0.6s ease;
}

/* Transparent overlay (SVG) controlled by toggle */
.hero-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  /* background-image: url('../images/checkboard-bg.png'); */
  background-size: cover;
  background-position: center;
}

/* Overlay visibility handled above by body.hero-scrolled (scroll-driven). */
body.hero-scrolled.text-green .content__text-inner{
  color: var(--primary-dark);
}
body.hero-scrolled.text-green .content__text-inner--stroke {
	-webkit-text-stroke: 1.5px var(--primary-dark);
	text-stroke: 1.5px var(--primary-dark);
}

.slider-header {
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  z-index: 10;
  display: grid;
  grid-template-columns: 35% 35% 30%;
  align-items: start;
  gap: 0px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.2;
  max-width: 1809px;
  margin: 0 auto;
  padding: 0 0px;
}

.slider-title {
  font-size: 22px;
}

.slider-category{
  text-align: left;
  font-family: 'AtypBLDisplay';
  font-style: italic;
  font-size: 22px;
}

.slider-tags{
  text-align: left;
  font-family: 'AtypBLDisplay';
  font-style: italic;
  font-size: 22px;
}
.slider-tags ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.slider-title img {
    width: 24px;
}
.client-rolling-outer .slider-header .slider-title img {
    width: 24px;
    position: relative;
    top: -2px;
    margin-right: 5px;
}
.client-rolling-outer .slider-header .slider-title img.blue-right-arrow, body.filter-on .client-rolling-outer .slider-header .slider-title img.green-right-arrow{
  display: none;
}
body.filter-on .client-rolling-outer .slider-header .slider-title img.blue-right-arrow{
  display: inline-block;
}

.client-wrap a.client-item .shape-overlay, .client-wrap a.client-item .shape-overlay-blue {
    position: absolute;
    left: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease-in-out;
    object-fit: cover;
}
 
 .client-wrap a.client-item .shape-overlay-blue, body.filter-on .client-wrap a.client-item .shape-overlay{
    opacity:0;
    visibility: hidden;
}
 
 body.filter-on .client-wrap a.client-item .shape-overlay-blue{
    opacity:1;
    visibility: visible;
}

body.filter-on .client-wrap a.client-item:hover .shape-overlay-blue {
    opacity: 0;
    visibility: hidden;
}
.popup-overlay .contact-sec .thumb-image .green-hover-image, .popup-overlay .contact-sec .thumb-image .blue-image, .popup-overlay .contact-sec .thumb-image .blue-hover-image, .popup-overlay .contact-sec .thumb-image:hover .green-image, body.filter-on .popup-overlay .contact-sec .thumb-image .green-image, body.filter-on .popup-overlay .contact-sec .thumb-image .green-hover-image, body.filter-on .popup-overlay .contact-sec .thumb-image .blue-hover-image, body.filter-on .popup-overlay .contact-sec .thumb-image:hover .blue-image, .map-box .main-map-box .map-blue, body.filter-on .map-box .main-map-box .map-green{
    display:none;
}
.popup-overlay .contact-sec .thumb-image:hover .green-hover-image, body.filter-on .popup-overlay .contact-sec .thumb-image .blue-image, body.filter-on .popup-overlay .contact-sec .thumb-image:hover .blue-hover-image, body.filter-on .map-box .main-map-box .map-blue{
    display:block;
}
.four-zero-four-sec {
    margin: 0px;
    min-height: calc(100vh - 310px);
    display: flex;
    align-items: center;
    padding: 106px 0px;
    text-align: center;
    color: var(--primary-dark);
}
.four-zero-four-sec .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:50px;
}
.four-zero-four-sec h1{
  font-size: clamp(28px, 10cqi, 70px);
}
.four-zero-four-sec .content-wrapper a{
  color:var(--primary-dark);
  text-decoration: underline;
}
body.filter-on .four-zero-four-sec, body.filter-on .four-zero-four-sec .content-wrapper a {
  color: var(--secondary-dark);
}

/* rotate text */
.rotate-notice {
    display: none;
}
.rotate-notice p{
  padding: 12px 0px;
  font-size: 23px;
  line-height: 27px;
  color: var(--primary-dark);
}
.rotate-notice svg.rotate-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.client-roll-items .client-roll-card .image-box img {

}

.client-roll-items .client-roll-card .image-box video{
  display: block;
  width: 100%;
}