/*
Theme Name: FIMLAB THEME
Text Domain: fimlabtheme
Version: 1.3.7
Requires at least: 5.6
Tested up to: 6.9.4
Requires PHP: 7.4
Description: This theme is designed fimlab.fr
Tags: fimlab, theme, wordpress, dev, accessibility-ready
Author: The FIM Team
Author URI: https://fimlab.fr
Theme URI: https://fimlab.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
/*======================================
//--//-->   PERSONAL STYLE
======================================*/
/* GENERAL CSS
-------------------------------------------------- */
/* ACCESSIBILITY: focus-visible ring for keyboard navigation */
:focus-visible {
  outline: 2px solid #b600ca;
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #b600ca;
  outline-offset: 3px;
}
/* Remove focus ring for mouse users while keeping it for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

:root{
  --bgcolor: #0a0a0a;
  --bgcolorsecond: #050505;
  --fcolor: rgb(230, 230, 230);
  --tcolor: rgb(155, 155, 155);
  --gradient: linear-gradient(to right top, #7860ca, #ca0084, #ce2c2c);
  /* --gradient: linear-gradient(to right top, #32265c, #ae217d, #ea2828); */
  /* --gradient: linear-gradient(to right top, #213A7D, #9B09A1, #ce2c2c); Couleurs FIM */
  /* Texture Grainy inspired by CSS-Tricks */
  --bg-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  /* Typography */
  --font-display: "NulShock", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(10px);
}
html {
    position: relative;
    /* min-height: 100%; */
}
@font-face {
  font-family: NulShock;
  src: url("assets/fonts/nulshock_bd.otf");
}

body {
    background-color: var(--bgcolor);
    position: relative;
    overflow-x: hidden;
}

/* Grainy Texture Layer inspired by CSS-Tricks */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-noise);
    /* High contrast + High brightness creates the 'grain' look */
    filter: contrast(170%) brightness(800%);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen; /* Helps blend the white grains into dark background */
}

/* Subtle Grainy Gradient Overlay for atmospheric depth */
/* body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(120, 96, 202, 0.05), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(202, 0, 132, 0.05), transparent 50%),
                radial-gradient(circle at 50% 50%, transparent, var(--bgcolor));
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
} */


/* UTILITIES */
.pos-topleft { left: 0; top: 0; }

/* PRELOADER */
.preloader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  background-color: var(--bgcolor);
  z-index: 100000;
}
.preloader div{
  height: 40px;
  display: block;
  width: 10px;
  height: 6px;
  border-radius: 8px;
  background: #b600ca;
  animation: wave 2.2s infinite ease-in-out;
}
.preloader div:nth-child(2) {
  left: 11px;
  animation-delay: 0.2s;
}
.preloader div:nth-child(3) {
  left: 22px;
  animation-delay: 0.4s;
}
.preloader div:nth-child(4) {
  left: 33px;
  animation-delay: 0.6s;
}
.preloader div:nth-child(5) {
  left: 44px;
  animation-delay: 0.8s;
}
.preloader div:nth-child(5) {
  left: 55px;
  animation-delay: 1s;
}
.preloader.hidden {
  animation: fadeOut 0.5s;
  animation-fill-mode: forwards;
}
@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes wave {
  0% {
    height:6px;
    transform: translateY(0px);
    background: #7860ca;
  }
  25% {
    height:40px;
    transform: translateY(-5px) scaleY(1.7);
    background: #b600ca;
  }
  50% {
    height:6px;
    transform: translateY(0px);
    background: #ca0084;
  }
  100% {
    height:6px;
    transform: translateY(0px);
    background: #ce2c2c;
  }
}

p::selection, li::selection{
  background-color: #b600ca;
}

/* Hide default cursor on content areas (preserves scrollbar and modal cursors) */
body > *:not(.cursor):not(.modal):not(.modal-backdrop):not(#tarteaucitronRoot) {
    cursor: none;
}

/* Restore system cursor for tarteaucitron Root */
#tarteaucitronRoot, 
#tarteaucitronRoot * {
    cursor: auto !important;
}

/* Hide custom cursor when interacting with tarteaucitron */
body:has(#tarteaucitronRoot:hover) .cursor {
    opacity: 0;
    pointer-events: none;
}

/* Restore system cursor for reduced-motion preference (WCAG 1.4.4 / motor accessibility) */
@media (prefers-reduced-motion: reduce) {
    body > *:not(.modal):not(.modal-backdrop) {
        cursor: auto;
    }
    .cursor {
        display: none;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, backdrop-filter 0.3s;
    /* mix-blend-mode: difference; */
}
.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: invert(1) hue-rotate(120deg);
    border-color: transparent;
}

/* Scroll */
.scroller {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  background-repeat: no-repeat;
  background-size: 0;
  transform-origin: left;
  animation: scroll linear;
  animation-timeline: scroll();
  animation-range-start: cover 100px;
  animation-range-end: cover 100%;
  z-index: 100000;
}

@keyframes scroll {
  from {
    background-size: 0% 5px;
  }
  to {
    background-size: 100% 5px;
  }
}

h2, h3, h4, h5, h6 {
  color: var(--fcolor);
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "NulShock", sans-serif;
  padding-top: 10px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
#main-content h2:not(.stitle):not(.naming):not(.creatitle):not(.blog-title)::after,
#main-content h3:not(.creatitle)::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: var(--gradient);
    margin: 15px 0 20px 0;
}
p:not(#wpadminbar p), ul:not(#wpadminbar ul), li:not(#wpadminbar li), .card-body {
  color: var(--fcolor);
  font-size: 1.2rem;
  /* list-style: none; */
  line-height: 2rem;
}
p a:not(.typcrea, .footernavmenu), ul a:not(.ab-item, .dropdown-item, .social, .page-link, .footernavmenu) {
  text-decoration: none;
  color: var(--fcolor);
  font-weight: 700;
  position: relative;
  display: inline-block;
}
p a:not(.typcrea, .footernavmenu)::before, ul a:not(.ab-item, .dropdown-item, .social, .page-link, .footernavmenu)::before {
  content: '';
  background: var(--gradient);
  position: absolute;
  left: -1px;
  bottom: 3px;
  width: 101%;
  height: 8px;
  z-index: -1;
  transition: all .3s ease-in-out;
}
p a:not(.typcrea, .footernavmenu):hover::before, ul a:not(.ab-item, .dropdown-item, .social, .page-link, .footernavmenu):hover::before {
  bottom: 0;
  height: 100%;
}

.textlab p {
  font-size: clamp(18px, 1.4vw, 25px);
}

@media (min-width: 991.98px) and (max-width: 1399.98px) {
  .textlab p {
    font-size: 1.1rem;
    line-height: 1.6rem;
  }
  .textlab {
    padding-top: 20px !important;
    padding-bottom: 0 !important;
  }
}

.textvalor {
  color: var(--fcolor);
  hyphens: auto;
}

/* #valeur a{
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#valeur a:hover{
  background: wheat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} */

.hoverhover{
  cursor: zoom-in;
  z-index: 20;
}


.underline-gradient {
  background-image: var(--gradient);
  background-repeat: no-repeat;
  background-size: 0% 0.1em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  padding: 5px;
}
.underline-gradient:hover {
  background-size: 100% 0.1em;
}
a.underline-gradient:hover {
  color: var(--bgcolor);
}
.justif {
  text-align: justify;
  text-justify: inter-word;
  color: var(--fcolor);
  font-size: 1.5rem;
}

.btn-border {
  border-image: var(--gradient) 1;
  /* animation: animgradient 10s ease-in-out infinite; */
}
.btn-gradient {
  color: var(--fcolor);
  background: var(--gradient);
  font-weight: 600;
  padding: 0.5rem 4rem;
  font-size: 1.25rem;
  transition: color .5s ease-in-out, background .5s ease-in-out, animation .5s ease-in-out;
}
.btn-gradient:hover {
  color: var(--fcolor);
  animation: animgradient 10s ease-in-out infinite;
}
@keyframes animgradient {
	/* from {
		-webkit-filter: hue-rotate(0deg);
	}
	to {
	  -webkit-filter: hue-rotate(-360deg);
	} */
  0%   {-webkit-filter: hue-rotate(0deg);}
  50%  {-webkit-filter: hue-rotate(50deg);}
  100% {-webkit-filter: hue-rotate(0deg);}
}

.gradientframetitle {
  display: flex;
  height: 275px;
	background: rgb(28,60,221);
	background-image: var(--gradient);
	padding: 50px;
	text-align: center;
  align-items:center;
  justify-content:center;
}
.text {
	display: inline-block;
	background-color: white;
	padding: 1.5rem 3rem;
	mix-blend-mode: screen;
	font-size: 3rem;
	font-weight: 700;
	margin : 0 auto;
}

/* FIRST LETTER STYLE
.content:not(.card-body) p:first-of-type::first-letter {
  font-size: 2rem;
  font-weight: bold;
  background: var(--gradient);
  padding: 0 10px 0 10px;
  margin: 0 5px 0 0;
} */
.content:not(.card-body) p:first-of-type:not(.no-lettrine)::first-letter {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 2px 0 0;
}
.content p.no-lettrine {
  font-size: 0.85rem !important;
  color: var(--tcolor) !important;
}

/* CUSTOM SCROLL BAR FOOTER
-------------------------------------------------- */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--gradient) #ffffff;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 18px;
}
*::-webkit-scrollbar-track {
  background: #ffffff;
}
*::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 20px;
  border: 1px solid #ffffff;
}

/* LIGHTBOX MARKUP
-------------------------------------------------- */
/* .lightbox {
  display: none;
  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;
  background: rgba(0, 0, 0, 0.9);
}


.lightbox:target {
  display: block;
}

.lightbox span {
  display: block;
  width: 100%;
  height: 100%;

  cursor: zoom-out;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
} */

.modal {
  z-index: 99999999;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.btn-close-lightbox {
  z-index: 9999;
  color: white;
  font-size: 2rem;
  opacity: 1;
  border: none;
  background: none;
  transition: transform 0.3s ease;
}

.btn-close-lightbox:hover {
  transform: scale(1.2);
  color: #f8f9fa;
}

/* PRE FOOTER
-------------------------------------------------- */
.prefooter {
  background-color: var(--bgcolor);
  position: relative;
  z-index: 1;
}
.prefooter .list-group-item {
    background-color: transparent;
    color: var(--fcolor);
}
.prefooter p{
  color: var(--tcolor);
}
.list-group-item {
  padding: 0.25rem 1rem;
}
.list-group li{
  padding: 0.25rem 1rem;
}

/* FOOTER
-------------------------------------------------- */
footer {
    width: 100%;
    bottom: 0;
    left: 0;
    color: var(--tcolor);
    background-color: var(--bgcolorsecond);
    position: relative;
    z-index: 2;
}

/* PRELOADER
-------------------------------------------------- */



/* SMALL TOP MESSAGE BAR
-------------------------------------------------- */
.top-message{
  height: 40px;
	background-color: transparent;
}
.top-message div{
	/* line-height: 40px; */
  z-index: 20;
}

/* NAVBAR
-------------------------------------------------- */
/* ADMIN BAR FIXES */
.admin-bar .sticky,
.admin-bar .scroller {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .sticky,
  .admin-bar .scroller {
    top: 46px;
  }
}
.navbar {
	z-index: 9999;
}
.sticky {
	position: sticky;
	top: 0;
}
/* Add Font Awesome icons on the same row as menu items */
.navbar-nav li.fa-house {
	display: flex;
	align-items:center;
}

/* Mobile Dropdown Optimization */
@media (max-width: 991.98px) {
  .navstyle .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 0;
    box-shadow: none;
    padding-left: 1rem;
    transform: none !important;
    visibility: visible !important;
    display: none; /* Controlled by Bootstrap 'show' class */
    opacity: 1 !important;
    min-width: auto;
    padding: 0 !important; /* Reset padding for mobile too */
  }

  .navstyle .dropdown-menu.show {
    display: block !important;
  }

  .navstyle .nav-link {
    cursor: pointer !important;
  }

  .navstyle .dropdown-item {
    color: var(--tcolor) !important;
    background-color: transparent !important;
    padding: 0.7rem 1.7rem !important; /* Keep consistent height */
    display: block !important;
    width: 100% !important;
    cursor: pointer !important;
  }

  .navstyle .dropdown-item:hover,
  .navstyle .dropdown-item:active {
    background-color: var(--bgcolorsecond) !important;
    color: var(--fcolor) !important;
  }
}
.navbar-nav li a {
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1.2rem;
  font-weight: 400;
}
li.menu-item {
	margin-right: 1.5rem;
}
.dropdown-menu li.menu-item {
	margin-right: 0;
}
.navstyle {
	transition: all .5s ease-in-out;
	background-color: rgb(0, 0, 0, 0.7);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 992px) {
  .onscroll {
    transition: all .5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

@media (min-width: 992px) {
  .navstyle .navbar-nav > .nav-item:last-child .dropdown-menu,
  .navstyle .navbar-nav > .nav-item:nth-last-child(2) .dropdown-menu {
    left: auto !important;
    right: 0 !important;
  }
}
/* @media (max-width: 1200px) {
  .navbar-nav li:first-of-type {
    display: none;
  }
  .navbar-nav li:last-of-type {
    display: none;
  }
} */

.navstyle .nav-link {
  color: #d8d8d8;
}
.navstyle .nav-link:hover {
  color: #a7a7a7;
}
.navstyle .nav-link.active {
  color: #fff;
  font-weight: 600;
}

/*--/ UnderLine Navbar /--*/
.navstyle.navbar-reduce {
  box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
}

.navstyle.navbar-trans .nav-item,
.navstyle.navbar-reduce .nav-item {
  position: relative;
  /* padding-right: 10px; */
  padding-left: 0;
}

.navstyle.navbar-trans .nav-link,
.navstyle.navbar-reduce .nav-link {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

.navstyle.navbar-trans .nav-link:before,
.navstyle.navbar-reduce .nav-link:before {
  content: '';
  position: absolute;
  margin-right: 0px;
  width: 0%;
  bottom: 10px;
  left: 10px;
  height: 12px;
  transition: all 500ms ease;
}

.navstyle.navbar-trans .nav-link:hover,
.navstyle.navbar-reduce .nav-link:hover {
  color: #1B1B1B;
}

.navstyle.navbar-trans .nav-link:hover:before,
.navstyle.navbar-reduce .nav-link:hover:before {
  width: 35px;
}

.navstyle.navbar-trans .show > .nav-link:before,
.navstyle.navbar-trans .active > .nav-link:before,
.navstyle.navbar-trans .nav-link.show:before,
.navstyle.navbar-trans .nav-link.active:before,
.navstyle.navbar-reduce .show > .nav-link:before,
.navstyle.navbar-reduce .active > .nav-link:before,
.navstyle.navbar-reduce .nav-link.show:before,
.navstyle.navbar-reduce .nav-link.active:before {
  width: 35px;
}

.navstyle.navbar-trans .nav-link:before {
  background-color: #fff;
}

.navstyle.navbar-trans .nav-link:hover {
  color: #fff;
}

.navstyle.navbar-trans .nav-link:hover::before {
  background: var(--gradient);

}

.navstyle.navbar-trans .show > .nav-link,
.navstyle.navbar-trans .active > .nav-link,
.navstyle.navbar-trans .nav-link.show,
.navstyle.navbar-trans .nav-link.active {
  color: #fff;
}

.navstyle.navbar-reduce {
  transition: all .5s ease-in-out;
  background-color: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navstyle.navbar-reduce .nav-link {
  color: var(--bgcolor);
}

.navstyle.navbar-reduce .nav-link:before {
  background-color: var(--bgcolor);
}

.navstyle.navbar-reduce .nav-link:hover {
  color: var(--bgcolor);
}

.navstyle.navbar-reduce .show > .nav-link,
.navstyle.navbar-reduce .active > .nav-link,
.navstyle.navbar-reduce .nav-link.show,
.navstyle.navbar-reduce .nav-link.active {
  color: var(--bgcolor);
}

.navstyle.navbar-reduce .navstylerand {
  color: var(--bgcolor);
}

.navstyle.navbar-reduce .navbar-toggler span {
  background-color: #1B1B1B;
}

.navstyle .navstylerand {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

.navstyle .navbar-nav .dropdown-item.show .dropdown-menu,
.navstyle .dropdown.show .dropdown-menu,
.navstyle .dropdown-btn.show .dropdown-menu {
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  visibility: visible !important;
}

.navstyle .dropdown-menu {
  margin: .75rem 0 0;
  border-radius: 0;
  background-color: var(--bgcolor);
  color: var(--tcolor);
  padding: 0; /* Remove padding so hover fills the entire container */
}

.navstyle .dropdown-menu li {
  margin: 0;
  padding: 0;
  display: block;
}

.navstyle .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: .7rem 1.7rem;
  transition: all 500ms ease;
  background-color: var(--tcolor);
}

.navstyle .dropdown-menu .dropdown-item:hover {
  background-color: var(--bgcolorsecond);
  color: var(--fcolor);
  transition: all 500ms ease;
}

.navstyle .dropdown-menu .dropdown-item.active {
  background-color: var(--bgcolorsecond);
}

/*--/ Hamburger Navbar /--*/
.navstyle .navbar-toggler span {
  background-color: #d7d7d7;
}
.navbar-toggler {
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: 0;
}

.navbar-toggler span {
  display: block;
  background-color: #fff;
  height: 3px;
  width: 25px;
  margin-top: 4px;
  margin-bottom: 4px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  left: 0;
  opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
  transition: -webkit-transform .35s ease-in-out;
  transition: transform .35s ease-in-out;
  transition: transform .35s ease-in-out, -webkit-transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  height: 12px;
  visibility: hidden;
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  opacity: 0.9;
}

/* HERO IMG
-------------------------------------------------- */
.spevh {
  height: 90vh;
}
.heroimg {
  height: 100vh;
  width: 100%;
  filter: brightness(40%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
  /* background-image: url(assets/img/fond-dev.jpg); */
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 10;
 }
.tagline {
  z-index: 20;
  top: 40vh;
  width: 85%;
  word-break: break-word;
  hyphens : auto;
  hyphenate-character: '-';
  font-family: "NulShock", sans-serif;
  font-size: clamp(45px, 8vw, 80px);
  letter-spacing : 0.8vw;
  font-weight: 700;
  color: rgba(242, 242, 242, 0.8);
  /* font-size: clamp(29px, 5vw, 50px); */
}

.filterdiv{
	background: #000000;
  background: linear-gradient(275deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  width: 100%;
  height: 100%;
}
/* .heroimg img{
	min-height: 400px;
  max-height: 700px;
	object-fit: cover;
}
.filterdiv{
	background: #000000;
  background: linear-gradient(275deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  width: 100%;
  height: 100%;
}
.herotitle{
  position: absolute;
  top: 45%;
  left: 10%;
  font-size: clamp(29px, 5vw, 60px);
  color: #fff;
}
.hero a{
	position: absolute;
  top: 65%;
  left: 10%;
}
@media (max-width: 576px) {
  .hero a{
    position: absolute;
    top: 70%;
    left: 1%;
    right: 1%;
  }
}

.internalpage{
  background: linear-gradient(-350deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
} */

/* VIDEO HERO IMG
-------------------------------------------------- */


/*======================================
//--//-->   Images loading Intersection Observer
======================================*/
.bload {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.loaded {
animation: scale-up-center .5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@keyframes scale-up-center {
0% {
    transform: scale(0.5);
    opacity: 0;
}
100% {
          transform: scale(1);
    opacity: 1;
}
}

/* CREATIVE SECTION
-------------------------------------------------- */
.crea {
  width: 100%;
  height: 270px;
}
/* .crea:not(.noafter):after{
  content: attr(data-category);
  height: 22px;
  position: absolute;
  z-index: 4;
  left: 50%;
  translate: -50% 0%;
  text-transform: uppercase;
  color: white;
  font-weight: 500;
  background-color: white;
  transition: all .5s ease-in-out;
} */
.crea:hover:after{
  content: "";
  height: 5px;
}

.crea:after {
  width: 35%;
  bottom: 0rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.hhh::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: var(--gradient);
  transition: opacity 1s ease-in-out;
  z-index: 5;
}
.hhh:hover::before {
  opacity: 0.5;
}
.crea img {
  filter : brightness(80%);
  transition: all .5s ease-in-out;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.crea:hover img {
  filter : brightness(70%) blur(10px);
  rotate: -5deg;
  transform: scale(1.2);
}
.crea h2, .crea h3 {
  transition: all .3s ease-in-out;
  font-weight: 300;
  opacity: 0;
}
.crea:hover h2, .crea:hover h3 {
  /* font-size: 2.5rem; */
  text-shadow: 2px 2px black;
  opacity: 1;
}
.creatitle{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  color: #e0e0e0;
  z-index: 100;
}

/* INTERNAL PAGE HEADER IMG + H1
-------------------------------------------------- */
.pagehead {
	height: 400px;
}
.pagehead img {
  height: 550px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 0;
}
.pagetitle{
  display: block;
  max-width: 1320px;
	text-align: center;
  font-family: "NulShock", sans-serif;
  font-size: clamp(25px, 7vw, 50px);
  letter-spacing : 0.4vw;
  font-weight: 700;
  color: rgba(200, 200, 200, 0.9);
  z-index: 20;
}

.actunfo, a:not(#wpadminbar a, .prevnext a, .dropdown-menu a){
  color:  var(--fcolor);
  text-decoration: none;
}


/* CATEGORY SKELETON
-------------------------------------------------- */

@media (min-width: 992px) {
  .catimg img {
    max-height: 226px;
    object-fit: cover;
  }
}

/* CATEGORY SKELETON */
.skeleton {
  position: relative;
}
.skeleton::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -1px;
  width: 101%;
  height: 117%;
  z-index: 10;
  background: linear-gradient(115deg, #b5b5b5, #767676, #b5b5b5);
  background-size: 200%;
  animation: skeleton 1s infinite reverse;
}
@keyframes skeleton {
  0% {
      background-position: -100% 0;
  }
  100% {
      background-position: 100% 0;
  }
}

/* INTERNAL CPT HEADER IMG + H1
-------------------------------------------------- */
.stripe{
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #222,
    #222 10px,
    #333 10px,
    #333 20px
  );
  opacity: .5;
}
.cpttitle{
  width: 100%;
  font-size: clamp(25px, 5vw, 60px);
  letter-spacing : 0.3vw;
  font-family: "NulShock", sans-serif;
  font-weight: 700;
  color: rgba(200, 200, 200, 0.6);
  z-index: 20;
}
.cpttitle2{
  width: 100%;
  margin-top: 50px;
  font-size: clamp(25px, 6vw, 60px);
  letter-spacing : 0.3vw;
  font-weight: 700;
  color: var(--fcolor);
  z-index: 20;
}

.cpthead {
  height: 450px;
  overflow: hidden;
}
.cpthead img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 2;
}
.cpthead:hover img {
  transform: scale(1.05);
}
.cframe {
  padding: 1.5rem;
  background-color: rgba(150, 150, 150, 0.8);
}
.tags{
  color: var(--tcolor);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}
.tags:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}
.brief-details h3 {
  font-size: 1.1rem;
  color: var(--tcolor);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  position: relative;
}
.brief-details h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  margin-top: 5px;
}
.brief-details p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--fcolor);
}
.author-meta {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 20px 5px 5px; /* Reduced left padding to allow image to be at the edge */
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.author-meta img {
  border: 2px solid rgba(255, 255, 255, 0.1); /* Optional: add a small border for better visibility */
}
.cptimg{
  height: 425px;
}
.cpth {
  min-height: 300px;
}
.cpth span{
  color: var(--tcolor);
}

.zzh{
  height: 480px;
}

.folio img {
  filter : grayscale(80%) brightness(80%);
  transition: all .5s ease-in-out;
}
.folio:hover img {
  filter : grayscale(0%) brightness(100%);
}
.folio h3 {
  transition: all .3s ease-in-out;
  font-size: 2rem;
}
.folio:hover h3 {
  font-size: 2.5rem;
  text-shadow: 2px 2px black;
}
.folio img, .folio h3 {
  cursor: zoom-in;
}
/* CPT FOLIO FILTER
-------------------------------------------------- */
.filter {
  /* font-size: clamp(40px, 6vw, 80px); */
  /* letter-spacing : 0.8vw; */
  /* font-weight: 500;
  color: var(--tcolor); */
  margin-top: 100px;
  margin-bottom: 50px;
  background-color: var(--bgcolorsecond);
}

#creation-grid {
  transition: opacity 0.3s ease;
}

#creation-grid.loading {
  cursor: wait;
}

#creation-pagination {
  transition: opacity 0.3s ease;
}

.typcrea {
  letter-spacing: 3px;
  cursor: pointer;
  line-height: 30px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
}

[type=radio]:checked,
[type=radio]:not(:checked) {
  position: absolute;
  left: -9999px;
}

[type=radio]:checked + label,
[type=radio]:not(:checked) + label {
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
  letter-spacing: 3px;
  cursor: pointer;
  line-height: 30px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  /* margin-right: 10px; */
  margin-left: 10px;
  z-index: 2;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

[type=radio]:checked + label:after,
[type=radio]:not(:checked) + label:after {
  content: "";
  border-radius: 2px;
  height: 12px;
  padding: 5px;
  background-color: #ce1a98;
  position: absolute;
  right: 6px;
  bottom: 2px;
  z-index: -1;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

[type=radio]:not(:checked) + label:after {
  opacity: 0;
  width: 0;
}

[type=radio]:checked + label:after,
[type=radio]:hover + label:after {
  opacity: 1;
  width: calc(100% - 20px);
}
.checkbox-all:checked + label:after,
.checkbox-all:not(:checked) + label:after {
  background-color: rgb(167, 6, 129);
}

.checkbox-3d:checked + label:after,
.checkbox-3d:not(:checked) + label:after {
  background-color: #f1c40f;
}

.checkbox-audio:checked + label:after,
.checkbox-audio:not(:checked) + label:after {
  background-color: #1be743;
}

.checkbox-communication:checked + label:after,
.checkbox-communication:not(:checked) + label:after {
  background-color: #dd711e;
}

.checkbox-data:checked + label:after,
.checkbox-data:not(:checked) + label:after {
  background-color: #0b4bc3;
}

.checkbox-design-graphique:checked + label:after,
.checkbox-design-graphique:not(:checked) + label:after {
  background-color: #b1b1b1;
}

.checkbox-developpement-web:checked + label:after,
.checkbox-developpement-web:not(:checked) + label:after {
  background-color: #f02342;
}

.checkbox-phtotographie:checked + label:after,
.checkbox-phtotographie:not(:checked) + label:after {
  background-color: #068427;
}

.checkbox-print:checked + label:after,
.checkbox-print:not(:checked) + label:after {
  background-color: #d75ad3;
}

.checkbox-prototypage:checked + label:after,
.checkbox-prototypage:not(:checked) + label:after {
  background-color: #3c96f0;
}

.checkbox-video:checked + label:after,
.checkbox-video:not(:checked) + label:after {
  background-color: #d1c812;
}

.checkbox-all:checked + label {
  margin-left: 15px;
}

.project {
  /* border-radius: 4px; */
  /* box-shadow: 6px 7px 28px 0 rgba(16, 16, 16, 0.7); */
  -webkit-transition: all 0.2s linear;
  transition: all 0.3s linear;
}

.modelisation-3d .hhh::before,
.modelisation-3d .crea:after {
  background: #f1c40f;
}
.audio .hhh::before,
.audio .crea:after {
  background: #1be743;
}
.communication .hhh::before,
.communication .crea:after {
  background: #dd711e;
}
.data .hhh::before,
.data .crea:after {
  background: #0b4bc3;
}
.design-graphique .hhh::before,
.design-graphique .crea:after {
  background: #b1b1b1;
}
.developpement-web .hhh::before,
.developpement-web .crea:after {
  background: #e75139;
}
.photographie .hhh::before,
.photographie .crea:after {
  background: #0b4bc3;
}
.print .hhh::before,
.print .crea:after {
  background: #0b4bc3;
}
.prototypage .hhh::before,
.prototypage .crea:after {
  background: #0b4bc3;
}
.video .hhh::before,
.video .crea:after {
  background: #0b4bc3;
}

/* .project.modelisation-3d,
.project.audio,
.project.communication,
.project.data,
.project.design-graphique,
.project.developpement-web,
.project.photographie,
.project.print,
.project.prototypage,
.project.video {
  opacity: 0;
  display: none;
  transform: scale(0);
  visibility: hidden;
}

.checkbox-all:checked ~ .cards .project.modelisation-3d,
.checkbox-all:checked ~ .cards .project.audio,
.checkbox-all:checked ~ .cards .project.communication,
.checkbox-all:checked ~ .cards .project.data,
.checkbox-all:checked ~ .cards .project.design-graphique,
.checkbox-all:checked ~ .cards .project.developpement-web,
.checkbox-all:checked ~ .cards .project.photographie,
.checkbox-all:checked ~ .cards .project.print,
.checkbox-all:checked ~ .cards .project.prototypage,
.checkbox-all:checked ~ .cards .project.video,
.checkbox-modelisation-3d:checked ~ .cards .project.modelisation-3d,
.checkbox-audio:checked ~ .cards .project.audio,
.checkbox-communication:checked ~ .cards .project.communication,
.checkbox-data:checked ~ .cards .project.data,
.checkbox-design-graphique:checked ~ .cards .project.design-graphique,
.checkbox-developpement-web:checked ~ .cards .project.developpement-web,
.checkbox-photographie:checked ~ .cards .project.photographie,
.checkbox-prototypage:checked ~ .cards .project.prototypage,
.checkbox-print:checked ~ .cards .project.print,
.checkbox-video:checked ~ .cards .project.video {
  opacity: 1;
  display: initial;
  visibility: visible;
  transform: scale(1);
} */


/* CPT PAGE HEADER IMG + H1
-------------------------------------------------- */
/* .cptposition {
  top: -300px;
}
.cptposition img {
  max-height: 1040px;
}
.cptyear{
  color: var(--fcolor);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing : .5vw;
}
.cpttitle{
  top: 5%;
  left: 20%;
  font-size: clamp(30px, 4vw, 60px);
  letter-spacing: 15px;
  font-weight: 700;
  width: 950px;
  color: #f0f0f0;
}
.cptmargin{
  margin-top: 18%;
}
.cpttext{
  color: var(--fcolor);
  line-height: 3rem;
}
@media (max-width: 991px) {
  .cpttitle {
    top: 20%;
    left: 0;
    text-align: center;
    width: 100%;
  }
  .cptmargin{
    margin-top: 5%;
  }
}
@media (max-width: 576px) {
  .cpttext{
    font-size: .9rem;
  }
}
.cptdetail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.cptdetail a {
  display: flex;
  color: var(--fcolor);
  align-items: center;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.playicon{
  border: 1px solid var(--fcolor);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  padding: 10px 8px 10px 12px;
  box-sizing: border-box;
  transition: .1s;
}
svg>polygon {
  stroke: var(--fcolor);
}
.playicon:hover {
  transition: all .9s ease-in-out;
  stroke-dasharray: 240;
  stroke-dashoffset: 480;
  stroke: var(--bgcolor);
  transform: translateY(0);
}
.playicon+span{
  margin-left: 20px;
}
.playme{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  cursor: pointer;
}
.playme::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  opacity: .6;
  background: var(--fcolor);
  margin-right: 30px;
  margin-left: 20px;
}
.cptinfo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  letter-spacing: 2px;
} */


/* SEARCH
-------------------------------------------------- */
.htitles {
  display: block;
  max-width: 1320px;
  /* font-family: 'Segoe', sans-serif; */
  font-family: "NulShock", sans-serif;
  font-size: clamp(25px, 7vw, 50px);
  letter-spacing : .5vw;
  font-weight: 500;
  color: rgba(200, 200, 200, 0.8);
  z-index: 20;
}
.stitle {
  font-size: clamp(30px, 4vw, 60px);
  letter-spacing : 0.8vw;
  color: var(--tcolor);
  background-color: var(--bgcolorsecond);
}
.no-bg {
  background-color: transparent;
}
.naming {
	color: var(--fcolor);
	display: inline;
	vertical-align: middle;
  /* font-family: "Segoe UI"; */
  font-family: "NulShock", sans-serif;
	font-size: 2.5rem;
  font-weight: 700;
  
}
.redcolor{
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
}
h2:hover .redcolor {
  animation: textclip 1s ease-out;
}
@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.labform input, .labform .btn, .labform select, .labform textarea {
  min-height: calc(1.5em + 1rem + 2px);
  padding: 1rem;
  font-size: 1.2rem;
  border-radius: 0.3rem;
}

/* PLAY WITH
-------------------------------------------------- */
/* .platform .row {
  background-color: rgb(48, 49, 49);
}
.platform .fulllink {
  background-color: #303131;
  height: 100%;
}
.platform .fulllink a{
  display: block;
  width: 100%;
  color: #74787b;
  font-size: clamp(25px, 3vw, 40px);
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.platform .fulllink a:hover{
  color: #c1c2c3;
} */
.platform img{
  object-fit: cover;
  width: 101%;
  height: 100%;
}

/* FEATURED
-------------------------------------------------- */
.figure-img {
  width: 100%;
  min-height: 100%;
  filter : brightness(50%);
  transition: filter 1s ease-in-out;
}
.figure-img:hover {
  filter : brightness(90%);
}
.ftitle{
  top: 5%;
  right: 10%;
  font-size: clamp(30px, 6vw, 80px);
  letter-spacing: 15px;
  font-weight: 700;
  width: 800px;
  color: var(--fcolor);
  /* display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; */
  overflow: hidden;
}
.ftext{
  margin-top: 50%;
  line-height: 3rem;
}
@media (max-width: 992px) {
  .figure-img {
    filter : brightness(100%);
    max-width: 100%;
    height: auto;
  }
  .ftitle {
    top: 5%;
    right: 0;
    text-align: center;
    width: 100%;
  }
  .ftext{
    margin-top: 30%;
  }
}

/* NEW SERIES CARD
-------------------------------------------------- */
.img-zoom {
  overflow: hidden;
  background-color: var(--bgcolor);
  color: var(--fcolor);
}
.img-zoom a {
  display: block;
  position: relative;
  overflow: hidden;
}
.img-zoom img {
  width: 100%;
  height: auto;
  transition: all 1s ease-in-out;
}
.img-zoom:hover img {
  transform: scale(1.1);
  /* filter: grayscale(0.6) blur(1px); */
}
.img-zoom a h2 {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  width: 100%;
  padding: 45% 8% 20% 20px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  /*background dotted*/
  background-image: -webkit-repeating-radial-gradient(center center, rgba(0,0,0,.8), rgba(0,0,0,.8) 1px, transparent 1px, transparent 100%);
  background-image: -moz-repeating-radial-gradient(center center, rgba(0,0,0,.8), rgba(0,0,0,.8) 1px, transparent 1px, transparent 100%);
  background-image: -ms-repeating-radial-gradient(center center, rgba(0,0,0,.8), rgba(0,0,0,.8) 1px, transparent 1px, transparent 100%);
  /* background-image: repeating-radial-gradient(center center, rgba(0,0,0,.8), rgba(0,0,0,.8) 1px, transparent 1px, transparent 100%); */
  background-size: 3px 3px;
  transition: all 1s ease-in-out;
  filter: alpha(opacity=1);
  opacity: 1;
}
.img-zoom:hover a h2 {
  filter: alpha(opacity=100);
  opacity: 0;
}
.myitems a {
	color: #212529;
}
.myitems a:hover {
	color: #74787b;
}	

/* TRAILER
-------------------------------------------------- */
.poster{
  filter : brightness(40%);
}
.trailer-thumb {
  cursor: pointer;
  filter : brightness(40%);
}
.youtubetitle {
  position: relative;
	width: 90%;
  font-size: clamp(25px, 3vw, 30px);
  color: var(--fcolor);
  text-align: center;
  margin: auto;
  bottom: 60%;
  cursor: pointer;
}
.youtubeplay {
	position: relative;
	width: 100px;
	height: 65px;
	background-color: rgba(0,0,0,0.55);
	transition: background-color 0.3s ease-in-out;
	border-radius: 20% / 20%;
	margin: auto;
	bottom: 50%;
  cursor: pointer;
}
.youtubeplay:hover {
background-color: red;
}
.youtubeplay::after {
	content: '';
	position: absolute;
	width: 0px;
	height: 0px;
	border-left: 30px solid white;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 15px solid transparent;
	transform: translate(90%,60%);
}

/* TARTEAUCITRON YOUTUBE CUSTOM PLACEHOLDER
-------------------------------------------------- */
/* Empêche la marge géante (50% padding) de WordPress quand on remplace l'iframe par notre div */
.wp-block-embed__wrapper:has(.youtube_player)::before,
.wp-block-embed-youtube:has(.youtube_player) .wp-block-embed__wrapper::before {
  display: none !important;
  padding-top: 0 !important;
}
.wp-block-embed__wrapper:has(.youtube_player) {
  padding-top: 0 !important;
  margin: 0 !important;
}

.youtube_player {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.1s ease-out;
}

.youtube_player .glyphs-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid !important;
  grid-template-columns: repeat(100, 1fr);
  grid-template-rows: repeat(50, 1fr);
  gap: 0px;
  padding: 5px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.youtube_player .glyph {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  opacity: 0.2;
  transition: opacity 0.4s, transform 0.4s, color 0.2s;
  height: 100%;
  width: 100%;
}

.youtube_player .bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.45;
}

.youtube_player .blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.youtube_player .blob-1 {
  background: #ff0080;
  top: -10%;
  left: -10%;
  animation: move1 22s infinite alternate ease-in-out;
}

.youtube_player .blob-2 {
  background: #7928ca;
  bottom: -10%;
  right: -10%;
  animation: move2 28s infinite alternate ease-in-out;
}

.youtube_player .blob-3 {
  background: #4299e1;
  top: 30%;
  left: 20%;
  animation: move3 20s infinite alternate ease-in-out;
}

.youtube_player .mouse-blob {
  position: absolute;
  width: 250px;
  height: 250px;
  background: #48bb78;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  transform: translate(-50%, -50%);
  z-index: -2;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes move1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(150px, 200px) scale(1.4); }
}

@keyframes move2 {
  from { transform: translate(0, 0) scale(1.2); }
  to { transform: translate(-180px, -120px) scale(0.8); }
}

@keyframes move3 {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, -150px); }
}

.youtube_player > div:not(.glyphs-grid):not(.bg-blobs) {
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  color: var(--fcolor) !important;
  font-size: 1.25rem !important;
  text-align: center !important;
}

.youtube_player .tac_float {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 35px !important;
}


.youtube_player iframe {
  border-radius: 12px;
}

/* Override default yellow button with gradient button */
.youtube_player button, 
.youtube_player .tarteaucitronAllow,
.youtube_player form button {
  color: var(--fcolor) !important;
  background: var(--gradient) !important;
  font-weight: 600 !important;
  padding: 0.5rem 3rem !important;
  font-size: 1.2rem !important;
  transition: all .5s ease-in-out !important;
  border-radius: 50rem !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important; /* Usually needed if TAC uses <a> */
}

.youtube_player button:hover, 
.youtube_player .tarteaucitronAllow:hover,
.youtube_player form button:hover {
  transform: scale(1.05) !important;
  color: var(--fcolor) !important;
  animation: animgradient 10s ease-in-out infinite !important;
}

#overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999999;
  transition: visibility 0.8s;
}

#overlay.on {
  visibility: visible;
  transition: visibility 0.8s;
}

.overlay-effect {
	position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(15,15,15,0.9);
	transition: opacity 0.5s 0.3s ease-in-out;
  cursor: pointer;
}
#overlay.on .overlay-effect {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.iframebox {
  position: absolute;
  width: 100%;
  min-width: 300px;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, calc(-50% - 100px));
  transition: opacity 0.5s 0.2s ease-out, transform 0.5s ease-out;
}
#overlay.on .iframebox {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-in-out, transform 0.5s 0.3s ease-in-out;
}

iframe{
  display: block;
  margin: auto;
  width: 70%;
  aspect-ratio: 16 / 9;
  border-width: 0px;
}
.overlay-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  position: absolute;
  top: -10%;
  right: 10%;
  background: rgb(97, 97, 97);
  color: var(--fcolor);
  cursor: pointer;
}
.overlay-btn:hover {
  background: #ee2929;
}

/* IFRAME CONTACT MAP
-------------------------------------------------- */
.mapframe{
  display: block;
  margin: auto;
  width: 100%;
  height: 450px;
  /* aspect-ratio: 16 / 9; */
  border-width: 0px;
}

/* ACTU
-------------------------------------------------- */
.newstitle{
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  padding: 35% 5% 0 5%;
  font-size: 2.5rem;
  color: #e0e0e0;
  text-shadow: -1px -1px 5px rgba(150, 150, 150, 1);
  z-index: 50;
}
.iconbloc {
	background-color: var(--bgcolorsecond);
}
.iconbloc a{
	color: #5e5e5e;
	text-decoration: none;
}
.moreicon{
	margin-top: 30%;
	filter: grayscale(100%);
	transition: filter 1s ease-in-out;
}
.texticon{
	transition: color 1s ease-in-out;
	font-size: 2rem;
}
.iconbloc:hover .moreicon, .iconbloc:hover .texticon{
	filter: none;
	color: #c4c4c4;
}
.newsbloc:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background: var(--gradient);
  transition: opacity 1s ease-in-out;
  z-index: 5;
}
.newsbloc img{
  transition: transform 1s ease-in-out;
}
.newsbloc:hover img{
  transform: scale(1.2) rotate(5deg);
}
.newsbloc:hover::before {
  opacity: 0.9;
}

.singleicon svg {
  width: 16px;
  height: 24px;
  fill: #999;
  display: inline-block;
  vertical-align:baseline;
  margin: 0 5px;
}

@media (max-width: 575.98px) { 
	.moreicon{
	margin-top: 10%;
	}
}

/* .btn-actu {
  overflow: hidden;
  position: relative;
  padding: 10px 60px 10px 40px;
  font-weight: 600;
  color: #6c757d;
}

.btn-actu:before {
  position: absolute;
  height: 100%;
  top: 0;
  line-height: 3;
  font-size: 140%;
  width: 60px;
  left: auto;
  right: 10px;
  z-index: 2;
  color: #e5e5e5;
  content: "\e00d";
  transform : rotate(-90deg);
}
.btn-actu:after {
  content: '';
  position: absolute;
  width: 30%;
  height: 200%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
  right: 0;
  top: 0;
  margin: -5px 0 0 -5px;
  transform-origin: 0 0;
  transform: rotate(-20deg);
} */

/* PARALLAX
-------------------------------------------------- */
.parallax {
  /* The image used */
  /* background-image: url("assets/img/work-6.jpg"); */
  
  background: #fff; /* fallback for old browsers */
  background: linear-gradient(to right top, rgba(50,38,92,0.8), rgb(174,33,125,0.8) , rgba(234,40,40,0.8)), url("assets/img/work-6.jpg");  /* Chrome 10-25, Safari 5.1-6 */
  /* Set a specific height */
  min-height: 275px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* z-index: -20; */
}

/* CIRCLE COUNTER
https://codepen.io/bumuoi/pen/yLvevQz
-------------------------------------------------- */
#counter {
  background-color: var(--bgcolorsecond);
}
.block {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 180px;
	border-radius: 50%;
  margin: 0 auto;
}
.box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: calc(100% - 50px);
	height: calc(100% - 50px);
	border-radius: 50%;
	background-color: #292929;
	box-shadow: 0 0 5px 3px #222121;
}
.box::before {
	position: absolute;
	content: '';
	width: calc(100% + 28px);
	height: calc(100% + 28px);
	border-radius: 50%;
	border: 1px solid #353535;
}
.number {
	margin: 0;
}
.box .number span {
	color: #e9e9e9;
}
.box .number .num {
	font-size: 35px;
	font-weight: bold;
}
.box .number .sub {
	font-size: 20px;
}
.box .title {
	font-size: 15px;
	color: #9b9b9b;
}
/* .dots {
	display: block;
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	transition: 2s transform, 2s opacity ease;
}
.dots::after {
	position: absolute;
	content: '';
	width: 10px;
	height: 10px;
	top: 5px;
	left: 50%;
	border-radius: 50%;
	background-color: #b7b5b5;
	box-shadow: 0 0 5px 2px #585858;
	transform: translateX(-50%);
} */
.svg {
	position: absolute;
	width: 100%;
	height: 100%;
	fill: none;
	transform: rotate(-90deg);
}
.circle {
	stroke: url(#gradientStyle);
	stroke-width: 10px;
	stroke-dasharray: 503;
	stroke-dashoffset: 503;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
	transition: 2s stroke-dashoffset;
}
/* CREA SWIPER
-------------------------------------------------- */
.creaswiper {
  width: 100%;
  height: 300px;
}
.creaswiper img  {
  width: 500px;
  height: 300px;
}
/* VIDEO
-------------------------------------------------- */
.vivid {
  height: 300px;
  overflow: hidden;
}

/* SIDEBAR
-------------------------------------------------- */
.product {
	font-size: 1rem;
}
.product i {
	margin: 20px 50px 20px 20px;
}
.widget-sidebar a:hover {
	color: rgb(96, 96, 96);
	text-decoration: none;
}

/* CONTACT FORM
-------------------------------------------------- */
.mycontact input[type=checkbox] {
	margin-left: 0;
}
.mycontact label{
	margin-left: 1rem;
}


/* FOOTER MENU
-------------------------------------------------- */
.footernavmenu{
  display: inline;
  list-style-type: none;
  margin: 0 0 0 10px;
  padding: 0;
}
.footernavmenu li {
  display: inline;
}
.footernavmenu li a {
  text-align: left;
  padding-right: 16px;
  text-decoration: none;
  color: rgb(168, 168, 168);
  font-weight: 400;
}

.footernavmenu li a:hover {
  color: var(--fcolor);
}

/* Disable animated underline on all footer nav links */
.footernavmenu a::before,
.footernavmenu a:hover::before {
  display: none !important;
}
.footernavmenu a {
  position: static !important;
  display: inline !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

/* Footer icon buttons (login/logout/dashboard) */
.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(168, 168, 168);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
  padding: 0 6px;
}
.footer-icon-link:hover {
  opacity: 1;
  color: var(--fcolor);
}

/* 404
-------------------------------------------------- */
/* .top-35 {
  top: 35%;
}
.error-box {
  height: 100vh;
  object-fit: cover;
} */

/* PAGINATION STANDARD
-------------------------------------------------- */
.page-link {
  color: var(--fcolor);
}
.page-link:hover {
  color: var(--bgcolor);
}

/* PAGINATION CUSTOM
-------------------------------------------------- */
.paginate .page-numbers {
	position: relative;
	display: inline-block;
	padding: .5rem .75rem;
	margin: -3px;
	text-decoration: none;
	line-height: 1.25;
	color: var(--bgcolor);
	background-color: var(--fcolor);
	border: 1px solid #dee2e6;
}
 
.paginate .page-numbers:hover {
	z-index: 2;
	color: #0056b3;
	text-decoration: none;
	background-color: #e9ecef;
	border-color: #dee2e6;
}
 
.paginate .current {
	z-index: 3;
	color: #fff;
	background-color: var(--bgcolor);
	border-color: var(--bgcolor);
}
.paginate .next {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.paginate .prev {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

/* CONTACT FORM
-------------------------------------------------- */
#sendmessage {
  color: #0078ff;
  border: 1px solid #0078ff;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#sendmessage.show,
#errormessage.show,
.show {
  display: block;
}

.validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

/* STATISTIQUE GAUGE
-------------------------------------------------- */
.GaugeMeter{
	Position:        Relative;
	Text-Align:      Center;
	Overflow:        Hidden;
	Cursor:          Default;
}

.GaugeMeter SPAN,
.GaugeMeter B{
	Margin:          -5% 23%;
	Width:           54%;
	Position:        Absolute;
	Text-align:      Center;
	Display:         Inline-Block;
	Color:           RGBa(0,0,0,.8);
	Font-Weight:     100;
	Font-Family:     "Open Sans", Arial;
	Overflow:        Hidden;
	White-Space:     NoWrap;
	Text-Overflow:   Ellipsis;
}
.GaugeMeter[data-style="Semi"] B{
	Margin:          0 10%;
	Width:           80%;
}

.GaugeMeter[data-label] {
	Font-Size:       4em;
}

.GaugeMeter S,
.GaugeMeter U{
	Text-Decoration: None;
	Font-Size:       .5em;
	Opacity:         .5;
}

.GaugeMeter B{
	Color:           Black;
	Font-Weight:     300;
	Font-Size:       .5em;
	Opacity:         .8;
}


/* SOCIAL SHARE
-------------------------------------------------- */
.social-bloc{
	display: block;
}
.social-share {
  margin: 0;
  overflow: hidden;
}
.social-share li {
  margin-right: 15px;
  display: inline-block;
  list-style: none;
}
.social-share li>div a {
  color: #999;
  width: 48px;
  height: 48px;
  border: 1px solid #999;
  border-radius: 50%;
  text-align: center;
  font-size: 38px;
  cursor: pointer;
  line-height: 44px;
  display: inline-block;
  vertical-align: middle;
  transition: all .5s ease-in-out;
}
.facebook-social, .insta-social, .youtube-social, .twitter-social, .pinterest-social, .linkedin-social, .email-social {
  position: relative;
}
.social-share li>div svg{
  fill: #999;
  width: 40px;
  height: 40px;
  position: absolute;
  display: inline-block;
  top: 4px;
  left: 4px;
  transition: all .5s ease-in-out;
}
.social-share li>div svg:hover{
  fill: #fff;
}
.social-share li>div.facebook-social a:hover {
  border-color: #3b5998;
  background-color: #3b5998;
	color: white;
}
.social-share li>div.insta-social a:hover {
  border-color: #3b5998;
  background-color: #3b5998;
  background:linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
}
.social-share li>div.youtube-social a:hover {
  border-color: #FF0000;
  background-color: #FF0000;
  color: white;
}
.social-share li>div.twitter-social a:hover {
  border-color: #000000;
  background-color: #000000;
	color: white;
}
.social-share li>div.pinterest-social a:hover {
  border-color: #cb2027;
  background-color: #cb2027;
	color: white;
}
.social-share li>div.linkedin-social a:hover {
  border-color: #0A66C2;
  background-color: #0A66C2;
  color: white;
}
.social-share li>div.email-social a:hover {
  border-color: #b116a8;
  background-color: #b116a8;
  color: white;
}

.workicon svg{
  fill: url(#gradient-fill);
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  top: 1px;
  margin-right: 8px;
}

/* TAXO LINK & Prev Next Link
-------------------------------------------------- */
.prevnext a {
  display:inline-block;
  width:100%;
  height:100%;
  padding: 15px 0;
  color: rgb(200, 200, 200);
  font-weight: 600;
  text-decoration: none;
}
.prevnext a:hover {
  color: #000;
  font-weight: 600;
}
.prevnext div:hover {
  background-color: #f5eded;
}
/* MENTION PAGE
-------------------------------------------------- */
.list-ico {
	list-style: none;
	padding-left: 0;
	margin-bottom: 50px;
}

/* .list-ico {
	line-height: 2;
} */

.list-ico span {
	color: #0078ff;
	margin: 0 20px 0 50px;
}

/* SCROLL TO TOP
-------------------------------------------------- */
.back-to-top {
  position: fixed;
  display: block;
  opacity: 0;
  transform: scale(0);
  transition: all .5s ease-in-out;
  background: #b600ca;
  color: var(--fcolor);
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1.5;
  font-size: 30px;
  border-radius: 50%;
  right: 15px;
  bottom: 7px;
  z-index: 9999;
}
a.back-to-top {
  text-decoration: none;
}
.back-to-top:hover {
  background: var(--gradient);
  color: #fff !important; /* Ensure white arrow even with cursor effects */
  transform: scale(1.2) !important; /* Premium scale effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.visibleback {
  transition: all .5s ease-in-out;
  opacity: 1;
  transform: scale(1);
}
/* CSS FOR TEST FOOTER MENU
-------------------------------------------------- */
.my-footer-menu{
margin-top: 10px;
}
.my-footer-menu li{
display: inline;
padding: 10px 10px 0 10px;
}
.my-footer-menu li a:hover{
color: orange;
border-bottom: solid 2px black;
}
/* CUSTOM FORM LOGIN PAGE
-------------------------------------------------- */
#loginform .input {
	width: 100%;
    padding: 0.375rem 0.75rem;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
}
#rememberme[type=checkbox] {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
	border-radius: 0.25em;
}
#wp-submit[type=submit] {
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
	color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
#wp-submit[type=submit]:hover {
	color: #fff;
    background-color: #262728;
    border-color: #6c757d;
}

/* BLOG ARCHIVE STYLES
-------------------------------------------------- */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-img-wrapper {
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    transition: clip-path 0.4s ease;
}

.blog-card:hover .blog-card-img-wrapper {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.blog-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.6s ease;
}

.blog-card:hover .blog-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
}

.blog-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    background: var(--gradient);
    color: white;
    border-radius: 4px;
}

.blog-card-body {
    color: var(--fcolor);
}

.blog-date {
    font-size: 0.75rem;
    color: var(--tcolor);
    letter-spacing: 0.1em;
}

.blog-title {
    font-family: "NulShock", sans-serif;
    font-size: 1.25rem;
    line-height: 1.3;
    color: white;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text; /* Standard property for compatibility */
    -webkit-text-fill-color: transparent;
}

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--tcolor);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    color: var(--fcolor);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.read-more-arrow {
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-arrow {
    transform: translateX(8px);
    color: #ce2c2c; /* Fin du gradient */
}

@media (max-width: 767.98px) {
    .blog-card-img-wrapper {
        height: 200px;
    }
}

/* COMMENTS STYLES
-------------------------------------------------- */
.comments label {
    color: var(--fcolor);
}

.comments input, .comments textarea {
    color: var(--fcolor);
    background-color: var(--tcolor);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.comments input:focus, .comments textarea:focus {
    border-color: #7860ca;
    outline: none;
}

#submit.btn-secondary {
    background: var(--gradient);
    border: none;
    padding: 12px 30px;
    font-family: 'NulShock', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fcolor);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#submit.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(120, 96, 202, 0.4);
    filter: brightness(1.1);
}

#submit.btn-secondary:active {
    transform: translateY(-1px);
}